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

Class: Aws::APIGateway::Types::GetMethodResponseRequest

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

Overview

Note:

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

{
  rest_api_id: "String", # required
  resource_id: "String", # required
  http_method: "String", # required
  status_code: "StatusCode", # required
}

Request to describe a MethodResponse resource.

Instance Attribute Summary collapse

Instance Attribute Details

#http_methodString

The HTTP verb of the Method resource.

Returns:

  • (String)


3108
3109
3110
3111
3112
3113
3114
# File 'gems/aws-sdk-apigateway/lib/aws-sdk-apigateway/types.rb', line 3108

class GetMethodResponseRequest < Struct.new(
  :rest_api_id,
  :resource_id,
  :http_method,
  :status_code)
  include Aws::Structure
end

#resource_idString

The Resource identifier for the MethodResponse resource.

Returns:

  • (String)


3108
3109
3110
3111
3112
3113
3114
# File 'gems/aws-sdk-apigateway/lib/aws-sdk-apigateway/types.rb', line 3108

class GetMethodResponseRequest < Struct.new(
  :rest_api_id,
  :resource_id,
  :http_method,
  :status_code)
  include Aws::Structure
end

#rest_api_idString

The string identifier of the associated RestApi.

Returns:

  • (String)


3108
3109
3110
3111
3112
3113
3114
# File 'gems/aws-sdk-apigateway/lib/aws-sdk-apigateway/types.rb', line 3108

class GetMethodResponseRequest < Struct.new(
  :rest_api_id,
  :resource_id,
  :http_method,
  :status_code)
  include Aws::Structure
end

#status_codeString

The status code for the MethodResponse resource.

Returns:

  • (String)


3108
3109
3110
3111
3112
3113
3114
# File 'gems/aws-sdk-apigateway/lib/aws-sdk-apigateway/types.rb', line 3108

class GetMethodResponseRequest < Struct.new(
  :rest_api_id,
  :resource_id,
  :http_method,
  :status_code)
  include Aws::Structure
end