1 from typing import Text, Type
3 from boto.connection import AWSAuthConnection
4 from boto.regioninfo import RegionInfo
6 from .connection import S3Connection
8 class S3RegionInfo(RegionInfo):
11 name: Text | None = ...,
12 endpoint: str | None = ...,
13 connection_cls: Type[AWSAuthConnection] | None = ...,
15 ) -> S3Connection: ...
17 def regions() -> list[S3RegionInfo]: ...
18 def connect_to_region(region_name: Text, **kw_params): ...