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 |
Synopsis
- data DeviceDescription = DeviceDescription' {}
- newDeviceDescription :: DeviceDescription
- deviceDescription_remainingLife :: Lens' DeviceDescription (Maybe Double)
- deviceDescription_enabled :: Lens' DeviceDescription (Maybe Bool)
- deviceDescription_arn :: Lens' DeviceDescription (Maybe Text)
- deviceDescription_attributes :: Lens' DeviceDescription (Maybe (HashMap Text Text))
- deviceDescription_deviceId :: Lens' DeviceDescription (Maybe Text)
- deviceDescription_type :: Lens' DeviceDescription (Maybe Text)
- deviceDescription_tags :: Lens' DeviceDescription (Maybe (HashMap Text Text))
Documentation
data DeviceDescription Source #
See: newDeviceDescription
smart constructor.
DeviceDescription' | |
|
Instances
newDeviceDescription :: DeviceDescription Source #
Create a value of DeviceDescription
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:remainingLife:DeviceDescription'
, deviceDescription_remainingLife
- A value between 0 and 1 inclusive, representing the fraction of life
remaining for the device.
$sel:enabled:DeviceDescription'
, deviceDescription_enabled
- A Boolean value indicating whether or not the device is enabled.
$sel:arn:DeviceDescription'
, deviceDescription_arn
- The ARN of the device.
$sel:attributes:DeviceDescription'
, deviceDescription_attributes
- An array of zero or more elements of DeviceAttribute objects providing
user specified device attributes.
$sel:deviceId:DeviceDescription'
, deviceDescription_deviceId
- The unique identifier of the device.
$sel:type':DeviceDescription'
, deviceDescription_type
- The type of the device, such as "button".
$sel:tags:DeviceDescription'
, deviceDescription_tags
- The tags currently associated with the AWS IoT 1-Click device.
deviceDescription_remainingLife :: Lens' DeviceDescription (Maybe Double) Source #
A value between 0 and 1 inclusive, representing the fraction of life remaining for the device.
deviceDescription_enabled :: Lens' DeviceDescription (Maybe Bool) Source #
A Boolean value indicating whether or not the device is enabled.
deviceDescription_arn :: Lens' DeviceDescription (Maybe Text) Source #
The ARN of the device.
deviceDescription_attributes :: Lens' DeviceDescription (Maybe (HashMap Text Text)) Source #
An array of zero or more elements of DeviceAttribute objects providing user specified device attributes.
deviceDescription_deviceId :: Lens' DeviceDescription (Maybe Text) Source #
The unique identifier of the device.
deviceDescription_type :: Lens' DeviceDescription (Maybe Text) Source #
The type of the device, such as "button".
deviceDescription_tags :: Lens' DeviceDescription (Maybe (HashMap Text Text)) Source #
The tags currently associated with the AWS IoT 1-Click device.