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
2781 2782 2783 2784 2785 2786 2787 2788 2789 2790 2791 2792 2793 2794 2795 2796 2797 2798 2799 2800 2801 2802 2803 2804 2805 2806 2807 2808 2809 2810 2811 2812 2813 2814 2815 2816 2817 2818 2819 2820 2821 2822 2823 2824 2825 2826 2827 2828 2829 2830 2831 2832 2833 2834 2835 2836 2837 2838 2839 2840 2841 2842 2843 2844 2845 2846 2847 2848 2849 2850 2851 2852 2853 2854 2855 2856 2857 2858 2859 | |