The best way to control Claude Code, Codex and more from any computer or phone

main
ts 13 lines 534 Bytes
Raw
1 import * as socialmessaging from "@distilled.cloud/aws/socialmessaging";
2 import * as Layer from "effect/Layer";
3 import { makeWabaScopedHttpBinding } from "./BindingHttp.ts";
4 import { GetWhatsAppFlowPreview } from "./GetWhatsAppFlowPreview.ts";
5
6 export const GetWhatsAppFlowPreviewHttp = Layer.effect(
7 GetWhatsAppFlowPreview,
8 makeWabaScopedHttpBinding({
9 tag: "AWS.SocialMessaging.GetWhatsAppFlowPreview",
10 operation: socialmessaging.getWhatsAppFlowPreview,
11 actions: ["social-messaging:GetWhatsAppFlowPreview"],
12 }),
13 );