1import * as sns from "@distilled.cloud/aws/sns";
2import * as Layer from "effect/Layer";
3import { makeSnsAccountHttpBinding } from "./BindingHttp.ts";
4import { SetSMSAttributes } from "./SetSMSAttributes.ts";
5
6export const SetSMSAttributesHttp = Layer.effect(
7 SetSMSAttributes,
8 makeSnsAccountHttpBinding({
9 tag: "AWS.SNS.SetSMSAttributes",
10 operation: sns.setSMSAttributes,
11 // Spend-limit updates fan out to AWS End User Messaging.
12 actions: [
13 "sns:SetSMSAttributes",
14 "sms-voice:DescribeSpendLimits",
15 "sms-voice:SetTextMessageSpendLimitOverride",
16 ],
17 }),
18);