FraudDetector.Client.send_event(**kwargs)¶Stores events in Amazon Fraud Detector without generating fraud predictions for those events. For example, you can use SendEvent to upload a historical dataset, which you can then later use to train a model.
See also: AWS API Documentation
Request Syntax
response = client.send_event(
eventId='string',
eventTypeName='string',
eventTimestamp='string',
eventVariables={
'string': 'string'
},
assignedLabel='string',
labelTimestamp='string',
entities=[
{
'entityType': 'string',
'entityId': 'string'
},
]
)
[REQUIRED]
The event ID to upload.
[REQUIRED]
The event type name of the event.
[REQUIRED]
The timestamp that defines when the event under evaluation occurred. The timestamp must be specified using ISO 8601 standard in UTC.
[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.
labelTimestamp .assignedLabel .[REQUIRED]
An array of entities.
The entity details.
The entity type.
The entity ID. If you do not know the entityId , you can pass unknown , which is areserved string literal.
dict
Response Syntax
{}
Response Structure
Exceptions
FraudDetector.Client.exceptions.ValidationExceptionFraudDetector.Client.exceptions.ConflictExceptionFraudDetector.Client.exceptions.ResourceNotFoundExceptionFraudDetector.Client.exceptions.InternalServerExceptionFraudDetector.Client.exceptions.ThrottlingExceptionFraudDetector.Client.exceptions.AccessDeniedException