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