Skip to content

Enable Insight Rules

cloudwatch_enable_insight_rules R Documentation

Enables the specified Contributor Insights rules

Description

Enables the specified Contributor Insights rules. When rules are enabled, they immediately begin analyzing log data.

Usage

cloudwatch_enable_insight_rules(RuleNames)

Arguments

RuleNames

[required] An array of the rule names to enable. 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$enable_insight_rules(
  RuleNames = list(
    "string"
  )
)