sailfork / t3code-github / .repos/ alchemy-effect/ packages/ aws/ src/ StepFunctions/ TestStateHttp.ts

import * as sfn from "@distilled.cloud/aws/sfn";
import * as Layer from "effect/Layer";
import { makeSfnServiceHttpBinding } from "./BindingHttp.ts";
import { TestState } from "./TestState.ts";

export const TestStateHttp = Layer.effect(
  TestState,
  makeSfnServiceHttpBinding({
    tag: "AWS.StepFunctions.TestState",
    actions: ["states:TestState"],
    operation: sfn.testState,
  }),
);