massive update, probably broken
[dotfiles/.git] / .config / coc / extensions / node_modules / coc-pyright / node_modules / pyright / dist / typeshed-fallback / stubs / boto / boto / s3 / __init__.pyi
1 from typing import Text, Type
2
3 from boto.connection import AWSAuthConnection
4 from boto.regioninfo import RegionInfo
5
6 from .connection import S3Connection
7
8 class S3RegionInfo(RegionInfo):
9     def connect(
10         self,
11         name: Text | None = ...,
12         endpoint: str | None = ...,
13         connection_cls: Type[AWSAuthConnection] | None = ...,
14         **kw_params,
15     ) -> S3Connection: ...
16
17 def regions() -> list[S3RegionInfo]: ...
18 def connect_to_region(region_name: Text, **kw_params): ...