Class: Aws::APIGateway::Types::TestInvokeMethodResponse

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-apigateway/types.rb

Overview

Represents the response of the test invoke request in the HTTP method.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#bodyString

The body of the HTTP response.

Returns:

  • (String)

6222
6223
6224
6225
6226
6227
6228
6229
6230
6231
# File 'lib/aws-sdk-apigateway/types.rb', line 6222

class TestInvokeMethodResponse < Struct.new(
  :status,
  :body,
  :headers,
  :multi_value_headers,
  :log,
  :latency)
  SENSITIVE = []
  include Aws::Structure
end

#headersHash<String,String>

The headers of the HTTP response.

Returns:

  • (Hash<String,String>)

6222
6223
6224
6225
6226
6227
6228
6229
6230
6231
# File 'lib/aws-sdk-apigateway/types.rb', line 6222

class TestInvokeMethodResponse < Struct.new(
  :status,
  :body,
  :headers,
  :multi_value_headers,
  :log,
  :latency)
  SENSITIVE = []
  include Aws::Structure
end

#latencyInteger

The execution latency of the test invoke request.

Returns:

  • (Integer)

6222
6223
6224
6225
6226
6227
6228
6229
6230
6231
# File 'lib/aws-sdk-apigateway/types.rb', line 6222

class TestInvokeMethodResponse < Struct.new(
  :status,
  :body,
  :headers,
  :multi_value_headers,
  :log,
  :latency)
  SENSITIVE = []
  include Aws::Structure
end

#logString

The API Gateway execution log for the test invoke request.

Returns:

  • (String)

6222
6223
6224
6225
6226
6227
6228
6229
6230
6231
# File 'lib/aws-sdk-apigateway/types.rb', line 6222

class TestInvokeMethodResponse < Struct.new(
  :status,
  :body,
  :headers,
  :multi_value_headers,
  :log,
  :latency)
  SENSITIVE = []
  include Aws::Structure
end

#multi_value_headersHash<String,Array<String>>

The headers of the HTTP response as a map from string to list of values.

Returns:

  • (Hash<String,Array<String>>)

6222
6223
6224
6225
6226
6227
6228
6229
6230
6231
# File 'lib/aws-sdk-apigateway/types.rb', line 6222

class TestInvokeMethodResponse < Struct.new(
  :status,
  :body,
  :headers,
  :multi_value_headers,
  :log,
  :latency)
  SENSITIVE = []
  include Aws::Structure
end

#statusInteger

The HTTP status code.

Returns:

  • (Integer)

6222
6223
6224
6225
6226
6227
6228
6229
6230
6231
# File 'lib/aws-sdk-apigateway/types.rb', line 6222

class TestInvokeMethodResponse < Struct.new(
  :status,
  :body,
  :headers,
  :multi_value_headers,
  :log,
  :latency)
  SENSITIVE = []
  include Aws::Structure
end