Skip to main content

users_counts

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

Overview

Nameusers_counts
TypeResource
Idaws.wickr.users_counts

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
activeintegerThe number of users with active status in the network.
pendingintegerThe number of users with pending status (invited but not yet accepted).
rejectedintegerThe number of users who have rejected network invitations.
remainingintegerThe number of additional users that can be added to the network while maintaining premium free trial eligibility.
totalintegerThe total number of users in the network (active and pending combined).

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_users_countselectnetwork_id, regionRetrieves the count of users in a Wickr network, categorized by their status (pending, active, rejected) and showing how many users can still be added.

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 user counts.
regionstringAWS region (default: us-east-1)

SELECT examples

Retrieves the count of users in a Wickr network, categorized by their status (pending, active, rejected) and showing how many users can still be added.

SELECT
active,
pending,
rejected,
remaining,
total
FROM aws.wickr.users_counts
WHERE network_id = '{{ network_id }}' -- required
AND region = '{{ region }}' -- required
;