amazonka-waf-2.0: Amazon WAF 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.WAF.Types.RegexPatternSetUpdate

Description

 
Synopsis

Documentation

data RegexPatternSetUpdate 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.

In an UpdateRegexPatternSet request, RegexPatternSetUpdate specifies whether to insert or delete a RegexPatternString and includes the settings for the RegexPatternString.

See: newRegexPatternSetUpdate smart constructor.

Constructors

RegexPatternSetUpdate' 

Fields

  • action :: ChangeAction

    Specifies whether to insert or delete a RegexPatternString.

  • regexPatternString :: Text

    Specifies the regular expression (regex) pattern that you want AWS WAF to search for, such as B[a@]dB[o0]t.

Instances

Instances details
ToJSON RegexPatternSetUpdate Source # 
Instance details

Defined in Amazonka.WAF.Types.RegexPatternSetUpdate

Generic RegexPatternSetUpdate Source # 
Instance details

Defined in Amazonka.WAF.Types.RegexPatternSetUpdate

Associated Types

type Rep RegexPatternSetUpdate :: Type -> Type #

Read RegexPatternSetUpdate Source # 
Instance details

Defined in Amazonka.WAF.Types.RegexPatternSetUpdate

Show RegexPatternSetUpdate Source # 
Instance details

Defined in Amazonka.WAF.Types.RegexPatternSetUpdate

NFData RegexPatternSetUpdate Source # 
Instance details

Defined in Amazonka.WAF.Types.RegexPatternSetUpdate

Methods

rnf :: RegexPatternSetUpdate -> () #

Eq RegexPatternSetUpdate Source # 
Instance details

Defined in Amazonka.WAF.Types.RegexPatternSetUpdate

Hashable RegexPatternSetUpdate Source # 
Instance details

Defined in Amazonka.WAF.Types.RegexPatternSetUpdate

type Rep RegexPatternSetUpdate Source # 
Instance details

Defined in Amazonka.WAF.Types.RegexPatternSetUpdate

type Rep RegexPatternSetUpdate = D1 ('MetaData "RegexPatternSetUpdate" "Amazonka.WAF.Types.RegexPatternSetUpdate" "amazonka-waf-2.0-7D7QOxIEZeF1ayfX9AzEZC" 'False) (C1 ('MetaCons "RegexPatternSetUpdate'" 'PrefixI 'True) (S1 ('MetaSel ('Just "action") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ChangeAction) :*: S1 ('MetaSel ('Just "regexPatternString") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newRegexPatternSetUpdate Source #

Create a value of RegexPatternSetUpdate 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:RegexPatternSetUpdate', regexPatternSetUpdate_action - Specifies whether to insert or delete a RegexPatternString.

$sel:regexPatternString:RegexPatternSetUpdate', regexPatternSetUpdate_regexPatternString - Specifies the regular expression (regex) pattern that you want AWS WAF to search for, such as B[a@]dB[o0]t.

regexPatternSetUpdate_action :: Lens' RegexPatternSetUpdate ChangeAction Source #

Specifies whether to insert or delete a RegexPatternString.

regexPatternSetUpdate_regexPatternString :: Lens' RegexPatternSetUpdate Text Source #

Specifies the regular expression (regex) pattern that you want AWS WAF to search for, such as B[a@]dB[o0]t.