massive update, probably broken
[dotfiles/.git] / .config / coc / extensions / coc-python-data / languageServer.0.5.59 / Typeshed / third_party / 2and3 / boto / exception.pyi
1 from typing import Any, Optional\r
2 from boto.compat import StandardError\r
3 \r
4 class BotoClientError(StandardError):\r
5     reason = ...  # type: Any\r
6     def __init__(self, reason, *args) -> None: ...\r
7 \r
8 class SDBPersistenceError(StandardError): ...\r
9 class StoragePermissionsError(BotoClientError): ...\r
10 class S3PermissionsError(StoragePermissionsError): ...\r
11 class GSPermissionsError(StoragePermissionsError): ...\r
12 \r
13 class BotoServerError(StandardError):\r
14     status = ...  # type: Any\r
15     reason = ...  # type: Any\r
16     body = ...  # type: Any\r
17     request_id = ...  # type: Any\r
18     error_code = ...  # type: Any\r
19     message = ...  # type: str\r
20     box_usage = ...  # type: Any\r
21     def __init__(self, status, reason, body: Optional[Any] = ..., *args) -> None: ...\r
22     def __getattr__(self, name): ...\r
23     def __setattr__(self, name, value): ...\r
24     def startElement(self, name, attrs, connection): ...\r
25     def endElement(self, name, value, connection): ...\r
26 \r
27 class ConsoleOutput:\r
28     parent = ...  # type: Any\r
29     instance_id = ...  # type: Any\r
30     timestamp = ...  # type: Any\r
31     comment = ...  # type: Any\r
32     output = ...  # type: Any\r
33     def __init__(self, parent: Optional[Any] = ...) -> None: ...\r
34     def startElement(self, name, attrs, connection): ...\r
35     def endElement(self, name, value, connection): ...\r
36 \r
37 class StorageCreateError(BotoServerError):\r
38     bucket = ...  # type: Any\r
39     def __init__(self, status, reason, body: Optional[Any] = ...) -> None: ...\r
40     def endElement(self, name, value, connection): ...\r
41 \r
42 class S3CreateError(StorageCreateError): ...\r
43 class GSCreateError(StorageCreateError): ...\r
44 class StorageCopyError(BotoServerError): ...\r
45 class S3CopyError(StorageCopyError): ...\r
46 class GSCopyError(StorageCopyError): ...\r
47 \r
48 class SQSError(BotoServerError):\r
49     detail = ...  # type: Any\r
50     type = ...  # type: Any\r
51     def __init__(self, status, reason, body: Optional[Any] = ...) -> None: ...\r
52     def startElement(self, name, attrs, connection): ...\r
53     def endElement(self, name, value, connection): ...\r
54 \r
55 class SQSDecodeError(BotoClientError):\r
56     message = ...  # type: Any\r
57     def __init__(self, reason, message) -> None: ...\r
58 \r
59 class StorageResponseError(BotoServerError):\r
60     resource = ...  # type: Any\r
61     def __init__(self, status, reason, body: Optional[Any] = ...) -> None: ...\r
62     def startElement(self, name, attrs, connection): ...\r
63     def endElement(self, name, value, connection): ...\r
64 \r
65 class S3ResponseError(StorageResponseError): ...\r
66 class GSResponseError(StorageResponseError): ...\r
67 \r
68 class EC2ResponseError(BotoServerError):\r
69     errors = ...  # type: Any\r
70     def __init__(self, status, reason, body: Optional[Any] = ...) -> None: ...\r
71     def startElement(self, name, attrs, connection): ...\r
72     request_id = ...  # type: Any\r
73     def endElement(self, name, value, connection): ...\r
74 \r
75 class JSONResponseError(BotoServerError):\r
76     status = ...  # type: Any\r
77     reason = ...  # type: Any\r
78     body = ...  # type: Any\r
79     error_message = ...  # type: Any\r
80     error_code = ...  # type: Any\r
81     def __init__(self, status, reason, body: Optional[Any] = ..., *args) -> None: ...\r
82 \r
83 class DynamoDBResponseError(JSONResponseError): ...\r
84 class SWFResponseError(JSONResponseError): ...\r
85 class EmrResponseError(BotoServerError): ...\r
86 \r
87 class _EC2Error:\r
88     connection = ...  # type: Any\r
89     error_code = ...  # type: Any\r
90     error_message = ...  # type: Any\r
91     def __init__(self, connection: Optional[Any] = ...) -> None: ...\r
92     def startElement(self, name, attrs, connection): ...\r
93     def endElement(self, name, value, connection): ...\r
94 \r
95 class SDBResponseError(BotoServerError): ...\r
96 class AWSConnectionError(BotoClientError): ...\r
97 class StorageDataError(BotoClientError): ...\r
98 class S3DataError(StorageDataError): ...\r
99 class GSDataError(StorageDataError): ...\r
100 \r
101 class InvalidUriError(Exception):\r
102     message = ...  # type: Any\r
103     def __init__(self, message) -> None: ...\r
104 \r
105 class InvalidAclError(Exception):\r
106     message = ...  # type: Any\r
107     def __init__(self, message) -> None: ...\r
108 \r
109 class InvalidCorsError(Exception):\r
110     message = ...  # type: Any\r
111     def __init__(self, message) -> None: ...\r
112 \r
113 class NoAuthHandlerFound(Exception): ...\r
114 \r
115 class InvalidLifecycleConfigError(Exception):\r
116     message = ...  # type: Any\r
117     def __init__(self, message) -> None: ...\r
118 \r
119 class ResumableTransferDisposition:\r
120     START_OVER = ...  # type: str\r
121     WAIT_BEFORE_RETRY = ...  # type: str\r
122     ABORT_CUR_PROCESS = ...  # type: str\r
123     ABORT = ...  # type: str\r
124 \r
125 class ResumableUploadException(Exception):\r
126     message = ...  # type: Any\r
127     disposition = ...  # type: Any\r
128     def __init__(self, message, disposition) -> None: ...\r
129 \r
130 class ResumableDownloadException(Exception):\r
131     message = ...  # type: Any\r
132     disposition = ...  # type: Any\r
133     def __init__(self, message, disposition) -> None: ...\r
134 \r
135 class TooManyRecordsException(Exception):\r
136     message = ...  # type: Any\r
137     def __init__(self, message) -> None: ...\r
138 \r
139 class PleaseRetryException(Exception):\r
140     message = ...  # type: Any\r
141     response = ...  # type: Any\r
142     def __init__(self, message, response: Optional[Any] = ...) -> None: ...\r
143 \r
144 class InvalidInstanceMetadataError(Exception):\r
145     MSG = ...  # type: str\r
146     def __init__(self, msg) -> None: ...\r