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

Description

 
Synopsis

Documentation

data RegexMatchSetUpdate 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 UpdateRegexMatchSet request, RegexMatchSetUpdate specifies whether to insert or delete a RegexMatchTuple and includes the settings for the RegexMatchTuple.

See: newRegexMatchSetUpdate smart constructor.

Constructors

RegexMatchSetUpdate' 

Fields

  • action :: ChangeAction

    Specifies whether to insert or delete a RegexMatchTuple.

  • regexMatchTuple :: RegexMatchTuple

    Information about the part of a web request that you want AWS WAF to inspect and the identifier of the regular expression (regex) pattern that you want AWS WAF to search for. If you specify DELETE for the value of Action, the RegexMatchTuple values must exactly match the values in the RegexMatchTuple that you want to delete from the RegexMatchSet.

Instances

Instances details
Eq RegexMatchSetUpdate Source # 
Instance details

Defined in Amazonka.WAF.Types.RegexMatchSetUpdate

Read RegexMatchSetUpdate Source # 
Instance details

Defined in Amazonka.WAF.Types.RegexMatchSetUpdate

Show RegexMatchSetUpdate Source # 
Instance details

Defined in Amazonka.WAF.Types.RegexMatchSetUpdate

Generic RegexMatchSetUpdate Source # 
Instance details

Defined in Amazonka.WAF.Types.RegexMatchSetUpdate

Associated Types

type Rep RegexMatchSetUpdate :: Type -> Type #

NFData RegexMatchSetUpdate Source # 
Instance details

Defined in Amazonka.WAF.Types.RegexMatchSetUpdate

Methods

rnf :: RegexMatchSetUpdate -> () #

Hashable RegexMatchSetUpdate Source # 
Instance details

Defined in Amazonka.WAF.Types.RegexMatchSetUpdate

ToJSON RegexMatchSetUpdate Source # 
Instance details

Defined in Amazonka.WAF.Types.RegexMatchSetUpdate

type Rep RegexMatchSetUpdate Source # 
Instance details

Defined in Amazonka.WAF.Types.RegexMatchSetUpdate

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

newRegexMatchSetUpdate Source #

Create a value of RegexMatchSetUpdate 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:RegexMatchSetUpdate', regexMatchSetUpdate_action - Specifies whether to insert or delete a RegexMatchTuple.

$sel:regexMatchTuple:RegexMatchSetUpdate', regexMatchSetUpdate_regexMatchTuple - Information about the part of a web request that you want AWS WAF to inspect and the identifier of the regular expression (regex) pattern that you want AWS WAF to search for. If you specify DELETE for the value of Action, the RegexMatchTuple values must exactly match the values in the RegexMatchTuple that you want to delete from the RegexMatchSet.

regexMatchSetUpdate_action :: Lens' RegexMatchSetUpdate ChangeAction Source #

Specifies whether to insert or delete a RegexMatchTuple.

regexMatchSetUpdate_regexMatchTuple :: Lens' RegexMatchSetUpdate RegexMatchTuple Source #

Information about the part of a web request that you want AWS WAF to inspect and the identifier of the regular expression (regex) pattern that you want AWS WAF to search for. If you specify DELETE for the value of Action, the RegexMatchTuple values must exactly match the values in the RegexMatchTuple that you want to delete from the RegexMatchSet.