put_job_success_result
async
¶
put_job_success_result(
job_id: JobId,
*,
config_overrides: Optional[AsyncCodePipelineClientConfig] = None,
current_revision: Optional[CurrentRevision] = None,
continuation_token: Optional[ContinuationToken] = None,
execution_details: Optional[ExecutionDetails] = None,
output_variables: Optional[OutputVariablesMap] = None,
) -> None
Represents the success of a job as returned to the pipeline by a job worker. Used for custom actions only.
Parameters:
-
job_id(JobId) –The unique system-generated ID of the job that succeeded. This is the same ID returned from
PollForJobs. -
current_revision(Optional[CurrentRevision], default:None) –The ID of the current revision of the artifact successfully worked on by the job.
-
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 custom 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 custom action. When the action is complete, no continuation token should be supplied.
-
execution_details(Optional[ExecutionDetails], default:None) –The execution details of the successful job, such as the actions taken by the job worker.
-
output_variables(Optional[OutputVariablesMap], default:None) –Key-value pairs produced as output by a job worker that can be made available to a downstream action configuration.
outputVariablescan be included only when there is no continuation token on the request.
Raises:
-
InvalidJobStateException–The job state was specified in an invalid format.
-
JobNotFoundException–The job was specified in an invalid format or cannot be found.
-
OutputVariablesSizeExceededException–Exceeded the total size limit for all variables in the pipeline.
-
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
2633 2634 2635 2636 2637 2638 2639 2640 2641 2642 2643 2644 2645 2646 2647 2648 2649 2650 2651 2652 2653 2654 2655 2656 2657 2658 2659 2660 2661 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 | |