import { Command as $Command } from "@smithy/smithy-client"; import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { CodePipelineClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodePipelineClient"; import type { ListRuleTypesInput, ListRuleTypesOutput } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; export { $Command }; /** * @public * * The input for {@link ListRuleTypesCommand}. */ export interface ListRuleTypesCommandInput extends ListRuleTypesInput { } /** * @public * * The output of {@link ListRuleTypesCommand}. */ export interface ListRuleTypesCommandOutput extends ListRuleTypesOutput, __MetadataBearer { } declare const ListRuleTypesCommand_base: { new (input: ListRuleTypesCommandInput): import("@smithy/smithy-client").CommandImpl; new (...[input]: [] | [ListRuleTypesCommandInput]): import("@smithy/smithy-client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; }; /** *

Lists the rules for the condition. For more information about conditions, see Stage * conditions and How do * stage conditions work?.For more information about rules, see the CodePipeline rule reference.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { CodePipelineClient, ListRuleTypesCommand } from "@aws-sdk/client-codepipeline"; // ES Modules import * // const { CodePipelineClient, ListRuleTypesCommand } = require("@aws-sdk/client-codepipeline"); // CommonJS import * // import type { CodePipelineClientConfig } from "@aws-sdk/client-codepipeline"; * const config = {}; // type is CodePipelineClientConfig * const client = new CodePipelineClient(config); * const input = { // ListRuleTypesInput * ruleOwnerFilter: "AWS", * regionFilter: "STRING_VALUE", * }; * const command = new ListRuleTypesCommand(input); * const response = await client.send(command); * // { // ListRuleTypesOutput * // ruleTypes: [ // RuleTypeList // required * // { // RuleType * // id: { // RuleTypeId * // category: "Rule", // required * // owner: "AWS", * // provider: "STRING_VALUE", // required * // version: "STRING_VALUE", * // }, * // settings: { // RuleTypeSettings * // thirdPartyConfigurationUrl: "STRING_VALUE", * // entityUrlTemplate: "STRING_VALUE", * // executionUrlTemplate: "STRING_VALUE", * // revisionUrlTemplate: "STRING_VALUE", * // }, * // ruleConfigurationProperties: [ // RuleConfigurationPropertyList * // { // RuleConfigurationProperty * // name: "STRING_VALUE", // required * // required: true || false, // required * // key: true || false, // required * // secret: true || false, // required * // queryable: true || false, * // description: "STRING_VALUE", * // type: "String" || "Number" || "Boolean", * // }, * // ], * // inputArtifactDetails: { // ArtifactDetails * // minimumCount: Number("int"), // required * // maximumCount: Number("int"), // required * // }, * // }, * // ], * // }; * * ``` * * @param ListRuleTypesCommandInput - {@link ListRuleTypesCommandInput} * @returns {@link ListRuleTypesCommandOutput} * @see {@link ListRuleTypesCommandInput} for command's `input` shape. * @see {@link ListRuleTypesCommandOutput} for command's `response` shape. * @see {@link CodePipelineClientResolvedConfig | config} for CodePipelineClient's `config` shape. * * @throws {@link InvalidNextTokenException} (client fault) *

The next token was specified in an invalid format. Make sure that the next token * you provide is the token returned by a previous call.

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

The validation was specified in an invalid format.

* * @throws {@link CodePipelineServiceException} *

Base exception class for all service exceptions from CodePipeline service.

* * * @public */ export declare class ListRuleTypesCommand extends ListRuleTypesCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: ListRuleTypesInput; output: ListRuleTypesOutput; }; sdk: { input: ListRuleTypesCommandInput; output: ListRuleTypesCommandOutput; }; }; }