Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
The process by which a specified permission set is provisioned to the specified target.
Synopsis
- data ProvisionPermissionSet = ProvisionPermissionSet' {}
- newProvisionPermissionSet :: Text -> Text -> ProvisionTargetType -> ProvisionPermissionSet
- provisionPermissionSet_targetId :: Lens' ProvisionPermissionSet (Maybe Text)
- provisionPermissionSet_instanceArn :: Lens' ProvisionPermissionSet Text
- provisionPermissionSet_permissionSetArn :: Lens' ProvisionPermissionSet Text
- provisionPermissionSet_targetType :: Lens' ProvisionPermissionSet ProvisionTargetType
- data ProvisionPermissionSetResponse = ProvisionPermissionSetResponse' {}
- newProvisionPermissionSetResponse :: Int -> ProvisionPermissionSetResponse
- provisionPermissionSetResponse_permissionSetProvisioningStatus :: Lens' ProvisionPermissionSetResponse (Maybe PermissionSetProvisioningStatus)
- provisionPermissionSetResponse_httpStatus :: Lens' ProvisionPermissionSetResponse Int
Creating a Request
data ProvisionPermissionSet Source #
See: newProvisionPermissionSet
smart constructor.
ProvisionPermissionSet' | |
|
Instances
newProvisionPermissionSet Source #
Create a value of ProvisionPermissionSet
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:targetId:ProvisionPermissionSet'
, provisionPermissionSet_targetId
- TargetID is an Amazon Web Services account identifier, typically a 10-12
digit string (For example, 123456789012).
$sel:instanceArn:ProvisionPermissionSet'
, provisionPermissionSet_instanceArn
- The ARN of the SSO instance under which the operation will be executed.
For more information about ARNs, see
Amazon Resource Names (ARNs) and Amazon Web Services Service Namespaces
in the Amazon Web Services General Reference.
$sel:permissionSetArn:ProvisionPermissionSet'
, provisionPermissionSet_permissionSetArn
- The ARN of the permission set.
$sel:targetType:ProvisionPermissionSet'
, provisionPermissionSet_targetType
- The entity type for which the assignment will be created.
Request Lenses
provisionPermissionSet_targetId :: Lens' ProvisionPermissionSet (Maybe Text) Source #
TargetID is an Amazon Web Services account identifier, typically a 10-12 digit string (For example, 123456789012).
provisionPermissionSet_instanceArn :: Lens' ProvisionPermissionSet Text Source #
The ARN of the SSO instance under which the operation will be executed. For more information about ARNs, see Amazon Resource Names (ARNs) and Amazon Web Services Service Namespaces in the Amazon Web Services General Reference.
provisionPermissionSet_permissionSetArn :: Lens' ProvisionPermissionSet Text Source #
The ARN of the permission set.
provisionPermissionSet_targetType :: Lens' ProvisionPermissionSet ProvisionTargetType Source #
The entity type for which the assignment will be created.
Destructuring the Response
data ProvisionPermissionSetResponse Source #
See: newProvisionPermissionSetResponse
smart constructor.
ProvisionPermissionSetResponse' | |
|
Instances
newProvisionPermissionSetResponse Source #
Create a value of ProvisionPermissionSetResponse
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:permissionSetProvisioningStatus:ProvisionPermissionSetResponse'
, provisionPermissionSetResponse_permissionSetProvisioningStatus
- The status object for the permission set provisioning operation.
$sel:httpStatus:ProvisionPermissionSetResponse'
, provisionPermissionSetResponse_httpStatus
- The response's http status code.
Response Lenses
provisionPermissionSetResponse_permissionSetProvisioningStatus :: Lens' ProvisionPermissionSetResponse (Maybe PermissionSetProvisioningStatus) Source #
The status object for the permission set provisioning operation.
provisionPermissionSetResponse_httpStatus :: Lens' ProvisionPermissionSetResponse Int Source #
The response's http status code.