GoCardless connection options
The following are connection options for GoCardless:
ENTITY_NAME– (Required) Used for Read. The name of the GoCardless 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 GoCardless for the fields listed in the filtering support table below. Supply it as a AWS GlueFILTER_PREDICATEoption (for example, from a SparkDataFramefilter).
GoCardless supports server-side (pushed-down) filtering on the following entities, with the operators shown, through FILTER_PREDICATE:
| Entity | Filterable fields | Supported operators |
|---|---|---|
| block | block_type, reason_type | equals only |
| creditor-bank-account | enabled, creditor | equals only |
| customer | currency, action_required | equals only |
| customer-bank-account | enabled, customer | equals only |
| event | resource_type, action, billing_request, creditor, export, instalment_schedule, mandate, outbound_payment, payer_authorisation, payment, payment_account_transaction, payout, refund, subscription, scheme_identifier, parent_event | equals only |
| instalment-schedule | status, mandate, customer | equals only |
| institution | country_code, branch_code | equals only |
| mandate | reference, status, scheme, mandate_type, customer, creditor, customer_bank_account | equals only |
| payment | status, customer, creditor, subscription, mandate | equals only |
| payout | currency, reference, status, payout_type, creditor, creditor_bank_account | equals only |
| refund | payment, mandate, refund_type | equals only |
| scheme-identifier | creditor | equals only |
| subscription | status, mandate, customer | equals only |
| tax-rate | jurisdiction | equals only |
AWS Glue applies filters on any other GoCardless entity after it reads records, through the Spark DataFrame filters.