Class: Aws::APIGateway::Types::UpdateMethodResponseRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::APIGateway::Types::UpdateMethodResponseRequest
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-apigateway/types.rb
Overview
When making an API call, you may pass UpdateMethodResponseRequest data as a hash:
{
rest_api_id: "String", # required
resource_id: "String", # required
http_method: "String", # required
status_code: "StatusCode", # required
patch_operations: [
{
op: "add", # accepts add, remove, replace, move, copy, test
path: "String",
value: "String",
from: "String",
},
],
}
A request to update an existing MethodResponse 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 MethodResponse resource.
-
#rest_api_id ⇒ String
[Required] The string identifier of the associated RestApi.
-
#status_code ⇒ String
[Required] The status code for the MethodResponse resource.
Instance Attribute Details
#http_method ⇒ String
[Required] The HTTP verb of the Method resource.
7733 7734 7735 7736 7737 7738 7739 7740 7741 |
# File 'lib/aws-sdk-apigateway/types.rb', line 7733 class UpdateMethodResponseRequest < Struct.new( :rest_api_id, :resource_id, :http_method, :status_code, :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.
7733 7734 7735 7736 7737 7738 7739 7740 7741 |
# File 'lib/aws-sdk-apigateway/types.rb', line 7733 class UpdateMethodResponseRequest < Struct.new( :rest_api_id, :resource_id, :http_method, :status_code, :patch_operations) SENSITIVE = [] include Aws::Structure end |
#resource_id ⇒ String
[Required] The Resource identifier for the MethodResponse resource.
7733 7734 7735 7736 7737 7738 7739 7740 7741 |
# File 'lib/aws-sdk-apigateway/types.rb', line 7733 class UpdateMethodResponseRequest < Struct.new( :rest_api_id, :resource_id, :http_method, :status_code, :patch_operations) SENSITIVE = [] include Aws::Structure end |
#rest_api_id ⇒ String
[Required] The string identifier of the associated RestApi.
7733 7734 7735 7736 7737 7738 7739 7740 7741 |
# File 'lib/aws-sdk-apigateway/types.rb', line 7733 class UpdateMethodResponseRequest < Struct.new( :rest_api_id, :resource_id, :http_method, :status_code, :patch_operations) SENSITIVE = [] include Aws::Structure end |
#status_code ⇒ String
[Required] The status code for the MethodResponse resource.
7733 7734 7735 7736 7737 7738 7739 7740 7741 |
# File 'lib/aws-sdk-apigateway/types.rb', line 7733 class UpdateMethodResponseRequest < Struct.new( :rest_api_id, :resource_id, :http_method, :status_code, :patch_operations) SENSITIVE = [] include Aws::Structure end |