libZSservicesZSamazonka-waf-regionalZSamazonka-waf-regional
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.WAFRegional.Types.RuleGroupUpdate

Description

 
Synopsis

Documentation

data RuleGroupUpdate 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 an ActivatedRule and indicates whether you want to add it to a RuleGroup or delete it from a RuleGroup.

See: newRuleGroupUpdate smart constructor.

Constructors

RuleGroupUpdate' 

Fields

  • action :: ChangeAction

    Specify INSERT to add an ActivatedRule to a RuleGroup. Use DELETE to remove an ActivatedRule from a RuleGroup.

  • activatedRule :: ActivatedRule

    The ActivatedRule object specifies a Rule that you want to insert or delete, the priority of the Rule in the WebACL, and the action that you want AWS WAF to take when a web request matches the Rule (ALLOW, BLOCK, or COUNT).

Instances

Instances details
Eq RuleGroupUpdate Source # 
Instance details

Defined in Amazonka.WAFRegional.Types.RuleGroupUpdate

Read RuleGroupUpdate Source # 
Instance details

Defined in Amazonka.WAFRegional.Types.RuleGroupUpdate

Show RuleGroupUpdate Source # 
Instance details

Defined in Amazonka.WAFRegional.Types.RuleGroupUpdate

Generic RuleGroupUpdate Source # 
Instance details

Defined in Amazonka.WAFRegional.Types.RuleGroupUpdate

Associated Types

type Rep RuleGroupUpdate :: Type -> Type #

NFData RuleGroupUpdate Source # 
Instance details

Defined in Amazonka.WAFRegional.Types.RuleGroupUpdate

Methods

rnf :: RuleGroupUpdate -> () #

Hashable RuleGroupUpdate Source # 
Instance details

Defined in Amazonka.WAFRegional.Types.RuleGroupUpdate

ToJSON RuleGroupUpdate Source # 
Instance details

Defined in Amazonka.WAFRegional.Types.RuleGroupUpdate

type Rep RuleGroupUpdate Source # 
Instance details

Defined in Amazonka.WAFRegional.Types.RuleGroupUpdate

type Rep RuleGroupUpdate = D1 ('MetaData "RuleGroupUpdate" "Amazonka.WAFRegional.Types.RuleGroupUpdate" "libZSservicesZSamazonka-waf-regionalZSamazonka-waf-regional" 'False) (C1 ('MetaCons "RuleGroupUpdate'" 'PrefixI 'True) (S1 ('MetaSel ('Just "action") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ChangeAction) :*: S1 ('MetaSel ('Just "activatedRule") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ActivatedRule)))

newRuleGroupUpdate Source #

Create a value of RuleGroupUpdate 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:RuleGroupUpdate', ruleGroupUpdate_action - Specify INSERT to add an ActivatedRule to a RuleGroup. Use DELETE to remove an ActivatedRule from a RuleGroup.

$sel:activatedRule:RuleGroupUpdate', ruleGroupUpdate_activatedRule - The ActivatedRule object specifies a Rule that you want to insert or delete, the priority of the Rule in the WebACL, and the action that you want AWS WAF to take when a web request matches the Rule (ALLOW, BLOCK, or COUNT).

ruleGroupUpdate_action :: Lens' RuleGroupUpdate ChangeAction Source #

Specify INSERT to add an ActivatedRule to a RuleGroup. Use DELETE to remove an ActivatedRule from a RuleGroup.

ruleGroupUpdate_activatedRule :: Lens' RuleGroupUpdate ActivatedRule Source #

The ActivatedRule object specifies a Rule that you want to insert or delete, the priority of the Rule in the WebACL, and the action that you want AWS WAF to take when a web request matches the Rule (ALLOW, BLOCK, or COUNT).