#[non_exhaustive]pub struct StartMessageMoveTaskInput {
pub source_arn: Option<String>,
pub destination_arn: Option<String>,
pub max_number_of_messages_per_second: Option<i32>,
}
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.source_arn: Option<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.
destination_arn: Option<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: Option<i32>
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.
Implementations§
source§impl StartMessageMoveTaskInput
impl StartMessageMoveTaskInput
sourcepub fn source_arn(&self) -> Option<&str>
pub fn source_arn(&self) -> Option<&str>
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.
sourcepub fn destination_arn(&self) -> Option<&str>
pub fn destination_arn(&self) -> Option<&str>
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.
sourcepub fn max_number_of_messages_per_second(&self) -> Option<i32>
pub fn max_number_of_messages_per_second(&self) -> Option<i32>
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§impl StartMessageMoveTaskInput
impl StartMessageMoveTaskInput
sourcepub fn builder() -> StartMessageMoveTaskInputBuilder
pub fn builder() -> StartMessageMoveTaskInputBuilder
Creates a new builder-style object to manufacture StartMessageMoveTaskInput
.
Trait Implementations§
source§impl Clone for StartMessageMoveTaskInput
impl Clone for StartMessageMoveTaskInput
source§fn clone(&self) -> StartMessageMoveTaskInput
fn clone(&self) -> StartMessageMoveTaskInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for StartMessageMoveTaskInput
impl Debug for StartMessageMoveTaskInput
source§impl PartialEq for StartMessageMoveTaskInput
impl PartialEq for StartMessageMoveTaskInput
source§fn eq(&self, other: &StartMessageMoveTaskInput) -> bool
fn eq(&self, other: &StartMessageMoveTaskInput) -> bool
self
and other
values to be equal, and is used
by ==
.