Struct aws_sdk_sqs::operation::change_message_visibility_batch::builders::ChangeMessageVisibilityBatchFluentBuilder
source · pub struct ChangeMessageVisibilityBatchFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to ChangeMessageVisibilityBatch
.
Changes the visibility timeout of multiple messages. This is a batch version of
The result of the action on each message is reported individually in the response. You can send up to 10 ChangeMessageVisibility
.
requests with each ChangeMessageVisibility
ChangeMessageVisibilityBatch
action.
Because the batch request can result in a combination of successful and unsuccessful actions, you should check for batch errors even when the call returns an HTTP status code of 200
.
Implementations§
source§impl ChangeMessageVisibilityBatchFluentBuilder
impl ChangeMessageVisibilityBatchFluentBuilder
sourcepub fn as_input(&self) -> &ChangeMessageVisibilityBatchInputBuilder
pub fn as_input(&self) -> &ChangeMessageVisibilityBatchInputBuilder
Access the ChangeMessageVisibilityBatch as a reference.
sourcepub async fn send(
self
) -> Result<ChangeMessageVisibilityBatchOutput, SdkError<ChangeMessageVisibilityBatchError, HttpResponse>>
pub async fn send( self ) -> Result<ChangeMessageVisibilityBatchOutput, SdkError<ChangeMessageVisibilityBatchError, HttpResponse>>
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub fn customize(
self
) -> CustomizableOperation<ChangeMessageVisibilityBatchOutput, ChangeMessageVisibilityBatchError, Self>
pub fn customize( self ) -> CustomizableOperation<ChangeMessageVisibilityBatchOutput, ChangeMessageVisibilityBatchError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn queue_url(self, input: impl Into<String>) -> Self
pub fn queue_url(self, input: impl Into<String>) -> Self
The URL of the Amazon SQS queue whose messages' visibility is changed.
Queue URLs and names are case-sensitive.
sourcepub fn set_queue_url(self, input: Option<String>) -> Self
pub fn set_queue_url(self, input: Option<String>) -> Self
The URL of the Amazon SQS queue whose messages' visibility is changed.
Queue URLs and names are case-sensitive.
sourcepub fn get_queue_url(&self) -> &Option<String>
pub fn get_queue_url(&self) -> &Option<String>
The URL of the Amazon SQS queue whose messages' visibility is changed.
Queue URLs and names are case-sensitive.
sourcepub fn entries(self, input: ChangeMessageVisibilityBatchRequestEntry) -> Self
pub fn entries(self, input: ChangeMessageVisibilityBatchRequestEntry) -> Self
Appends an item to Entries
.
To override the contents of this collection use set_entries
.
Lists the receipt handles of the messages for which the visibility timeout must be changed.
sourcepub fn set_entries(
self,
input: Option<Vec<ChangeMessageVisibilityBatchRequestEntry>>
) -> Self
pub fn set_entries( self, input: Option<Vec<ChangeMessageVisibilityBatchRequestEntry>> ) -> Self
Lists the receipt handles of the messages for which the visibility timeout must be changed.
sourcepub fn get_entries(
&self
) -> &Option<Vec<ChangeMessageVisibilityBatchRequestEntry>>
pub fn get_entries( &self ) -> &Option<Vec<ChangeMessageVisibilityBatchRequestEntry>>
Lists the receipt handles of the messages for which the visibility timeout must be changed.
Trait Implementations§
source§impl Clone for ChangeMessageVisibilityBatchFluentBuilder
impl Clone for ChangeMessageVisibilityBatchFluentBuilder
source§fn clone(&self) -> ChangeMessageVisibilityBatchFluentBuilder
fn clone(&self) -> ChangeMessageVisibilityBatchFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more