创建结果 - Amazon Fraud Detector

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

创建结果

您可以在 Amazon Fra ud Detector 控制台中创建结果,使用推定结果命令,使用 PutOutcomeAPI 或使用。 适用于 Python (Boto3) 的 AWS SDK

使用 Amazon Fraud Detector 控制台创建结果

要创造一个或多个结果,
  1. 打开 AWS 管理控制台,登录您的账户。导航到亚马逊 Fraud Detector。

  2. 在左侧导航窗格中,选择结果

  3. 结果页面中,选择创建

  4. 在 “新结果” 页面中,输入以下内容:

    1. 结果名称中,输入结果的名称。

    2. 结果描述中,可以选择输入描述。

  5. 选择保存结果

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

使用创建结果 适用于 Python (Boto3) 的 AWS SDK

以下示例使用 PutOutcome API 创建了三个结果。它们是verify_customerreview、和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' )