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

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

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

Overview

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

[Test API using the API Gateway console][1]

Instance Attribute Summary collapse

Instance Attribute Details

#bodyString

The body of the HTTP response.

Returns:

  • (String)


6378
6379
6380
6381
6382
6383
6384
6385
# File 'gems/aws-sdk-apigateway/lib/aws-sdk-apigateway/types.rb', line 6378

class TestInvokeMethodResponse < Struct.new(
  :status,
  :body,
  :headers,
  :log,
  :latency)
  include Aws::Structure
end

#headersHash<String,String>

The headers of the HTTP response.

Returns:

  • (Hash<String,String>)


6378
6379
6380
6381
6382
6383
6384
6385
# File 'gems/aws-sdk-apigateway/lib/aws-sdk-apigateway/types.rb', line 6378

class TestInvokeMethodResponse < Struct.new(
  :status,
  :body,
  :headers,
  :log,
  :latency)
  include Aws::Structure
end

#latencyInteger

The execution latency of the test invoke request.

Returns:

  • (Integer)


6378
6379
6380
6381
6382
6383
6384
6385
# File 'gems/aws-sdk-apigateway/lib/aws-sdk-apigateway/types.rb', line 6378

class TestInvokeMethodResponse < Struct.new(
  :status,
  :body,
  :headers,
  :log,
  :latency)
  include Aws::Structure
end

#logString

The API Gateway execution log for the test invoke request.

Returns:

  • (String)


6378
6379
6380
6381
6382
6383
6384
6385
# File 'gems/aws-sdk-apigateway/lib/aws-sdk-apigateway/types.rb', line 6378

class TestInvokeMethodResponse < Struct.new(
  :status,
  :body,
  :headers,
  :log,
  :latency)
  include Aws::Structure
end

#statusInteger

The HTTP status code.

Returns:

  • (Integer)


6378
6379
6380
6381
6382
6383
6384
6385
# File 'gems/aws-sdk-apigateway/lib/aws-sdk-apigateway/types.rb', line 6378

class TestInvokeMethodResponse < Struct.new(
  :status,
  :body,
  :headers,
  :log,
  :latency)
  include Aws::Structure
end