retry_build
async
¶
retry_build(
*,
config_overrides: Optional[AsyncCodeBuildClientConfig] = 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.