libZSservicesZSamazonka-alexa-businessZSamazonka-alexa-business
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.AlexaBusiness.Types.DeviceEvent

Description

 
Synopsis

Documentation

data DeviceEvent Source #

The list of device events.

See: newDeviceEvent smart constructor.

Constructors

DeviceEvent' 

Fields

Instances

Instances details
Eq DeviceEvent Source # 
Instance details

Defined in Amazonka.AlexaBusiness.Types.DeviceEvent

Read DeviceEvent Source # 
Instance details

Defined in Amazonka.AlexaBusiness.Types.DeviceEvent

Show DeviceEvent Source # 
Instance details

Defined in Amazonka.AlexaBusiness.Types.DeviceEvent

Generic DeviceEvent Source # 
Instance details

Defined in Amazonka.AlexaBusiness.Types.DeviceEvent

Associated Types

type Rep DeviceEvent :: Type -> Type #

NFData DeviceEvent Source # 
Instance details

Defined in Amazonka.AlexaBusiness.Types.DeviceEvent

Methods

rnf :: DeviceEvent -> () #

Hashable DeviceEvent Source # 
Instance details

Defined in Amazonka.AlexaBusiness.Types.DeviceEvent

FromJSON DeviceEvent Source # 
Instance details

Defined in Amazonka.AlexaBusiness.Types.DeviceEvent

type Rep DeviceEvent Source # 
Instance details

Defined in Amazonka.AlexaBusiness.Types.DeviceEvent

type Rep DeviceEvent = D1 ('MetaData "DeviceEvent" "Amazonka.AlexaBusiness.Types.DeviceEvent" "libZSservicesZSamazonka-alexa-businessZSamazonka-alexa-business" 'False) (C1 ('MetaCons "DeviceEvent'" 'PrefixI 'True) (S1 ('MetaSel ('Just "value") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "type'") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe DeviceEventType)) :*: S1 ('MetaSel ('Just "timestamp") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)))))

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_timestamp :: Lens' DeviceEvent (Maybe UTCTime) Source #

The time (in epoch) when the event occurred.