create_scheduled_report
¶
create_scheduled_report(
scheduled_report: ScheduledReportInput,
*,
config_overrides: Optional[BCMDashboardsClientConfig] = None,
resource_tags: Optional[ResourceTagList] = None,
client_token: Optional[ClientToken] = None,
) -> CreateScheduledReportResponse
Creates a new scheduled report for a dashboard. A scheduled report automatically generates and delivers dashboard snapshots on a recurring schedule. Reports are delivered within 15 minutes of the scheduled delivery time.
Parameters:
-
scheduled_report(ScheduledReportInput) –The configuration for the scheduled report, including the dashboard to report on, the schedule, and the execution role that the service will use to generate the dashboard snapshot.
-
resource_tags(Optional[ResourceTagList], default:None) –The tags to apply to the scheduled report resource for organization and management.
-
client_token(Optional[ClientToken], default:None) –A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
Raises:
-
AccessDeniedException–You do not have sufficient permissions to perform this action. Verify your IAM permissions and any resource policies.
-
ConflictException–The request could not be completed due to a conflict with the current state of the resource. For example, attempting to create a resource that already exists or is being created.
-
InternalServerException–An internal error occurred while processing the request. Retry your request. If the problem persists, contact Amazon Web Services Support.
-
ServiceQuotaExceededException–The request would exceed a service quota. Review the service quotas for Amazon Web Services Billing and Cost Management Dashboards and retry your request.
-
ThrottlingException–The request was denied due to request throttling. Reduce the frequency of requests and use exponential backoff.
-
ValidationException–The input parameters do not satisfy the requirements. Check the error message for specific validation details.
-
UnknownServiceError–The service returned an error code this client does not model.