botocore-stubs 1.35.54__py3-none-any.whl → 1.35.58__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 CHANGED
@@ -14,6 +14,7 @@ from botocore.parsers import ResponseParser, ResponseParserFactory
14
14
  from botocore.serialize import BaseRestSerializer
15
15
  from botocore.signers import RequestSigner as RequestSigner
16
16
  from botocore.useragent import UserAgentString
17
+ from botocore.errorfactory import ClientExceptionsFactory
17
18
 
18
19
  if sys.version_info >= (3, 9):
19
20
  from typing import TypedDict
@@ -36,16 +37,16 @@ class _GetClientArgsTypeDef(TypedDict):
36
37
  loader: Loader
37
38
  client_config: Config
38
39
  partition: Optional[str]
39
- exceptions_factory: Any
40
+ exceptions_factory: ClientExceptionsFactory
40
41
 
41
42
  class ClientArgsCreator:
42
43
  def __init__(
43
44
  self,
44
45
  event_emitter: BaseEventHooks,
45
- user_agent: Any,
46
+ user_agent: str,
46
47
  response_parser_factory: ResponseParserFactory,
47
48
  loader: Loader,
48
- exceptions_factory: Any,
49
+ exceptions_factory: ClientExceptionsFactory,
49
50
  config_store: ConfigValueStore,
50
51
  user_agent_creator: Optional[UserAgentString] = ...,
51
52
  ) -> None: ...
@@ -48,7 +48,7 @@ def prepare_request_dict(
48
48
  request_dict: Mapping[str, Any],
49
49
  endpoint_url: str,
50
50
  context: Optional[Any] = ...,
51
- user_agent: Optional[Any] = ...,
51
+ user_agent: Optional[str] = ...,
52
52
  ) -> None: ...
53
53
  def create_request_object(request_dict: Mapping[str, Any]) -> Any: ...
54
54
 
botocore-stubs/client.pyi CHANGED
@@ -5,6 +5,7 @@ from botocore.args import ClientArgsCreator as ClientArgsCreator
5
5
  from botocore.auth import AUTH_TYPE_MAPS as AUTH_TYPE_MAPS
6
6
  from botocore.awsrequest import prepare_request_dict as prepare_request_dict
7
7
  from botocore.config import Config as Config
8
+ from botocore.configprovider import ConfigValueStore
8
9
  from botocore.discovery import EndpointDiscoveryHandler as EndpointDiscoveryHandler
9
10
  from botocore.discovery import EndpointDiscoveryManager as EndpointDiscoveryManager
10
11
  from botocore.discovery import (
@@ -39,6 +40,7 @@ from botocore.utils import S3RegionRedirector as S3RegionRedirector
39
40
  from botocore.utils import ensure_boolean as ensure_boolean
40
41
  from botocore.utils import get_service_module_name as get_service_module_name
41
42
  from botocore.waiter import Waiter
43
+ from botocore.errorfactory import ClientExceptionsFactory
42
44
 
43
45
  logger: Logger = ...
44
46
  history_recorder: HistoryRecorder = ...
@@ -53,8 +55,8 @@ class ClientCreator:
53
55
  retry_handler_factory: Any,
54
56
  retry_config_translator: Any,
55
57
  response_parser_factory: Optional[Any] = ...,
56
- exceptions_factory: Optional[Any] = ...,
57
- config_store: Optional[Any] = ...,
58
+ exceptions_factory: Optional[ClientExceptionsFactory] = ...,
59
+ config_store: Optional[ConfigValueStore] = ...,
58
60
  user_agent_creator: Optional[UserAgentString] = ...,
59
61
  ) -> None: ...
60
62
  def create_client(
@@ -81,7 +83,7 @@ class ClientEndpointBridge:
81
83
  client_config: Optional[Any] = ...,
82
84
  default_endpoint: Optional[str] = ...,
83
85
  service_signing_name: Optional[str] = ...,
84
- config_store: Any = ...,
86
+ config_store: Optional[ConfigValueStore] = ...,
85
87
  service_signature_version: Optional[str] = ...,
86
88
  ) -> None:
87
89
  self.service_signing_name: str
@@ -89,7 +91,7 @@ class ClientEndpointBridge:
89
91
  self.scoped_config: Any
90
92
  self.client_config: Any
91
93
  self.default_endpoint: str
92
- self.config_store: Any
94
+ self.config_store: ConfigValueStore
93
95
 
94
96
  def resolve(
95
97
  self,
@@ -112,7 +114,7 @@ class BaseClient:
112
114
  loader: Loader,
113
115
  client_config: Config,
114
116
  partition: str,
115
- exceptions_factory: Any,
117
+ exceptions_factory: ClientExceptionsFactory,
116
118
  endpoint_ruleset_resolver: Optional[EndpointRulesetResolver] = ...,
117
119
  user_agent_creator: Optional[UserAgentString] = ...,
118
120
  ) -> None:
@@ -41,6 +41,7 @@ class DocumentStructure(ReSTDocument):
41
41
  def context(self) -> Dict[str, Any]: ...
42
42
  def add_new_section(self, name: str, context: Any = ...) -> Any: ...
43
43
  def get_section(self, name: str) -> Any: ...
44
+ def has_section(self, name: str) -> bool: ...
44
45
  def delete_section(self, name: str) -> None: ...
45
46
  def flush_structure(self, docs_link: Optional[str] = ...) -> bytes: ...
46
47
  def getvalue(self) -> bytes: ...
@@ -1,5 +1,5 @@
1
1
  from logging import Logger
2
- from typing import Any, Dict, Mapping, Pattern, Tuple
2
+ from typing import Any, Dict, List, Mapping, Pattern, Tuple
3
3
  from urllib.request import Request
4
4
 
5
5
  from botocore.client import BaseClient
@@ -12,6 +12,7 @@ from botocore.compat import unquote as unquote
12
12
  from botocore.compat import unquote_str as unquote_str
13
13
  from botocore.compat import urlsplit as urlsplit
14
14
  from botocore.compat import urlunsplit as urlunsplit
15
+ from botocore.docs.bcdoc.restdoc import DocumentStructure
15
16
  from botocore.exceptions import AliasConflictParameterError as AliasConflictParameterError
16
17
  from botocore.exceptions import MissingServiceIdError as MissingServiceIdError
17
18
  from botocore.exceptions import ParamValidationError as ParamValidationError
@@ -136,5 +137,15 @@ def customize_endpoint_resolver_builtins(
136
137
  **kwargs: Any,
137
138
  ) -> None: ...
138
139
  def remove_content_type_header_for_presigning(request: Request, **kwargs: Any) -> None: ...
140
+ def handle_expires_header(
141
+ operation_model: OperationModel,
142
+ response_dict: Mapping[str, Any],
143
+ customized_response_dict: Dict[str, Any],
144
+ **kwargs: Any,
145
+ ) -> None: ...
146
+ def document_expires_shape(section: DocumentStructure, event_name: str, **kwargs: Any) -> None: ...
147
+ def add_query_compatibility_header(
148
+ model: OperationModel, params: Dict[str, Any], **kwargs: Any
149
+ ) -> None: ...
139
150
 
140
- BUILTIN_HANDLERS: Any
151
+ BUILTIN_HANDLERS: List[Tuple[Any, ...]] = ...
botocore-stubs/model.pyi CHANGED
@@ -116,6 +116,8 @@ class ServiceModel:
116
116
  def signature_version(self) -> str: ...
117
117
  @signature_version.setter
118
118
  def signature_version(self, value: str) -> None: ...
119
+ @CachedProperty
120
+ def is_query_compatible(self) -> bool: ...
119
121
 
120
122
  class OperationModel:
121
123
  def __init__(
@@ -61,6 +61,8 @@ class EndpointResolverBuiltins(Enum):
61
61
  AWS_S3CONTROL_USE_ARN_REGION: str
62
62
  AWS_S3_DISABLE_MRAP: str
63
63
  SDK_ENDPOINT: str
64
+ ACCOUNT_ID: str
65
+ ACCOUNT_ID_ENDPOINT_MODE: str
64
66
 
65
67
  class EndpointRulesetResolver:
66
68
  def __init__(
botocore-stubs/utils.pyi CHANGED
@@ -107,7 +107,7 @@ class IMDSFetcher:
107
107
  num_attempts: int = ...,
108
108
  base_url: str = ...,
109
109
  env: Optional[Any] = ...,
110
- user_agent: Optional[Any] = ...,
110
+ user_agent: Optional[str] = ...,
111
111
  config: Optional[Any] = ...,
112
112
  ) -> None: ...
113
113
  def get_base_url(self) -> str: ...
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: botocore-stubs
3
- Version: 1.35.54
3
+ Version: 1.35.58
4
4
  Summary: Type annotations and code completion for botocore
5
5
  Author-email: Vlad Emelianov <vlad.emelianov.nz@gmail.com>
6
6
  License: MIT License
@@ -43,6 +43,7 @@ Classifier: Programming Language :: Python :: 3.10
43
43
  Classifier: Programming Language :: Python :: 3.11
44
44
  Classifier: Programming Language :: Python :: 3.12
45
45
  Classifier: Programming Language :: Python :: 3.13
46
+ Classifier: Programming Language :: Python :: 3.14
46
47
  Classifier: Programming Language :: Python :: 3 :: Only
47
48
  Classifier: Programming Language :: Python :: Implementation :: CPython
48
49
  Classifier: Typing :: Stubs Only
@@ -1,8 +1,8 @@
1
1
  botocore-stubs/__init__.pyi,sha256=KwFA19P5TNiNKq_nQjiqDz4-umtoaug7PNWY3VjVY8Y,586
2
- botocore-stubs/args.pyi,sha256=e3cUgaHGN-DssT2R0--Xa9jaF2y2z9JSTClRpHPy6eQ,2923
2
+ botocore-stubs/args.pyi,sha256=9-ym3t9fAN9wfFAIKMyCv07HymnlMuNWLLER9hG2BkA,3021
3
3
  botocore-stubs/auth.pyi,sha256=nJ3mF1liXwWLsv7p6i6CDvwM8-qk9I4ESLNYVBepP-c,5231
4
- botocore-stubs/awsrequest.pyi,sha256=S97jiNSn9oUOEGTw2gXWx34KAtoGvKUuWkZ3DP3e2Q4,4063
5
- botocore-stubs/client.pyi,sha256=NS_IoDpOCxdQ4F2_yUxbMp3nE5_kq9CVkyFc_Iy1DQc,6013
4
+ botocore-stubs/awsrequest.pyi,sha256=g9-_6WJYSs3va-BLvUPcTFVmkcobExdbgnpSO_J5kBg,4063
5
+ botocore-stubs/client.pyi,sha256=vwsly8rcvAvDDlred0TG8a9pvDeMDMKjYPON8EHkoFo,6213
6
6
  botocore-stubs/compat.pyi,sha256=iVtMghzNTPffVMvlCtKDI82lHW9KrFM9jfUcDgltTrU,2300
7
7
  botocore-stubs/compress.pyi,sha256=ruaxxZH6jXGB05RHe81k9Rx3hewTcAhrzdwrlS6iYaU,600
8
8
  botocore-stubs/config.pyi,sha256=iR2yySZX_F9KxY0cM5DjhcJ4GwtSTtioezi_im9CleA,2556
@@ -15,18 +15,18 @@ botocore-stubs/endpoint_provider.pyi,sha256=TsXP2DZJK0LwbJUrsk7Qycj0MNuYao2VQxLx
15
15
  botocore-stubs/errorfactory.pyi,sha256=hm3sTAznyj_iY5xy7_KCxPzZV3GnWUacqfDctvHgYDs,708
16
16
  botocore-stubs/eventstream.pyi,sha256=hg0tOkbNBOXRBUP1sqLQExhPF7CX628c6LYtMrUjyAY,3464
17
17
  botocore-stubs/exceptions.pyi,sha256=YeC53BaXhaS886Yn4bqO72lOel3L7Bxx76KSC0GDXbc,21546
18
- botocore-stubs/handlers.pyi,sha256=b4fyGR7-7Tae_zcuTVKeiei5S4x7hPtzEIzCIK_MdWc,7074
18
+ botocore-stubs/handlers.pyi,sha256=i2SpLVgkKtG5D-gOAkehqTGhvOUq3rKiERXvniLAhVo,7560
19
19
  botocore-stubs/history.pyi,sha256=NMhK1CDY1wna-0byOqZzaAWhhuaGw66YDv4Lz_FvvLE,570
20
20
  botocore-stubs/hooks.pyi,sha256=tYUWY1bJQ9PI-VWYQu9FiMAAuNuOFBlHoGBinkmWjkk,2841
21
21
  botocore-stubs/httpchecksum.pyi,sha256=QrUqoQQqkI7HNHX-F74bW6bryNvSOaQLza3H0oYPc9E,2741
22
22
  botocore-stubs/httpsession.pyi,sha256=9FqhZ_pulehZj9qjC3evAEM1wSHHSGVPS12bEhcmicE,2343
23
23
  botocore-stubs/loaders.pyi,sha256=iMzxhDtNbk-CncJb9toKMj2d86mg7Ro34bBft_o5t0c,2007
24
- botocore-stubs/model.pyi,sha256=yevpXhi5DZHZD4x_XO3TvedArRNA0IYPkCR-GfX8GxE,6647
24
+ botocore-stubs/model.pyi,sha256=nlYxiXDYTlXr4ukSuaSdwwgmDfAkTj6Ld8yQkoz3mUU,6714
25
25
  botocore-stubs/monitoring.pyi,sha256=7u4CrUCYRE_Cc5hgXbD-FI--OcfNk4AmZ-bAph7yX0w,2885
26
26
  botocore-stubs/paginate.pyi,sha256=ZkbNI0a8P4r40jl5JfRr7nJPukrSYNUeiWECrmRSPvo,1777
27
27
  botocore-stubs/parsers.pyi,sha256=jKaNPfMOsWAkV7G1uu2VbVO5CKi-Tp45E1lTJVCy4V0,2099
28
28
  botocore-stubs/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
29
- botocore-stubs/regions.pyi,sha256=28srq_27BRLGYRv9umUIneO-xLvTBNljrYQgKljTqB4,3252
29
+ botocore-stubs/regions.pyi,sha256=ZTPFC5RcmKv1a7puS7vjEr6SZ92w1yFpYUlI_uSKp-c,3306
30
30
  botocore-stubs/response.pyi,sha256=Uq3kSBI8SO5AJNq5NwVYaxEup20ZbSuYzUs5rJjqCJU,1033
31
31
  botocore-stubs/retryhandler.pyi,sha256=ntaX5StOw10g5oiCetNkE4F8d0DYlMPfziOyAEbm9lY,2522
32
32
  botocore-stubs/serialize.pyi,sha256=Qbdq8GADYRkv5KaOS1p6C3WAh0rGuW8MiT9OL5wKNwk,1717
@@ -36,7 +36,7 @@ botocore-stubs/stub.pyi,sha256=dQwDokOAEb2hLCQPyQ5Bq_BD0QFyyyRCKAl73Kbshso,1934
36
36
  botocore-stubs/tokens.pyi,sha256=dnv93uN3lIyyWkmTbvW05R0T9Tb40pYXlKyro-v8z64,1198
37
37
  botocore-stubs/translate.pyi,sha256=0VD5IQFJ-BHD8VIN9A-VdnzDCtMR82DqZal_xSAPjX4,310
38
38
  botocore-stubs/useragent.pyi,sha256=todcxeNhOXoYwx7lhVDCWXJxAx-c4NyM0k9_zItFzOI,1185
39
- botocore-stubs/utils.pyi,sha256=TN-XSF8nhRpMY4AAMmtyU9Xjf9qgLukEYz_ZmzncslU,14012
39
+ botocore-stubs/utils.pyi,sha256=hmMyVkWuWJ507KjAMaiSfwCdysmYX7ENLvbLyeTg_eY,14012
40
40
  botocore-stubs/validate.pyi,sha256=HTvAiEdyqyNXhyuDEHUhtQsPOOHACvbA-m7sUE3Ef4Q,1172
41
41
  botocore-stubs/waiter.pyi,sha256=-imMz_PRyCWtVzwp8wBpP2T1gT6XbWGmLhQ4oiUFtYA,1591
42
42
  botocore-stubs/crt/__init__.pyi,sha256=ld7WjrC97qu1EHKIt8Ywq6yEQmUd43L474mBVDMtzZk,74
@@ -56,7 +56,7 @@ botocore-stubs/docs/utils.pyi,sha256=UaQv6CgQDATKKaEXebIayNl-OVwVjgcotk3QAz7mgzg
56
56
  botocore-stubs/docs/waiter.pyi,sha256=Ow2LvaTFCYKQZP2fB_FhkHVnWacbZbycwgphb-MjD5g,618
57
57
  botocore-stubs/docs/bcdoc/__init__.pyi,sha256=0GyZC5T8JbNLi4sOLVd1EJfsENhy4uFyQTmVEoOVwio,23
58
58
  botocore-stubs/docs/bcdoc/docstringparser.pyi,sha256=Aw_8g6Z21nAGTgUsg-rbpusQpw0gxwwAcEreM0tNs0k,2119
59
- botocore-stubs/docs/bcdoc/restdoc.pyi,sha256=OmnPteqKUglOEDSEv8OipHLjYqqkztTI7hH5p9HDqFM,1839
59
+ botocore-stubs/docs/bcdoc/restdoc.pyi,sha256=Lr_S7QIsvu96-ply-6mmT-nUUbzedcsVPpXuflJcQrc,1889
60
60
  botocore-stubs/docs/bcdoc/style.pyi,sha256=1qe5RNUxTF5ttnvSN1ih1lDjbrLI2TjrLu2GTIWAjvs,4163
61
61
  botocore-stubs/retries/__init__.pyi,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
62
62
  botocore-stubs/retries/adaptive.pyi,sha256=ky-5U8PwK6sJK9MyXvtP4nmgptvFksr4XTthZ_aAQDY,916
@@ -66,8 +66,8 @@ botocore-stubs/retries/quota.pyi,sha256=L3mH_JKJBKtRqTF6aBXnAo6ZfC5CgO3Got1MVnvA
66
66
  botocore-stubs/retries/special.pyi,sha256=CNzWVCfUjWXmiMH-s9w6UDF0qDHniIQ-IdzAlbPq5hQ,367
67
67
  botocore-stubs/retries/standard.pyi,sha256=QQGtCbC8TSbAorWXmjwUp1OSQ3Pf3NYgb19FQlD4UI0,4266
68
68
  botocore-stubs/retries/throttling.pyi,sha256=9CjqK2oro8ddPB-vW0_X-LK7O9gosJjY66hoFdJRIwo,485
69
- botocore_stubs-1.35.54.dist-info/LICENSE,sha256=YIdUJ_cFRZScLZQFyRT_O8yCCxXFhFKmXaqgDpe3rpM,1071
70
- botocore_stubs-1.35.54.dist-info/METADATA,sha256=kMZy-B92xerC0NDumaDPaznJRTMEqfcUFpmUds_9W4Q,4616
71
- botocore_stubs-1.35.54.dist-info/WHEEL,sha256=P9jw-gEje8ByB7_hXoICnHtVCrEwMQh-630tKvQWehc,91
72
- botocore_stubs-1.35.54.dist-info/top_level.txt,sha256=hB4vH6fIntn8CrZExgrgxRrlukQb06YRGFcOvWZ2th8,15
73
- botocore_stubs-1.35.54.dist-info/RECORD,,
69
+ botocore_stubs-1.35.58.dist-info/LICENSE,sha256=YIdUJ_cFRZScLZQFyRT_O8yCCxXFhFKmXaqgDpe3rpM,1071
70
+ botocore_stubs-1.35.58.dist-info/METADATA,sha256=3f9XLAVLMFcGMLlU1b46oUO8fGDT20MukVkMCY2hZZw,4667
71
+ botocore_stubs-1.35.58.dist-info/WHEEL,sha256=a7TGlA-5DaHMRrarXjVbQagU3Man_dCnGIWMJr5kRWo,91
72
+ botocore_stubs-1.35.58.dist-info/top_level.txt,sha256=hB4vH6fIntn8CrZExgrgxRrlukQb06YRGFcOvWZ2th8,15
73
+ botocore_stubs-1.35.58.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: setuptools (75.3.0)
2
+ Generator: setuptools (75.4.0)
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
5
5