import { Command as $Command } from "@smithy/smithy-client"; import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { CloudWatchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudWatchClient"; import type { ListManagedInsightRulesInput, ListManagedInsightRulesOutput } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; export { $Command }; /** * @public * * The input for {@link ListManagedInsightRulesCommand}. */ export interface ListManagedInsightRulesCommandInput extends ListManagedInsightRulesInput { } /** * @public * * The output of {@link ListManagedInsightRulesCommand}. */ export interface ListManagedInsightRulesCommandOutput extends ListManagedInsightRulesOutput, __MetadataBearer { } declare const ListManagedInsightRulesCommand_base: { new (input: ListManagedInsightRulesCommandInput): import("@smithy/smithy-client").CommandImpl; new (input: ListManagedInsightRulesCommandInput): import("@smithy/smithy-client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; }; /** *

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

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { CloudWatchClient, ListManagedInsightRulesCommand } from "@aws-sdk/client-cloudwatch"; // ES Modules import * // const { CloudWatchClient, ListManagedInsightRulesCommand } = require("@aws-sdk/client-cloudwatch"); // CommonJS import * // import type { CloudWatchClientConfig } from "@aws-sdk/client-cloudwatch"; * const config = {}; // type is CloudWatchClientConfig * const client = new CloudWatchClient(config); * const input = { // ListManagedInsightRulesInput * ResourceARN: "STRING_VALUE", // required * NextToken: "STRING_VALUE", * MaxResults: Number("int"), * }; * const command = new ListManagedInsightRulesCommand(input); * const response = await client.send(command); * // { // ListManagedInsightRulesOutput * // ManagedRules: [ // ManagedRuleDescriptions * // { // ManagedRuleDescription * // TemplateName: "STRING_VALUE", * // ResourceARN: "STRING_VALUE", * // RuleState: { // ManagedRuleState * // RuleName: "STRING_VALUE", // required * // State: "STRING_VALUE", // required * // }, * // }, * // ], * // NextToken: "STRING_VALUE", * // }; * * ``` * * @param ListManagedInsightRulesCommandInput - {@link ListManagedInsightRulesCommandInput} * @returns {@link ListManagedInsightRulesCommandOutput} * @see {@link ListManagedInsightRulesCommandInput} for command's `input` shape. * @see {@link ListManagedInsightRulesCommandOutput} for command's `response` shape. * @see {@link CloudWatchClientResolvedConfig | config} for CloudWatchClient's `config` shape. * * @throws {@link InvalidNextToken} (client fault) *

The next token specified is invalid.

* * @throws {@link InvalidParameterValueException} (client fault) *

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

* * @throws {@link MissingRequiredParameterException} (client fault) *

An input parameter that is required is missing.

* * @throws {@link CloudWatchServiceException} *

Base exception class for all service exceptions from CloudWatch service.

* * * @public */ export declare class ListManagedInsightRulesCommand extends ListManagedInsightRulesCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: ListManagedInsightRulesInput; output: ListManagedInsightRulesOutput; }; sdk: { input: ListManagedInsightRulesCommandInput; output: ListManagedInsightRulesCommandOutput; }; }; }