ListManagedInsightRules - Amazon CloudWatch

ListManagedInsightRules

Returns a list that contains the number of managed Contributor Insights rules in your account.

Request Parameters

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

MaxResults

The maximum number of results to return in one operation. If you omit this parameter, the default number is used. The default number is 100.

Type: Integer

Valid Range: Minimum value of 1. Maximum value of 500.

Required: No

NextToken

Include this value to get the next set of rules if the value was returned by the previous operation.

Type: String

Required: No

ResourceARN

The ARN of an AWS resource that has managed Contributor Insights rules.

Type: String

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

Required: Yes

Response Elements

The following elements are returned by the service.

ManagedRules.member.N

The managed rules that are available for the specified AWS resource.

Type: Array of ManagedRuleDescription objects

NextToken

Include this value to get the next set of rules if the value was returned by the previous operation.

Type: String

Errors

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

InvalidNextToken

The next token specified is invalid.

HTTP Status Code: 400

InvalidParameterValue

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

HTTP Status Code: 400

MissingParameter

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: