CodePipeline / Paginator / ListDeployActionExecutionTargets

ListDeployActionExecutionTargets

class CodePipeline.Paginator.ListDeployActionExecutionTargets
paginator = client.get_paginator('list_deploy_action_execution_targets')
paginate(**kwargs)

Creates an iterator that will paginate through responses from CodePipeline.Client.list_deploy_action_execution_targets().

See also: AWS API Documentation

Request Syntax

response_iterator = paginator.paginate(
    pipelineName='string',
    actionExecutionId='string',
    filters=[
        {
            'name': 'TARGET_STATUS',
            'values': [
                'string',
            ]
        },
    ],
    PaginationConfig={
        'MaxItems': 123,
        'PageSize': 123,
        'StartingToken': 'string'
    }
)
Parameters:
  • pipelineName (string) – The name of the pipeline with the deploy action.

  • actionExecutionId (string) –

    [REQUIRED]

    The execution ID for the deploy action.

  • filters (list) –

    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) –

  • PaginationConfig (dict) –

    A dictionary that provides parameters to control pagination.

    • MaxItems (integer) –

      The total number of items to return. If the total number of items available is more than the value specified in max-items then a NextToken will be provided in the output that you can use to resume pagination.

    • PageSize (integer) –

      The size of each page.

    • StartingToken (string) –

      A token to specify where to start paginating. This is the NextToken from a previous response.

Return type:

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) –

      A token to resume pagination.