getAccount method

Future<GetAccountResponse> getAccount()

Obtain information about the email-sending status and capabilities of your Amazon Pinpoint account in the current AWS Region.

May throw TooManyRequestsException. May throw BadRequestException.

Implementation

Future<GetAccountResponse> getAccount() async {
  final response = await _protocol.send(
    payload: null,
    method: 'GET',
    requestUri: '/v1/email/account',
    exceptionFnMap: _exceptionFns,
  );
  return GetAccountResponse.fromJson(response);
}