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

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

export const ListChannelsHttp = Layer.effect(
  ListChannels,
  makeNotificationConfigurationHttpBinding({
    capability: "ListChannels",
    iamActions: ["notifications:ListChannels"],
    operation: notifications.listChannels,
  }),
);