PublishWhatsAppFlow
Source:
src/AWS/SocialMessaging/PublishWhatsAppFlow.ts
Runtime binding for social-messaging:PublishWhatsAppFlow.
Publishes a DRAFT WhatsApp Flow on the bound account so it can be sent to users. Published flows can no longer be edited, only deprecated.
The deploy-time half grants social-messaging:PublishWhatsAppFlow 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.PublishWhatsAppFlowHttp).
Managing WhatsApp Flows
Section titled “Managing WhatsApp Flows”// init — bind the operation to the linked WABAconst publishFlow = yield* AWS.SocialMessaging.PublishWhatsAppFlow(account);
// runtimeyield* publishFlow({ flowId: "1234567890" });