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

***************************
update_location_fsx_windows
***************************



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

  

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

   

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

  

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


  **Request Syntax**
  ::

    response = client.update_location_fsx_windows(
        LocationArn='string',
        Subdirectory='string',
        Domain='string',
        User='string',
        Password='string'
    )
    
  :type LocationArn: string
  :param LocationArn: **[REQUIRED]** 

    Specifies the ARN of the FSx for Windows File Server transfer location that you're updating.

    

  
  :type Subdirectory: string
  :param Subdirectory: 

    Specifies a mount path for your file system using forward slashes. DataSync uses this subdirectory to read or write data (depending on whether the file system is a source or destination location).

    

  
  :type Domain: string
  :param Domain: 

    Specifies the name of the Windows domain that your FSx for Windows File Server file system belongs to.

     

    If you have multiple Active Directory domains in your environment, configuring this parameter makes sure that DataSync connects to the right file system.

    

  
  :type User: string
  :param User: 

    Specifies the user with the permissions to mount and access the files, folders, and file metadata in your FSx for Windows File Server file system.

     

    For information about choosing a user with the right level of access for your transfer, see `required permissions <https://docs.aws.amazon.com/datasync/latest/userguide/create-fsx-location.html#create-fsx-windows-location-permissions>`__ for FSx for Windows File Server locations.

    

  
  :type Password: string
  :param Password: 

    Specifies the password of the user with the permissions to mount and access the files, folders, and file metadata in your FSx for Windows File Server file system.

    

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

    
    ::

      {}
      
    **Response Structure**

    

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

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

  