Class: Aws::SQS::Types::StartMessageMoveTaskRequest

Inherits:
Struct
  • Object
show all
Includes:
Aws::Structure
Defined in:
lib/aws-sdk-sqs/types.rb

Overview

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#destination_arnString

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.

Returns:

  • (String)


2722
2723
2724
2725
2726
2727
2728
# File 'lib/aws-sdk-sqs/types.rb', line 2722

class StartMessageMoveTaskRequest < Struct.new(
  :source_arn,
  :destination_arn,
  :max_number_of_messages_per_second)
  SENSITIVE = []
  include Aws::Structure
end

#max_number_of_messages_per_secondInteger

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.

Returns:

  • (Integer)


2722
2723
2724
2725
2726
2727
2728
# File 'lib/aws-sdk-sqs/types.rb', line 2722

class StartMessageMoveTaskRequest < Struct.new(
  :source_arn,
  :destination_arn,
  :max_number_of_messages_per_second)
  SENSITIVE = []
  include Aws::Structure
end

#source_arnString

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.

Returns:

  • (String)


2722
2723
2724
2725
2726
2727
2728
# File 'lib/aws-sdk-sqs/types.rb', line 2722

class StartMessageMoveTaskRequest < Struct.new(
  :source_arn,
  :destination_arn,
  :max_number_of_messages_per_second)
  SENSITIVE = []
  include Aws::Structure
end