DeadlineCloud / Waiter / JobComplete
JobComplete¶
- class DeadlineCloud.Waiter.JobComplete¶
waiter = client.get_waiter('job_complete')
- wait(**kwargs)¶
Polls
DeadlineCloud.Client.get_job()every 15 seconds until a successful state is reached. An error is raised after 240 failed checks.See also: AWS API Documentation
Request Syntax
waiter.wait( farmId='string', queueId='string', jobId='string', WaiterConfig={ 'Delay': 123, 'MaxAttempts': 123 } )
- Parameters:
farmId (string) –
[REQUIRED]
The farm ID of the farm in the job.
queueId (string) –
[REQUIRED]
The queue ID associated with the job.
jobId (string) –
[REQUIRED]
The job ID.
WaiterConfig (dict) –
A dictionary that provides parameters to control waiting behavior.
Delay (integer) –
The amount of time in seconds to wait between attempts. Default: 15
MaxAttempts (integer) –
The maximum number of attempts to be made. Default: 240
- Returns:
None