Class: Aws::APIGateway::Types::UpdateMethodRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::APIGateway::Types::UpdateMethodRequest
- Includes:
- Structure
- Defined in:
- 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.
Constant Summary collapse
- SENSITIVE =
[]
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
[Required] The Resource identifier for the Method resource.
-
#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.
7682 7683 7684 7685 7686 7687 7688 7689 |
# File 'lib/aws-sdk-apigateway/types.rb', line 7682 class UpdateMethodRequest < Struct.new( :rest_api_id, :resource_id, :http_method, :patch_operations) SENSITIVE = [] include Aws::Structure end |
#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.
7682 7683 7684 7685 7686 7687 7688 7689 |
# File 'lib/aws-sdk-apigateway/types.rb', line 7682 class UpdateMethodRequest < Struct.new( :rest_api_id, :resource_id, :http_method, :patch_operations) SENSITIVE = [] include Aws::Structure end |
#resource_id ⇒ String
[Required] The Resource identifier for the Method resource.
7682 7683 7684 7685 7686 7687 7688 7689 |
# File 'lib/aws-sdk-apigateway/types.rb', line 7682 class UpdateMethodRequest < Struct.new( :rest_api_id, :resource_id, :http_method, :patch_operations) SENSITIVE = [] include Aws::Structure end |
#rest_api_id ⇒ String
[Required] The string identifier of the associated RestApi.
7682 7683 7684 7685 7686 7687 7688 7689 |
# File 'lib/aws-sdk-apigateway/types.rb', line 7682 class UpdateMethodRequest < Struct.new( :rest_api_id, :resource_id, :http_method, :patch_operations) SENSITIVE = [] include Aws::Structure end |