Skip to content
Source
Sign inSign up
pingdotgg/t3code
Open History to see the last commit

TestStateHttp.ts

13 lines395 Bytes

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