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.WebACLUpdate

Description

 
Synopsis

Documentation

data WebACLUpdate 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 whether to insert a Rule into or delete a Rule from a WebACL.

See: newWebACLUpdate smart constructor.

Constructors

WebACLUpdate' 

Fields

  • action :: ChangeAction

    Specifies whether to insert a Rule into or delete a Rule from a WebACL.

  • activatedRule :: ActivatedRule

    The ActivatedRule object in an UpdateWebACL request 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 WebACLUpdate Source # 
Instance details

Defined in Amazonka.WAFRegional.Types.WebACLUpdate

Read WebACLUpdate Source # 
Instance details

Defined in Amazonka.WAFRegional.Types.WebACLUpdate

Show WebACLUpdate Source # 
Instance details

Defined in Amazonka.WAFRegional.Types.WebACLUpdate

Generic WebACLUpdate Source # 
Instance details

Defined in Amazonka.WAFRegional.Types.WebACLUpdate

Associated Types

type Rep WebACLUpdate :: Type -> Type #

NFData WebACLUpdate Source # 
Instance details

Defined in Amazonka.WAFRegional.Types.WebACLUpdate

Methods

rnf :: WebACLUpdate -> () #

Hashable WebACLUpdate Source # 
Instance details

Defined in Amazonka.WAFRegional.Types.WebACLUpdate

ToJSON WebACLUpdate Source # 
Instance details

Defined in Amazonka.WAFRegional.Types.WebACLUpdate

type Rep WebACLUpdate Source # 
Instance details

Defined in Amazonka.WAFRegional.Types.WebACLUpdate

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

newWebACLUpdate Source #

Create a value of WebACLUpdate 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:WebACLUpdate', webACLUpdate_action - Specifies whether to insert a Rule into or delete a Rule from a WebACL.

$sel:activatedRule:WebACLUpdate', webACLUpdate_activatedRule - The ActivatedRule object in an UpdateWebACL request 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).

webACLUpdate_action :: Lens' WebACLUpdate ChangeAction Source #

Specifies whether to insert a Rule into or delete a Rule from a WebACL.

webACLUpdate_activatedRule :: Lens' WebACLUpdate ActivatedRule Source #

The ActivatedRule object in an UpdateWebACL request 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).