| 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.ApplicationCostProfiler.GetReportDefinition
Description
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.
Constructors
| GetReportDefinition' | |
Instances
newGetReportDefinition Source #
Arguments
| :: Text | |
| -> GetReportDefinition |
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:
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.
Constructors
| GetReportDefinitionResponse' | |
Fields
| |
Instances
newGetReportDefinitionResponse Source #
Arguments
| :: 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.
GetReportDefinition, getReportDefinitionResponse_reportId - ID of the report retrieved.
GetReportDefinitionResponse, getReportDefinitionResponse_reportDescription - Description of the report.
GetReportDefinitionResponse, getReportDefinitionResponse_reportFrequency - Cadence used to generate the report.
GetReportDefinitionResponse, getReportDefinitionResponse_format - Format of the generated report.
GetReportDefinitionResponse, getReportDefinitionResponse_destinationS3Location - Amazon Simple Storage Service (Amazon S3) location where the report is
uploaded.
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.