WorkDocs / Client / update_document_version
update_document_version#
- 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' )
- Parameters:
AuthenticationToken (string) – Amazon WorkDocs authentication token. Not required when using Amazon Web Services administrator credentials to access the API.
DocumentId (string) –
[REQUIRED]
The ID of the document.
VersionId (string) –
[REQUIRED]
The version ID of the document.
VersionStatus (string) – The status of the version.
- Returns:
None
Exceptions