1
2
3
4
5
6
7
8
9
10
11
12
13
// 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:
    ///   - [`id(impl Into<String>)`](crate::operation::delete_deployment::builders::DeleteDeploymentFluentBuilder::id) / [`set_id(Option<String>)`](crate::operation::delete_deployment::builders::DeleteDeploymentFluentBuilder::set_id):<br>required: **true**<br><p>The ID of the deployment to delete.</p><br>
    /// - On success, responds with [`DeleteDeploymentOutput`](crate::operation::delete_deployment::DeleteDeploymentOutput) with field(s):
    ///   - [`deployment(Option<Deployment>)`](crate::operation::delete_deployment::DeleteDeploymentOutput::deployment): <p>The detailed data of the deployment being deleted.</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())
    }
}