HEX
Server: Apache/2.4.52 (Ubuntu)
System: Linux spn-python 5.15.0-89-generic #99-Ubuntu SMP Mon Oct 30 20:42:41 UTC 2023 x86_64
User: arjun (1000)
PHP: 8.1.2-1ubuntu2.20
Disabled: NONE
Upload Files
File: //home/arjun/projects/env/lib/python3.10/site-packages/boto/s3/__pycache__/__init__.cpython-310.pyc
o

we�
�@s@ddlmZmZddlmZGdd�de�Zdd�Zdd�Zd	S)
�)�
RegionInfo�get_regions)�connectc@seZdZdd�ZdS)�S3RegionInfocKs |jr|jdd|ji|��SdS)a�
        Connect to this Region's endpoint. Returns an connection
        object pointing to the endpoint associated with this region.
        You may pass any of the arguments accepted by the connection
        class's constructor as keyword arguments and they will be
        passed along to the connection object.

        :rtype: Connection object
        :return: The connection to this regions endpoint
        �hostN�)�connection_cls�endpoint)�self�	kw_paramsrr�I/home/arjun/projects/env/lib/python3.10/site-packages/boto/s3/__init__.pyr s�zS3RegionInfo.connectN)�__name__�
__module__�__qualname__rrrrrrsrcCsddlm}tdt|d�S)z�
    Get all available regions for the Amazon S3 service.

    :rtype: list
    :return: A list of :class:`boto.regioninfo.RegionInfo`
    r��S3Connection�s3��
region_clsr)�boto.s3.connectionrrrrrrr�regions/s�rcKs\ddlm}d|vr"|�d�}|dvr"td||d�}|jd	i|��Std|ft|d�|��S)
Nrrr)�N�custom)�namer	rrrr)rr�poprr)�region_namerrr�regionrrr�connect_to_region>s
�
��rN)�boto.regioninforrrrrrrrrr�<module>s