retry_build_batch
async
¶
retry_build_batch(
*,
config_overrides: Optional[AsyncCodeBuildClientConfig] = None,
id: Optional[NonEmptyString] = None,
idempotency_token: Optional[String] = None,
retry_type: Optional[RetryBuildBatchType] = None,
) -> RetryBuildBatchOutput
Restarts a failed batch build. Only batch builds that have failed can be retried.
Parameters:
-
id(Optional[NonEmptyString], default:None) –Specifies the identifier of the batch build to restart.
-
idempotency_token(Optional[String], default:None) –A unique, case sensitive identifier you provide to ensure the idempotency of the
RetryBuildBatchrequest. The token is included in theRetryBuildBatchrequest and is valid for five minutes. If you repeat theRetryBuildBatchrequest with the same token, but change a parameter, CodeBuild returns a parameter mismatch error. -
retry_type(Optional[RetryBuildBatchType], default:None) –Specifies the type of retry to perform.
Raises:
-
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/async_code_build.py
3999 4000 4001 4002 4003 4004 4005 4006 4007 4008 4009 4010 4011 4012 4013 4014 4015 4016 4017 4018 4019 4020 4021 4022 4023 4024 4025 4026 4027 4028 4029 4030 4031 4032 4033 4034 4035 4036 4037 4038 4039 4040 4041 4042 4043 4044 4045 4046 4047 4048 4049 4050 4051 4052 4053 4054 4055 4056 4057 4058 4059 4060 4061 4062 4063 4064 4065 4066 | |