getCredentialReport method
Retrieves 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 CredentialReportNotPresentException. May throw CredentialReportExpiredException. May throw CredentialReportNotReadyException. May throw ServiceFailureException.
Implementation
Future<GetCredentialReportResponse> getCredentialReport() async {
final $request = <String, dynamic>{};
final $result = await _protocol.send(
$request,
action: 'GetCredentialReport',
version: '2010-05-08',
method: 'POST',
requestUri: '/',
exceptionFnMap: _exceptionFns,
shapes: shapes,
resultWrapper: 'GetCredentialReportResult',
);
return GetCredentialReportResponse.fromXml($result);
}