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

main
ts 13 lines 420 Bytes
Raw
1 import * as sns from "@distilled.cloud/aws/sns";
2 import * as Layer from "effect/Layer";
3 import { makeSnsEndpointHttpBinding } from "./BindingHttp.ts";
4 import { PublishToEndpoint } from "./PublishToEndpoint.ts";
5
6 export const PublishToEndpointHttp = Layer.effect(
7 PublishToEndpoint,
8 makeSnsEndpointHttpBinding({
9 tag: "AWS.SNS.PublishToEndpoint",
10 operation: sns.publish,
11 actions: ["sns:Publish"],
12 }),
13 );