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

Description

 
Synopsis

Documentation

data Label Source #

A single label container. This is used as an element of a label array in multiple contexts, for example, in RuleLabels inside a Rule and in Labels inside a SampledHTTPRequest.

See: newLabel smart constructor.

Constructors

Label' 

Fields

Instances

Instances details
FromJSON Label Source # 
Instance details

Defined in Amazonka.WAFV2.Types.Label

ToJSON Label Source # 
Instance details

Defined in Amazonka.WAFV2.Types.Label

Generic Label Source # 
Instance details

Defined in Amazonka.WAFV2.Types.Label

Associated Types

type Rep Label :: Type -> Type #

Methods

from :: Label -> Rep Label x #

to :: Rep Label x -> Label #

Read Label Source # 
Instance details

Defined in Amazonka.WAFV2.Types.Label

Show Label Source # 
Instance details

Defined in Amazonka.WAFV2.Types.Label

Methods

showsPrec :: Int -> Label -> ShowS #

show :: Label -> String #

showList :: [Label] -> ShowS #

NFData Label Source # 
Instance details

Defined in Amazonka.WAFV2.Types.Label

Methods

rnf :: Label -> () #

Eq Label Source # 
Instance details

Defined in Amazonka.WAFV2.Types.Label

Methods

(==) :: Label -> Label -> Bool #

(/=) :: Label -> Label -> Bool #

Hashable Label Source # 
Instance details

Defined in Amazonka.WAFV2.Types.Label

Methods

hashWithSalt :: Int -> Label -> Int #

hash :: Label -> Int #

type Rep Label Source # 
Instance details

Defined in Amazonka.WAFV2.Types.Label

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

newLabel Source #

Arguments

:: Text

$sel:name:Label'

-> Label 

Create a value of Label 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:Label', label_name - The label string.

label_name :: Lens' Label Text Source #

The label string.