AWS CodePipeline

2017/06/22 - AWS CodePipeline - 1 new api methods

Changes  A new API, ListPipelineExecutions, enables you to retrieve summary information about the most recent executions in a pipeline, including pipeline execution ID, status, start time, and last updated time. You can request information for a maximum of 100 executions. Pipeline execution data is available for the most recent 12 months of activity.

ListPipelineExecutions (new) Link ΒΆ

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

See also: AWS API Documentation

Request Syntax

type pipelineName


param pipelineName


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

type maxResults


param 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 nextToken


param nextToken

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




Response Syntax

    'pipelineExecutionSummaries': [
            'pipelineExecutionId': 'string',
            'status': 'InProgress'|'Succeeded'|'Superseded'|'Failed',
            'startTime': datetime(2015, 1, 1),
            'lastUpdateTime': datetime(2015, 1, 1)
    'nextToken': 'string'

Response Structure

  • (dict) --

    Represents the output of a list pipeline executions action.

    • pipelineExecutionSummaries (list) --

      A list of executions in the history of a pipeline.

      • (dict) --

        Summary information about a pipeline execution.

        • pipelineExecutionId (string) --

          The ID of the pipeline execution.

        • status (string) --

          The status of the pipeline execution.

          • InProgress: The pipeline execution is currently running.

          • Succeeded: The pipeline execution completed successfully.

          • Superseded: While this pipeline execution was waiting for the next stage to be completed, a newer pipeline execution caught up and continued through the pipeline instead.

          • Failed: The pipeline execution did not complete successfully.

        • startTime (datetime) --

          The date and time when the pipeline execution began, in timestamp format.

        • lastUpdateTime (datetime) --

          The date and time of the last change to the pipeline execution, in timestamp format.

    • nextToken (string) --

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