botocore-stubs 1.36.25__py3-none-any.whl → 1.37.1__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 +5 -1
- botocore-stubs/credentials.pyi +16 -3
- botocore-stubs/session.pyi +6 -1
- {botocore_stubs-1.36.25.dist-info → botocore_stubs-1.37.1.dist-info}/METADATA +1 -1
- {botocore_stubs-1.36.25.dist-info → botocore_stubs-1.37.1.dist-info}/RECORD +8 -8
- {botocore_stubs-1.36.25.dist-info → botocore_stubs-1.37.1.dist-info}/WHEEL +1 -1
- {botocore_stubs-1.36.25.dist-info → botocore_stubs-1.37.1.dist-info}/LICENSE +0 -0
- {botocore_stubs-1.36.25.dist-info → botocore_stubs-1.37.1.dist-info}/top_level.txt +0 -0
botocore-stubs/args.pyi
CHANGED
|
@@ -5,11 +5,12 @@ Copyright 2025 Vlad Emelianov
|
|
|
5
5
|
"""
|
|
6
6
|
|
|
7
7
|
from logging import Logger
|
|
8
|
-
from typing import Any, Mapping, TypedDict
|
|
8
|
+
from typing import Any, Literal, Mapping, TypedDict
|
|
9
9
|
|
|
10
10
|
from botocore.client import ClientEndpointBridge
|
|
11
11
|
from botocore.config import Config as Config
|
|
12
12
|
from botocore.configprovider import ConfigValueStore
|
|
13
|
+
from botocore.credentials import Credentials
|
|
13
14
|
from botocore.endpoint import Endpoint
|
|
14
15
|
from botocore.endpoint import EndpointCreator as EndpointCreator
|
|
15
16
|
from botocore.errorfactory import ClientExceptionsFactory
|
|
@@ -29,6 +30,7 @@ USERAGENT_APPID_MAXLEN: int = ...
|
|
|
29
30
|
VALID_REQUEST_CHECKSUM_CALCULATION_CONFIG: tuple[str, ...] = ...
|
|
30
31
|
VALID_RESPONSE_CHECKSUM_VALIDATION_CONFIG: tuple[str, ...] = ...
|
|
31
32
|
PRIORITY_ORDERED_SUPPORTED_PROTOCOLS: tuple[str, ...] = ...
|
|
33
|
+
VALID_ACCOUNT_ID_ENDPOINT_MODE_CONFIG: tuple[str, ...] = ...
|
|
32
34
|
|
|
33
35
|
class _GetClientArgsTypeDef(TypedDict):
|
|
34
36
|
serializer: BaseRestSerializer
|
|
@@ -87,4 +89,6 @@ class ClientArgsCreator:
|
|
|
87
89
|
endpoint_bridge: ClientEndpointBridge,
|
|
88
90
|
client_endpoint_url: str,
|
|
89
91
|
legacy_endpoint_url: str,
|
|
92
|
+
credentials: Credentials | None,
|
|
93
|
+
account_id_endpoint_mode: Literal["preferred", "disabled", "required"] | None,
|
|
90
94
|
) -> dict[str, Any]: ...
|
botocore-stubs/credentials.pyi
CHANGED
|
@@ -34,9 +34,10 @@ _R = TypeVar("_R")
|
|
|
34
34
|
logger: Logger = ...
|
|
35
35
|
|
|
36
36
|
class ReadOnlyCredentials(NamedTuple):
|
|
37
|
-
access_key: str
|
|
38
|
-
secret_key: str
|
|
39
|
-
token: str
|
|
37
|
+
access_key: str | None
|
|
38
|
+
secret_key: str | None
|
|
39
|
+
token: str | None
|
|
40
|
+
account_id: str | None = ...
|
|
40
41
|
|
|
41
42
|
def create_credential_resolver(
|
|
42
43
|
session: Session,
|
|
@@ -67,6 +68,7 @@ class Credentials:
|
|
|
67
68
|
secret_key: str,
|
|
68
69
|
token: str | None = ...,
|
|
69
70
|
method: str | None = ...,
|
|
71
|
+
account_id: str | None = ...,
|
|
70
72
|
) -> None:
|
|
71
73
|
self.access_key: str = ...
|
|
72
74
|
self.secret_key: str = ...
|
|
@@ -74,6 +76,7 @@ class Credentials:
|
|
|
74
76
|
self.method: str = ...
|
|
75
77
|
|
|
76
78
|
def get_frozen_credentials(self) -> ReadOnlyCredentials: ...
|
|
79
|
+
def get_deferred_property(self, property_name: str) -> Callable[[], str | None]: ...
|
|
77
80
|
|
|
78
81
|
class RefreshableCredentials(Credentials):
|
|
79
82
|
method: Any = ...
|
|
@@ -88,6 +91,7 @@ class RefreshableCredentials(Credentials):
|
|
|
88
91
|
time_fetcher: Callable[[], datetime.datetime] | None = ...,
|
|
89
92
|
advisory_timeout: int | None = ...,
|
|
90
93
|
mandatory_timeout: int | None = ...,
|
|
94
|
+
account_id: str | None = ...,
|
|
91
95
|
) -> None: ...
|
|
92
96
|
@classmethod
|
|
93
97
|
def create_from_metadata(
|
|
@@ -110,6 +114,10 @@ class RefreshableCredentials(Credentials):
|
|
|
110
114
|
def token(self) -> str: ... # type: ignore [override]
|
|
111
115
|
@token.setter
|
|
112
116
|
def token(self, value: str) -> None: ...
|
|
117
|
+
@property
|
|
118
|
+
def account_id(self) -> str: ...
|
|
119
|
+
@account_id.setter
|
|
120
|
+
def account_id(self, value: str) -> None: ...
|
|
113
121
|
def refresh_needed(self, refresh_in: int | None = ...) -> bool: ...
|
|
114
122
|
def get_frozen_credentials(self) -> ReadOnlyCredentials: ...
|
|
115
123
|
|
|
@@ -178,6 +186,8 @@ class ProcessProvider(CredentialProvider):
|
|
|
178
186
|
self, profile_name: str, load_config: Callable[..., Any], popen: Callable[..., Any] = ...
|
|
179
187
|
) -> None: ...
|
|
180
188
|
def load(self) -> Credentials | None: ...
|
|
189
|
+
@property
|
|
190
|
+
def profile_config(self) -> dict[str, Any]: ...
|
|
181
191
|
|
|
182
192
|
class InstanceMetadataProvider(CredentialProvider):
|
|
183
193
|
METHOD: str = ...
|
|
@@ -192,6 +202,7 @@ class EnvProvider(CredentialProvider):
|
|
|
192
202
|
SECRET_KEY: str = ...
|
|
193
203
|
TOKENS: list[str] = ...
|
|
194
204
|
EXPIRY_TIME: str = ...
|
|
205
|
+
ACCOUNT_ID: str = ...
|
|
195
206
|
def __init__(
|
|
196
207
|
self, environ: Mapping[str, Any] | None = ..., mapping: Mapping[str, Any] | None = ...
|
|
197
208
|
) -> None:
|
|
@@ -216,6 +227,7 @@ class SharedCredentialProvider(CredentialProvider):
|
|
|
216
227
|
ACCESS_KEY: str = ...
|
|
217
228
|
SECRET_KEY: str = ...
|
|
218
229
|
TOKENS: list[str] = ...
|
|
230
|
+
ACCOUNT_ID: str = ...
|
|
219
231
|
def __init__(
|
|
220
232
|
self,
|
|
221
233
|
creds_filename: str,
|
|
@@ -230,6 +242,7 @@ class ConfigProvider(CredentialProvider):
|
|
|
230
242
|
ACCESS_KEY: str = ...
|
|
231
243
|
SECRET_KEY: str = ...
|
|
232
244
|
TOKENS: list[str] = ...
|
|
245
|
+
ACCOUNT_ID: str = ...
|
|
233
246
|
def __init__(
|
|
234
247
|
self,
|
|
235
248
|
config_filename: str,
|
botocore-stubs/session.pyi
CHANGED
|
@@ -70,7 +70,11 @@ class Session:
|
|
|
70
70
|
def get_default_client_config(self) -> Config: ...
|
|
71
71
|
def set_default_client_config(self, client_config: Config) -> None: ...
|
|
72
72
|
def set_credentials(
|
|
73
|
-
self,
|
|
73
|
+
self,
|
|
74
|
+
access_key: str,
|
|
75
|
+
secret_key: str,
|
|
76
|
+
token: str | None = ...,
|
|
77
|
+
account_id: str | None = ...,
|
|
74
78
|
) -> None: ...
|
|
75
79
|
def get_credentials(self) -> Credentials: ...
|
|
76
80
|
def get_auth_token(self) -> FrozenAuthToken: ...
|
|
@@ -127,6 +131,7 @@ class Session:
|
|
|
127
131
|
aws_secret_access_key: str | None = ...,
|
|
128
132
|
aws_session_token: str | None = ...,
|
|
129
133
|
config: Config | None = ...,
|
|
134
|
+
aws_account_id: str | None = ...,
|
|
130
135
|
) -> BaseClient: ...
|
|
131
136
|
def get_available_partitions(self) -> list[str]: ...
|
|
132
137
|
def get_partition_for_region(self, region_name: str) -> str: ...
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
botocore-stubs/__init__.pyi,sha256=jI0asMgIMYYFngWKCInfwa2GbX6TzXL2FhU9S6j-tIo,657
|
|
2
|
-
botocore-stubs/args.pyi,sha256=
|
|
2
|
+
botocore-stubs/args.pyi,sha256=BMlJLqQpCayPO0MyhjOzgLrlOx5QN1oYVpqHlk8uuL8,3366
|
|
3
3
|
botocore-stubs/auth.pyi,sha256=5ppwiiwAAcG6p_Elv6dfnBIIU_fpFjdFUf2kIiNmDv4,5403
|
|
4
4
|
botocore-stubs/awsrequest.pyi,sha256=FK47c-6DyEde-1bS6Yw7TO5A6chLr4IJitQKtnQQSAM,4164
|
|
5
5
|
botocore-stubs/client.pyi,sha256=0gx6AVs03z0zChrqJrH5hRz1I8OvZ2WrVbDtDqhDLX4,6400
|
|
@@ -8,7 +8,7 @@ botocore-stubs/compress.pyi,sha256=UVTu6kMbNgEvkoMxQOh5Evvs02chZRWEUIRf9yiX4-8,6
|
|
|
8
8
|
botocore-stubs/config.pyi,sha256=rFj078PwNbDSfGVX_4h39GzA-MSVE7L4WJ9Vn8_eKaY,2392
|
|
9
9
|
botocore-stubs/configloader.pyi,sha256=5sUsnqeN2TDL22KSMSCZOfzircr9xHGQxSB9-lFghDk,420
|
|
10
10
|
botocore-stubs/configprovider.pyi,sha256=EBOOazu-XW8L2va5jQgtU0p4ka7WZysBOKHGYr-bVV4,4098
|
|
11
|
-
botocore-stubs/credentials.pyi,sha256=
|
|
11
|
+
botocore-stubs/credentials.pyi,sha256=tG_N7e9ZpeDbvluYt2CWIL21OZQxMY6Zyty3AFhToGI,12384
|
|
12
12
|
botocore-stubs/discovery.pyi,sha256=DX-fiohqycVU0N_d7D3uj3dkrvQfMDt50-ebS_49HsY,2599
|
|
13
13
|
botocore-stubs/endpoint.pyi,sha256=tNCOVKobczeE01fSxVDQGJ15IhS1BYPNycXXGu7dULE,2491
|
|
14
14
|
botocore-stubs/endpoint_provider.pyi,sha256=YSY3zNAhhiG2ZJP6UmCr9lSkM1hsqmg6CUquHICcgWg,6204
|
|
@@ -30,7 +30,7 @@ botocore-stubs/regions.pyi,sha256=NK4SXXHcLXHyXCxfS4hPltzczgp4r04CBX3M-Ub26Pk,37
|
|
|
30
30
|
botocore-stubs/response.pyi,sha256=_c3q3au_j8qS5U8IhWoUBij1GN9MTHaO5ruVFyh-aKI,1094
|
|
31
31
|
botocore-stubs/retryhandler.pyi,sha256=Cs-o_YAClhO5OjjXdnFIkdSJ0e1QEj_eV3Un14E5uJg,2573
|
|
32
32
|
botocore-stubs/serialize.pyi,sha256=sPC8LZsOIcvgkDQ4D93h338osp94nDKrgLlaCyxCUa8,1799
|
|
33
|
-
botocore-stubs/session.pyi,sha256=
|
|
33
|
+
botocore-stubs/session.pyi,sha256=45eCtM3IglBH6VNwVMgMNb2BnNC0naoh29cEJJ0Tyx0,7005
|
|
34
34
|
botocore-stubs/signers.pyi,sha256=VYVOFRUgawzQMNsIgH5qS326ij4ME0gd8k2Sm83tglM,4101
|
|
35
35
|
botocore-stubs/stub.pyi,sha256=Hfqwm-GVB9B5EjVN6rOF32JL853o-VgQmZAJ4u_4B4M,1864
|
|
36
36
|
botocore-stubs/tokens.pyi,sha256=ZAThKjVxhzUcDWGgoFextnmIlEWSO9Y27h8XpUjHNr8,1255
|
|
@@ -66,8 +66,8 @@ botocore-stubs/retries/quota.pyi,sha256=Z4sBLvnNBtnNE0JV_cHbhLDWGjQYdRyLR0bDG5dR
|
|
|
66
66
|
botocore-stubs/retries/special.pyi,sha256=mEmYwXUqdWtpKoxOO0-DZ-lrc91le_WmdO8X4j_UQ1A,530
|
|
67
67
|
botocore-stubs/retries/standard.pyi,sha256=lpCPzzpy-PwwnPJhHi7BdBKODVTSnv4nxTsDZPtlAS8,4451
|
|
68
68
|
botocore-stubs/retries/throttling.pyi,sha256=mpd__xuiUjY4Uc8ocquxgD_D2azuXOtBs1J-XoObvwE,582
|
|
69
|
-
botocore_stubs-1.
|
|
70
|
-
botocore_stubs-1.
|
|
71
|
-
botocore_stubs-1.
|
|
72
|
-
botocore_stubs-1.
|
|
73
|
-
botocore_stubs-1.
|
|
69
|
+
botocore_stubs-1.37.1.dist-info/LICENSE,sha256=YIdUJ_cFRZScLZQFyRT_O8yCCxXFhFKmXaqgDpe3rpM,1071
|
|
70
|
+
botocore_stubs-1.37.1.dist-info/METADATA,sha256=TGePzEnqb5sulmmm57tFRfcMSzIB19l_8nUwMVOpPOI,4657
|
|
71
|
+
botocore_stubs-1.37.1.dist-info/WHEEL,sha256=nn6H5-ilmfVryoAQl3ZQ2l8SH5imPWFpm1A5FgEuFV4,91
|
|
72
|
+
botocore_stubs-1.37.1.dist-info/top_level.txt,sha256=hB4vH6fIntn8CrZExgrgxRrlukQb06YRGFcOvWZ2th8,15
|
|
73
|
+
botocore_stubs-1.37.1.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|