Skip to content
TypeScript
521 B
Raw Blame
import * as notifications from "@distilled.cloud/aws/notifications";
import * as Layer from "effect/Layer";
import { makeNotificationsHttpBinding } from "./BindingHttp.ts";
import { ListNotificationEvents } from "./ListNotificationEvents.ts";

export const ListNotificationEventsHttp = Layer.effect(
  ListNotificationEvents,
  makeNotificationsHttpBinding({
    capability: "ListNotificationEvents",
    iamActions: ["notifications:ListNotificationEvents"],
    operation: notifications.listNotificationEvents,
  }),
);