code: def _update_limits_from_api(self):
          
          self.connect()
          logger.info("Querying DynamoDB DescribeLimits for limits")
          # no need to paginate
          lims = self.conn.describe_limits()
          self.limits['Account Max Read Capacity Units']._set_api_limit(
              lims['AccountMaxReadCapacityUnits']
          )
          self.limits['Account Max Write Capacity Units']._set_api_limit(
              lims['AccountMaxWriteCapacityUnits']
          )
          self.limits['Table Max Read Capacity Units']._set_api_limit(
              lims['TableMaxReadCapacityUnits']
          )
          self.limits['Table Max Write Capacity Units']._set_api_limit(
              lims['TableMaxWriteCapacityUnits']
          )
          logger.debug("Done setting limits from API")
docs: Query DynamoDB's DescribeLimits API action, and update limits
          with the quotas returned. Updates ``self.limits``.