| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.FraudDetector.DeleteRule
Description
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.
Synopsis
Creating a Request
data DeleteRule Source #
See: newDeleteRule smart constructor.
Constructors
| DeleteRule' | |
Instances
Arguments
| :: Rule | |
| -> DeleteRule |
Create a value of DeleteRule with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:rule:DeleteRule', deleteRule_rule - Undocumented member.
Request Lenses
deleteRule_rule :: Lens' DeleteRule Rule Source #
Undocumented member.
Destructuring the Response
data DeleteRuleResponse Source #
See: newDeleteRuleResponse smart constructor.
Constructors
| DeleteRuleResponse' | |
Fields
| |
Instances
newDeleteRuleResponse Source #
Arguments
| :: Int | |
| -> DeleteRuleResponse |
Create a value of DeleteRuleResponse with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:httpStatus:DeleteRuleResponse', deleteRuleResponse_httpStatus - The response's http status code.
Response Lenses
deleteRuleResponse_httpStatus :: Lens' DeleteRuleResponse Int Source #
The response's http status code.