o
    rMfã  ã                   @   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 )	é    )ÚSESConnection)Ú
RegionInfoÚget_regions)Úconnectc                   C   s   t dtdS )z
    Get all available regions for the SES service.

    :rtype: list
    :return: A list of :class:`boto.regioninfo.RegionInfo` instances
    Úses)Úconnection_cls)r   r   © r   r   úS/var/www/html/analyze/labelStudio/lib/python3.10/site-packages/boto/ses/__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.ses.connection.SESConnection`.

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

    :rtype: :class:`boto.ses.connection.SESConnection` 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.ses.connectionr   Úboto.regioninfor   r   r   r
   r   r   r   r   r	   Ú<module>   s
   
