code: def get_connection(self, service_name):
          
          try:
              return self.cache.get_connection(service_name)
          except NotCached:
              pass
  
          # We didn't find it. Construct it.
          new_class = self.connection_factory.construct_for(service_name)
          self.cache.set_connection(service_name, new_class)
          return new_class
docs: Returns a ``Connection`` **class** for a given service.
  
          :param service_name: A string that specifies the name of the desired
              service. Ex. ``sqs``, ``sns``, ``dynamodb``, etc.
          :type service_name: string
  
          :rtype: <kotocore.connection.Connection subclass>