getInvitationsCount method
Returns the count of all Security Hub membership invitations that were sent to the current member account, not including the currently accepted invitation.
May throw InternalException. May throw InvalidInputException. May throw InvalidAccessException. May throw LimitExceededException.
Implementation
Future<GetInvitationsCountResponse> getInvitationsCount() async {
final response = await _protocol.send(
payload: null,
method: 'GET',
requestUri: '/invitations/count',
exceptionFnMap: _exceptionFns,
);
return GetInvitationsCountResponse.fromJson(response);
}