BillingandCostManagementDashboards / Client / list_scheduled_reports
list_scheduled_reports¶
- BillingandCostManagementDashboards.Client.list_scheduled_reports(**kwargs)¶
Returns a list of scheduled reports in your account.
See also: AWS API Documentation
Request Syntax
response = client.list_scheduled_reports( nextToken='string', maxResults=123 )
- Parameters:
nextToken (string) – The token for the next page of results. Use the value returned in the previous response.
maxResults (integer) – The maximum number of results to return in a single call. Valid range is 1 to 100. The default value is 50.
- Return type:
dict
- Returns:
Response Syntax
{ 'scheduledReports': [ { 'arn': 'string', 'name': 'string', 'dashboardArn': 'string', 'scheduleExpression': 'string', 'state': 'ENABLED'|'DISABLED', 'healthStatus': { 'statusCode': 'HEALTHY'|'UNHEALTHY', 'lastRefreshedAt': datetime(2015, 1, 1), 'statusReasons': [ 'DATA_SOURCE_ACCESS_DENIED'|'EXECUTION_ROLE_ASSUME_FAILED'|'EXECUTION_ROLE_INSUFFICIENT_PERMISSIONS'|'DASHBOARD_NOT_FOUND'|'DASHBOARD_ACCESS_DENIED'|'INTERNAL_FAILURE'|'WIDGET_ID_NOT_FOUND', ] }, 'scheduleExpressionTimeZone': 'string', 'widgetIds': [ 'string', ] }, ], 'nextToken': 'string' }
Response Structure
(dict) –
scheduledReports (list) –
An array of scheduled report summaries, containing basic information about each scheduled report.
(dict) –
Contains summary information for a scheduled report.
arn (string) –
The ARN of the scheduled report.
name (string) –
The name of the scheduled report.
dashboardArn (string) –
The ARN of the dashboard associated with the scheduled report.
scheduleExpression (string) –
The schedule expression that defines when the report runs.
state (string) –
The state of the schedule:
ENABLEDorDISABLED.healthStatus (dict) –
The health status of the scheduled report as of its last refresh time.
statusCode (string) –
The health status code.
HEALTHYindicates the scheduled report is configured properly and has all required permissions to execute.UNHEALTHYindicates the scheduled report is unable to deliver the notification to the default Amazon EventBridge EventBus in your account and your action is needed. The reason for the unhealthy state is captured in the health status reasons.lastRefreshedAt (datetime) –
The timestamp when the health status was last refreshed.
statusReasons (list) –
The list of reasons for the current health status. Only present when the status is
UNHEALTHY.(string) –
scheduleExpressionTimeZone (string) –
The time zone for the schedule expression, for example,
UTC.widgetIds (list) –
The list of widget identifiers included in the scheduled report.
(string) –
nextToken (string) –
The token to use to retrieve the next page of results. Not returned if there are no more results to retrieve.
Exceptions
BillingandCostManagementDashboards.Client.exceptions.ThrottlingExceptionBillingandCostManagementDashboards.Client.exceptions.AccessDeniedExceptionBillingandCostManagementDashboards.Client.exceptions.InternalServerExceptionBillingandCostManagementDashboards.Client.exceptions.ValidationException