amazonka-iotevents-2.0: Amazon IoT Events SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

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
FromJSON AlarmRule Source # 
Instance details

Defined in Amazonka.IoTEvents.Types.AlarmRule

ToJSON 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 #

Read AlarmRule Source # 
Instance details

Defined in Amazonka.IoTEvents.Types.AlarmRule

Show AlarmRule Source # 
Instance details

Defined in Amazonka.IoTEvents.Types.AlarmRule

NFData AlarmRule Source # 
Instance details

Defined in Amazonka.IoTEvents.Types.AlarmRule

Methods

rnf :: AlarmRule -> () #

Eq AlarmRule Source # 
Instance details

Defined in Amazonka.IoTEvents.Types.AlarmRule

Hashable 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" "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.