Skip to content

Update Alert

lookoutmetrics_update_alert R Documentation

Make changes to an existing alert

Description

Make changes to an existing alert.

Usage

lookoutmetrics_update_alert(AlertArn, AlertDescription,
  AlertSensitivityThreshold, Action, AlertFilters)

Arguments

AlertArn

[required] The ARN of the alert to update.

AlertDescription

A description of the alert.

AlertSensitivityThreshold

An integer from 0 to 100 specifying the alert sensitivity threshold.

Action

Action that will be triggered when there is an alert.

AlertFilters

The configuration of the alert filters, containing MetricList and DimensionFilterList.

Value

A list with the following syntax:

list(
  AlertArn = "string"
)

Request syntax

svc$update_alert(
  AlertArn = "string",
  AlertDescription = "string",
  AlertSensitivityThreshold = 123,
  Action = list(
    SNSConfiguration = list(
      RoleArn = "string",
      SnsTopicArn = "string",
      SnsFormat = "LONG_TEXT"|"SHORT_TEXT"|"JSON"
    ),
    LambdaConfiguration = list(
      RoleArn = "string",
      LambdaArn = "string"
    )
  ),
  AlertFilters = list(
    MetricList = list(
      "string"
    ),
    DimensionFilterList = list(
      list(
        DimensionName = "string",
        DimensionValueList = list(
          "string"
        )
      )
    )
  )
)