Class: Aws::APIGateway::Types::UpdateResourceRequest

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-apigateway/types.rb

Overview

Note:

When making an API call, you may pass UpdateResourceRequest data as a hash:

{
  rest_api_id: "String", # required
  resource_id: "String", # required
  patch_operations: [
    {
      op: "add", # accepts add, remove, replace, move, copy, test
      path: "String",
      value: "String",
      from: "String",
    },
  ],
}

Request to change information about a Resource resource.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#patch_operationsArray<Types::PatchOperation>

A list of update operations to be applied to the specified resource and in the order specified in this list.

Returns:



7852
7853
7854
7855
7856
7857
7858
# File 'lib/aws-sdk-apigateway/types.rb', line 7852

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

#resource_idString

[Required] The identifier of the Resource resource.

Returns:

  • (String)


7852
7853
7854
7855
7856
7857
7858
# File 'lib/aws-sdk-apigateway/types.rb', line 7852

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

#rest_api_idString

[Required] The string identifier of the associated RestApi.

Returns:

  • (String)


7852
7853
7854
7855
7856
7857
7858
# File 'lib/aws-sdk-apigateway/types.rb', line 7852

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