EndUserMessagingSocial / Client / update_whatsapp_flow
update_whatsapp_flow¶
- EndUserMessagingSocial.Client.update_whatsapp_flow(**kwargs)¶
Updates the metadata of a WhatsApp Flow, such as its name or categories. This does not update the Flow JSON definition. Use UpdateWhatsAppFlowAssets to update the Flow JSON.
See also: AWS API Documentation
Request Syntax
response = client.update_whatsapp_flow( id='string', flowId='string', flowName='string', categories=[ 'SIGN_UP'|'SIGN_IN'|'APPOINTMENT_BOOKING'|'LEAD_GENERATION'|'SHOPPING'|'CONTACT_US'|'CUSTOMER_SUPPORT'|'SURVEY'|'OTHER', ] )
- 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 update.
flowName (string) – The updated name for the Flow.
categories (list) –
The updated categories for the Flow.
(string) –
The category that classifies the business purpose of a WhatsApp Flow.
- 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