Class: Aws::APIGateway::Types::UpdateModelRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::APIGateway::Types::UpdateModelRequest
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-apigateway/types.rb
Overview
Note:
When making an API call, you may pass UpdateModelRequest data as a hash:
{
rest_api_id: "String", # required
model_name: "String", # required
patch_operations: [
{
op: "add", # accepts add, remove, replace, move, copy, test
path: "String",
value: "String",
from: "String",
},
],
}
Request to update an existing model in an existing RestApi resource.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#model_name ⇒ String
[Required] The name of the model to update.
-
#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.
Instance Attribute Details
#model_name ⇒ String
[Required] The name of the model to update.
7774 7775 7776 7777 7778 7779 7780 |
# File 'lib/aws-sdk-apigateway/types.rb', line 7774 class UpdateModelRequest < Struct.new( :rest_api_id, :model_name, :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.
7774 7775 7776 7777 7778 7779 7780 |
# File 'lib/aws-sdk-apigateway/types.rb', line 7774 class UpdateModelRequest < Struct.new( :rest_api_id, :model_name, :patch_operations) SENSITIVE = [] include Aws::Structure end |
#rest_api_id ⇒ String
[Required] The string identifier of the associated RestApi.
7774 7775 7776 7777 7778 7779 7780 |
# File 'lib/aws-sdk-apigateway/types.rb', line 7774 class UpdateModelRequest < Struct.new( :rest_api_id, :model_name, :patch_operations) SENSITIVE = [] include Aws::Structure end |