WorkDocs.Client.
restore_document_versions
(**kwargs)¶Recovers a deleted version of an Amazon WorkDocs document.
See also: AWS API Documentation
Request Syntax
response = client.restore_document_versions(
AuthenticationToken='string',
DocumentId='string'
)
[REQUIRED]
The ID of the document.
None
Exceptions
WorkDocs.Client.exceptions.EntityNotExistsException
WorkDocs.Client.exceptions.ProhibitedStateException
WorkDocs.Client.exceptions.ConflictingOperationException
WorkDocs.Client.exceptions.ConcurrentModificationException
WorkDocs.Client.exceptions.UnauthorizedResourceAccessException
WorkDocs.Client.exceptions.FailedDependencyException
WorkDocs.Client.exceptions.InvalidOperationException
WorkDocs.Client.exceptions.UnauthorizedOperationException