v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-141341,3811.0 MB

Updates the template alias of a template.

put/accounts/{AwsAccountId}/templates/{TemplateId}/aliases/{AliasName}

Path parameters

AwsAccountIdstring required

The ID of the Amazon Web Services account that contains the template alias that you're updating.

TemplateIdstring required

The ID for the template.

AliasNamestring 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 <code>$LATEST</code> in the <code>AliasName</code> parameter. The keyword <code>$PUBLISHED</code> doesn't apply to templates.

Request body

TemplateVersionNumberinteger required

The version number of the template.

Response

Success

Statusinteger

The HTTP status of the request.

RequestIdstring

The Amazon Web Services request ID for this operation.