| 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.WAF.Types.RuleUpdate
Description
Synopsis
Documentation
data RuleUpdate Source #
This is AWS WAF Classic documentation. For more information, see AWS WAF Classic in the developer guide.
For the latest version of AWS WAF, use the AWS WAFV2 API and see the AWS WAF Developer Guide. With the latest version, AWS WAF has a single set of endpoints for regional and global use.
Specifies a Predicate (such as an IPSet) and indicates whether you
want to add it to a Rule or delete it from a Rule.
See: newRuleUpdate smart constructor.
Constructors
| RuleUpdate' | |
Fields
| |
Instances
Create a value of RuleUpdate 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:action:RuleUpdate', ruleUpdate_action - Specify INSERT to add a Predicate to a Rule. Use DELETE to
remove a Predicate from a Rule.
$sel:predicate:RuleUpdate', ruleUpdate_predicate - The ID of the Predicate (such as an IPSet) that you want to add to a
Rule.
ruleUpdate_action :: Lens' RuleUpdate ChangeAction Source #
Specify INSERT to add a Predicate to a Rule. Use DELETE to
remove a Predicate from a Rule.
ruleUpdate_predicate :: Lens' RuleUpdate Predicate Source #
The ID of the Predicate (such as an IPSet) that you want to add to a
Rule.