AWS SDK for Go (PILOT)
API Reference

PREVIEW DOCUMENTATION - This is a preview of a new format for the AWS SDK for Go API Reference documentation. For the current AWS SDK for Go API Reference, see https://docs.aws.amazon.com/sdk-for-go/api/.

We welcome your feedback on this new version of the documentation. Send your comments to aws-sdkdocs-feedback@amazon.com.

HTTPHeader

import "github.com/aws/aws-sdk-go/service/waf"

type HTTPHeader struct { Name *string `type:"string"` Value *string `type:"string"` }

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.

Name

Type: *string

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

Value

Type: *string

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

Method

GoString

func (s HTTPHeader) GoString() string

GoString returns the string representation

SetName

func (s *HTTPHeader) SetName(v string) *HTTPHeader

SetName sets the Name field's value.

SetValue

func (s *HTTPHeader) SetValue(v string) *HTTPHeader

SetValue sets the Value field's value.

String

func (s HTTPHeader) String() string

String returns the string representation

On this page: