o
    ȷeK                     @   s<   d dl mZ d dlmZmZ d dlmZ dd Zdd ZdS )	    )SNSConnection)
RegionInfoget_regions)connectc                   C   s   t dtdS )z
    Get all available regions for the SNS service.

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