Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
- data NotificationAction = NotificationAction' {}
- newNotificationAction :: NotificationTargetActions -> NotificationAction
- notificationAction_emailConfigurations :: Lens' NotificationAction (Maybe (NonEmpty EmailConfiguration))
- notificationAction_smsConfigurations :: Lens' NotificationAction (Maybe (NonEmpty SMSConfiguration))
- notificationAction_action :: Lens' NotificationAction NotificationTargetActions
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.
NotificationAction' | |
|
Instances
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.