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 { ListRuleExecutionsInput, ListRuleExecutionsOutput } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; export { $Command }; /** * @public * * The input for {@link ListRuleExecutionsCommand}. */ export interface ListRuleExecutionsCommandInput extends ListRuleExecutionsInput { } /** * @public * * The output of {@link ListRuleExecutionsCommand}. */ export interface ListRuleExecutionsCommandOutput extends ListRuleExecutionsOutput, __MetadataBearer { } declare const ListRuleExecutionsCommand_base: { new (input: ListRuleExecutionsCommandInput): import("@smithy/smithy-client").CommandImpl; new (input: ListRuleExecutionsCommandInput): import("@smithy/smithy-client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; }; /** *

Lists the rule executions that have occurred in a pipeline configured for conditions * with rules.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { CodePipelineClient, ListRuleExecutionsCommand } from "@aws-sdk/client-codepipeline"; // ES Modules import * // const { CodePipelineClient, ListRuleExecutionsCommand } = 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 = { // ListRuleExecutionsInput * pipelineName: "STRING_VALUE", // required * filter: { // RuleExecutionFilter * pipelineExecutionId: "STRING_VALUE", * latestInPipelineExecution: { // LatestInPipelineExecutionFilter * pipelineExecutionId: "STRING_VALUE", // required * startTimeRange: "Latest" || "All", // required * }, * }, * maxResults: Number("int"), * nextToken: "STRING_VALUE", * }; * const command = new ListRuleExecutionsCommand(input); * const response = await client.send(command); * // { // ListRuleExecutionsOutput * // ruleExecutionDetails: [ // RuleExecutionDetailList * // { // RuleExecutionDetail * // pipelineExecutionId: "STRING_VALUE", * // ruleExecutionId: "STRING_VALUE", * // pipelineVersion: Number("int"), * // stageName: "STRING_VALUE", * // ruleName: "STRING_VALUE", * // startTime: new Date("TIMESTAMP"), * // lastUpdateTime: new Date("TIMESTAMP"), * // updatedBy: "STRING_VALUE", * // status: "InProgress" || "Abandoned" || "Succeeded" || "Failed", * // input: { // RuleExecutionInput * // ruleTypeId: { // RuleTypeId * // category: "Rule", // required * // owner: "AWS", * // provider: "STRING_VALUE", // required * // version: "STRING_VALUE", * // }, * // configuration: { // RuleConfigurationMap * // "": "STRING_VALUE", * // }, * // resolvedConfiguration: { // ResolvedRuleConfigurationMap * // "": "STRING_VALUE", * // }, * // roleArn: "STRING_VALUE", * // region: "STRING_VALUE", * // inputArtifacts: [ // ArtifactDetailList * // { // ArtifactDetail * // name: "STRING_VALUE", * // s3location: { // S3Location * // bucket: "STRING_VALUE", * // key: "STRING_VALUE", * // }, * // }, * // ], * // }, * // output: { // RuleExecutionOutput * // executionResult: { // RuleExecutionResult * // externalExecutionId: "STRING_VALUE", * // externalExecutionSummary: "STRING_VALUE", * // externalExecutionUrl: "STRING_VALUE", * // errorDetails: { // ErrorDetails * // code: "STRING_VALUE", * // message: "STRING_VALUE", * // }, * // }, * // }, * // }, * // ], * // nextToken: "STRING_VALUE", * // }; * * ``` * * @param ListRuleExecutionsCommandInput - {@link ListRuleExecutionsCommandInput} * @returns {@link ListRuleExecutionsCommandOutput} * @see {@link ListRuleExecutionsCommandInput} for command's `input` shape. * @see {@link ListRuleExecutionsCommandOutput} 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 PipelineExecutionNotFoundException} (client fault) *

The pipeline execution was specified in an invalid format or cannot be found, or an * execution ID does not belong to the specified pipeline.

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

The pipeline was specified in an invalid format or cannot be found.

* * @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 ListRuleExecutionsCommand extends ListRuleExecutionsCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: ListRuleExecutionsInput; output: ListRuleExecutionsOutput; }; sdk: { input: ListRuleExecutionsCommandInput; output: ListRuleExecutionsCommandOutput; }; }; }