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

Description

 
Synopsis

Documentation

data LabelSummary Source #

List of labels used by one or more of the rules of a RuleGroup. This summary object is used for the following rule group lists:

  • AvailableLabels - Labels that rules add to matching requests. These labels are defined in the RuleLabels for a Rule.
  • ConsumedLabels - Labels that rules match against. These labels are defined in a LabelMatchStatement specification, in the Statement definition of a rule.

See: newLabelSummary smart constructor.

Constructors

LabelSummary' 

Fields

Instances

Instances details
FromJSON LabelSummary Source # 
Instance details

Defined in Amazonka.WAFV2.Types.LabelSummary

Generic LabelSummary Source # 
Instance details

Defined in Amazonka.WAFV2.Types.LabelSummary

Associated Types

type Rep LabelSummary :: Type -> Type #

Read LabelSummary Source # 
Instance details

Defined in Amazonka.WAFV2.Types.LabelSummary

Show LabelSummary Source # 
Instance details

Defined in Amazonka.WAFV2.Types.LabelSummary

NFData LabelSummary Source # 
Instance details

Defined in Amazonka.WAFV2.Types.LabelSummary

Methods

rnf :: LabelSummary -> () #

Eq LabelSummary Source # 
Instance details

Defined in Amazonka.WAFV2.Types.LabelSummary

Hashable LabelSummary Source # 
Instance details

Defined in Amazonka.WAFV2.Types.LabelSummary

type Rep LabelSummary Source # 
Instance details

Defined in Amazonka.WAFV2.Types.LabelSummary

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

newLabelSummary :: LabelSummary Source #

Create a value of LabelSummary 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:LabelSummary', labelSummary_name - An individual label specification.

labelSummary_name :: Lens' LabelSummary (Maybe Text) Source #

An individual label specification.