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 sent to the current member account by AWS accounts specified by their account IDs.
Synopsis
- data DeleteInvitations = DeleteInvitations' {}
- newDeleteInvitations :: NonEmpty Text -> DeleteInvitations
- deleteInvitations_accountIds :: Lens' DeleteInvitations (NonEmpty Text)
- data DeleteInvitationsResponse = DeleteInvitationsResponse' {}
- newDeleteInvitationsResponse :: Int -> DeleteInvitationsResponse
- deleteInvitationsResponse_httpStatus :: Lens' DeleteInvitationsResponse Int
- deleteInvitationsResponse_unprocessedAccounts :: Lens' DeleteInvitationsResponse [UnprocessedAccount]
Creating a Request
data DeleteInvitations Source #
See: newDeleteInvitations
smart constructor.
DeleteInvitations' | |
|
Instances
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
- A list of account IDs of the AWS accounts that sent invitations to the
current member account that you want to delete invitations from.
Request Lenses
deleteInvitations_accountIds :: Lens' DeleteInvitations (NonEmpty 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
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:httpStatus:DeleteInvitationsResponse'
, deleteInvitationsResponse_httpStatus
- The response's http status code.
$sel:unprocessedAccounts:DeleteInvitationsResponse'
, deleteInvitationsResponse_unprocessedAccounts
- A list of objects that contain the unprocessed account and a result
string that explains why it was unprocessed.
Response Lenses
deleteInvitationsResponse_httpStatus :: Lens' DeleteInvitationsResponse Int Source #
The response's http status code.
deleteInvitationsResponse_unprocessedAccounts :: Lens' DeleteInvitationsResponse [UnprocessedAccount] Source #
A list of objects that contain the unprocessed account and a result string that explains why it was unprocessed.