Skip to main content

flow_template_revisions

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

Overview

Nameflow_template_revisions
TypeResource
Idaws.iotthingsgraph.flow_template_revisions

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
idstringThe ID of the workflow. (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 workflow.
created_atstring (date-time)The date when the workflow was created.
revision_numberinteger (int64)The revision number of the workflow.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_flow_template_revisionsselectregionGets revisions of the specified workflow. Only the last 100 revisions are stored. If the workflow has been deprecated, this action will return revisions that occurred before the deprecation. This action won't work for workflows 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 of the specified workflow. Only the last 100 revisions are stored. If the workflow has been deprecated, this action will return revisions that occurred before the deprecation. This action won't work for workflows that have been deleted.

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