GenerateCredentialReport - AWS Identity and Access Management
Services or capabilities described in AWS documentation might vary by Region. To see the differences applicable to the AWS European Sovereign Cloud Region, see the AWS European Sovereign Cloud User Guide.

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.

Response Elements

The following elements are returned by the service.

Description

Information about the credential report.

Type: String

State

Information about the state of the credential report.

Type: String

Valid Values: STARTED | INPROGRESS | COMPLETE

Errors

For information about the errors that are common to all actions, see Common Errors.

LimitExceeded

The request was rejected because it attempted to create resources beyond the current AWS account limits. The error message describes the limit exceeded.

HTTP Status Code: 409

ServiceFailure

The request processing has failed because of an unknown error, exception or failure.

HTTP Status Code: 500

Examples

Example

This example illustrates one usage of GenerateCredentialReport.

Sample Request

https://iam.amazonaws.com/?Action=GenerateCredentialReport &Version=2010-05-08 &AUTHPARAMS

Sample Response

<GenerateCredentialReportResponse xmlns="https://iam.amazonaws.com/doc/2010-05-08/"> <GenerateCredentialReportResult> <Description>No report exists. Starting a new report generation task</Description> <State>STARTED</State> </GenerateCredentialReportResult> <ResponseMetadata> <RequestId>29f47818-99f5-11e1-a4c3-27EXAMPLE804</RequestId> </ResponseMetadata> </GenerateCredentialReportResponse>

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: