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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-waf/lib/aws-sdk-waf/types.rb

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.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#nameString

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

Returns:

  • (String)


2450
2451
2452
2453
2454
2455
# File 'gems/aws-sdk-waf/lib/aws-sdk-waf/types.rb', line 2450

class HTTPHeader < Struct.new(
  :name,
  :value)
  SENSITIVE = []
  include Aws::Structure
end

#valueString

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

Returns:

  • (String)


2450
2451
2452
2453
2454
2455
# File 'gems/aws-sdk-waf/lib/aws-sdk-waf/types.rb', line 2450

class HTTPHeader < Struct.new(
  :name,
  :value)
  SENSITIVE = []
  include Aws::Structure
end