| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.IAM.GenerateCredentialReport
Description
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.
Synopsis
- data GenerateCredentialReport = GenerateCredentialReport' {
- newGenerateCredentialReport :: GenerateCredentialReport
- data GenerateCredentialReportResponse = GenerateCredentialReportResponse' {}
- newGenerateCredentialReportResponse :: Int -> GenerateCredentialReportResponse
- generateCredentialReportResponse_description :: Lens' GenerateCredentialReportResponse (Maybe Text)
- generateCredentialReportResponse_state :: Lens' GenerateCredentialReportResponse (Maybe ReportStateType)
- generateCredentialReportResponse_httpStatus :: Lens' GenerateCredentialReportResponse Int
Creating a Request
data GenerateCredentialReport Source #
See: newGenerateCredentialReport smart constructor.
Constructors
| GenerateCredentialReport' | |
Instances
newGenerateCredentialReport :: GenerateCredentialReport Source #
Create a value of GenerateCredentialReport with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
Destructuring the Response
data GenerateCredentialReportResponse Source #
Contains the response to a successful GenerateCredentialReport request.
See: newGenerateCredentialReportResponse smart constructor.
Constructors
| GenerateCredentialReportResponse' | |
Fields
| |
Instances
newGenerateCredentialReportResponse Source #
Create a value of GenerateCredentialReportResponse with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
GenerateCredentialReportResponse, generateCredentialReportResponse_description - Information about the credential report.
$sel:state:GenerateCredentialReportResponse', generateCredentialReportResponse_state - Information about the state of the credential report.
$sel:httpStatus:GenerateCredentialReportResponse', generateCredentialReportResponse_httpStatus - The response's http status code.
Response Lenses
generateCredentialReportResponse_description :: Lens' GenerateCredentialReportResponse (Maybe Text) Source #
Information about the credential report.
generateCredentialReportResponse_state :: Lens' GenerateCredentialReportResponse (Maybe ReportStateType) Source #
Information about the state of the credential report.
generateCredentialReportResponse_httpStatus :: Lens' GenerateCredentialReportResponse Int Source #
The response's http status code.