aws_sdk_iot1clickprojects/client/
update_placement.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 [`UpdatePlacement`](crate::operation::update_placement::builders::UpdatePlacementFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`placement_name(impl Into<String>)`](crate::operation::update_placement::builders::UpdatePlacementFluentBuilder::placement_name) / [`set_placement_name(Option<String>)`](crate::operation::update_placement::builders::UpdatePlacementFluentBuilder::set_placement_name):<br>required: **true**<br><p>The name of the placement to update.</p><br>
7    ///   - [`project_name(impl Into<String>)`](crate::operation::update_placement::builders::UpdatePlacementFluentBuilder::project_name) / [`set_project_name(Option<String>)`](crate::operation::update_placement::builders::UpdatePlacementFluentBuilder::set_project_name):<br>required: **true**<br><p>The name of the project containing the placement to be updated.</p><br>
8    ///   - [`attributes(impl Into<String>, impl Into<String>)`](crate::operation::update_placement::builders::UpdatePlacementFluentBuilder::attributes) / [`set_attributes(Option<HashMap::<String, String>>)`](crate::operation::update_placement::builders::UpdatePlacementFluentBuilder::set_attributes):<br>required: **false**<br><p>The user-defined object of attributes used to update the placement. The maximum number of key/value pairs is 50.</p><br>
9    /// - On success, responds with [`UpdatePlacementOutput`](crate::operation::update_placement::UpdatePlacementOutput)
10    /// - On failure, responds with [`SdkError<UpdatePlacementError>`](crate::operation::update_placement::UpdatePlacementError)
11    pub fn update_placement(&self) -> crate::operation::update_placement::builders::UpdatePlacementFluentBuilder {
12        crate::operation::update_placement::builders::UpdatePlacementFluentBuilder::new(self.handle.clone())
13    }
14}