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