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.AddNotificationChannels

Description

Add up to 2 anomaly notifications channels for a profiling group.

Synopsis

Creating a Request

data AddNotificationChannels Source #

The structure representing the AddNotificationChannelsRequest.

See: newAddNotificationChannels smart constructor.

Constructors

AddNotificationChannels' 

Fields

Instances

Instances details
Eq AddNotificationChannels Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.AddNotificationChannels

Read AddNotificationChannels Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.AddNotificationChannels

Show AddNotificationChannels Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.AddNotificationChannels

Generic AddNotificationChannels Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.AddNotificationChannels

Associated Types

type Rep AddNotificationChannels :: Type -> Type #

NFData AddNotificationChannels Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.AddNotificationChannels

Methods

rnf :: AddNotificationChannels -> () #

Hashable AddNotificationChannels Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.AddNotificationChannels

ToJSON AddNotificationChannels Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.AddNotificationChannels

AWSRequest AddNotificationChannels Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.AddNotificationChannels

ToHeaders AddNotificationChannels Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.AddNotificationChannels

ToPath AddNotificationChannels Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.AddNotificationChannels

ToQuery AddNotificationChannels Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.AddNotificationChannels

type Rep AddNotificationChannels Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.AddNotificationChannels

type Rep AddNotificationChannels = D1 ('MetaData "AddNotificationChannels" "Amazonka.CodeGuruProfiler.AddNotificationChannels" "libZSservicesZSamazonka-codeguruprofilerZSamazonka-codeguruprofiler" 'False) (C1 ('MetaCons "AddNotificationChannels'" 'PrefixI 'True) (S1 ('MetaSel ('Just "channels") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (NonEmpty Channel)) :*: S1 ('MetaSel ('Just "profilingGroupName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse AddNotificationChannels Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.AddNotificationChannels

newAddNotificationChannels Source #

Create a value of AddNotificationChannels 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:channels:AddNotificationChannels', addNotificationChannels_channels - One or 2 channels to report to when anomalies are detected.

$sel:profilingGroupName:AddNotificationChannels', addNotificationChannels_profilingGroupName - The name of the profiling group that we are setting up notifications for.

Request Lenses

addNotificationChannels_channels :: Lens' AddNotificationChannels (NonEmpty Channel) Source #

One or 2 channels to report to when anomalies are detected.

addNotificationChannels_profilingGroupName :: Lens' AddNotificationChannels Text Source #

The name of the profiling group that we are setting up notifications for.

Destructuring the Response

data AddNotificationChannelsResponse Source #

The structure representing the AddNotificationChannelsResponse.

See: newAddNotificationChannelsResponse smart constructor.

Constructors

AddNotificationChannelsResponse' 

Fields

Instances

Instances details
Eq AddNotificationChannelsResponse Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.AddNotificationChannels

Read AddNotificationChannelsResponse Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.AddNotificationChannels

Show AddNotificationChannelsResponse Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.AddNotificationChannels

Generic AddNotificationChannelsResponse Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.AddNotificationChannels

Associated Types

type Rep AddNotificationChannelsResponse :: Type -> Type #

NFData AddNotificationChannelsResponse Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.AddNotificationChannels

type Rep AddNotificationChannelsResponse Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.AddNotificationChannels

type Rep AddNotificationChannelsResponse = D1 ('MetaData "AddNotificationChannelsResponse" "Amazonka.CodeGuruProfiler.AddNotificationChannels" "libZSservicesZSamazonka-codeguruprofilerZSamazonka-codeguruprofiler" 'False) (C1 ('MetaCons "AddNotificationChannelsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "notificationConfiguration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe NotificationConfiguration)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newAddNotificationChannelsResponse Source #

Create a value of AddNotificationChannelsResponse 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:notificationConfiguration:AddNotificationChannelsResponse', addNotificationChannelsResponse_notificationConfiguration - The new notification configuration for this profiling group.

$sel:httpStatus:AddNotificationChannelsResponse', addNotificationChannelsResponse_httpStatus - The response's http status code.

Response Lenses