Skip to main content

system_template_revisions

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

Overview

Namesystem_template_revisions
TypeResource
Idaws.iotthingsgraph.system_template_revisions

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
idstringThe ID of the system. (pattern: <code>^urn:tdm:(([a-z]{2}-(gov-)?[a-z]{4,9}-[0-9]{1,3}/[0-9]+/)[\p{Alnum}]+(/[\p{Alnum}]+)):([\p{Alpha}]):([\p{Alnum}]+(/[\p{Alnum}]+))$</code>)
arnstringThe ARN of the system.
created_atstring (date-time)The date when the system was created.
revision_numberinteger (int64)The revision number of the system.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_system_template_revisionsselectregionGets revisions made to the specified system template. Only the previous 100 revisions are stored. If the system has been deprecated, this action will return the revisions that occurred before its deprecation. This action won't work with systems that have been deleted.

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
regionstringAWS region (default: us-east-1)

SELECT examples

Gets revisions made to the specified system template. Only the previous 100 revisions are stored. If the system has been deprecated, this action will return the revisions that occurred before its deprecation. This action won't work with systems that have been deleted.

SELECT
id,
arn,
created_at,
revision_number
FROM aws.iotthingsgraph.system_template_revisions
WHERE region = '{{ region }}' -- required
;