

自 2025 年 11 月 7 日起，Amazon Fraud Detector 不再向新客戶開放。對於類似 Amazon Fraud Detector 的功能，請探索 Amazon SageMaker、AutoGluon 和 AWS WAF。

本文為英文版的機器翻譯版本，如內容有任何歧義或不一致之處，概以英文版為準。

# 刪除結果
<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 或使用 適用於 Python (Boto3) 的 AWS SDK

## 在 Amazon Fraud Detector 主控台中刪除結果
<a name="delete-outcome-console"></a>

**刪除結果**

1. 登入 AWS 管理主控台 並開啟 Amazon Fraud Detector 主控台，網址為 [https://console.aws.amazon.com/frauddetector](https://console.aws.amazon.com/frauddetector)：//。

1. 在 Amazon Fraud Detector 主控台的左側導覽窗格中，選擇**資源**，然後選擇**結果**。

1. 選擇您要刪除的結果。

1. 選擇**動作**，然後選擇**刪除**。

1. 輸入結果名稱，然後選擇**刪除結果**。

## 使用 刪除結果 適用於 Python (Boto3) 的 AWS SDK
<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'
)
```