update_analysis
async
¶
update_analysis(
aws_account_id: AwsAccountId,
analysis_id: ShortRestrictiveResourceId,
name: AnalysisName,
*,
config_overrides: Optional[AsyncQuickSightClientConfig] = 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/async_quick_sight.py
19697 19698 19699 19700 19701 19702 19703 19704 19705 19706 19707 19708 19709 19710 19711 19712 19713 19714 19715 19716 19717 19718 19719 19720 19721 19722 19723 19724 19725 19726 19727 19728 19729 19730 19731 19732 19733 19734 19735 19736 19737 19738 19739 19740 19741 19742 19743 19744 19745 19746 19747 19748 19749 19750 19751 19752 19753 19754 19755 19756 19757 19758 19759 19760 19761 19762 19763 19764 19765 19766 19767 19768 19769 19770 19771 19772 19773 19774 19775 19776 19777 19778 19779 19780 19781 19782 19783 19784 19785 19786 19787 19788 19789 | |