Skip to content

StartWorkflowRun

Source: src/AWS/MWAAServerless/StartWorkflowRun.ts

Runtime binding for airflow-serverless:StartWorkflowRun.

Starts an on-demand run of the bound Workflow — the serverless equivalent of triggering a DAG. The workflow ARN is injected from the binding; the caller can override workflow parameters or pin a specific workflow version. Provide the implementation with Effect.provide(AWS.MWAAServerless.StartWorkflowRunHttp).

// init — bind the operation to the workflow
const startWorkflowRun = yield* AWS.MWAAServerless.StartWorkflowRun(workflow);
// runtime
const run = yield* startWorkflowRun({
OverrideParameters: { date: "2026-07-15" },
});
yield* Effect.log(`started run ${run.RunId} (${run.Status})`);