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