getAccountUsage method

Future<GetAccountUsageOutput> getAccountUsage()

Retrieves monthly account usage metrics and limits for the AWS account.

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

Implementation

Future<GetAccountUsageOutput> getAccountUsage() async {
  final response = await _protocol.send(
    payload: null,
    method: 'GET',
    requestUri: '/usage/account',
    hostPrefix: 'dp.',
    exceptionFnMap: _exceptionFns,
  );
  return GetAccountUsageOutput.fromJson(response);
}