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.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
Eq RegexPatternSetUpdate Source # 
Instance details

Defined in Amazonka.WAF.Types.RegexPatternSetUpdate

Read RegexPatternSetUpdate Source # 
Instance details

Defined in Amazonka.WAF.Types.RegexPatternSetUpdate

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

NFData RegexPatternSetUpdate Source # 
Instance details

Defined in Amazonka.WAF.Types.RegexPatternSetUpdate

Methods

rnf :: RegexPatternSetUpdate -> () #

Hashable RegexPatternSetUpdate Source # 
Instance details

Defined in Amazonka.WAF.Types.RegexPatternSetUpdate

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