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