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 AlarmRule = AlarmRule' {}
- newAlarmRule :: AlarmRule
- alarmRule_simpleRule :: Lens' AlarmRule (Maybe SimpleRule)
Documentation
Defines when your alarm is invoked.
See: newAlarmRule
smart constructor.
AlarmRule' | |
|
Instances
Eq AlarmRule Source # | |
Read AlarmRule Source # | |
Show AlarmRule Source # | |
Generic AlarmRule Source # | |
NFData AlarmRule Source # | |
Defined in Amazonka.IoTEvents.Types.AlarmRule | |
Hashable AlarmRule Source # | |
Defined in Amazonka.IoTEvents.Types.AlarmRule | |
ToJSON AlarmRule Source # | |
Defined in Amazonka.IoTEvents.Types.AlarmRule | |
FromJSON AlarmRule Source # | |
type Rep AlarmRule Source # | |
Defined in Amazonka.IoTEvents.Types.AlarmRule type Rep AlarmRule = D1 ('MetaData "AlarmRule" "Amazonka.IoTEvents.Types.AlarmRule" "libZSservicesZSamazonka-ioteventsZSamazonka-iotevents" 'False) (C1 ('MetaCons "AlarmRule'" 'PrefixI 'True) (S1 ('MetaSel ('Just "simpleRule") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe SimpleRule)))) |
newAlarmRule :: AlarmRule Source #
Create a value of AlarmRule
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:simpleRule:AlarmRule'
, alarmRule_simpleRule
- A rule that compares an input property value to a threshold value with a
comparison operator.
alarmRule_simpleRule :: Lens' AlarmRule (Maybe SimpleRule) Source #
A rule that compares an input property value to a threshold value with a comparison operator.