AWSSDKDocSamples.Amazon.CodePipeline.Generated.CodePipelineSamples.CodePipelineDisableStageTransition C# (CSharp) Метод

CodePipelineDisableStageTransition() публичный Метод

public CodePipelineDisableStageTransition ( ) : void
Результат void
        public void CodePipelineDisableStageTransition()
        {
            #region disable-transitions-into-or-out-of-a-stage-1449164517291

            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.
            });


            #endregion
        }