libZSservicesZSamazonka-iot1click-devicesZSamazonka-iot1click-devices
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.IoT1ClickDevices.Types.DeviceDescription

Description

 
Synopsis

Documentation

data DeviceDescription Source #

See: newDeviceDescription smart constructor.

Constructors

DeviceDescription' 

Fields

Instances

Instances details
Eq DeviceDescription Source # 
Instance details

Defined in Amazonka.IoT1ClickDevices.Types.DeviceDescription

Read DeviceDescription Source # 
Instance details

Defined in Amazonka.IoT1ClickDevices.Types.DeviceDescription

Show DeviceDescription Source # 
Instance details

Defined in Amazonka.IoT1ClickDevices.Types.DeviceDescription

Generic DeviceDescription Source # 
Instance details

Defined in Amazonka.IoT1ClickDevices.Types.DeviceDescription

Associated Types

type Rep DeviceDescription :: Type -> Type #

NFData DeviceDescription Source # 
Instance details

Defined in Amazonka.IoT1ClickDevices.Types.DeviceDescription

Methods

rnf :: DeviceDescription -> () #

Hashable DeviceDescription Source # 
Instance details

Defined in Amazonka.IoT1ClickDevices.Types.DeviceDescription

FromJSON DeviceDescription Source # 
Instance details

Defined in Amazonka.IoT1ClickDevices.Types.DeviceDescription

type Rep DeviceDescription Source # 
Instance details

Defined in Amazonka.IoT1ClickDevices.Types.DeviceDescription

type Rep DeviceDescription = D1 ('MetaData "DeviceDescription" "Amazonka.IoT1ClickDevices.Types.DeviceDescription" "libZSservicesZSamazonka-iot1click-devicesZSamazonka-iot1click-devices" 'False) (C1 ('MetaCons "DeviceDescription'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "remainingLife") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Double)) :*: (S1 ('MetaSel ('Just "enabled") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "arn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 ('MetaSel ('Just "attributes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text))) :*: S1 ('MetaSel ('Just "deviceId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "type'") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text)))))))

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_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.