CodePipeline / Client / override_stage_condition

override_stage_condition#

CodePipeline.Client.override_stage_condition(**kwargs)#

Used to override a stage condition.

See also: AWS API Documentation

Request Syntax

response = client.override_stage_condition(
    pipelineName='string',
    stageName='string',
    pipelineExecutionId='string',
    conditionType='BEFORE_ENTRY'|'ON_SUCCESS'
)
Parameters:
  • pipelineName (string) –

    [REQUIRED]

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

  • stageName (string) –

    [REQUIRED]

    The name of the stage for the override.

  • pipelineExecutionId (string) –

    [REQUIRED]

    The ID of the pipeline execution for the override.

  • conditionType (string) –

    [REQUIRED]

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

Returns:

None

Exceptions

  • CodePipeline.Client.exceptions.ValidationException

  • CodePipeline.Client.exceptions.ConflictException

  • CodePipeline.Client.exceptions.PipelineNotFoundException

  • CodePipeline.Client.exceptions.StageNotFoundException

  • CodePipeline.Client.exceptions.ConditionNotOverridableException

  • CodePipeline.Client.exceptions.NotLatestPipelineExecutionException

  • CodePipeline.Client.exceptions.ConcurrentPipelineExecutionsLimitExceededException