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