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

**************************
update_location_fsx_lustre
**************************



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

  

  Modifies the following configuration parameters of the Amazon FSx for Lustre transfer location that you're using with DataSync.

   

  For more information, see `Configuring DataSync transfers with FSx for Lustre <https://docs.aws.amazon.com/datasync/latest/userguide/create-lustre-location.html>`__.

  

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


  **Request Syntax**
  ::

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

    Specifies the Amazon Resource Name (ARN) of the FSx for Lustre transfer location that you're updating.

    

  
  :type Subdirectory: string
  :param Subdirectory: 

    Specifies a mount path for your FSx for Lustre file system. The path can include subdirectories.

     

    When the location is used as a source, DataSync reads data from the mount path. When the location is used as a destination, DataSync writes data to the mount path. If you don't include this parameter, DataSync uses the file system's root directory ( ``/``).

    

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

    
    ::

      {}
      
    **Response Structure**

    

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

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

  