Skip to content

Update Document Version

workdocs_update_document_version R Documentation

Changes the status of the document version to ACTIVE

Description

Changes the status of the document version to ACTIVE.

Amazon WorkDocs also sets its document container to ACTIVE. This is the last step in a document upload, after the client uploads the document to an S3-presigned URL returned by initiate_document_version_upload.

Usage

workdocs_update_document_version(AuthenticationToken, DocumentId,
  VersionId, VersionStatus)

Arguments

AuthenticationToken

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

DocumentId

[required] The ID of the document.

VersionId

[required] The version ID of the document.

VersionStatus

The status of the version.

Value

An empty list.

Request syntax

svc$update_document_version(
  AuthenticationToken = "string",
  DocumentId = "string",
  VersionId = "string",
  VersionStatus = "ACTIVE"
)