put_third_party_job_success_result
async
¶
put_third_party_job_success_result(
job_id: ThirdPartyJobId,
client_token: ClientToken,
*,
config_overrides: Optional[AsyncCodePipelineClientConfig] = 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/async_code_pipeline.py
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 2400 2401 2402 2403 2404 2405 2406 2407 2408 2409 2410 2411 2412 2413 2414 2415 2416 2417 2418 2419 2420 2421 2422 2423 2424 2425 2426 2427 2428 2429 2430 2431 2432 2433 | |