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 Alarm = Alarm' {}
- newAlarm :: Alarm
- alarm_keyValue :: Lens' Alarm (Maybe Text)
- alarm_creationTime :: Lens' Alarm (Maybe UTCTime)
- alarm_alarmState :: Lens' Alarm (Maybe AlarmState)
- alarm_alarmModelName :: Lens' Alarm (Maybe Text)
- alarm_severity :: Lens' Alarm (Maybe Natural)
- alarm_lastUpdateTime :: Lens' Alarm (Maybe UTCTime)
- alarm_alarmModelVersion :: Lens' Alarm (Maybe Text)
Documentation
Contains information about an alarm.
See: newAlarm
smart constructor.
Alarm' | |
|
Instances
Create a value of Alarm
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:Alarm'
, alarm_keyValue
- The value of the key used as a filter to select only the alarms
associated with the
key.
$sel:creationTime:Alarm'
, alarm_creationTime
- The time the alarm was created, in the Unix epoch format.
$sel:alarmState:Alarm'
, alarm_alarmState
- Contains information about the current state of the alarm.
$sel:alarmModelName:Alarm'
, alarm_alarmModelName
- The name of the alarm model.
$sel:severity:Alarm'
, alarm_severity
- A non-negative integer that reflects the severity level of the alarm.
$sel:lastUpdateTime:Alarm'
, alarm_lastUpdateTime
- The time the alarm was last updated, in the Unix epoch format.
$sel:alarmModelVersion:Alarm'
, alarm_alarmModelVersion
- The version of the alarm model.
alarm_keyValue :: Lens' Alarm (Maybe Text) Source #
The value of the key used as a filter to select only the alarms associated with the key.
alarm_creationTime :: Lens' Alarm (Maybe UTCTime) Source #
The time the alarm was created, in the Unix epoch format.
alarm_alarmState :: Lens' Alarm (Maybe AlarmState) Source #
Contains information about the current state of the alarm.
alarm_severity :: Lens' Alarm (Maybe Natural) Source #
A non-negative integer that reflects the severity level of the alarm.