AWS CodePipeline

List action executions

Cette page n'est pas encore disponible en français, sa traduction est en cours.
Si vous avez des questions ou des retours sur notre projet de traduction actuel, n'hésitez pas à nous contacter.

Lists the action executions that have occurred in a pipeline.

Inputs

Expand All

Champ

Type

Description

region [required]

enum

default: us-east-1

pipelineName [required]

string

The name of the pipeline for which you want to list action execution history.

filter

object

Input information used to filter action execution history.

pipelineExecutionId

string

The pipeline execution ID used to filter action execution history.

latestInPipelineExecution

object

The latest execution in the pipeline. Filtering on the latest execution is available for executions run on or after February 08, 2024.

pipelineExecutionId [required]

string

The execution ID for the latest execution in the pipeline.

startTimeRange [required]

string

The start time to filter on for the latest execution in the pipeline. Valid options: All Latest

maxResults

number

The maximum number of results to return in a single call. To retrieve the remaining results, make another call with the returned nextToken value. Action execution history is retained for up to 12 months, based on action execution start times. Default value is 100. Detailed execution history is available for executions run on or after February 21, 2019.

nextToken

string

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

Outputs

Expand All

Champ

Type

Description

amzRequestId [required]

string

actionExecutionDetails

[object]

The details for a list of recent executions, such as action execution ID.

pipelineExecutionId

string

The pipeline execution ID for the action execution.

actionExecutionId

string

The action execution ID.

pipelineVersion

number

The version of the pipeline where the action was run.

stageName

string

The name of the stage that contains the action.

actionName

string

The name of the action.

startTime

date-time

The start time of the action execution.

lastUpdateTime

date-time

The last update time of the action execution.

updatedBy

string

The ARN of the user who changed the pipeline execution details.

status

string

The status of the action execution. Status categories are InProgress, Succeeded, and Failed.

input

object

Input details for the action execution, such as role ARN, Region, and input artifacts.

actionTypeId

object

category [required]

string

A category defines what kind of action can be taken in the stage, and constrains the provider type for the action. Valid categories are limited to one of the following values. Source Build Test Deploy Invoke Approval

owner [required]

string

The creator of the action being called. There are three valid values for the Owner field in the action category section within your pipeline structure: AWS, ThirdParty, and Custom. For more information, see Valid Action Types and Providers in CodePipeline.

provider [required]

string

The provider of the service being called by the action. Valid providers are determined by the action category. For example, an action in the Deploy category type might have a provider of CodeDeploy, which would be specified as CodeDeploy. For more information, see Valid Action Types and Providers in CodePipeline.

version [required]

string

A string that describes the action version.

configuration

object

Configuration data for an action execution.

resolvedConfiguration

object

Configuration data for an action execution with all variable references replaced with their real values for the execution.

roleArn

string

The ARN of the IAM service role that performs the declared action. This is assumed through the roleArn for the pipeline.

region

string

The Amazon Web Services Region for the action, such as us-east-1.

inputArtifacts

[object]

Details of input artifacts of the action that correspond to the action execution.

name

string

The artifact object name for the action execution.

s3location

object

The Amazon S3 artifact location for the action execution.

bucket

string

The Amazon S3 artifact bucket for an action's artifacts.

key

string

The artifact name.

namespace

string

The variable namespace associated with the action. All variables produced as output by this action fall under this namespace.

output

object

Output details for the action execution, such as the action execution result.

outputArtifacts

[object]

Details of output artifacts of the action that correspond to the action execution.

name

string

The artifact object name for the action execution.

s3location

object

The Amazon S3 artifact location for the action execution.

bucket

string

The Amazon S3 artifact bucket for an action's artifacts.

key

string

The artifact name.

executionResult

object

Execution result information listed in the output details for an action execution.

externalExecutionId

string

The action provider's external ID for the action execution.

externalExecutionSummary

string

The action provider's summary for the action execution.

externalExecutionUrl

string

The deepest external link to the external resource (for example, a repository URL or deployment endpoint) that is used when running the action.

errorDetails

object

code

string

The system ID or number code of the error.

message

string

The text of the error message.

outputVariables

object

The outputVariables field shows the key-value pairs that were output as part of that execution.

nextToken

string

If the amount of returned information is significantly large, an identifier is also returned and can be used in a subsequent ListActionExecutions call to return the next set of action executions in the list.