update_template
async
¶
update_template(
aws_account_id: AwsAccountId,
template_id: ShortRestrictiveResourceId,
*,
config_overrides: Optional[AsyncQuickSightClientConfig] = 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/async_quick_sight.py
23076 23077 23078 23079 23080 23081 23082 23083 23084 23085 23086 23087 23088 23089 23090 23091 23092 23093 23094 23095 23096 23097 23098 23099 23100 23101 23102 23103 23104 23105 23106 23107 23108 23109 23110 23111 23112 23113 23114 23115 23116 23117 23118 23119 23120 23121 23122 23123 23124 23125 23126 23127 23128 23129 23130 23131 23132 23133 23134 23135 23136 23137 23138 23139 23140 23141 23142 23143 23144 23145 23146 23147 23148 23149 23150 23151 23152 23153 23154 23155 23156 23157 23158 23159 23160 23161 23162 23163 23164 23165 23166 23167 23168 | |