EventType
Source:
src/AWS/FraudDetector/EventType.ts
An Amazon Fraud Detector event type — the schema of an event (its variables, labels, and entity types) that detectors evaluate. Event types are cheap metadata objects.
Creating an Event Type
Section titled “Creating an Event Type”const purchase = yield* FraudDetector.EventType("purchase", { eventVariables: ["email", "ip"], entityTypes: ["customer"], labels: ["fraud", "legit"],});