View a markdown version of this page

Reading from Sender entities - AWS Glue

Reading from Sender entities

Prerequisites

A Sender 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
campaign-clicksNoYesYesNoNo
campaign-complaintsNoYesYesNoNo
campaign-hard-bouncesNoYesYesNoNo
campaign-opensNoYesYesNoNo
campaign-sentsNoYesYesNoNo
campaign-soft-bouncesNoYesYesNoNo
campaign-unsubscribesNoYesYesNoNo
campaignsYesYesYesNoNo
fieldsNoYesYesNoNo
group-subscribersNoYesYesNoNo
groupsNoYesYesNoNo
segment-subscribersNoYesYesNoNo
segmentsNoYesYesNoNo
subscribersNoYesYesNoNo
transactional-campaignsNoYesYesNoNo
workflowsYesYesYesNoNo
Example – Reading from a Sender entity

The following example reads from the campaign-clicks entity. Replace connectionName with the name of your Sender connection:

read_df = glueContext.create_dynamic_frame.from_options( connection_type="sender", connection_options={ "connectionName": "connectionName", "ENTITY_NAME": "campaign-clicks" } )