code: def connect_to_region(region_name, **kw_params):
      
      for region in regions():
          if region.name == region_name:
              return region.connect(**kw_params)
      return None
docs: Given a valid region name, return a 
      :class:`boto.sns.connection.SNSConnection`.
  
      :type: str
      :param region_name: The name of the region to connect to.
      
      :rtype: :class:`boto.sns.connection.SNSConnection` or ``None``
      :return: A connection to the given region, or None if an invalid region
               name is given