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.DetectorState

Description

 
Synopsis

Documentation

data DetectorState Source #

Information about the current state of the detector instance.

See: newDetectorState smart constructor.

Constructors

DetectorState' 

Fields

Instances

Instances details
Eq DetectorState Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.DetectorState

Read DetectorState Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.DetectorState

Show DetectorState Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.DetectorState

Generic DetectorState Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.DetectorState

Associated Types

type Rep DetectorState :: Type -> Type #

NFData DetectorState Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.DetectorState

Methods

rnf :: DetectorState -> () #

Hashable DetectorState Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.DetectorState

FromJSON DetectorState Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.DetectorState

type Rep DetectorState Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.DetectorState

type Rep DetectorState = D1 ('MetaData "DetectorState" "Amazonka.IoTEventsData.Types.DetectorState" "libZSservicesZSamazonka-iotevents-dataZSamazonka-iotevents-data" 'False) (C1 ('MetaCons "DetectorState'" 'PrefixI 'True) (S1 ('MetaSel ('Just "stateName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "variables") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Variable]) :*: S1 ('MetaSel ('Just "timers") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Timer]))))

newDetectorState Source #

Create a value of DetectorState 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:stateName:DetectorState', detectorState_stateName - The name of the state.

$sel:variables:DetectorState', detectorState_variables - The current values of the detector's variables.

$sel:timers:DetectorState', detectorState_timers - The current state of the detector's timers.

detectorState_variables :: Lens' DetectorState [Variable] Source #

The current values of the detector's variables.

detectorState_timers :: Lens' DetectorState [Timer] Source #

The current state of the detector's timers.