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

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

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

Overview

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)


2170
2171
2172
2173
2174
# File 'gems/aws-sdk-waf/lib/aws-sdk-waf/types.rb', line 2170

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

#valueString

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

Returns:

  • (String)


2170
2171
2172
2173
2174
# File 'gems/aws-sdk-waf/lib/aws-sdk-waf/types.rb', line 2170

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