:doc:`DeviceFarm <../../devicefarm>` / Client / delete_upload

*************
delete_upload
*************



.. py:method:: DeviceFarm.Client.delete_upload(**kwargs)

  

  Deletes an upload given the upload ARN.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/DeleteUpload>`_  


  **Request Syntax**
  ::

    response = client.delete_upload(
        arn='string'
    )
    
  :type arn: string
  :param arn: **[REQUIRED]** 

    Represents the Amazon Resource Name (ARN) of the Device Farm upload to delete.

    

  
  
  :rtype: dict
  :returns: 
    
    **Response Syntax**

    
    ::

      {}
      
    **Response Structure**

    

    - *(dict) --* 

      Represents the result of a delete upload request.

      
  
  **Exceptions**
  
  *   :py:class:`DeviceFarm.Client.exceptions.ArgumentException`

  
  *   :py:class:`DeviceFarm.Client.exceptions.NotFoundException`

  
  *   :py:class:`DeviceFarm.Client.exceptions.LimitExceededException`

  
  *   :py:class:`DeviceFarm.Client.exceptions.ServiceAccountException`

  

  **Examples**

  The following example deletes a specific upload.
  ::

    response = client.delete_upload(
        # You can get the upload ARN by using the list-uploads CLI command.
        arn='arn:aws:devicefarm:us-west-2:123456789101:upload:EXAMPLE-GUID-123-456',
    )
    
    print(response)

  
  Expected Output:
  ::

    {
        'ResponseMetadata': {
            '...': '...',
        },
    }

  