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 Amazon Macie membership invitations that were received from specific accounts.
Synopsis
- data DeleteInvitations = DeleteInvitations' {
- accountIds :: [Text]
- newDeleteInvitations :: DeleteInvitations
- deleteInvitations_accountIds :: Lens' DeleteInvitations [Text]
- data DeleteInvitationsResponse = DeleteInvitationsResponse' {}
- newDeleteInvitationsResponse :: Int -> DeleteInvitationsResponse
- deleteInvitationsResponse_unprocessedAccounts :: Lens' DeleteInvitationsResponse (Maybe [UnprocessedAccount])
- deleteInvitationsResponse_httpStatus :: Lens' DeleteInvitationsResponse Int
Creating a Request
data DeleteInvitations Source #
See: newDeleteInvitations
smart constructor.
DeleteInvitations' | |
|
Instances
newDeleteInvitations :: DeleteInvitations Source #
Create a value of DeleteInvitations
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:accountIds:DeleteInvitations'
, deleteInvitations_accountIds
- An array that lists Amazon Web Services account IDs, one for each
account that sent an invitation to delete.
Request Lenses
deleteInvitations_accountIds :: Lens' DeleteInvitations [Text] Source #
An array that lists Amazon Web Services account IDs, one for each account that sent an invitation to delete.
Destructuring the Response
data DeleteInvitationsResponse Source #
See: newDeleteInvitationsResponse
smart constructor.
DeleteInvitationsResponse' | |
|
Instances
newDeleteInvitationsResponse Source #
Create a value of DeleteInvitationsResponse
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:unprocessedAccounts:DeleteInvitationsResponse'
, deleteInvitationsResponse_unprocessedAccounts
- An array of objects, one for each account whose invitation hasn't been
deleted. Each object identifies the account and explains why the request
hasn't been processed for that account.
$sel:httpStatus:DeleteInvitationsResponse'
, deleteInvitationsResponse_httpStatus
- The response's http status code.
Response Lenses
deleteInvitationsResponse_unprocessedAccounts :: Lens' DeleteInvitationsResponse (Maybe [UnprocessedAccount]) Source #
An array of objects, one for each account whose invitation hasn't been deleted. Each object identifies the account and explains why the request hasn't been processed for that account.
deleteInvitationsResponse_httpStatus :: Lens' DeleteInvitationsResponse Int Source #
The response's http status code.