getInvitationsCount method

Future<GetInvitationsCountResponse> getInvitationsCount()

Retrieves the count of Amazon Macie membership invitations that were received by an account.

May throw AccessDeniedException. May throw ConflictException. May throw InternalServerException. May throw ResourceNotFoundException. May throw ServiceQuotaExceededException. May throw ThrottlingException. May throw ValidationException.

Implementation

Future<GetInvitationsCountResponse> getInvitationsCount() async {
  final response = await _protocol.send(
    payload: null,
    method: 'GET',
    requestUri: '/invitations/count',
    exceptionFnMap: _exceptionFns,
  );
  return GetInvitationsCountResponse.fromJson(response);
}