sailfork / t3code-github / .repos/ alchemy-effect/ packages/ aws/ src/ AutoScaling/ SetInstanceProtectionHttp.ts

import * as autoscaling from "@distilled.cloud/aws/auto-scaling";
import * as Layer from "effect/Layer";
import { makeGroupHttpBinding } from "./BindingHttp.ts";
import { SetInstanceProtection } from "./SetInstanceProtection.ts";

export const SetInstanceProtectionHttp = Layer.effect(
  SetInstanceProtection,
  makeGroupHttpBinding({
    tag: "AWS.AutoScaling.SetInstanceProtection",
    operation: autoscaling.setInstanceProtection,
    actions: ["autoscaling:SetInstanceProtection"],
  }),
);