View a markdown version of this page

Reading from Amplitude Experiment entities - AWS Glue

Reading from Amplitude Experiment entities

Prerequisites

An Amplitude Experiment 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
deploymentsNoYesYesNoNo
experiment-deploymentsNoYesYesNoNo
experiment-variantsNoYesYesNoNo
experiment-versionsNoYesYesNoNo
experimentsNoYesYesNoNo
flag-deploymentsNoYesYesNoNo
flag-variantsNoYesYesNoNo
flag-versionsNoYesYesNoNo
flagsNoYesYesNoNo
Example – Reading from an Amplitude Experiment entity

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

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