Create an entity type - Amazon Fraud Detector

Create an entity type

An entity represents a person or thing that's active in an event. As part of a fraud prediction, you can pass the entity ID to indicate the specific entity who performed the event.

An entity type classifies the entity. Example classifications include customer, merchant, or account.

To create an entity type using the AWS Console, open the AWS Console and sign in to your account. Navigate to Amazon Fraud Detector and in the left navigation pane, choose Entities, then choose Create.

Create an entity type using the AWS SDK for Python (Boto3)

The following example shows a request for the PutEntityType API. In the example, the entity type that's called sample_customer is created. You can associate this entity with an event type to describe who is performing the event.

import boto3 fraudDetector = boto3.client('frauddetector') fraudDetector.put_entity_type( name = 'sample_customer', description = 'sample customer entity type' )