Struct aws_sdk_sqs::operation::send_message::SendMessageOutput
source · #[non_exhaustive]pub struct SendMessageOutput {
pub md5_of_message_body: Option<String>,
pub md5_of_message_attributes: Option<String>,
pub md5_of_message_system_attributes: Option<String>,
pub message_id: Option<String>,
pub sequence_number: Option<String>,
/* private fields */
}
Expand description
The MD5OfMessageBody
and MessageId
elements.
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.md5_of_message_body: Option<String>
An MD5 digest of the non-URL-encoded message body string. You can use this attribute to verify that Amazon SQS received the message correctly. Amazon SQS URL-decodes the message before creating the MD5 digest. For information about MD5, see RFC1321.
md5_of_message_attributes: Option<String>
An MD5 digest of the non-URL-encoded message attribute string. You can use this attribute to verify that Amazon SQS received the message correctly. Amazon SQS URL-decodes the message before creating the MD5 digest. For information about MD5, see RFC1321.
md5_of_message_system_attributes: Option<String>
An MD5 digest of the non-URL-encoded message system attribute string. You can use this attribute to verify that Amazon SQS received the message correctly. Amazon SQS URL-decodes the message before creating the MD5 digest.
message_id: Option<String>
An attribute containing the MessageId
of the message sent to the queue. For more information, see Queue and Message Identifiers in the Amazon SQS Developer Guide.
sequence_number: Option<String>
This parameter applies only to FIFO (first-in-first-out) queues.
The large, non-consecutive number that Amazon SQS assigns to each message.
The length of SequenceNumber
is 128 bits. SequenceNumber
continues to increase for a particular MessageGroupId
.
Implementations§
source§impl SendMessageOutput
impl SendMessageOutput
sourcepub fn md5_of_message_body(&self) -> Option<&str>
pub fn md5_of_message_body(&self) -> Option<&str>
An MD5 digest of the non-URL-encoded message body string. You can use this attribute to verify that Amazon SQS received the message correctly. Amazon SQS URL-decodes the message before creating the MD5 digest. For information about MD5, see RFC1321.
sourcepub fn md5_of_message_attributes(&self) -> Option<&str>
pub fn md5_of_message_attributes(&self) -> Option<&str>
An MD5 digest of the non-URL-encoded message attribute string. You can use this attribute to verify that Amazon SQS received the message correctly. Amazon SQS URL-decodes the message before creating the MD5 digest. For information about MD5, see RFC1321.
sourcepub fn md5_of_message_system_attributes(&self) -> Option<&str>
pub fn md5_of_message_system_attributes(&self) -> Option<&str>
An MD5 digest of the non-URL-encoded message system attribute string. You can use this attribute to verify that Amazon SQS received the message correctly. Amazon SQS URL-decodes the message before creating the MD5 digest.
sourcepub fn message_id(&self) -> Option<&str>
pub fn message_id(&self) -> Option<&str>
An attribute containing the MessageId
of the message sent to the queue. For more information, see Queue and Message Identifiers in the Amazon SQS Developer Guide.
sourcepub fn sequence_number(&self) -> Option<&str>
pub fn sequence_number(&self) -> Option<&str>
This parameter applies only to FIFO (first-in-first-out) queues.
The large, non-consecutive number that Amazon SQS assigns to each message.
The length of SequenceNumber
is 128 bits. SequenceNumber
continues to increase for a particular MessageGroupId
.
source§impl SendMessageOutput
impl SendMessageOutput
sourcepub fn builder() -> SendMessageOutputBuilder
pub fn builder() -> SendMessageOutputBuilder
Creates a new builder-style object to manufacture SendMessageOutput
.
Trait Implementations§
source§impl Clone for SendMessageOutput
impl Clone for SendMessageOutput
source§fn clone(&self) -> SendMessageOutput
fn clone(&self) -> SendMessageOutput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for SendMessageOutput
impl Debug for SendMessageOutput
source§impl PartialEq for SendMessageOutput
impl PartialEq for SendMessageOutput
source§fn eq(&self, other: &SendMessageOutput) -> bool
fn eq(&self, other: &SendMessageOutput) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl RequestId for SendMessageOutput
impl RequestId for SendMessageOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
None
if the service could not be reached.