ListWorkflowRuns
Source:
src/AWS/MWAAServerless/ListWorkflowRuns.ts
Runtime binding for airflow-serverless:ListWorkflowRuns.
Lists runs of the bound Workflow, optionally filtered to a
specific workflow version. Provide the implementation with
Effect.provide(AWS.MWAAServerless.ListWorkflowRunsHttp).
Observing Runs
Section titled “Observing Runs”// init — bind the operation to the workflowconst listWorkflowRuns = yield* AWS.MWAAServerless.ListWorkflowRuns(workflow);
// runtimeconst { WorkflowRuns } = yield* listWorkflowRuns({ MaxResults: 10 });yield* Effect.log(`found ${WorkflowRuns?.length ?? 0} runs`);