get_invitations_count
()¶Retrieves the count of Amazon Macie membership invitations that were received by an account.
See also: AWS API Documentation
Request Syntax
response = client.get_invitations_count()
{
'invitationsCount': 123
}
Response Structure
The request succeeded.
The total number of invitations that were received by the account, not including the currently accepted invitation.
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