aws_sdk_proton/client/
cancel_environment_deployment.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`CancelEnvironmentDeployment`](crate::operation::cancel_environment_deployment::builders::CancelEnvironmentDeploymentFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`environment_name(impl Into<String>)`](crate::operation::cancel_environment_deployment::builders::CancelEnvironmentDeploymentFluentBuilder::environment_name) / [`set_environment_name(Option<String>)`](crate::operation::cancel_environment_deployment::builders::CancelEnvironmentDeploymentFluentBuilder::set_environment_name):<br>required: **true**<br><p>The name of the environment with the deployment to cancel.</p><br>
    /// - On success, responds with [`CancelEnvironmentDeploymentOutput`](crate::operation::cancel_environment_deployment::CancelEnvironmentDeploymentOutput) with field(s):
    ///   - [`environment(Option<Environment>)`](crate::operation::cancel_environment_deployment::CancelEnvironmentDeploymentOutput::environment): <p>The environment summary data that's returned by Proton.</p>
    /// - On failure, responds with [`SdkError<CancelEnvironmentDeploymentError>`](crate::operation::cancel_environment_deployment::CancelEnvironmentDeploymentError)
    pub fn cancel_environment_deployment(
        &self,
    ) -> crate::operation::cancel_environment_deployment::builders::CancelEnvironmentDeploymentFluentBuilder {
        crate::operation::cancel_environment_deployment::builders::CancelEnvironmentDeploymentFluentBuilder::new(self.handle.clone())
    }
}