View a markdown version of this page

Reading from Omnisend entities - AWS Glue

Reading from Omnisend entities

Prerequisites

An Omnisend object you want to read from. See the supported entities table below for the available entities.

Supported entities for source

EntityCan be filteredSupports limitSupports select *Supports order bySupports partitioning
automationsNoYesYesNoNo
batchesNoYesYesNoNo
campaignsYesYesYesNoNo
contactsNoYesYesNoNo
product-categoriesNoYesYesNoNo
productsNoYesYesNoNo
segmentsNoYesYesNoNo
Example – Reading from an Omnisend entity

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

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