Class: Aws::APIGateway::Types::UpdateDocumentationVersionRequest

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

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

Updates an existing documentation version of an API.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#documentation_versionString

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

Returns:

  • (String)


7464
7465
7466
7467
7468
7469
7470
# File 'lib/aws-sdk-apigateway/types.rb', line 7464

class UpdateDocumentationVersionRequest < Struct.new(
  :rest_api_id,
  :documentation_version,
  :patch_operations)
  SENSITIVE = []
  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:



7464
7465
7466
7467
7468
7469
7470
# File 'lib/aws-sdk-apigateway/types.rb', line 7464

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

#rest_api_idString

[Required] The string identifier of the associated RestApi..

Returns:

  • (String)


7464
7465
7466
7467
7468
7469
7470
# File 'lib/aws-sdk-apigateway/types.rb', line 7464

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