Struct aws_sdk_sqs::operation::list_message_move_tasks::builders::ListMessageMoveTasksFluentBuilder
source · pub struct ListMessageMoveTasksFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to ListMessageMoveTasks
.
Gets the most recent message movement tasks (up to 10) under a specific source queue.
-
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 ListMessageMoveTasksFluentBuilder
impl ListMessageMoveTasksFluentBuilder
sourcepub fn as_input(&self) -> &ListMessageMoveTasksInputBuilder
pub fn as_input(&self) -> &ListMessageMoveTasksInputBuilder
Access the ListMessageMoveTasks as a reference.
sourcepub async fn send(
self
) -> Result<ListMessageMoveTasksOutput, SdkError<ListMessageMoveTasksError, HttpResponse>>
pub async fn send( self ) -> Result<ListMessageMoveTasksOutput, SdkError<ListMessageMoveTasksError, 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<ListMessageMoveTasksOutput, ListMessageMoveTasksError, Self>
pub fn customize( self ) -> CustomizableOperation<ListMessageMoveTasksOutput, ListMessageMoveTasksError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn source_arn(self, input: impl Into<String>) -> Self
pub fn source_arn(self, input: impl Into<String>) -> Self
The ARN of the queue whose message movement tasks are to be listed.
sourcepub fn set_source_arn(self, input: Option<String>) -> Self
pub fn set_source_arn(self, input: Option<String>) -> Self
The ARN of the queue whose message movement tasks are to be listed.
sourcepub fn get_source_arn(&self) -> &Option<String>
pub fn get_source_arn(&self) -> &Option<String>
The ARN of the queue whose message movement tasks are to be listed.
sourcepub fn max_results(self, input: i32) -> Self
pub fn max_results(self, input: i32) -> Self
The maximum number of results to include in the response. The default is 1, which provides the most recent message movement task. The upper limit is 10.
sourcepub fn set_max_results(self, input: Option<i32>) -> Self
pub fn set_max_results(self, input: Option<i32>) -> Self
The maximum number of results to include in the response. The default is 1, which provides the most recent message movement task. The upper limit is 10.
sourcepub fn get_max_results(&self) -> &Option<i32>
pub fn get_max_results(&self) -> &Option<i32>
The maximum number of results to include in the response. The default is 1, which provides the most recent message movement task. The upper limit is 10.
Trait Implementations§
source§impl Clone for ListMessageMoveTasksFluentBuilder
impl Clone for ListMessageMoveTasksFluentBuilder
source§fn clone(&self) -> ListMessageMoveTasksFluentBuilder
fn clone(&self) -> ListMessageMoveTasksFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more