:doc:`CodePipeline <../../codepipeline>` / Client / override_stage_condition

************************
override_stage_condition
************************



.. py:method:: CodePipeline.Client.override_stage_condition(**kwargs)

  

  Used to override a stage condition. For more information about conditions, see `Stage conditions <https://docs.aws.amazon.com/codepipeline/latest/userguide/stage-conditions.html>`__ and `How do stage conditions work? <https://docs.aws.amazon.com/codepipeline/latest/userguide/concepts-how-it-works-conditions.html>`__.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/OverrideStageCondition>`_  


  **Request Syntax**
  ::

    response = client.override_stage_condition(
        pipelineName='string',
        stageName='string',
        pipelineExecutionId='string',
        conditionType='BEFORE_ENTRY'|'ON_SUCCESS'
    )
    
  :type pipelineName: string
  :param pipelineName: **[REQUIRED]** 

    The name of the pipeline with the stage that will override the condition.

    

  
  :type stageName: string
  :param stageName: **[REQUIRED]** 

    The name of the stage for the override.

    

  
  :type pipelineExecutionId: string
  :param pipelineExecutionId: **[REQUIRED]** 

    The ID of the pipeline execution for the override.

    

  
  :type conditionType: string
  :param conditionType: **[REQUIRED]** 

    The type of condition to override for the stage, such as entry conditions, failure conditions, or success conditions.

    

  
  
  :returns: None
  **Exceptions**
  
  *   :py:class:`CodePipeline.Client.exceptions.ValidationException`

  
  *   :py:class:`CodePipeline.Client.exceptions.ConflictException`

  
  *   :py:class:`CodePipeline.Client.exceptions.PipelineNotFoundException`

  
  *   :py:class:`CodePipeline.Client.exceptions.StageNotFoundException`

  
  *   :py:class:`CodePipeline.Client.exceptions.ConditionNotOverridableException`

  
  *   :py:class:`CodePipeline.Client.exceptions.NotLatestPipelineExecutionException`

  
  *   :py:class:`CodePipeline.Client.exceptions.ConcurrentPipelineExecutionsLimitExceededException`

  