Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Deletes invitations sent to the current member account by Amazon Web Services 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:
DeleteInvitations
, deleteInvitations_accountIds
- A list of account IDs of the Amazon Web Services 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 Amazon Web Services 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.