libZSservicesZSamazonka-devops-guruZSamazonka-devops-guru
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.DevOpsGuru.Types.NotificationChannel

Description

 
Synopsis

Documentation

data NotificationChannel Source #

Information about a notification channel. A notification channel is used to notify you when DevOps Guru creates an insight. The one supported notification channel is Amazon Simple Notification Service (Amazon SNS).

If you use an Amazon SNS topic in another account, you must attach a policy to it that grants DevOps Guru permission to it notifications. DevOps Guru adds the required policy on your behalf to send notifications using Amazon SNS in your account. For more information, see Permissions for cross account Amazon SNS topics.

If you use an Amazon SNS topic that is encrypted by an AWS Key Management Service customer-managed key (CMK), then you must add permissions to the CMK. For more information, see Permissions for AWS KMS–encrypted Amazon SNS topics.

See: newNotificationChannel smart constructor.

Constructors

NotificationChannel' 

Fields

Instances

Instances details
Eq NotificationChannel Source # 
Instance details

Defined in Amazonka.DevOpsGuru.Types.NotificationChannel

Read NotificationChannel Source # 
Instance details

Defined in Amazonka.DevOpsGuru.Types.NotificationChannel

Show NotificationChannel Source # 
Instance details

Defined in Amazonka.DevOpsGuru.Types.NotificationChannel

Generic NotificationChannel Source # 
Instance details

Defined in Amazonka.DevOpsGuru.Types.NotificationChannel

Associated Types

type Rep NotificationChannel :: Type -> Type #

NFData NotificationChannel Source # 
Instance details

Defined in Amazonka.DevOpsGuru.Types.NotificationChannel

Methods

rnf :: NotificationChannel -> () #

Hashable NotificationChannel Source # 
Instance details

Defined in Amazonka.DevOpsGuru.Types.NotificationChannel

FromJSON NotificationChannel Source # 
Instance details

Defined in Amazonka.DevOpsGuru.Types.NotificationChannel

type Rep NotificationChannel Source # 
Instance details

Defined in Amazonka.DevOpsGuru.Types.NotificationChannel

type Rep NotificationChannel = D1 ('MetaData "NotificationChannel" "Amazonka.DevOpsGuru.Types.NotificationChannel" "libZSservicesZSamazonka-devops-guruZSamazonka-devops-guru" 'False) (C1 ('MetaCons "NotificationChannel'" 'PrefixI 'True) (S1 ('MetaSel ('Just "config") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe NotificationChannelConfig)) :*: S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

newNotificationChannel :: NotificationChannel Source #

Create a value of NotificationChannel 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:config:NotificationChannel', notificationChannel_config - A NotificationChannelConfig object that contains information about configured notification channels.

$sel:id:NotificationChannel', notificationChannel_id - The ID of a notification channel.

notificationChannel_config :: Lens' NotificationChannel (Maybe NotificationChannelConfig) Source #

A NotificationChannelConfig object that contains information about configured notification channels.

notificationChannel_id :: Lens' NotificationChannel (Maybe Text) Source #

The ID of a notification channel.