
?F[c           @   sd   d  d l  m Z d  d l m Z m Z m Z d  d l m Z e   j d  Z d   Z	 d   Z
 d S(   i(   t   CloudFormationConnection(   t
   RegionInfot   get_regionst   load_regions(   t   connectt   cloudformationc           C   s   t  d d t S(   s   
    Get all available regions for the CloudFormation service.

    :rtype: list
    :return: A list of :class:`boto.RegionInfo` instances
    R   t   connection_cls(   R   R    (    (    (    s;   lib/python2.7/site-packages/boto/cloudformation/__init__.pyt   regions   s    c         K   s   t  d |  d t | S(   s\  
    Given a valid region name, return a
    :class:`boto.cloudformation.CloudFormationConnection`.

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

    :rtype: :class:`boto.cloudformation.CloudFormationConnection` or ``None``
    :return: A connection to the given region, or None if an invalid region
        name is given
    R   R   (   R   R    (   t   region_namet	   kw_params(    (    s;   lib/python2.7/site-packages/boto/cloudformation/__init__.pyt   connect_to_region+   s    N(   t   boto.cloudformation.connectionR    t   boto.regioninfoR   R   R   R   t   gett
   RegionDataR   R
   (    (    (    s;   lib/python2.7/site-packages/boto/cloudformation/__init__.pyt   <module>   s
   	