whats_app_business_accounts
Creates, updates, deletes, gets or lists a whats_app_business_accounts resource.
Overview
| Name | whats_app_business_accounts |
| Type | Resource |
| Id | aws.socialmessaging.whats_app_business_accounts |
Fields
The following fields are returned by SELECT queries:
SELECT not supported for this resource, use SHOW METHODS to view available operations for the resource.
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
disassociate_whats_app_business_account | update | id, region | Disassociate a WhatsApp Business Account (WABA) from your Amazon Web Services account. | |
associate_whats_app_business_account | update | region | This is only used through the Amazon Web Services console during sign-up to associate your WhatsApp Business Account 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.
| Name | Datatype | Description |
|---|---|---|
id | string | The unique identifier of your WhatsApp Business Account. WABA identifiers are formatted as waba-01234567890123456789012345678901. Use ListLinkedWhatsAppBusinessAccounts to list all WABAs and their details. |
region | string | AWS region (default: us-east-1) |
UPDATE examples
- disassociate_whats_app_business_account
- associate_whats_app_business_account
Disassociate a WhatsApp Business Account (WABA) from your Amazon Web Services account.
UPDATE aws.socialmessaging.whats_app_business_accounts
SET
-- No updatable properties
WHERE
id = '{{ id }}' --required
AND region = '{{ region }}' --required;
This is only used through the Amazon Web Services console during sign-up to associate your WhatsApp Business Account to your Amazon Web Services account.
UPDATE aws.socialmessaging.whats_app_business_accounts
SET
signupCallback = '{{ signupCallback }}',
setupFinalization = '{{ setupFinalization }}'
WHERE
region = '{{ region }}' --required
RETURNING
linked_whats_app_business_account_id,
signup_callback_result,
status_code;