Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
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_state :: Lens' GenerateCredentialReportResponse (Maybe ReportStateType)
- generateCredentialReportResponse_description :: Lens' GenerateCredentialReportResponse (Maybe Text)
- generateCredentialReportResponse_httpStatus :: Lens' GenerateCredentialReportResponse Int
Creating a Request
data GenerateCredentialReport Source #
See: newGenerateCredentialReport
smart constructor.
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.
GenerateCredentialReportResponse' | |
|
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:
$sel:state:GenerateCredentialReportResponse'
, generateCredentialReportResponse_state
- Information about the state of the credential report.
$sel:description:GenerateCredentialReportResponse'
, generateCredentialReportResponse_description
- Information about the credential report.
$sel:httpStatus:GenerateCredentialReportResponse'
, generateCredentialReportResponse_httpStatus
- The response's http status code.
Response Lenses
generateCredentialReportResponse_state :: Lens' GenerateCredentialReportResponse (Maybe ReportStateType) Source #
Information about the state of the credential report.
generateCredentialReportResponse_description :: Lens' GenerateCredentialReportResponse (Maybe Text) Source #
Information about the credential report.
generateCredentialReportResponse_httpStatus :: Lens' GenerateCredentialReportResponse Int Source #
The response's http status code.