Jump to Content

New API Documentation - Developer Preview Available

We are excited to announce the developer preview of our new API documentation for AWS SDK for JavaScript v3. Please follow instructions on the landing page to leave us your feedback.

Class ListActionExecutionsCommandProtected

Lists the action executions that have occurred in a pipeline.

Example

Use a bare-bones client and the command you need to make an API call.

import { CodePipelineClient, ListActionExecutionsCommand } from "@aws-sdk/client-codepipeline"; // ES Modules import
// const { CodePipelineClient, ListActionExecutionsCommand } = require("@aws-sdk/client-codepipeline"); // CommonJS import
const client = new CodePipelineClient(config);
const input = { // ListActionExecutionsInput
pipelineName: "STRING_VALUE", // required
filter: { // ActionExecutionFilter
pipelineExecutionId: "STRING_VALUE",
},
maxResults: Number("int"),
nextToken: "STRING_VALUE",
};
const command = new ListActionExecutionsCommand(input);
const response = await client.send(command);
// { // ListActionExecutionsOutput
// actionExecutionDetails: [ // ActionExecutionDetailList
// { // ActionExecutionDetail
// pipelineExecutionId: "STRING_VALUE",
// actionExecutionId: "STRING_VALUE",
// pipelineVersion: Number("int"),
// stageName: "STRING_VALUE",
// actionName: "STRING_VALUE",
// startTime: new Date("TIMESTAMP"),
// lastUpdateTime: new Date("TIMESTAMP"),
// status: "InProgress" || "Abandoned" || "Succeeded" || "Failed",
// input: { // ActionExecutionInput
// actionTypeId: { // ActionTypeId
// category: "Source" || "Build" || "Deploy" || "Test" || "Invoke" || "Approval", // required
// owner: "AWS" || "ThirdParty" || "Custom", // required
// provider: "STRING_VALUE", // required
// version: "STRING_VALUE", // required
// },
// configuration: { // ActionConfigurationMap
// "<keys>": "STRING_VALUE",
// },
// resolvedConfiguration: { // ResolvedActionConfigurationMap
// "<keys>": "STRING_VALUE",
// },
// roleArn: "STRING_VALUE",
// region: "STRING_VALUE",
// inputArtifacts: [ // ArtifactDetailList
// { // ArtifactDetail
// name: "STRING_VALUE",
// s3location: { // S3Location
// bucket: "STRING_VALUE",
// key: "STRING_VALUE",
// },
// },
// ],
// namespace: "STRING_VALUE",
// },
// output: { // ActionExecutionOutput
// outputArtifacts: [
// {
// name: "STRING_VALUE",
// s3location: {
// bucket: "STRING_VALUE",
// key: "STRING_VALUE",
// },
// },
// ],
// executionResult: { // ActionExecutionResult
// externalExecutionId: "STRING_VALUE",
// externalExecutionSummary: "STRING_VALUE",
// externalExecutionUrl: "STRING_VALUE",
// },
// outputVariables: { // OutputVariablesMap
// "<keys>": "STRING_VALUE",
// },
// },
// },
// ],
// nextToken: "STRING_VALUE",
// };

Param

ListActionExecutionsCommandInput

Returns

ListActionExecutionsCommandOutput

See

Throws

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

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

PipelineNotFoundException (client fault)

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

Throws

ValidationException (client fault)

The validation was specified in an invalid format.

Throws

CodePipelineServiceException

Base exception class for all service exceptions from CodePipeline service.

Hierarchy

Constructors

Properties

Methods