workflow_runs
Creates, updates, deletes, gets or lists a workflow_runs resource.
Overview
| Name | workflow_runs |
| Type | Resource |
| Id | aws.mwaa_serverless.workflow_runs |
Fields
The following fields are returned by SELECT queries:
- get_workflow_run
- list_workflow_runs
| Name | Datatype | Description |
|---|---|---|
override_parameters | object | Parameters that were overridden for this specific workflow run. |
run_detail | object | Detailed information about the workflow run execution, including timing, status, and task instances. |
run_id | string | The unique identifier of this workflow run. (pattern: <code>[a-zA-Z0-9]+[a-zA-Z0-9.-_]*</code>) |
run_type | string | The type of workflow run. Values are ON_DEMAND (manually triggered) or SCHEDULED (automatically triggered by schedule). (ON_DEMAND, SCHEDULED) |
workflow_arn | string | The Amazon Resource Name (ARN) of the workflow that contains this run. (pattern: <code>arn:aws(?:-(?:cn|us-gov|iso|iso-b|iso-e|iso-f))?:airflow-serverless:([a-z]{2}-[a-z]+-[0-9]{1}):([0-9]{12}):workflow/([a-zA-Z0-9][a-zA-Z0-9.-_]{0,254}-[a-zA-Z0-9]{10})</code>) |
workflow_version | string | The version of the workflow that is used for this run. (pattern: <code>.+</code>) |
| Name | Datatype | Description |
|---|---|---|
run_detail_summary | object | Summary details about the workflow run execution. |
run_id | string | The unique identifier of the workflow run. (pattern: <code>[a-zA-Z0-9]+[a-zA-Z0-9.-_]*</code>) |
run_type | string | The type of workflow run. (ON_DEMAND, SCHEDULED) |
workflow_arn | string | The Amazon Resource Name (ARN) of the workflow that contains this run. (pattern: <code>arn:aws(?:-(?:cn|us-gov|iso|iso-b|iso-e|iso-f))?:airflow-serverless:([a-z]{2}-[a-z]+-[0-9]{1}):([0-9]{12}):workflow/([a-zA-Z0-9][a-zA-Z0-9.-_]{0,254}-[a-zA-Z0-9]{10})</code>) |
workflow_version | string | The version of the workflow used for this run. (pattern: <code>.+</code>) |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get_workflow_run | select | region | Retrieves detailed information about a specific workflow run, including its status, execution details, and task instances. | |
list_workflow_runs | select | region | Lists all runs for a specified workflow, with optional pagination and filtering support. |
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_workflow_run
- list_workflow_runs
Retrieves detailed information about a specific workflow run, including its status, execution details, and task instances.
SELECT
override_parameters,
run_detail,
run_id,
run_type,
workflow_arn,
workflow_version
FROM aws.mwaa_serverless.workflow_runs
WHERE region = '{{ region }}' -- required
;
Lists all runs for a specified workflow, with optional pagination and filtering support.
SELECT
run_detail_summary,
run_id,
run_type,
workflow_arn,
workflow_version
FROM aws.mwaa_serverless.workflow_runs
WHERE region = '{{ region }}' -- required
;