Skip to content

ListWhatsAppFlows

Source: src/AWS/SocialMessaging/ListWhatsAppFlows.ts

Runtime binding for social-messaging:ListWhatsAppFlows.

Lists the WhatsApp Flows of the bound account with their status and validation errors.

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

// init — bind the operation to the linked WABA
const listFlows = yield* AWS.SocialMessaging.ListWhatsAppFlows(account);
// runtime
const { flows } = yield* listFlows({ maxResults: 25 });