update_dashboard
¶
update_dashboard(
aws_account_id: AwsAccountId,
dashboard_id: ShortRestrictiveResourceId,
name: DashboardName,
*,
config_overrides: Optional[QuickSightClientConfig] = None,
source_entity: Optional[DashboardSourceEntity] = None,
parameters: Optional[Parameters] = None,
version_description: Optional[VersionDescription] = None,
dashboard_publish_options: Optional[DashboardPublishOptions] = None,
theme_arn: Optional[Arn] = None,
definition: Optional[DashboardVersionDefinition] = None,
validation_strategy: Optional[ValidationStrategy] = None,
) -> UpdateDashboardResponse
Updates a dashboard in an Amazon Web Services account.
Updating a Dashboard creates a new dashboard version but does not immediately publish the new version. You can update the published version of a dashboard by using the UpdateDashboardPublishedVersion API operation.
Parameters:
-
aws_account_id(AwsAccountId) –The ID of the Amazon Web Services account that contains the dashboard that you're updating.
-
dashboard_id(ShortRestrictiveResourceId) –The ID for the dashboard.
-
name(DashboardName) –The display name of the dashboard.
-
source_entity(Optional[DashboardSourceEntity], default:None) –The entity that you are using as a source when you update the dashboard. In
SourceEntity, you specify the type of object you're using as source. You can only update a dashboard from a template, so you use aSourceTemplateentity. If you need to update a dashboard from an analysis, first convert the analysis to a template by using theCreateTemplateAPI operation. ForSourceTemplate, specify the Amazon Resource Name (ARN) of the source template. TheSourceTemplateARN can contain any Amazon Web Services account and any Amazon Quick Sight-supported Amazon Web Services Region.Use the
DataSetReferencesentity withinSourceTemplateto list the replacement datasets for the placeholders listed in the original. The schema in each dataset must match its placeholder. Use theTopicReferencesentity to list the replacement topics for the topic placeholders listed in the original. The schema in each topic must match its placeholder. -
parameters(Optional[Parameters], default:None) –A structure that contains the parameters of the dashboard. These are parameter overrides for a dashboard. A dashboard can have any type of parameters, and some parameters might accept multiple values.
-
version_description(Optional[VersionDescription], default:None) –A description for the first version of the dashboard being created.
-
dashboard_publish_options(Optional[DashboardPublishOptions], default:None) –Options for publishing the dashboard when you create it:
-
AvailabilityStatusforAdHocFilteringOption- This status can be eitherENABLEDorDISABLED. When this is set toDISABLED, Amazon Quick Sight disables the left filter pane on the published dashboard, which can be used for ad hoc (one-time) filtering. This option isENABLEDby default. -
AvailabilityStatusforExportToCSVOption- This status can be eitherENABLEDorDISABLED. The visual option to export data to .CSV format isn't enabled when this is set toDISABLED. This option isENABLEDby default. -
VisibilityStateforSheetControlsOption- This visibility state can be eitherCOLLAPSEDorEXPANDED. This option isCOLLAPSEDby default. -
AvailabilityStatusforQuickSuiteActionsOption- This status can be eitherENABLEDorDISABLED. Features related to Actions in Amazon Quick Suite on dashboards are disabled when this is set toDISABLED. This option isDISABLEDby default. -
AvailabilityStatusforExecutiveSummaryOption- This status can be eitherENABLEDorDISABLED. The option to build an executive summary is disabled when this is set toDISABLED. This option isENABLEDby default. -
AvailabilityStatusforDataStoriesSharingOption- This status can be eitherENABLEDorDISABLED. The option to share a data story is disabled when this is set toDISABLED. This option isENABLEDby default.
-
-
theme_arn(Optional[Arn], default:None) –The Amazon Resource Name (ARN) of the theme that is being used for this dashboard. If you add a value for this field, it overrides the value that was originally associated with the entity. The theme ARN must exist in the same Amazon Web Services account where you create the dashboard.
-
definition(Optional[DashboardVersionDefinition], default:None) –The definition of a dashboard.
A definition is the data model of all features in a Dashboard, Template, or Analysis.
-
validation_strategy(Optional[ValidationStrategy], default:None) –The option to relax the validation needed to update a dashboard with definition objects. This skips the validation step for specific errors.
Raises:
-
ConflictException–Updating or deleting a resource can cause an inconsistent state.
-
InternalFailureException–An internal failure occurred.
-
InvalidParameterValueException–One or more parameters has a value that isn't valid.
-
LimitExceededException–A limit is exceeded.
-
ResourceNotFoundException–One or more resources can't be found.
-
ThrottlingException–Access is throttled.
-
UnsupportedUserEditionException–This error indicates that you are calling an operation on an Amazon Quick Suite subscription where the edition doesn't include support for that operation. Amazon Quick Suite currently has Standard Edition and Enterprise Edition. Not every operation and capability is available in every edition.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_quicksight/_services/quick_sight.py
18291 18292 18293 18294 18295 18296 18297 18298 18299 18300 18301 18302 18303 18304 18305 18306 18307 18308 18309 18310 18311 18312 18313 18314 18315 18316 18317 18318 18319 18320 18321 18322 18323 18324 18325 18326 18327 18328 18329 18330 18331 18332 18333 18334 18335 18336 18337 18338 18339 18340 18341 18342 18343 18344 18345 18346 18347 18348 18349 18350 18351 18352 18353 18354 18355 18356 18357 18358 18359 18360 18361 18362 18363 18364 18365 18366 18367 18368 18369 18370 18371 18372 18373 18374 18375 18376 18377 18378 18379 18380 18381 18382 18383 18384 18385 18386 18387 18388 18389 18390 18391 18392 18393 18394 | |