Struct aws_sdk_sns::operation::publish::PublishOutput
source · #[non_exhaustive]pub struct PublishOutput {
pub message_id: Option<String>,
pub sequence_number: Option<String>,
/* private fields */
}
Expand description
Response for Publish action.
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.message_id: Option<String>
Unique identifier assigned to the published message.
Length Constraint: Maximum 100 characters
sequence_number: Option<String>
This response element applies only to FIFO (first-in-first-out) topics.
The sequence number is a large, non-consecutive number that Amazon SNS assigns to each message. The length of SequenceNumber
is 128 bits. SequenceNumber
continues to increase for each MessageGroupId
.
Implementations§
source§impl PublishOutput
impl PublishOutput
sourcepub fn message_id(&self) -> Option<&str>
pub fn message_id(&self) -> Option<&str>
Unique identifier assigned to the published message.
Length Constraint: Maximum 100 characters
sourcepub fn sequence_number(&self) -> Option<&str>
pub fn sequence_number(&self) -> Option<&str>
This response element applies only to FIFO (first-in-first-out) topics.
The sequence number is a large, non-consecutive number that Amazon SNS assigns to each message. The length of SequenceNumber
is 128 bits. SequenceNumber
continues to increase for each MessageGroupId
.
source§impl PublishOutput
impl PublishOutput
sourcepub fn builder() -> PublishOutputBuilder
pub fn builder() -> PublishOutputBuilder
Creates a new builder-style object to manufacture PublishOutput
.
Trait Implementations§
source§impl Clone for PublishOutput
impl Clone for PublishOutput
source§fn clone(&self) -> PublishOutput
fn clone(&self) -> PublishOutput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for PublishOutput
impl Debug for PublishOutput
source§impl PartialEq for PublishOutput
impl PartialEq for PublishOutput
source§fn eq(&self, other: &PublishOutput) -> bool
fn eq(&self, other: &PublishOutput) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl RequestId for PublishOutput
impl RequestId for PublishOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
None
if the service could not be reached.