decline_invitations
(**kwargs)¶Declines Amazon Macie membership invitations that were received from specific accounts.
See also: AWS API Documentation
Request Syntax
response = client.decline_invitations(
accountIds=[
'string',
]
)
[REQUIRED]
An array that lists Amazon Web Services account IDs, one for each account that sent an invitation to decline.
{
'unprocessedAccounts': [
{
'accountId': 'string',
'errorCode': 'ClientError'|'InternalError',
'errorMessage': 'string'
},
]
}
Response Structure
The request succeeded. Processing might not be complete.
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.
Provides information about an account-related request that hasn't been processed.
The Amazon Web Services account ID for the account that the request applies to.
The source of the issue or delay in processing the request.
The reason why the request hasn't been processed.
Exceptions
Macie2.Client.exceptions.ValidationException
Macie2.Client.exceptions.InternalServerException
Macie2.Client.exceptions.ServiceQuotaExceededException
Macie2.Client.exceptions.AccessDeniedException
Macie2.Client.exceptions.ResourceNotFoundException
Macie2.Client.exceptions.ThrottlingException
Macie2.Client.exceptions.ConflictException