Skip to content

StartMessageMoveTaskRequest

Source code in docs_src/capo_sqs/types/start_message_move_task_request.py
class StartMessageMoveTaskRequest(TypedDict, closed=True):
    source_arn: "capo_sqs.types.string.String"
    """<p>The ARN of the queue that contains the messages to be moved to another queue. Currently, only ARNs of dead-letter queues (DLQs) whose sources are other Amazon SQS queues are accepted. DLQs whose sources are non-SQS queues, such as Lambda or Amazon SNS topics, are not currently supported.</p>"""
    destination_arn: NotRequired["capo_sqs.types.string.String"]
    """<p>The ARN of the queue that receives the moved messages. You can use this field to specify the destination queue where you would like to redrive messages. If this field is left blank, the messages will be redriven back to their respective original source queues.</p>"""
    max_number_of_messages_per_second: NotRequired[
        "capo_sqs.types.nullable_integer.NullableInteger"
    ]
    """<p>The number of messages to be moved per second (the message movement rate). You can use this field to define a fixed message movement rate. The maximum value for messages per second is 500. If this field is left blank, the system will optimize the rate based on the queue message backlog size, which may vary throughout the duration of the message movement task.</p>"""

destination_arn instance-attribute

destination_arn: NotRequired[String]

The ARN of the queue that receives the moved messages. You can use this field to specify the destination queue where you would like to redrive messages. If this field is left blank, the messages will be redriven back to their respective original source queues.

max_number_of_messages_per_second instance-attribute

max_number_of_messages_per_second: NotRequired[NullableInteger]

The number of messages to be moved per second (the message movement rate). You can use this field to define a fixed message movement rate. The maximum value for messages per second is 500. If this field is left blank, the system will optimize the rate based on the queue message backlog size, which may vary throughout the duration of the message movement task.

source_arn instance-attribute

source_arn: String

The ARN of the queue that contains the messages to be moved to another queue. Currently, only ARNs of dead-letter queues (DLQs) whose sources are other Amazon SQS queues are accepted. DLQs whose sources are non-SQS queues, such as Lambda or Amazon SNS topics, are not currently supported.