amazonka-iotevents-data-2.0: Amazon IoT Events Data SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

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
FromJSON 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 #

Read DetectorState Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.DetectorState

Show DetectorState Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.DetectorState

NFData DetectorState Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.DetectorState

Methods

rnf :: DetectorState -> () #

Eq DetectorState Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.DetectorState

Hashable 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" "amazonka-iotevents-data-2.0-2nkzod7vvQTAS38g00IbEB" '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.