Skip to main content

bots_counts

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

Overview

Namebots_counts
TypeResource
Idaws.wickr.bots_counts

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
activeintegerThe number of bots with active status.
pendingintegerThe number of bots with pending status (invited but not yet activated).
totalintegerThe total number of bots in the network (active and pending).

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_bots_countselectnetwork_id, regionRetrieves 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.

NameDatatypeDescription
network_idstringThe ID of the Wickr network for which to retrieve bot counts.
regionstringAWS region (default: us-east-1)

SELECT examples

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
;