EndUserMessagingSocial / Client / create_whatsapp_message_template
create_whatsapp_message_template¶
- EndUserMessagingSocial.Client.create_whatsapp_message_template(**kwargs)¶
Creates a new WhatsApp message template from a custom definition.
See also: AWS API Documentation
Request Syntax
response = client.create_whatsapp_message_template( templateDefinition=b'bytes', id='string' )
- Parameters:
templateDefinition (bytes) –
[REQUIRED]
The complete template definition as a JSON blob.
id (string) –
[REQUIRED]
The ID of the WhatsApp Business Account to associate with this template.
- Return type:
dict
- Returns:
Response Syntax
{ 'metaTemplateId': 'string', 'templateStatus': 'string', 'category': 'string' }
Response Structure
(dict) –
metaTemplateId (string) –
The numeric ID assigned to the template by Meta.
templateStatus (string) –
The status of the created template, such as PENDING or APPROVED..
category (string) –
The category of the template, such as UTILITY or MARKETING.
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