aws_sdk_batch/client/
delete_service_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 [`DeleteServiceEnvironment`](crate::operation::delete_service_environment::builders::DeleteServiceEnvironmentFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`service_environment(impl Into<String>)`](crate::operation::delete_service_environment::builders::DeleteServiceEnvironmentFluentBuilder::service_environment) / [`set_service_environment(Option<String>)`](crate::operation::delete_service_environment::builders::DeleteServiceEnvironmentFluentBuilder::set_service_environment):<br>required: **true**<br><p>The name or ARN of the service environment to delete.</p><br>
7    /// - On success, responds with [`DeleteServiceEnvironmentOutput`](crate::operation::delete_service_environment::DeleteServiceEnvironmentOutput)
8    /// - On failure, responds with [`SdkError<DeleteServiceEnvironmentError>`](crate::operation::delete_service_environment::DeleteServiceEnvironmentError)
9    pub fn delete_service_environment(&self) -> crate::operation::delete_service_environment::builders::DeleteServiceEnvironmentFluentBuilder {
10        crate::operation::delete_service_environment::builders::DeleteServiceEnvironmentFluentBuilder::new(self.handle.clone())
11    }
12}