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

Description

 
Synopsis

Documentation

data DetectorStateDefinition Source #

The new state, variable values, and timer settings of the detector (instance).

See: newDetectorStateDefinition smart constructor.

Constructors

DetectorStateDefinition' 

Fields

  • stateName :: Text

    The name of the new state of the detector (instance).

  • variables :: [VariableDefinition]

    The new values of the detector's variables. Any variable whose value isn't specified is cleared.

  • timers :: [TimerDefinition]

    The new values of the detector's timers. Any timer whose value isn't specified is cleared, and its timeout event won't occur.

Instances

Instances details
Eq DetectorStateDefinition Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.DetectorStateDefinition

Read DetectorStateDefinition Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.DetectorStateDefinition

Show DetectorStateDefinition Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.DetectorStateDefinition

Generic DetectorStateDefinition Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.DetectorStateDefinition

Associated Types

type Rep DetectorStateDefinition :: Type -> Type #

NFData DetectorStateDefinition Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.DetectorStateDefinition

Methods

rnf :: DetectorStateDefinition -> () #

Hashable DetectorStateDefinition Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.DetectorStateDefinition

ToJSON DetectorStateDefinition Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.DetectorStateDefinition

type Rep DetectorStateDefinition Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.DetectorStateDefinition

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

newDetectorStateDefinition Source #

Create a value of DetectorStateDefinition 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:DetectorStateDefinition', detectorStateDefinition_stateName - The name of the new state of the detector (instance).

$sel:variables:DetectorStateDefinition', detectorStateDefinition_variables - The new values of the detector's variables. Any variable whose value isn't specified is cleared.

$sel:timers:DetectorStateDefinition', detectorStateDefinition_timers - The new values of the detector's timers. Any timer whose value isn't specified is cleared, and its timeout event won't occur.

detectorStateDefinition_stateName :: Lens' DetectorStateDefinition Text Source #

The name of the new state of the detector (instance).

detectorStateDefinition_variables :: Lens' DetectorStateDefinition [VariableDefinition] Source #

The new values of the detector's variables. Any variable whose value isn't specified is cleared.

detectorStateDefinition_timers :: Lens' DetectorStateDefinition [TimerDefinition] Source #

The new values of the detector's timers. Any timer whose value isn't specified is cleared, and its timeout event won't occur.