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.
This is the response object from the DisableStageTransition operation.
Namespace: Amazon.CodePipeline.Model
Assembly: AWSSDK.CodePipeline.dll
Version: 3.x.y.z
public class DisableStageTransitionResponse : AmazonWebServiceResponse
The DisableStageTransitionResponse type exposes the following members
Name | Description | |
---|---|---|
DisableStageTransitionResponse() |
Name | Type | Description | |
---|---|---|---|
ContentLength | System.Int64 | Inherited from Amazon.Runtime.AmazonWebServiceResponse. | |
HttpStatusCode | System.Net.HttpStatusCode | Inherited from Amazon.Runtime.AmazonWebServiceResponse. | |
ResponseMetadata | Amazon.Runtime.ResponseMetadata | Inherited from Amazon.Runtime.AmazonWebServiceResponse. |
This example disables transitions into the Beta stage of the MyFirstPipeline pipeline in AWS CodePipeline.
var client = new AmazonCodePipelineClient(); var response = client.DisableStageTransition(new DisableStageTransitionRequest { PipelineName = "MyFirstPipeline", Reason = "An example reason", StageName = "Beta", TransitionType = "Inbound" // Valid values are Inbound, which prevents artifacts from transitioning into the stage and being processed by the actions in that stage, or Outbound, which prevents artifacts from transitioning out of the stage after they have been processed by the actions in that stage. });
.NET Core App:
Supported in: 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.5, 4.0, 3.5