DataSync / Client / update_location_fsx_lustre
update_location_fsx_lustre#
- 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.
See also: AWS API Documentation
Request Syntax
response = client.update_location_fsx_lustre( LocationArn='string', Subdirectory='string' )
- Parameters:
LocationArn (string) –
[REQUIRED]
Specifies the Amazon Resource Name (ARN) of the FSx for Lustre transfer location that you’re updating.
Subdirectory (string) –
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 (
/
).
- Return type:
dict
- Returns:
Response Syntax
{}
Response Structure
(dict) –
Exceptions
DataSync.Client.exceptions.InvalidRequestException
DataSync.Client.exceptions.InternalException