Class: Aws::APIGateway::Types::GetMethodRequest

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

Overview

Note:

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

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

Request to describe an existing Method resource.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#http_methodString

[Required] Specifies the method request’s HTTP method type.

Returns:

  • (String)


3723
3724
3725
3726
3727
3728
3729
# File 'lib/aws-sdk-apigateway/types.rb', line 3723

class GetMethodRequest < Struct.new(
  :rest_api_id,
  :resource_id,
  :http_method)
  SENSITIVE = []
  include Aws::Structure
end

#resource_idString

[Required] The Resource identifier for the Method resource.

Returns:

  • (String)


3723
3724
3725
3726
3727
3728
3729
# File 'lib/aws-sdk-apigateway/types.rb', line 3723

class GetMethodRequest < Struct.new(
  :rest_api_id,
  :resource_id,
  :http_method)
  SENSITIVE = []
  include Aws::Structure
end

#rest_api_idString

[Required] The string identifier of the associated RestApi.

Returns:

  • (String)


3723
3724
3725
3726
3727
3728
3729
# File 'lib/aws-sdk-apigateway/types.rb', line 3723

class GetMethodRequest < Struct.new(
  :rest_api_id,
  :resource_id,
  :http_method)
  SENSITIVE = []
  include Aws::Structure
end