SageMaker.Waiter.
TrainingJobCompletedOrStopped
¶waiter = client.get_waiter('training_job_completed_or_stopped')
wait
(**kwargs)¶Polls SageMaker.Client.describe_training_job()
every 120 seconds until a successful state is reached. An error is returned after 180 failed checks.
See also: AWS API Documentation
Request Syntax
waiter.wait(
TrainingJobName='string',
WaiterConfig={
'Delay': 123,
'MaxAttempts': 123
}
)
[REQUIRED]
The name of the training job.
A dictionary that provides parameters to control waiting behavior.
The amount of time in seconds to wait between attempts. Default: 120
The maximum number of attempts to be made. Default: 180
None