EndUserMessagingSocial / Client / publish_whatsapp_flow
publish_whatsapp_flow¶
- EndUserMessagingSocial.Client.publish_whatsapp_flow(**kwargs)¶
Publishes a WhatsApp Flow, making it available for use in template messages. The Flow must be in DRAFT status with valid Flow JSON that passes Meta’s validation. This is an irreversible operation.
See also: AWS API Documentation
Request Syntax
response = client.publish_whatsapp_flow( id='string', flowId='string' )
- Parameters:
id (string) –
[REQUIRED]
The ID of the WhatsApp Business Account associated with this Flow.
flowId (string) –
[REQUIRED]
The unique identifier of the Flow to publish.
- Return type:
dict
- Returns:
Response Syntax
{}Response Structure
(dict) –
Exceptions
EndUserMessagingSocial.Client.exceptions.ValidationExceptionEndUserMessagingSocial.Client.exceptions.AccessDeniedExceptionEndUserMessagingSocial.Client.exceptions.ResourceNotFoundExceptionEndUserMessagingSocial.Client.exceptions.InvalidParametersExceptionEndUserMessagingSocial.Client.exceptions.AccessDeniedByMetaExceptionEndUserMessagingSocial.Client.exceptions.ThrottledRequestExceptionEndUserMessagingSocial.Client.exceptions.InternalServiceExceptionEndUserMessagingSocial.Client.exceptions.DependencyException