You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::WAF::Types::HTTPHeader

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

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.

Instance Attribute Summary collapse

Instance Attribute Details

#nameString

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

Returns:

  • (String)

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

#valueString

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

Returns:

  • (String)

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