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 |
Documentation
data RuleActionOverride Source #
Action setting to use in the place of a rule action that is configured inside the rule group. You specify one override for each rule whose action you want to change.
You can use overrides for testing, for example you can override all of
rule actions to Count
and then monitor the resulting count metrics to
understand how the rule group would handle your web traffic. You can
also permanently override some or all actions, to modify how the rule
group manages your web traffic.
See: newRuleActionOverride
smart constructor.
RuleActionOverride' | |
|
Instances
newRuleActionOverride Source #
:: Text | |
-> RuleAction | |
-> RuleActionOverride |
Create a value of RuleActionOverride
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:name:RuleActionOverride'
, ruleActionOverride_name
- The name of the rule to override.
$sel:actionToUse:RuleActionOverride'
, ruleActionOverride_actionToUse
- The override action to use, in place of the configured action of the
rule in the rule group.
ruleActionOverride_name :: Lens' RuleActionOverride Text Source #
The name of the rule to override.
ruleActionOverride_actionToUse :: Lens' RuleActionOverride RuleAction Source #
The override action to use, in place of the configured action of the rule in the rule group.