import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { ListRulesRequest, ListRulesResponse } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link ListRulesCommand}. */ export interface ListRulesCommandInput extends ListRulesRequest { } /** * @public * * The output of {@link ListRulesCommand}. */ export interface ListRulesCommandOutput extends ListRulesResponse, __MetadataBearer { } declare const ListRulesCommand_base: { new (input: ListRulesCommandInput): import("@smithy/core/client").CommandImpl; new (...[input]: [] | [ListRulesCommandInput]): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Lists all readiness rules, or lists the readiness rules for a specific resource type.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { Route53RecoveryReadinessClient, ListRulesCommand } from "@aws-sdk/client-route53-recovery-readiness"; // ES Modules import * // const { Route53RecoveryReadinessClient, ListRulesCommand } = require("@aws-sdk/client-route53-recovery-readiness"); // CommonJS import * // import type { Route53RecoveryReadinessClientConfig } from "@aws-sdk/client-route53-recovery-readiness"; * const config = {}; // type is Route53RecoveryReadinessClientConfig * const client = new Route53RecoveryReadinessClient(config); * const input = { // ListRulesRequest * MaxResults: Number("int"), * NextToken: "STRING_VALUE", * ResourceType: "STRING_VALUE", * }; * const command = new ListRulesCommand(input); * const response = await client.send(command); * // { // ListRulesResponse * // NextToken: "STRING_VALUE", * // Rules: [ // __listOfListRulesOutput * // { // ListRulesOutput * // ResourceType: "STRING_VALUE", // required * // RuleDescription: "STRING_VALUE", // required * // RuleId: "STRING_VALUE", // required * // }, * // ], * // }; * * ``` * * @param ListRulesCommandInput - {@link ListRulesCommandInput} * @returns {@link ListRulesCommandOutput} * @see {@link ListRulesCommandInput} for command's `input` shape. * @see {@link ListRulesCommandOutput} for command's `response` shape. * @see {@link Route53RecoveryReadinessClientResolvedConfig | config} for Route53RecoveryReadinessClient's `config` shape. * * @throws {@link AccessDeniedException} (client fault) * User does not have sufficient access to perform this action. * * @throws {@link InternalServerException} (server fault) * An unexpected error occurred. * * @throws {@link ThrottlingException} (client fault) * Request was denied due to request throttling. * * @throws {@link ValidationException} (client fault) * The input fails to satisfy the constraints specified by an AWS service. * * @throws {@link Route53RecoveryReadinessServiceException} *

Base exception class for all service exceptions from Route53RecoveryReadiness service.

* * * @public */ export declare class ListRulesCommand extends ListRulesCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: ListRulesRequest; output: ListRulesResponse; }; sdk: { input: ListRulesCommandInput; output: ListRulesCommandOutput; }; }; }