libZSservicesZSamazonka-wafZSamazonka-waf
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.WAF.Types.HTTPHeader

Description

 
Synopsis

Documentation

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

The response from a GetSampledRequests request includes an HTTPHeader 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 that were returned by GetSampledRequests.

See: newHTTPHeader smart constructor.

Constructors

HTTPHeader' 

Fields

  • value :: Maybe Text

    The value of one of the headers in the sampled web request.

  • name :: Maybe Text

    The name of one of the headers in the sampled web request.

Instances

Instances details
Eq HTTPHeader Source # 
Instance details

Defined in Amazonka.WAF.Types.HTTPHeader

Read HTTPHeader Source # 
Instance details

Defined in Amazonka.WAF.Types.HTTPHeader

Show HTTPHeader Source # 
Instance details

Defined in Amazonka.WAF.Types.HTTPHeader

Generic HTTPHeader Source # 
Instance details

Defined in Amazonka.WAF.Types.HTTPHeader

Associated Types

type Rep HTTPHeader :: Type -> Type #

NFData HTTPHeader Source # 
Instance details

Defined in Amazonka.WAF.Types.HTTPHeader

Methods

rnf :: HTTPHeader -> () #

Hashable HTTPHeader Source # 
Instance details

Defined in Amazonka.WAF.Types.HTTPHeader

FromJSON HTTPHeader Source # 
Instance details

Defined in Amazonka.WAF.Types.HTTPHeader

type Rep HTTPHeader Source # 
Instance details

Defined in Amazonka.WAF.Types.HTTPHeader

type Rep HTTPHeader = D1 ('MetaData "HTTPHeader" "Amazonka.WAF.Types.HTTPHeader" "libZSservicesZSamazonka-wafZSamazonka-waf" 'False) (C1 ('MetaCons "HTTPHeader'" 'PrefixI 'True) (S1 ('MetaSel ('Just "value") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "name") '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:value:HTTPHeader', hTTPHeader_value - The value of one of the headers in the sampled web request.

$sel:name:HTTPHeader', hTTPHeader_name - The name of one of the headers in the sampled web request.

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

The value of one of the headers in the sampled web request.

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

The name of one of the headers in the sampled web request.