whats_app_template_libraries
Creates, updates, deletes, gets or lists a whats_app_template_libraries resource.
Overview
| Name | whats_app_template_libraries |
| Type | Resource |
| Id | aws.socialmessaging.whats_app_template_libraries |
Fields
The following fields are returned by SELECT queries:
- list_whats_app_template_library
| Name | Datatype | Description |
|---|---|---|
template_body | string | The body text of the template. |
template_body_example_params | array | Example parameter values for the template body, used to demonstrate how dynamic content appears in the template. |
template_buttons | array | The buttons included in the template. |
template_category | string | The category of the template (for example, UTILITY or MARKETING). |
template_header | string | The header text of the template. |
template_id | string | The ID of the template in Meta's library. (pattern: <code>[0-9]+</code>) |
template_industry | array | The industries the template is designed for. |
template_language | string | The language code for the template (for example, en_US). |
template_name | string | The name of the template. |
template_topic | string | The topic or subject matter of the template. |
template_use_case | string | The intended use case for the template. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
list_whats_app_template_library | select | id, region | Lists templates available in Meta's template library for WhatsApp messaging. |
Parameters
Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
| Name | Datatype | Description |
|---|---|---|
id | string | The ID of the WhatsApp Business Account to list library templates for. |
region | string | AWS region (default: us-east-1) |
SELECT examples
- list_whats_app_template_library
Lists templates available in Meta's template library for WhatsApp messaging.
SELECT
template_body,
template_body_example_params,
template_buttons,
template_category,
template_header,
template_id,
template_industry,
template_language,
template_name,
template_topic,
template_use_case
FROM aws.socialmessaging.whats_app_template_libraries
WHERE id = '{{ id }}' -- required
AND region = '{{ region }}' -- required
;