View a markdown version of this page

Reading from Gusto entities - AWS Glue

Reading from Gusto entities

Prerequisites

A Gusto 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
adminsNoNoYesNoNo
benefitsNoNoYesNoNo
companyNoNoYesNoNo
company_benefitsYesNoYesNoNo
contractor_paymentsNoNoYesNoNo
contractorsYesNoYesNoNo
departmentsNoNoYesNoNo
employeesYesNoYesNoNo
locationsNoNoYesNoNo
pay_periodsYesNoYesNoNo
pay_schedulesNoNoYesNoNo
payrollsYesNoYesNoNo
time_off_policiesNoNoYesNoNo
time_off_requestsYesNoYesNoNo
Example – Reading from a Gusto entity

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

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