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 invitations received by the Amazon Web Services account to become a member account.
This operation is only used by accounts that are not part of an organization. Organization accounts do not receive invitations.
Synopsis
- data DeleteInvitations = DeleteInvitations' {
- accountIds :: [Text]
- newDeleteInvitations :: DeleteInvitations
- deleteInvitations_accountIds :: Lens' DeleteInvitations [Text]
- data DeleteInvitationsResponse = DeleteInvitationsResponse' {
- unprocessedAccounts :: Maybe [Result]
- httpStatus :: Int
- newDeleteInvitationsResponse :: Int -> DeleteInvitationsResponse
- deleteInvitationsResponse_unprocessedAccounts :: Lens' DeleteInvitationsResponse (Maybe [Result])
- 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
- The list of the account IDs that sent the invitations to delete.
Request Lenses
deleteInvitations_accountIds :: Lens' DeleteInvitations [Text] Source #
The list of the account IDs that sent the invitations 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
- The list of Amazon Web Services accounts for which the invitations were
not deleted. For each account, the list includes the account ID and the
email address.
$sel:httpStatus:DeleteInvitationsResponse'
, deleteInvitationsResponse_httpStatus
- The response's http status code.
Response Lenses
deleteInvitationsResponse_unprocessedAccounts :: Lens' DeleteInvitationsResponse (Maybe [Result]) Source #
The list of Amazon Web Services accounts for which the invitations were not deleted. For each account, the list includes the account ID and the email address.
deleteInvitationsResponse_httpStatus :: Lens' DeleteInvitationsResponse Int Source #
The response's http status code.