aws_sdk_deadline/client/
delete_farm.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 [`DeleteFarm`](crate::operation::delete_farm::builders::DeleteFarmFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`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>
7    /// - On success, responds with [`DeleteFarmOutput`](crate::operation::delete_farm::DeleteFarmOutput)
8    /// - On failure, responds with [`SdkError<DeleteFarmError>`](crate::operation::delete_farm::DeleteFarmError)
9    pub fn delete_farm(&self) -> crate::operation::delete_farm::builders::DeleteFarmFluentBuilder {
10        crate::operation::delete_farm::builders::DeleteFarmFluentBuilder::new(self.handle.clone())
11    }
12}