:doc:`DataSync <../../datasync>` / Client / delete_location

***************
delete_location
***************



.. py:method:: DataSync.Client.delete_location(**kwargs)

  

  Deletes a transfer location resource from DataSync.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/DeleteLocation>`_  


  **Request Syntax**
  ::

    response = client.delete_location(
        LocationArn='string'
    )
    
  :type LocationArn: string
  :param LocationArn: **[REQUIRED]** 

    The Amazon Resource Name (ARN) of the location to delete.

    

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

    
    ::

      {}
      
    **Response Structure**

    

    - *(dict) --* 
  
  **Exceptions**
  
  *   :py:class:`DataSync.Client.exceptions.InvalidRequestException`

  
  *   :py:class:`DataSync.Client.exceptions.InternalException`

  