aws_sdk_elasticbeanstalk/client/
abort_environment_update.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 [`AbortEnvironmentUpdate`](crate::operation::abort_environment_update::builders::AbortEnvironmentUpdateFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`environment_id(impl Into<String>)`](crate::operation::abort_environment_update::builders::AbortEnvironmentUpdateFluentBuilder::environment_id) / [`set_environment_id(Option<String>)`](crate::operation::abort_environment_update::builders::AbortEnvironmentUpdateFluentBuilder::set_environment_id):<br>required: **false**<br><p>This specifies the ID of the environment with the in-progress update that you want to cancel.</p><br>
7    ///   - [`environment_name(impl Into<String>)`](crate::operation::abort_environment_update::builders::AbortEnvironmentUpdateFluentBuilder::environment_name) / [`set_environment_name(Option<String>)`](crate::operation::abort_environment_update::builders::AbortEnvironmentUpdateFluentBuilder::set_environment_name):<br>required: **false**<br><p>This specifies the name of the environment with the in-progress update that you want to cancel.</p><br>
8    /// - On success, responds with [`AbortEnvironmentUpdateOutput`](crate::operation::abort_environment_update::AbortEnvironmentUpdateOutput)
9    /// - On failure, responds with [`SdkError<AbortEnvironmentUpdateError>`](crate::operation::abort_environment_update::AbortEnvironmentUpdateError)
10    pub fn abort_environment_update(&self) -> crate::operation::abort_environment_update::builders::AbortEnvironmentUpdateFluentBuilder {
11        crate::operation::abort_environment_update::builders::AbortEnvironmentUpdateFluentBuilder::new(self.handle.clone())
12    }
13}