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.