list_pipelines

CodePipeline.Client.list_pipelines(**kwargs)

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

See also: AWS API Documentation

Request Syntax

response = client.list_pipelines(
    nextToken='string',
    maxResults=123
)
Parameters
  • nextToken (string) -- 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.
  • maxResults (integer) -- 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.
Return type

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.

Exceptions

  • CodePipeline.Client.exceptions.ValidationException
  • CodePipeline.Client.exceptions.InvalidNextTokenException