Skip to content

UpdateWhatsAppFlow

Source: src/AWS/SocialMessaging/UpdateWhatsAppFlow.ts

Runtime binding for social-messaging:UpdateWhatsAppFlow.

Updates a WhatsApp Flow’s name and categories on the bound account.

The deploy-time half grants social-messaging:UpdateWhatsAppFlow 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.UpdateWhatsAppFlowHttp).

// init — bind the operation to the linked WABA
const updateFlow = yield* AWS.SocialMessaging.UpdateWhatsAppFlow(account);
// runtime
yield* updateFlow({
flowId: "1234567890",
flowName: "appointment-booking-v2",
});