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