start_pipeline_execution
async
¶
start_pipeline_execution(
name: PipelineName,
*,
config_overrides: Optional[AsyncCodePipelineClientConfig] = 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/async_code_pipeline.py
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 2690 2691 2692 2693 2694 2695 2696 2697 2698 2699 2700 2701 2702 2703 2704 2705 2706 2707 2708 2709 2710 2711 2712 2713 2714 2715 2716 2717 2718 2719 2720 2721 2722 2723 2724 2725 2726 2727 2728 | |