aws_sdk_transfer/client/
start_remote_move.rs

1// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
2impl super::Client {
3    /// Constructs a fluent builder for the [`StartRemoteMove`](crate::operation::start_remote_move::builders::StartRemoteMoveFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`connector_id(impl Into<String>)`](crate::operation::start_remote_move::builders::StartRemoteMoveFluentBuilder::connector_id) / [`set_connector_id(Option<String>)`](crate::operation::start_remote_move::builders::StartRemoteMoveFluentBuilder::set_connector_id):<br>required: **true**<br><p>The unique identifier for the connector.</p><br>
7    ///   - [`source_path(impl Into<String>)`](crate::operation::start_remote_move::builders::StartRemoteMoveFluentBuilder::source_path) / [`set_source_path(Option<String>)`](crate::operation::start_remote_move::builders::StartRemoteMoveFluentBuilder::set_source_path):<br>required: **true**<br><p>The absolute path of the file or directory to move or rename. You can only specify one path per call to this operation.</p><br>
8    ///   - [`target_path(impl Into<String>)`](crate::operation::start_remote_move::builders::StartRemoteMoveFluentBuilder::target_path) / [`set_target_path(Option<String>)`](crate::operation::start_remote_move::builders::StartRemoteMoveFluentBuilder::set_target_path):<br>required: **true**<br><p>The absolute path for the target of the move/rename operation.</p><br>
9    /// - On success, responds with [`StartRemoteMoveOutput`](crate::operation::start_remote_move::StartRemoteMoveOutput) with field(s):
10    ///   - [`move_id(String)`](crate::operation::start_remote_move::StartRemoteMoveOutput::move_id): <p>Returns a unique identifier for the move/rename operation.</p>
11    /// - On failure, responds with [`SdkError<StartRemoteMoveError>`](crate::operation::start_remote_move::StartRemoteMoveError)
12    pub fn start_remote_move(&self) -> crate::operation::start_remote_move::builders::StartRemoteMoveFluentBuilder {
13        crate::operation::start_remote_move::builders::StartRemoteMoveFluentBuilder::new(self.handle.clone())
14    }
15}