retry_build
¶
retry_build(
*,
config_overrides: Optional[CodeBuildClientConfig] = None,
id: Optional[NonEmptyString] = None,
idempotency_token: Optional[String] = None,
) -> RetryBuildOutput
Restarts a build.
Parameters:
-
id(Optional[NonEmptyString], default:None) –Specifies the identifier of the build to restart.
-
idempotency_token(Optional[String], default:None) –A unique, case sensitive identifier you provide to ensure the idempotency of the
RetryBuildrequest. The token is included in theRetryBuildrequest and is valid for five minutes. If you repeat theRetryBuildrequest with the same token, but change a parameter, CodeBuild returns a parameter mismatch error.
Raises:
-
AccountLimitExceededException–An Amazon Web Services service limit was exceeded for the calling Amazon Web Services account.
-
InvalidInputException–The input value that was provided is not valid.
-
ResourceNotFoundException–The specified Amazon Web Services resource cannot be found.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_codebuild/_services/code_build.py
3847 3848 3849 3850 3851 3852 3853 3854 3855 3856 3857 3858 3859 3860 3861 3862 3863 3864 3865 3866 3867 3868 3869 3870 3871 3872 3873 3874 3875 3876 3877 3878 3879 3880 3881 3882 3883 3884 3885 3886 3887 3888 3889 3890 3891 3892 3893 3894 3895 3896 3897 3898 3899 3900 3901 3902 3903 3904 3905 3906 3907 | |