GetWorkflowRun
Source:
src/AWS/MWAAServerless/GetWorkflowRun.ts
Runtime binding for airflow-serverless:GetWorkflowRun.
Reads the detail of a single run of the bound Workflow — its
status, timings, error message, and task-instance ids. Provide the
implementation with Effect.provide(AWS.MWAAServerless.GetWorkflowRunHttp).
Observing Runs
Section titled “Observing Runs”// init — bind the operation to the workflowconst getWorkflowRun = yield* AWS.MWAAServerless.GetWorkflowRun(workflow);
// runtimeconst run = yield* getWorkflowRun({ RunId: runId });yield* Effect.log(`run ${run.RunId}: ${run.RunDetail?.RunState}`);