libZSservicesZSamazonka-iotevents-dataZSamazonka-iotevents-data
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.IoTEventsData.Types.SystemEvent

Description

 
Synopsis

Documentation

data SystemEvent Source #

Contains information about alarm state changes.

See: newSystemEvent smart constructor.

Constructors

SystemEvent' 

Fields

Instances

Instances details
Eq SystemEvent Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.SystemEvent

Read SystemEvent Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.SystemEvent

Show SystemEvent Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.SystemEvent

Generic SystemEvent Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.SystemEvent

Associated Types

type Rep SystemEvent :: Type -> Type #

NFData SystemEvent Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.SystemEvent

Methods

rnf :: SystemEvent -> () #

Hashable SystemEvent Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.SystemEvent

FromJSON SystemEvent Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.SystemEvent

type Rep SystemEvent Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.SystemEvent

type Rep SystemEvent = D1 ('MetaData "SystemEvent" "Amazonka.IoTEventsData.Types.SystemEvent" "libZSservicesZSamazonka-iotevents-dataZSamazonka-iotevents-data" 'False) (C1 ('MetaCons "SystemEvent'" 'PrefixI 'True) (S1 ('MetaSel ('Just "eventType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe EventType)) :*: S1 ('MetaSel ('Just "stateChangeConfiguration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe StateChangeConfiguration))))

newSystemEvent :: SystemEvent Source #

Create a value of SystemEvent 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:eventType:SystemEvent', systemEvent_eventType - The event type. If the value is STATE_CHANGE, the event contains information about alarm state changes.

$sel:stateChangeConfiguration:SystemEvent', systemEvent_stateChangeConfiguration - Contains the configuration information of alarm state changes.

systemEvent_eventType :: Lens' SystemEvent (Maybe EventType) Source #

The event type. If the value is STATE_CHANGE, the event contains information about alarm state changes.

systemEvent_stateChangeConfiguration :: Lens' SystemEvent (Maybe StateChangeConfiguration) Source #

Contains the configuration information of alarm state changes.