1
2
3
4
5
6
7
8
9
10
11
12
13
14
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`GetDevice`](crate::operation::get_device::builders::GetDeviceFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`device_arn(impl Into<String>)`](crate::operation::get_device::builders::GetDeviceFluentBuilder::device_arn) / [`set_device_arn(Option<String>)`](crate::operation::get_device::builders::GetDeviceFluentBuilder::set_device_arn):<br>required: **false**<br><p>The ARN of the device for which to request details. Required.</p><br>
    /// - On success, responds with [`GetDeviceOutput`](crate::operation::get_device::GetDeviceOutput) with field(s):
    ///   - [`device(Option<Device>)`](crate::operation::get_device::GetDeviceOutput::device): <p>The details of the device requested. Required.</p>
    /// - On failure, responds with [`SdkError<GetDeviceError>`](crate::operation::get_device::GetDeviceError)
    #[deprecated(note = "Alexa For Business is no longer supported")]
    pub fn get_device(&self) -> crate::operation::get_device::builders::GetDeviceFluentBuilder {
        crate::operation::get_device::builders::GetDeviceFluentBuilder::new(self.handle.clone())
    }
}