Lesen aus Stripe-Entitäten - AWS Glue

Lesen aus Stripe-Entitäten

Voraussetzungen

  • Ein Stripe-Objekt, aus dem Sie lesen möchten.

Unterstützte Entitäten

Entität Kann gefiltert werden Unterstützt Limit Unterstützt „Sortieren nach“ Unterstützt „* auswählen“ Unterstützt Partitionierung
BalanceNeinNeinNeinJaNein
AusgleichstransaktionenJaJaNeinJaJa
GebührenJaJaNeinJaJa
StreitfälleJaJaNeinJaJa
Datei-LinksJaJaNeinJaJa
PaymentIntentsJaJaNeinJaJa
SetupIntentsJaJaNeinJaJa
AuszahlungenJaJaNeinJaJa
ErstattungenJaJaNeinJaJa
ProdukteJaJaNeinJaJa
PreiseJaJaNeinJaJa
CouponsJaJaNeinJaJa
AngebotscodesJaJaNeinJaJa
SteuercodesNeinJaNeinJaNein
SteuersätzeJaJaNeinJaJa
VersandkostenJaJaNeinJaJa
SitzungenJaJaNeinJaJa
GutschriftenJaJaNeinJaJa
CustomerJaJaNeinJaJa
RechnungenJaJaNeinJaJa
RechnungspositionenJaJaNeinJaNein
PläneJaJaNeinJaJa
AngeboteJaJaNeinJaNein
Subscriptions (Abonnements)JaJaNeinJa
AbonnementartikelNeinJaNeinJaNein
AbonnementpläneJaJaNeinJaJa
KontenNeinJaNeinJaJa
AnwendungsgebührenJaJaNeinJaJa
LänderspezifikationenNeinJaNeinJaNein
WeiterleitungenJaJaNeinJaJa
Vorzeitige BetrugswarnungenJaJaNeinJaJa
BerichtstypenNeinNeinNeinJaNein

Beispiel

stripe_read = glueContext.create_dynamic_frame.from_options( connection_type="stripe", connection_options={ "connectionName": "connectionName", "ENTITY_NAME": "coupons", "API_VERSION": "v1" } )

Stripe-Entität und Felddetails

Entität Feld Datentyp Unterstützte Operatoren
Balance
availableAuflisten
connect_reservedAuflisten
ausstehendAuflisten
livemodeBoolesch
objectString
instant_availableAuflisten
issuingStruct
Ausgleichstransaktionen
idString
objectString
BetragGanzzahl
available_onDateTime=, >=, <=,<,>
createdDateTime=, >=, <=,<,>
currencyString
descriptionString
exchange_rateBigDecimal
feeGanzzahl
fee_detailsAuflisten
netGanzzahl
reporting_categoryString
QuelleString=
StatusString
TypString=
cross_border_classificationString
Gebühren
idString
objectString
BetragGanzzahl=, <, >
amount_capturedGanzzahl
amount_refundedGanzzahl
AnwendungString
application_feeString
application_fee_amountGanzzahl
balance_transactionString
billing_detailsStruct
calculated_statement_descriptorString
capturedBoolesch
createdDateTime=, >=, <=,<,>
currencyString
customerString=
descriptionString
ZielString
disputeString
disputedBoolesch=
failure_balance_transactionString
failure_codeString
failure_messageString
fraud_detailsStruct
RechnungString
livemodeBoolesch
MetadatenStruct
on_behalf_ofString
orderString
outcomeStruct
paidBoolesch
payment_intentString=
payment_methodString
payment_method_detailsStruct
receipt_emailString
receipt_numberString
receipt_urlString
refundedBoolesch=
refundsStruct
reviewString
shippingStruct
QuelleStruct
source_transferString
statement_descriptorString
statement_descriptor_suffixString
StatusString
ÜbertragungString
transfer_dataStruct
transfer_groupString=
Streitfälle
idString
objectString
BetragGanzzahl=, <, >
balance_transactionString
balance_transactionsAuflisten
chargeString=
createdDateTime=, >=, <=,<,>
currencyString
evidenceStruct
evidence_detailsStruct
is_charge_refundableBoolesch
livemodeBoolesch
MetadatenStruct
payment_intentString=
GrundString=
StatusString
payment_method_detailsStruct
Datei-Links
idString
objectString
createdDateTime=, >=, <=,<,>
expiredBoolesch=
expires_atDateTime
fileString=
livemodeBoolesch
MetadatenStruct
URLString
PaymentIntents
idString
objectString
BetragGanzzahl
amount_capturableGanzzahl
amount_detailsStruct
amount_receivedGanzzahl
AnwendungString
application_fee_amountGanzzahl
automatic_payment_methodsStruct
canceled_atDateTime
cancellation_reasonString
capture_methodString
client_secretString
confirmation_methodString
createdDateTime=, >=, <=,<,>
currencyString
customerString=
descriptionString
RechnungString
last_payment_errorStruct
latest_chargeString
livemodeBoolesch
MetadatenStruct
next_actionStruct
on_behalf_ofString
payment_methodString
payment_method_optionsStruct
payment_method_typesAuflisten
payment_method_configuration_detailsStruct
VerarbeitungStruct
receipt_emailString
reviewString
setup_future_usageString
shippingStruct
QuelleString
statement_descriptorString
statement_descriptor_suffixString
StatusString
transfer_dataStruct
transfer_groupString
SetupIntents
idString
objectString
AnwendungString
cancellation_reasonString
client_secretString
createdDateTime=, >=, <=,<,>
customerString=
descriptionString
flow_directionsAuflisten
last_setup_errorStruct
latest_attemptString
livemodeBoolesch
mandateString
MetadatenStruct
next_actionStruct
on_behalf_ofString
payment_methodString
payment_method_optionsStruct
payment_method_typesAuflisten
single_use_mandateString
StatusString
NutzungString
automatic_payment_methodsStruct
Auszahlungen
idString
objectString
BetragGanzzahl=, <, >
arrival_dateDateTime=, >=, <=,<,>
AutomatischBoolesch
balance_transactionString
createdDateTime=, >=, <=,<,>
currencyString
descriptionString=
ZielString
failure_balance_transactionString
failure_codeString
failure_messageString
livemodeBoolesch
MetadatenStruct
MethodeString
original_payoutString
reversed_byString
reconciliation_statusString
source_typeString
statement_descriptorString
StatusString
TypString
application_feeString
application_fee_amountGanzzahl
Erstattungen
idString
objectString
BetragGanzzahl
balance_transactionString
chargeString=
createdDateTime=, >=, <=,<,>
currencyString
MetadatenStruct
destination_detailsStruct
payment_intentString=
GrundString
receipt_numberString
source_transfer_reversalString
StatusString
transfer_reversalString
Produkte
idString
objectString
aktivBoolesch=
AttributeAuflisten
createdDateTime=, >=, <=,<,>
default_priceString
descriptionString
imagesAuflisten
livemodeBoolesch
MetadatenStruct
NameString
package_dimensionsStruct
shippableBoolesch
statement_descriptorString
tax_codeString
TypString=
unit_labelString
AktualisiertDateTime
URLString
featuresAuflisten
Preise
idString
objectString
aktivBoolesch=
billing_schemeString
createdDateTime=, >=, <=,<,>
currencyString=
custom_unit_amountStruct
livemodeBoolesch
lookup_keyString
MetadatenStruct
SpitznameString
productString=
recurringStruct
tax_behaviorString
tiers_modeString
transform_quantityStruct
TypString=
unit_amountGanzzahl
unit_amount_decimalString
Coupons
IdString
objectString
amount_offGanzzahl
createdDateTime=, >=, <=,<,>
currencyString=
durationString=
duration_in_monthsGanzzahl=,<,>
livemodeBoolesch
max_redemptionsGanzzahl=, <, >
MetadatenStruct
NameString
percent_offDouble=
redeem_byDateTime=, >=, <=, <, >
times_redeemedGanzzahl
validBoolesch
Angebotscodes
IdString
objectString
aktivBoolesch=
CodeString=
couponStruct
createdDateTime=,>=,<=,<,>
customerString
expires_atDateTime
livemodeBoolesch
max_redemptionsGanzzahl
MetadatenStruct
EinschränkungenStruct
times_redeemedGanzzahl
Steuercodes
IdString
objectString
descriptionString
NameString
Steuersätze
IdString
objectString
aktivBoolesch=
countryString
createdDateTime=, >=, <=, <, >
descriptionString
Anzeige_nameString
inclusiveBoolesch=
jurisdictionString
jurisdiction_levelString
livemodeBoolesch
MetadatenStruct
percentageDouble
effective_percentageDouble
stateString
tax_typeString
Versandkosten
IdString
objectString
aktivBoolesch=
createdDateTime=, >=, <=, <, >
delivery_estimateStruct
Anzeige_nameString
fixed_amountStruct
livemodeBoolesch
MetadatenStruct
tax_behaviorString
tax_codeString
TypString
Sitzungen
idString
objectString
after_expirationStruct
allow_promotion_codesBoolesch
amount_subtotalGanzzahl
amount_totalGanzzahl
automatic_taxStruct
billing_address_collectionString
cancel_urlString
client_reference_idString
consentStruct
consent_collectionStruct
createdDateTime=, >=, <=, <, >
currencyString
custom_textStruct
customerString
customer_creationString
customer_detailsStruct
customer_emailString
expires_atDateTime
RechnungString
invoice_creationStruct
livemodeBoolesch
localeString
MetadatenStruct
modeString
payment_intentString=
payment_linkString
payment_method_collectionString
payment_method_optionsStruct
payment_method_typesAuflisten
payment_statusString
phone_number_collectionStruct
recovered_fromString
setup_intentString
shipping_address_collectionStruct
shipping_costStruct
shipping_detailsStruct
shipping_optionsAuflisten
StatusString
submit_typeString
AbonnementString
success_urlString
tax_id_collectionStruct
total_detailsStruct
URLString
ui_modeString
Gutschriften
idString
objectString
BetragGanzzahl
createdDateTime=, >=, <=, <, >
currencyString
customerString=
customer_balance_transactionString
discount_amountGanzzahl
discount_amountsAuflisten
RechnungString=
linesStruct
livemodeBoolesch
memoString
MetadatenStruct
ZahlString
out_of_band_amountGanzzahl
pdfString
GrundString
refundString
StatusString
subtotalGanzzahl
subtotal_excluding_taxGanzzahl
tax_amountsAuflisten
totalGanzzahl
total_excluding_taxGanzzahl
TypString
voided_atDateTime
amount_shippingGanzzahl
effective_atDateTime
shipping_costStruct
Customer
idString
objectString
addressStruct
balanceGanzzahl
createdDateTime
currencyString=, >=, <=, <, >
default_sourceString
delinquentBoolesch=
descriptionString
discountStruct
emailString=
invoice_prefixString
invoice_settingsStruct
livemodeBoolesch
MetadatenStruct
NameString
next_invoice_sequenceGanzzahl
phoneString
preferred_localesAuflisten
shippingStruct
tax_exemptString
test_clockString
Rechnungen
idString
objectString
account_countryString
Konto_BezeichnungString
account_tax_idsAuflisten
amount_dueGanzzahl
amount_paidGanzzahl
amount_remainingGanzzahl
AnwendungString
application_fee_amountGanzzahl
attempt_countGanzzahl
attemptedBoolesch=
auto_advanceBoolesch=
automatic_taxStruct
billing_reasonString
chargeString
collection_methodString=
createdDateTime=, >=, <=, <, >
currencyString
custom_fieldsAuflisten
customerString=
customer_addressStruct
customer_emailString
customer_nameString
customer_phoneString
customer_shippingStruct
customer_tax_exemptString
customer_tax_idsAuflisten
default_payment_methodString
default_sourceString
default_tax_ratesAuflisten
descriptionString
discountStruct
discountsAuflisten
due_dateDateTime=, >=, <=, <, >
ending_balanceGanzzahl
footerString
from_invoiceStruct
hosted_invoice_urlString
invoice_pdfString
last_finalization_errorStruct
latest_revisionString
linesStruct
livemodeBoolesch
MetadatenStruct
next_payment_attemptDateTime
ZahlString
on_behalf_ofString
paidBoolesch=
paid_out_of_bandBoolesch
payment_intentString
payment_settingsStruct
period_endDateTime=, >=, <=, <, >
period_startDateTime=, >=, <=, <, >
post_payment_credit_notes_amountGanzzahl
pre_payment_credit_notes_amountGanzzahl
quoteString
receipt_numberString
renderingStruct
rendering_optionsStruct
starting_balanceGanzzahl
statement_descriptorString
StatusString=
status_transitionsStruct
AbonnementString
subscription_detailsStruct
subtotalGanzzahl=, <, >
subtotal_excluding_taxGanzzahl
taxGanzzahl
test_clockString
totalGanzzahl=, <, >
total_discount_amountsAuflisten
total_excluding_taxGanzzahl
total_tax_amountsAuflisten
transfer_dataStruct
webhooks_delivered_atDateTime
automatically_finalizes_atDateTime
effective_atDateTime
AusstellerStruct
Rechnungspositionen
idString
objectString
BetragGanzzahl=, <, >
currencyString
customerString=
dateDateTime
descriptionString
discountableBoolesch
discountsAuflisten
RechnungString=
livemodeBoolesch
MetadatenStruct
ZeitraumStruct
planStruct
priceStruct
prorationBoolesch=
quantityGanzzahl
AbonnementString
subscription_itemString
tax_ratesAuflisten
test_clockString
unit_amountGanzzahl
unit_amount_decimalString
Pläne
idString
objectString
aktivBoolesch=
aggregate_usageString
BetragGanzzahl
amount_decimalString
billing_schemeString
createdDateTime=, >=, <=, <, >
currencyString=
IntervallString=
interval_countGanzzahl
livemodeBoolesch
MetadatenStruct
SpitznameString
productString=
tiers_modeString
transform_usageStruct
trial_period_daysGanzzahl=, <, >
usage_typeString
GebührenerfassungString
Angebote
idString
objectString
amount_subtotalGanzzahl
amount_totalGanzzahl
AnwendungString
application_fee_amountGanzzahl
application_fee_percentDouble
automatic_taxStruct
collection_methodString
computedStruct
createdDateTime
currencyString
customerString=
default_tax_ratesAuflisten
descriptionString
discountsAuflisten
expires_atDateTime
footerString
from_quoteStruct
headerString
RechnungString
invoice_settingsStruct
livemodeBoolesch
MetadatenStruct
ZahlString
on_behalf_ofString
StatusString=
status_transitionsStruct
AbonnementString
subscription_dataStruct
subscription_scheduleString
test_clockString
total_detailsStruct
transfer_dataStruct
Subscriptions (Abonnements)
idString
objectString
AnwendungString
application_fee_percentDouble
automatic_taxStruct
billing_cycle_anchorDateTime
billing_thresholdsStruct
cancel_atDateTime
cancel_at_period_endBoolesch
canceled_atDateTime
collection_methodString=
createdDateTime=, >=, <=,<,>
currencyString
current_period_endDateTime=, >=, <=
current_period_startDateTime=, >=, <=
customerString=
days_until_dueGanzzahl
default_payment_methodString
default_sourceString
default_tax_ratesAuflisten
descriptionString
discountStruct
ended_atDateTime
ElementeStruct
latest_invoiceString
livemodeBoolesch
MetadatenStruct
next_pending_invoice_item_invoiceDateTime
pause_collectionStruct
payment_settingsStruct
pending_invoice_item_intervalStruct
pending_setup_intentString
pending_updateStruct
planStruct
quantityGanzzahl
scheduleString
start_dateDateTime
StatusString=
test_clockString
transfer_dataStruct
trial_endDateTime
trial_startDateTime
Abonnementartikel
IdString
objectString
billing_thresholdsStruct
createdDateTime=, >=, <=, <, >
MetadatenStruct
planStruct
priceStruct
AbonnementString
tax_ratesAuflisten
discountsAuflisten
Abonnementpläne
objectString
AnwendungString
canceled_atDateTime
completed_atDateTime
createdDateTime
current_phaseStruct
customerString=
default_settingsStruct
end_behaviorString
livemodeBoolesch
MetadatenStruct
phasesAuflisten
released_atDateTime
released_subscriptionString
renewal_intervalString
StatusString
AbonnementString
test_clockString
Konten
details_submittedBoolesch
tos_acceptanceStruct
TypString
MetadatenStruct
idString
objectString
default_currencyString
FunktionenStruct
charges_enabledBoolesch
EinstellungenStruct
requirementsStruct
payouts_enabledBoolesch
future_requirementsStruct
external_accountsStruct
ControllerStruct
countryString
emailString
createdDateTime=, >=, <=, <, >
business_profileStruct
business_typeString
companyStruct
Anwendungsgebühren
idString
objectString
KontoString
BetragGanzzahl=, <, >
amount_refundedGanzzahl=, <, >
AnwendungString
balance_transactionString
chargeString=
createdDateTime
currencyString
livemodeBoolesch
originating_transactionString
refundedBoolesch=
refundsStruct
fee_sourceStruct
Länderspezifikationen
idString
objectString
default_currencyString
supported_bank_account_currenciesStruct
supported_payment_currenciesAuflisten
supported_payment_methodsAuflisten
supported_transfer_countriesAuflisten
verification_fieldsStruct
Weiterleitungen
idString
objectString
BetragGanzzahl=, <, >
amount_reversedGanzzahl
balance_transactionString
createdDateTime=, >=, <=, <, >
currencyString=
descriptionString
ZielString=
destination_paymentString
livemodeBoolesch
MetadatenStruct
reversalsStruct
reversedBoolesch
source_transactionString
source_typeString
transfer_groupString=
Vorzeitige Betrugswarnungen
idString
objectString
actionableBoolesch
chargeString=
createdDateTime=, >=, <=, <, >
fraud_typeString
livemodeBoolesch
payment_intentString=
Berichtstypen
idString
objectString
data_available_endDateTime
data_available_startDateTime
default_columnsAuflisten
livemodeBoolesch
NameString
AktualisiertDateTime
versionGanzzahl

Partinionieren von Abfragen

Die zusätzlichen Spark-Optionen PARTITION_FIELD, LOWER_BOUND, UPPER_BOUND und NUM_PARTITIONS können angegeben werden, wenn Sie Parallelität in Spark nutzen möchten. Mit diesen Parametern würde die ursprüngliche Abfrage in NUM_PARTITIONS Unterabfragen aufgeteilt, die von Spark-Aufgaben gleichzeitig ausgeführt werden können.

  • PARTITION_FIELD: der Name des Feldes, das zur Partitionierung der Abfrage verwendet werden soll.

  • LOWER_BOUND: ein inklusiver Untergrenzwert des ausgewählten Partitionsfelds.

    Als Datum akzeptieren wir das Spark-Datumsformat, das in Spark-SQL-Abfragen verwendet wird. Beispiel für gültigen Wert: "2024-07-01T00:00:00.000Z".

  • UPPER_BOUND: ein exklusiver Obergrenzwert des ausgewählten Partitionsfelds.

  • NUM_PARTITIONS: Anzahl der Partitionen.

Details zur Unterstützung von Feldern für die entitätsbezogene Partitionierung sind in der folgenden Tabelle aufgeführt.

Entity Name Partitionierungsfeld Datentyp
AusgleichstransaktionencreatedDateTime
GebührencreatedDateTime
StreitfällecreatedDateTime
Datei-LinkscreatedDateTime
PaymentIntentscreatedDateTime
SetupIntentscreatedDateTime
AuszahlungencreatedDateTime
ErstattungencreatedDateTime
ProduktecreatedDateTime
PreisecreatedDateTime
CouponscreatedDateTime
AngebotscodescreatedDateTime
SteuersätzecreatedDateTime
VersandkostencreatedDateTime
SitzungencreatedDateTime
GutschriftencreatedDateTime
CustomercreatedDateTime
RechnungencreatedDateTime
PlänecreatedDateTime
Subscriptions (Abonnements)createdDateTime
AbonnementplänecreatedDateTime
KontencreatedDateTime
AnwendungsgebührencreatedDateTime
WeiterleitungencreatedDateTime
Vorzeitige BetrugswarnungencreatedDateTime

Beispiel

stripe_read = glueContext.create_dynamic_frame.from_options( connection_type="stripe", connection_options={ "connectionName": "connectionName", "ENTITY_NAME": "coupons", "API_VERSION": "v1", "PARTITION_FIELD": "created" "LOWER_BOUND": "2024-05-01T20:55:02.000Z" "UPPER_BOUND": "2024-07-11T20:55:02.000Z" "NUM_PARTITIONS": "10" } )