aws_sdk_deadline/client/
delete_farm.rs

1
2
3
4
5
6
7
8
9
10
11
12
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`DeleteFarm`](crate::operation::delete_farm::builders::DeleteFarmFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`farm_id(impl Into<String>)`](crate::operation::delete_farm::builders::DeleteFarmFluentBuilder::farm_id) / [`set_farm_id(Option<String>)`](crate::operation::delete_farm::builders::DeleteFarmFluentBuilder::set_farm_id):<br>required: **true**<br><p>The farm ID of the farm to delete.</p><br>
    /// - On success, responds with [`DeleteFarmOutput`](crate::operation::delete_farm::DeleteFarmOutput)
    /// - On failure, responds with [`SdkError<DeleteFarmError>`](crate::operation::delete_farm::DeleteFarmError)
    pub fn delete_farm(&self) -> crate::operation::delete_farm::builders::DeleteFarmFluentBuilder {
        crate::operation::delete_farm::builders::DeleteFarmFluentBuilder::new(self.handle.clone())
    }
}