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 #
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:stdEvent:DeviceEvent'
, deviceEvent_stdEvent
- A serialized JSON object representing the device-type specific event.
$sel:device:DeviceEvent'
, deviceEvent_device
- An object representing the device associated with the event.
deviceEvent_stdEvent :: Lens' DeviceEvent (Maybe Text) Source #
A serialized JSON object representing the device-type specific event.
deviceEvent_device :: Lens' DeviceEvent (Maybe Device) Source #
An object representing the device associated with the event.