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', templateName='string', templateLanguageCode='string', parameterFormat='string', templateCategory='string', templateComponents=b'bytes', ctaUrlLinkTrackingOptedOut=True|False )
- Parameters:
id (string) –
[REQUIRED]
The ID of the WhatsApp Business Account associated with this template.
metaTemplateId (string) – The numeric ID of the template assigned by Meta.
templateName (string) – The name of the message template. Use together with
templateLanguageCodeas an alternative tometaTemplateIdto identify a template.templateLanguageCode (string) – The language code of the message template (for example,
enoren_US). Use together withtemplateNameas an alternative tometaTemplateIdto identify a template.parameterFormat (string) – The format specification for parameters in the template, this can be either ‘named’ or ‘positional’.
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).
ctaUrlLinkTrackingOptedOut (boolean) – When true, disables click tracking for call-to-action URL buttons in the template.
- 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.ThrottledRequestExceptionEndUserMessagingSocial.Client.exceptions.InternalServiceExceptionEndUserMessagingSocial.Client.exceptions.DependencyException