code: public static void waitUntilExists(final AmazonDynamoDB dynamo, final String tableName, final int timeout,
  			final int interval) throws InterruptedException {
  		TableDescription table = waitForTableDescription(dynamo, tableName, null, timeout, interval);
  
  		if (table == null) {
  			throw new SdkClientException("Table " + tableName + " never returned a result");
  		}
  	}
docs: Waits up to a specified amount of time for a specified DynamoDB table to
  resolve, indicating that it exists. If the table doesn't return a result
  after this time, a SdkClientException is thrown.
  
  @param dynamo
  The DynamoDB client to use to make requests.
  @param tableName
  The name of the table being resolved.
  @param timeout
  The maximum number of milliseconds to wait.
  @param interval
  The poll interval in milliseconds.
  
  @throws SdkClientException
  If the specified table does not resolve before this method
  times out and stops polling.
  @throws InterruptedException
  If the thread is interrupted while waiting for the table to
  resolve.