Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Provides information about a user's device.
Synopsis
- data DescribeDevice = DescribeDevice' {}
- newDescribeDevice :: Text -> Text -> DescribeDevice
- describeDevice_fleetArn :: Lens' DescribeDevice Text
- describeDevice_deviceId :: Lens' DescribeDevice Text
- data DescribeDeviceResponse = DescribeDeviceResponse' {}
- newDescribeDeviceResponse :: Int -> DescribeDeviceResponse
- describeDeviceResponse_status :: Lens' DescribeDeviceResponse (Maybe DeviceStatus)
- describeDeviceResponse_manufacturer :: Lens' DescribeDeviceResponse (Maybe Text)
- describeDeviceResponse_lastAccessedTime :: Lens' DescribeDeviceResponse (Maybe UTCTime)
- describeDeviceResponse_operatingSystem :: Lens' DescribeDeviceResponse (Maybe Text)
- describeDeviceResponse_username :: Lens' DescribeDeviceResponse (Maybe Text)
- describeDeviceResponse_model :: Lens' DescribeDeviceResponse (Maybe Text)
- describeDeviceResponse_operatingSystemVersion :: Lens' DescribeDeviceResponse (Maybe Text)
- describeDeviceResponse_firstAccessedTime :: Lens' DescribeDeviceResponse (Maybe UTCTime)
- describeDeviceResponse_patchLevel :: Lens' DescribeDeviceResponse (Maybe Text)
- describeDeviceResponse_httpStatus :: Lens' DescribeDeviceResponse Int
Creating a Request
data DescribeDevice Source #
See: newDescribeDevice
smart constructor.
Instances
Create a value of DescribeDevice
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:fleetArn:DescribeDevice'
, describeDevice_fleetArn
- The ARN of the fleet.
$sel:deviceId:DescribeDevice'
, describeDevice_deviceId
- A unique identifier for a registered user's device.
Request Lenses
describeDevice_fleetArn :: Lens' DescribeDevice Text Source #
The ARN of the fleet.
describeDevice_deviceId :: Lens' DescribeDevice Text Source #
A unique identifier for a registered user's device.
Destructuring the Response
data DescribeDeviceResponse Source #
See: newDescribeDeviceResponse
smart constructor.
DescribeDeviceResponse' | |
|
Instances
newDescribeDeviceResponse Source #
Create a value of DescribeDeviceResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:status:DescribeDeviceResponse'
, describeDeviceResponse_status
- The current state of the device.
$sel:manufacturer:DescribeDeviceResponse'
, describeDeviceResponse_manufacturer
- The manufacturer of the device.
$sel:lastAccessedTime:DescribeDeviceResponse'
, describeDeviceResponse_lastAccessedTime
- The date that the device last accessed Amazon WorkLink.
$sel:operatingSystem:DescribeDeviceResponse'
, describeDeviceResponse_operatingSystem
- The operating system of the device.
$sel:username:DescribeDeviceResponse'
, describeDeviceResponse_username
- The user name associated with the device.
$sel:model:DescribeDeviceResponse'
, describeDeviceResponse_model
- The model of the device.
$sel:operatingSystemVersion:DescribeDeviceResponse'
, describeDeviceResponse_operatingSystemVersion
- The operating system version of the device.
$sel:firstAccessedTime:DescribeDeviceResponse'
, describeDeviceResponse_firstAccessedTime
- The date that the device first signed in to Amazon WorkLink.
$sel:patchLevel:DescribeDeviceResponse'
, describeDeviceResponse_patchLevel
- The operating system patch level of the device.
$sel:httpStatus:DescribeDeviceResponse'
, describeDeviceResponse_httpStatus
- The response's http status code.
Response Lenses
describeDeviceResponse_status :: Lens' DescribeDeviceResponse (Maybe DeviceStatus) Source #
The current state of the device.
describeDeviceResponse_manufacturer :: Lens' DescribeDeviceResponse (Maybe Text) Source #
The manufacturer of the device.
describeDeviceResponse_lastAccessedTime :: Lens' DescribeDeviceResponse (Maybe UTCTime) Source #
The date that the device last accessed Amazon WorkLink.
describeDeviceResponse_operatingSystem :: Lens' DescribeDeviceResponse (Maybe Text) Source #
The operating system of the device.
describeDeviceResponse_username :: Lens' DescribeDeviceResponse (Maybe Text) Source #
The user name associated with the device.
describeDeviceResponse_model :: Lens' DescribeDeviceResponse (Maybe Text) Source #
The model of the device.
describeDeviceResponse_operatingSystemVersion :: Lens' DescribeDeviceResponse (Maybe Text) Source #
The operating system version of the device.
describeDeviceResponse_firstAccessedTime :: Lens' DescribeDeviceResponse (Maybe UTCTime) Source #
The date that the device first signed in to Amazon WorkLink.
describeDeviceResponse_patchLevel :: Lens' DescribeDeviceResponse (Maybe Text) Source #
The operating system patch level of the device.
describeDeviceResponse_httpStatus :: Lens' DescribeDeviceResponse Int Source #
The response's http status code.