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.

<div class=“seeAlso” markdown=“1”>

Test API using the API Gateway console][1

</div>

[1]: docs.aws.amazon.com/apigateway/latest/developerguide/how-to-test-method.html#how-to-test-method-console

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#bodyString

The body of the HTTP response.

Returns:

  • (String)


7057
7058
7059
7060
7061
7062
7063
7064
7065
7066
# File 'lib/aws-sdk-apigateway/types.rb', line 7057

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>)


7057
7058
7059
7060
7061
7062
7063
7064
7065
7066
# File 'lib/aws-sdk-apigateway/types.rb', line 7057

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)


7057
7058
7059
7060
7061
7062
7063
7064
7065
7066
# File 'lib/aws-sdk-apigateway/types.rb', line 7057

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)


7057
7058
7059
7060
7061
7062
7063
7064
7065
7066
# File 'lib/aws-sdk-apigateway/types.rb', line 7057

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>>)


7057
7058
7059
7060
7061
7062
7063
7064
7065
7066
# File 'lib/aws-sdk-apigateway/types.rb', line 7057

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

#statusInteger

The HTTP status code.

Returns:

  • (Integer)


7057
7058
7059
7060
7061
7062
7063
7064
7065
7066
# File 'lib/aws-sdk-apigateway/types.rb', line 7057

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