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 AlarmSummary = AlarmSummary' {}
- newAlarmSummary :: AlarmSummary
- alarmSummary_keyValue :: Lens' AlarmSummary (Maybe Text)
- alarmSummary_creationTime :: Lens' AlarmSummary (Maybe UTCTime)
- alarmSummary_alarmModelName :: Lens' AlarmSummary (Maybe Text)
- alarmSummary_stateName :: Lens' AlarmSummary (Maybe AlarmStateName)
- alarmSummary_lastUpdateTime :: Lens' AlarmSummary (Maybe UTCTime)
- alarmSummary_alarmModelVersion :: Lens' AlarmSummary (Maybe Text)
Documentation
data AlarmSummary Source #
Contains a summary of an alarm.
See: newAlarmSummary
smart constructor.
AlarmSummary' | |
|
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:keyValue:AlarmSummary'
, alarmSummary_keyValue
- The value of the key used as a filter to select only the alarms
associated with the
key.
$sel:creationTime:AlarmSummary'
, alarmSummary_creationTime
- The time the alarm was created, in the Unix epoch format.
$sel:alarmModelName:AlarmSummary'
, alarmSummary_alarmModelName
- The name of the alarm model.
$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 theDISABLED
state, it isn't ready to evaluate data. To enable the alarm, you must change the alarm to theNORMAL
state.NORMAL
- When the alarm is in theNORMAL
state, it's ready to evaluate data.ACTIVE
- If the alarm is in theACTIVE
state, the alarm is invoked.ACKNOWLEDGED
- When the alarm is in theACKNOWLEDGED
state, the alarm was invoked and you acknowledged the alarm.SNOOZE_DISABLED
- When the alarm is in theSNOOZE_DISABLED
state, the alarm is disabled for a specified period of time. After the snooze time, the alarm automatically changes to theNORMAL
state.LATCHED
- When the alarm is in theLATCHED
state, the alarm was invoked. However, the data that the alarm is currently evaluating is within the specified range. To change the alarm to theNORMAL
state, you must acknowledge the alarm.
$sel:lastUpdateTime:AlarmSummary'
, alarmSummary_lastUpdateTime
- The time the alarm was last updated, in the Unix epoch format.
$sel:alarmModelVersion:AlarmSummary'
, alarmSummary_alarmModelVersion
- The version of the alarm model.
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_creationTime :: Lens' AlarmSummary (Maybe UTCTime) Source #
The time the alarm was created, in the Unix epoch format.
alarmSummary_alarmModelName :: Lens' AlarmSummary (Maybe Text) Source #
The name of the alarm model.
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 theDISABLED
state, it isn't ready to evaluate data. To enable the alarm, you must change the alarm to theNORMAL
state.NORMAL
- When the alarm is in theNORMAL
state, it's ready to evaluate data.ACTIVE
- If the alarm is in theACTIVE
state, the alarm is invoked.ACKNOWLEDGED
- When the alarm is in theACKNOWLEDGED
state, the alarm was invoked and you acknowledged the alarm.SNOOZE_DISABLED
- When the alarm is in theSNOOZE_DISABLED
state, the alarm is disabled for a specified period of time. After the snooze time, the alarm automatically changes to theNORMAL
state.LATCHED
- When the alarm is in theLATCHED
state, the alarm was invoked. However, the data that the alarm is currently evaluating is within the specified range. To change the alarm to theNORMAL
state, you must acknowledge the alarm.
alarmSummary_lastUpdateTime :: Lens' AlarmSummary (Maybe UTCTime) Source #
The time the alarm was last updated, in the Unix epoch format.
alarmSummary_alarmModelVersion :: Lens' AlarmSummary (Maybe Text) Source #
The version of the alarm model.