Skip to main content

blocked_guest_users

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

Overview

Nameblocked_guest_users
TypeResource
Idaws.wickr.blocked_guest_users

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
adminstringThe username of the administrator who blocked this guest user. (pattern: <code>[\S\s]*</code>)
modifiedstringThe timestamp when the guest user was blocked or last modified. (pattern: <code>[\S\s]*</code>)
usernamestringThe username of the blocked guest user. (pattern: <code>[\S\s]*</code>)
username_hashstringThe unique username hash identifier for the blocked guest user. (pattern: <code>[\S\s]*</code>)

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
list_blocked_guest_usersselectnetwork_id, regionmaxResults, sortDirection, sortFields, username, admin, nextTokenRetrieves a paginated list of guest users who have been blocked from a Wickr network. You can filter and sort the results.

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 from which to list blocked guest users.
regionstringAWS region (default: us-east-1)
adminstringFilter results to only include blocked guest users that were blocked by this administrator.
maxResultsintegerThe maximum number of blocked guest users to return in a single page. Valid range is 1-100. Default is 10.
nextTokenstringThe token for retrieving the next page of results. This is returned from a previous request when there are more results available.
sortDirectionstringThe direction to sort results. Valid values are 'ASC' (ascending) or 'DESC' (descending). Default is 'DESC'.
sortFieldsstringThe field to sort blocked guest users by. Accepted values include 'username', 'admin', and 'modified'.
usernamestringFilter results to only include blocked guest users with usernames matching this value.

SELECT examples

Retrieves a paginated list of guest users who have been blocked from a Wickr network. You can filter and sort the results.

SELECT
admin,
modified,
username,
username_hash
FROM aws.wickr.blocked_guest_users
WHERE network_id = '{{ network_id }}' -- required
AND region = '{{ region }}' -- required
AND maxResults = '{{ maxResults }}'
AND sortDirection = '{{ sortDirection }}'
AND sortFields = '{{ sortFields }}'
AND username = '{{ username }}'
AND admin = '{{ admin }}'
AND nextToken = '{{ nextToken }}'
;