
?F[c           @   s6   d  d l  m Z d  d l  m Z d   Z d   Z d S(   i(   t   get_regions(   t   connectc          C   s    d d l  m }  t d d |  S(   s   
    Get all available regions for the RDS service.

    :rtype: list
    :return: A list of :class:`boto.regioninfo.RegionInfo`
    i(   t   RDSConnectiont   rdst   connection_cls(   t   boto.rds2.layer1R   R    (   R   (    (    s1   lib/python2.7/site-packages/boto/rds2/__init__.pyt   regions   s    c         K   s&   d d l  m } t d |  d | | S(   s  
    Given a valid region name, return a
    :class:`boto.rds2.layer1.RDSConnection`.
    Any additional parameters after the region_name are passed on to
    the connect method of the region object.

    :type: str
    :param region_name: The name of the region to connect to.

    :rtype: :class:`boto.rds2.layer1.RDSConnection` or ``None``
    :return: A connection to the given region, or None if an invalid region
             name is given
    i(   R   R   R   (   R   R   R   (   t   region_namet	   kw_paramsR   (    (    s1   lib/python2.7/site-packages/boto/rds2/__init__.pyt   connect_to_region%   s    N(   t   boto.regioninfoR    R   R   R	   (    (    (    s1   lib/python2.7/site-packages/boto/rds2/__init__.pyt   <module>   s   	