aws_sdk_iotwireless/client/get_device_profile.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 [`GetDeviceProfile`](crate::operation::get_device_profile::builders::GetDeviceProfileFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`id(impl Into<String>)`](crate::operation::get_device_profile::builders::GetDeviceProfileFluentBuilder::id) / [`set_id(Option<String>)`](crate::operation::get_device_profile::builders::GetDeviceProfileFluentBuilder::set_id):<br>required: **true**<br><p>The ID of the resource to get.</p><br>
7 /// - On success, responds with [`GetDeviceProfileOutput`](crate::operation::get_device_profile::GetDeviceProfileOutput) with field(s):
8 /// - [`arn(Option<String>)`](crate::operation::get_device_profile::GetDeviceProfileOutput::arn): <p>The Amazon Resource Name of the resource.</p>
9 /// - [`name(Option<String>)`](crate::operation::get_device_profile::GetDeviceProfileOutput::name): <p>The name of the resource.</p>
10 /// - [`id(Option<String>)`](crate::operation::get_device_profile::GetDeviceProfileOutput::id): <p>The ID of the device profile.</p>
11 /// - [`lo_ra_wan(Option<LoRaWanDeviceProfile>)`](crate::operation::get_device_profile::GetDeviceProfileOutput::lo_ra_wan): <p>Information about the device profile.</p>
12 /// - [`sidewalk(Option<SidewalkGetDeviceProfile>)`](crate::operation::get_device_profile::GetDeviceProfileOutput::sidewalk): <p>Information about the Sidewalk parameters in the device profile.</p>
13 /// - On failure, responds with [`SdkError<GetDeviceProfileError>`](crate::operation::get_device_profile::GetDeviceProfileError)
14 pub fn get_device_profile(&self) -> crate::operation::get_device_profile::builders::GetDeviceProfileFluentBuilder {
15 crate::operation::get_device_profile::builders::GetDeviceProfileFluentBuilder::new(self.handle.clone())
16 }
17}