aws_sdk_deadline/client/delete_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 [`DeleteQueue`](crate::operation::delete_queue::builders::DeleteQueueFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`farm_id(impl Into<String>)`](crate::operation::delete_queue::builders::DeleteQueueFluentBuilder::farm_id) / [`set_farm_id(Option<String>)`](crate::operation::delete_queue::builders::DeleteQueueFluentBuilder::set_farm_id):<br>required: **true**<br><p>The ID of the farm from which to remove the queue.</p><br>
7 /// - [`queue_id(impl Into<String>)`](crate::operation::delete_queue::builders::DeleteQueueFluentBuilder::queue_id) / [`set_queue_id(Option<String>)`](crate::operation::delete_queue::builders::DeleteQueueFluentBuilder::set_queue_id):<br>required: **true**<br><p>The queue ID of the queue to delete.</p><br>
8 /// - On success, responds with [`DeleteQueueOutput`](crate::operation::delete_queue::DeleteQueueOutput)
9 /// - On failure, responds with [`SdkError<DeleteQueueError>`](crate::operation::delete_queue::DeleteQueueError)
10 pub fn delete_queue(&self) -> crate::operation::delete_queue::builders::DeleteQueueFluentBuilder {
11 crate::operation::delete_queue::builders::DeleteQueueFluentBuilder::new(self.handle.clone())
12 }
13}