aws_sdk_deadline/client/
delete_queue.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`DeleteQueue`](crate::operation::delete_queue::builders::DeleteQueueFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`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>
    ///   - [`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>
    /// - On success, responds with [`DeleteQueueOutput`](crate::operation::delete_queue::DeleteQueueOutput)
    /// - On failure, responds with [`SdkError<DeleteQueueError>`](crate::operation::delete_queue::DeleteQueueError)
    pub fn delete_queue(&self) -> crate::operation::delete_queue::builders::DeleteQueueFluentBuilder {
        crate::operation::delete_queue::builders::DeleteQueueFluentBuilder::new(self.handle.clone())
    }
}