

Amazon Fraud Detector は、2025 年 11 月 7 日をもって新規顧客に公開されなくなりました。Amazon Fraud Detector と同様の機能については、Amazon SageMaker、AutoGluon、および を参照してください AWS WAF。

翻訳は機械翻訳により提供されています。提供された翻訳内容と英語版の間で齟齬、不一致または矛盾がある場合、英語版が優先します。

# 結果
<a name="outcomes"></a>

結果は、不正予測の結果です。考えられる不正予測結果ごとに結果を作成できます。例えば、結果でリスクレベル (high\$1risk、medium\$1risk、low\$1risk) またはアクション (承認、レビュー) を表すことができます。結果を作成したら、ルールに 1 つ以上の結果を追加できます。[GetEventPrediction](https://docs.aws.amazon.com/frauddetector/latest/api/API_GetEventPrediction.html) レスポンスの一部として、Amazon Fraud Detector は一致したルールに対して定義された結果を返します。

# 結果の作成
<a name="create-an-outcome"></a>

Amazon Fraud Detector コンソール、[put-outcome](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、または を使用して結果を作成できます AWS SDK for Python (Boto3)。

## Amazon Fraud Detector コンソールを使用して結果を作成する
<a name="create-an-outcome-console"></a>

**1 つ以上の結果を作成するには、**

1. [AWS マネジメントコンソール](https://console.aws.amazon.com/)を開き、アカウントにサインインします。Amazon Fraud Detector に移動します。

1. 左側のナビゲーションペインで、**結果**を選択します。

1. **結果**ページで、**作成**を選択します。

1. **新しい結果**ページで、次のように入力します。

   1. **結果名**に、結果の名前を入力します。

   1. **結果の説明**に、オプションで説明を入力します。

1. [**結果の保存**] を選択します。

1. 追加の結果を作成するには、ステップ 2 ～ 5 を繰り返します。

## を使用して結果を作成する AWS SDK for Python (Boto3)
<a name="create-an-outcome-using-the-aws-python-sdk"></a>

次の例では、 `PutOutcome` API を使用して 3 つの結果を作成します。これらは `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'
)
```

# 結果の削除
<a name="delete-outcome"></a>

ルールバージョンで使用されている結果を削除することはできません。

結果を削除すると、Amazon Fraud Detector はその結果を完全に削除し、データは Amazon Fraud Detector に保存されなくなります。

Amazon Fraud Detector コンソール、[delete-outcome](https://awscli.amazonaws.com/v2/documentation/api/latest/reference/frauddetector/delete-outcome.html) コマンド、[DeleteOutcome](https://docs.aws.amazon.com/frauddetector/latest/api/API_DeleteOutcome.html) API、または を使用して結果を削除できます。 AWS SDK for Python (Boto3)

## Amazon Fraud Detector コンソールで結果を削除する
<a name="delete-outcome-console"></a>

**結果を削除するには**

1. にサインイン AWS マネジメントコンソール し、[https://console.aws.amazon.com/frauddetector](https://console.aws.amazon.com/frauddetector) で Amazon Fraud Detector コンソールを開きます。

1. Amazon Fraud Detector コンソールの左側のナビゲーションペインで、[**リソース**] を選択してから、[**結果**] をクリックします。

1. 削除する結果を選択します。

1. **[アクション]** を選択し、**[削除]** を選択します。

1. 結果名を入力してから、[**結果の削除**] を選択します。

## を使用して結果を削除する AWS SDK for Python (Boto3)
<a name="delete-outcome-using-the-aws-python-sdk"></a>

次の例では、[DeleteOutcome](https://docs.aws.amazon.com/frauddetector/latest/api/API_DeleteOutcome.html) API を使用して`verify_customer`結果を削除します。結果を削除すると、ルールに割り当てることができなくなります。

```
import boto3
fraudDetector = boto3.client('frauddetector')

fraudDetector.delete_outcome(
name = 'verify_customer'
)
```