LocationService / Waiter / JobCompleted
JobCompleted¶
- class LocationService.Waiter.JobCompleted¶
waiter = client.get_waiter('job_completed')
- wait(**kwargs)¶
Polls
LocationService.Client.get_job()every 60 seconds until a successful state is reached. An error is raised after 5 failed checks.See also: AWS API Documentation
Request Syntax
waiter.wait( JobId='string', WaiterConfig={ 'Delay': 123, 'MaxAttempts': 123 } )
- Parameters:
JobId (string) –
[REQUIRED]
The unique identifier of the job to retrieve.
WaiterConfig (dict) –
A dictionary that provides parameters to control waiting behavior.
Delay (integer) –
The amount of time in seconds to wait between attempts. Default: 60
MaxAttempts (integer) –
The maximum number of attempts to be made. Default: 5
- Returns:
None