sailfork / t3code-github / .repos/ alchemy-effect/ packages/ aws/ src/ SocialMessaging/ SendWhatsAppMessageHttp.ts

import * as socialmessaging from "@distilled.cloud/aws/socialmessaging";
import * as Layer from "effect/Layer";
import { makeWabaPhonePlaneHttpBinding } from "./BindingHttp.ts";
import { SendWhatsAppMessage } from "./SendWhatsAppMessage.ts";

export const SendWhatsAppMessageHttp = Layer.effect(
  SendWhatsAppMessage,
  makeWabaPhonePlaneHttpBinding({
    tag: "AWS.SocialMessaging.SendWhatsAppMessage",
    operation: socialmessaging.sendWhatsAppMessage,
    actions: ["social-messaging:SendWhatsAppMessage"],
  }),
);