View a markdown version of this page

Reading from Vercel entities - AWS Glue

Reading from Vercel entities

Prerequisites

A Vercel 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
aliasesYesYesYesNoNo
deploymentsYesYesYesNoNo
domainsYesYesYesNoNo
eventsYesYesYesNoNo
global-configNoYesYesNoNo
projectsNoYesYesNoNo
projects-checksYesYesYesNoNo
projects-domainsYesYesYesNoNo
projects-envNoYesYesNoNo
teamsYesYesYesNoNo
teams-membersYesYesYesNoNo

Some Vercel entities are scoped to a parent project or team. To read one of these entities, set ENTITY_NAME to the entity name, a forward slash (/), and the parent identifier, for example projects-env/projectId. The following table lists the parent-scoped entities and where to find the parent identifier.

EntitiesParent identifier
projects-checks, projects-domains, projects-envProject ID. Use the id column of the projects entity.
teams-membersTeam ID. Use the id column of the teams entity.
Example – Reading from a Vercel entity

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

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