Skip to main content

pipeline_executions

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

Overview

Namepipeline_executions
TypeResource
Idaws.iotsitewise.pipeline_executions

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
compute_node_namestringReusable resource name with alphanumeric, hyphen, and underscore characters. (pattern: <code>[a-zA-Z0-9_-]+</code>)
depends_onarrayA list of compute node names that this node depends on.
end_timestring (date-time)The time the compute node execution completed, in Unix epoch time.
execution_environment_variablesobjectThe fully resolved environment variables used for this compute node execution.
start_timestring (date-time)The time the compute node execution started, in Unix epoch time.
statusobjectThe current execution status of the compute node.
task_arnstringThe ARN of the task. (pattern: <code>^arn:aws(-cn|-us-gov)?:[a-zA-Z0-9-:/_.]+$</code>)
task_namestringReusable resource name with alphanumeric, hyphen, and underscore characters. (pattern: <code>[a-zA-Z0-9_-]+</code>)
task_versionstringThe task version that executed for this compute node. (pattern: <code>^(0|([1-9]{1}\d*))$</code>)

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
describe_pipeline_executionselectworkspace_name, pipeline_name, pipeline_execution_id, regionnextToken, maxResultsRetrieves detailed information about a specific pipeline execution, including the overall execution status and the status of each individual compute node. Use this operation to monitor execution progress and inspect per-node results, environment variables, and error details.
list_pipeline_executionsselectworkspace_name, pipeline_name, regionnextToken, maxResults, state, startTimeAfter, startTimeBefore, endTimeAfter, endTimeBeforeLists pipeline executions for a specific pipeline in a workspace. Supports filtering by state and time range. State can be combined with either startTime or endTime filters. Time range filters are grouped: use startTime filters (startTimeAfter, startTimeBefore) or endTime filters (endTimeAfter, endTimeBefore), but not both. Combining startTime and endTime filters returns an InvalidRequestException. Note: endTime filters only return executions in terminal states, as in-progress executions have no endTime.

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
pipeline_execution_idstringThe unique identifier of the pipeline execution.
pipeline_namestringThe name of the pipeline.
regionstringAWS region (default: us-east-1)
workspace_namestringThe name of the workspace.
endTimeAfterstring (date-time)Inclusive lower bound on execution end time (ISO-8601). Only executions with endTime >= endTimeAfter are returned. Cannot be combined with startTimeAfter or startTimeBefore. Only matches executions in terminal states.
endTimeBeforestring (date-time)Exclusive upper bound on execution end time (ISO-8601). Only executions with endTime < endTimeBefore are returned. Cannot be combined with startTimeAfter or startTimeBefore. Only matches executions in terminal states.
maxResultsintegerThe maximum number of results to return per request. This is an upper bound; the actual number of results may be less. Default: 50.
nextTokenstringThe token to be used for the next set of paginated results.
startTimeAfterstring (date-time)Inclusive lower bound on execution start time (ISO-8601). Only executions with startTime >= startTimeAfter are returned. Cannot be combined with endTimeAfter or endTimeBefore.
startTimeBeforestring (date-time)Exclusive upper bound on execution start time (ISO-8601). Only executions with startTime < startTimeBefore are returned. Cannot be combined with endTimeAfter or endTimeBefore.
statestringFilter by execution state. If not specified, executions in all states are returned.

SELECT examples

Retrieves detailed information about a specific pipeline execution, including the overall execution status and the status of each individual compute node. Use this operation to monitor execution progress and inspect per-node results, environment variables, and error details.

SELECT
compute_node_name,
depends_on,
end_time,
execution_environment_variables,
start_time,
status,
task_arn,
task_name,
task_version
FROM aws.iotsitewise.pipeline_executions
WHERE workspace_name = '{{ workspace_name }}' -- required
AND pipeline_name = '{{ pipeline_name }}' -- required
AND pipeline_execution_id = '{{ pipeline_execution_id }}' -- required
AND region = '{{ region }}' -- required
AND nextToken = '{{ nextToken }}'
AND maxResults = '{{ maxResults }}'
;