Copyright | (c) 2013-2018 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 |
Language | Haskell2010 |
Deletes invitations sent to the current member account by AWS accounts specified by their account IDs.
- deleteInvitations :: DeleteInvitations
- data DeleteInvitations
- diAccountIds :: Lens' DeleteInvitations [Text]
- deleteInvitationsResponse :: Int -> DeleteInvitationsResponse
- data DeleteInvitationsResponse
- dirsUnprocessedAccounts :: Lens' DeleteInvitationsResponse [UnprocessedAccount]
- dirsResponseStatus :: Lens' DeleteInvitationsResponse Int
Creating a Request
deleteInvitations :: DeleteInvitations Source #
Creates a value of DeleteInvitations
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
diAccountIds
- A list of account IDs of the AWS accounts that sent invitations to the current member account that you want to delete invitations from.
data DeleteInvitations Source #
DeleteInvitations request body.
See: deleteInvitations
smart constructor.
Request Lenses
diAccountIds :: Lens' DeleteInvitations [Text] Source #
A list of account IDs of the AWS accounts that sent invitations to the current member account that you want to delete invitations from.
Destructuring the Response
deleteInvitationsResponse Source #
Creates a value of DeleteInvitationsResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
dirsUnprocessedAccounts
- A list of objects containing the unprocessed account and a result string explaining why it was unprocessed.dirsResponseStatus
- -- | The response status code.
data DeleteInvitationsResponse Source #
See: deleteInvitationsResponse
smart constructor.
Response Lenses
dirsUnprocessedAccounts :: Lens' DeleteInvitationsResponse [UnprocessedAccount] Source #
A list of objects containing the unprocessed account and a result string explaining why it was unprocessed.
dirsResponseStatus :: Lens' DeleteInvitationsResponse Int Source #
- - | The response status code.