:doc:`WorkDocs <../../workdocs>` / Client / restore_document_versions

*************************
restore_document_versions
*************************



.. py:method:: WorkDocs.Client.restore_document_versions(**kwargs)

  

  Recovers a deleted version of an Amazon WorkDocs document.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/RestoreDocumentVersions>`_  


  **Request Syntax**
  ::

    response = client.restore_document_versions(
        AuthenticationToken='string',
        DocumentId='string'
    )
    
  :type AuthenticationToken: string
  :param AuthenticationToken: 

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

    

  
  :type DocumentId: string
  :param DocumentId: **[REQUIRED]** 

    The ID of the document.

    

  
  
  :returns: None
  **Exceptions**
  
  *   :py:class:`WorkDocs.Client.exceptions.EntityNotExistsException`

  
  *   :py:class:`WorkDocs.Client.exceptions.ProhibitedStateException`

  
  *   :py:class:`WorkDocs.Client.exceptions.ConflictingOperationException`

  
  *   :py:class:`WorkDocs.Client.exceptions.ConcurrentModificationException`

  
  *   :py:class:`WorkDocs.Client.exceptions.UnauthorizedResourceAccessException`

  
  *   :py:class:`WorkDocs.Client.exceptions.FailedDependencyException`

  
  *   :py:class:`WorkDocs.Client.exceptions.InvalidOperationException`

  
  *   :py:class:`WorkDocs.Client.exceptions.UnauthorizedOperationException`

  