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 |
Attaches the specified customer managed policy to the specified PermissionSet.
Synopsis
- data AttachCustomerManagedPolicyReferenceToPermissionSet = AttachCustomerManagedPolicyReferenceToPermissionSet' {}
- newAttachCustomerManagedPolicyReferenceToPermissionSet :: Text -> Text -> CustomerManagedPolicyReference -> AttachCustomerManagedPolicyReferenceToPermissionSet
- attachCustomerManagedPolicyReferenceToPermissionSet_instanceArn :: Lens' AttachCustomerManagedPolicyReferenceToPermissionSet Text
- attachCustomerManagedPolicyReferenceToPermissionSet_permissionSetArn :: Lens' AttachCustomerManagedPolicyReferenceToPermissionSet Text
- attachCustomerManagedPolicyReferenceToPermissionSet_customerManagedPolicyReference :: Lens' AttachCustomerManagedPolicyReferenceToPermissionSet CustomerManagedPolicyReference
- data AttachCustomerManagedPolicyReferenceToPermissionSetResponse = AttachCustomerManagedPolicyReferenceToPermissionSetResponse' {
- httpStatus :: Int
- newAttachCustomerManagedPolicyReferenceToPermissionSetResponse :: Int -> AttachCustomerManagedPolicyReferenceToPermissionSetResponse
- attachCustomerManagedPolicyReferenceToPermissionSetResponse_httpStatus :: Lens' AttachCustomerManagedPolicyReferenceToPermissionSetResponse Int
Creating a Request
data AttachCustomerManagedPolicyReferenceToPermissionSet Source #
See: newAttachCustomerManagedPolicyReferenceToPermissionSet
smart constructor.
AttachCustomerManagedPolicyReferenceToPermissionSet' | |
|
Instances
newAttachCustomerManagedPolicyReferenceToPermissionSet Source #
:: Text | |
-> Text | |
-> CustomerManagedPolicyReference | |
-> AttachCustomerManagedPolicyReferenceToPermissionSet |
Create a value of AttachCustomerManagedPolicyReferenceToPermissionSet
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:
AttachCustomerManagedPolicyReferenceToPermissionSet
, attachCustomerManagedPolicyReferenceToPermissionSet_instanceArn
- The ARN of the IAM Identity Center instance under which the operation
will be executed.
AttachCustomerManagedPolicyReferenceToPermissionSet
, attachCustomerManagedPolicyReferenceToPermissionSet_permissionSetArn
- The ARN of the PermissionSet
.
AttachCustomerManagedPolicyReferenceToPermissionSet
, attachCustomerManagedPolicyReferenceToPermissionSet_customerManagedPolicyReference
- Specifies the name and path of a customer managed policy. You must have
an IAM policy that matches the name and path in each AWS account where
you want to deploy your permission set.
Request Lenses
attachCustomerManagedPolicyReferenceToPermissionSet_instanceArn :: Lens' AttachCustomerManagedPolicyReferenceToPermissionSet Text Source #
The ARN of the IAM Identity Center instance under which the operation will be executed.
attachCustomerManagedPolicyReferenceToPermissionSet_permissionSetArn :: Lens' AttachCustomerManagedPolicyReferenceToPermissionSet Text Source #
The ARN of the PermissionSet
.
attachCustomerManagedPolicyReferenceToPermissionSet_customerManagedPolicyReference :: Lens' AttachCustomerManagedPolicyReferenceToPermissionSet CustomerManagedPolicyReference Source #
Specifies the name and path of a customer managed policy. You must have an IAM policy that matches the name and path in each AWS account where you want to deploy your permission set.
Destructuring the Response
data AttachCustomerManagedPolicyReferenceToPermissionSetResponse Source #
See: newAttachCustomerManagedPolicyReferenceToPermissionSetResponse
smart constructor.
AttachCustomerManagedPolicyReferenceToPermissionSetResponse' | |
|
Instances
newAttachCustomerManagedPolicyReferenceToPermissionSetResponse Source #
:: Int |
|
-> AttachCustomerManagedPolicyReferenceToPermissionSetResponse |
Create a value of AttachCustomerManagedPolicyReferenceToPermissionSetResponse
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:AttachCustomerManagedPolicyReferenceToPermissionSetResponse'
, attachCustomerManagedPolicyReferenceToPermissionSetResponse_httpStatus
- The response's http status code.
Response Lenses
attachCustomerManagedPolicyReferenceToPermissionSetResponse_httpStatus :: Lens' AttachCustomerManagedPolicyReferenceToPermissionSetResponse Int Source #
The response's http status code.