wait_for_table_deletion¶
-
wait_for_table_deletion
(connection, table)¶ Make
DescribeTable
actions until aResourceNotFoundException
is raised. Useful afterDeleteTable
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: ...