FraudDetector.Client.
delete_rule
(**kwargs)¶Deletes the rule. You cannot delete a rule if it is used by an ACTIVE
or INACTIVE
detector version.
When you delete a rule, Amazon Fraud Detector permanently deletes that rule and the data is no longer stored in Amazon Fraud Detector.
See also: AWS API Documentation
Request Syntax
response = client.delete_rule(
rule={
'detectorId': 'string',
'ruleId': 'string',
'ruleVersion': 'string'
}
)
[REQUIRED]
A rule.
The detector for which the rule is associated.
The rule ID.
The rule version.
{}
Response Structure
Exceptions
FraudDetector.Client.exceptions.ConflictException
FraudDetector.Client.exceptions.ValidationException
FraudDetector.Client.exceptions.InternalServerException
FraudDetector.Client.exceptions.ThrottlingException
FraudDetector.Client.exceptions.AccessDeniedException