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
21026 21027 21028 21029 21030 21031 21032 21033 21034 21035 21036 21037 21038 21039 21040 21041 21042 21043 21044 21045 21046 21047 21048 21049 21050 21051 21052 21053 21054 21055 21056 21057 21058 21059 21060 21061 21062 21063 21064 21065 21066 21067 21068 21069 21070 21071 21072 21073 21074 21075 21076 21077 21078 21079 21080 21081 21082 21083 21084 21085 21086 21087 21088 21089 21090 21091 21092 21093 21094 21095 21096 21097 21098 21099 21100 21101 21102 21103 21104 21105 21106 21107 21108 21109 21110 21111 21112 21113 21114 21115 21116 21117 21118 | |