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

import * as notifications from "@distilled.cloud/aws/notifications";
import * as Layer from "effect/Layer";
import { makeNotificationsHttpBinding } from "./BindingHttp.ts";
import { ListManagedNotificationEvents } from "./ListManagedNotificationEvents.ts";

export const ListManagedNotificationEventsHttp = Layer.effect(
  ListManagedNotificationEvents,
  makeNotificationsHttpBinding({
    capability: "ListManagedNotificationEvents",
    iamActions: ["notifications:ListManagedNotificationEvents"],
    operation: notifications.listManagedNotificationEvents,
  }),
);