The best way to control Claude Code, Codex and more from any computer or phone

main
ts 13 lines 521 Bytes
Raw
1 import * as notifications from "@distilled.cloud/aws/notifications";
2 import * as Layer from "effect/Layer";
3 import { makeNotificationsHttpBinding } from "./BindingHttp.ts";
4 import { ListNotificationEvents } from "./ListNotificationEvents.ts";
5
6 export const ListNotificationEventsHttp = Layer.effect(
7 ListNotificationEvents,
8 makeNotificationsHttpBinding({
9 capability: "ListNotificationEvents",
10 iamActions: ["notifications:ListNotificationEvents"],
11 operation: notifications.listNotificationEvents,
12 }),
13 );