| 1 | import * as sfn from "@distilled.cloud/aws/sfn"; |
| 2 | import * as Layer from "effect/Layer"; |
| 3 | import { makeExecutionScopedHttpBinding } from "./BindingHttp.ts"; |
| 4 | import { StopExecution } from "./StopExecution.ts"; |
| 5 | |
| 6 | export const StopExecutionHttp = Layer.effect( |
| 7 | StopExecution, |
| 8 | makeExecutionScopedHttpBinding({ |
| 9 | tag: "AWS.StepFunctions.StopExecution", |
| 10 | operation: sfn.stopExecution, |
| 11 | actions: ["states:StopExecution"], |
| 12 | }), |
| 13 | ); |