Skip to content

List Pipeline Executions

codepipeline_list_pipeline_executions R Documentation

Gets a summary of the most recent executions for a pipeline

Description

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.

Usage

codepipeline_list_pipeline_executions(pipelineName, maxResults, filter,
  nextToken)

Arguments

pipelineName

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

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. Pipeline history is limited to the most recent 12 months, based on pipeline execution start times. Default value is 100.

filter

The pipeline execution to filter on.

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.

Value

A list with the following syntax:

list(
  pipelineExecutionSummaries = list(
    list(
      pipelineExecutionId = "string",
      status = "Cancelled"|"InProgress"|"Stopped"|"Stopping"|"Succeeded"|"Superseded"|"Failed",
      statusSummary = "string",
      startTime = as.POSIXct(
        "2015-01-01"
      ),
      lastUpdateTime = as.POSIXct(
        "2015-01-01"
      ),
      sourceRevisions = list(
        list(
          actionName = "string",
          revisionId = "string",
          revisionSummary = "string",
          revisionUrl = "string"
        )
      ),
      trigger = list(
        triggerType = "CreatePipeline"|"StartPipelineExecution"|"PollForSourceChanges"|"Webhook"|"CloudWatchEvent"|"PutActionRevision"|"WebhookV2"|"ManualRollback"|"AutomatedRollback",
        triggerDetail = "string"
      ),
      stopTrigger = list(
        reason = "string"
      ),
      executionMode = "QUEUED"|"SUPERSEDED"|"PARALLEL",
      executionType = "STANDARD"|"ROLLBACK",
      rollbackMetadata = list(
        rollbackTargetPipelineExecutionId = "string"
      )
    )
  ),
  nextToken = "string"
)

Request syntax

svc$list_pipeline_executions(
  pipelineName = "string",
  maxResults = 123,
  filter = list(
    succeededInStage = list(
      stageName = "string"
    )
  ),
  nextToken = "string"
)