update_analysis
¶
update_analysis(
aws_account_id: AwsAccountId,
analysis_id: ShortRestrictiveResourceId,
name: AnalysisName,
*,
config_overrides: Optional[QuickSightClientConfig] = None,
parameters: Optional[Parameters] = None,
source_entity: Optional[AnalysisSourceEntity] = None,
theme_arn: Optional[Arn] = None,
definition: Optional[AnalysisDefinition] = None,
validation_strategy: Optional[ValidationStrategy] = None,
) -> UpdateAnalysisResponse
Updates an analysis in Amazon Quick Sight
Parameters:
-
aws_account_id(AwsAccountId) –The ID of the Amazon Web Services account that contains the analysis that you're updating.
-
analysis_id(ShortRestrictiveResourceId) –The ID for the analysis that you're updating. This ID displays in the URL of the analysis.
-
name(AnalysisName) –A descriptive name for the analysis that you're updating. This name displays for the analysis in the Amazon Quick Sight console.
-
parameters(Optional[Parameters], default:None) –The parameter names and override values that you want to use. An analysis can have any parameter type, and some parameters might accept multiple values.
-
source_entity(Optional[AnalysisSourceEntity], default:None) –A source entity to use for the analysis that you're updating. This metadata structure contains details that describe a source template and one or more datasets or topics.
-
theme_arn(Optional[Arn], default:None) –The Amazon Resource Name (ARN) for the theme to apply to the analysis that you're creating. To see the theme in the Amazon Quick Sight console, make sure that you have access to it.
-
definition(Optional[AnalysisDefinition], default:None) –The definition of an analysis.
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 an analysis 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.
-
ResourceExistsException–The resource specified already exists.
-
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
19430 19431 19432 19433 19434 19435 19436 19437 19438 19439 19440 19441 19442 19443 19444 19445 19446 19447 19448 19449 19450 19451 19452 19453 19454 19455 19456 19457 19458 19459 19460 19461 19462 19463 19464 19465 19466 19467 19468 19469 19470 19471 19472 19473 19474 19475 19476 19477 19478 19479 19480 19481 19482 19483 19484 19485 19486 19487 19488 19489 19490 19491 19492 19493 19494 19495 19496 19497 19498 19499 19500 19501 19502 19503 19504 19505 19506 19507 19508 19509 19510 19511 19512 19513 19514 19515 19516 19517 19518 19519 19520 19521 | |