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

Description

 
Synopsis

Documentation

data NotificationAction Source #

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

See: newNotificationAction smart constructor.

Constructors

NotificationAction' 

Fields

Instances

Instances details
Eq NotificationAction Source # 
Instance details

Defined in Amazonka.IoTEvents.Types.NotificationAction

Read NotificationAction Source # 
Instance details

Defined in Amazonka.IoTEvents.Types.NotificationAction

Show NotificationAction Source # 
Instance details

Defined in Amazonka.IoTEvents.Types.NotificationAction

Generic NotificationAction Source # 
Instance details

Defined in Amazonka.IoTEvents.Types.NotificationAction

Associated Types

type Rep NotificationAction :: Type -> Type #

NFData NotificationAction Source # 
Instance details

Defined in Amazonka.IoTEvents.Types.NotificationAction

Methods

rnf :: NotificationAction -> () #

Hashable NotificationAction Source # 
Instance details

Defined in Amazonka.IoTEvents.Types.NotificationAction

ToJSON NotificationAction Source # 
Instance details

Defined in Amazonka.IoTEvents.Types.NotificationAction

FromJSON NotificationAction Source # 
Instance details

Defined in Amazonka.IoTEvents.Types.NotificationAction

type Rep NotificationAction Source # 
Instance details

Defined in Amazonka.IoTEvents.Types.NotificationAction

type Rep NotificationAction = D1 ('MetaData "NotificationAction" "Amazonka.IoTEvents.Types.NotificationAction" "libZSservicesZSamazonka-ioteventsZSamazonka-iotevents" 'False) (C1 ('MetaCons "NotificationAction'" 'PrefixI 'True) (S1 ('MetaSel ('Just "emailConfigurations") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (NonEmpty EmailConfiguration))) :*: (S1 ('MetaSel ('Just "smsConfigurations") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (NonEmpty SMSConfiguration))) :*: S1 ('MetaSel ('Just "action") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 NotificationTargetActions))))

newNotificationAction Source #

Create a value of NotificationAction 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:emailConfigurations:NotificationAction', notificationAction_emailConfigurations - Contains the configuration information of email notifications.

$sel:smsConfigurations:NotificationAction', notificationAction_smsConfigurations - Contains the configuration information of SMS notifications.

$sel:action:NotificationAction', notificationAction_action - Specifies an AWS Lambda function to manage alarm notifications. You can create one or use the AWS Lambda function provided by AWS IoT Events.

notificationAction_emailConfigurations :: Lens' NotificationAction (Maybe (NonEmpty EmailConfiguration)) Source #

Contains the configuration information of email notifications.

notificationAction_smsConfigurations :: Lens' NotificationAction (Maybe (NonEmpty SMSConfiguration)) Source #

Contains the configuration information of SMS notifications.

notificationAction_action :: Lens' NotificationAction NotificationTargetActions Source #

Specifies an AWS Lambda function to manage alarm notifications. You can create one or use the AWS Lambda function provided by AWS IoT Events.