aws_sdk_deadline/client/
update_farm.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 [`UpdateFarm`](crate::operation::update_farm::builders::UpdateFarmFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`farm_id(impl Into<String>)`](crate::operation::update_farm::builders::UpdateFarmFluentBuilder::farm_id) / [`set_farm_id(Option<String>)`](crate::operation::update_farm::builders::UpdateFarmFluentBuilder::set_farm_id):<br>required: **true**<br><p>The farm ID to update.</p><br>
    ///   - [`display_name(impl Into<String>)`](crate::operation::update_farm::builders::UpdateFarmFluentBuilder::display_name) / [`set_display_name(Option<String>)`](crate::operation::update_farm::builders::UpdateFarmFluentBuilder::set_display_name):<br>required: **false**<br><p>The display name of the farm to update.</p><important>  <p>This field can store any content. Escape or encode this content before displaying it on a webpage or any other system that might interpret the content of this field.</p> </important><br>
    ///   - [`description(impl Into<String>)`](crate::operation::update_farm::builders::UpdateFarmFluentBuilder::description) / [`set_description(Option<String>)`](crate::operation::update_farm::builders::UpdateFarmFluentBuilder::set_description):<br>required: **false**<br><p>The description of the farm to update.</p><important>  <p>This field can store any content. Escape or encode this content before displaying it on a webpage or any other system that might interpret the content of this field.</p> </important><br>
    /// - On success, responds with [`UpdateFarmOutput`](crate::operation::update_farm::UpdateFarmOutput)
    /// - On failure, responds with [`SdkError<UpdateFarmError>`](crate::operation::update_farm::UpdateFarmError)
    pub fn update_farm(&self) -> crate::operation::update_farm::builders::UpdateFarmFluentBuilder {
        crate::operation::update_farm::builders::UpdateFarmFluentBuilder::new(self.handle.clone())
    }
}