| Copyright | (c) 2013-2015 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | None |
| Language | Haskell2010 |
Network.AWS.IAM.GetCredentialReport
Description
Retrieves a credential report for the AWS account. For more information about the credential report, see Getting Credential Reports in the Using IAM guide.
See: AWS API Reference for GetCredentialReport.
- getCredentialReport :: GetCredentialReport
- data GetCredentialReport
- getCredentialReportResponse :: Int -> GetCredentialReportResponse
- data GetCredentialReportResponse
- grsContent :: Lens' GetCredentialReportResponse (Maybe ByteString)
- grsGeneratedTime :: Lens' GetCredentialReportResponse (Maybe UTCTime)
- grsReportFormat :: Lens' GetCredentialReportResponse (Maybe ReportFormatType)
- grsStatus :: 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.
Instances
Destructuring the Response
getCredentialReportResponse Source
Arguments
| :: Int | |
| -> GetCredentialReportResponse |
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:
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.
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.
grsStatus :: Lens' GetCredentialReportResponse Int Source
The response status code.