analytics_data_associations
Creates, updates, deletes, gets or lists an analytics_data_associations resource.
Overview
| Name | analytics_data_associations |
| Type | Resource |
| Id | aws.connect.analytics_data_associations |
Fields
The following fields are returned by SELECT queries:
- list_analytics_data_associations
| Name | Datatype | Description |
|---|---|---|
next_token | string | If there are additional results, this is the token for the next set of results. |
results | array | An array of successful results: DataSetId, TargetAccountId, ResourceShareId, ResourceShareArn. This is a paginated API, so nextToken is given if there are more results to be returned. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
list_analytics_data_associations | select | instance_id, region | DataSetId, nextToken, maxResults | Lists the association status of requested dataset ID for a given 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) |
DataSetId | string | The identifier of the dataset to get the association status. |
maxResults | integer | The maximum number of results to return per page. |
nextToken | string | The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results. |
SELECT examples
- list_analytics_data_associations
Lists the association status of requested dataset ID for a given Connect Customer instance.
SELECT
next_token,
results
FROM aws.connect.analytics_data_associations
WHERE instance_id = '{{ instance_id }}' -- required
AND region = '{{ region }}' -- required
AND DataSetId = '{{ DataSetId }}'
AND nextToken = '{{ nextToken }}'
AND maxResults = '{{ maxResults }}'
;