sailfork / t3code-github / .repos/ alchemy-effect/ packages/ aws/ src/ VpcLattice/ DeregisterTargetsHttp.ts

import * as vpclattice from "@distilled.cloud/aws/vpc-lattice";
import * as Layer from "effect/Layer";
import { makeVpcLatticeTargetGroupHttpBinding } from "./BindingHttp.ts";
import { DeregisterTargets } from "./DeregisterTargets.ts";

export const DeregisterTargetsHttp = Layer.effect(
  DeregisterTargets,
  makeVpcLatticeTargetGroupHttpBinding({
    tag: "AWS.VpcLattice.DeregisterTargets",
    operation: vpclattice.deregisterTargets,
    actions: ["vpc-lattice:DeregisterTargets"],
  }),
);