| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.Greengrass.Types.Device
Description
Synopsis
Documentation
Information about a device.
See: newDevice smart constructor.
Constructors
| Device' | |
Fields
| |
Instances
| FromJSON Device Source # | |
| ToJSON Device Source # | |
Defined in Amazonka.Greengrass.Types.Device | |
| Generic Device Source # | |
| Read Device Source # | |
| Show Device Source # | |
| NFData Device Source # | |
Defined in Amazonka.Greengrass.Types.Device | |
| Eq Device Source # | |
| Hashable Device Source # | |
Defined in Amazonka.Greengrass.Types.Device | |
| type Rep Device Source # | |
Defined in Amazonka.Greengrass.Types.Device type Rep Device = D1 ('MetaData "Device" "Amazonka.Greengrass.Types.Device" "amazonka-greengrass-2.0-KjUXjyW3l8XyfFjm5ZueR" 'False) (C1 ('MetaCons "Device'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "syncShadow") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "thingArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "certificateArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))) | |
Create a value of Device 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:syncShadow:Device', device_syncShadow - If true, the device's local shadow will be automatically synced with
the cloud.
$sel:thingArn:Device', device_thingArn - The thing ARN of the device.
$sel:id:Device', device_id - A descriptive or arbitrary ID for the device. This value must be unique
within the device definition version. Max length is 128 characters with
pattern ''[a-zA-Z0-9:_-]+''.
$sel:certificateArn:Device', device_certificateArn - The ARN of the certificate associated with the device.
device_syncShadow :: Lens' Device (Maybe Bool) Source #
If true, the device's local shadow will be automatically synced with the cloud.