current_user_datas
Creates, updates, deletes, gets or lists a current_user_datas resource.
Overview
| Name | current_user_datas |
| Type | Resource |
| Id | aws.connect.current_user_datas |
Fields
The following fields are returned by SELECT queries:
- get_current_user_data
| Name | Datatype | Description |
|---|---|---|
approximate_total_count | integer (int64) | The total count of the result, regardless of the current page size. |
next_token | string | If there are additional results, this is the token for the next set of results. |
user_data_list | array | A list of the user data that is returned. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get_current_user_data | select | instance_id, region | Gets 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.
| Name | Datatype | Description |
|---|---|---|
instance_id | string | The identifier of the Connect Customer instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance. |
region | string | AWS region (default: us-east-1) |
SELECT examples
- get_current_user_data
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
;