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

*****************************
abort_document_version_upload
*****************************



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

  

  Aborts the upload of the specified document version that was previously initiated by  InitiateDocumentVersionUpload. The client should make this call only when it no longer intends to upload the document version, or fails to do so.

  

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


  **Request Syntax**
  ::

    response = client.abort_document_version_upload(
        AuthenticationToken='string',
        DocumentId='string',
        VersionId='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.

    

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

    The ID of the version.

    

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

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

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

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

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

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

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

  