class Amazonite::Sqs::ListMessageMoveTasksResultEntry

Overview

Contains the details of a message movement task.

Included Modules

Defined in:

sqs/list_message_move_tasks_result_entry.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(pull : JSON::PullParser) #

[View source]
def self.new(task_handle : String | Nil = nil, status : String | Nil = nil, source_arn : String | Nil = nil, destination_arn : String | Nil = nil, max_number_of_messages_per_second : Int32 | Nil = nil, approximate_number_of_messages_moved : Int64 | Nil = nil, approximate_number_of_messages_to_move : Int64 | Nil = nil, failure_reason : String | Nil = nil, started_timestamp : Int64 | Nil = nil) #

[View source]
def self.new(*, __pull_for_json_serializable pull : JSON::PullParser) #

[View source]

Instance Method Detail

def ==(other : self) #
Description copied from class Reference

Returns true if this reference is the same as other. Invokes same?.


def approximate_number_of_messages_moved : Int64 | Nil #

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


[View source]
def approximate_number_of_messages_moved=(approximate_number_of_messages_moved : Int64 | Nil) #

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


[View source]
def approximate_number_of_messages_to_move : Int64 | Nil #

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.


[View source]
def approximate_number_of_messages_to_move=(approximate_number_of_messages_to_move : Int64 | Nil) #

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.


[View source]
def destination_arn : String | Nil #

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.


[View source]
def destination_arn=(destination_arn : String | Nil) #

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.


[View source]
def failure_reason : String | Nil #

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


[View source]
def failure_reason=(failure_reason : String | Nil) #

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


[View source]
def hash(hasher) #
Description copied from class Reference

See Object#hash(hasher)


def max_number_of_messages_per_second : Int32 | Nil #

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.


[View source]
def max_number_of_messages_per_second=(max_number_of_messages_per_second : Int32 | Nil) #

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.


[View source]
def source_arn : String | Nil #

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


[View source]
def source_arn=(source_arn : String | Nil) #

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


[View source]
def started_timestamp : Int64 | Nil #

The timestamp of starting the message movement task.


[View source]
def started_timestamp=(started_timestamp : Int64 | Nil) #

The timestamp of starting the message movement task.


[View source]
def status : String | Nil #

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


[View source]
def status=(status : String | Nil) #

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


[View source]
def task_handle : String | Nil #

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.


[View source]
def task_handle=(task_handle : String | Nil) #

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.


[View source]
def validate! : Nil #

[View source]