Skip to main content

template_versions

Creates, updates, deletes, gets or lists a template_versions resource.

Overview

Nametemplate_versions
TypeResource
Idaws.quicksight.template_versions

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
arnstringThe Amazon Resource Name (ARN) of the template version.
created_timestring (date-time)The time that this template version was created.
descriptionstringThe description of the template version.
statusstringThe status of the template version. (CREATION_IN_PROGRESS, CREATION_SUCCESSFUL, CREATION_FAILED, UPDATE_IN_PROGRESS, UPDATE_SUCCESSFUL, UPDATE_FAILED, DELETED)
version_numberinteger (int64)The version number of the template version.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
list_template_versionsselectaws_account_id, template_id, regionnext-token, max-resultsLists all the versions of the templates in the current Amazon Quick Sight account.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
aws_account_idstringThe ID of the Amazon Web Services account that contains the templates that you're listing.
regionstringAWS region (default: us-east-1)
template_idstringThe ID for the template.
max-resultsintegerThe maximum number of results to be returned per request.
next-tokenstringThe token for the next set of results, or null if there are no more results.

SELECT examples

Lists all the versions of the templates in the current Amazon Quick Sight account.

SELECT
arn,
created_time,
description,
status,
version_number
FROM aws.quicksight.template_versions
WHERE aws_account_id = '{{ aws_account_id }}' -- required
AND template_id = '{{ template_id }}' -- required
AND region = '{{ region }}' -- required
AND `next-token` = '{{ next-token }}'
AND `max-results` = '{{ max-results }}'
;