libZSservicesZSamazonka-codeguruprofilerZSamazonka-codeguruprofiler
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.CodeGuruProfiler.Types.Channel

Description

 
Synopsis

Documentation

data Channel Source #

Notification medium for users to get alerted for events that occur in application profile. We support SNS topic as a notification channel.

See: newChannel smart constructor.

Constructors

Channel' 

Fields

  • id :: Maybe Text

    Unique identifier for each Channel in the notification configuration of a Profiling Group. A random UUID for channelId is used when adding a channel to the notification configuration if not specified in the request.

  • eventPublishers :: NonEmpty EventPublisher

    List of publishers for different type of events that may be detected in an application from the profile. Anomaly detection is the only event publisher in Profiler.

  • uri :: Text

    Unique arn of the resource to be used for notifications. We support a valid SNS topic arn as a channel uri.

Instances

Instances details
Eq Channel Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.Channel

Methods

(==) :: Channel -> Channel -> Bool #

(/=) :: Channel -> Channel -> Bool #

Read Channel Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.Channel

Show Channel Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.Channel

Generic Channel Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.Channel

Associated Types

type Rep Channel :: Type -> Type #

Methods

from :: Channel -> Rep Channel x #

to :: Rep Channel x -> Channel #

NFData Channel Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.Channel

Methods

rnf :: Channel -> () #

Hashable Channel Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.Channel

Methods

hashWithSalt :: Int -> Channel -> Int #

hash :: Channel -> Int #

ToJSON Channel Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.Channel

FromJSON Channel Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.Channel

type Rep Channel Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.Channel

type Rep Channel = D1 ('MetaData "Channel" "Amazonka.CodeGuruProfiler.Types.Channel" "libZSservicesZSamazonka-codeguruprofilerZSamazonka-codeguruprofiler" 'False) (C1 ('MetaCons "Channel'" 'PrefixI 'True) (S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "eventPublishers") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (NonEmpty EventPublisher)) :*: S1 ('MetaSel ('Just "uri") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

newChannel Source #

Create a value of Channel 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:id:Channel', channel_id - Unique identifier for each Channel in the notification configuration of a Profiling Group. A random UUID for channelId is used when adding a channel to the notification configuration if not specified in the request.

$sel:eventPublishers:Channel', channel_eventPublishers - List of publishers for different type of events that may be detected in an application from the profile. Anomaly detection is the only event publisher in Profiler.

$sel:uri:Channel', channel_uri - Unique arn of the resource to be used for notifications. We support a valid SNS topic arn as a channel uri.

channel_id :: Lens' Channel (Maybe Text) Source #

Unique identifier for each Channel in the notification configuration of a Profiling Group. A random UUID for channelId is used when adding a channel to the notification configuration if not specified in the request.

channel_eventPublishers :: Lens' Channel (NonEmpty EventPublisher) Source #

List of publishers for different type of events that may be detected in an application from the profile. Anomaly detection is the only event publisher in Profiler.

channel_uri :: Lens' Channel Text Source #

Unique arn of the resource to be used for notifications. We support a valid SNS topic arn as a channel uri.