Delete a list
You can delete a list that isn't used in any rule. When you delete a list, Amazon Fraud Detector permanently deletes that list and all entries in the list.
You can delete a list in the Amazon Fraud Detector console, using the API, using the AWS CLI or the AWS SDK.
Delete list using the Amazon Fraud Detector console
To delete a list
-
Open the AWS Management Console
and sign in to your account. Navigate to Amazon Fraud Detector. -
In the left navigation pane, choose Lists
-
In the Lists page, select the list you want to delete.
-
In your list details page, choose Actions and select Delete list.
-
Choose Delete list.
Delete list using the AWS SDK for Python (Boto3)
The following example uses the DeleteList API operation to delete
allow_email_ids
.
import boto3 fraudDetector = boto3.client('frauddetector') fraudDetector.delete_list( name = 'allow_email_ids' )