2018/12/07 - Alexa For Business - 4 new api methods
Changes Update alexaforbusiness client to latest version
Creates a recurring schedule for usage reports to deliver to the specified S3 location with a specified daily or weekly interval.
See also: AWS API Documentation
Request Syntax
client.create_business_report_schedule( ScheduleName='string', S3BucketName='string', S3KeyPrefix='string', Format='CSV'|'CSV_ZIP', ContentRange={ 'Interval': 'ONE_DAY'|'ONE_WEEK' }, Recurrence={ 'StartDate': 'string' }, ClientRequestToken='string' )
string
The name identifier of the schedule.
string
The S3 bucket name of the output reports.
string
The S3 key where the report is delivered.
string
[REQUIRED]
The format of the generated report (individual CSV files or zipped files of individual files).
dict
[REQUIRED]
The content range of the reports.
Interval (string) --
The interval of the content range.
dict
The recurrence of the reports.
StartDate (string) --
The start date.
string
The client request token.
This field is autopopulated if not provided.
dict
Response Syntax
{ 'ScheduleArn': 'string' }
Response Structure
(dict) --
ScheduleArn (string) --
The ARN of the business report schedule.
Deletes the recurring report delivery schedule with the specified schedule ARN.
See also: AWS API Documentation
Request Syntax
client.delete_business_report_schedule( ScheduleArn='string' )
string
[REQUIRED]
The ARN of the business report schedule.
dict
Response Syntax
{}
Response Structure
(dict) --
Updates the configuration of the report delivery schedule with the specified schedule ARN.
See also: AWS API Documentation
Request Syntax
client.update_business_report_schedule( ScheduleArn='string', S3BucketName='string', S3KeyPrefix='string', Format='CSV'|'CSV_ZIP', ScheduleName='string', Recurrence={ 'StartDate': 'string' } )
string
[REQUIRED]
The ARN of the business report schedule.
string
The S3 location of the output reports.
string
The S3 key where the report is delivered.
string
The format of the generated report (individual CSV files or zipped files of individual files).
string
The name identifier of the schedule.
dict
The recurrence of the reports.
StartDate (string) --
The start date.
dict
Response Syntax
{}
Response Structure
(dict) --
Lists the details of the schedules that a user configured.
See also: AWS API Documentation
Request Syntax
client.list_business_report_schedules( NextToken='string', MaxResults=123 )
string
The token used to list the remaining schedules from the previous API call.
integer
The maximum number of schedules listed in the call.
dict
Response Syntax
{ 'BusinessReportSchedules': [ { 'ScheduleArn': 'string', 'ScheduleName': 'string', 'S3BucketName': 'string', 'S3KeyPrefix': 'string', 'Format': 'CSV'|'CSV_ZIP', 'ContentRange': { 'Interval': 'ONE_DAY'|'ONE_WEEK' }, 'Recurrence': { 'StartDate': 'string' }, 'LastBusinessReport': { 'Status': 'RUNNING'|'SUCCEEDED'|'FAILED', 'FailureCode': 'ACCESS_DENIED'|'NO_SUCH_BUCKET'|'INTERNAL_FAILURE', 'S3Location': { 'Path': 'string', 'BucketName': 'string' }, 'DeliveryTime': datetime(2015, 1, 1), 'DownloadUrl': 'string' } }, ], 'NextToken': 'string' }
Response Structure
(dict) --
BusinessReportSchedules (list) --
The schedule of the reports.
(dict) --
The schedule of the usage report.
ScheduleArn (string) --
The ARN of the business report schedule.
ScheduleName (string) --
The name identifier of the schedule.
S3BucketName (string) --
The S3 bucket name of the output reports.
S3KeyPrefix (string) --
The S3 key where the report is delivered.
Format (string) --
The format of the generated report (individual CSV files or zipped files of individual files).
ContentRange (dict) --
The content range of the reports.
Interval (string) --
The interval of the content range.
Recurrence (dict) --
The recurrence of the reports.
StartDate (string) --
The start date.
LastBusinessReport (dict) --
The details of the last business report delivery for a specified time interval.
Status (string) --
The status of the report generation execution (RUNNING, SUCCEEDED, or FAILED).
FailureCode (string) --
The failure code.
S3Location (dict) --
The S3 location of the output reports.
Path (string) --
The path of the business report.
BucketName (string) --
The S3 bucket name of the output reports.
DeliveryTime (datetime) --
The time of report delivery.
DownloadUrl (string) --
The download link where a user can download the report.
NextToken (string) --
The token used to list the remaining schedules from the previous API call.