View a markdown version of this page

Reading from Anthropic entities - AWS Glue

Reading from Anthropic entities

Prerequisites

An Anthropic 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
api_keysYesYesYesNoNo
cost_reportYesYesYesNoNo
filesNoYesYesNoNo
invitesYesYesYesNoNo
message_batchesNoYesYesNoNo
modelsYesYesYesNoNo
skill_versionsNoYesYesNoNo
skillsYesYesYesNoNo
usage_reportYesYesYesNoNo
usersYesYesYesNoNo
workspace_membersNoYesYesNoNo
workspacesNoYesYesNoNo
Example – Reading from an Anthropic entity

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

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