Bootstrap Event Type
A 4-step recipe with Amazon Fraud Detector. We can help you get access.
Recipe · 4 steps
Bootstrap Event Type
Stand up the labels and event type schema that detectors and models depend on.
- Create the label used to classify an event as fraudulent so the event type can reference it.
- Create the label used to classify an event as legitimate so the event type can reference it.
- Create the event type, referencing the two labels just created along with its event variables and entity types.
- Read the event type back by name to confirm it was registered with the expected schema.
What you'll need to have ready
- eventTypeName: The name of the event type to create (e.g. "transaction").
- eventTypeDescription: A human readable description of the event type.
- fraudLabel: The name of the label that marks an event as fraudulent (e.g. "fraud").
- legitLabel: The name of the label that marks an event as legitimate (e.g. "legit").
- eventVariables: The list of event variable names that make up the event schema.
- entityTypes: The list of entity type names associated with the event type.
For your developer
Arazzo workflow amazon-fraud-detector:bootstrap-event-type, 4 operations: PutLabel → PutLabel → PutEventType → GetEventTypes. Specs on APIs.io.