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 |
Declines invitations sent to the current member account by Amazon Web Services 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:
DeclineInvitations
, declineInvitations_accountIds
- A list of account IDs of the Amazon Web Services 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 Amazon Web Services 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.