o
    ȷe                     @   sL   d dl mZ d dlmZmZmZ d dlmZ e dZdd Z	dd Z
d	S )
    )CloudFormationConnection)
RegionInfoget_regionsload_regions)connectcloudformationc                   C   s   t dtdS )z
    Get all available regions for the CloudFormation service.

    :rtype: list
    :return: A list of :class:`boto.RegionInfo` instances
    r   )connection_cls)r   r    r	   r	   S/var/www/ideatree/venv/lib/python3.10/site-packages/boto/cloudformation/__init__.pyregions   s   r   c                 K   s   t d| fdti|S )a\  
    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   )region_name	kw_paramsr	   r	   r
   connect_to_region+   s
   
r   N)boto.cloudformation.connectionr   boto.regioninfor   r   r   r   get
RegionDatar   r   r	   r	   r	   r
   <module>   s   