aws_sdk_batch/client/
delete_compute_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 [`DeleteComputeEnvironment`](crate::operation::delete_compute_environment::builders::DeleteComputeEnvironmentFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`compute_environment(impl Into<String>)`](crate::operation::delete_compute_environment::builders::DeleteComputeEnvironmentFluentBuilder::compute_environment) / [`set_compute_environment(Option<String>)`](crate::operation::delete_compute_environment::builders::DeleteComputeEnvironmentFluentBuilder::set_compute_environment):<br>required: **true**<br><p>The name or Amazon Resource Name (ARN) of the compute environment to delete.</p><br>
7    /// - On success, responds with [`DeleteComputeEnvironmentOutput`](crate::operation::delete_compute_environment::DeleteComputeEnvironmentOutput)
8    /// - On failure, responds with [`SdkError<DeleteComputeEnvironmentError>`](crate::operation::delete_compute_environment::DeleteComputeEnvironmentError)
9    pub fn delete_compute_environment(&self) -> crate::operation::delete_compute_environment::builders::DeleteComputeEnvironmentFluentBuilder {
10        crate::operation::delete_compute_environment::builders::DeleteComputeEnvironmentFluentBuilder::new(self.handle.clone())
11    }
12}