View a markdown version of this page

Chargebee connection options - AWS Glue

Chargebee connection options

The following are connection options for Chargebee:

  • ENTITY_NAME – (Required) Used for Read. The name of the Chargebee object to read.

  • SELECTED_FIELDS – Default: empty (SELECT *). Used for Read. The columns you want to select for the object.

  • FILTER_PREDICATE – Default: empty. Used for Read. A filter predicate that AWS Glue pushes down to Chargebee for the fields listed in the filtering support table below. Supply it as a AWS Glue FILTER_PREDICATE option (for example, from a Spark DataFrame filter).

Chargebee supports server-side (pushed-down) filtering on the following entities, with the operators shown, through FILTER_PREDICATE:

EntityFilterable fieldsSupported operators
couponsid, status, created_at_after, created_at_before, updated_at_after, updated_at_beforeequals only
credit_notesid, customer_id, subscription_id, type, status, date_after, date_before, updated_at_after, updated_at_beforeequals only
customersid, email, auto_collection, created_at_after, created_at_before, updated_at_after, updated_at_beforeequals only
eventsid, occurred_at_after, occurred_at_before, event_typeequals only
invoicesid, customer_id, subscription_id, status, date_after, date_before, updated_at_after, updated_at_beforeequals only
item_familiesid, updated_at_after, updated_at_beforeequals only
item_pricesid, item_family_id, item_id, status, updated_at_after, updated_at_before, created_at_after, created_at_beforeequals only
itemsid, status, updated_at_after, updated_at_before, item_family_id, typeequals only
payment_sourcesid, updated_at_after, updated_at_before, customer_id, type, status, created_at_after, created_at_beforeequals only
subscriptionsid, customer_id, status, created_at_after, created_at_before, updated_at_after, updated_at_beforeequals only
transactionsid, customer_id, subscription_id, type, date_after, date_before, status, updated_at_after, updated_at_beforeequals only

AWS Glue applies filters on any other Chargebee entity after it reads records, through the Spark DataFrame filters.