Skip to content

Disable Insight Rules

cloudwatch_disable_insight_rules R Documentation

Disables the specified Contributor Insights rules

Description

Disables the specified Contributor Insights rules. When rules are disabled, they do not analyze log groups and do not incur costs.

Usage

cloudwatch_disable_insight_rules(RuleNames)

Arguments

RuleNames

[required] An array of the rule names to disable. If you need to find out the names of your rules, use describe_insight_rules.

Value

A list with the following syntax:

list(
  Failures = list(
    list(
      FailureResource = "string",
      ExceptionType = "string",
      FailureCode = "string",
      FailureDescription = "string"
    )
  )
)

Request syntax

svc$disable_insight_rules(
  RuleNames = list(
    "string"
  )
)