Struct aws_sdk_sqs::operation::cancel_message_move_task::builders::CancelMessageMoveTaskFluentBuilder
source · pub struct CancelMessageMoveTaskFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to CancelMessageMoveTask
.
Cancels a specified message movement task. A message movement can only be cancelled when the current status is RUNNING. Cancelling a message movement task does not revert the messages that have already been moved. It can only stop the messages that have not been moved yet.
-
This action is currently limited to supporting message redrive from dead-letter queues (DLQs) only. In this context, the source queue is the dead-letter queue (DLQ), while the destination queue can be the original source queue (from which the messages were driven to the dead-letter-queue), or a custom destination queue.
-
Currently, only standard queues are supported.
-
Only one active message movement task is supported per queue at any given time.
Implementations§
source§impl CancelMessageMoveTaskFluentBuilder
impl CancelMessageMoveTaskFluentBuilder
sourcepub fn as_input(&self) -> &CancelMessageMoveTaskInputBuilder
pub fn as_input(&self) -> &CancelMessageMoveTaskInputBuilder
Access the CancelMessageMoveTask as a reference.
sourcepub async fn send(
self
) -> Result<CancelMessageMoveTaskOutput, SdkError<CancelMessageMoveTaskError, HttpResponse>>
pub async fn send( self ) -> Result<CancelMessageMoveTaskOutput, SdkError<CancelMessageMoveTaskError, HttpResponse>>
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 customize(
self
) -> CustomizableOperation<CancelMessageMoveTaskOutput, CancelMessageMoveTaskError, Self>
pub fn customize( self ) -> CustomizableOperation<CancelMessageMoveTaskOutput, CancelMessageMoveTaskError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn task_handle(self, input: impl Into<String>) -> Self
pub fn task_handle(self, input: impl Into<String>) -> Self
An identifier associated with a message movement task.
sourcepub fn set_task_handle(self, input: Option<String>) -> Self
pub fn set_task_handle(self, input: Option<String>) -> Self
An identifier associated with a message movement task.
sourcepub fn get_task_handle(&self) -> &Option<String>
pub fn get_task_handle(&self) -> &Option<String>
An identifier associated with a message movement task.
Trait Implementations§
source§impl Clone for CancelMessageMoveTaskFluentBuilder
impl Clone for CancelMessageMoveTaskFluentBuilder
source§fn clone(&self) -> CancelMessageMoveTaskFluentBuilder
fn clone(&self) -> CancelMessageMoveTaskFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more