codepipeline_disable_stage_transition function

Prevents artifacts in a pipeline from transitioning to the next stage in the pipeline