I'm trying to kick off an AWS Glue ETL job in my Python script and check the status of it until the job finishes.
Initially I just did a simple while loop, which waits for 1 minute and checks the job status. Once the job finishes successfully, break the loop. While researching more about this approach, I found out about this thing called 'waiter'.
But the thing is that even though the 'get_waiter' method is available for the Glue client, I do see any waiters.
So when I run this...
s3 = boto3.client('s3')
glue = boto3.client('glue')
print('s3 waiters')
print(s3.waiter_names)
print('glue waiters')
print(glue.waiter_names)
I get this...
s3 waiters
[u'bucket_exists', u'bucket_not_exists', u'object_exists', u'object_not_exists']
glue waiters
[]
So I'm wondering if there are actually waiters for AWS Glue. If so, were can I find them?
Some references I found: https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/glue.html#Glue.Client.get_waiter
https://boto3.amazonaws.com/v1/documentation/api/latest/guide/clients.html#waiters