update_scheduled_report
async
¶
update_scheduled_report(
arn: ScheduledReportArn,
*,
config_overrides: Optional[AsyncBCMDashboardsClientConfig] = None,
name: Optional[ScheduledReportName] = None,
description: Optional[Description] = None,
dashboard_arn: Optional[DashboardArn] = None,
scheduled_report_execution_role_arn: Optional[ServiceRoleArn] = None,
schedule_config: Optional[ScheduleConfig] = None,
widget_ids: Optional[WidgetIdList] = None,
widget_date_range_override: Optional[DateTimeRange] = None,
clear_widget_ids: Optional[bool] = None,
clear_widget_date_range_override: Optional[bool] = None,
) -> UpdateScheduledReportResponse
Updates an existing scheduled report's properties, including its name, description, schedule configuration, and widget settings. Only the parameters included in the request are updated; all other properties remain unchanged.
Parameters:
-
arn(ScheduledReportArn) –The ARN of the scheduled report to update.
-
name(Optional[ScheduledReportName], default:None) –The new name for the scheduled report.
-
description(Optional[Description], default:None) –The new description for the scheduled report.
-
dashboard_arn(Optional[DashboardArn], default:None) –The ARN of the dashboard to associate with the scheduled report.
-
scheduled_report_execution_role_arn(Optional[ServiceRoleArn], default:None) –The ARN of the IAM role that the scheduled report uses to execute. Amazon Web Services Billing and Cost Management Dashboards will assume this IAM role while executing the scheduled report.
-
schedule_config(Optional[ScheduleConfig], default:None) –The updated schedule configuration for the report.
-
widget_ids(Optional[WidgetIdList], default:None) –The list of widget identifiers to include in the scheduled report. If not specified, all widgets in the dashboard are included.
-
widget_date_range_override(Optional[DateTimeRange], default:None) –The date range override to apply to widgets in the scheduled report.
-
clear_widget_ids(Optional[bool], default:None) –Set to true to clear existing widgetIds.
-
clear_widget_date_range_override(Optional[bool], default:None) –Set to true to clear existing widgetDateRangeOverride.
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.
-
ResourceNotFoundException–The specified resource (dashboard, policy, or widget) was not found. Verify the ARN and try again.
-
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.
Source code in docs_src/capo_bcm_dashboards/_services/async_bcm_dashboards.py
1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 | |