Class: Aws::APIGateway::Types::UpdateDocumentationPartRequest

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 UpdateDocumentationPartRequest data as a hash:

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

Updates an existing documentation part of a given API.

Instance Attribute Summary collapse

Instance Attribute Details

#documentation_part_idString

[Required] The identifier of the to-be-updated documentation part.

Returns:

  • (String)


6111
6112
6113
6114
6115
6116
# File 'lib/aws-sdk-apigateway/types.rb', line 6111

class UpdateDocumentationPartRequest < Struct.new(
  :rest_api_id,
  :documentation_part_id,
  :patch_operations)
  include Aws::Structure
end

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



6111
6112
6113
6114
6115
6116
# File 'lib/aws-sdk-apigateway/types.rb', line 6111

class UpdateDocumentationPartRequest < Struct.new(
  :rest_api_id,
  :documentation_part_id,
  :patch_operations)
  include Aws::Structure
end

#rest_api_idString

[Required] The string identifier of the associated RestApi.

Returns:

  • (String)


6111
6112
6113
6114
6115
6116
# File 'lib/aws-sdk-apigateway/types.rb', line 6111

class UpdateDocumentationPartRequest < Struct.new(
  :rest_api_id,
  :documentation_part_id,
  :patch_operations)
  include Aws::Structure
end