update_document_version
(**kwargs)¶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 InitiateDocumentVersionUpload.
See also: AWS API Documentation
Request Syntax
response = client.update_document_version(
AuthenticationToken='string',
DocumentId='string',
VersionId='string',
VersionStatus='ACTIVE'
)
[REQUIRED]
The ID of the document.
[REQUIRED]
The version ID of the document.
None
Exceptions
WorkDocs.Client.exceptions.EntityNotExistsException
WorkDocs.Client.exceptions.ProhibitedStateException
WorkDocs.Client.exceptions.ConcurrentModificationException
WorkDocs.Client.exceptions.InvalidOperationException
WorkDocs.Client.exceptions.UnauthorizedOperationException
WorkDocs.Client.exceptions.UnauthorizedResourceAccessException
WorkDocs.Client.exceptions.FailedDependencyException
WorkDocs.Client.exceptions.ServiceUnavailableException