waitUntilJobSucceeded

Wait until a job has succeeded. Fails if the job reaches a non-successful terminal status. Waits up to 1 hour by default.