aws_sdk_iotwireless/client/get_wireless_device.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 [`GetWirelessDevice`](crate::operation::get_wireless_device::builders::GetWirelessDeviceFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`identifier(impl Into<String>)`](crate::operation::get_wireless_device::builders::GetWirelessDeviceFluentBuilder::identifier) / [`set_identifier(Option<String>)`](crate::operation::get_wireless_device::builders::GetWirelessDeviceFluentBuilder::set_identifier):<br>required: **true**<br><p>The identifier of the wireless device to get.</p><br>
7 /// - [`identifier_type(WirelessDeviceIdType)`](crate::operation::get_wireless_device::builders::GetWirelessDeviceFluentBuilder::identifier_type) / [`set_identifier_type(Option<WirelessDeviceIdType>)`](crate::operation::get_wireless_device::builders::GetWirelessDeviceFluentBuilder::set_identifier_type):<br>required: **true**<br><p>The type of identifier used in <code>identifier</code>.</p><br>
8 /// - On success, responds with [`GetWirelessDeviceOutput`](crate::operation::get_wireless_device::GetWirelessDeviceOutput) with field(s):
9 /// - [`r#type(Option<WirelessDeviceType>)`](crate::operation::get_wireless_device::GetWirelessDeviceOutput::type): <p>The wireless device type.</p>
10 /// - [`name(Option<String>)`](crate::operation::get_wireless_device::GetWirelessDeviceOutput::name): <p>The name of the resource.</p>
11 /// - [`description(Option<String>)`](crate::operation::get_wireless_device::GetWirelessDeviceOutput::description): <p>The description of the resource.</p>
12 /// - [`destination_name(Option<String>)`](crate::operation::get_wireless_device::GetWirelessDeviceOutput::destination_name): <p>The name of the destination to which the device is assigned.</p>
13 /// - [`id(Option<String>)`](crate::operation::get_wireless_device::GetWirelessDeviceOutput::id): <p>The ID of the wireless device.</p>
14 /// - [`arn(Option<String>)`](crate::operation::get_wireless_device::GetWirelessDeviceOutput::arn): <p>The Amazon Resource Name of the resource.</p>
15 /// - [`thing_name(Option<String>)`](crate::operation::get_wireless_device::GetWirelessDeviceOutput::thing_name): <p>The name of the thing associated with the wireless device. The value is empty if a thing isn't associated with the device.</p>
16 /// - [`thing_arn(Option<String>)`](crate::operation::get_wireless_device::GetWirelessDeviceOutput::thing_arn): <p>The ARN of the thing associated with the wireless device.</p>
17 /// - [`lo_ra_wan(Option<LoRaWanDevice>)`](crate::operation::get_wireless_device::GetWirelessDeviceOutput::lo_ra_wan): <p>Information about the wireless device.</p>
18 /// - [`sidewalk(Option<SidewalkDevice>)`](crate::operation::get_wireless_device::GetWirelessDeviceOutput::sidewalk): <p>Sidewalk device object.</p>
19 /// - [`positioning(Option<PositioningConfigStatus>)`](crate::operation::get_wireless_device::GetWirelessDeviceOutput::positioning): <p>FPort values for the GNSS, stream, and ClockSync functions of the positioning information.</p>
20 /// - On failure, responds with [`SdkError<GetWirelessDeviceError>`](crate::operation::get_wireless_device::GetWirelessDeviceError)
21 pub fn get_wireless_device(&self) -> crate::operation::get_wireless_device::builders::GetWirelessDeviceFluentBuilder {
22 crate::operation::get_wireless_device::builders::GetWirelessDeviceFluentBuilder::new(self.handle.clone())
23 }
24}