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 3.5
 
Updates a specified pipeline with edits or changes to its structure. Use a JSON file with the pipeline structure in conjunction with UpdatePipeline to provide the full structure of the pipeline. Updating the pipeline increases the version number of the pipeline by 1.

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

Syntax

C#
public abstract UpdatePipelineResponse UpdatePipeline(
         PipelineDeclaration pipeline
)

Parameters

pipeline
Type: Amazon.CodePipeline.Model.PipelineDeclaration

The name of the pipeline to be updated.

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

Exceptions

ExceptionCondition
InvalidActionDeclarationException The specified action declaration was specified in an invalid format.
InvalidBlockerDeclarationException The specified gate declaration was specified in an invalid format.
InvalidStageDeclarationException The specified stage declaration was specified in an invalid format.
InvalidStructureException The specified structure was specified in an invalid format.
ValidationException The validation was specified in an invalid format.

Version Information

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