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
17689 17690 17691 17692 17693 17694 17695 17696 17697 17698 17699 17700 17701 17702 17703 17704 17705 17706 17707 17708 17709 17710 17711 17712 17713 17714 17715 17716 17717 17718 17719 17720 17721 17722 17723 17724 17725 17726 17727 17728 17729 17730 17731 17732 17733 17734 17735 17736 17737 17738 17739 17740 17741 17742 17743 17744 17745 17746 17747 17748 17749 17750 17751 17752 17753 17754 17755 17756 17757 17758 17759 17760 17761 17762 17763 17764 17765 17766 17767 17768 17769 17770 17771 17772 17773 17774 17775 17776 17777 17778 17779 17780 | |