WorkDocs.Client.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.EntityNotExistsExceptionWorkDocs.Client.exceptions.ProhibitedStateExceptionWorkDocs.Client.exceptions.ConcurrentModificationExceptionWorkDocs.Client.exceptions.InvalidOperationExceptionWorkDocs.Client.exceptions.UnauthorizedOperationExceptionWorkDocs.Client.exceptions.UnauthorizedResourceAccessExceptionWorkDocs.Client.exceptions.FailedDependencyExceptionWorkDocs.Client.exceptions.ServiceUnavailableException