FraudDetector.Client.
put_event_type
(**kwargs)¶Creates or updates an event type. An event is a business activity that is evaluated for fraud risk. With Amazon Fraud Detector, you generate fraud predictions for events. An event type defines the structure for an event sent to Amazon Fraud Detector. This includes the variables sent as part of the event, the entity performing the event (such as a customer), and the labels that classify the event. Example event types include online payment transactions, account registrations, and authentications.
See also: AWS API Documentation
Request Syntax
response = client.put_event_type(
name='string',
description='string',
eventVariables=[
'string',
],
labels=[
'string',
],
entityTypes=[
'string',
],
eventIngestion='ENABLED'|'DISABLED',
tags=[
{
'key': 'string',
'value': 'string'
},
]
)
[REQUIRED]
The name.
[REQUIRED]
The event type variables.
The event type labels.
[REQUIRED]
The entity type for the event type. Example entity types: customer, merchant, account.
A collection of key and value pairs.
A key and value pair.
A tag key.
A value assigned to a tag key.
dict
Response Syntax
{}
Response Structure
Exceptions
FraudDetector.Client.exceptions.ValidationException
FraudDetector.Client.exceptions.InternalServerException
FraudDetector.Client.exceptions.ThrottlingException
FraudDetector.Client.exceptions.AccessDeniedException
FraudDetector.Client.exceptions.ConflictException