Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Creates a permission set within a specified IAM Identity Center instance.
To grant users and groups access to AWS account resources, use
CreateAccountAssignment
.
Synopsis
- data CreatePermissionSet = CreatePermissionSet' {
- description :: Maybe Text
- relayState :: Maybe Text
- sessionDuration :: Maybe Text
- tags :: Maybe [Tag]
- name :: Text
- instanceArn :: Text
- newCreatePermissionSet :: Text -> Text -> CreatePermissionSet
- createPermissionSet_description :: Lens' CreatePermissionSet (Maybe Text)
- createPermissionSet_relayState :: Lens' CreatePermissionSet (Maybe Text)
- createPermissionSet_sessionDuration :: Lens' CreatePermissionSet (Maybe Text)
- createPermissionSet_tags :: Lens' CreatePermissionSet (Maybe [Tag])
- createPermissionSet_name :: Lens' CreatePermissionSet Text
- createPermissionSet_instanceArn :: Lens' CreatePermissionSet Text
- data CreatePermissionSetResponse = CreatePermissionSetResponse' {}
- newCreatePermissionSetResponse :: Int -> CreatePermissionSetResponse
- createPermissionSetResponse_permissionSet :: Lens' CreatePermissionSetResponse (Maybe PermissionSet)
- createPermissionSetResponse_httpStatus :: Lens' CreatePermissionSetResponse Int
Creating a Request
data CreatePermissionSet Source #
See: newCreatePermissionSet
smart constructor.
CreatePermissionSet' | |
|
Instances
newCreatePermissionSet Source #
Create a value of CreatePermissionSet
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
CreatePermissionSet
, createPermissionSet_description
- The description of the PermissionSet.
CreatePermissionSet
, createPermissionSet_relayState
- Used to redirect users within the application during the federation
authentication process.
CreatePermissionSet
, createPermissionSet_sessionDuration
- The length of time that the application user sessions are valid in the
ISO-8601 standard.
$sel:tags:CreatePermissionSet'
, createPermissionSet_tags
- The tags to attach to the new PermissionSet.
CreatePermissionSet
, createPermissionSet_name
- The name of the PermissionSet.
CreatePermissionSet
, createPermissionSet_instanceArn
- The ARN of the IAM Identity Center instance under which the operation
will be executed. For more information about ARNs, see
Amazon Resource Names (ARNs) and AWS Service Namespaces
in the AWS General Reference.
Request Lenses
createPermissionSet_description :: Lens' CreatePermissionSet (Maybe Text) Source #
The description of the PermissionSet.
createPermissionSet_relayState :: Lens' CreatePermissionSet (Maybe Text) Source #
Used to redirect users within the application during the federation authentication process.
createPermissionSet_sessionDuration :: Lens' CreatePermissionSet (Maybe Text) Source #
The length of time that the application user sessions are valid in the ISO-8601 standard.
createPermissionSet_tags :: Lens' CreatePermissionSet (Maybe [Tag]) Source #
The tags to attach to the new PermissionSet.
createPermissionSet_name :: Lens' CreatePermissionSet Text Source #
The name of the PermissionSet.
createPermissionSet_instanceArn :: Lens' CreatePermissionSet Text Source #
The ARN of the IAM Identity Center instance under which the operation will be executed. For more information about ARNs, see Amazon Resource Names (ARNs) and AWS Service Namespaces in the AWS General Reference.
Destructuring the Response
data CreatePermissionSetResponse Source #
See: newCreatePermissionSetResponse
smart constructor.
CreatePermissionSetResponse' | |
|
Instances
newCreatePermissionSetResponse Source #
Create a value of CreatePermissionSetResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:permissionSet:CreatePermissionSetResponse'
, createPermissionSetResponse_permissionSet
- Defines the level of access on an AWS account.
$sel:httpStatus:CreatePermissionSetResponse'
, createPermissionSetResponse_httpStatus
- The response's http status code.
Response Lenses
createPermissionSetResponse_permissionSet :: Lens' CreatePermissionSetResponse (Maybe PermissionSet) Source #
Defines the level of access on an AWS account.
createPermissionSetResponse_httpStatus :: Lens' CreatePermissionSetResponse Int Source #
The response's http status code.