amazonka-wafv2-2.0: Amazon WAFV2 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.WAFV2.Types.SingleQueryArgument

Description

 
Synopsis

Documentation

data SingleQueryArgument Source #

Inspect one query argument in the web request, identified by name, for example UserName or SalesRegion. The name isn't case sensitive.

This is used to indicate the web request component to inspect, in the FieldToMatch specification.

Example JSON: "SingleQueryArgument": { "Name": "myArgument" }

See: newSingleQueryArgument smart constructor.

Constructors

SingleQueryArgument' 

Fields

  • name :: Text

    The name of the query argument to inspect.

Instances

Instances details
FromJSON SingleQueryArgument Source # 
Instance details

Defined in Amazonka.WAFV2.Types.SingleQueryArgument

ToJSON SingleQueryArgument Source # 
Instance details

Defined in Amazonka.WAFV2.Types.SingleQueryArgument

Generic SingleQueryArgument Source # 
Instance details

Defined in Amazonka.WAFV2.Types.SingleQueryArgument

Associated Types

type Rep SingleQueryArgument :: Type -> Type #

Read SingleQueryArgument Source # 
Instance details

Defined in Amazonka.WAFV2.Types.SingleQueryArgument

Show SingleQueryArgument Source # 
Instance details

Defined in Amazonka.WAFV2.Types.SingleQueryArgument

NFData SingleQueryArgument Source # 
Instance details

Defined in Amazonka.WAFV2.Types.SingleQueryArgument

Methods

rnf :: SingleQueryArgument -> () #

Eq SingleQueryArgument Source # 
Instance details

Defined in Amazonka.WAFV2.Types.SingleQueryArgument

Hashable SingleQueryArgument Source # 
Instance details

Defined in Amazonka.WAFV2.Types.SingleQueryArgument

type Rep SingleQueryArgument Source # 
Instance details

Defined in Amazonka.WAFV2.Types.SingleQueryArgument

type Rep SingleQueryArgument = D1 ('MetaData "SingleQueryArgument" "Amazonka.WAFV2.Types.SingleQueryArgument" "amazonka-wafv2-2.0-3v3WgpYn7RT5hSd6MsT5dN" 'False) (C1 ('MetaCons "SingleQueryArgument'" 'PrefixI 'True) (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newSingleQueryArgument Source #

Create a value of SingleQueryArgument 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:name:SingleQueryArgument', singleQueryArgument_name - The name of the query argument to inspect.

singleQueryArgument_name :: Lens' SingleQueryArgument Text Source #

The name of the query argument to inspect.