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