View a markdown version of this page

Reading from LiveChatAI entities - AWS Glue

Reading from LiveChatAI entities

Prerequisites

A LiveChatAI object you want to read from. For the available entities, see the following supported entities table.

The contacts, conversations, ai-suggestions, and data-sources entities belong to an agent. Use entity/agentId, for example conversations/agentId. AWS Glue discovers the available agent IDs for your connection.

Supported entities for source

EntityCan be filteredSupports limitSupports select *Supports order bySupports partitioning
agentsNoYesYesNoNo
ai-suggestionsYesYesYesNoNo
contactsNoYesYesNoNo
conversationsYesYesYesNoNo
data-sourcesYesYesYesNoNo
Example – Reading from a LiveChatAI entity

The following example reads from the agents entity. Replace connectionName with the name of your LiveChatAI connection:

read_df = glueContext.create_dynamic_frame.from_options( connection_type="livechatai", connection_options={ "connectionName": "connectionName", "ENTITY_NAME": "agents" } )