Menu
AWS CodePipeline
API Reference (API Version 2015-07-09)

ListPipelineExecutions

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

Request Syntax

{
   "maxResults": number,
   "nextToken": "string",
   "pipelineName": "string"
}

Request Parameters

For information about the parameters that are common to all actions, see Common Parameters.

The request accepts the following data in JSON format.

maxResults

The maximum number of results to return in a single call. To retrieve the remaining results, make another call with the returned nextToken value. The available pipeline execution history is limited to the most recent 12 months, based on pipeline execution start times. Default value is 100.

Type: Integer

Valid Range: Minimum value of 1. Maximum value of 100.

Required: No

nextToken

The token that was returned from the previous ListPipelineExecutions call, which can be used to return the next set of pipeline executions in the list.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 2048.

Required: No

pipelineName

The name of the pipeline for which you want to get execution summary information.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 100.

Pattern: [A-Za-z0-9.@\-_]+

Required: Yes

Response Syntax

{
   "nextToken": "string",
   "pipelineExecutionSummaries": [ 
      { 
         "lastUpdateTime": number,
         "pipelineExecutionId": "string",
         "sourceRevisions": [ 
            { 
               "actionName": "string",
               "revisionId": "string",
               "revisionSummary": "string",
               "revisionUrl": "string"
            }
         ],
         "startTime": number,
         "status": "string"
      }
   ]
}

Response Elements

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in JSON format by the service.

nextToken

A token that can be used in the next ListPipelineExecutions call. To view all items in the list, continue to call this operation with each subsequent token until no more nextToken values are returned.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 2048.

pipelineExecutionSummaries

A list of executions in the history of a pipeline.

Type: Array of PipelineExecutionSummary objects

Errors

For information about the errors that are common to all actions, see Common Errors.

InvalidNextTokenException

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

HTTP Status Code: 400

PipelineNotFoundException

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

HTTP Status Code: 400

ValidationException

The validation was specified in an invalid format.

HTTP Status Code: 400

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: