| 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.PutReportDefinition
Description
Creates the report definition for a report in Application Cost Profiler.
Synopsis
- data PutReportDefinition = PutReportDefinition' {}
- newPutReportDefinition :: Text -> Text -> ReportFrequency -> Format -> S3Location -> PutReportDefinition
- putReportDefinition_reportId :: Lens' PutReportDefinition Text
- putReportDefinition_reportDescription :: Lens' PutReportDefinition Text
- putReportDefinition_reportFrequency :: Lens' PutReportDefinition ReportFrequency
- putReportDefinition_format :: Lens' PutReportDefinition Format
- putReportDefinition_destinationS3Location :: Lens' PutReportDefinition S3Location
- data PutReportDefinitionResponse = PutReportDefinitionResponse' {
- reportId :: Maybe Text
- httpStatus :: Int
- newPutReportDefinitionResponse :: Int -> PutReportDefinitionResponse
- putReportDefinitionResponse_reportId :: Lens' PutReportDefinitionResponse (Maybe Text)
- putReportDefinitionResponse_httpStatus :: Lens' PutReportDefinitionResponse Int
Creating a Request
data PutReportDefinition Source #
See: newPutReportDefinition smart constructor.
Constructors
| PutReportDefinition' | |
Fields
| |
Instances
newPutReportDefinition Source #
Arguments
| :: Text | |
| -> Text | |
| -> ReportFrequency | |
| -> Format | |
| -> S3Location | |
| -> PutReportDefinition |
Create a value of PutReportDefinition 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:
PutReportDefinition, putReportDefinition_reportId - Required. ID of the report. You can choose any valid string matching the
pattern for the ID.
PutReportDefinition, putReportDefinition_reportDescription - Required. Description of the report.
PutReportDefinition, putReportDefinition_reportFrequency - Required. The cadence to generate the report.
PutReportDefinition, putReportDefinition_format - Required. The format to use for the generated report.
PutReportDefinition, putReportDefinition_destinationS3Location - Required. Amazon Simple Storage Service (Amazon S3) location where
Application Cost Profiler uploads the report.
Request Lenses
putReportDefinition_reportId :: Lens' PutReportDefinition Text Source #
Required. ID of the report. You can choose any valid string matching the pattern for the ID.
putReportDefinition_reportDescription :: Lens' PutReportDefinition Text Source #
Required. Description of the report.
putReportDefinition_reportFrequency :: Lens' PutReportDefinition ReportFrequency Source #
Required. The cadence to generate the report.
putReportDefinition_format :: Lens' PutReportDefinition Format Source #
Required. The format to use for the generated report.
putReportDefinition_destinationS3Location :: Lens' PutReportDefinition S3Location Source #
Required. Amazon Simple Storage Service (Amazon S3) location where Application Cost Profiler uploads the report.
Destructuring the Response
data PutReportDefinitionResponse Source #
See: newPutReportDefinitionResponse smart constructor.
Constructors
| PutReportDefinitionResponse' | |
Fields
| |
Instances
newPutReportDefinitionResponse Source #
Create a value of PutReportDefinitionResponse 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:
PutReportDefinition, putReportDefinitionResponse_reportId - ID of the report.
$sel:httpStatus:PutReportDefinitionResponse', putReportDefinitionResponse_httpStatus - The response's http status code.
Response Lenses
putReportDefinitionResponse_reportId :: Lens' PutReportDefinitionResponse (Maybe Text) Source #
ID of the report.
putReportDefinitionResponse_httpStatus :: Lens' PutReportDefinitionResponse Int Source #
The response's http status code.