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 a recurring schedule for usage reports to deliver to the specified S3 location with a specified daily or weekly interval.
Synopsis
- data CreateBusinessReportSchedule = CreateBusinessReportSchedule' {}
- newCreateBusinessReportSchedule :: BusinessReportFormat -> BusinessReportContentRange -> CreateBusinessReportSchedule
- createBusinessReportSchedule_s3KeyPrefix :: Lens' CreateBusinessReportSchedule (Maybe Text)
- createBusinessReportSchedule_recurrence :: Lens' CreateBusinessReportSchedule (Maybe BusinessReportRecurrence)
- createBusinessReportSchedule_scheduleName :: Lens' CreateBusinessReportSchedule (Maybe Text)
- createBusinessReportSchedule_clientRequestToken :: Lens' CreateBusinessReportSchedule (Maybe Text)
- createBusinessReportSchedule_s3BucketName :: Lens' CreateBusinessReportSchedule (Maybe Text)
- createBusinessReportSchedule_tags :: Lens' CreateBusinessReportSchedule (Maybe [Tag])
- createBusinessReportSchedule_format :: Lens' CreateBusinessReportSchedule BusinessReportFormat
- createBusinessReportSchedule_contentRange :: Lens' CreateBusinessReportSchedule BusinessReportContentRange
- data CreateBusinessReportScheduleResponse = CreateBusinessReportScheduleResponse' {
- scheduleArn :: Maybe Text
- httpStatus :: Int
- newCreateBusinessReportScheduleResponse :: Int -> CreateBusinessReportScheduleResponse
- createBusinessReportScheduleResponse_scheduleArn :: Lens' CreateBusinessReportScheduleResponse (Maybe Text)
- createBusinessReportScheduleResponse_httpStatus :: Lens' CreateBusinessReportScheduleResponse Int
Creating a Request
data CreateBusinessReportSchedule Source #
See: newCreateBusinessReportSchedule
smart constructor.
CreateBusinessReportSchedule' | |
|
Instances
newCreateBusinessReportSchedule Source #
Create a value of CreateBusinessReportSchedule
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:s3KeyPrefix:CreateBusinessReportSchedule'
, createBusinessReportSchedule_s3KeyPrefix
- The S3 key where the report is delivered.
$sel:recurrence:CreateBusinessReportSchedule'
, createBusinessReportSchedule_recurrence
- The recurrence of the reports. If this isn't specified, the report will
only be delivered one time when the API is called.
$sel:scheduleName:CreateBusinessReportSchedule'
, createBusinessReportSchedule_scheduleName
- The name identifier of the schedule.
$sel:clientRequestToken:CreateBusinessReportSchedule'
, createBusinessReportSchedule_clientRequestToken
- The client request token.
$sel:s3BucketName:CreateBusinessReportSchedule'
, createBusinessReportSchedule_s3BucketName
- The S3 bucket name of the output reports. If this isn't specified, the
report can be retrieved from a download link by calling
ListBusinessReportSchedule.
$sel:tags:CreateBusinessReportSchedule'
, createBusinessReportSchedule_tags
- The tags for the business report schedule.
$sel:format:CreateBusinessReportSchedule'
, createBusinessReportSchedule_format
- The format of the generated report (individual CSV files or zipped files
of individual files).
$sel:contentRange:CreateBusinessReportSchedule'
, createBusinessReportSchedule_contentRange
- The content range of the reports.
Request Lenses
createBusinessReportSchedule_s3KeyPrefix :: Lens' CreateBusinessReportSchedule (Maybe Text) Source #
The S3 key where the report is delivered.
createBusinessReportSchedule_recurrence :: Lens' CreateBusinessReportSchedule (Maybe BusinessReportRecurrence) Source #
The recurrence of the reports. If this isn't specified, the report will only be delivered one time when the API is called.
createBusinessReportSchedule_scheduleName :: Lens' CreateBusinessReportSchedule (Maybe Text) Source #
The name identifier of the schedule.
createBusinessReportSchedule_clientRequestToken :: Lens' CreateBusinessReportSchedule (Maybe Text) Source #
The client request token.
createBusinessReportSchedule_s3BucketName :: Lens' CreateBusinessReportSchedule (Maybe Text) Source #
The S3 bucket name of the output reports. If this isn't specified, the report can be retrieved from a download link by calling ListBusinessReportSchedule.
createBusinessReportSchedule_tags :: Lens' CreateBusinessReportSchedule (Maybe [Tag]) Source #
The tags for the business report schedule.
createBusinessReportSchedule_format :: Lens' CreateBusinessReportSchedule BusinessReportFormat Source #
The format of the generated report (individual CSV files or zipped files of individual files).
createBusinessReportSchedule_contentRange :: Lens' CreateBusinessReportSchedule BusinessReportContentRange Source #
The content range of the reports.
Destructuring the Response
data CreateBusinessReportScheduleResponse Source #
See: newCreateBusinessReportScheduleResponse
smart constructor.
CreateBusinessReportScheduleResponse' | |
|
Instances
newCreateBusinessReportScheduleResponse Source #
Create a value of CreateBusinessReportScheduleResponse
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:scheduleArn:CreateBusinessReportScheduleResponse'
, createBusinessReportScheduleResponse_scheduleArn
- The ARN of the business report schedule.
$sel:httpStatus:CreateBusinessReportScheduleResponse'
, createBusinessReportScheduleResponse_httpStatus
- The response's http status code.
Response Lenses
createBusinessReportScheduleResponse_scheduleArn :: Lens' CreateBusinessReportScheduleResponse (Maybe Text) Source #
The ARN of the business report schedule.
createBusinessReportScheduleResponse_httpStatus :: Lens' CreateBusinessReportScheduleResponse Int Source #
The response's http status code.