sailfork / t3code-github / .repos/ alchemy-effect/ packages/ aws/ src/ FMS/ DeleteNotificationChannelHttp.ts

import * as fms from "@distilled.cloud/aws/fms";
import * as Layer from "effect/Layer";
import { makeFmsHttpBinding } from "./BindingHttp.ts";
import { DeleteNotificationChannel } from "./DeleteNotificationChannel.ts";

export const DeleteNotificationChannelHttp = Layer.effect(
  DeleteNotificationChannel,
  makeFmsHttpBinding({
    capability: "DeleteNotificationChannel",
    iamActions: ["fms:DeleteNotificationChannel"],
    operation: fms.deleteNotificationChannel,
  }),
);