1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`DescribeDevice`](crate::operation::describe_device::builders::DescribeDeviceFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`fleet_arn(impl Into<String>)`](crate::operation::describe_device::builders::DescribeDeviceFluentBuilder::fleet_arn) / [`set_fleet_arn(Option<String>)`](crate::operation::describe_device::builders::DescribeDeviceFluentBuilder::set_fleet_arn):<br>required: **true**<br><p>The ARN of the fleet.</p><br>
    ///   - [`device_id(impl Into<String>)`](crate::operation::describe_device::builders::DescribeDeviceFluentBuilder::device_id) / [`set_device_id(Option<String>)`](crate::operation::describe_device::builders::DescribeDeviceFluentBuilder::set_device_id):<br>required: **true**<br><p>A unique identifier for a registered user's device.</p><br>
    /// - On success, responds with [`DescribeDeviceOutput`](crate::operation::describe_device::DescribeDeviceOutput) with field(s):
    ///   - [`status(Option<DeviceStatus>)`](crate::operation::describe_device::DescribeDeviceOutput::status): <p>The current state of the device.</p>
    ///   - [`model(Option<String>)`](crate::operation::describe_device::DescribeDeviceOutput::model): <p>The model of the device.</p>
    ///   - [`manufacturer(Option<String>)`](crate::operation::describe_device::DescribeDeviceOutput::manufacturer): <p>The manufacturer of the device.</p>
    ///   - [`operating_system(Option<String>)`](crate::operation::describe_device::DescribeDeviceOutput::operating_system): <p>The operating system of the device.</p>
    ///   - [`operating_system_version(Option<String>)`](crate::operation::describe_device::DescribeDeviceOutput::operating_system_version): <p>The operating system version of the device.</p>
    ///   - [`patch_level(Option<String>)`](crate::operation::describe_device::DescribeDeviceOutput::patch_level): <p>The operating system patch level of the device.</p>
    ///   - [`first_accessed_time(Option<DateTime>)`](crate::operation::describe_device::DescribeDeviceOutput::first_accessed_time): <p>The date that the device first signed in to Amazon WorkLink.</p>
    ///   - [`last_accessed_time(Option<DateTime>)`](crate::operation::describe_device::DescribeDeviceOutput::last_accessed_time): <p>The date that the device last accessed Amazon WorkLink.</p>
    ///   - [`username(Option<String>)`](crate::operation::describe_device::DescribeDeviceOutput::username): <p>The user name associated with the device.</p>
    /// - On failure, responds with [`SdkError<DescribeDeviceError>`](crate::operation::describe_device::DescribeDeviceError)
    #[deprecated(note = "Amazon WorkLink is no longer supported. This will be removed in a future version of the SDK.")]
    pub fn describe_device(&self) -> crate::operation::describe_device::builders::DescribeDeviceFluentBuilder {
        crate::operation::describe_device::builders::DescribeDeviceFluentBuilder::new(self.handle.clone())
    }
}