Skip to content
TypeScript
454 B
Raw Blame
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"],
  }),
);