sailfork / t3code-github / .repos/ alchemy-effect/ packages/ aws/ src/ Notifications/ ListNotificationEventsHttp.ts

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,
  }),
);