View a markdown version of this page

Reading from Persona entities - AWS Glue

Reading from Persona entities

Prerequisites

A Persona 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
accountsNoYesYesNoNo
api-logsNoYesYesNoNo
inquiriesYesYesYesNoNo
listsNoYesYesNoNo
Example – Reading from a Persona entity

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

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