aws_sdk_launchwizard/client/
delete_deployment.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`DeleteDeployment`](crate::operation::delete_deployment::builders::DeleteDeploymentFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`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>
    /// - On success, responds with [`DeleteDeploymentOutput`](crate::operation::delete_deployment::DeleteDeploymentOutput) with field(s):
    ///   - [`status(Option<DeploymentStatus>)`](crate::operation::delete_deployment::DeleteDeploymentOutput::status): <p>The status of the deployment.</p>
    ///   - [`status_reason(Option<String>)`](crate::operation::delete_deployment::DeleteDeploymentOutput::status_reason): <p>The reason for the deployment status.</p>
    /// - On failure, responds with [`SdkError<DeleteDeploymentError>`](crate::operation::delete_deployment::DeleteDeploymentError)
    pub fn delete_deployment(&self) -> crate::operation::delete_deployment::builders::DeleteDeploymentFluentBuilder {
        crate::operation::delete_deployment::builders::DeleteDeploymentFluentBuilder::new(self.handle.clone())
    }
}