botocore-stubs 1.38.46__py3-none-any.whl → 1.40.22__py3-none-any.whl
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/args.pyi +8 -1
- botocore-stubs/auth.pyi +4 -0
- botocore-stubs/client.pyi +2 -1
- botocore-stubs/compat.pyi +1 -0
- botocore-stubs/credentials.pyi +1 -0
- botocore-stubs/handlers.pyi +1 -3
- botocore-stubs/parsers.pyi +1 -0
- botocore-stubs/plugin.pyi +24 -0
- botocore-stubs/tokens.pyi +6 -1
- botocore-stubs/utils.pyi +4 -0
- {botocore_stubs-1.38.46.dist-info → botocore_stubs-1.40.22.dist-info}/METADATA +1 -1
- {botocore_stubs-1.38.46.dist-info → botocore_stubs-1.40.22.dist-info}/RECORD +15 -14
- {botocore_stubs-1.38.46.dist-info → botocore_stubs-1.40.22.dist-info}/WHEEL +0 -0
- {botocore_stubs-1.38.46.dist-info → botocore_stubs-1.40.22.dist-info}/licenses/LICENSE +0 -0
- {botocore_stubs-1.38.46.dist-info → botocore_stubs-1.40.22.dist-info}/top_level.txt +0 -0
botocore-stubs/args.pyi
CHANGED
|
@@ -6,7 +6,7 @@ Copyright 2025 Vlad Emelianov
|
|
|
6
6
|
|
|
7
7
|
from collections.abc import Mapping
|
|
8
8
|
from logging import Logger
|
|
9
|
-
from typing import Any, Literal, TypedDict
|
|
9
|
+
from typing import Any, Literal, TypedDict, TypeVar
|
|
10
10
|
|
|
11
11
|
from botocore.client import ClientEndpointBridge
|
|
12
12
|
from botocore.config import Config as Config
|
|
@@ -23,6 +23,8 @@ from botocore.serialize import BaseRestSerializer
|
|
|
23
23
|
from botocore.signers import RequestSigner as RequestSigner
|
|
24
24
|
from botocore.useragent import UserAgentString
|
|
25
25
|
|
|
26
|
+
_R = TypeVar("_R")
|
|
27
|
+
|
|
26
28
|
logger: Logger = ...
|
|
27
29
|
|
|
28
30
|
VALID_REGIONAL_ENDPOINTS_CONFIG: list[str] = ...
|
|
@@ -93,3 +95,8 @@ class ClientArgsCreator:
|
|
|
93
95
|
credentials: Credentials | None,
|
|
94
96
|
account_id_endpoint_mode: Literal["preferred", "disabled", "required"] | None,
|
|
95
97
|
) -> dict[str, Any]: ...
|
|
98
|
+
|
|
99
|
+
class ConfigObjectWrapper: ...
|
|
100
|
+
|
|
101
|
+
class ClientConfigString(str, ConfigObjectWrapper):
|
|
102
|
+
def __new__(cls: type[_R], value: Any = ...) -> _R: ...
|
botocore-stubs/auth.pyi
CHANGED
|
@@ -157,6 +157,10 @@ class BearerAuth(TokenSigner):
|
|
|
157
157
|
def add_auth(self, request: AWSRequest) -> None: ...
|
|
158
158
|
|
|
159
159
|
def resolve_auth_type(auth_trait: Iterable[str]) -> str: ...
|
|
160
|
+
def resolve_auth_scheme_preference(
|
|
161
|
+
preference_list: Iterable[str], auth_options: Iterable[str]
|
|
162
|
+
) -> str: ...
|
|
160
163
|
|
|
161
164
|
AUTH_TYPE_MAPS: dict[str, type[BaseSigner]]
|
|
162
165
|
AUTH_TYPE_TO_SIGNATURE_VERSION: dict[str, str]
|
|
166
|
+
AUTH_PREF_TO_SIGNATURE_VERSION: dict[str, str]
|
botocore-stubs/client.pyi
CHANGED
|
@@ -4,7 +4,7 @@ Type annotations for botocore.client module.
|
|
|
4
4
|
Copyright 2025 Vlad Emelianov
|
|
5
5
|
"""
|
|
6
6
|
|
|
7
|
-
from collections.abc import Mapping
|
|
7
|
+
from collections.abc import Callable, Mapping
|
|
8
8
|
from logging import Logger
|
|
9
9
|
from typing import Any
|
|
10
10
|
|
|
@@ -66,6 +66,7 @@ class ClientCreator:
|
|
|
66
66
|
exceptions_factory: ClientExceptionsFactory | None = ...,
|
|
67
67
|
config_store: ConfigValueStore | None = ...,
|
|
68
68
|
user_agent_creator: UserAgentString | None = ...,
|
|
69
|
+
auth_token_resolver: Callable[[str], str] | None = ...,
|
|
69
70
|
) -> None: ...
|
|
70
71
|
def create_client(
|
|
71
72
|
self,
|
botocore-stubs/compat.pyi
CHANGED
botocore-stubs/credentials.pyi
CHANGED
|
@@ -337,6 +337,7 @@ class SSOCredentialFetcher(CachedCredentialFetcher):
|
|
|
337
337
|
expiry_window_seconds: float | None = ...,
|
|
338
338
|
token_provider: SSOTokenProvider | None = ...,
|
|
339
339
|
sso_session_name: str | None = ...,
|
|
340
|
+
time_fetcher: Callable[[], datetime.datetime] = ...,
|
|
340
341
|
) -> None: ...
|
|
341
342
|
|
|
342
343
|
class SSOProvider(CredentialProvider):
|
botocore-stubs/handlers.pyi
CHANGED
|
@@ -158,8 +158,6 @@ def handle_expires_header(
|
|
|
158
158
|
**kwargs: Any,
|
|
159
159
|
) -> None: ...
|
|
160
160
|
def document_expires_shape(section: DocumentStructure, event_name: str, **kwargs: Any) -> None: ...
|
|
161
|
-
def
|
|
162
|
-
model: OperationModel, params: dict[str, Any], **kwargs: Any
|
|
163
|
-
) -> None: ...
|
|
161
|
+
def get_bearer_auth_supported_services() -> set[str]: ...
|
|
164
162
|
|
|
165
163
|
BUILTIN_HANDLERS: list[tuple[Any, ...]] = ...
|
botocore-stubs/parsers.pyi
CHANGED
|
@@ -34,6 +34,7 @@ class ResponseParserError(Exception): ...
|
|
|
34
34
|
class ResponseParser:
|
|
35
35
|
DEFAULT_ENCODING: str = ...
|
|
36
36
|
EVENT_STREAM_PARSER_CLS: type[ResponseParser] | None = ...
|
|
37
|
+
KNOWN_LOCATIONS: tuple[str, ...] = ...
|
|
37
38
|
def __init__(
|
|
38
39
|
self,
|
|
39
40
|
timestamp_parser: Callable[[str], Any] | None = ...,
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
"""
|
|
2
|
+
Type annotations for botocore.plugin module.
|
|
3
|
+
|
|
4
|
+
Copyright 2025 Vlad Emelianov
|
|
5
|
+
"""
|
|
6
|
+
|
|
7
|
+
import logging
|
|
8
|
+
from contextvars import ContextVar
|
|
9
|
+
from dataclasses import dataclass
|
|
10
|
+
from typing import Any
|
|
11
|
+
|
|
12
|
+
from botocore.client import BaseClient
|
|
13
|
+
|
|
14
|
+
log: logging.Logger = ...
|
|
15
|
+
|
|
16
|
+
@dataclass
|
|
17
|
+
class PluginContext:
|
|
18
|
+
plugins: str | None = ...
|
|
19
|
+
|
|
20
|
+
def get_plugin_context() -> ContextVar[str | None]: ...
|
|
21
|
+
def set_plugin_context(ctx: Any) -> ContextVar[str | None]: ...
|
|
22
|
+
def reset_plugin_context(token: str | None) -> None: ...
|
|
23
|
+
def get_botocore_plugins() -> str | None: ...
|
|
24
|
+
def load_client_plugins(client: BaseClient, plugins: dict[str, str]) -> None: ...
|
botocore-stubs/tokens.pyi
CHANGED
|
@@ -6,7 +6,7 @@ Copyright 2025 Vlad Emelianov
|
|
|
6
6
|
|
|
7
7
|
import datetime
|
|
8
8
|
import logging
|
|
9
|
-
from collections.abc import Iterable
|
|
9
|
+
from collections.abc import Iterable, Mapping
|
|
10
10
|
from typing import Any, Callable, NamedTuple
|
|
11
11
|
|
|
12
12
|
from botocore.session import Session
|
|
@@ -45,3 +45,8 @@ class SSOTokenProvider:
|
|
|
45
45
|
profile_name: str | None = ...,
|
|
46
46
|
) -> None: ...
|
|
47
47
|
def load_token(self) -> DeferredRefreshableToken: ...
|
|
48
|
+
|
|
49
|
+
class ScopedEnvTokenProvider:
|
|
50
|
+
METHOD: str = ...
|
|
51
|
+
def __init__(self, session: Session, environ: Mapping[str, Any] | None = ...) -> None: ...
|
|
52
|
+
def load_token(self, **kwargs: Any) -> FrozenAuthToken | None: ...
|
botocore-stubs/utils.pyi
CHANGED
|
@@ -89,6 +89,7 @@ def set_value_from_jmespath(
|
|
|
89
89
|
source: dict[str, Any], expression: str, value: Any, is_first: bool = ...
|
|
90
90
|
) -> None: ...
|
|
91
91
|
def is_global_accesspoint(context: Any) -> bool: ...
|
|
92
|
+
def create_nested_client(session: Session, service_name: str, **kwargs: Any) -> BaseClient: ...
|
|
92
93
|
|
|
93
94
|
class _RetriesExceededError(Exception): ...
|
|
94
95
|
|
|
@@ -349,6 +350,9 @@ class JSONFileCache:
|
|
|
349
350
|
def __setitem__(self, cache_key: str, value: Any) -> None: ...
|
|
350
351
|
|
|
351
352
|
def is_s3express_bucket(bucket: str) -> bool: ...
|
|
353
|
+
def get_token_from_environment(
|
|
354
|
+
signing_name: str, environ: Mapping[str, Any] | None = ...
|
|
355
|
+
) -> str | None: ...
|
|
352
356
|
|
|
353
357
|
SERVICE_NAME_ALIASES: dict[str, str] = ...
|
|
354
358
|
CLIENT_NAME_TO_HYPHENIZED_SERVICE_ID_OVERRIDES: dict[str, str] = ...
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
botocore-stubs/__init__.pyi,sha256=XwYGr47sSGlobSDgt5vYmjnDZ1GZjPSPAOFQHTlPUGo,684
|
|
2
|
-
botocore-stubs/args.pyi,sha256=
|
|
3
|
-
botocore-stubs/auth.pyi,sha256=
|
|
2
|
+
botocore-stubs/args.pyi,sha256=qeF-Kzp-6C0eRGsJmC_ajTvML5-LQM-Vq4obvhpeDLk,3567
|
|
3
|
+
botocore-stubs/auth.pyi,sha256=4zkWbymfpzYTtkNg3Wr-5joTGx9lS3yJoha4M7e_zcw,5591
|
|
4
4
|
botocore-stubs/awsrequest.pyi,sha256=iCCPx5AWEO_GpSROadB1Iud1Td9v__eSo7oZDmZi-I8,4164
|
|
5
|
-
botocore-stubs/client.pyi,sha256=
|
|
6
|
-
botocore-stubs/compat.pyi,sha256=
|
|
5
|
+
botocore-stubs/client.pyi,sha256=oH50eguztVIW22UR0Bdb2_uc9x6FMeEEmHqkmFtDzss,6501
|
|
6
|
+
botocore-stubs/compat.pyi,sha256=0qbzwzP25Shx3qqg4iNMLoAA5-wKf3qK-VVLNgtVB8M,2701
|
|
7
7
|
botocore-stubs/compress.pyi,sha256=oY4mKCZfoUPbAhzxYjzQQdh7PMKYrzsLanVz9SRC60s,665
|
|
8
8
|
botocore-stubs/config.pyi,sha256=-g8MSC_w8fk_lQ9EZiRJB8D2IGVZ0kBqnJTWdugW7nY,3098
|
|
9
9
|
botocore-stubs/configloader.pyi,sha256=5sUsnqeN2TDL22KSMSCZOfzircr9xHGQxSB9-lFghDk,420
|
|
10
10
|
botocore-stubs/configprovider.pyi,sha256=ZDstAepWaKR0zrbqpNDoNuMSMO4L5tsGHNnvG4aDIQ8,4125
|
|
11
11
|
botocore-stubs/context.pyi,sha256=Qo3WqgcasKya9xhUbQ6D9e0nSMaLYoNzxu_DXc6YIl0,904
|
|
12
|
-
botocore-stubs/credentials.pyi,sha256=
|
|
12
|
+
botocore-stubs/credentials.pyi,sha256=4gBOHfB-XFHpPl4aQ4yBaT3wkiZ4caoIkaQqjMY6G48,12480
|
|
13
13
|
botocore-stubs/discovery.pyi,sha256=sxs2vcjXoUlOxRl4cdsaMd18rz46s--XlcGspLx44mE,2626
|
|
14
14
|
botocore-stubs/endpoint.pyi,sha256=Fk5d27-EJbd5oIH9NpZfIpmydrck-awzW5dV6VD7jsw,2518
|
|
15
15
|
botocore-stubs/endpoint_provider.pyi,sha256=9lEvReyiXEyG3H0kYAvctTv9VbL-1YRvDVbTjChGdWo,6233
|
|
16
16
|
botocore-stubs/errorfactory.pyi,sha256=aP6HK_mtXyH3gU10Q7VBYRsmEVQFmWdegDuG-iuMnEc,816
|
|
17
17
|
botocore-stubs/eventstream.pyi,sha256=zzQsEDUmS6JP2zDDxOm9x3qIFRSxINflAY72HmoCz-w,3568
|
|
18
18
|
botocore-stubs/exceptions.pyi,sha256=lEmuUmf4Nuvxw7ak_8DCqIeRchJ88W-qdPZGasa_ViY,21646
|
|
19
|
-
botocore-stubs/handlers.pyi,sha256=
|
|
19
|
+
botocore-stubs/handlers.pyi,sha256=yX5gP90VW40FBiseK3hUJ9aDFCWwHimdO_ittfETiGU,7797
|
|
20
20
|
botocore-stubs/history.pyi,sha256=dwdRDn3XSr3i4lZP1nKEekyJG1homWE35E-ooTShYRk,643
|
|
21
21
|
botocore-stubs/hooks.pyi,sha256=-mqYP_nlEjpbOx23T5PIg0BlIlHvsVVKEZt7R4CHkIE,3077
|
|
22
22
|
botocore-stubs/httpchecksum.pyi,sha256=K_qQHik82WWPY3VtgmU8NyGECUW20hBlr56mlspQc4Y,2841
|
|
@@ -25,7 +25,8 @@ botocore-stubs/loaders.pyi,sha256=jPZlFO_5qOUs8DS3REdUlYSCQ1nxct6-VY8os32eFZ4,20
|
|
|
25
25
|
botocore-stubs/model.pyi,sha256=WuDKt0gmq_fApmllWf_JwQn9bTFf3Bm6SEpylc7FN64,6931
|
|
26
26
|
botocore-stubs/monitoring.pyi,sha256=N_3pWVtt1KMAq52UWFrCtaVIW7Z4Rdub_Ji8jjpjyLg,2920
|
|
27
27
|
botocore-stubs/paginate.pyi,sha256=K4rLydRaj9U4kQyD5pHBC_cfbGZNVNGdYidqAH7cWYw,2314
|
|
28
|
-
botocore-stubs/parsers.pyi,sha256=
|
|
28
|
+
botocore-stubs/parsers.pyi,sha256=xC6qZHI9hIIMCcXnNEnDyxFjI0cUM9wQWdLGPcpBYV4,2843
|
|
29
|
+
botocore-stubs/plugin.pyi,sha256=NcwczuyfrB3_ffxJoda-MrbuiZLBBPIgzH1Huox-0lA,628
|
|
29
30
|
botocore-stubs/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
30
31
|
botocore-stubs/regions.pyi,sha256=_4F2Z9WHtQrys2OanQASK_HGDEJMlChajffvbhtWdUA,3732
|
|
31
32
|
botocore-stubs/response.pyi,sha256=BfotsuLLNwi8HG_sS8vsLDImWvUTxCm5wftqiSMh728,1170
|
|
@@ -34,10 +35,10 @@ botocore-stubs/serialize.pyi,sha256=Z3hPQBpBeADSYLlz-WumrGuT3hkUGCO04F96XUcevUY,
|
|
|
34
35
|
botocore-stubs/session.pyi,sha256=ZBeaJl-ZhqbREdnIw__bo6ooeWWTzLzA09T5dSI9txI,7005
|
|
35
36
|
botocore-stubs/signers.pyi,sha256=6e5Jf-K4wx7b_fgrQfJBfqsRjGZhXwqT_iQTt_e7O0A,4128
|
|
36
37
|
botocore-stubs/stub.pyi,sha256=aY60rHM5EhvH-MbUqL8Q0IMrd9ERHUIY0oGxrQZ1Zs8,1891
|
|
37
|
-
botocore-stubs/tokens.pyi,sha256=
|
|
38
|
+
botocore-stubs/tokens.pyi,sha256=WCud_DK7PKtWSIIaHWwn_XNSqcmG6C04YXce5EiLv6Y,1510
|
|
38
39
|
botocore-stubs/translate.pyi,sha256=H-HiVmWZZEPdD9xc49sS-QLhXoPeOGWhASwJbuxcUhU,491
|
|
39
40
|
botocore-stubs/useragent.pyi,sha256=jaeTQfWy9nmUERrQjXCRmRAH90WOViDdYeLCvg8JGL8,1763
|
|
40
|
-
botocore-stubs/utils.pyi,sha256
|
|
41
|
+
botocore-stubs/utils.pyi,sha256=325pqbKyEuBUbogbdPTYhvsHluVGuUl0Oh2C-uH5HAo,14548
|
|
41
42
|
botocore-stubs/validate.pyi,sha256=MU0Kov9nrH1FMG2XTEpcvQhcKJIWB5SXNG8Y2O_0GOo,1284
|
|
42
43
|
botocore-stubs/waiter.pyi,sha256=6KipYNT-vx-Vg3h2zKq1eVU_LrOVxAt_qn86IreC0vQ,1687
|
|
43
44
|
botocore-stubs/crt/__init__.pyi,sha256=37HBtXm11YTFxQAu5exKmHiq1t0WHC3fmC2O9DgIFD0,130
|
|
@@ -67,8 +68,8 @@ botocore-stubs/retries/quota.pyi,sha256=Z4sBLvnNBtnNE0JV_cHbhLDWGjQYdRyLR0bDG5dR
|
|
|
67
68
|
botocore-stubs/retries/special.pyi,sha256=mEmYwXUqdWtpKoxOO0-DZ-lrc91le_WmdO8X4j_UQ1A,530
|
|
68
69
|
botocore-stubs/retries/standard.pyi,sha256=GzEKonxr8ircu3ZNKA1fNuC2VP4BFYwlDj8QGx7bmww,4478
|
|
69
70
|
botocore-stubs/retries/throttling.pyi,sha256=mpd__xuiUjY4Uc8ocquxgD_D2azuXOtBs1J-XoObvwE,582
|
|
70
|
-
botocore_stubs-1.
|
|
71
|
-
botocore_stubs-1.
|
|
72
|
-
botocore_stubs-1.
|
|
73
|
-
botocore_stubs-1.
|
|
74
|
-
botocore_stubs-1.
|
|
71
|
+
botocore_stubs-1.40.22.dist-info/licenses/LICENSE,sha256=YIdUJ_cFRZScLZQFyRT_O8yCCxXFhFKmXaqgDpe3rpM,1071
|
|
72
|
+
botocore_stubs-1.40.22.dist-info/METADATA,sha256=OqAiLe9_tLeEdGJQ57V8ZOW56TfaDhSQDaXfAs7reBk,4630
|
|
73
|
+
botocore_stubs-1.40.22.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
74
|
+
botocore_stubs-1.40.22.dist-info/top_level.txt,sha256=hB4vH6fIntn8CrZExgrgxRrlukQb06YRGFcOvWZ2th8,15
|
|
75
|
+
botocore_stubs-1.40.22.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|