Skip to main content

workflow_runs

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

Overview

Nameworkflow_runs
TypeResource
Idaws.glue.workflow_runs

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
completed_onstring (date-time)The date and time when the workflow run completed.
error_messagestringThis error message describes any error that may have occurred in starting the workflow run. Currently the only error message is "Concurrent runs exceeded for workflow: foo."
graphobjectThe graph representing all the Glue components that belong to the workflow as nodes and directed connections between them as edges.
namestringName of the workflow that was run. (pattern: <code>[\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\t]*</code>)
previous_run_idstringThe ID of the previous workflow run. (pattern: <code>[\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\t]*</code>)
started_onstring (date-time)The date and time when the workflow run was started.
starting_event_batch_conditionobjectThe batch condition that started the workflow run.
statisticsobjectThe statistics of the run.
statusstringThe status of the workflow run. (RUNNING, COMPLETED, STOPPING, STOPPED, ERROR)
workflow_run_idstringThe ID of this workflow run. (pattern: <code>[\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\t]*</code>)
workflow_run_propertiesobjectThe workflow run properties which were set during the run.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_workflow_runselectregionRetrieves the metadata for a given workflow run. Job run history is accessible for 90 days for your workflow and job run.
get_workflow_runsselectregionRetrieves metadata for all runs of a given workflow.

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

Retrieves the metadata for a given workflow run. Job run history is accessible for 90 days for your workflow and job run.

SELECT
completed_on,
error_message,
graph,
name,
previous_run_id,
started_on,
starting_event_batch_condition,
statistics,
status,
workflow_run_id,
workflow_run_properties
FROM aws.glue.workflow_runs
WHERE region = '{{ region }}' -- required
;