Class: Aws::APIGateway::Types::UpdateMethodResponseRequest

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 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

Instance Attribute Details

#http_methodString

The HTTP verb of the Method resource.

Returns:

  • (String)


6948
6949
6950
6951
6952
6953
6954
6955
6956
# File 'gems/aws-sdk-apigateway/lib/aws-sdk-apigateway/types.rb', line 6948

class UpdateMethodResponseRequest < Struct.new(
  :rest_api_id,
  :resource_id,
  :http_method,
  :status_code,
  :patch_operations)
  SENSITIVE = []
  include Aws::Structure
end

#patch_operationsArray<Types::PatchOperation>

For more information about supported patch operations, see Patch Operations.

Returns:



6948
6949
6950
6951
6952
6953
6954
6955
6956
# File 'gems/aws-sdk-apigateway/lib/aws-sdk-apigateway/types.rb', line 6948

class UpdateMethodResponseRequest < Struct.new(
  :rest_api_id,
  :resource_id,
  :http_method,
  :status_code,
  :patch_operations)
  SENSITIVE = []
  include Aws::Structure
end

#resource_idString

The Resource identifier for the MethodResponse resource.

Returns:

  • (String)


6948
6949
6950
6951
6952
6953
6954
6955
6956
# File 'gems/aws-sdk-apigateway/lib/aws-sdk-apigateway/types.rb', line 6948

class UpdateMethodResponseRequest < Struct.new(
  :rest_api_id,
  :resource_id,
  :http_method,
  :status_code,
  :patch_operations)
  SENSITIVE = []
  include Aws::Structure
end

#rest_api_idString

The string identifier of the associated RestApi.

Returns:

  • (String)


6948
6949
6950
6951
6952
6953
6954
6955
6956
# File 'gems/aws-sdk-apigateway/lib/aws-sdk-apigateway/types.rb', line 6948

class UpdateMethodResponseRequest < Struct.new(
  :rest_api_id,
  :resource_id,
  :http_method,
  :status_code,
  :patch_operations)
  SENSITIVE = []
  include Aws::Structure
end

#status_codeString

The status code for the MethodResponse resource.

Returns:

  • (String)


6948
6949
6950
6951
6952
6953
6954
6955
6956
# File 'gems/aws-sdk-apigateway/lib/aws-sdk-apigateway/types.rb', line 6948

class UpdateMethodResponseRequest < Struct.new(
  :rest_api_id,
  :resource_id,
  :http_method,
  :status_code,
  :patch_operations)
  SENSITIVE = []
  include Aws::Structure
end