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