View a markdown version of this page

Reading from Trello entities - AWS Glue

Reading from Trello entities

Prerequisites

A Trello 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
board-membersNoYesYesNoNo
boardsNoYesYesNoNo
boards-actionsNoYesYesNoNo
boards-checklistsNoYesYesNoNo
boards-customfieldsNoYesYesNoNo
boards-membershipsNoYesYesNoNo
cardsNoYesYesNoNo
listsNoYesYesNoNo
members-me-organizationsNoYesYesNoNo
organizations-actionsNoYesYesNoNo
organizations-membersNoYesYesNoNo
organizations-membershipsNoYesYesNoNo

Most Trello entities are scoped to a parent board or Workspace. To read one of these entities, set ENTITY_NAME to the entity name, a forward slash (/), and the parent identifier, for example cards/boardId. The connector discovers the parent identifiers that your token can access. The following table lists the parent-scoped entities and where to find the parent identifier.

EntitiesParent identifier
board-members, boards-actions, boards-checklists, boards-customfields, boards-memberships, cards, listsBoard ID. Use the id column of the boards entity.
organizations-actions, organizations-members, organizations-membershipsWorkspace ID. Use the id column of the members-me-organizations entity, which lists your Trello Workspaces.
Example – Reading from a Trello entity

The following example reads the cards on one board. Replace connectionName with the name of your Trello connection and boardId with a board ID from the boards entity:

read_df = glueContext.create_dynamic_frame.from_options( connection_type="trello", connection_options={ "connectionName": "connectionName", "ENTITY_NAME": "cards/boardId" } )