| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.IoTEventsData.Types.AlarmState
Description
Synopsis
- data AlarmState = AlarmState' {}
- newAlarmState :: AlarmState
- alarmState_customerAction :: Lens' AlarmState (Maybe CustomerAction)
- alarmState_ruleEvaluation :: Lens' AlarmState (Maybe RuleEvaluation)
- alarmState_stateName :: Lens' AlarmState (Maybe AlarmStateName)
- alarmState_systemEvent :: Lens' AlarmState (Maybe SystemEvent)
Documentation
data AlarmState Source #
Contains information about the current state of the alarm.
See: newAlarmState smart constructor.
Constructors
| AlarmState' | |
Fields
| |
Instances
newAlarmState :: AlarmState Source #
Create a value of AlarmState 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:customerAction:AlarmState', alarmState_customerAction - Contains information about the action that you can take to respond to
the alarm.
$sel:ruleEvaluation:AlarmState', alarmState_ruleEvaluation - Information needed to evaluate data.
$sel:stateName:AlarmState', alarmState_stateName - The name of the alarm state. The state name can be one of the following
values:
DISABLED- When the alarm is in theDISABLEDstate, it isn't ready to evaluate data. To enable the alarm, you must change the alarm to theNORMALstate.NORMAL- When the alarm is in theNORMALstate, it's ready to evaluate data.ACTIVE- If the alarm is in theACTIVEstate, the alarm is invoked.ACKNOWLEDGED- When the alarm is in theACKNOWLEDGEDstate, the alarm was invoked and you acknowledged the alarm.SNOOZE_DISABLED- When the alarm is in theSNOOZE_DISABLEDstate, the alarm is disabled for a specified period of time. After the snooze time, the alarm automatically changes to theNORMALstate.LATCHED- When the alarm is in theLATCHEDstate, the alarm was invoked. However, the data that the alarm is currently evaluating is within the specified range. To change the alarm to theNORMALstate, you must acknowledge the alarm.
$sel:systemEvent:AlarmState', alarmState_systemEvent - Contains information about alarm state changes.
alarmState_customerAction :: Lens' AlarmState (Maybe CustomerAction) Source #
Contains information about the action that you can take to respond to the alarm.
alarmState_ruleEvaluation :: Lens' AlarmState (Maybe RuleEvaluation) Source #
Information needed to evaluate data.
alarmState_stateName :: Lens' AlarmState (Maybe AlarmStateName) Source #
The name of the alarm state. The state name can be one of the following values:
DISABLED- When the alarm is in theDISABLEDstate, it isn't ready to evaluate data. To enable the alarm, you must change the alarm to theNORMALstate.NORMAL- When the alarm is in theNORMALstate, it's ready to evaluate data.ACTIVE- If the alarm is in theACTIVEstate, the alarm is invoked.ACKNOWLEDGED- When the alarm is in theACKNOWLEDGEDstate, the alarm was invoked and you acknowledged the alarm.SNOOZE_DISABLED- When the alarm is in theSNOOZE_DISABLEDstate, the alarm is disabled for a specified period of time. After the snooze time, the alarm automatically changes to theNORMALstate.LATCHED- When the alarm is in theLATCHEDstate, the alarm was invoked. However, the data that the alarm is currently evaluating is within the specified range. To change the alarm to theNORMALstate, you must acknowledge the alarm.
alarmState_systemEvent :: Lens' AlarmState (Maybe SystemEvent) Source #
Contains information about alarm state changes.