Select your cookie preferences

We use essential cookies and similar tools that are necessary to provide our site and services. We use performance cookies to collect anonymous statistics, so we can understand how customers use our site and make improvements. Essential cookies cannot be deactivated, but you can choose “Customize” or “Decline” to decline performance cookies.

If you agree, AWS and approved third parties will also use cookies to provide useful site features, remember your preferences, and display relevant content, including relevant advertising. To accept or decline all non-essential cookies, choose “Accept” or “Decline.” To make more detailed choices, choose “Customize.”

Update label

Focus mode
Update label - Amazon Fraud Detector

If your event dataset is stored with Amazon Fraud Detector, you might need to add or update labels for the stored events, such as when you perform an offline fraud investigation for an event and want to close the machine learning feed back loop.

You can add or update labels for stored events using the update-event-label command, using the UpdateEventLabel API, or using the AWS SDK for Python (Boto3)

The following AWS SDK for Python (Boto3) example code adds a label fraud that is associated with the event type registration using the UpdateEventLabel API.

import boto3 fraudDetector = boto3.client('frauddetector') fraudDetector.update_event_label( eventId = '802454d3-f7d8-482d-97e8-c4b6db9a0428', eventTypeName = 'registration', assignedLabel = 'fraud', labelTimestamp = '2020-07-13T23:18:21Z' )
PrivacySite termsCookie preferences
© 2025, Amazon Web Services, Inc. or its affiliates. All rights reserved.