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

Gets a summary of the most recent executions for a pipeline.

* *

When applying the filter for pipeline executions that have succeeded in the stage, * the operation returns all executions in the current pipeline version beginning on * February 1, 2024.

*
* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { CodePipelineClient, ListPipelineExecutionsCommand } from "@aws-sdk/client-codepipeline"; // ES Modules import * // const { CodePipelineClient, ListPipelineExecutionsCommand } = 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 = { // ListPipelineExecutionsInput * pipelineName: "STRING_VALUE", // required * maxResults: Number("int"), * filter: { // PipelineExecutionFilter * succeededInStage: { // SucceededInStageFilter * stageName: "STRING_VALUE", * }, * }, * nextToken: "STRING_VALUE", * }; * const command = new ListPipelineExecutionsCommand(input); * const response = await client.send(command); * // { // ListPipelineExecutionsOutput * // pipelineExecutionSummaries: [ // PipelineExecutionSummaryList * // { // PipelineExecutionSummary * // pipelineExecutionId: "STRING_VALUE", * // status: "Cancelled" || "InProgress" || "Stopped" || "Stopping" || "Succeeded" || "Superseded" || "Failed", * // statusSummary: "STRING_VALUE", * // startTime: new Date("TIMESTAMP"), * // lastUpdateTime: new Date("TIMESTAMP"), * // sourceRevisions: [ // SourceRevisionList * // { // SourceRevision * // actionName: "STRING_VALUE", // required * // revisionId: "STRING_VALUE", * // revisionSummary: "STRING_VALUE", * // revisionUrl: "STRING_VALUE", * // }, * // ], * // trigger: { // ExecutionTrigger * // triggerType: "CreatePipeline" || "StartPipelineExecution" || "PollForSourceChanges" || "Webhook" || "CloudWatchEvent" || "PutActionRevision" || "WebhookV2" || "ManualRollback" || "AutomatedRollback", * // triggerDetail: "STRING_VALUE", * // }, * // stopTrigger: { // StopExecutionTrigger * // reason: "STRING_VALUE", * // }, * // executionMode: "QUEUED" || "SUPERSEDED" || "PARALLEL", * // executionType: "STANDARD" || "ROLLBACK", * // rollbackMetadata: { // PipelineRollbackMetadata * // rollbackTargetPipelineExecutionId: "STRING_VALUE", * // }, * // }, * // ], * // nextToken: "STRING_VALUE", * // }; * * ``` * * @param ListPipelineExecutionsCommandInput - {@link ListPipelineExecutionsCommandInput} * @returns {@link ListPipelineExecutionsCommandOutput} * @see {@link ListPipelineExecutionsCommandInput} for command's `input` shape. * @see {@link ListPipelineExecutionsCommandOutput} 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 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 ListPipelineExecutionsCommand extends ListPipelineExecutionsCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: ListPipelineExecutionsInput; output: ListPipelineExecutionsOutput; }; sdk: { input: ListPipelineExecutionsCommandInput; output: ListPipelineExecutionsCommandOutput; }; }; }