:doc:`Transfer <../../transfer>` / Client / start_remote_move

*****************
start_remote_move
*****************



.. py:method:: Transfer.Client.start_remote_move(**kwargs)

  

  Moves or renames a file or directory on the remote SFTP server.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/StartRemoteMove>`_  


  **Request Syntax**
  ::

    response = client.start_remote_move(
        ConnectorId='string',
        SourcePath='string',
        TargetPath='string'
    )
    
  :type ConnectorId: string
  :param ConnectorId: **[REQUIRED]** 

    The unique identifier for the connector.

    

  
  :type SourcePath: string
  :param SourcePath: **[REQUIRED]** 

    The absolute path of the file or directory to move or rename. You can only specify one path per call to this operation.

    

  
  :type TargetPath: string
  :param TargetPath: **[REQUIRED]** 

    The absolute path for the target of the move/rename operation.

    

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

    
    ::

      {
          'MoveId': 'string'
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **MoveId** *(string) --* 

        Returns a unique identifier for the move/rename operation.

        
  
  **Exceptions**
  
  *   :py:class:`Transfer.Client.exceptions.ResourceNotFoundException`

  
  *   :py:class:`Transfer.Client.exceptions.InvalidRequestException`

  
  *   :py:class:`Transfer.Client.exceptions.ThrottlingException`

  
  *   :py:class:`Transfer.Client.exceptions.InternalServiceError`

  
  *   :py:class:`Transfer.Client.exceptions.ServiceUnavailableException`

  