SageMaker / Waiter / TrainingJobCompletedOrStopped
TrainingJobCompletedOrStopped#
- class 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 } ) - Parameters:
- TrainingJobName (string) – - [REQUIRED] - The name of the training job. 
- WaiterConfig (dict) – - A dictionary that provides parameters to control waiting behavior. - Delay (integer) – - The amount of time in seconds to wait between attempts. Default: 120 
- MaxAttempts (integer) – - The maximum number of attempts to be made. Default: 180 
 
 
- Returns:
- None