GetWhatsAppFlow
Source:
src/AWS/SocialMessaging/GetWhatsAppFlow.ts
Runtime binding for social-messaging:GetWhatsAppFlow.
Retrieves a WhatsApp Flow’s details — status, categories, validation errors, health status — from the bound account.
The deploy-time half grants social-messaging:GetWhatsAppFlow on the
bound WABA’s ARN and the runtime half injects the linked account id
into every request.
Provide the implementation with
Effect.provide(AWS.SocialMessaging.GetWhatsAppFlowHttp).
Managing WhatsApp Flows
Section titled “Managing WhatsApp Flows”// init — bind the operation to the linked WABAconst getFlow = yield* AWS.SocialMessaging.GetWhatsAppFlow(account);
// runtimeconst flow = yield* getFlow({ flowId: "1234567890" });const publishable = flow.validationErrors?.length === 0;