Class: Aws::APIGateway::Types::DeleteMethodRequest

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 DeleteMethodRequest data as a hash:

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

Request to delete an existing Method resource.

Instance Attribute Summary collapse

Instance Attribute Details

#http_methodString

[Required] The HTTP verb of the Method resource.

Returns:

  • (String)


1875
1876
1877
1878
1879
1880
# File 'lib/aws-sdk-apigateway/types.rb', line 1875

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

#resource_idString

[Required] The Resource identifier for the Method resource.

Returns:

  • (String)


1875
1876
1877
1878
1879
1880
# File 'lib/aws-sdk-apigateway/types.rb', line 1875

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

#rest_api_idString

[Required] The string identifier of the associated RestApi.

Returns:

  • (String)


1875
1876
1877
1878
1879
1880
# File 'lib/aws-sdk-apigateway/types.rb', line 1875

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