| 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.UpdateReportDefinition
Description
Updates existing report in AWS Application Cost Profiler.
Synopsis
- data UpdateReportDefinition = UpdateReportDefinition' {}
- newUpdateReportDefinition :: Text -> Text -> ReportFrequency -> Format -> S3Location -> UpdateReportDefinition
- updateReportDefinition_reportId :: Lens' UpdateReportDefinition Text
- updateReportDefinition_reportDescription :: Lens' UpdateReportDefinition Text
- updateReportDefinition_reportFrequency :: Lens' UpdateReportDefinition ReportFrequency
- updateReportDefinition_format :: Lens' UpdateReportDefinition Format
- updateReportDefinition_destinationS3Location :: Lens' UpdateReportDefinition S3Location
- data UpdateReportDefinitionResponse = UpdateReportDefinitionResponse' {
- reportId :: Maybe Text
- httpStatus :: Int
- newUpdateReportDefinitionResponse :: Int -> UpdateReportDefinitionResponse
- updateReportDefinitionResponse_reportId :: Lens' UpdateReportDefinitionResponse (Maybe Text)
- updateReportDefinitionResponse_httpStatus :: Lens' UpdateReportDefinitionResponse Int
Creating a Request
data UpdateReportDefinition Source #
See: newUpdateReportDefinition smart constructor.
Constructors
| UpdateReportDefinition' | |
Fields
| |
Instances
newUpdateReportDefinition Source #
Arguments
| :: Text | |
| -> Text | |
| -> ReportFrequency | |
| -> Format | |
| -> S3Location | |
| -> UpdateReportDefinition |
Create a value of UpdateReportDefinition 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:
UpdateReportDefinition, updateReportDefinition_reportId - Required. ID of the report to update.
UpdateReportDefinition, updateReportDefinition_reportDescription - Required. Description of the report.
UpdateReportDefinition, updateReportDefinition_reportFrequency - Required. The cadence to generate the report.
UpdateReportDefinition, updateReportDefinition_format - Required. The format to use for the generated report.
UpdateReportDefinition, updateReportDefinition_destinationS3Location - Required. Amazon Simple Storage Service (Amazon S3) location where
Application Cost Profiler uploads the report.
Request Lenses
updateReportDefinition_reportId :: Lens' UpdateReportDefinition Text Source #
Required. ID of the report to update.
updateReportDefinition_reportDescription :: Lens' UpdateReportDefinition Text Source #
Required. Description of the report.
updateReportDefinition_reportFrequency :: Lens' UpdateReportDefinition ReportFrequency Source #
Required. The cadence to generate the report.
updateReportDefinition_format :: Lens' UpdateReportDefinition Format Source #
Required. The format to use for the generated report.
updateReportDefinition_destinationS3Location :: Lens' UpdateReportDefinition S3Location Source #
Required. Amazon Simple Storage Service (Amazon S3) location where Application Cost Profiler uploads the report.
Destructuring the Response
data UpdateReportDefinitionResponse Source #
See: newUpdateReportDefinitionResponse smart constructor.
Constructors
| UpdateReportDefinitionResponse' | |
Fields
| |
Instances
newUpdateReportDefinitionResponse Source #
Create a value of UpdateReportDefinitionResponse 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:
UpdateReportDefinition, updateReportDefinitionResponse_reportId - ID of the report.
$sel:httpStatus:UpdateReportDefinitionResponse', updateReportDefinitionResponse_httpStatus - The response's http status code.
Response Lenses
updateReportDefinitionResponse_reportId :: Lens' UpdateReportDefinitionResponse (Maybe Text) Source #
ID of the report.
updateReportDefinitionResponse_httpStatus :: Lens' UpdateReportDefinitionResponse Int Source #
The response's http status code.