aws_sdk_sqs/client/purge_queue.rs
1// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
2impl super::Client {
3 /// Constructs a fluent builder for the [`PurgeQueue`](crate::operation::purge_queue::builders::PurgeQueueFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`queue_url(impl Into<String>)`](crate::operation::purge_queue::builders::PurgeQueueFluentBuilder::queue_url) / [`set_queue_url(Option<String>)`](crate::operation::purge_queue::builders::PurgeQueueFluentBuilder::set_queue_url):<br>required: **true**<br><p>The URL of the queue from which the <code>PurgeQueue</code> action deletes messages.</p> <p>Queue URLs and names are case-sensitive.</p><br>
7 /// - On success, responds with [`PurgeQueueOutput`](crate::operation::purge_queue::PurgeQueueOutput)
8 /// - On failure, responds with [`SdkError<PurgeQueueError>`](crate::operation::purge_queue::PurgeQueueError)
9 pub fn purge_queue(&self) -> crate::operation::purge_queue::builders::PurgeQueueFluentBuilder {
10 crate::operation::purge_queue::builders::PurgeQueueFluentBuilder::new(self.handle.clone())
11 }
12}