Lesen aus Kustomer-Entitäten - AWS Glue

Die vorliegende Übersetzung wurde maschinell erstellt. Im Falle eines Konflikts oder eines Widerspruchs zwischen dieser übersetzten Fassung und der englischen Fassung (einschließlich infolge von Verzögerungen bei der Übersetzung) ist die englische Fassung maßgeblich.

Lesen aus Kustomer-Entitäten

Voraussetzung

Ein Kustomer-Objekt, aus dem Sie lesen möchten. Sie benötigen den Objektnamen wie Marken oder Karten. Die folgende Tabelle zeigt die unterstützten Entitäten.

Unterstützte Entitäten für Quelle:

Entität Kann gefiltert werden Unterstützt Limit Unterstützt „Sortieren nach“ Unterstützt „* auswählen“ Unterstützt Partitionierung
Marken Nein Ja Nein Ja Nein
Karten Nein Ja Nein Ja Nein
Chat-Einstellungen Nein Nein Nein Ja Nein
Unternehmen Ja Ja Ja Ja Ja
Konversationen Ja Ja Ja Ja Ja
Kunden Ja Ja Ja Ja Ja
Kundensuchanfragen angeheftet Nein Ja Nein Ja Nein
Kundensuchanfragen Position Nein Nein Nein Ja Nein
E-Mail-Hooks Nein Ja Nein Ja Nein
Web-Hooks Nein Ja Nein Ja Nein
KB-Artikel Nein Ja Nein Ja Nein
KB-Kategorien Nein Ja Nein Ja Nein
KB-Formulare Nein Ja Nein Ja Nein
KB-Routen Nein Ja Nein Ja Nein
KB-Tags Nein Ja Nein Ja Nein
KB-Vorlagen Nein Ja Nein Ja Nein
KB-Themes Nein Ja Nein Ja Nein
Klassen Nein Ja Nein Ja Nein
K-Ansichten Nein Ja Nein Ja Nein
Nachrichten Ja Ja Ja Ja Ja
Hinweise Ja Ja Ja Ja Ja
Benachrichtigungen Nein Ja Nein Ja Nein

Beispiel:

Kustomer_read = glueContext.create_dynamic_frame.from_options( connection_type="kustomer", connection_options={ "connectionName": "connectionName", "ENTITY_NAME": "brands", "API_VERSION": "v1" }

Kustomer-Entitäts- und Felddetails

Weitere Informationen zu den Entitäten und Felddetails finden Sie unter:

Kustomer-API v1

Entität Feld Datentyp Unterstützte Operatoren
Marken id String N/A
Name String N/A
iconUrl String N/A
createdAt DateTime N/A
updatedAt DateTime N/A
modifiedAt DateTime N/A
default Boolesch N/A
Karten id String N/A
Name String N/A
createdAt DateTime N/A
updatedAt DateTime N/A
modifiedAt DateTime N/A
description String N/A
URL String N/A
contexts Auflisten N/A
Chat-Einstellungen id String N/A
settingsVersion Ganzzahl N/A
widgetType String N/A
version Ganzzahl N/A
teamName String N/A
greeting String N/A
autoreply String N/A
embedIconUrl String N/A
embedIconColor String N/A
fallbackEmailSubject String N/A
fallbackEmailIntroduction String N/A
aktiviert Boolesch N/A
outboundChatEnabled Boolesch N/A
updatedAt DateTime N/A
modifiedAt DateTime N/A
offhoursMessage String N/A
offhoursImageUrl String N/A
closableChat Boolesch N/A
noHistory Boolesch N/A
disableAttachments Boolesch N/A
volumeControl Struct N/A
singleSessonChat Boolesch N/A
showTypingIndicatorWeb Boolesch N/A
Unternehmen id String N/A
Name String =, !=, CONTAINS
createdAt DateTime N/A
updatedAt DateTime N/A
modifiedAt DateTime =, !=, >, >=, <, <=, BETWEEN
tags Auflisten N/A
domains Auflisten N/A
emails Auflisten N/A
phones Auflisten N/A
whatsapps Auflisten N/A
socials Auflisten N/A
urls Auflisten N/A
locations Auflisten N/A
roleGroupVersions Auflisten N/A
rev Ganzzahl N/A
Konversationen id String N/A
Name String =, !=, CONTAINS
preview String N/A
Kanäle Auflisten N/A
Status String =, !=, CONTAINS
messageCount Ganzzahl =, !=, >, >=, <, <=
noteCount Ganzzahl =, !=, >, >=, <, <=
satisfaction Ganzzahl =, !=, >, >=, <, <=
satisfactionLevel Struct N/A
createdAt DateTime =, !=, >, >=, <, <=, BETWEEN
updatedAt DateTime =, !=, >, >=, <, <=, BETWEEN
modifiedAt DateTime =, !=, >, >=, <, <=, BETWEEN
lastActivityAt DateTime N/A
Spam Boolesch N/A
ended Boolesch =, !=
endedAt DateTime =, !=, >, >=, <, <=, BETWEEN
endedReason String CONTAINS
endedByType String N/A
importedAt String N/A
tags Auflisten N/A
suggestedTags Auflisten N/A
sentiment String N/A
Voraussagen Auflisten N/A
suggestedShortcuts Auflisten N/A
firstMessageIn Struct N/A
firstMessageOut Struct N/A
lastMessageIn Struct N/A
lastMessageOut Struct N/A
lastMessageAt DateTime =, !=, >, >=, <, <=, BETWEEN
lastMessageUnrespondedTo Struct N/A
lastMessageUnrespondedToSinceLastDone Struct N/A
assignedUsers Auflisten N/A
assignedTeams Auflisten N/A
firstResponse Struct N/A
firstResponseSinceLastDone Struct N/A
lastResponse Struct N/A
firstDone Struct N/A
lastDone Struct N/A
direction String =, !=, CONTAINS
lastMessageDirection String N/A
outboundMessageCount Ganzzahl N/A
inboundMessageCount Ganzzahl N/A
rev Ganzzahl N/A
priority Ganzzahl =, !=, >, >=, <, <=
roleGroupVersions Auflisten N/A
accessOverride Auflisten N/A
assistant Struct N/A
phase String N/A
Fähigkeiten Auflisten N/A
matchedTimeBasedRules Auflisten N/A
Kunden id String N/A
Name String =, !=, CONTAINS
displayName String N/A
displayColor String N/A
displayIcon String N/A
externalId String =, !=, CONTAINS
externalIds Auflisten N/A
sharedExternalIds Auflisten N/A
emails Auflisten N/A
sharedEmails Auflisten N/A
phones Auflisten N/A
sharedPhones Auflisten N/A
whatsapps Auflisten N/A
facebookIds Auflisten N/A
instagramIds Auflisten N/A
socials Auflisten N/A
sharedSocials Auflisten N/A
urls Auflisten N/A
locations Auflisten N/A
activeUsers Auflisten N/A
watchers Auflisten N/A
recentLocation Struct N/A
locale String =, !=, CONTAINS
timeZone String N/A
gender String =, !=, CONTAINS
createdAt DateTime =, !=, >, >=, <, <=, BETWEEN
updatedAt DateTime =, !=, >, >=, <, <=, BETWEEN
modifiedAt DateTime =, !=, >, >=, <, <=, BETWEEN
lastActivityAt DateTime N/A
deleted Boolesch N/A
lastConversation Struct N/A
conversationCounts Struct N/A
preview Struct N/A
tags Auflisten N/A
progressiveStatus String =, !=, CONTAINS
verified Boolesch N/A
rev Ganzzahl N/A
recentItems Auflisten N/A
defaultLang String =, !=, CONTAINS
satisfactionLevel Struct N/A
roleGroupVersions Auflisten N/A
accessOverride Auflisten N/A
companyName String N/A
firstName String N/A
lastName String N/A
Kundensuchanfragen angeheftet id String N/A
-Suche String N/A
createdAt DateTime N/A
Kundensuchanfragen Positionen id String N/A
positions Auflisten N/A
children Auflisten N/A
createdAt DateTime N/A
updatedAt DateTime N/A
modifiedAt DateTime N/A
rev Ganzzahl N/A
E-Mail-Hooks id String N/A
description String N/A
debug Boolesch N/A
email String N/A
eventName String N/A
Titel String N/A
hash String N/A
Schlüssel String N/A
createdAt DateTime N/A
modifiedAt DateTime N/A
updatedAt DateTime N/A
Web-Hooks id String N/A
description String N/A
eventName String N/A
hash String N/A
URL String N/A
createdAt DateTime N/A
modifiedAt DateTime N/A
updatedAt DateTime N/A
Titel String N/A
version Ganzzahl N/A
debug Boolesch N/A
KB-Artikel id String N/A
hash String N/A
Titel String N/A
Quelle String N/A
Status String N/A
scope String N/A
createdAt DateTime N/A
updatedAt DateTime N/A
deleted Boolesch N/A
deletedAt DateTime N/A
modifiedAt DateTime N/A
publishedAt DateTime N/A
tags Auflisten N/A
categories Auflisten N/A
knowledgeBases Auflisten N/A
metaTitle String N/A
metaDescription String N/A
metaKeywords Auflisten N/A
langVersions Struct N/A
latestLangs Struct N/A
KB-Kategorien id String N/A
hash String N/A
createdAt DateTime N/A
modifiedAt DateTime N/A
updatedAt DateTime N/A
published Boolesch N/A
positions Auflisten N/A
categoryPositions Auflisten N/A
Root Boolesch N/A
langs Struct N/A
KB-Formulare id String N/A
Name String N/A
slug String N/A
hash String N/A
body String N/A
layout Auflisten N/A
layoutV2 Auflisten N/A
componentsV2 Struct N/A
conditions Struct N/A
advanced Boolesch N/A
createdAt DateTime N/A
updatedAt DateTime N/A
publishedAt DateTime N/A
modifiedAt String N/A
published Boolesch N/A
snippets Auflisten N/A
recaptcha Boolesch N/A
klass String N/A
channel String N/A
deflection Boolesch N/A
formHookEnabled Boolesch N/A
replyFrom String N/A
wcag Boolesch N/A
KB-Routen id String N/A
URL String N/A
routableType String N/A
routableId String N/A
createdAt DateTime N/A
updatedAt DateTime N/A
modifiedAt DateTime N/A
KB-Tags id String N/A
Name String N/A
createdAt DateTime N/A
updatedAt DateTime N/A
modifiedAt DateTime N/A
KB-Vorlagen id String N/A
Titel String N/A
description String N/A
beta Boolesch N/A
Manifest Struct N/A
jsxSnippets Auflisten N/A
images Auflisten N/A
version String N/A
createdAt DateTime N/A
updatedAt DateTime N/A
KB-Themes id String N/A
Name String N/A
aktiv Boolesch N/A
default Boolesch N/A
lastfileUpdatedAt DateTime N/A
benutzerdefiniert Boolesch N/A
Status String N/A
templateVersionId String N/A
templateTitle String N/A
templateVersion String N/A
Manifest Struct N/A
configSnippets Auflisten N/A
jsxSnippets Auflisten N/A
createdAt DateTime N/A
updatedAt DateTime N/A
modifiedAt DateTime N/A
rev Ganzzahl N/A
Klassen id String N/A
Name String N/A
icon String N/A
color String N/A
appDisabled Boolesch N/A
Status String N/A
updatedAt DateTime N/A
createdAt DateTime N/A
s3DataUrl String N/A
K-Ansichten id String N/A
Ressource String N/A
Vorlage String N/A
context String N/A
meta Struct N/A
appDisabled Boolesch N/A
aktiviert Boolesch N/A
advanced Boolesch N/A
layout Auflisten N/A
components Struct N/A
conditions Struct N/A
rev Ganzzahl N/A
createdAt DateTime N/A
modifiedAt DateTime N/A
updatedAt DateTime N/A
Benachrichtigungen id String N/A
Name String N/A
Status String N/A
event Struct N/A
createdAt DateTime N/A
updatedAt DateTime N/A
Nachrichten id String N/A
externalId String N/A
channel String =, !=, CONTAINS
App String N/A
size Ganzzahl =, !=, >, >=, <, <=
direction String =, !=, CONTAINS
preview String N/A
subject String N/A
meta Struct N/A
Status String =, !=, CONTAINS
directionType String =, !=, CONTAINS
assignedTeams Auflisten N/A
assignedUsers Auflisten N/A
errorAt DateTime =, !=, >, >=, <, <=, BETWEEN
auto Boolesch =, !=
sentAt DateTime =, !=, >, >=, <, <=, BETWEEN
createdAt DateTime =, !=, >, >=, <, <=, BETWEEN
updatedAt DateTime N/A
modifiedAt DateTime N/A
redacted Boolesch N/A
createdByTeams Auflisten N/A
rev Ganzzahl N/A
reactions Auflisten N/A
intentDetections Auflisten N/A
Hinweise id String N/A
body String CONTAINS
createdAt DateTime =, !=, >, >=, <, <=, BETWEEN
updatedAt DateTime =, !=, >, >=, <, <=, BETWEEN
modifiedAt DateTime =, !=, >, >=, <, <=, BETWEEN
createdByTeams Auflisten N/A

Partitionieren von Abfragen

Feldbasierte Partitionierung

Sie können die zusätzlichen Spark-Optionen PARTITION_FIELD, LOWER_BOUND, UPPER_BOUND und NUM_PARTITIONS angeben, wenn Sie Parallelität in Spark nutzen möchten. Mit diesen Parametern wird 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.

    Für das DateTime-Feld akzeptieren wir den Wert im ISO-Format.

    Beispiel für gültigen Wert:

    "2023-01-15T11:18:39.205Z"
  • UPPER_BOUND: ein exklusiver Obergrenzwert des ausgewählten Partitionsfelds.

  • NUM_PARTITIONS: die Anzahl der Partitionen.

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

Entity-Name Partitionieren von Feldern Datentyp
Unternehmen modifiedAt DateTime
Konversationen createdAt, updatedAt, modifiedAt, endedAt, lastMessageAt DateTime
messageCount, noteCount BigInteger
priority Ganzzahl
Kunden createdAt, updatedAt, modifiedAt DateTime
Nachrichten errorAt, sentAt, createdAt DateTime
size BigInteger
Hinweise createdAt, updatedAt, modifiedAt DateTime

Beispiel:

Kustomer_read = glueContext.create_dynamic_frame.from_options( connection_type="kustomer", connection_options={ "connectionName": "connectionName", "ENTITY_NAME": "conversation", "API_VERSION": "v1", "PARTITION_FIELD": "createdAt" "LOWER_BOUND": "2023-01-15T11:18:39.205Z" "UPPER_BOUND": "2023-02-15T11:18:39.205Z" "NUM_PARTITIONS": "2" }