Skip to content

SQS  >  Structures  >  ListMessageMoveTasksResultEntry

ListMessageMoveTasksResultEntry

Structure Class

ListMessageMoveTasksResultEntry dataclass

Contains the details of a message movement task.

Attributes

approximate_number_of_messages_moved class-attribute instance-attribute
approximate_number_of_messages_moved: int = 0

The approximate number of messages already moved to the destination queue.

approximate_number_of_messages_to_move class-attribute instance-attribute
approximate_number_of_messages_to_move: int | None = None

The number of messages to be moved from the source queue. This number is obtained at the time of starting the message movement task and is only included after the message movement task is selected to start.

destination_arn class-attribute instance-attribute
destination_arn: str | None = None

The ARN of the destination queue if it has been specified in the StartMessageMoveTask request. If a DestinationArn has not been specified in the StartMessageMoveTask request, this field value will be NULL.

failure_reason class-attribute instance-attribute
failure_reason: str | None = None

The task failure reason (only included if the task status is FAILED).

max_number_of_messages_per_second class-attribute instance-attribute
max_number_of_messages_per_second: int | None = None

The number of messages to be moved per second (the message movement rate), if it has been specified in the StartMessageMoveTask request. If a MaxNumberOfMessagesPerSecond has not been specified in the StartMessageMoveTask request, this field value will be NULL.

source_arn class-attribute instance-attribute
source_arn: str | None = None

The ARN of the queue that contains the messages to be moved to another queue.

started_timestamp class-attribute instance-attribute
started_timestamp: int = 0

The timestamp of starting the message movement task.

status class-attribute instance-attribute
status: str | None = None

The status of the message movement task. Possible values are: RUNNING, COMPLETED, CANCELLING, CANCELLED, and FAILED.

task_handle class-attribute instance-attribute
task_handle: str | None = None

An identifier associated with a message movement task. When this field is returned in the response of the ListMessageMoveTasks action, it is only populated for tasks that are in RUNNING status.