1import * as sns from "@distilled.cloud/aws/sns";
2import * as Layer from "effect/Layer";
3import { makeSnsAccountHttpBinding } from "./BindingHttp.ts";
4import { GetSMSAttributes } from "./GetSMSAttributes.ts";
5
6export 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);