Create an outcome
You can create outcomes in the Amazon Fraud Detector console, using the put-outcome
Create an outcome using the Amazon Fraud Detector console
To create one or more outcomes,
-
Open the AWS Management Console
and sign in to your account. Navigate to Amazon Fraud Detector. -
In the left navigation pane, choose Outcomes.
-
In the Outcomes page, choose Create.
-
In your New outcome page, enter the following:
-
In the Outcome name, enter a name for your outcome.
-
In the Outcome description, optionally, enter a description.
-
-
Choose Save outcome.
-
Repeat steps 2 to 5 for creating additional outcomes.
Create an outcome using the AWS SDK for Python (Boto3)
The following example uses the PutOutcome
API to create three outcomes. They are verify_customer
, review
, and approve
.
After the outcomes are created, you can assign them to rules.
import boto3 fraudDetector = boto3.client('frauddetector') fraudDetector.put_outcome( name = 'verify_customer', description = 'this outcome initiates a verification workflow' ) fraudDetector.put_outcome( name = 'review', description = 'this outcome sidelines event for review' ) fraudDetector.put_outcome( name = 'approve', description = 'this outcome approves the event' )