| 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.AlarmSummary
Description
Synopsis
- data AlarmSummary = AlarmSummary' {}
- newAlarmSummary :: AlarmSummary
- alarmSummary_alarmModelName :: Lens' AlarmSummary (Maybe Text)
- alarmSummary_alarmModelVersion :: Lens' AlarmSummary (Maybe Text)
- alarmSummary_creationTime :: Lens' AlarmSummary (Maybe UTCTime)
- alarmSummary_keyValue :: Lens' AlarmSummary (Maybe Text)
- alarmSummary_lastUpdateTime :: Lens' AlarmSummary (Maybe UTCTime)
- alarmSummary_stateName :: Lens' AlarmSummary (Maybe AlarmStateName)
Documentation
data AlarmSummary Source #
Contains a summary of an alarm.
See: newAlarmSummary smart constructor.
Constructors
| AlarmSummary' | |
Fields
| |
Instances
newAlarmSummary :: AlarmSummary Source #
Create a value of AlarmSummary 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:alarmModelName:AlarmSummary', alarmSummary_alarmModelName - The name of the alarm model.
$sel:alarmModelVersion:AlarmSummary', alarmSummary_alarmModelVersion - The version of the alarm model.
$sel:creationTime:AlarmSummary', alarmSummary_creationTime - The time the alarm was created, in the Unix epoch format.
$sel:keyValue:AlarmSummary', alarmSummary_keyValue - The value of the key used as a filter to select only the alarms
associated with the
key.
$sel:lastUpdateTime:AlarmSummary', alarmSummary_lastUpdateTime - The time the alarm was last updated, in the Unix epoch format.
$sel:stateName:AlarmSummary', alarmSummary_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.
alarmSummary_alarmModelName :: Lens' AlarmSummary (Maybe Text) Source #
The name of the alarm model.
alarmSummary_alarmModelVersion :: Lens' AlarmSummary (Maybe Text) Source #
The version of the alarm model.
alarmSummary_creationTime :: Lens' AlarmSummary (Maybe UTCTime) Source #
The time the alarm was created, in the Unix epoch format.
alarmSummary_keyValue :: Lens' AlarmSummary (Maybe Text) Source #
The value of the key used as a filter to select only the alarms associated with the key.
alarmSummary_lastUpdateTime :: Lens' AlarmSummary (Maybe UTCTime) Source #
The time the alarm was last updated, in the Unix epoch format.
alarmSummary_stateName :: Lens' AlarmSummary (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.