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
Documentation
data DeviceEvent Source #
The list of device events.
See: newDeviceEvent
smart constructor.
Instances
newDeviceEvent :: DeviceEvent Source #
Create a value of DeviceEvent
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:value:DeviceEvent'
, deviceEvent_value
- The value of the event.
$sel:type':DeviceEvent'
, deviceEvent_type
- The type of device event.
$sel:timestamp:DeviceEvent'
, deviceEvent_timestamp
- The time (in epoch) when the event occurred.
deviceEvent_value :: Lens' DeviceEvent (Maybe Text) Source #
The value of the event.
deviceEvent_type :: Lens' DeviceEvent (Maybe DeviceEventType) Source #
The type of device event.
deviceEvent_timestamp :: Lens' DeviceEvent (Maybe UTCTime) Source #
The time (in epoch) when the event occurred.