

截至 2025 年 11 月 7 日，亚马逊 Fraud Detector 不再向新客户开放。要获得与 Amazon Fraud Detector 类似的功能 SageMaker，请浏览亚马逊 AutoGluon、和 AWS WAF。

本文属于机器翻译版本。若本译文内容与英语原文存在差异，则一律以英文原文为准。

# 创建结果
<a name="create-an-outcome"></a>

您可以在 Amazon Fra [ud Detector 控制台中创建结果，使用推定结果](https://awscli.amazonaws.com/v2/documentation/api/latest/reference/frauddetector/put-outcome.html)命令，使用 [PutOutcome](https://docs.aws.amazon.com/frauddetector/latest/api/API_PutOutcome.html)API 或使用。 适用于 Python (Boto3) 的 AWS SDK

## 使用 Amazon Fraud Detector 控制台创建结果
<a name="create-an-outcome-console"></a>

**要创造一个或多个结果，**

1. 打开 [AWS 管理控制台](https://console.aws.amazon.com/)，登录您的账户。导航到亚马逊 Fraud Detector。

1. 在左侧导航窗格中，选择**结果**。

1. 在**结果**页面中，选择**创建**。

1. 在 “**新结果**” 页面中，输入以下内容：

   1. 在**结果名称**中，输入结果的名称。

   1. 在**结果描述**中，可以选择输入描述。

1. 选择**保存结果**。

1. 重复步骤 2 到 5 以创建其他结果。

## 使用创建结果 适用于 Python (Boto3) 的 AWS SDK
<a name="create-an-outcome-using-the-aws-python-sdk"></a>

以下示例使用 `PutOutcome` API 创建了三个结果。它们是`verify_customer``review`、和`approve`。创建结果后，您可以将其分配给规则。

```
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'
)
```