| 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.AlexaBusiness.CreateBusinessReportSchedule
Description
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_clientRequestToken :: Lens' CreateBusinessReportSchedule (Maybe Text)
- createBusinessReportSchedule_recurrence :: Lens' CreateBusinessReportSchedule (Maybe BusinessReportRecurrence)
- createBusinessReportSchedule_s3BucketName :: Lens' CreateBusinessReportSchedule (Maybe Text)
- createBusinessReportSchedule_s3KeyPrefix :: Lens' CreateBusinessReportSchedule (Maybe Text)
- createBusinessReportSchedule_scheduleName :: 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.
Constructors
| CreateBusinessReportSchedule' | |
Fields
| |
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:clientRequestToken:CreateBusinessReportSchedule', createBusinessReportSchedule_clientRequestToken - The client request token.
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.
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.
CreateBusinessReportSchedule, createBusinessReportSchedule_s3KeyPrefix - The S3 key where the report is delivered.
CreateBusinessReportSchedule, createBusinessReportSchedule_scheduleName - The name identifier of the schedule.
$sel:tags:CreateBusinessReportSchedule', createBusinessReportSchedule_tags - The tags for the business report schedule.
CreateBusinessReportSchedule, createBusinessReportSchedule_format - The format of the generated report (individual CSV files or zipped files
of individual files).
CreateBusinessReportSchedule, createBusinessReportSchedule_contentRange - The content range of the reports.
Request Lenses
createBusinessReportSchedule_clientRequestToken :: Lens' CreateBusinessReportSchedule (Maybe Text) Source #
The client request token.
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_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_s3KeyPrefix :: Lens' CreateBusinessReportSchedule (Maybe Text) Source #
The S3 key where the report is delivered.
createBusinessReportSchedule_scheduleName :: Lens' CreateBusinessReportSchedule (Maybe Text) Source #
The name identifier of the schedule.
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.
Constructors
| CreateBusinessReportScheduleResponse' | |
Fields
| |
Instances
newCreateBusinessReportScheduleResponse Source #
Arguments
| :: Int | |
| -> CreateBusinessReportScheduleResponse |
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:
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.