aws_sdk_launchwizard/client/
delete_deployment.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 [`DeleteDeployment`](crate::operation::delete_deployment::builders::DeleteDeploymentFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`deployment_id(impl Into<String>)`](crate::operation::delete_deployment::builders::DeleteDeploymentFluentBuilder::deployment_id) / [`set_deployment_id(Option<String>)`](crate::operation::delete_deployment::builders::DeleteDeploymentFluentBuilder::set_deployment_id):<br>required: **true**<br><p>The ID of the deployment.</p><br>
7    /// - On success, responds with [`DeleteDeploymentOutput`](crate::operation::delete_deployment::DeleteDeploymentOutput) with field(s):
8    ///   - [`status(Option<DeploymentStatus>)`](crate::operation::delete_deployment::DeleteDeploymentOutput::status): <p>The status of the deployment.</p>
9    ///   - [`status_reason(Option<String>)`](crate::operation::delete_deployment::DeleteDeploymentOutput::status_reason): <p>The reason for the deployment status.</p>
10    /// - On failure, responds with [`SdkError<DeleteDeploymentError>`](crate::operation::delete_deployment::DeleteDeploymentError)
11    pub fn delete_deployment(&self) -> crate::operation::delete_deployment::builders::DeleteDeploymentFluentBuilder {
12        crate::operation::delete_deployment::builders::DeleteDeploymentFluentBuilder::new(self.handle.clone())
13    }
14}