Class: Aws::CodeGuruProfiler::Types::AddNotificationChannelsRequest

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-codeguruprofiler/lib/aws-sdk-codeguruprofiler/types.rb

Overview

Note:

When making an API call, you may pass AddNotificationChannelsRequest data as a hash:

{
  channels: [ # required
    {
      event_publishers: ["AnomalyDetection"], # required, accepts AnomalyDetection
      id: "ChannelId",
      uri: "ChannelUri", # required
    },
  ],
  profiling_group_name: "ProfilingGroupName", # required
}

The structure representing the AddNotificationChannelsRequest.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#channelsArray<Types::Channel>

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

Returns:



40
41
42
43
44
45
# File 'gems/aws-sdk-codeguruprofiler/lib/aws-sdk-codeguruprofiler/types.rb', line 40

class AddNotificationChannelsRequest < Struct.new(
  :channels,
  :profiling_group_name)
  SENSITIVE = []
  include Aws::Structure
end

#profiling_group_nameString

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

Returns:

  • (String)


40
41
42
43
44
45
# File 'gems/aws-sdk-codeguruprofiler/lib/aws-sdk-codeguruprofiler/types.rb', line 40

class AddNotificationChannelsRequest < Struct.new(
  :channels,
  :profiling_group_name)
  SENSITIVE = []
  include Aws::Structure
end