@devries-cameron20 / t3code Mirror · read-only
Fork 0

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

Mirrored from https://github.com/Camo67/t3code.git

Synced Nov 21, 04:45 UTC

main
ts 15 lines 610 Bytes
Raw
1 import * as sns from "@distilled.cloud/aws/sns";
2 import * as Layer from "effect/Layer";
3 import { makeSnsAccountHttpBinding } from "./BindingHttp.ts";
4 import { GetSMSAttributes } from "./GetSMSAttributes.ts";
5
6 export const GetSMSAttributesHttp = Layer.effect(
7 GetSMSAttributes,
8 makeSnsAccountHttpBinding({
9 tag: "AWS.SNS.GetSMSAttributes",
10 operation: sns.getSMSAttributes,
11 // SNS SMS preferences are backed by AWS End User Messaging — the read
12 // fans out to `sms-voice:DescribeSpendLimits` (probe-verified).
13 actions: ["sns:GetSMSAttributes", "sms-voice:DescribeSpendLimits"],
14 }),
15 );