Class: Aws::IoT::Types::HttpContext

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

Overview

Note:

When making an API call, you may pass HttpContext data as a hash:

{
  headers: {
    "HttpHeaderName" => "HttpHeaderValue",
  },
  query_string: "HttpQueryString",
}

Specifies the HTTP context to use for the test authorizer request.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#headersHash<String,String>

The header keys and values in an HTTP authorization request.

Returns:

  • (Hash<String,String>)


9734
9735
9736
9737
9738
9739
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 9734

class HttpContext < Struct.new(
  :headers,
  :query_string)
  SENSITIVE = []
  include Aws::Structure
end

#query_stringString

The query string keys and values in an HTTP authorization request.

Returns:

  • (String)


9734
9735
9736
9737
9738
9739
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 9734

class HttpContext < Struct.new(
  :headers,
  :query_string)
  SENSITIVE = []
  include Aws::Structure
end