get_credential_report
()¶Retrieves 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.get_credential_report()
{
'Content': b'bytes',
'ReportFormat': 'text/csv',
'GeneratedTime': datetime(2015, 1, 1)
}
Response Structure
Contains the response to a successful GetCredentialReport request.
Contains the credential report. The report is Base64-encoded.
The format (MIME type) of the credential report.
The date and time when the credential report was created, in ISO 8601 date-time format.
Exceptions
IAM.Client.exceptions.CredentialReportNotPresentException
IAM.Client.exceptions.CredentialReportExpiredException
IAM.Client.exceptions.CredentialReportNotReadyException
IAM.Client.exceptions.ServiceFailureException