#[non_exhaustive]pub struct ChangeMessageVisibilityBatchRequestEntry { /* private fields */ }
Expand description
Encloses a receipt handle and an entry id for each message in
ChangeMessageVisibilityBatch
.
All of the following list parameters must be prefixed with ChangeMessageVisibilityBatchRequestEntry.n
, where n
is an integer value starting with 1
. For example, a parameter list for this action might look like this:
&ChangeMessageVisibilityBatchRequestEntry.1.Id=change_visibility_msg_2
&ChangeMessageVisibilityBatchRequestEntry.1.ReceiptHandle=your_receipt_handle
&ChangeMessageVisibilityBatchRequestEntry.1.VisibilityTimeout=45
Implementations§
source§impl ChangeMessageVisibilityBatchRequestEntry
impl ChangeMessageVisibilityBatchRequestEntry
sourcepub fn id(&self) -> Option<&str>
pub fn id(&self) -> Option<&str>
An identifier for this particular receipt handle used to communicate the result.
The Id
s of a batch request need to be unique within a request.
This identifier can have up to 80 characters. The following characters are accepted: alphanumeric characters, hyphens(-), and underscores (_).
sourcepub fn receipt_handle(&self) -> Option<&str>
pub fn receipt_handle(&self) -> Option<&str>
A receipt handle.
sourcepub fn visibility_timeout(&self) -> i32
pub fn visibility_timeout(&self) -> i32
The new value (in seconds) for the message's visibility timeout.
source§impl ChangeMessageVisibilityBatchRequestEntry
impl ChangeMessageVisibilityBatchRequestEntry
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture ChangeMessageVisibilityBatchRequestEntry
.
Trait Implementations§
source§impl Clone for ChangeMessageVisibilityBatchRequestEntry
impl Clone for ChangeMessageVisibilityBatchRequestEntry
source§fn clone(&self) -> ChangeMessageVisibilityBatchRequestEntry
fn clone(&self) -> ChangeMessageVisibilityBatchRequestEntry
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq<ChangeMessageVisibilityBatchRequestEntry> for ChangeMessageVisibilityBatchRequestEntry
impl PartialEq<ChangeMessageVisibilityBatchRequestEntry> for ChangeMessageVisibilityBatchRequestEntry
source§fn eq(&self, other: &ChangeMessageVisibilityBatchRequestEntry) -> bool
fn eq(&self, other: &ChangeMessageVisibilityBatchRequestEntry) -> bool
self
and other
values to be equal, and is used
by ==
.