You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

Class: Aws::WorkDocs::Types::UpdateDocumentVersionRequest

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-workdocs/lib/aws-sdk-workdocs/types.rb

Overview

Note:

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

{
  authentication_token: "AuthenticationHeaderType",
  document_id: "ResourceIdType", # required
  version_id: "DocumentVersionIdType", # required
  version_status: "ACTIVE", # accepts ACTIVE
}

Instance Attribute Summary collapse

Instance Attribute Details

#authentication_tokenString

Amazon WorkDocs authentication token. Do not set this field when using administrative API actions, as in accessing the API using AWS credentials.

Returns:

  • (String)


2510
2511
2512
2513
2514
2515
2516
# File 'gems/aws-sdk-workdocs/lib/aws-sdk-workdocs/types.rb', line 2510

class UpdateDocumentVersionRequest < Struct.new(
  :authentication_token,
  :document_id,
  :version_id,
  :version_status)
  include Aws::Structure
end

#document_idString

The ID of the document.

Returns:

  • (String)


2510
2511
2512
2513
2514
2515
2516
# File 'gems/aws-sdk-workdocs/lib/aws-sdk-workdocs/types.rb', line 2510

class UpdateDocumentVersionRequest < Struct.new(
  :authentication_token,
  :document_id,
  :version_id,
  :version_status)
  include Aws::Structure
end

#version_idString

The version ID of the document.

Returns:

  • (String)


2510
2511
2512
2513
2514
2515
2516
# File 'gems/aws-sdk-workdocs/lib/aws-sdk-workdocs/types.rb', line 2510

class UpdateDocumentVersionRequest < Struct.new(
  :authentication_token,
  :document_id,
  :version_id,
  :version_status)
  include Aws::Structure
end

#version_statusString

The status of the version.

Returns:

  • (String)


2510
2511
2512
2513
2514
2515
2516
# File 'gems/aws-sdk-workdocs/lib/aws-sdk-workdocs/types.rb', line 2510

class UpdateDocumentVersionRequest < Struct.new(
  :authentication_token,
  :document_id,
  :version_id,
  :version_status)
  include Aws::Structure
end