bots_counts
Creates, updates, deletes, gets or lists a bots_counts resource.
Overview
| Name | bots_counts |
| Type | Resource |
| Id | aws.wickr.bots_counts |
Fields
The following fields are returned by SELECT queries:
- get_bots_count
| Name | Datatype | Description |
|---|---|---|
active | integer | The number of bots with active status. |
pending | integer | The number of bots with pending status (invited but not yet activated). |
total | integer | The total number of bots in the network (active and pending). |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get_bots_count | select | network_id, region | Retrieves the count of bots in a Wickr network, categorized by their status (pending, active, and total). |
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 |
|---|---|---|
network_id | string | The ID of the Wickr network for which to retrieve bot counts. |
region | string | AWS region (default: us-east-1) |
SELECT examples
- get_bots_count
Retrieves the count of bots in a Wickr network, categorized by their status (pending, active, and total).
SELECT
active,
pending,
total
FROM aws.wickr.bots_counts
WHERE network_id = '{{ network_id }}' -- required
AND region = '{{ region }}' -- required
;