Copyright | (c) 2013-2017 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 |
Language | Haskell2010 |
Retrieves a credential report for the AWS account. For more information about the credential report, see Getting Credential Reports in the IAM User Guide .
- getCredentialReport :: GetCredentialReport
- data GetCredentialReport
- getCredentialReportResponse :: Int -> GetCredentialReportResponse
- data GetCredentialReportResponse
- grsContent :: Lens' GetCredentialReportResponse (Maybe ByteString)
- grsGeneratedTime :: Lens' GetCredentialReportResponse (Maybe UTCTime)
- grsReportFormat :: Lens' GetCredentialReportResponse (Maybe ReportFormatType)
- grsResponseStatus :: Lens' GetCredentialReportResponse Int
Creating a Request
getCredentialReport :: GetCredentialReport Source #
Creates a value of GetCredentialReport
with the minimum fields required to make a request.
data GetCredentialReport Source #
See: getCredentialReport
smart constructor.
Destructuring the Response
getCredentialReportResponse Source #
Creates a value of GetCredentialReportResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
grsContent
- Contains the credential report. The report is Base64-encoded.-- Note: ThisLens
automatically encodes and decodes Base64 data. The underlying isomorphism will encode to Base64 representation during serialisation, and decode from Base64 representation during deserialisation. ThisLens
accepts and returns only raw unencoded data.grsGeneratedTime
- The date and time when the credential report was created, in ISO 8601 date-time format .grsReportFormat
- The format (MIME type) of the credential report.grsResponseStatus
- -- | The response status code.
data GetCredentialReportResponse Source #
Contains the response to a successful GetCredentialReport
request.
See: getCredentialReportResponse
smart constructor.
Response Lenses
grsContent :: Lens' GetCredentialReportResponse (Maybe ByteString) Source #
Contains the credential report. The report is Base64-encoded.-- Note: This Lens
automatically encodes and decodes Base64 data. The underlying isomorphism will encode to Base64 representation during serialisation, and decode from Base64 representation during deserialisation. This Lens
accepts and returns only raw unencoded data.
grsGeneratedTime :: Lens' GetCredentialReportResponse (Maybe UTCTime) Source #
The date and time when the credential report was created, in ISO 8601 date-time format .
grsReportFormat :: Lens' GetCredentialReportResponse (Maybe ReportFormatType) Source #
The format (MIME type) of the credential report.
grsResponseStatus :: Lens' GetCredentialReportResponse Int Source #
- - | The response status code.