You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::APIGateway::Types::UpdateMethodRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::APIGateway::Types::UpdateMethodRequest
- Defined in:
- (unknown)
Overview
Note:
When passing UpdateMethodRequest as input to an Aws::Client method, you can use a vanilla 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
-
#http_method ⇒ String
[Required] The HTTP verb of the Method resource.
-
#patch_operations ⇒ Array<Types::PatchOperation>
A list of update operations to be applied to the specified resource and in the order specified in this list.
- #resource_id ⇒ String
-
#rest_api_id ⇒ String
[Required] The string identifier of the associated RestApi.
Instance Attribute Details
#http_method ⇒ String
[Required] The HTTP verb of the Method resource.
#patch_operations ⇒ Array<Types::PatchOperation>
A list of update operations to be applied to the specified resource and in the order specified in this list.
#rest_api_id ⇒ String
[Required] The string identifier of the associated RestApi.