amazonka-devops-guru-2.0: Amazon DevOps Guru 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.DevOpsGuru.Types.NotificationFilterConfig

Description

 
Synopsis

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.

Constructors

NotificationFilterConfig' 

Fields

Instances

Instances details
FromJSON NotificationFilterConfig Source # 
Instance details

Defined in Amazonka.DevOpsGuru.Types.NotificationFilterConfig

ToJSON NotificationFilterConfig Source # 
Instance details

Defined in Amazonka.DevOpsGuru.Types.NotificationFilterConfig

Generic NotificationFilterConfig Source # 
Instance details

Defined in Amazonka.DevOpsGuru.Types.NotificationFilterConfig

Associated Types

type Rep NotificationFilterConfig :: Type -> Type #

Read NotificationFilterConfig Source # 
Instance details

Defined in Amazonka.DevOpsGuru.Types.NotificationFilterConfig

Show NotificationFilterConfig Source # 
Instance details

Defined in Amazonka.DevOpsGuru.Types.NotificationFilterConfig

NFData NotificationFilterConfig Source # 
Instance details

Defined in Amazonka.DevOpsGuru.Types.NotificationFilterConfig

Eq NotificationFilterConfig Source # 
Instance details

Defined in Amazonka.DevOpsGuru.Types.NotificationFilterConfig

Hashable NotificationFilterConfig Source # 
Instance details

Defined in Amazonka.DevOpsGuru.Types.NotificationFilterConfig

type Rep NotificationFilterConfig Source # 
Instance details

Defined in Amazonka.DevOpsGuru.Types.NotificationFilterConfig

type Rep NotificationFilterConfig = D1 ('MetaData "NotificationFilterConfig" "Amazonka.DevOpsGuru.Types.NotificationFilterConfig" "amazonka-devops-guru-2.0-C03FLSgo73f1Pu5ftIREHS" 'False) (C1 ('MetaCons "NotificationFilterConfig'" 'PrefixI 'True) (S1 ('MetaSel ('Just "messageTypes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [NotificationMessageType])) :*: S1 ('MetaSel ('Just "severities") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [InsightSeverity]))))

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.