Access Amazon Connect Analytics data lake
To access Analytics data lake, you can use the AWS console, the AWS CLI
or AWS CloudShell, which is a browser-based, pre-authenticated shell that you can launch
directly from the AWS Management Console. For information about how to use the AWS CLI, see AWS Command Line Interface
Configure data to be shared
Option 1 - Using the AWS Console
Open the Amazon Connect console at https://console.aws.amazon.com/connect/
. -
On the instances page, choose the instance alias. The instance alias is also your instance name, which appears in your Amazon Connect URL. The following image shows the Amazon Connect virtual contact center instances page, with a box around the instance alias.
-
On the left navigation menu, choose Analytics Tools and then choose Add data share.
-
For the Target AWS account ID specify the AWS account ID of the account from which you wish to access data (consumer). This can be the same AWS account as hosts your Amazon Connect instance or a different AWS account. Select one or multiple data types you wish to access from the consumer account and select Confirm.
Option 2 - Using CLI or CloudShell
-
Generate the
generate Association api
request file by running theaws connect batch-associate-analytics-data-set --generate-cli-skeleton input > input_batch_association.json
command. -
Open the JSON file in a text editor and enter the following:
-
Instance ID – Your Amazon Connect instance ID.
-
DataSetID – Enter the required tables. For more information about required tables, see Associate tables for Amazon Connect Analytics data lake.
-
TargetAccountId – Account ID to share data.
Following is an example of the JSON file with all of the tables.
{ "InstanceId":
your_instance_id
, "DataSetIds": [ "contact_record", "contact_flow_events", "contact_statistic_record", "contact_lens_conversational_analytics", "agent_queue_statistic_record", "agent_statistic_record", "contact_evaluation_record" ], "TargetAccountId":your_account_ID
} -
-
Associate analytics data lake to a single account by running the
aws connect batch-associate-analytics-data-set --cli-input-json file:
command (where this path is based on the location of the JSON file).///path/to/request/file