EndUserMessagingSocial / Client / update_whatsapp_message_template

update_whatsapp_message_template

EndUserMessagingSocial.Client.update_whatsapp_message_template(**kwargs)

Updates an existing WhatsApp message template.

See also: AWS API Documentation

Request Syntax

response = client.update_whatsapp_message_template(
    id='string',
    metaTemplateId='string',
    templateCategory='string',
    templateComponents=b'bytes'
)
Parameters:
  • id (string) –

    [REQUIRED]

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

  • metaTemplateId (string) –

    [REQUIRED]

    The numeric ID of the template assigned by Meta.

  • templateCategory (string) – The new category for the template (for example, UTILITY or MARKETING).

  • templateComponents (bytes) – The updated components of the template as a JSON blob (maximum 3000 characters).

Return type:

dict

Returns:

Response Syntax

{}

Response Structure

  • (dict) –

Exceptions

  • EndUserMessagingSocial.Client.exceptions.ValidationException

  • EndUserMessagingSocial.Client.exceptions.AccessDeniedException

  • EndUserMessagingSocial.Client.exceptions.ResourceNotFoundException

  • EndUserMessagingSocial.Client.exceptions.InvalidParametersException

  • EndUserMessagingSocial.Client.exceptions.ThrottledRequestException

  • EndUserMessagingSocial.Client.exceptions.InternalServiceException

  • EndUserMessagingSocial.Client.exceptions.DependencyException