amazonka-waf-regional-2.0: Amazon WAF Regional SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

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
ToJSON 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 #

Read WebACLUpdate Source # 
Instance details

Defined in Amazonka.WAFRegional.Types.WebACLUpdate

Show WebACLUpdate Source # 
Instance details

Defined in Amazonka.WAFRegional.Types.WebACLUpdate

NFData WebACLUpdate Source # 
Instance details

Defined in Amazonka.WAFRegional.Types.WebACLUpdate

Methods

rnf :: WebACLUpdate -> () #

Eq WebACLUpdate Source # 
Instance details

Defined in Amazonka.WAFRegional.Types.WebACLUpdate

Hashable 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" "amazonka-waf-regional-2.0-83dY3vKOuQzAAW7M6EmzRI" '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:

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