parameters: (self, wait_for_active=False, retry_seconds=5)
docstring: Refresh all of the fields of the Table object by calling
          the underlying DescribeTable request.
  
          :type wait_for_active: bool
          :param wait_for_active: If True, this command will not return
              until the table status, as returned from Amazon DynamoDB, is
              'ACTIVE'.
  
          :type retry_seconds: int
          :param retry_seconds: If wait_for_active is True, this
              parameter controls the number of seconds of delay between
              calls to update_table in Amazon DynamoDB.  Default is 5 seconds.
docstring_summary: Refresh all of the fields of the Table object by calling
          the underlying DescribeTable request.
docstring_tokens: Refresh all of the fields of the Table object by calling the underlying DescribeTable request .
function: def refresh(self, wait_for_active=False, retry_seconds=5):
          """
          Refresh all of the fields of the Table object by calling
          the underlying DescribeTable request.
  
          :type wait_for_active: bool
          :param wait_for_active: If True, this command will not return
              until the table status, as returned from Amazon DynamoDB, is
              'ACTIVE'.
  
          :type retry_seconds: int
          :param retry_seconds: If wait_for_active is True, this
              parameter controls the number of seconds of delay between
              calls to update_table in Amazon DynamoDB.  Default is 5 seconds.
          """
          done = False
          while not done:
              response = self.layer2.describe_table(self.name)
              self.update_from_response(response)
              if wait_for_active:
                  if self.status == 'ACTIVE':
                      done = True
                  else:
                      time.sleep(retry_seconds)
              else:
                  done = True
function_tokens: def refresh ( self , wait_for_active = False , retry_seconds = 5 ) : done = False while not done : response = self . layer2 . describe_table ( self . name ) self . update_from_response ( response ) if wait_for_active : if self . status == 'ACTIVE' : done = True else : time . sleep ( retry_seconds ) else : done = True