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

Class: Aws::APIGateway::Types::UpdateMethodRequest

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

{
  rest_api_id: "String", # required
  resource_id: "String", # required
  http_method: "String", # required
  patch_operations: [
    {
      op: "add", # accepts add, remove, replace, move, copy, test
      path: "String",
      value: "String",
      from: "String",
    },
  ],
}

Request to update an existing Method resource.

Instance Attribute Summary collapse

Instance Attribute Details

#http_methodString

The HTTP verb of the Method resource.

Returns:

  • (String)


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

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

#patch_operationsArray<Types::PatchOperation>

A list of update operations to be applied to the specified resource and in the order specified in this list.

Returns:



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

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

#resource_idString

The Resource identifier for the Method resource.

Returns:

  • (String)


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

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

#rest_api_idString

The string identifier of the associated RestApi.

Returns:

  • (String)


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

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