GenerateCredentialReport - Amazon Identity and Access Management
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China.

GenerateCredentialReport

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.

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 Amazon 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 Amazon SDKs, see the following: