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.ValidationExceptionMacie2.Client.exceptions.InternalServerExceptionMacie2.Client.exceptions.ServiceQuotaExceededExceptionMacie2.Client.exceptions.AccessDeniedExceptionMacie2.Client.exceptions.ResourceNotFoundExceptionMacie2.Client.exceptions.ThrottlingExceptionMacie2.Client.exceptions.ConflictException