AWS CodePipeline

2025/05/16 - AWS CodePipeline - 1 new api methods

Changes  CodePipeline now supports new API ListDeployActionExecutionTargets that lists the deployment target details for deploy action executions.

ListDeployActionExecutionTargets (new) Link ΒΆ

Lists the targets for the deploy action.

See also: AWS API Documentation

Request Syntax

client.list_deploy_action_execution_targets(
    pipelineName='string',
    actionExecutionId='string',
    filters=[
        {
            'name': 'TARGET_STATUS',
            'values': [
                'string',
            ]
        },
    ],
    maxResults=123,
    nextToken='string'
)
type pipelineName:

string

param pipelineName:

The name of the pipeline with the deploy action.

type actionExecutionId:

string

param actionExecutionId:

[REQUIRED]

The execution ID for the deploy action.

type filters:

list

param filters:

Filters the targets for a specified deploy action.

  • (dict) --

    Filters the list of targets.

    • name (string) --

      The name on which to filter.

    • values (list) --

      The values on which to filter.

      • (string) --

type maxResults:

integer

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.

type nextToken:

string

param nextToken:

An identifier that was returned from the previous list action types call, which can be used to return the next set of action types in the list.

rtype:

dict

returns:

Response Syntax

{
    'targets': [
        {
            'targetId': 'string',
            'targetType': 'string',
            'status': 'string',
            'startTime': datetime(2015, 1, 1),
            'endTime': datetime(2015, 1, 1),
            'events': [
                {
                    'name': 'string',
                    'status': 'string',
                    'startTime': datetime(2015, 1, 1),
                    'endTime': datetime(2015, 1, 1),
                    'context': {
                        'ssmCommandId': 'string',
                        'message': 'string'
                    }
                },
            ]
        },
    ],
    'nextToken': 'string'
}

Response Structure

  • (dict) --

    • targets (list) --

      The targets for the deploy action.

      • (dict) --

        The target for the deploy action.

        • targetId (string) --

          The ID of the target for the deploy action.

        • targetType (string) --

          The type of target for the deploy action.

        • status (string) --

          The status of the deploy action.

        • startTime (datetime) --

          The start time for the deploy action.

        • endTime (datetime) --

          The end time for the deploy action.

        • events (list) --

          The lifecycle events for the deploy action.

          • (dict) --

            A lifecycle event for the deploy action.

            • name (string) --

              The name of the event for the deploy action.

            • status (string) --

              The status of the event for the deploy action.

            • startTime (datetime) --

              The start time for the event for the deploy action.

            • endTime (datetime) --

              The end time for the event for the deploy action.

            • context (dict) --

              The context for the event for the deploy action.

              • ssmCommandId (string) --

                The command ID for the event for the deploy action.

              • message (string) --

                The context message for the event for the deploy action.

    • nextToken (string) --

      An identifier that was returned from the previous list action types call, which can be used to return the next set of action types in the list.