AWS CodePipeline

2021/03/01 - AWS CodePipeline - 1 updated api methods

Changes  Update codepipeline client to latest version

ListPipelines (updated) Link ΒΆ
Changes (request)
{'maxResults': 'integer'}

Gets a summary of all of the pipelines associated with your account.

See also: AWS API Documentation

Request Syntax

client.list_pipelines(
    nextToken='string',
    maxResults=123
)
type nextToken:

string

param nextToken:

An identifier that was returned from the previous list pipelines call. It can be used to return the next set of pipelines in the list.

type maxResults:

integer

param maxResults:

The maximum number of pipelines to return in a single call. To retrieve the remaining pipelines, make another call with the returned nextToken value. The minimum value you can specify is 1. The maximum accepted value is 1000.

rtype:

dict

returns:

Response Syntax

{
    'pipelines': [
        {
            'name': 'string',
            'version': 123,
            'created': datetime(2015, 1, 1),
            'updated': datetime(2015, 1, 1)
        },
    ],
    'nextToken': 'string'
}

Response Structure

  • (dict) --

    Represents the output of a ListPipelines action.

    • pipelines (list) --

      The list of pipelines.

      • (dict) --

        Returns a summary of a pipeline.

        • name (string) --

          The name of the pipeline.

        • version (integer) --

          The version number of the pipeline.

        • created (datetime) --

          The date and time the pipeline was created, in timestamp format.

        • updated (datetime) --

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

    • nextToken (string) --

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