AWS SDK Version 2 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

.NET Framework 4.5
 
Returns the metadata, structure, stages, and actions of a pipeline. Can be used to return the entire structure of a pipeline in JSON format, which can then be modified and used to update the pipeline structure with UpdatePipeline.

Namespace: Amazon.CodePipeline
Assembly: AWSSDK.dll
Version: (assembly version)

Syntax

C#
public virtual GetPipelineResponse GetPipeline(
         String name,
         Int32 version
)

Parameters

name
Type: System.String

The name of the pipeline for which you want to get information. Pipeline names must be unique under an Amazon Web Services (AWS) user account.

version
Type: System.Int32

The version number of the pipeline. If you do not specify a version, defaults to the most current version.

Return Value
Type: Amazon.CodePipeline.Model.GetPipelineResponse
The response from the GetPipeline service method, as returned by CodePipeline.

Exceptions

ExceptionCondition
PipelineNotFoundException The specified pipeline was specified in an invalid format or cannot be found.
PipelineVersionNotFoundException The specified pipeline version was specified in an invalid format or cannot be found.
ValidationException The validation was specified in an invalid format.

Version Information

.NET Framework:
Supported in: 4.5, 4.0, 3.5