pub struct MoveReplicationTask { /* private fields */ }
Expand description
Fluent builder constructing a request to MoveReplicationTask
.
Moves a replication task from its current replication instance to a different target replication instance using the specified parameters. The target replication instance must be created with the same or later DMS version as the current replication instance.
Implementations§
source§impl MoveReplicationTask
impl MoveReplicationTask
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<MoveReplicationTask, AwsResponseRetryClassifier>, SdkError<MoveReplicationTaskError>>
pub async fn customize(
self
) -> Result<CustomizableOperation<MoveReplicationTask, AwsResponseRetryClassifier>, SdkError<MoveReplicationTaskError>>
Consume this builder, creating a customizable operation that can be modified before being sent. The operation’s inner http::Request can be modified as well.
sourcepub async fn send(
self
) -> Result<MoveReplicationTaskOutput, SdkError<MoveReplicationTaskError>>
pub async fn send(
self
) -> Result<MoveReplicationTaskOutput, SdkError<MoveReplicationTaskError>>
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub fn replication_task_arn(self, input: impl Into<String>) -> Self
pub fn replication_task_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the task that you want to move.
sourcepub fn set_replication_task_arn(self, input: Option<String>) -> Self
pub fn set_replication_task_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the task that you want to move.
sourcepub fn target_replication_instance_arn(self, input: impl Into<String>) -> Self
pub fn target_replication_instance_arn(self, input: impl Into<String>) -> Self
The ARN of the replication instance where you want to move the task to.
sourcepub fn set_target_replication_instance_arn(self, input: Option<String>) -> Self
pub fn set_target_replication_instance_arn(self, input: Option<String>) -> Self
The ARN of the replication instance where you want to move the task to.
Trait Implementations§
source§impl Clone for MoveReplicationTask
impl Clone for MoveReplicationTask
source§fn clone(&self) -> MoveReplicationTask
fn clone(&self) -> MoveReplicationTask
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more