system_template_revisions
Creates, updates, deletes, gets or lists a system_template_revisions resource.
Overview
| Name | system_template_revisions |
| Type | Resource |
| Id | aws.iotthingsgraph.system_template_revisions |
Fields
The following fields are returned by SELECT queries:
- get_system_template_revisions
| Name | Datatype | Description |
|---|---|---|
id | string | The 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>) |
arn | string | The ARN of the system. |
created_at | string (date-time) | The date when the system was created. |
revision_number | integer (int64) | The revision number of the system. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get_system_template_revisions | select | region | 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. |
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 |
|---|---|---|
region | string | AWS region (default: us-east-1) |
SELECT examples
- get_system_template_revisions
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
;