list_message_move_tasks
async
¶
list_message_move_tasks(
source_arn: String,
*,
config_overrides: Optional[AsyncSQSClientConfig] = None,
max_results: Optional[NullableInteger] = None,
) -> ListMessageMoveTasksResult
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.
-
Only one active message movement task is supported per queue at any given time.
Parameters:
-
source_arn(String) –The ARN of the queue whose message movement tasks are to be listed.
-
max_results(Optional[NullableInteger], default:None) –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.
Raises:
-
InvalidAddress–The specified ID is invalid.
-
InvalidSecurity–The request was not made over HTTPS or did not use SigV4 for signing.
-
RequestThrottled–The request was denied due to request throttling.
-
Exceeds the permitted request rate for the queue or for the recipient of the request.
-
Ensure that the request rate is within the Amazon SQS limits for sending messages. For more information, see Amazon SQS quotas in the Amazon SQS Developer Guide.
-
-
ResourceNotFoundException–One or more specified resources don't exist.
-
UnsupportedOperation–Error code 400. Unsupported operation.
-
UnknownServiceError–The service returned an error code this client does not model.