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
}

Constant Summary collapse

SENSITIVE =
[:authentication_token]

Instance Attribute Summary collapse

Instance Attribute Details

#authentication_tokenString

Amazon WorkDocs authentication token. Not required when using AWS administrator credentials to access the API.

Returns:

  • (String)


2985
2986
2987
2988
2989
2990
2991
2992
# File 'gems/aws-sdk-workdocs/lib/aws-sdk-workdocs/types.rb', line 2985

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

#document_idString

The ID of the document.

Returns:

  • (String)


2985
2986
2987
2988
2989
2990
2991
2992
# File 'gems/aws-sdk-workdocs/lib/aws-sdk-workdocs/types.rb', line 2985

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

#version_idString

The version ID of the document.

Returns:

  • (String)


2985
2986
2987
2988
2989
2990
2991
2992
# File 'gems/aws-sdk-workdocs/lib/aws-sdk-workdocs/types.rb', line 2985

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

#version_statusString

The status of the version.

Returns:

  • (String)


2985
2986
2987
2988
2989
2990
2991
2992
# File 'gems/aws-sdk-workdocs/lib/aws-sdk-workdocs/types.rb', line 2985

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