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
3060 3061 3062 3063 3064 3065 3066 3067 3068 3069 3070 3071 3072 3073 3074 3075 3076 3077 3078 3079 3080 3081 3082 3083 3084 3085 3086 3087 3088 3089 3090 3091 3092 3093 3094 3095 3096 3097 3098 3099 3100 3101 3102 3103 3104 3105 3106 3107 3108 3109 3110 3111 3112 3113 3114 3115 3116 3117 3118 3119 3120 3121 3122 3123 3124 3125 3126 3127 3128 3129 3130 3131 3132 3133 3134 3135 3136 | |