Macie2.Client.
accept_invitation
(**kwargs)¶Accepts an Amazon Macie membership invitation that was received from a specific account.
See also: AWS API Documentation
Request Syntax
response = client.accept_invitation(
administratorAccountId='string',
invitationId='string',
masterAccount='string'
)
[REQUIRED]
The unique identifier for the invitation to accept.
dict
Response Syntax
{}
Response Structure
(dict) --
The request succeeded and there isn't any content to include in the body of the response (No Content).
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