start_pipeline_execution
¶
start_pipeline_execution(
name: PipelineName,
*,
config_overrides: Optional[CodePipelineClientConfig] = None,
variables: Optional[PipelineVariableList] = None,
client_request_token: Optional[ClientRequestToken] = None,
source_revisions: Optional[SourceRevisionOverrideList] = None,
) -> StartPipelineExecutionOutput
Starts the specified pipeline. Specifically, it begins processing the latest commit to the source location specified as part of the pipeline.
Parameters:
-
name(PipelineName) –The name of the pipeline to start.
-
variables(Optional[PipelineVariableList], default:None) –A list that overrides pipeline variables for a pipeline execution that's being started. Variable names must match
[A-Za-z0-9@\-_]+, and the values can be anything except an empty string. -
client_request_token(Optional[ClientRequestToken], default:None) –The system-generated unique ID used to identify a unique execution request.
-
source_revisions(Optional[SourceRevisionOverrideList], default:None) –A list that allows you to specify, or override, the source revision for a pipeline execution that's being started. A source revision is the version with all the changes to your application code, or source artifact, for the pipeline execution.
Raises:
-
ConcurrentPipelineExecutionsLimitExceededException–The pipeline has reached the limit for concurrent pipeline executions.
-
ConflictException–Your request cannot be handled because the pipeline is busy handling ongoing activities. Try again later.
-
PipelineNotFoundException–The pipeline 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.
Source code in docs_src/capo_codepipeline/_services/code_pipeline.py
2624 2625 2626 2627 2628 2629 2630 2631 2632 2633 2634 2635 2636 2637 2638 2639 2640 2641 2642 2643 2644 2645 2646 2647 2648 2649 2650 2651 2652 2653 2654 2655 2656 2657 2658 2659 2660 2661 2662 2663 2664 2665 2666 2667 2668 2669 2670 2671 2672 2673 2674 2675 2676 2677 2678 2679 2680 2681 2682 2683 2684 2685 2686 2687 2688 2689 | |