massive update, probably broken
[dotfiles/.git] / .config / coc / extensions / coc-python-data / languageServer.0.5.59 / Typeshed / third_party / 2and3 / boto / s3 / multipart.pyi
1 from typing import Any, Optional\r
2 \r
3 class CompleteMultiPartUpload:\r
4     bucket = ...  # type: Any\r
5     location = ...  # type: Any\r
6     bucket_name = ...  # type: Any\r
7     key_name = ...  # type: Any\r
8     etag = ...  # type: Any\r
9     version_id = ...  # type: Any\r
10     encrypted = ...  # type: Any\r
11     def __init__(self, bucket: Optional[Any] = ...) -> None: ...\r
12     def startElement(self, name, attrs, connection): ...\r
13     def endElement(self, name, value, connection): ...\r
14 \r
15 class Part:\r
16     bucket = ...  # type: Any\r
17     part_number = ...  # type: Any\r
18     last_modified = ...  # type: Any\r
19     etag = ...  # type: Any\r
20     size = ...  # type: Any\r
21     def __init__(self, bucket: Optional[Any] = ...) -> None: ...\r
22     def startElement(self, name, attrs, connection): ...\r
23     def endElement(self, name, value, connection): ...\r
24 \r
25 def part_lister(mpupload, part_number_marker: Optional[Any] = ...): ...\r
26 \r
27 class MultiPartUpload:\r
28     bucket = ...  # type: Any\r
29     bucket_name = ...  # type: Any\r
30     key_name = ...  # type: Any\r
31     id = ...  # type: Any\r
32     initiator = ...  # type: Any\r
33     owner = ...  # type: Any\r
34     storage_class = ...  # type: Any\r
35     initiated = ...  # type: Any\r
36     part_number_marker = ...  # type: Any\r
37     next_part_number_marker = ...  # type: Any\r
38     max_parts = ...  # type: Any\r
39     is_truncated = ...  # type: bool\r
40     def __init__(self, bucket: Optional[Any] = ...) -> None: ...\r
41     def __iter__(self): ...\r
42     def to_xml(self): ...\r
43     def startElement(self, name, attrs, connection): ...\r
44     def endElement(self, name, value, connection): ...\r
45     def get_all_parts(self, max_parts: Optional[Any] = ..., part_number_marker: Optional[Any] = ..., encoding_type: Optional[Any] = ...): ...\r
46     def upload_part_from_file(self, fp, part_num, headers: Optional[Any] = ..., replace: bool = ..., cb: Optional[Any] = ..., num_cb: int = ..., md5: Optional[Any] = ..., size: Optional[Any] = ...): ...\r
47     def copy_part_from_key(self, src_bucket_name, src_key_name, part_num, start: Optional[Any] = ..., end: Optional[Any] = ..., src_version_id: Optional[Any] = ..., headers: Optional[Any] = ...): ...\r
48     def complete_upload(self): ...\r
49     def cancel_upload(self): ...\r