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 |
Detaches the attached IAM managed policy ARN from the specified permission set.
Synopsis
- data DetachManagedPolicyFromPermissionSet = DetachManagedPolicyFromPermissionSet' {}
- newDetachManagedPolicyFromPermissionSet :: Text -> Text -> Text -> DetachManagedPolicyFromPermissionSet
- detachManagedPolicyFromPermissionSet_instanceArn :: Lens' DetachManagedPolicyFromPermissionSet Text
- detachManagedPolicyFromPermissionSet_permissionSetArn :: Lens' DetachManagedPolicyFromPermissionSet Text
- detachManagedPolicyFromPermissionSet_managedPolicyArn :: Lens' DetachManagedPolicyFromPermissionSet Text
- data DetachManagedPolicyFromPermissionSetResponse = DetachManagedPolicyFromPermissionSetResponse' {
- httpStatus :: Int
- newDetachManagedPolicyFromPermissionSetResponse :: Int -> DetachManagedPolicyFromPermissionSetResponse
- detachManagedPolicyFromPermissionSetResponse_httpStatus :: Lens' DetachManagedPolicyFromPermissionSetResponse Int
Creating a Request
data DetachManagedPolicyFromPermissionSet Source #
See: newDetachManagedPolicyFromPermissionSet
smart constructor.
DetachManagedPolicyFromPermissionSet' | |
|
Instances
newDetachManagedPolicyFromPermissionSet Source #
:: Text | |
-> Text | |
-> Text | |
-> DetachManagedPolicyFromPermissionSet |
Create a value of DetachManagedPolicyFromPermissionSet
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:instanceArn:DetachManagedPolicyFromPermissionSet'
, detachManagedPolicyFromPermissionSet_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:DetachManagedPolicyFromPermissionSet'
, detachManagedPolicyFromPermissionSet_permissionSetArn
- The ARN of the PermissionSet from which the policy should be detached.
$sel:managedPolicyArn:DetachManagedPolicyFromPermissionSet'
, detachManagedPolicyFromPermissionSet_managedPolicyArn
- The IAM managed policy ARN to be attached to a permission set.
Request Lenses
detachManagedPolicyFromPermissionSet_instanceArn :: Lens' DetachManagedPolicyFromPermissionSet 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.
detachManagedPolicyFromPermissionSet_permissionSetArn :: Lens' DetachManagedPolicyFromPermissionSet Text Source #
The ARN of the PermissionSet from which the policy should be detached.
detachManagedPolicyFromPermissionSet_managedPolicyArn :: Lens' DetachManagedPolicyFromPermissionSet Text Source #
The IAM managed policy ARN to be attached to a permission set.
Destructuring the Response
data DetachManagedPolicyFromPermissionSetResponse Source #
See: newDetachManagedPolicyFromPermissionSetResponse
smart constructor.
DetachManagedPolicyFromPermissionSetResponse' | |
|
Instances
Eq DetachManagedPolicyFromPermissionSetResponse Source # | |
Read DetachManagedPolicyFromPermissionSetResponse Source # | |
Show DetachManagedPolicyFromPermissionSetResponse Source # | |
Generic DetachManagedPolicyFromPermissionSetResponse Source # | |
NFData DetachManagedPolicyFromPermissionSetResponse Source # | |
type Rep DetachManagedPolicyFromPermissionSetResponse Source # | |
Defined in Amazonka.SSOAdmin.DetachManagedPolicyFromPermissionSet type Rep DetachManagedPolicyFromPermissionSetResponse = D1 ('MetaData "DetachManagedPolicyFromPermissionSetResponse" "Amazonka.SSOAdmin.DetachManagedPolicyFromPermissionSet" "libZSservicesZSamazonka-sso-adminZSamazonka-sso-admin" 'False) (C1 ('MetaCons "DetachManagedPolicyFromPermissionSetResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
newDetachManagedPolicyFromPermissionSetResponse Source #
:: Int |
|
-> DetachManagedPolicyFromPermissionSetResponse |
Create a value of DetachManagedPolicyFromPermissionSetResponse
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:httpStatus:DetachManagedPolicyFromPermissionSetResponse'
, detachManagedPolicyFromPermissionSetResponse_httpStatus
- The response's http status code.
Response Lenses
detachManagedPolicyFromPermissionSetResponse_httpStatus :: Lens' DetachManagedPolicyFromPermissionSetResponse Int Source #
The response's http status code.