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

Description

 
Synopsis

Documentation

data XssMatchSetUpdate 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 the part of a web request that you want to inspect for cross-site scripting attacks and indicates whether you want to add the specification to an XssMatchSet or delete it from an XssMatchSet.

See: newXssMatchSetUpdate smart constructor.

Constructors

XssMatchSetUpdate' 

Fields

  • action :: ChangeAction

    Specify INSERT to add an XssMatchSetUpdate to an XssMatchSet. Use DELETE to remove an XssMatchSetUpdate from an XssMatchSet.

  • xssMatchTuple :: XssMatchTuple

    Specifies the part of a web request that you want AWS WAF to inspect for cross-site scripting attacks and, if you want AWS WAF to inspect a header, the name of the header.

Instances

Instances details
ToJSON XssMatchSetUpdate Source # 
Instance details

Defined in Amazonka.WAFRegional.Types.XssMatchSetUpdate

Generic XssMatchSetUpdate Source # 
Instance details

Defined in Amazonka.WAFRegional.Types.XssMatchSetUpdate

Associated Types

type Rep XssMatchSetUpdate :: Type -> Type #

Read XssMatchSetUpdate Source # 
Instance details

Defined in Amazonka.WAFRegional.Types.XssMatchSetUpdate

Show XssMatchSetUpdate Source # 
Instance details

Defined in Amazonka.WAFRegional.Types.XssMatchSetUpdate

NFData XssMatchSetUpdate Source # 
Instance details

Defined in Amazonka.WAFRegional.Types.XssMatchSetUpdate

Methods

rnf :: XssMatchSetUpdate -> () #

Eq XssMatchSetUpdate Source # 
Instance details

Defined in Amazonka.WAFRegional.Types.XssMatchSetUpdate

Hashable XssMatchSetUpdate Source # 
Instance details

Defined in Amazonka.WAFRegional.Types.XssMatchSetUpdate

type Rep XssMatchSetUpdate Source # 
Instance details

Defined in Amazonka.WAFRegional.Types.XssMatchSetUpdate

type Rep XssMatchSetUpdate = D1 ('MetaData "XssMatchSetUpdate" "Amazonka.WAFRegional.Types.XssMatchSetUpdate" "amazonka-waf-regional-2.0-83dY3vKOuQzAAW7M6EmzRI" 'False) (C1 ('MetaCons "XssMatchSetUpdate'" 'PrefixI 'True) (S1 ('MetaSel ('Just "action") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ChangeAction) :*: S1 ('MetaSel ('Just "xssMatchTuple") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 XssMatchTuple)))

newXssMatchSetUpdate Source #

Create a value of XssMatchSetUpdate 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:XssMatchSetUpdate', xssMatchSetUpdate_action - Specify INSERT to add an XssMatchSetUpdate to an XssMatchSet. Use DELETE to remove an XssMatchSetUpdate from an XssMatchSet.

$sel:xssMatchTuple:XssMatchSetUpdate', xssMatchSetUpdate_xssMatchTuple - Specifies the part of a web request that you want AWS WAF to inspect for cross-site scripting attacks and, if you want AWS WAF to inspect a header, the name of the header.

xssMatchSetUpdate_action :: Lens' XssMatchSetUpdate ChangeAction Source #

Specify INSERT to add an XssMatchSetUpdate to an XssMatchSet. Use DELETE to remove an XssMatchSetUpdate from an XssMatchSet.

xssMatchSetUpdate_xssMatchTuple :: Lens' XssMatchSetUpdate XssMatchTuple Source #

Specifies the part of a web request that you want AWS WAF to inspect for cross-site scripting attacks and, if you want AWS WAF to inspect a header, the name of the header.