Skip to content

Put Managed Insight Rules

cloudwatch_put_managed_insight_rules R Documentation

Creates a managed Contributor Insights rule for a specified Amazon Web Services resource

Description

Creates a managed Contributor Insights rule for a specified Amazon Web Services resource. When you enable a managed rule, you create a Contributor Insights rule that collects data from Amazon Web Services services. You cannot edit these rules with put_insight_rule. The rules can be enabled, disabled, and deleted using enable_insight_rules, disable_insight_rules, and delete_insight_rules. If a previously created managed rule is currently disabled, a subsequent call to this API will re-enable it. Use list_managed_insight_rules to describe all available rules.

Usage

cloudwatch_put_managed_insight_rules(ManagedRules)

Arguments

ManagedRules

[required] A list of ManagedRules to enable.

Value

A list with the following syntax:

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

Request syntax

svc$put_managed_insight_rules(
  ManagedRules = list(
    list(
      TemplateName = "string",
      ResourceARN = "string",
      Tags = list(
        list(
          Key = "string",
          Value = "string"
        )
      )
    )
  )
)