botocore-stubs 1.33.1__tar.gz → 1.33.3__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of botocore-stubs might be problematic. Click here for more details.
- {botocore_stubs-1.33.1 → botocore_stubs-1.33.3}/PKG-INFO +1 -1
- {botocore_stubs-1.33.1 → botocore_stubs-1.33.3}/botocore-stubs/auth.pyi +28 -0
- {botocore_stubs-1.33.1 → botocore_stubs-1.33.3}/botocore-stubs/credentials.pyi +10 -1
- {botocore_stubs-1.33.1 → botocore_stubs-1.33.3}/botocore-stubs/utils.pyi +41 -0
- {botocore_stubs-1.33.1 → botocore_stubs-1.33.3}/pyproject.toml +1 -1
- {botocore_stubs-1.33.1 → botocore_stubs-1.33.3}/LICENSE +0 -0
- {botocore_stubs-1.33.1 → botocore_stubs-1.33.3}/README.md +0 -0
- {botocore_stubs-1.33.1 → botocore_stubs-1.33.3}/botocore-stubs/__init__.pyi +0 -0
- {botocore_stubs-1.33.1 → botocore_stubs-1.33.3}/botocore-stubs/args.pyi +0 -0
- {botocore_stubs-1.33.1 → botocore_stubs-1.33.3}/botocore-stubs/awsrequest.pyi +0 -0
- {botocore_stubs-1.33.1 → botocore_stubs-1.33.3}/botocore-stubs/client.pyi +0 -0
- {botocore_stubs-1.33.1 → botocore_stubs-1.33.3}/botocore-stubs/compat.pyi +0 -0
- {botocore_stubs-1.33.1 → botocore_stubs-1.33.3}/botocore-stubs/compress.pyi +0 -0
- {botocore_stubs-1.33.1 → botocore_stubs-1.33.3}/botocore-stubs/config.pyi +0 -0
- {botocore_stubs-1.33.1 → botocore_stubs-1.33.3}/botocore-stubs/configloader.pyi +0 -0
- {botocore_stubs-1.33.1 → botocore_stubs-1.33.3}/botocore-stubs/configprovider.pyi +0 -0
- {botocore_stubs-1.33.1 → botocore_stubs-1.33.3}/botocore-stubs/crt/__init__.pyi +0 -0
- {botocore_stubs-1.33.1 → botocore_stubs-1.33.3}/botocore-stubs/crt/auth.pyi +0 -0
- {botocore_stubs-1.33.1 → botocore_stubs-1.33.3}/botocore-stubs/discovery.pyi +0 -0
- {botocore_stubs-1.33.1 → botocore_stubs-1.33.3}/botocore-stubs/endpoint.pyi +0 -0
- {botocore_stubs-1.33.1 → botocore_stubs-1.33.3}/botocore-stubs/endpoint_provider.pyi +0 -0
- {botocore_stubs-1.33.1 → botocore_stubs-1.33.3}/botocore-stubs/errorfactory.pyi +0 -0
- {botocore_stubs-1.33.1 → botocore_stubs-1.33.3}/botocore-stubs/eventstream.pyi +0 -0
- {botocore_stubs-1.33.1 → botocore_stubs-1.33.3}/botocore-stubs/exceptions.pyi +0 -0
- {botocore_stubs-1.33.1 → botocore_stubs-1.33.3}/botocore-stubs/handlers.pyi +0 -0
- {botocore_stubs-1.33.1 → botocore_stubs-1.33.3}/botocore-stubs/history.pyi +0 -0
- {botocore_stubs-1.33.1 → botocore_stubs-1.33.3}/botocore-stubs/hooks.pyi +0 -0
- {botocore_stubs-1.33.1 → botocore_stubs-1.33.3}/botocore-stubs/httpchecksum.pyi +0 -0
- {botocore_stubs-1.33.1 → botocore_stubs-1.33.3}/botocore-stubs/httpsession.pyi +0 -0
- {botocore_stubs-1.33.1 → botocore_stubs-1.33.3}/botocore-stubs/loaders.pyi +0 -0
- {botocore_stubs-1.33.1 → botocore_stubs-1.33.3}/botocore-stubs/model.pyi +0 -0
- {botocore_stubs-1.33.1 → botocore_stubs-1.33.3}/botocore-stubs/monitoring.pyi +0 -0
- {botocore_stubs-1.33.1 → botocore_stubs-1.33.3}/botocore-stubs/paginate.pyi +0 -0
- {botocore_stubs-1.33.1 → botocore_stubs-1.33.3}/botocore-stubs/parsers.pyi +0 -0
- {botocore_stubs-1.33.1 → botocore_stubs-1.33.3}/botocore-stubs/py.typed +0 -0
- {botocore_stubs-1.33.1 → botocore_stubs-1.33.3}/botocore-stubs/regions.pyi +0 -0
- {botocore_stubs-1.33.1 → botocore_stubs-1.33.3}/botocore-stubs/response.pyi +0 -0
- {botocore_stubs-1.33.1 → botocore_stubs-1.33.3}/botocore-stubs/retries/__init__.pyi +0 -0
- {botocore_stubs-1.33.1 → botocore_stubs-1.33.3}/botocore-stubs/retries/adaptive.pyi +0 -0
- {botocore_stubs-1.33.1 → botocore_stubs-1.33.3}/botocore-stubs/retries/base.pyi +0 -0
- {botocore_stubs-1.33.1 → botocore_stubs-1.33.3}/botocore-stubs/retries/bucket.pyi +0 -0
- {botocore_stubs-1.33.1 → botocore_stubs-1.33.3}/botocore-stubs/retries/quota.pyi +0 -0
- {botocore_stubs-1.33.1 → botocore_stubs-1.33.3}/botocore-stubs/retries/special.pyi +0 -0
- {botocore_stubs-1.33.1 → botocore_stubs-1.33.3}/botocore-stubs/retries/standard.pyi +0 -0
- {botocore_stubs-1.33.1 → botocore_stubs-1.33.3}/botocore-stubs/retries/throttling.pyi +0 -0
- {botocore_stubs-1.33.1 → botocore_stubs-1.33.3}/botocore-stubs/retryhandler.pyi +0 -0
- {botocore_stubs-1.33.1 → botocore_stubs-1.33.3}/botocore-stubs/serialize.pyi +0 -0
- {botocore_stubs-1.33.1 → botocore_stubs-1.33.3}/botocore-stubs/session.pyi +0 -0
- {botocore_stubs-1.33.1 → botocore_stubs-1.33.3}/botocore-stubs/signers.pyi +0 -0
- {botocore_stubs-1.33.1 → botocore_stubs-1.33.3}/botocore-stubs/stub.pyi +0 -0
- {botocore_stubs-1.33.1 → botocore_stubs-1.33.3}/botocore-stubs/tokens.pyi +0 -0
- {botocore_stubs-1.33.1 → botocore_stubs-1.33.3}/botocore-stubs/translate.pyi +0 -0
- {botocore_stubs-1.33.1 → botocore_stubs-1.33.3}/botocore-stubs/useragent.pyi +0 -0
- {botocore_stubs-1.33.1 → botocore_stubs-1.33.3}/botocore-stubs/validate.pyi +0 -0
- {botocore_stubs-1.33.1 → botocore_stubs-1.33.3}/botocore-stubs/waiter.pyi +0 -0
|
@@ -8,6 +8,7 @@ from botocore.compat import HAS_CRT as HAS_CRT
|
|
|
8
8
|
from botocore.compat import MD5_AVAILABLE as MD5_AVAILABLE
|
|
9
9
|
from botocore.credentials import Credentials, ReadOnlyCredentials
|
|
10
10
|
from botocore.crt.auth import CRT_AUTH_TYPE_MAPS as CRT_AUTH_TYPE_MAPS
|
|
11
|
+
from botocore.utils import IdentityCache
|
|
11
12
|
|
|
12
13
|
logger: Logger = ...
|
|
13
14
|
|
|
@@ -61,6 +62,33 @@ class SigV4Auth(BaseSigner):
|
|
|
61
62
|
|
|
62
63
|
class S3SigV4Auth(SigV4Auth): ...
|
|
63
64
|
|
|
65
|
+
class S3ExpressAuth(S3SigV4Auth):
|
|
66
|
+
REQUIRES_IDENTITY_CACHE: bool = ...
|
|
67
|
+
|
|
68
|
+
def __init__(
|
|
69
|
+
self,
|
|
70
|
+
credentials: _CredentialsUnion,
|
|
71
|
+
service_name: str,
|
|
72
|
+
region_name: str,
|
|
73
|
+
*,
|
|
74
|
+
identity_cache: IdentityCache,
|
|
75
|
+
) -> None: ...
|
|
76
|
+
|
|
77
|
+
class S3ExpressPostAuth(S3ExpressAuth): ...
|
|
78
|
+
|
|
79
|
+
class S3ExpressQueryAuth(S3ExpressAuth):
|
|
80
|
+
DEFAULT_EXPIRES: int = ...
|
|
81
|
+
|
|
82
|
+
def __init__(
|
|
83
|
+
self,
|
|
84
|
+
credentials: _CredentialsUnion,
|
|
85
|
+
service_name: str,
|
|
86
|
+
region_name: str,
|
|
87
|
+
*,
|
|
88
|
+
identity_cache: IdentityCache,
|
|
89
|
+
expires: int = ...,
|
|
90
|
+
) -> None: ...
|
|
91
|
+
|
|
64
92
|
class SigV4QueryAuth(SigV4Auth):
|
|
65
93
|
DEFAULT_EXPIRES: int = ...
|
|
66
94
|
def __init__(
|
|
@@ -76,9 +76,18 @@ class RefreshableCredentials(Credentials):
|
|
|
76
76
|
refresh_using: Any,
|
|
77
77
|
method: str,
|
|
78
78
|
time_fetcher: Any = ...,
|
|
79
|
+
advisory_timeout: Optional[int] = ...,
|
|
80
|
+
mandatory_timeout: Optional[int] = ...,
|
|
79
81
|
) -> None: ...
|
|
80
82
|
@classmethod
|
|
81
|
-
def create_from_metadata(
|
|
83
|
+
def create_from_metadata(
|
|
84
|
+
cls,
|
|
85
|
+
metadata: Any,
|
|
86
|
+
refresh_using: Any,
|
|
87
|
+
method: Any,
|
|
88
|
+
advisory_timeout: Optional[int] = ...,
|
|
89
|
+
mandatory_timeout: Optional[int] = ...,
|
|
90
|
+
) -> Any: ...
|
|
82
91
|
@property # type: ignore [override]
|
|
83
92
|
def access_key(self) -> str: ... # type: ignore [override]
|
|
84
93
|
@access_key.setter
|
|
@@ -11,6 +11,7 @@ from typing import (
|
|
|
11
11
|
Optional,
|
|
12
12
|
Pattern,
|
|
13
13
|
Tuple,
|
|
14
|
+
Type,
|
|
14
15
|
TypeVar,
|
|
15
16
|
)
|
|
16
17
|
|
|
@@ -24,6 +25,7 @@ from botocore.compat import urlparse as urlparse
|
|
|
24
25
|
from botocore.compat import urlsplit as urlsplit
|
|
25
26
|
from botocore.compat import urlunsplit as urlunsplit
|
|
26
27
|
from botocore.compat import zip_longest as zip_longest
|
|
28
|
+
from botocore.credentials import Credentials
|
|
27
29
|
from botocore.exceptions import ClientError as ClientError
|
|
28
30
|
from botocore.exceptions import ConfigNotFound as ConfigNotFound
|
|
29
31
|
from botocore.exceptions import ConnectionClosedError as ConnectionClosedError
|
|
@@ -167,6 +169,41 @@ def switch_host_with_param(request: Any, param_name: Any) -> None: ...
|
|
|
167
169
|
def deep_merge(base: Any, extra: Any) -> None: ...
|
|
168
170
|
def hyphenize_service_id(service_id: Any) -> Any: ...
|
|
169
171
|
|
|
172
|
+
class IdentityCache:
|
|
173
|
+
METHOD: str = ...
|
|
174
|
+
def __init__(self, client: Any, credential_cls: Type[Credentials]) -> None: ...
|
|
175
|
+
def get_credentials(self, **kwargs: Any) -> Credentials: ...
|
|
176
|
+
def build_refresh_callback(**kwargs: Any) -> Callable[..., Any]: ...
|
|
177
|
+
|
|
178
|
+
class S3ExpressIdentityCache(IdentityCache):
|
|
179
|
+
def get_credentials(self, bucket: str) -> Credentials: ... # type: ignore [override]
|
|
180
|
+
def build_refresh_callback(self, bucket: str) -> Callable[..., Any]: ... # type: ignore [override]
|
|
181
|
+
|
|
182
|
+
class S3ExpressIdentityResolver:
|
|
183
|
+
def __init__(
|
|
184
|
+
self,
|
|
185
|
+
client: Any,
|
|
186
|
+
credential_cls: Type[Credentials],
|
|
187
|
+
cache: Optional[S3ExpressIdentityCache] = ...,
|
|
188
|
+
) -> None: ...
|
|
189
|
+
def register(self, event_emitter: Optional[BaseEventHooks] = ...) -> None: ...
|
|
190
|
+
def inject_signing_cache_key(
|
|
191
|
+
self, params: Dict[str, Any], context: Dict[str, Any], **kwargs: Any
|
|
192
|
+
) -> None: ...
|
|
193
|
+
def apply_signing_cache_key(
|
|
194
|
+
self, params: Dict[str, Any], context: Dict[str, Any], **kwargs: Any
|
|
195
|
+
) -> None: ...
|
|
196
|
+
def resolve_s3express_identity(
|
|
197
|
+
self,
|
|
198
|
+
request: Any,
|
|
199
|
+
signing_name: str,
|
|
200
|
+
region_name: str,
|
|
201
|
+
signature_version: str,
|
|
202
|
+
request_signer: Any,
|
|
203
|
+
operation_name: str,
|
|
204
|
+
**kwargs: Any,
|
|
205
|
+
) -> None: ...
|
|
206
|
+
|
|
170
207
|
class S3RegionRedirectorv2:
|
|
171
208
|
def __init__(self, endpoint_bridge: Any, client: Any, cache: Optional[Any] = ...) -> None: ...
|
|
172
209
|
def register(self, event_emitter: Optional[BaseEventHooks] = ...) -> None: ...
|
|
@@ -252,6 +289,8 @@ def should_bypass_proxies(url: str) -> bool: ...
|
|
|
252
289
|
def determine_content_length(body: Any) -> Optional[int]: ...
|
|
253
290
|
def get_encoding_from_headers(headers: Mapping[str, Any], default: str = ...) -> str: ...
|
|
254
291
|
def calculate_md5(body: Any, **kwargs: Any) -> str: ...
|
|
292
|
+
def conditionally_calculate_checksum(params: Mapping[str, Any], **kwargs: Any) -> str: ...
|
|
293
|
+
def conditionally_enable_crc32(params: Mapping[str, Any], **kwargs: Any) -> None: ...
|
|
255
294
|
def conditionally_calculate_md5(params: Mapping[str, Any], **kwargs: Any) -> str: ...
|
|
256
295
|
|
|
257
296
|
class FileWebIdentityTokenLoader:
|
|
@@ -288,5 +327,7 @@ class JSONFileCache:
|
|
|
288
327
|
def __delitem__(self, cache_key: str) -> None: ...
|
|
289
328
|
def __setitem__(self, cache_key: str, value: Any) -> None: ...
|
|
290
329
|
|
|
330
|
+
def is_s3express_bucket(bucket: str) -> bool: ...
|
|
331
|
+
|
|
291
332
|
SERVICE_NAME_ALIASES: Dict[str, str] = ...
|
|
292
333
|
CLIENT_NAME_TO_HYPHENIZED_SERVICE_ID_OVERRIDES: Dict[str, str] = ...
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|