:doc:`EndUserMessagingSocial <../../socialmessaging>` / Client / update_whatsapp_message_template

********************************
update_whatsapp_message_template
********************************



.. py:method:: EndUserMessagingSocial.Client.update_whatsapp_message_template(**kwargs)

  

  Updates an existing WhatsApp message template.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/socialmessaging-2024-01-01/UpdateWhatsAppMessageTemplate>`_  


  **Request Syntax**
  ::

    response = client.update_whatsapp_message_template(
        id='string',
        metaTemplateId='string',
        parameterFormat='string',
        templateCategory='string',
        templateComponents=b'bytes',
        ctaUrlLinkTrackingOptedOut=True|False
    )
    
  :type id: string
  :param id: **[REQUIRED]** 

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

    

  
  :type metaTemplateId: string
  :param metaTemplateId: **[REQUIRED]** 

    The numeric ID of the template assigned by Meta.

    

  
  :type parameterFormat: string
  :param parameterFormat: 

    The format specification for parameters in the template, this can be either 'named' or 'positional'.

    

  
  :type templateCategory: string
  :param templateCategory: 

    The new category for the template (for example, UTILITY or MARKETING).

    

  
  :type templateComponents: bytes
  :param templateComponents: 

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

    

  
  :type ctaUrlLinkTrackingOptedOut: boolean
  :param ctaUrlLinkTrackingOptedOut: 

    When true, disables click tracking for call-to-action URL buttons in the template.

    

  
  
  :rtype: dict
  :returns: 
    
    **Response Syntax**

    
    ::

      {}
      
    **Response Structure**

    

    - *(dict) --* 
  
  **Exceptions**
  
  *   :py:class:`EndUserMessagingSocial.Client.exceptions.ValidationException`

  
  *   :py:class:`EndUserMessagingSocial.Client.exceptions.AccessDeniedException`

  
  *   :py:class:`EndUserMessagingSocial.Client.exceptions.ResourceNotFoundException`

  
  *   :py:class:`EndUserMessagingSocial.Client.exceptions.InvalidParametersException`

  
  *   :py:class:`EndUserMessagingSocial.Client.exceptions.ThrottledRequestException`

  
  *   :py:class:`EndUserMessagingSocial.Client.exceptions.InternalServiceException`

  
  *   :py:class:`EndUserMessagingSocial.Client.exceptions.DependencyException`

  