put_third_party_job_failure_result
¶
put_third_party_job_failure_result(
job_id: ThirdPartyJobId,
client_token: ClientToken,
failure_details: FailureDetails,
*,
config_overrides: Optional[CodePipelineClientConfig] = None,
) -> None
Represents the failure 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 failed. 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.
-
failure_details(FailureDetails) –Represents information about failure details.
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
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 | |