DeleteWhatsAppFlow
Source:
src/AWS/SocialMessaging/DeleteWhatsAppFlow.ts
Runtime binding for social-messaging:DeleteWhatsAppFlow.
Deletes a DRAFT WhatsApp Flow from the bound account. Published flows must be deprecated instead.
The deploy-time half grants social-messaging:DeleteWhatsAppFlow 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.DeleteWhatsAppFlowHttp).
Managing WhatsApp Flows
Section titled “Managing WhatsApp Flows”// init — bind the operation to the linked WABAconst deleteFlow = yield* AWS.SocialMessaging.DeleteWhatsAppFlow(account);
// runtimeyield* deleteFlow({ flowId: "1234567890" });