wait_for_table_deletion

wait_for_table_deletion(connection, table)

Make DescribeTable actions until a ResourceNotFoundException is raised. Useful after DeleteTable action.

>>> connection(DeleteTable(table)).table_description.table_status
u'DELETING'
>>> wait_for_table_deletion(connection, table)
>>> connection(DescribeTable(table))
Traceback (most recent call last):
  ...
LowVoltage.exceptions.ResourceNotFoundException: ...