EnableInsightRules - Amazon CloudWatch


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

Request Parameters

For information about the parameters that are common to all actions, see Common Parameters.


An array of the rule names to enable. If you need to find out the names of your rules, use DescribeInsightRules.

Type: Array of strings

Length Constraints: Minimum length of 1. Maximum length of 128.

Pattern: [\x20-\x7E]+

Required: Yes

Response Elements

The following element is returned by the service.


An array listing the rules that could not be enabled. You cannot disable or enable built-in rules.

Type: Array of PartialFailure objects


For information about the errors that are common to all actions, see Common Errors.


The value of an input parameter is bad or out-of-range.

HTTP Status Code: 400


The operation exceeded one or more limits.

HTTP Status Code: 400


An input parameter that is required is missing.

HTTP Status Code: 400

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: