linked_whats_app_business_account_phone_numbers
Creates, updates, deletes, gets or lists a linked_whats_app_business_account_phone_numbers resource.
Overview
| Name | linked_whats_app_business_account_phone_numbers |
| Type | Resource |
| Id | aws.socialmessaging.linked_whats_app_business_account_phone_numbers |
Fields
The following fields are returned by SELECT queries:
- get_linked_whats_app_business_account_phone_number
| Name | Datatype | Description |
|---|---|---|
linked_whats_app_business_account_id | string | The WABA identifier linked to the phone number, formatted as waba-01234567890123456789012345678901. (pattern: <code>.(^waba-.$)|(^arn:.:waba/[0-9a-zA-Z]+$).</code>) |
phone_number | object | The details of your WhatsApp phone number. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get_linked_whats_app_business_account_phone_number | select | id, region | Retrieve the WABA account id and phone number details of a WhatsApp business account phone number. |
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 unique identifier of the phone number. Phone number identifiers are formatted as phone-number-id-01234567890123456789012345678901. Use GetLinkedWhatsAppBusinessAccount to find a phone number's id. |
region | string | AWS region (default: us-east-1) |
SELECT examples
- get_linked_whats_app_business_account_phone_number
Retrieve the WABA account id and phone number details of a WhatsApp business account phone number.
SELECT
linked_whats_app_business_account_id,
phone_number
FROM aws.socialmessaging.linked_whats_app_business_account_phone_numbers
WHERE id = '{{ id }}' -- required
AND region = '{{ region }}' -- required
;