Struct aws_sdk_sqs::operation::purge_queue::builders::PurgeQueueFluentBuilder
source · pub struct PurgeQueueFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to PurgeQueue
.
Deletes available messages in a queue (including in-flight messages) specified by the QueueURL
parameter.
When you use the PurgeQueue
action, you can't retrieve any messages deleted from a queue.
The message deletion process takes up to 60 seconds. We recommend waiting for 60 seconds regardless of your queue's size.
Messages sent to the queue before you call PurgeQueue
might be received but are deleted within the next minute.
Messages sent to the queue after you call PurgeQueue
might be deleted while the queue is being purged.
Implementations§
source§impl PurgeQueueFluentBuilder
impl PurgeQueueFluentBuilder
sourcepub fn as_input(&self) -> &PurgeQueueInputBuilder
pub fn as_input(&self) -> &PurgeQueueInputBuilder
Access the PurgeQueue as a reference.
sourcepub async fn send(
self
) -> Result<PurgeQueueOutput, SdkError<PurgeQueueError, HttpResponse>>
pub async fn send( self ) -> Result<PurgeQueueOutput, SdkError<PurgeQueueError, 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<PurgeQueueOutput, PurgeQueueError, Self>
pub fn customize( self ) -> CustomizableOperation<PurgeQueueOutput, PurgeQueueError, 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 queue from which the PurgeQueue
action deletes messages.
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 queue from which the PurgeQueue
action deletes messages.
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 queue from which the PurgeQueue
action deletes messages.
Queue URLs and names are case-sensitive.
Trait Implementations§
source§impl Clone for PurgeQueueFluentBuilder
impl Clone for PurgeQueueFluentBuilder
source§fn clone(&self) -> PurgeQueueFluentBuilder
fn clone(&self) -> PurgeQueueFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more