| 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.IoTEvents.Types.AlarmRule
Description
Synopsis
- data AlarmRule = AlarmRule' {}
- newAlarmRule :: AlarmRule
- alarmRule_simpleRule :: Lens' AlarmRule (Maybe SimpleRule)
Documentation
Defines when your alarm is invoked.
See: newAlarmRule smart constructor.
Constructors
| AlarmRule' | |
Fields
| |
Instances
| FromJSON AlarmRule Source # | |
| ToJSON AlarmRule Source # | |
Defined in Amazonka.IoTEvents.Types.AlarmRule | |
| Generic AlarmRule Source # | |
| Read AlarmRule Source # | |
| Show AlarmRule Source # | |
| NFData AlarmRule Source # | |
Defined in Amazonka.IoTEvents.Types.AlarmRule | |
| Eq AlarmRule Source # | |
| Hashable AlarmRule Source # | |
Defined in Amazonka.IoTEvents.Types.AlarmRule | |
| type Rep AlarmRule Source # | |
Defined in Amazonka.IoTEvents.Types.AlarmRule type Rep AlarmRule = D1 ('MetaData "AlarmRule" "Amazonka.IoTEvents.Types.AlarmRule" "amazonka-iotevents-2.0-6xKaLx5KciSK3LEs0FyRYn" '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.