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

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

export const RedriveExecutionHttp = Layer.effect(
  RedriveExecution,
  makeExecutionScopedHttpBinding({
    tag: "AWS.StepFunctions.RedriveExecution",
    operation: sfn.redriveExecution,
    actions: ["states:RedriveExecution"],
  }),
);