Skip to content
TypeScript
521 B
Raw Blame
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"],
  }),
);