create_template_alias
async
¶
create_template_alias(
aws_account_id: AwsAccountId,
template_id: ShortRestrictiveResourceId,
alias_name: AliasName,
template_version_number: VersionNumber,
*,
config_overrides: Optional[AsyncQuickSightClientConfig] = None,
) -> CreateTemplateAliasResponse
Creates a template alias for a template.
Parameters:
-
aws_account_id(AwsAccountId) –The ID of the Amazon Web Services account that contains the template that you creating an alias for.
-
template_id(ShortRestrictiveResourceId) –An ID for the template.
-
alias_name(AliasName) –The name that you want to give to the template alias that you're creating. Don't start the alias name with the
$character. Alias names that start with$are reserved by Quick Sight. -
template_version_number(VersionNumber) –The version number of the template.
Raises:
-
ConflictException–Updating or deleting a resource can cause an inconsistent state.
-
InternalFailureException–An internal failure occurred.
-
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.