Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
- data DetectorStateDefinition = DetectorStateDefinition' {
- stateName :: Text
- variables :: [VariableDefinition]
- timers :: [TimerDefinition]
- newDetectorStateDefinition :: Text -> DetectorStateDefinition
- detectorStateDefinition_stateName :: Lens' DetectorStateDefinition Text
- detectorStateDefinition_variables :: Lens' DetectorStateDefinition [VariableDefinition]
- detectorStateDefinition_timers :: Lens' DetectorStateDefinition [TimerDefinition]
Documentation
data DetectorStateDefinition Source #
The new state, variable values, and timer settings of the detector (instance).
See: newDetectorStateDefinition
smart constructor.
DetectorStateDefinition' | |
|
Instances
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.