CodePipeline / Client / list_pipelines
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, 'pipelineType': 'V1'|'V2', '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.
pipelineType (string) –
CodePipeline provides the following pipeline types, which differ in characteristics and price, so that you can tailor your pipeline features and cost to the needs of your applications.
V1 type pipelines have a JSON structure that contains standard pipeline, stage, and action-level parameters.
V2 type pipelines have the same structure as a V1 type, along with additional parameters for release safety and trigger configuration.
Warning
Including V2 parameters, such as triggers on Git tags, in the pipeline JSON when creating or updating a pipeline will result in the pipeline having the V2 type of pipeline and the associated costs.
For information about pricing for CodePipeline, see Pricing.
For information about which type of pipeline to choose, see What type of pipeline is right for me?.
Note
V2 type pipelines, along with triggers on Git tags and pipeline-level variables, are not currently supported for CloudFormation and CDK resources in CodePipeline. For more information about V2 type pipelines, see Pipeline types in the CodePipeline User Guide.
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