update_location_fsx_windows
async
¶
update_location_fsx_windows(
location_arn: LocationArn,
*,
config_overrides: Optional[AsyncDataSyncClientConfig] = None,
subdirectory: Optional[FsxWindowsSubdirectory] = None,
domain: Optional[UpdateSmbDomain] = None,
user: Optional[SmbUser] = None,
password: Optional[SmbPassword] = None,
cmk_secret_config: Optional[CmkSecretConfig] = None,
custom_secret_config: Optional[CustomSecretConfig] = None,
) -> UpdateLocationFsxWindowsResponse
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.
Parameters:
-
location_arn(LocationArn) –Specifies the ARN of the FSx for Windows File Server transfer location that you're updating.
-
subdirectory(Optional[FsxWindowsSubdirectory], default:None) –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).
-
domain(Optional[UpdateSmbDomain], default:None) –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.
-
user(Optional[SmbUser], default:None) –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 for FSx for Windows File Server locations.
-
password(Optional[SmbPassword], default:None) –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.
-
cmk_secret_config(Optional[CmkSecretConfig], default:None) –Specifies configuration information for a DataSync-managed secret, such as a
Passwordor set of credentials that DataSync uses to access a specific transfer location, and a customer-managed KMS key. -
custom_secret_config(Optional[CustomSecretConfig], default:None) –Specifies configuration information for a customer-managed secret, such as a
Passwordor set of credentials that DataSync uses to access a specific transfer location, and a customer-managed Identity and Access Management (IAM) role that provides access to the secret.
Raises:
-
InternalException–This exception is thrown when an error occurs in the DataSync service.
-
InvalidRequestException–This exception is thrown when the client submits a malformed request.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_datasync/_services/async_data_sync.py
3336 3337 3338 3339 3340 3341 3342 3343 3344 3345 3346 3347 3348 3349 3350 3351 3352 3353 3354 3355 3356 3357 3358 3359 3360 3361 3362 3363 3364 3365 3366 3367 3368 3369 3370 3371 3372 3373 3374 3375 3376 3377 3378 3379 3380 3381 3382 3383 3384 3385 3386 3387 3388 3389 3390 3391 3392 3393 3394 3395 3396 3397 3398 3399 3400 3401 3402 3403 3404 3405 3406 3407 3408 3409 3410 3411 3412 3413 3414 3415 3416 3417 3418 3419 3420 3421 3422 3423 | |