template_versions
Creates, updates, deletes, gets or lists a template_versions resource.
Overview
| Name | template_versions |
| Type | Resource |
| Id | aws.quicksight.template_versions |
Fields
The following fields are returned by SELECT queries:
- list_template_versions
| Name | Datatype | Description |
|---|---|---|
arn | string | The Amazon Resource Name (ARN) of the template version. |
created_time | string (date-time) | The time that this template version was created. |
description | string | The description of the template version. |
status | string | The status of the template version. (CREATION_IN_PROGRESS, CREATION_SUCCESSFUL, CREATION_FAILED, UPDATE_IN_PROGRESS, UPDATE_SUCCESSFUL, UPDATE_FAILED, DELETED) |
version_number | integer (int64) | The version number of the template version. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
list_template_versions | select | aws_account_id, template_id, region | next-token, max-results | Lists 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.
| Name | Datatype | Description |
|---|---|---|
aws_account_id | string | The ID of the Amazon Web Services account that contains the templates that you're listing. |
region | string | AWS region (default: us-east-1) |
template_id | string | The ID for the template. |
max-results | integer | The maximum number of results to be returned per request. |
next-token | string | The token for the next set of results, or null if there are no more results. |
SELECT examples
- list_template_versions
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 }}'
;