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 |
Deletes an existing IAMpolicy assignment.
Synopsis
- data DeleteIAMPolicyAssignment = DeleteIAMPolicyAssignment' {
- awsAccountId :: Text
- assignmentName :: Text
- namespace :: Text
- newDeleteIAMPolicyAssignment :: Text -> Text -> Text -> DeleteIAMPolicyAssignment
- deleteIAMPolicyAssignment_awsAccountId :: Lens' DeleteIAMPolicyAssignment Text
- deleteIAMPolicyAssignment_assignmentName :: Lens' DeleteIAMPolicyAssignment Text
- deleteIAMPolicyAssignment_namespace :: Lens' DeleteIAMPolicyAssignment Text
- data DeleteIAMPolicyAssignmentResponse = DeleteIAMPolicyAssignmentResponse' {}
- newDeleteIAMPolicyAssignmentResponse :: Int -> DeleteIAMPolicyAssignmentResponse
- deleteIAMPolicyAssignmentResponse_requestId :: Lens' DeleteIAMPolicyAssignmentResponse (Maybe Text)
- deleteIAMPolicyAssignmentResponse_assignmentName :: Lens' DeleteIAMPolicyAssignmentResponse (Maybe Text)
- deleteIAMPolicyAssignmentResponse_status :: Lens' DeleteIAMPolicyAssignmentResponse Int
Creating a Request
data DeleteIAMPolicyAssignment Source #
See: newDeleteIAMPolicyAssignment
smart constructor.
DeleteIAMPolicyAssignment' | |
|
Instances
newDeleteIAMPolicyAssignment Source #
:: Text | |
-> Text | |
-> Text | |
-> DeleteIAMPolicyAssignment |
Create a value of DeleteIAMPolicyAssignment
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:awsAccountId:DeleteIAMPolicyAssignment'
, deleteIAMPolicyAssignment_awsAccountId
- The Amazon Web Services account ID where you want to delete the
IAMpolicy assignment.
$sel:assignmentName:DeleteIAMPolicyAssignment'
, deleteIAMPolicyAssignment_assignmentName
- The name of the assignment.
$sel:namespace:DeleteIAMPolicyAssignment'
, deleteIAMPolicyAssignment_namespace
- The namespace that contains the assignment.
Request Lenses
deleteIAMPolicyAssignment_awsAccountId :: Lens' DeleteIAMPolicyAssignment Text Source #
The Amazon Web Services account ID where you want to delete the IAMpolicy assignment.
deleteIAMPolicyAssignment_assignmentName :: Lens' DeleteIAMPolicyAssignment Text Source #
The name of the assignment.
deleteIAMPolicyAssignment_namespace :: Lens' DeleteIAMPolicyAssignment Text Source #
The namespace that contains the assignment.
Destructuring the Response
data DeleteIAMPolicyAssignmentResponse Source #
See: newDeleteIAMPolicyAssignmentResponse
smart constructor.
Instances
newDeleteIAMPolicyAssignmentResponse Source #
Create a value of DeleteIAMPolicyAssignmentResponse
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:requestId:DeleteIAMPolicyAssignmentResponse'
, deleteIAMPolicyAssignmentResponse_requestId
- The Amazon Web Services request ID for this operation.
$sel:assignmentName:DeleteIAMPolicyAssignment'
, deleteIAMPolicyAssignmentResponse_assignmentName
- The name of the assignment.
$sel:status:DeleteIAMPolicyAssignmentResponse'
, deleteIAMPolicyAssignmentResponse_status
- The HTTP status of the request.
Response Lenses
deleteIAMPolicyAssignmentResponse_requestId :: Lens' DeleteIAMPolicyAssignmentResponse (Maybe Text) Source #
The Amazon Web Services request ID for this operation.
deleteIAMPolicyAssignmentResponse_assignmentName :: Lens' DeleteIAMPolicyAssignmentResponse (Maybe Text) Source #
The name of the assignment.
deleteIAMPolicyAssignmentResponse_status :: Lens' DeleteIAMPolicyAssignmentResponse Int Source #
The HTTP status of the request.