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