View a markdown version of this page

Reading from Copper entities - AWS Glue

Reading from Copper entities

Prerequisites

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

Supported entities for source

EntityCan be filteredSupports limitSupports select *Supports order bySupports partitioning
contact_typesNoNoYesNoNo
custom_field_definitionsNoNoYesNoNo
customer_sourcesNoNoYesNoNo
loss_reasonsNoNoYesNoNo
pipelinesNoNoYesNoNo
usersNoNoYesNoNo
Example – Reading from a Copper entity

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

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