Copyright | (c) 2013-2018 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 |
Language | Haskell2010 |
Declines invitations sent to the current member account by AWS account specified by their account IDs.
- declineInvitations :: DeclineInvitations
- data DeclineInvitations
- dAccountIds :: Lens' DeclineInvitations [Text]
- declineInvitationsResponse :: Int -> DeclineInvitationsResponse
- data DeclineInvitationsResponse
- disrsUnprocessedAccounts :: Lens' DeclineInvitationsResponse [UnprocessedAccount]
- disrsResponseStatus :: Lens' DeclineInvitationsResponse Int
Creating a Request
declineInvitations :: DeclineInvitations Source #
Creates a value of DeclineInvitations
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
dAccountIds
- A list of account IDs of the AWS accounts that sent invitations to the current member account that you want to decline invitations from.
data DeclineInvitations Source #
DeclineInvitations request body.
See: declineInvitations
smart constructor.
Request Lenses
dAccountIds :: Lens' DeclineInvitations [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
declineInvitationsResponse Source #
Creates a value of DeclineInvitationsResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
disrsUnprocessedAccounts
- A list of objects containing the unprocessed account and a result string explaining why it was unprocessed.disrsResponseStatus
- -- | The response status code.
data DeclineInvitationsResponse Source #
See: declineInvitationsResponse
smart constructor.
Response Lenses
disrsUnprocessedAccounts :: Lens' DeclineInvitationsResponse [UnprocessedAccount] Source #
A list of objects containing the unprocessed account and a result string explaining why it was unprocessed.
disrsResponseStatus :: Lens' DeclineInvitationsResponse Int Source #
- - | The response status code.