Skip to main content

analytics_data_associations

Creates, updates, deletes, gets or lists an analytics_data_associations resource.

Overview

Nameanalytics_data_associations
TypeResource
Idaws.connect.analytics_data_associations

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
next_tokenstringIf there are additional results, this is the token for the next set of results.
resultsarrayAn 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:

NameAccessible byRequired ParamsOptional ParamsDescription
list_analytics_data_associationsselectinstance_id, regionDataSetId, nextToken, maxResultsLists 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.

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)
DataSetIdstringThe identifier of the dataset to get the association status.
maxResultsintegerThe maximum number of results to return per page.
nextTokenstringThe 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

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 }}'
;