QuickSight.Client.
update_template_alias
(**kwargs)¶Updates the template alias of a template.
See also: AWS API Documentation
Request Syntax
response = client.update_template_alias(
AwsAccountId='string',
TemplateId='string',
AliasName='string',
TemplateVersionNumber=123
)
[REQUIRED]
The ID of the Amazon Web Services account that contains the template alias that you're updating.
[REQUIRED]
The ID for the template.
[REQUIRED]
The alias of the template that you want to update. If you name a specific alias, you update the version that the alias points to. You can specify the latest version of the template by providing the keyword $LATEST
in the AliasName
parameter. The keyword $PUBLISHED
doesn't apply to templates.
[REQUIRED]
The version number of the template.
dict
Response Syntax
{
'TemplateAlias': {
'AliasName': 'string',
'Arn': 'string',
'TemplateVersionNumber': 123
},
'Status': 123,
'RequestId': 'string'
}
Response Structure
(dict) --
TemplateAlias (dict) --
The template alias.
AliasName (string) --
The display name of the template alias.
Arn (string) --
The Amazon Resource Name (ARN) of the template alias.
TemplateVersionNumber (integer) --
The version number of the template alias.
Status (integer) --
The HTTP status of the request.
RequestId (string) --
The Amazon Web Services request ID for this operation.
Exceptions
QuickSight.Client.exceptions.ThrottlingException
QuickSight.Client.exceptions.ResourceNotFoundException
QuickSight.Client.exceptions.ConflictException
QuickSight.Client.exceptions.UnsupportedUserEditionException
QuickSight.Client.exceptions.ConflictException
QuickSight.Client.exceptions.InternalFailureException