libZSservicesZSamazonka-iotevents-dataZSamazonka-iotevents-data
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.IoTEventsData.Types.Alarm

Description

 
Synopsis

Documentation

data Alarm Source #

Contains information about an alarm.

See: newAlarm smart constructor.

Constructors

Alarm' 

Fields

Instances

Instances details
Eq Alarm Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.Alarm

Methods

(==) :: Alarm -> Alarm -> Bool #

(/=) :: Alarm -> Alarm -> Bool #

Read Alarm Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.Alarm

Show Alarm Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.Alarm

Methods

showsPrec :: Int -> Alarm -> ShowS #

show :: Alarm -> String #

showList :: [Alarm] -> ShowS #

Generic Alarm Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.Alarm

Associated Types

type Rep Alarm :: Type -> Type #

Methods

from :: Alarm -> Rep Alarm x #

to :: Rep Alarm x -> Alarm #

NFData Alarm Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.Alarm

Methods

rnf :: Alarm -> () #

Hashable Alarm Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.Alarm

Methods

hashWithSalt :: Int -> Alarm -> Int #

hash :: Alarm -> Int #

FromJSON Alarm Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.Alarm

type Rep Alarm Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.Alarm

type Rep Alarm = D1 ('MetaData "Alarm" "Amazonka.IoTEventsData.Types.Alarm" "libZSservicesZSamazonka-iotevents-dataZSamazonka-iotevents-data" 'False) (C1 ('MetaCons "Alarm'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "keyValue") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "creationTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "alarmState") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe AlarmState)))) :*: ((S1 ('MetaSel ('Just "alarmModelName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "severity") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural))) :*: (S1 ('MetaSel ('Just "lastUpdateTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "alarmModelVersion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))))

newAlarm :: Alarm Source #

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_alarmModelName :: Lens' Alarm (Maybe Text) Source #

The name of the alarm model.

alarm_severity :: Lens' Alarm (Maybe Natural) Source #

A non-negative integer that reflects the severity level of the alarm.

alarm_lastUpdateTime :: Lens' Alarm (Maybe UTCTime) Source #

The time the alarm was last updated, in the Unix epoch format.

alarm_alarmModelVersion :: Lens' Alarm (Maybe Text) Source #

The version of the alarm model.