EndUserMessagingSocial / Client / update_whatsapp_flow_assets

update_whatsapp_flow_assets

EndUserMessagingSocial.Client.update_whatsapp_flow_assets(**kwargs)

Updates the Flow JSON definition (assets) of a WhatsApp Flow. Updating a published Flow’s assets reverts it to DRAFT status, requiring re-publishing.

See also: AWS API Documentation

Request Syntax

response = client.update_whatsapp_flow_assets(
    id='string',
    flowId='string',
    flowJson=b'bytes'
)
Parameters:
  • id (string) –

    [REQUIRED]

    The ID of the WhatsApp Business Account associated with this Flow.

  • flowId (string) –

    [REQUIRED]

    The unique identifier of the Flow whose assets to update.

  • flowJson (bytes) –

    [REQUIRED]

    The updated Flow JSON definition. Maximum size is 10 MB.

Return type:

dict

Returns:

Response Syntax

{
    'validationErrors': [
        'string',
    ]
}

Response Structure

  • (dict) –

    • validationErrors (list) –

      A list of validation errors returned by Meta, if any. Validation errors must be resolved before the Flow can be published.

      • (string) –

Exceptions