Creates a Contributor Insights rule. Rules evaluate log events in a CloudWatch Logs log group, enabling you to find contributor data for the log events in that log group. For more information, see Using Contributor Insights to Analyze High-Cardinality Data.
cloudwatch_put_insight_rule(RuleName, RuleState, RuleDefinition)
[required] A unique name for the rule.
The state of the rule. Valid values are ENABLED and DISABLED.
[required] The definition of the rule, as a JSON object. For details on the valid syntax, see Contributor Insights Rule Syntax.
svc$put_insight_rule( RuleName = "string", RuleState = "string", RuleDefinition = "string" )
If you create a rule, delete it, and then re-create it with the same name, historical data from the first time the rule was created may or may not be available.