libZSservicesZSamazonka-wafZSamazonka-waf
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.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

  • action :: ChangeAction

    Specify INSERT to add a Predicate to a Rule. Use DELETE to remove a Predicate from a Rule.

  • predicate :: Predicate

    The ID of the Predicate (such as an IPSet) that you want to add to a Rule.

Instances

Instances details
Eq RuleUpdate Source # 
Instance details

Defined in Amazonka.WAF.Types.RuleUpdate

Read RuleUpdate Source # 
Instance details

Defined in Amazonka.WAF.Types.RuleUpdate

Show RuleUpdate Source # 
Instance details

Defined in Amazonka.WAF.Types.RuleUpdate

Generic RuleUpdate Source # 
Instance details

Defined in Amazonka.WAF.Types.RuleUpdate

Associated Types

type Rep RuleUpdate :: Type -> Type #

NFData RuleUpdate Source # 
Instance details

Defined in Amazonka.WAF.Types.RuleUpdate

Methods

rnf :: RuleUpdate -> () #

Hashable RuleUpdate Source # 
Instance details

Defined in Amazonka.WAF.Types.RuleUpdate

ToJSON RuleUpdate Source # 
Instance details

Defined in Amazonka.WAF.Types.RuleUpdate

type Rep RuleUpdate Source # 
Instance details

Defined in Amazonka.WAF.Types.RuleUpdate

type Rep RuleUpdate = D1 ('MetaData "RuleUpdate" "Amazonka.WAF.Types.RuleUpdate" "libZSservicesZSamazonka-wafZSamazonka-waf" 'False) (C1 ('MetaCons "RuleUpdate'" 'PrefixI 'True) (S1 ('MetaSel ('Just "action") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ChangeAction) :*: S1 ('MetaSel ('Just "predicate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Predicate)))

newRuleUpdate Source #

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.