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.AlarmNotification

Description

 
Synopsis

Documentation

data AlarmNotification Source #

Contains information about one or more notification actions.

See: newAlarmNotification smart constructor.

Constructors

AlarmNotification' 

Fields

Instances

Instances details
Eq AlarmNotification Source # 
Instance details

Defined in Amazonka.IoTEvents.Types.AlarmNotification

Read AlarmNotification Source # 
Instance details

Defined in Amazonka.IoTEvents.Types.AlarmNotification

Show AlarmNotification Source # 
Instance details

Defined in Amazonka.IoTEvents.Types.AlarmNotification

Generic AlarmNotification Source # 
Instance details

Defined in Amazonka.IoTEvents.Types.AlarmNotification

Associated Types

type Rep AlarmNotification :: Type -> Type #

NFData AlarmNotification Source # 
Instance details

Defined in Amazonka.IoTEvents.Types.AlarmNotification

Methods

rnf :: AlarmNotification -> () #

Hashable AlarmNotification Source # 
Instance details

Defined in Amazonka.IoTEvents.Types.AlarmNotification

ToJSON AlarmNotification Source # 
Instance details

Defined in Amazonka.IoTEvents.Types.AlarmNotification

FromJSON AlarmNotification Source # 
Instance details

Defined in Amazonka.IoTEvents.Types.AlarmNotification

type Rep AlarmNotification Source # 
Instance details

Defined in Amazonka.IoTEvents.Types.AlarmNotification

type Rep AlarmNotification = D1 ('MetaData "AlarmNotification" "Amazonka.IoTEvents.Types.AlarmNotification" "libZSservicesZSamazonka-ioteventsZSamazonka-iotevents" 'False) (C1 ('MetaCons "AlarmNotification'" 'PrefixI 'True) (S1 ('MetaSel ('Just "notificationActions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (NonEmpty NotificationAction)))))

newAlarmNotification :: AlarmNotification Source #

Create a value of AlarmNotification 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:notificationActions:AlarmNotification', alarmNotification_notificationActions - Contains the notification settings of an alarm model. The settings apply to all alarms that were created based on this alarm model.

alarmNotification_notificationActions :: Lens' AlarmNotification (Maybe (NonEmpty NotificationAction)) Source #

Contains the notification settings of an alarm model. The settings apply to all alarms that were created based on this alarm model.