start_remote_move
async
¶
start_remote_move(
connector_id: ConnectorId,
source_path: FilePath,
target_path: FilePath,
*,
config_overrides: Optional[AsyncTransferClientConfig] = None,
) -> StartRemoteMoveResponse
Moves or renames a file or directory on the remote SFTP server.
Parameters:
-
connector_id(ConnectorId) –The unique identifier for the connector.
-
source_path(FilePath) –The absolute path of the file or directory to move or rename. You can only specify one path per call to this operation.
-
target_path(FilePath) –The absolute path for the target of the move/rename operation.
Raises:
-
InternalServiceError–This exception is thrown when an error occurs in the Transfer Family service.
-
InvalidRequestException–This exception is thrown when the client submits a malformed request.
-
ResourceNotFoundException–This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer Family service.
-
ServiceUnavailableException–The request has failed because the Amazon Web ServicesTransfer Family service is not available.
-
ThrottlingException–The request was denied due to request throttling.
-
UnknownServiceError–The service returned an error code this client does not model.