StopWorkflowRun
Source:
src/AWS/MWAAServerless/StopWorkflowRun.ts
Runtime binding for airflow-serverless:StopWorkflowRun.
Stops an in-flight run of the bound Workflow. Provide the
implementation with Effect.provide(AWS.MWAAServerless.StopWorkflowRunHttp).
Running Workflows
Section titled “Running Workflows”// init — bind the operation to the workflowconst stopWorkflowRun = yield* AWS.MWAAServerless.StopWorkflowRun(workflow);
// runtimeconst stopped = yield* stopWorkflowRun({ RunId: runId });yield* Effect.log(`run ${stopped.RunId} -> ${stopped.Status}`);