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 |
Attaches an IAM inline policy to a permission set.
If the permission set is already referenced by one or more account
assignments, you will need to call ProvisionPermissionSet
after this
action to apply the corresponding IAM policy updates to all assigned
accounts.
Synopsis
- data PutInlinePolicyToPermissionSet = PutInlinePolicyToPermissionSet' {}
- newPutInlinePolicyToPermissionSet :: Text -> Text -> Text -> PutInlinePolicyToPermissionSet
- putInlinePolicyToPermissionSet_instanceArn :: Lens' PutInlinePolicyToPermissionSet Text
- putInlinePolicyToPermissionSet_permissionSetArn :: Lens' PutInlinePolicyToPermissionSet Text
- putInlinePolicyToPermissionSet_inlinePolicy :: Lens' PutInlinePolicyToPermissionSet Text
- data PutInlinePolicyToPermissionSetResponse = PutInlinePolicyToPermissionSetResponse' {
- httpStatus :: Int
- newPutInlinePolicyToPermissionSetResponse :: Int -> PutInlinePolicyToPermissionSetResponse
- putInlinePolicyToPermissionSetResponse_httpStatus :: Lens' PutInlinePolicyToPermissionSetResponse Int
Creating a Request
data PutInlinePolicyToPermissionSet Source #
See: newPutInlinePolicyToPermissionSet
smart constructor.
PutInlinePolicyToPermissionSet' | |
|
Instances
newPutInlinePolicyToPermissionSet Source #
:: Text | |
-> Text | |
-> Text | |
-> PutInlinePolicyToPermissionSet |
Create a value of PutInlinePolicyToPermissionSet
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:PutInlinePolicyToPermissionSet'
, putInlinePolicyToPermissionSet_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:PutInlinePolicyToPermissionSet'
, putInlinePolicyToPermissionSet_permissionSetArn
- The ARN of the permission set.
$sel:inlinePolicy:PutInlinePolicyToPermissionSet'
, putInlinePolicyToPermissionSet_inlinePolicy
- The IAM inline policy to attach to a PermissionSet.
Request Lenses
putInlinePolicyToPermissionSet_instanceArn :: Lens' PutInlinePolicyToPermissionSet 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.
putInlinePolicyToPermissionSet_permissionSetArn :: Lens' PutInlinePolicyToPermissionSet Text Source #
The ARN of the permission set.
putInlinePolicyToPermissionSet_inlinePolicy :: Lens' PutInlinePolicyToPermissionSet Text Source #
The IAM inline policy to attach to a PermissionSet.
Destructuring the Response
data PutInlinePolicyToPermissionSetResponse Source #
See: newPutInlinePolicyToPermissionSetResponse
smart constructor.
PutInlinePolicyToPermissionSetResponse' | |
|
Instances
newPutInlinePolicyToPermissionSetResponse Source #
Create a value of PutInlinePolicyToPermissionSetResponse
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:PutInlinePolicyToPermissionSetResponse'
, putInlinePolicyToPermissionSetResponse_httpStatus
- The response's http status code.
Response Lenses
putInlinePolicyToPermissionSetResponse_httpStatus :: Lens' PutInlinePolicyToPermissionSetResponse Int Source #
The response's http status code.