Skip to content

Add Notification Channels

codeguruprofiler_add_notification_channels R Documentation

Add up to 2 anomaly notifications channels for a profiling group

Description

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

Usage

codeguruprofiler_add_notification_channels(channels, profilingGroupName)

Arguments

channels

[required] One or 2 channels to report to when anomalies are detected.

profilingGroupName

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

Value

A list with the following syntax:

list(
  notificationConfiguration = list(
    channels = list(
      list(
        eventPublishers = list(
          "AnomalyDetection"
        ),
        id = "string",
        uri = "string"
      )
    )
  )
)

Request syntax

svc$add_notification_channels(
  channels = list(
    list(
      eventPublishers = list(
        "AnomalyDetection"
      ),
      id = "string",
      uri = "string"
    )
  ),
  profilingGroupName = "string"
)