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