Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Synopsis
- data NotificationFilterConfig = NotificationFilterConfig' {}
- newNotificationFilterConfig :: NotificationFilterConfig
- notificationFilterConfig_messageTypes :: Lens' NotificationFilterConfig (Maybe [NotificationMessageType])
- notificationFilterConfig_severities :: Lens' NotificationFilterConfig (Maybe [InsightSeverity])
Documentation
data NotificationFilterConfig Source #
The filter configurations for the Amazon SNS notification topic you use with DevOps Guru. You can choose to specify which events or message types to receive notifications for. You can also choose to specify which severity levels to receive notifications for.
See: newNotificationFilterConfig
smart constructor.
NotificationFilterConfig' | |
|
Instances
newNotificationFilterConfig :: NotificationFilterConfig Source #
Create a value of NotificationFilterConfig
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:messageTypes:NotificationFilterConfig'
, notificationFilterConfig_messageTypes
- The events that you want to receive notifications for. For example, you
can choose to receive notifications only when the severity level is
upgraded or a new insight is created.
$sel:severities:NotificationFilterConfig'
, notificationFilterConfig_severities
- The severity levels that you want to receive notifications for. For
example, you can choose to receive notifications only for insights with
HIGH
and MEDIUM
severity levels. For more information, see
Understanding insight severities.
notificationFilterConfig_messageTypes :: Lens' NotificationFilterConfig (Maybe [NotificationMessageType]) Source #
The events that you want to receive notifications for. For example, you can choose to receive notifications only when the severity level is upgraded or a new insight is created.
notificationFilterConfig_severities :: Lens' NotificationFilterConfig (Maybe [InsightSeverity]) Source #
The severity levels that you want to receive notifications for. For
example, you can choose to receive notifications only for insights with
HIGH
and MEDIUM
severity levels. For more information, see
Understanding insight severities.