put_third_party_job_success_result
¶
put_third_party_job_success_result(
job_id: ThirdPartyJobId,
client_token: ClientToken,
*,
config_overrides: Optional[CodePipelineClientConfig] = None,
current_revision: Optional[CurrentRevision] = None,
continuation_token: Optional[ContinuationToken] = None,
execution_details: Optional[ExecutionDetails] = None,
) -> None
Represents the success of a third party job as returned to the pipeline by a job worker. Used for partner actions only.
Parameters:
-
job_id(ThirdPartyJobId) –The ID of the job that successfully completed. This is the same ID returned from
PollForThirdPartyJobs. -
client_token(ClientToken) –The clientToken portion of the clientId and clientToken pair used to verify that the calling entity is allowed access to the job and its details.
-
current_revision(Optional[CurrentRevision], default:None) –Represents information about a current revision.
-
continuation_token(Optional[ContinuationToken], default:None) –A token generated by a job worker, such as a CodeDeploy deployment ID, that a successful job provides to identify a partner action in progress. Future jobs use this token to identify the running instance of the action. It can be reused to return more information about the progress of the partner action. When the action is complete, no continuation token should be supplied.
-
execution_details(Optional[ExecutionDetails], default:None) –The details of the actions taken and results produced on an artifact as it passes through stages in the pipeline.
Raises:
-
InvalidClientTokenException–The client token was specified in an invalid format
-
InvalidJobStateException–The job state was specified in an invalid format.
-
JobNotFoundException–The job 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
2334 2335 2336 2337 2338 2339 2340 2341 2342 2343 2344 2345 2346 2347 2348 2349 2350 2351 2352 2353 2354 2355 2356 2357 2358 2359 2360 2361 2362 2363 2364 2365 2366 2367 2368 2369 2370 2371 2372 2373 2374 2375 2376 2377 2378 2379 2380 2381 2382 2383 2384 2385 2386 2387 2388 2389 2390 2391 2392 2393 2394 2395 2396 2397 2398 2399 | |