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 |
Retrieves the definition of a report already configured in AWS Application Cost Profiler.
Synopsis
- data GetReportDefinition = GetReportDefinition' {}
- newGetReportDefinition :: Text -> GetReportDefinition
- getReportDefinition_reportId :: Lens' GetReportDefinition Text
- data GetReportDefinitionResponse = GetReportDefinitionResponse' {}
- newGetReportDefinitionResponse :: Int -> Text -> Text -> ReportFrequency -> Format -> S3Location -> UTCTime -> UTCTime -> GetReportDefinitionResponse
- getReportDefinitionResponse_httpStatus :: Lens' GetReportDefinitionResponse Int
- getReportDefinitionResponse_reportId :: Lens' GetReportDefinitionResponse Text
- getReportDefinitionResponse_reportDescription :: Lens' GetReportDefinitionResponse Text
- getReportDefinitionResponse_reportFrequency :: Lens' GetReportDefinitionResponse ReportFrequency
- getReportDefinitionResponse_format :: Lens' GetReportDefinitionResponse Format
- getReportDefinitionResponse_destinationS3Location :: Lens' GetReportDefinitionResponse S3Location
- getReportDefinitionResponse_createdAt :: Lens' GetReportDefinitionResponse UTCTime
- getReportDefinitionResponse_lastUpdated :: Lens' GetReportDefinitionResponse UTCTime
Creating a Request
data GetReportDefinition Source #
See: newGetReportDefinition
smart constructor.
Instances
newGetReportDefinition Source #
Create a value of GetReportDefinition
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:reportId:GetReportDefinition'
, getReportDefinition_reportId
- ID of the report to retrieve.
Request Lenses
getReportDefinition_reportId :: Lens' GetReportDefinition Text Source #
ID of the report to retrieve.
Destructuring the Response
data GetReportDefinitionResponse Source #
See: newGetReportDefinitionResponse
smart constructor.
GetReportDefinitionResponse' | |
|
Instances
newGetReportDefinitionResponse Source #
:: Int | |
-> Text | |
-> Text | |
-> ReportFrequency | |
-> Format | |
-> S3Location | |
-> UTCTime | |
-> UTCTime | |
-> GetReportDefinitionResponse |
Create a value of GetReportDefinitionResponse
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:httpStatus:GetReportDefinitionResponse'
, getReportDefinitionResponse_httpStatus
- The response's http status code.
$sel:reportId:GetReportDefinition'
, getReportDefinitionResponse_reportId
- ID of the report retrieved.
$sel:reportDescription:GetReportDefinitionResponse'
, getReportDefinitionResponse_reportDescription
- Description of the report.
$sel:reportFrequency:GetReportDefinitionResponse'
, getReportDefinitionResponse_reportFrequency
- Cadence used to generate the report.
$sel:format:GetReportDefinitionResponse'
, getReportDefinitionResponse_format
- Format of the generated report.
$sel:destinationS3Location:GetReportDefinitionResponse'
, getReportDefinitionResponse_destinationS3Location
- Amazon Simple Storage Service (Amazon S3) location where the report is
uploaded.
$sel:createdAt:GetReportDefinitionResponse'
, getReportDefinitionResponse_createdAt
- Timestamp (milliseconds) when this report definition was created.
$sel:lastUpdated:GetReportDefinitionResponse'
, getReportDefinitionResponse_lastUpdated
- Timestamp (milliseconds) when this report definition was last updated.
Response Lenses
getReportDefinitionResponse_httpStatus :: Lens' GetReportDefinitionResponse Int Source #
The response's http status code.
getReportDefinitionResponse_reportId :: Lens' GetReportDefinitionResponse Text Source #
ID of the report retrieved.
getReportDefinitionResponse_reportDescription :: Lens' GetReportDefinitionResponse Text Source #
Description of the report.
getReportDefinitionResponse_reportFrequency :: Lens' GetReportDefinitionResponse ReportFrequency Source #
Cadence used to generate the report.
getReportDefinitionResponse_format :: Lens' GetReportDefinitionResponse Format Source #
Format of the generated report.
getReportDefinitionResponse_destinationS3Location :: Lens' GetReportDefinitionResponse S3Location Source #
Amazon Simple Storage Service (Amazon S3) location where the report is uploaded.
getReportDefinitionResponse_createdAt :: Lens' GetReportDefinitionResponse UTCTime Source #
Timestamp (milliseconds) when this report definition was created.
getReportDefinitionResponse_lastUpdated :: Lens' GetReportDefinitionResponse UTCTime Source #
Timestamp (milliseconds) when this report definition was last updated.