Create an entity type - Amazon Fraud Detector

Create an entity type

An entity represents who is performing the 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 a 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. The example creates the entity type sample_customer. You can then 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' )