Skip to content

Send Event

frauddetector_send_event R Documentation

Stores events in Amazon Fraud Detector without generating fraud predictions for those events

Description

Stores events in Amazon Fraud Detector without generating fraud predictions for those events. For example, you can use send_event to upload a historical dataset, which you can then later use to train a model.

Usage

frauddetector_send_event(eventId, eventTypeName, eventTimestamp,
  eventVariables, assignedLabel, labelTimestamp, entities)

Arguments

eventId

[required] The event ID to upload.

eventTypeName

[required] The event type name of the event.

eventTimestamp

[required] The timestamp that defines when the event under evaluation occurred. The timestamp must be specified using ISO 8601 standard in UTC.

eventVariables

[required] Names of the event type's variables you defined in Amazon Fraud Detector to represent data elements and their corresponding values for the event you are sending for evaluation.

assignedLabel

The label to associate with the event. Required if specifying labelTimestamp.

labelTimestamp

The timestamp associated with the label. Required if specifying assignedLabel.

entities

[required] An array of entities.

Value

An empty list.

Request syntax

svc$send_event(
  eventId = "string",
  eventTypeName = "string",
  eventTimestamp = "string",
  eventVariables = list(
    "string"
  ),
  assignedLabel = "string",
  labelTimestamp = "string",
  entities = list(
    list(
      entityType = "string",
      entityId = "string"
    )
  )
)