import { Command as $Command } from "@smithy/smithy-client"; import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { ConfigServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConfigServiceClient"; import type { DescribeConfigRulesRequest, DescribeConfigRulesResponse } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; export { $Command }; /** * @public * * The input for {@link DescribeConfigRulesCommand}. */ export interface DescribeConfigRulesCommandInput extends DescribeConfigRulesRequest { } /** * @public * * The output of {@link DescribeConfigRulesCommand}. */ export interface DescribeConfigRulesCommandOutput extends DescribeConfigRulesResponse, __MetadataBearer { } declare const DescribeConfigRulesCommand_base: { new (input: DescribeConfigRulesCommandInput): import("@smithy/smithy-client").CommandImpl; new (...[input]: [] | [DescribeConfigRulesCommandInput]): import("@smithy/smithy-client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; }; /** *

Returns details about your Config rules.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { ConfigServiceClient, DescribeConfigRulesCommand } from "@aws-sdk/client-config-service"; // ES Modules import * // const { ConfigServiceClient, DescribeConfigRulesCommand } = require("@aws-sdk/client-config-service"); // CommonJS import * // import type { ConfigServiceClientConfig } from "@aws-sdk/client-config-service"; * const config = {}; // type is ConfigServiceClientConfig * const client = new ConfigServiceClient(config); * const input = { // DescribeConfigRulesRequest * ConfigRuleNames: [ // ConfigRuleNames * "STRING_VALUE", * ], * NextToken: "STRING_VALUE", * Filters: { // DescribeConfigRulesFilters * EvaluationMode: "DETECTIVE" || "PROACTIVE", * }, * }; * const command = new DescribeConfigRulesCommand(input); * const response = await client.send(command); * // { // DescribeConfigRulesResponse * // ConfigRules: [ // ConfigRules * // { // ConfigRule * // ConfigRuleName: "STRING_VALUE", * // ConfigRuleArn: "STRING_VALUE", * // ConfigRuleId: "STRING_VALUE", * // Description: "STRING_VALUE", * // Scope: { // Scope * // ComplianceResourceTypes: [ // ComplianceResourceTypes * // "STRING_VALUE", * // ], * // TagKey: "STRING_VALUE", * // TagValue: "STRING_VALUE", * // ComplianceResourceId: "STRING_VALUE", * // }, * // Source: { // Source * // Owner: "CUSTOM_LAMBDA" || "AWS" || "CUSTOM_POLICY", // required * // SourceIdentifier: "STRING_VALUE", * // SourceDetails: [ // SourceDetails * // { // SourceDetail * // EventSource: "aws.config", * // MessageType: "ConfigurationItemChangeNotification" || "ConfigurationSnapshotDeliveryCompleted" || "ScheduledNotification" || "OversizedConfigurationItemChangeNotification", * // MaximumExecutionFrequency: "One_Hour" || "Three_Hours" || "Six_Hours" || "Twelve_Hours" || "TwentyFour_Hours", * // }, * // ], * // CustomPolicyDetails: { // CustomPolicyDetails * // PolicyRuntime: "STRING_VALUE", // required * // PolicyText: "STRING_VALUE", // required * // EnableDebugLogDelivery: true || false, * // }, * // }, * // InputParameters: "STRING_VALUE", * // MaximumExecutionFrequency: "One_Hour" || "Three_Hours" || "Six_Hours" || "Twelve_Hours" || "TwentyFour_Hours", * // ConfigRuleState: "ACTIVE" || "DELETING" || "DELETING_RESULTS" || "EVALUATING", * // CreatedBy: "STRING_VALUE", * // EvaluationModes: [ // EvaluationModes * // { // EvaluationModeConfiguration * // Mode: "DETECTIVE" || "PROACTIVE", * // }, * // ], * // }, * // ], * // NextToken: "STRING_VALUE", * // }; * * ``` * * @param DescribeConfigRulesCommandInput - {@link DescribeConfigRulesCommandInput} * @returns {@link DescribeConfigRulesCommandOutput} * @see {@link DescribeConfigRulesCommandInput} for command's `input` shape. * @see {@link DescribeConfigRulesCommandOutput} for command's `response` shape. * @see {@link ConfigServiceClientResolvedConfig | config} for ConfigServiceClient's `config` shape. * * @throws {@link InvalidNextTokenException} (client fault) *

The specified next token is not valid. Specify the * nextToken string that was returned in the previous * response to get the next page of results.

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

One or more of the specified parameters are not valid. Verify * that your parameters are valid and try again.

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

The Config rule in the request is not valid. Verify that the rule is an Config Process Check rule, that the rule name is correct, and that valid Amazon Resouce Names (ARNs) are used before trying again.

* * @throws {@link ConfigServiceServiceException} *

Base exception class for all service exceptions from ConfigService service.

* * * @public */ export declare class DescribeConfigRulesCommand extends DescribeConfigRulesCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: DescribeConfigRulesRequest; output: DescribeConfigRulesResponse; }; sdk: { input: DescribeConfigRulesCommandInput; output: DescribeConfigRulesCommandOutput; }; }; }