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

Defined in Amazonka.IoTEvents.Types.AlarmNotification

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

Read AlarmNotification Source # 
Instance details

Defined in Amazonka.IoTEvents.Types.AlarmNotification

Show AlarmNotification Source # 
Instance details

Defined in Amazonka.IoTEvents.Types.AlarmNotification

NFData AlarmNotification Source # 
Instance details

Defined in Amazonka.IoTEvents.Types.AlarmNotification

Methods

rnf :: AlarmNotification -> () #

Eq AlarmNotification Source # 
Instance details

Defined in Amazonka.IoTEvents.Types.AlarmNotification

Hashable 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" "amazonka-iotevents-2.0-6xKaLx5KciSK3LEs0FyRYn" '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.