getAccountSummary method

Future<GetAccountSummaryResponse> getAccountSummary()

Retrieves information about IAM entity usage and IAM quotas in the Amazon Web Services account.

For information about IAM quotas, see IAM and STS quotas in the IAM User Guide.

May throw ServiceFailureException.

Implementation

Future<GetAccountSummaryResponse> getAccountSummary() async {
  final $request = <String, String>{};
  final $result = await _protocol.send(
    $request,
    action: 'GetAccountSummary',
    version: '2010-05-08',
    method: 'POST',
    requestUri: '/',
    exceptionFnMap: _exceptionFns,
    resultWrapper: 'GetAccountSummaryResult',
  );
  return GetAccountSummaryResponse.fromXml($result);
}