Class: Aws::CodeGuruProfiler::Types::Channel

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 Channel data as a hash:

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

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

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#event_publishersArray<String>

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.

Returns:

  • (Array<String>)


420
421
422
423
424
425
426
# File 'gems/aws-sdk-codeguruprofiler/lib/aws-sdk-codeguruprofiler/types.rb', line 420

class Channel < Struct.new(
  :event_publishers,
  :id,
  :uri)
  SENSITIVE = []
  include Aws::Structure
end

#idString

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.

Returns:

  • (String)


420
421
422
423
424
425
426
# File 'gems/aws-sdk-codeguruprofiler/lib/aws-sdk-codeguruprofiler/types.rb', line 420

class Channel < Struct.new(
  :event_publishers,
  :id,
  :uri)
  SENSITIVE = []
  include Aws::Structure
end

#uriString

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

Returns:

  • (String)


420
421
422
423
424
425
426
# File 'gems/aws-sdk-codeguruprofiler/lib/aws-sdk-codeguruprofiler/types.rb', line 420

class Channel < Struct.new(
  :event_publishers,
  :id,
  :uri)
  SENSITIVE = []
  include Aws::Structure
end