update_template
¶
update_template(
aws_account_id: AwsAccountId,
template_id: ShortRestrictiveResourceId,
*,
config_overrides: Optional[QuickSightClientConfig] = None,
source_entity: Optional[TemplateSourceEntity] = None,
version_description: Optional[VersionDescription] = None,
name: Optional[TemplateName] = None,
definition: Optional[TemplateVersionDefinition] = None,
validation_strategy: Optional[ValidationStrategy] = None,
) -> UpdateTemplateResponse
Updates a template from an existing Amazon Quick Sight analysis or another template.
Parameters:
-
aws_account_id(AwsAccountId) –The ID of the Amazon Web Services account that contains the template that you're updating.
-
template_id(ShortRestrictiveResourceId) –The ID for the template.
-
source_entity(Optional[TemplateSourceEntity], default:None) –The entity that you are using as a source when you update the template. In
SourceEntity, you specify the type of object you're using as source:SourceTemplatefor a template orSourceAnalysisfor an analysis. Both of these require an Amazon Resource Name (ARN). ForSourceTemplate, specify the ARN of the source template. ForSourceAnalysis, specify the ARN of the source analysis. TheSourceTemplateARN can contain any Amazon Web Services account and any Quick Sight-supported Amazon Web Services Region;.Use the
DataSetReferencesentity withinSourceTemplateorSourceAnalysisto 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. -
version_description(Optional[VersionDescription], default:None) –A description of the current template version that is being updated. Every time you call
UpdateTemplate, you create a new version of the template. Each version of the template maintains a description of the version in theVersionDescriptionfield. -
name(Optional[TemplateName], default:None) –The name for the template.
-
definition(Optional[TemplateVersionDefinition], default:None) –The definition of a template.
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 template 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.
-
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
20739 20740 20741 20742 20743 20744 20745 20746 20747 20748 20749 20750 20751 20752 20753 20754 20755 20756 20757 20758 20759 20760 20761 20762 20763 20764 20765 20766 20767 20768 20769 20770 20771 20772 20773 20774 20775 20776 20777 20778 20779 20780 20781 20782 20783 20784 20785 20786 20787 20788 20789 20790 20791 20792 20793 20794 20795 20796 20797 20798 20799 20800 20801 20802 20803 20804 20805 20806 20807 20808 20809 20810 20811 20812 20813 20814 20815 20816 20817 20818 20819 20820 20821 20822 20823 20824 20825 20826 20827 20828 20829 20830 | |