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

main
ts 14 lines 399 Bytes
Raw
1 import * as sns from "@distilled.cloud/aws/sns";
2 import * as Layer from "effect/Layer";
3 import { makeSnsTopicHttpBinding } from "./BindingHttp.ts";
4 import { Subscribe } from "./Subscribe.ts";
5
6 export const SubscribeHttp = Layer.effect(
7 Subscribe,
8 makeSnsTopicHttpBinding({
9 tag: "AWS.SNS.Subscribe",
10 operation: sns.subscribe,
11 actions: ["sns:Subscribe"],
12 key: "TopicArn",
13 }),
14 );