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 GlueFILTER_PREDICATEoption (for example, from a SparkDataFramefilter).
Chargebee supports server-side (pushed-down) filtering on the following entities, with the operators shown, through FILTER_PREDICATE:
| Entity | Filterable fields | Supported operators |
|---|---|---|
| coupons | id, status, created_at_after, created_at_before, updated_at_after, updated_at_before | equals only |
| credit_notes | id, customer_id, subscription_id, type, status, date_after, date_before, updated_at_after, updated_at_before | equals only |
| customers | id, email, auto_collection, created_at_after, created_at_before, updated_at_after, updated_at_before | equals only |
| events | id, occurred_at_after, occurred_at_before, event_type | equals only |
| invoices | id, customer_id, subscription_id, status, date_after, date_before, updated_at_after, updated_at_before | equals only |
| item_families | id, updated_at_after, updated_at_before | equals only |
| item_prices | id, item_family_id, item_id, status, updated_at_after, updated_at_before, created_at_after, created_at_before | equals only |
| items | id, status, updated_at_after, updated_at_before, item_family_id, type | equals only |
| payment_sources | id, updated_at_after, updated_at_before, customer_id, type, status, created_at_after, created_at_before | equals only |
| subscriptions | id, customer_id, status, created_at_after, created_at_before, updated_at_after, updated_at_before | equals only |
| transactions | id, customer_id, subscription_id, type, date_after, date_before, status, updated_at_after, updated_at_before | equals only |
AWS Glue applies filters on any other Chargebee entity after it reads records, through the Spark DataFrame filters.