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

Description

 
Synopsis

Documentation

data HTTPHeader Source #

Part of the response from GetSampledRequests. This is a complex type that appears as Headers in the response syntax. HTTPHeader contains the names and values of all of the headers that appear in one of the web requests.

See: newHTTPHeader smart constructor.

Constructors

HTTPHeader' 

Fields

Instances

Instances details
FromJSON HTTPHeader Source # 
Instance details

Defined in Amazonka.WAFV2.Types.HTTPHeader

Generic HTTPHeader Source # 
Instance details

Defined in Amazonka.WAFV2.Types.HTTPHeader

Associated Types

type Rep HTTPHeader :: Type -> Type #

Read HTTPHeader Source # 
Instance details

Defined in Amazonka.WAFV2.Types.HTTPHeader

Show HTTPHeader Source # 
Instance details

Defined in Amazonka.WAFV2.Types.HTTPHeader

NFData HTTPHeader Source # 
Instance details

Defined in Amazonka.WAFV2.Types.HTTPHeader

Methods

rnf :: HTTPHeader -> () #

Eq HTTPHeader Source # 
Instance details

Defined in Amazonka.WAFV2.Types.HTTPHeader

Hashable HTTPHeader Source # 
Instance details

Defined in Amazonka.WAFV2.Types.HTTPHeader

type Rep HTTPHeader Source # 
Instance details

Defined in Amazonka.WAFV2.Types.HTTPHeader

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

newHTTPHeader :: HTTPHeader Source #

Create a value of HTTPHeader 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:HTTPHeader', hTTPHeader_name - The name of the HTTP header.

$sel:value:HTTPHeader', hTTPHeader_value - The value of the HTTP header.

hTTPHeader_name :: Lens' HTTPHeader (Maybe Text) Source #

The name of the HTTP header.

hTTPHeader_value :: Lens' HTTPHeader (Maybe Text) Source #

The value of the HTTP header.