override_stage_condition
async
¶
override_stage_condition(
pipeline_name: PipelineName,
stage_name: StageName,
pipeline_execution_id: PipelineExecutionId,
condition_type: ConditionType,
*,
config_overrides: Optional[AsyncCodePipelineClientConfig] = None,
) -> None
Used to override a stage condition. For more information about conditions, see Stage conditions and How do stage conditions work?.
Parameters:
-
pipeline_name(PipelineName) –The name of the pipeline with the stage that will override the condition.
-
stage_name(StageName) –The name of the stage for the override.
-
pipeline_execution_id(PipelineExecutionId) –The ID of the pipeline execution for the override.
-
condition_type(ConditionType) –The type of condition to override for the stage, such as entry conditions, failure conditions, or success conditions.
Raises:
-
ConcurrentPipelineExecutionsLimitExceededException–The pipeline has reached the limit for concurrent pipeline executions.
-
ConditionNotOverridableException–Unable to override because the condition does not allow overrides.
-
ConflictException–Your request cannot be handled because the pipeline is busy handling ongoing activities. Try again later.
-
NotLatestPipelineExecutionException–The stage has failed in a later run of the pipeline and the
pipelineExecutionIdassociated with the request is out of date. -
PipelineNotFoundException–The pipeline was specified in an invalid format or cannot be found.
-
StageNotFoundException–The stage was specified in an invalid format or cannot be found.
-
ValidationException–The validation was specified in an invalid format.
-
UnknownServiceError–The service returned an error code this client does not model.