generateCredentialReport method

Future<GenerateCredentialReportResponse> generateCredentialReport()

Generates a credential report for the AWS account. For more information about the credential report, see Getting Credential Reports in the IAM User Guide.

May throw LimitExceededException. May throw ServiceFailureException.

Implementation

Future<GenerateCredentialReportResponse> generateCredentialReport() async {
  final $request = <String, dynamic>{};
  final $result = await _protocol.send(
    $request,
    action: 'GenerateCredentialReport',
    version: '2010-05-08',
    method: 'POST',
    requestUri: '/',
    exceptionFnMap: _exceptionFns,
    shapes: shapes,
    resultWrapper: 'GenerateCredentialReportResult',
  );
  return GenerateCredentialReportResponse.fromXml($result);
}