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 |
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.
PutReportDefinition' | |
|
Instances
newPutReportDefinition Source #
:: 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:
$sel:reportId:PutReportDefinition'
, putReportDefinition_reportId
- Required. ID of the report. You can choose any valid string matching the
pattern for the ID.
$sel:reportDescription:PutReportDefinition'
, putReportDefinition_reportDescription
- Required. Description of the report.
$sel:reportFrequency:PutReportDefinition'
, putReportDefinition_reportFrequency
- Required. The cadence to generate the report.
$sel:format:PutReportDefinition'
, putReportDefinition_format
- Required. The format to use for the generated report.
$sel:destinationS3Location: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.
PutReportDefinitionResponse' | |
|
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:
$sel:reportId: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.