libZSservicesZSamazonka-ioteventsZSamazonka-iotevents
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.IoTEvents.Types.AlarmRule

Description

 
Synopsis

Documentation

data AlarmRule Source #

Defines when your alarm is invoked.

See: newAlarmRule smart constructor.

Constructors

AlarmRule' 

Fields

Instances

Instances details
Eq AlarmRule Source # 
Instance details

Defined in Amazonka.IoTEvents.Types.AlarmRule

Read AlarmRule Source # 
Instance details

Defined in Amazonka.IoTEvents.Types.AlarmRule

Show AlarmRule Source # 
Instance details

Defined in Amazonka.IoTEvents.Types.AlarmRule

Generic AlarmRule Source # 
Instance details

Defined in Amazonka.IoTEvents.Types.AlarmRule

Associated Types

type Rep AlarmRule :: Type -> Type #

NFData AlarmRule Source # 
Instance details

Defined in Amazonka.IoTEvents.Types.AlarmRule

Methods

rnf :: AlarmRule -> () #

Hashable AlarmRule Source # 
Instance details

Defined in Amazonka.IoTEvents.Types.AlarmRule

ToJSON AlarmRule Source # 
Instance details

Defined in Amazonka.IoTEvents.Types.AlarmRule

FromJSON AlarmRule Source # 
Instance details

Defined in Amazonka.IoTEvents.Types.AlarmRule

type Rep AlarmRule Source # 
Instance details

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.