Skip to main content

linked_whats_app_business_accounts

Creates, updates, deletes, gets or lists a linked_whats_app_business_accounts resource.

Overview

Namelinked_whats_app_business_accounts
TypeResource
Idaws.socialmessaging.linked_whats_app_business_accounts

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
idstringThe ID of the linked WhatsApp Business Account, formatted as waba-01234567890123456789012345678901. (pattern: <code>.(^waba-.$)|(^arn:.:waba/[0-9a-zA-Z]+$).</code>)
arnstringThe ARN of the linked WhatsApp Business Account. (pattern: <code>arn:.*:waba/[0-9a-zA-Z]+</code>)
dataset_idstringThe Meta Conversions API dataset ID associated with this WhatsApp Business Account. This value is a numeric string of 10 to 20 digits. This field is not present when no dataset has been created for this account. (pattern: <code>[0-9]+</code>)
event_destinationsarrayThe event destinations for the linked WhatsApp Business Account.
link_datestring (date-time)The date the WhatsApp Business Account was linked.
marketing_messages_onboarding_statusstringThe onboarding status for the Marketing Messages API. This value is fetched from Meta and indicates whether the WhatsApp Business Account is onboarded for Meta's Marketing Messages API.
phone_numbersarrayThe phone numbers associated with the Linked WhatsApp Business Account.
registration_statusstringThe registration status of the linked WhatsApp Business Account. (COMPLETE, INCOMPLETE)
waba_idstringThe WhatsApp Business Account ID from meta.
waba_namestringThe name of the linked WhatsApp Business Account.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_linked_whats_app_business_accountselectid, regionGet the details of your linked WhatsApp Business Account.
list_linked_whats_app_business_accountsselectregionnextToken, maxResultsList all WhatsApp Business Accounts linked to your Amazon Web Services account.

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.

NameDatatypeDescription
idstringThe unique identifier, from Amazon Web Services, of the linked WhatsApp Business Account. WABA identifiers are formatted as waba-01234567890123456789012345678901. Use ListLinkedWhatsAppBusinessAccounts to list all WABAs and their details.
regionstringAWS region (default: us-east-1)
maxResultsintegerThe maximum number of results to return.
nextTokenstringThe next token for pagination.

SELECT examples

Get the details of your linked WhatsApp Business Account.

SELECT
id,
arn,
dataset_id,
event_destinations,
link_date,
marketing_messages_onboarding_status,
phone_numbers,
registration_status,
waba_id,
waba_name
FROM aws.socialmessaging.linked_whats_app_business_accounts
WHERE id = '{{ id }}' -- required
AND region = '{{ region }}' -- required
;