aws_sdk_iot1clickprojects/client/disassociate_device_from_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 [`DisassociateDeviceFromPlacement`](crate::operation::disassociate_device_from_placement::builders::DisassociateDeviceFromPlacementFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`project_name(impl Into<String>)`](crate::operation::disassociate_device_from_placement::builders::DisassociateDeviceFromPlacementFluentBuilder::project_name) / [`set_project_name(Option<String>)`](crate::operation::disassociate_device_from_placement::builders::DisassociateDeviceFromPlacementFluentBuilder::set_project_name):<br>required: **true**<br><p>The name of the project that contains the placement.</p><br>
7 /// - [`placement_name(impl Into<String>)`](crate::operation::disassociate_device_from_placement::builders::DisassociateDeviceFromPlacementFluentBuilder::placement_name) / [`set_placement_name(Option<String>)`](crate::operation::disassociate_device_from_placement::builders::DisassociateDeviceFromPlacementFluentBuilder::set_placement_name):<br>required: **true**<br><p>The name of the placement that the device should be removed from.</p><br>
8 /// - [`device_template_name(impl Into<String>)`](crate::operation::disassociate_device_from_placement::builders::DisassociateDeviceFromPlacementFluentBuilder::device_template_name) / [`set_device_template_name(Option<String>)`](crate::operation::disassociate_device_from_placement::builders::DisassociateDeviceFromPlacementFluentBuilder::set_device_template_name):<br>required: **true**<br><p>The device ID that should be removed from the placement.</p><br>
9 /// - On success, responds with [`DisassociateDeviceFromPlacementOutput`](crate::operation::disassociate_device_from_placement::DisassociateDeviceFromPlacementOutput)
10 /// - On failure, responds with [`SdkError<DisassociateDeviceFromPlacementError>`](crate::operation::disassociate_device_from_placement::DisassociateDeviceFromPlacementError)
11 pub fn disassociate_device_from_placement(
12 &self,
13 ) -> crate::operation::disassociate_device_from_placement::builders::DisassociateDeviceFromPlacementFluentBuilder {
14 crate::operation::disassociate_device_from_placement::builders::DisassociateDeviceFromPlacementFluentBuilder::new(self.handle.clone())
15 }
16}