Skip to main content

current_user_datas

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

Overview

Namecurrent_user_datas
TypeResource
Idaws.connect.current_user_datas

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
approximate_total_countinteger (int64)The total count of the result, regardless of the current page size.
next_tokenstringIf there are additional results, this is the token for the next set of results.
user_data_listarrayA list of the user data that is returned.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_current_user_dataselectinstance_id, regionGets the real-time active user data from the specified Connect Customer instance.

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
instance_idstringThe identifier of the Connect Customer instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
regionstringAWS region (default: us-east-1)

SELECT examples

Gets the real-time active user data from the specified Connect Customer instance.

SELECT
approximate_total_count,
next_token,
user_data_list
FROM aws.connect.current_user_datas
WHERE instance_id = '{{ instance_id }}' -- required
AND region = '{{ region }}' -- required
;