aws_sdk_iotwireless/client/associate_wireless_device_with_thing.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 [`AssociateWirelessDeviceWithThing`](crate::operation::associate_wireless_device_with_thing::builders::AssociateWirelessDeviceWithThingFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`id(impl Into<String>)`](crate::operation::associate_wireless_device_with_thing::builders::AssociateWirelessDeviceWithThingFluentBuilder::id) / [`set_id(Option<String>)`](crate::operation::associate_wireless_device_with_thing::builders::AssociateWirelessDeviceWithThingFluentBuilder::set_id):<br>required: **true**<br><p>The ID of the resource to update.</p><br>
7 /// - [`thing_arn(impl Into<String>)`](crate::operation::associate_wireless_device_with_thing::builders::AssociateWirelessDeviceWithThingFluentBuilder::thing_arn) / [`set_thing_arn(Option<String>)`](crate::operation::associate_wireless_device_with_thing::builders::AssociateWirelessDeviceWithThingFluentBuilder::set_thing_arn):<br>required: **true**<br><p>The ARN of the thing to associate with the wireless device.</p><br>
8 /// - On success, responds with [`AssociateWirelessDeviceWithThingOutput`](crate::operation::associate_wireless_device_with_thing::AssociateWirelessDeviceWithThingOutput)
9 /// - On failure, responds with [`SdkError<AssociateWirelessDeviceWithThingError>`](crate::operation::associate_wireless_device_with_thing::AssociateWirelessDeviceWithThingError)
10 pub fn associate_wireless_device_with_thing(
11 &self,
12 ) -> crate::operation::associate_wireless_device_with_thing::builders::AssociateWirelessDeviceWithThingFluentBuilder {
13 crate::operation::associate_wireless_device_with_thing::builders::AssociateWirelessDeviceWithThingFluentBuilder::new(self.handle.clone())
14 }
15}