put_third_party_job_failure_result
async
¶
put_third_party_job_failure_result(
job_id: ThirdPartyJobId,
client_token: ClientToken,
failure_details: FailureDetails,
*,
config_overrides: Optional[AsyncCodePipelineClientConfig] = 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/async_code_pipeline.py
2716 2717 2718 2719 2720 2721 2722 2723 2724 2725 2726 2727 2728 2729 2730 2731 2732 2733 2734 2735 2736 2737 2738 2739 2740 2741 2742 2743 2744 2745 2746 2747 2748 2749 2750 2751 2752 2753 2754 2755 2756 2757 2758 2759 2760 2761 2762 2763 2764 2765 2766 2767 2768 2769 2770 2771 2772 2773 2774 2775 2776 2777 2778 2779 | |