aws_sdk_iot1clickprojects/client/get_devices_in_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 [`GetDevicesInPlacement`](crate::operation::get_devices_in_placement::builders::GetDevicesInPlacementFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`project_name(impl Into<String>)`](crate::operation::get_devices_in_placement::builders::GetDevicesInPlacementFluentBuilder::project_name) / [`set_project_name(Option<String>)`](crate::operation::get_devices_in_placement::builders::GetDevicesInPlacementFluentBuilder::set_project_name):<br>required: **true**<br><p>The name of the project containing the placement.</p><br>
7 /// - [`placement_name(impl Into<String>)`](crate::operation::get_devices_in_placement::builders::GetDevicesInPlacementFluentBuilder::placement_name) / [`set_placement_name(Option<String>)`](crate::operation::get_devices_in_placement::builders::GetDevicesInPlacementFluentBuilder::set_placement_name):<br>required: **true**<br><p>The name of the placement to get the devices from.</p><br>
8 /// - On success, responds with [`GetDevicesInPlacementOutput`](crate::operation::get_devices_in_placement::GetDevicesInPlacementOutput) with field(s):
9 /// - [`devices(HashMap::<String, String>)`](crate::operation::get_devices_in_placement::GetDevicesInPlacementOutput::devices): <p>An object containing the devices (zero or more) within the placement.</p>
10 /// - On failure, responds with [`SdkError<GetDevicesInPlacementError>`](crate::operation::get_devices_in_placement::GetDevicesInPlacementError)
11 pub fn get_devices_in_placement(&self) -> crate::operation::get_devices_in_placement::builders::GetDevicesInPlacementFluentBuilder {
12 crate::operation::get_devices_in_placement::builders::GetDevicesInPlacementFluentBuilder::new(self.handle.clone())
13 }
14}