1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`AssociateDeviceWithPlacement`](crate::operation::associate_device_with_placement::builders::AssociateDeviceWithPlacementFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`project_name(impl Into<String>)`](crate::operation::associate_device_with_placement::builders::AssociateDeviceWithPlacementFluentBuilder::project_name) / [`set_project_name(Option<String>)`](crate::operation::associate_device_with_placement::builders::AssociateDeviceWithPlacementFluentBuilder::set_project_name):<br>required: **true**<br><p>The name of the project containing the placement in which to associate the device.</p><br>
    ///   - [`placement_name(impl Into<String>)`](crate::operation::associate_device_with_placement::builders::AssociateDeviceWithPlacementFluentBuilder::placement_name) / [`set_placement_name(Option<String>)`](crate::operation::associate_device_with_placement::builders::AssociateDeviceWithPlacementFluentBuilder::set_placement_name):<br>required: **true**<br><p>The name of the placement in which to associate the device.</p><br>
    ///   - [`device_id(impl Into<String>)`](crate::operation::associate_device_with_placement::builders::AssociateDeviceWithPlacementFluentBuilder::device_id) / [`set_device_id(Option<String>)`](crate::operation::associate_device_with_placement::builders::AssociateDeviceWithPlacementFluentBuilder::set_device_id):<br>required: **true**<br><p>The ID of the physical device to be associated with the given placement in the project. Note that a mandatory 4 character prefix is required for all <code>deviceId</code> values.</p><br>
    ///   - [`device_template_name(impl Into<String>)`](crate::operation::associate_device_with_placement::builders::AssociateDeviceWithPlacementFluentBuilder::device_template_name) / [`set_device_template_name(Option<String>)`](crate::operation::associate_device_with_placement::builders::AssociateDeviceWithPlacementFluentBuilder::set_device_template_name):<br>required: **true**<br><p>The device template name to associate with the device ID.</p><br>
    /// - On success, responds with [`AssociateDeviceWithPlacementOutput`](crate::operation::associate_device_with_placement::AssociateDeviceWithPlacementOutput)
    /// - On failure, responds with [`SdkError<AssociateDeviceWithPlacementError>`](crate::operation::associate_device_with_placement::AssociateDeviceWithPlacementError)
    pub fn associate_device_with_placement(
        &self,
    ) -> crate::operation::associate_device_with_placement::builders::AssociateDeviceWithPlacementFluentBuilder {
        crate::operation::associate_device_with_placement::builders::AssociateDeviceWithPlacementFluentBuilder::new(self.handle.clone())
    }
}