Macie2 / Client / get_invitations_count
get_invitations_count#
- Macie2.Client.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()
- Return type:
dict
- Returns:
Response Syntax
{ 'invitationsCount': 123 }
Response Structure
(dict) –
The request succeeded.
invitationsCount (integer) –
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