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 invitations 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 DeclineInvitations = DeclineInvitations' {
- accountIds :: [Text]
- newDeclineInvitations :: DeclineInvitations
- declineInvitations_accountIds :: Lens' DeclineInvitations [Text]
- data DeclineInvitationsResponse = DeclineInvitationsResponse' {
- unprocessedAccounts :: Maybe [Result]
- httpStatus :: Int
- newDeclineInvitationsResponse :: Int -> DeclineInvitationsResponse
- declineInvitationsResponse_unprocessedAccounts :: Lens' DeclineInvitationsResponse (Maybe [Result])
- 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
- The list of account IDs for the accounts from which to decline the
invitations to Security Hub.
Request Lenses
declineInvitations_accountIds :: Lens' DeclineInvitations [Text] Source #
The list of account IDs for the accounts from which to decline the invitations to Security Hub.
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
- The list of Amazon Web Services accounts that were not processed. For
each account, the list includes the account ID and the email address.
$sel:httpStatus:DeclineInvitationsResponse'
, declineInvitationsResponse_httpStatus
- The response's http status code.
Response Lenses
declineInvitationsResponse_unprocessedAccounts :: Lens' DeclineInvitationsResponse (Maybe [Result]) Source #
The list of Amazon Web Services accounts that were not processed. For each account, the list includes the account ID and the email address.
declineInvitationsResponse_httpStatus :: Lens' DeclineInvitationsResponse Int Source #
The response's http status code.