View a markdown version of this page

Reading from Amplitude entities - AWS Glue

Reading from Amplitude entities

Prerequisites

An Amplitude 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
cohortsNoNoYesNoNo
event-typesNoNoYesNoNo
event-categoriesNoNoYesNoNo
user-propertiesNoNoYesNoNo
event-propertiesNoNoYesNoNo
events-listNoNoYesNoNo
Example – Reading from an Amplitude entity

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

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