parameters: (region_name, **kw_params)
return_statement: return None
docstring: Given a valid region name, return a
      :class:`boto.iam.connection.IAMConnection`.
  
      :type: str
      :param region_name: The name of the region to connect to.
  
      :rtype: :class:`boto.iam.connection.IAMConnection` or ``None``
      :return: A connection to the given region, or None if an invalid region
               name is given
docstring_summary: Given a valid region name, return a
      :class:`boto.iam.connection.IAMConnection`.
docstring_tokens: Given a valid region name return a : class : boto . iam . connection . IAMConnection .
function: def connect_to_region(region_name, **kw_params):
      """
      Given a valid region name, return a
      :class:`boto.iam.connection.IAMConnection`.
  
      :type: str
      :param region_name: The name of the region to connect to.
  
      :rtype: :class:`boto.iam.connection.IAMConnection` or ``None``
      :return: A connection to the given region, or None if an invalid region
               name is given
      """
      for region in regions():
          if region.name == region_name:
              return region.connect(**kw_params)
      return None
function_tokens: def connect_to_region ( region_name , * * kw_params ) : for region in regions ( ) : if region . name == region_name : return region . connect ( * * kw_params ) return None