Skip to main content

template_definitions

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

Overview

Nametemplate_definitions
TypeResource
Idaws.quicksight.template_definitions

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
definitionobjectThe detailed definition of a template.
errorsarrayErrors associated with the template version.
namestringThe descriptive name of the template.
request_idstringThe Amazon Web Services request ID for this operation.
resource_statusstringStatus associated with the template. CREATION_IN_PROGRESS CREATION_SUCCESSFUL CREATION_FAILED UPDATE_IN_PROGRESS UPDATE_SUCCESSFUL UPDATE_FAILED DELETED (CREATION_IN_PROGRESS, CREATION_SUCCESSFUL, CREATION_FAILED, UPDATE_IN_PROGRESS, UPDATE_SUCCESSFUL, UPDATE_FAILED, DELETED)
statusintegerThe HTTP status of the request.
template_idstringThe ID of the template described. (pattern: <code>[\w-]+</code>)
theme_arnstringThe ARN of the theme of the template.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
describe_template_definitionselectaws_account_id, template_id, regionversion-number, alias-nameProvides a detailed description of the definition of a template. If you do not need to know details about the content of a template, for instance if you are trying to check the status of a recently created or updated template, use the DescribeTemplate instead.

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 template. You must be using the Amazon Web Services account that the template is in.
regionstringAWS region (default: us-east-1)
template_idstringThe ID of the template that you're describing.
alias-namestringThe alias of the template that you want to describe. If you name a specific alias, you describe 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.
version-numberinteger (int64)The version number of the template.

SELECT examples

Provides a detailed description of the definition of a template. If you do not need to know details about the content of a template, for instance if you are trying to check the status of a recently created or updated template, use the DescribeTemplate instead.

SELECT
definition,
errors,
name,
request_id,
resource_status,
status,
template_id,
theme_arn
FROM aws.quicksight.template_definitions
WHERE aws_account_id = '{{ aws_account_id }}' -- required
AND template_id = '{{ template_id }}' -- required
AND region = '{{ region }}' -- required
AND `version-number` = '{{ version-number }}'
AND `alias-name` = '{{ alias-name }}'
;