Select your cookie preferences

We use cookies and similar tools to enhance your experience, provide our services, deliver relevant advertising, and make improvements. Approved third parties also use these tools to help us deliver advertising and provide certain site features.

generate_credential_report

generate_credential_report()

Generates a credential report for the Amazon Web Services account. For more information about the credential report, see Getting credential reports in the IAM User Guide .

See also: AWS API Documentation

Request Syntax

response = client.generate_credential_report()
Return type
dict
Returns
Response Syntax
{
    'State': 'STARTED'|'INPROGRESS'|'COMPLETE',
    'Description': 'string'
}

Response Structure

  • (dict) --

    Contains the response to a successful GenerateCredentialReport request.

    • State (string) --

      Information about the state of the credential report.

    • Description (string) --

      Information about the credential report.

Exceptions

  • IAM.Client.exceptions.LimitExceededException
  • IAM.Client.exceptions.ServiceFailureException