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
3136 3137 3138 3139 3140 3141 3142 3143 3144 3145 3146 3147 3148 3149 3150 3151 3152 3153 3154 3155 3156 3157 3158 3159 3160 3161 3162 3163 3164 3165 3166 3167 3168 3169 3170 3171 3172 3173 3174 3175 3176 3177 3178 3179 3180 3181 3182 3183 3184 3185 3186 3187 3188 3189 3190 3191 3192 3193 3194 3195 3196 3197 3198 3199 3200 3201 3202 3203 3204 3205 3206 3207 3208 3209 3210 3211 3212 3213 3214 | |