Skip to content

Open-source Grok Bot alternative for named AI teammates. Local-first desktop, web, and mobile clients with per-bot tools, instructions, and memory. Independent fork of T3 Code.

597 B
Raw Blame
import * as sns from "@distilled.cloud/aws/sns";
import * as Layer from "effect/Layer";
import { makeSnsAccountHttpBinding } from "./BindingHttp.ts";
import { SetSMSAttributes } from "./SetSMSAttributes.ts";

export const SetSMSAttributesHttp = Layer.effect(
  SetSMSAttributes,
  makeSnsAccountHttpBinding({
    tag: "AWS.SNS.SetSMSAttributes",
    operation: sns.setSMSAttributes,
    // Spend-limit updates fan out to AWS End User Messaging.
    actions: [
      "sns:SetSMSAttributes",
      "sms-voice:DescribeSpendLimits",
      "sms-voice:SetTextMessageSpendLimitOverride",
    ],
  }),
);