3 from boto.compat import StandardError
5 class BotoClientError(StandardError):
7 def __init__(self, reason, *args) -> None: ...
9 class SDBPersistenceError(StandardError): ...
10 class StoragePermissionsError(BotoClientError): ...
11 class S3PermissionsError(StoragePermissionsError): ...
12 class GSPermissionsError(StoragePermissionsError): ...
14 class BotoServerError(StandardError):
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): ...
34 def __init__(self, parent: Any | None = ...) -> None: ...
35 def startElement(self, name, attrs, connection): ...
36 def endElement(self, name, value, connection): ...
38 class StorageCreateError(BotoServerError):
40 def __init__(self, status, reason, body: Any | None = ...) -> None: ...
41 def endElement(self, name, value, connection): ...
43 class S3CreateError(StorageCreateError): ...
44 class GSCreateError(StorageCreateError): ...
45 class StorageCopyError(BotoServerError): ...
46 class S3CopyError(StorageCopyError): ...
47 class GSCopyError(StorageCopyError): ...
49 class SQSError(BotoServerError):
52 def __init__(self, status, reason, body: Any | None = ...) -> None: ...
53 def startElement(self, name, attrs, connection): ...
54 def endElement(self, name, value, connection): ...
56 class SQSDecodeError(BotoClientError):
58 def __init__(self, reason, message) -> None: ...
60 class StorageResponseError(BotoServerError):
62 def __init__(self, status, reason, body: Any | None = ...) -> None: ...
63 def startElement(self, name, attrs, connection): ...
64 def endElement(self, name, value, connection): ...
66 class S3ResponseError(StorageResponseError): ...
67 class GSResponseError(StorageResponseError): ...
69 class EC2ResponseError(BotoServerError):
71 def __init__(self, status, reason, body: Any | None = ...) -> None: ...
72 def startElement(self, name, attrs, connection): ...
74 def endElement(self, name, value, connection): ...
76 class JSONResponseError(BotoServerError):
82 def __init__(self, status, reason, body: Any | None = ..., *args) -> None: ...
84 class DynamoDBResponseError(JSONResponseError): ...
85 class SWFResponseError(JSONResponseError): ...
86 class EmrResponseError(BotoServerError): ...
92 def __init__(self, connection: Any | None = ...) -> None: ...
93 def startElement(self, name, attrs, connection): ...
94 def endElement(self, name, value, connection): ...
96 class SDBResponseError(BotoServerError): ...
97 class AWSConnectionError(BotoClientError): ...
98 class StorageDataError(BotoClientError): ...
99 class S3DataError(StorageDataError): ...
100 class GSDataError(StorageDataError): ...
102 class InvalidUriError(Exception):
104 def __init__(self, message) -> None: ...
106 class InvalidAclError(Exception):
108 def __init__(self, message) -> None: ...
110 class InvalidCorsError(Exception):
112 def __init__(self, message) -> None: ...
114 class NoAuthHandlerFound(Exception): ...
116 class InvalidLifecycleConfigError(Exception):
118 def __init__(self, message) -> None: ...
120 class ResumableTransferDisposition:
122 WAIT_BEFORE_RETRY: str
123 ABORT_CUR_PROCESS: str
126 class ResumableUploadException(Exception):
129 def __init__(self, message, disposition) -> None: ...
131 class ResumableDownloadException(Exception):
134 def __init__(self, message, disposition) -> None: ...
136 class TooManyRecordsException(Exception):
138 def __init__(self, message) -> None: ...
140 class PleaseRetryException(Exception):
143 def __init__(self, message, response: Any | None = ...) -> None: ...
145 class InvalidInstanceMetadataError(Exception):
147 def __init__(self, msg) -> None: ...