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