boto3-stubs 1.35.70__py3-none-any.whl → 1.35.72__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.
Files changed (41) hide show
  1. boto3-stubs/__init__.pyi +56 -0
  2. boto3-stubs/compat.pyi +7 -2
  3. boto3-stubs/crt.pyi +10 -6
  4. boto3-stubs/docs/__init__.pyi +6 -0
  5. boto3-stubs/docs/action.pyi +7 -3
  6. boto3-stubs/docs/attr.pyi +6 -0
  7. boto3-stubs/docs/base.pyi +8 -2
  8. boto3-stubs/docs/client.pyi +6 -0
  9. boto3-stubs/docs/collection.pyi +6 -0
  10. boto3-stubs/docs/docstring.pyi +6 -0
  11. boto3-stubs/docs/method.pyi +14 -8
  12. boto3-stubs/docs/resource.pyi +6 -0
  13. boto3-stubs/docs/service.pyi +6 -2
  14. boto3-stubs/docs/subresource.pyi +6 -0
  15. boto3-stubs/docs/utils.pyi +10 -4
  16. boto3-stubs/docs/waiter.pyi +6 -0
  17. boto3-stubs/dynamodb/conditions.pyi +31 -38
  18. boto3-stubs/dynamodb/table.pyi +15 -9
  19. boto3-stubs/dynamodb/transform.pyi +18 -12
  20. boto3-stubs/dynamodb/types.pyi +22 -33
  21. boto3-stubs/ec2/createtags.pyi +9 -3
  22. boto3-stubs/ec2/deletetags.pyi +6 -0
  23. boto3-stubs/exceptions.pyi +6 -0
  24. boto3-stubs/resources/action.pyi +12 -6
  25. boto3-stubs/resources/base.pyi +16 -12
  26. boto3-stubs/resources/collection.pyi +10 -6
  27. boto3-stubs/resources/factory.pyi +9 -3
  28. boto3-stubs/resources/model.pyi +55 -53
  29. boto3-stubs/resources/params.pyi +12 -6
  30. boto3-stubs/resources/response.pyi +20 -14
  31. boto3-stubs/s3/constants.pyi +6 -0
  32. boto3-stubs/s3/inject.pyi +62 -56
  33. boto3-stubs/s3/transfer.pyi +23 -17
  34. boto3-stubs/session.pyi +60 -0
  35. boto3-stubs/utils.pyi +10 -4
  36. {boto3_stubs-1.35.70.dist-info → boto3_stubs-1.35.72.dist-info}/METADATA +60 -37
  37. boto3_stubs-1.35.72.dist-info/RECORD +45 -0
  38. boto3_stubs-1.35.70.dist-info/RECORD +0 -45
  39. {boto3_stubs-1.35.70.dist-info → boto3_stubs-1.35.72.dist-info}/LICENSE +0 -0
  40. {boto3_stubs-1.35.70.dist-info → boto3_stubs-1.35.72.dist-info}/WHEEL +0 -0
  41. {boto3_stubs-1.35.70.dist-info → boto3_stubs-1.35.72.dist-info}/top_level.txt +0 -0
@@ -1,6 +1,12 @@
1
+ """
2
+ Type annotations for boto3.s3.transfer module.
3
+
4
+ Copyright 2024 Vlad Emelianov
5
+ """
6
+
1
7
  import logging
2
8
  from types import TracebackType
3
- from typing import Any, Callable, Dict, List, Mapping, Optional, Type, TypeVar
9
+ from typing import Any, Callable, Mapping, TypeVar
4
10
 
5
11
  from botocore.client import BaseClient
6
12
  from botocore.config import Config
@@ -19,12 +25,12 @@ logger: logging.Logger = ...
19
25
  def create_transfer_manager(
20
26
  client: BaseClient,
21
27
  config: TransferConfig,
22
- osutil: Optional[OSUtils] = ...,
28
+ osutil: OSUtils | None = ...,
23
29
  ) -> TransferManager: ...
24
30
  def has_minimum_crt_version(minimum_version: str) -> bool: ...
25
31
 
26
32
  class TransferConfig(S3TransferConfig):
27
- ALIAS: Dict[str, str]
33
+ ALIAS: dict[str, str]
28
34
 
29
35
  def __init__(
30
36
  self,
@@ -35,7 +41,7 @@ class TransferConfig(S3TransferConfig):
35
41
  max_io_queue: int = ...,
36
42
  io_chunksize: int = ...,
37
43
  use_threads: bool = ...,
38
- max_bandwidth: Optional[int] = ...,
44
+ max_bandwidth: int | None = ...,
39
45
  preferred_transfer_client: str = ...,
40
46
  ) -> None:
41
47
  self.use_threads: bool
@@ -43,37 +49,37 @@ class TransferConfig(S3TransferConfig):
43
49
  def __setattr__(self, name: str, value: int) -> None: ...
44
50
 
45
51
  class S3Transfer:
46
- ALLOWED_DOWNLOAD_ARGS: List[str]
47
- ALLOWED_UPLOAD_ARGS: List[str]
52
+ ALLOWED_DOWNLOAD_ARGS: list[str]
53
+ ALLOWED_UPLOAD_ARGS: list[str]
48
54
  def __init__(
49
55
  self,
50
- client: Optional[BaseClient] = ...,
51
- config: Optional[Config] = ...,
52
- osutil: Optional[OSUtils] = ...,
53
- manager: Optional[TransferManager] = ...,
56
+ client: BaseClient | None = ...,
57
+ config: Config | None = ...,
58
+ osutil: OSUtils | None = ...,
59
+ manager: TransferManager | None = ...,
54
60
  ) -> None: ...
55
61
  def upload_file(
56
62
  self,
57
63
  filename: str,
58
64
  bucket: str,
59
65
  key: str,
60
- callback: Optional[Callable[[int], Any]] = ...,
61
- extra_args: Optional[Mapping[str, Any]] = ...,
66
+ callback: Callable[[int], Any] | None = ...,
67
+ extra_args: Mapping[str, Any] | None = ...,
62
68
  ) -> None: ...
63
69
  def download_file(
64
70
  self,
65
71
  bucket: str,
66
72
  key: str,
67
73
  filename: str,
68
- extra_args: Optional[Mapping[str, Any]] = ...,
69
- callback: Optional[Callable[[int], Any]] = ...,
74
+ extra_args: Mapping[str, Any] | None = ...,
75
+ callback: Callable[[int], Any] | None = ...,
70
76
  ) -> None: ...
71
77
  def __enter__(self: _R) -> _R: ...
72
78
  def __exit__(
73
79
  self,
74
- exc_type: Optional[Type[BaseException]],
75
- exc_value: Optional[BaseException],
76
- tb: Optional[TracebackType],
80
+ exc_type: type[BaseException] | None,
81
+ exc_value: BaseException | None,
82
+ tb: TracebackType | None,
77
83
  ) -> None: ...
78
84
 
79
85
  class ProgressCallbackInvoker(BaseSubscriber):
boto3-stubs/session.pyi CHANGED
@@ -197,6 +197,7 @@ from mypy_boto3_inspector.client import InspectorClient
197
197
  from mypy_boto3_inspector2.client import Inspector2Client
198
198
  from mypy_boto3_inspector_scan.client import InspectorscanClient
199
199
  from mypy_boto3_internetmonitor.client import CloudWatchInternetMonitorClient
200
+ from mypy_boto3_invoicing.client import InvoicingClient
200
201
  from mypy_boto3_iot.client import IoTClient
201
202
  from mypy_boto3_iot1click_devices.client import IoT1ClickDevicesServiceClient
202
203
  from mypy_boto3_iot1click_projects.client import IoT1ClickProjectsClient
@@ -287,11 +288,13 @@ from mypy_boto3_neptune.client import NeptuneClient
287
288
  from mypy_boto3_neptune_graph.client import NeptuneGraphClient
288
289
  from mypy_boto3_neptunedata.client import NeptuneDataClient
289
290
  from mypy_boto3_network_firewall.client import NetworkFirewallClient
291
+ from mypy_boto3_networkflowmonitor.client import NetworkFlowMonitorClient
290
292
  from mypy_boto3_networkmanager.client import NetworkManagerClient
291
293
  from mypy_boto3_networkmonitor.client import CloudWatchNetworkMonitorClient
292
294
  from mypy_boto3_notifications.client import UserNotificationsClient
293
295
  from mypy_boto3_notificationscontacts.client import UserNotificationsContactsClient
294
296
  from mypy_boto3_oam.client import CloudWatchObservabilityAccessManagerClient
297
+ from mypy_boto3_observabilityadmin.client import CloudWatchObservabilityAdminServiceClient
295
298
  from mypy_boto3_omics.client import OmicsClient
296
299
  from mypy_boto3_opensearch.client import OpenSearchServiceClient
297
300
  from mypy_boto3_opensearchserverless.client import OpenSearchServiceServerlessClient
@@ -366,6 +369,7 @@ from mypy_boto3_scheduler.client import EventBridgeSchedulerClient
366
369
  from mypy_boto3_schemas.client import SchemasClient
367
370
  from mypy_boto3_sdb.client import SimpleDBClient
368
371
  from mypy_boto3_secretsmanager.client import SecretsManagerClient
372
+ from mypy_boto3_security_ir.client import SecurityIncidentResponseClient
369
373
  from mypy_boto3_securityhub.client import SecurityHubClient
370
374
  from mypy_boto3_securitylake.client import SecurityLakeClient
371
375
  from mypy_boto3_serverlessrepo.client import ServerlessApplicationRepositoryClient
@@ -2893,6 +2897,20 @@ class Session:
2893
2897
  config: Optional[Config] = ...,
2894
2898
  ) -> CloudWatchInternetMonitorClient: ...
2895
2899
  @overload
2900
+ def client(
2901
+ self,
2902
+ service_name: Literal["invoicing"],
2903
+ region_name: Optional[str] = ...,
2904
+ api_version: Optional[str] = ...,
2905
+ use_ssl: Optional[bool] = ...,
2906
+ verify: Union[bool, str, None] = ...,
2907
+ endpoint_url: Optional[str] = ...,
2908
+ aws_access_key_id: Optional[str] = ...,
2909
+ aws_secret_access_key: Optional[str] = ...,
2910
+ aws_session_token: Optional[str] = ...,
2911
+ config: Optional[Config] = ...,
2912
+ ) -> InvoicingClient: ...
2913
+ @overload
2896
2914
  def client(
2897
2915
  self,
2898
2916
  service_name: Literal["iot"],
@@ -4097,6 +4115,20 @@ class Session:
4097
4115
  config: Optional[Config] = ...,
4098
4116
  ) -> NetworkFirewallClient: ...
4099
4117
  @overload
4118
+ def client(
4119
+ self,
4120
+ service_name: Literal["networkflowmonitor"],
4121
+ region_name: Optional[str] = ...,
4122
+ api_version: Optional[str] = ...,
4123
+ use_ssl: Optional[bool] = ...,
4124
+ verify: Union[bool, str, None] = ...,
4125
+ endpoint_url: Optional[str] = ...,
4126
+ aws_access_key_id: Optional[str] = ...,
4127
+ aws_secret_access_key: Optional[str] = ...,
4128
+ aws_session_token: Optional[str] = ...,
4129
+ config: Optional[Config] = ...,
4130
+ ) -> NetworkFlowMonitorClient: ...
4131
+ @overload
4100
4132
  def client(
4101
4133
  self,
4102
4134
  service_name: Literal["networkmanager"],
@@ -4167,6 +4199,20 @@ class Session:
4167
4199
  config: Optional[Config] = ...,
4168
4200
  ) -> CloudWatchObservabilityAccessManagerClient: ...
4169
4201
  @overload
4202
+ def client(
4203
+ self,
4204
+ service_name: Literal["observabilityadmin"],
4205
+ region_name: Optional[str] = ...,
4206
+ api_version: Optional[str] = ...,
4207
+ use_ssl: Optional[bool] = ...,
4208
+ verify: Union[bool, str, None] = ...,
4209
+ endpoint_url: Optional[str] = ...,
4210
+ aws_access_key_id: Optional[str] = ...,
4211
+ aws_secret_access_key: Optional[str] = ...,
4212
+ aws_session_token: Optional[str] = ...,
4213
+ config: Optional[Config] = ...,
4214
+ ) -> CloudWatchObservabilityAdminServiceClient: ...
4215
+ @overload
4170
4216
  def client(
4171
4217
  self,
4172
4218
  service_name: Literal["omics"],
@@ -5175,6 +5221,20 @@ class Session:
5175
5221
  config: Optional[Config] = ...,
5176
5222
  ) -> SecretsManagerClient: ...
5177
5223
  @overload
5224
+ def client(
5225
+ self,
5226
+ service_name: Literal["security-ir"],
5227
+ region_name: Optional[str] = ...,
5228
+ api_version: Optional[str] = ...,
5229
+ use_ssl: Optional[bool] = ...,
5230
+ verify: Union[bool, str, None] = ...,
5231
+ endpoint_url: Optional[str] = ...,
5232
+ aws_access_key_id: Optional[str] = ...,
5233
+ aws_secret_access_key: Optional[str] = ...,
5234
+ aws_session_token: Optional[str] = ...,
5235
+ config: Optional[Config] = ...,
5236
+ ) -> SecurityIncidentResponseClient: ...
5237
+ @overload
5178
5238
  def client(
5179
5239
  self,
5180
5240
  service_name: Literal["securityhub"],
boto3-stubs/utils.pyi CHANGED
@@ -1,4 +1,10 @@
1
- from typing import Any, Dict, Optional
1
+ """
2
+ Type annotations for boto3.utils module.
3
+
4
+ Copyright 2024 Vlad Emelianov
5
+ """
6
+
7
+ from typing import Any
2
8
 
3
9
  from botocore.model import ServiceModel
4
10
  from botocore.session import Session
@@ -9,13 +15,13 @@ class ServiceContext:
9
15
  self,
10
16
  service_name: str,
11
17
  service_model: ServiceModel,
12
- service_waiter_model: Optional[WaiterModel],
13
- resource_json_definitions: Dict[str, Any],
18
+ service_waiter_model: WaiterModel | None,
19
+ resource_json_definitions: dict[str, Any],
14
20
  ) -> None: ...
15
21
 
16
22
  def import_module(name: str) -> Any: ...
17
23
  def lazy_call(full_name: str, **kwargs: Any) -> Any: ...
18
- def inject_attribute(class_attributes: Dict[str, Any], name: str, value: Any) -> None: ...
24
+ def inject_attribute(class_attributes: dict[str, Any], name: str, value: Any) -> None: ...
19
25
 
20
26
  class LazyLoadedWaiterModel:
21
27
  def __init__(self, bc_session: Session, service_name: str, api_version: str) -> None: ...
@@ -1,7 +1,7 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: boto3-stubs
3
- Version: 1.35.70
4
- Summary: Type annotations for boto3 1.35.70 generated with mypy-boto3-builder 8.3.1
3
+ Version: 1.35.72
4
+ Summary: Type annotations for boto3 1.35.72 generated with mypy-boto3-builder 8.5.0
5
5
  Home-page: https://github.com/youtype/mypy_boto3_builder
6
6
  Author: Vlad Emelianov
7
7
  Author-email: vlad.emelianov.nz@gmail.com
@@ -9,7 +9,7 @@ License: MIT License
9
9
  Project-URL: Documentation, https://youtype.github.io/boto3_stubs_docs/
10
10
  Project-URL: Source, https://github.com/youtype/mypy_boto3_builder
11
11
  Project-URL: Tracker, https://github.com/youtype/mypy_boto3_builder/issues
12
- Keywords: boto3 type-annotations boto3-stubs mypy typeshed autocomplete
12
+ Keywords: boto3 boto3-stubs type-annotations typeshed autocomplete
13
13
  Classifier: Development Status :: 5 - Production/Stable
14
14
  Classifier: Intended Audience :: Developers
15
15
  Classifier: Environment :: Console
@@ -209,6 +209,7 @@ Requires-Dist: mypy-boto3-inspector<1.36.0,>=1.35.0; extra == "all"
209
209
  Requires-Dist: mypy-boto3-inspector-scan<1.36.0,>=1.35.0; extra == "all"
210
210
  Requires-Dist: mypy-boto3-inspector2<1.36.0,>=1.35.0; extra == "all"
211
211
  Requires-Dist: mypy-boto3-internetmonitor<1.36.0,>=1.35.0; extra == "all"
212
+ Requires-Dist: mypy-boto3-invoicing<1.36.0,>=1.35.0; extra == "all"
212
213
  Requires-Dist: mypy-boto3-iot<1.36.0,>=1.35.0; extra == "all"
213
214
  Requires-Dist: mypy-boto3-iot-data<1.36.0,>=1.35.0; extra == "all"
214
215
  Requires-Dist: mypy-boto3-iot-jobs-data<1.36.0,>=1.35.0; extra == "all"
@@ -295,11 +296,13 @@ Requires-Dist: mypy-boto3-neptune<1.36.0,>=1.35.0; extra == "all"
295
296
  Requires-Dist: mypy-boto3-neptune-graph<1.36.0,>=1.35.0; extra == "all"
296
297
  Requires-Dist: mypy-boto3-neptunedata<1.36.0,>=1.35.0; extra == "all"
297
298
  Requires-Dist: mypy-boto3-network-firewall<1.36.0,>=1.35.0; extra == "all"
299
+ Requires-Dist: mypy-boto3-networkflowmonitor<1.36.0,>=1.35.0; extra == "all"
298
300
  Requires-Dist: mypy-boto3-networkmanager<1.36.0,>=1.35.0; extra == "all"
299
301
  Requires-Dist: mypy-boto3-networkmonitor<1.36.0,>=1.35.0; extra == "all"
300
302
  Requires-Dist: mypy-boto3-notifications<1.36.0,>=1.35.0; extra == "all"
301
303
  Requires-Dist: mypy-boto3-notificationscontacts<1.36.0,>=1.35.0; extra == "all"
302
304
  Requires-Dist: mypy-boto3-oam<1.36.0,>=1.35.0; extra == "all"
305
+ Requires-Dist: mypy-boto3-observabilityadmin<1.36.0,>=1.35.0; extra == "all"
303
306
  Requires-Dist: mypy-boto3-omics<1.36.0,>=1.35.0; extra == "all"
304
307
  Requires-Dist: mypy-boto3-opensearch<1.36.0,>=1.35.0; extra == "all"
305
308
  Requires-Dist: mypy-boto3-opensearchserverless<1.36.0,>=1.35.0; extra == "all"
@@ -372,6 +375,7 @@ Requires-Dist: mypy-boto3-scheduler<1.36.0,>=1.35.0; extra == "all"
372
375
  Requires-Dist: mypy-boto3-schemas<1.36.0,>=1.35.0; extra == "all"
373
376
  Requires-Dist: mypy-boto3-sdb<1.36.0,>=1.35.0; extra == "all"
374
377
  Requires-Dist: mypy-boto3-secretsmanager<1.36.0,>=1.35.0; extra == "all"
378
+ Requires-Dist: mypy-boto3-security-ir<1.36.0,>=1.35.0; extra == "all"
375
379
  Requires-Dist: mypy-boto3-securityhub<1.36.0,>=1.35.0; extra == "all"
376
380
  Requires-Dist: mypy-boto3-securitylake<1.36.0,>=1.35.0; extra == "all"
377
381
  Requires-Dist: mypy-boto3-serverlessrepo<1.36.0,>=1.35.0; extra == "all"
@@ -441,8 +445,8 @@ Requires-Dist: mypy-boto3-rds<1.36.0,>=1.35.0; extra == "essential"
441
445
  Requires-Dist: mypy-boto3-s3<1.36.0,>=1.35.0; extra == "essential"
442
446
  Requires-Dist: mypy-boto3-sqs<1.36.0,>=1.35.0; extra == "essential"
443
447
  Provides-Extra: boto3
444
- Requires-Dist: boto3==1.35.70; extra == "boto3"
445
- Requires-Dist: botocore==1.35.70; extra == "boto3"
448
+ Requires-Dist: boto3==1.35.72; extra == "boto3"
449
+ Requires-Dist: botocore==1.35.72; extra == "boto3"
446
450
  Provides-Extra: accessanalyzer
447
451
  Requires-Dist: mypy-boto3-accessanalyzer<1.36.0,>=1.35.0; extra == "accessanalyzer"
448
452
  Provides-Extra: account
@@ -789,6 +793,8 @@ Provides-Extra: inspector2
789
793
  Requires-Dist: mypy-boto3-inspector2<1.36.0,>=1.35.0; extra == "inspector2"
790
794
  Provides-Extra: internetmonitor
791
795
  Requires-Dist: mypy-boto3-internetmonitor<1.36.0,>=1.35.0; extra == "internetmonitor"
796
+ Provides-Extra: invoicing
797
+ Requires-Dist: mypy-boto3-invoicing<1.36.0,>=1.35.0; extra == "invoicing"
792
798
  Provides-Extra: iot
793
799
  Requires-Dist: mypy-boto3-iot<1.36.0,>=1.35.0; extra == "iot"
794
800
  Provides-Extra: iot-data
@@ -961,6 +967,8 @@ Provides-Extra: neptunedata
961
967
  Requires-Dist: mypy-boto3-neptunedata<1.36.0,>=1.35.0; extra == "neptunedata"
962
968
  Provides-Extra: network-firewall
963
969
  Requires-Dist: mypy-boto3-network-firewall<1.36.0,>=1.35.0; extra == "network-firewall"
970
+ Provides-Extra: networkflowmonitor
971
+ Requires-Dist: mypy-boto3-networkflowmonitor<1.36.0,>=1.35.0; extra == "networkflowmonitor"
964
972
  Provides-Extra: networkmanager
965
973
  Requires-Dist: mypy-boto3-networkmanager<1.36.0,>=1.35.0; extra == "networkmanager"
966
974
  Provides-Extra: networkmonitor
@@ -971,6 +979,8 @@ Provides-Extra: notificationscontacts
971
979
  Requires-Dist: mypy-boto3-notificationscontacts<1.36.0,>=1.35.0; extra == "notificationscontacts"
972
980
  Provides-Extra: oam
973
981
  Requires-Dist: mypy-boto3-oam<1.36.0,>=1.35.0; extra == "oam"
982
+ Provides-Extra: observabilityadmin
983
+ Requires-Dist: mypy-boto3-observabilityadmin<1.36.0,>=1.35.0; extra == "observabilityadmin"
974
984
  Provides-Extra: omics
975
985
  Requires-Dist: mypy-boto3-omics<1.36.0,>=1.35.0; extra == "omics"
976
986
  Provides-Extra: opensearch
@@ -1115,6 +1125,8 @@ Provides-Extra: sdb
1115
1125
  Requires-Dist: mypy-boto3-sdb<1.36.0,>=1.35.0; extra == "sdb"
1116
1126
  Provides-Extra: secretsmanager
1117
1127
  Requires-Dist: mypy-boto3-secretsmanager<1.36.0,>=1.35.0; extra == "secretsmanager"
1128
+ Provides-Extra: security-ir
1129
+ Requires-Dist: mypy-boto3-security-ir<1.36.0,>=1.35.0; extra == "security-ir"
1118
1130
  Provides-Extra: securityhub
1119
1131
  Requires-Dist: mypy-boto3-securityhub<1.36.0,>=1.35.0; extra == "securityhub"
1120
1132
  Provides-Extra: securitylake
@@ -1247,7 +1259,7 @@ Requires-Dist: mypy-boto3-xray<1.36.0,>=1.35.0; extra == "xray"
1247
1259
 
1248
1260
  ![boto3.typed](https://github.com/youtype/mypy_boto3_builder/raw/main/logo.png)
1249
1261
 
1250
- Type annotations for [boto3 1.35.70](https://pypi.org/project/boto3/)
1262
+ Type annotations for [boto3 1.35.72](https://pypi.org/project/boto3/)
1251
1263
  compatible with [VSCode](https://code.visualstudio.com/),
1252
1264
  [PyCharm](https://www.jetbrains.com/pycharm/),
1253
1265
  [Emacs](https://www.gnu.org/software/emacs/),
@@ -1256,14 +1268,14 @@ compatible with [VSCode](https://code.visualstudio.com/),
1256
1268
  [pyright](https://github.com/microsoft/pyright) and other tools.
1257
1269
 
1258
1270
  Generated by
1259
- [mypy-boto3-builder 8.3.1](https://github.com/youtype/mypy_boto3_builder).
1271
+ [mypy-boto3-builder 8.5.0](https://github.com/youtype/mypy_boto3_builder).
1260
1272
 
1261
1273
  More information can be found in
1262
1274
  [boto3-stubs docs](https://youtype.github.io/boto3_stubs_docs/).
1263
1275
 
1264
1276
  See how it helps you find and fix potential bugs:
1265
1277
 
1266
- ![boto3-stubs demo](https://github.com/youtype/mypy_boto3_builder/raw/main/demo.gif)
1278
+ ![types-boto3 demo](https://github.com/youtype/mypy_boto3_builder/raw/main/demo.gif)
1267
1279
 
1268
1280
  - [boto3-stubs](#boto3-stubs)
1269
1281
  - [How to install](#how-to-install)
@@ -1279,8 +1291,8 @@ See how it helps you find and fix potential bugs:
1279
1291
  - [Other IDEs](#other-ides)
1280
1292
  - [mypy](#mypy)
1281
1293
  - [pyright](#pyright)
1282
- - [Explicit type annotations](#explicit-type-annotations)
1283
1294
  - [Pylint compatibility](#pylint-compatibility)
1295
+ - [Explicit type annotations](#explicit-type-annotations)
1284
1296
  - [How it works](#how-it-works)
1285
1297
  - [What's new](#what's-new)
1286
1298
  - [Implemented features](#implemented-features)
@@ -1508,6 +1520,31 @@ Optionally, you can install `boto3-stubs` to `typings` directory.
1508
1520
  Type checking should now work. No explicit type annotations required, write
1509
1521
  your `boto3` code as usual.
1510
1522
 
1523
+ <a id="pylint-compatibility"></a>
1524
+
1525
+ ### Pylint compatibility
1526
+
1527
+ It is totally safe to use `TYPE_CHECKING` flag in order to avoid `boto3-stubs`
1528
+ dependency in production. However, there is an issue in `pylint` that it
1529
+ complains about undefined variables. To fix it, set all types to `object` in
1530
+ non-`TYPE_CHECKING` mode.
1531
+
1532
+ ```python
1533
+ from typing import TYPE_CHECKING
1534
+
1535
+ if TYPE_CHECKING:
1536
+ from mypy_boto3_ec2 import EC2Client, EC2ServiceResource
1537
+ from mypy_boto3_ec2.waiters import BundleTaskCompleteWaiter
1538
+ from mypy_boto3_ec2.paginators import DescribeVolumesPaginator
1539
+ else:
1540
+ EC2Client = object
1541
+ EC2ServiceResource = object
1542
+ BundleTaskCompleteWaiter = object
1543
+ DescribeVolumesPaginator = object
1544
+
1545
+ ...
1546
+ ```
1547
+
1511
1548
  <a id="explicit-type-annotations"></a>
1512
1549
 
1513
1550
  ### Explicit type annotations
@@ -1534,32 +1571,6 @@ bundle_task_complete_waiter: BundleTaskCompleteWaiter = ec2_client.get_waiter(
1534
1571
  describe_volumes_paginator: DescribeVolumesPaginator = ec2_client.get_paginator("describe_volumes")
1535
1572
  ```
1536
1573
 
1537
- <a id="pylint-compatibility"></a>
1538
-
1539
- ### Pylint compatibility
1540
-
1541
- It is totally safe to use `TYPE_CHECKING` flag in order to avoid `boto3-stubs`
1542
- dependency in production. However, there is an issue in `pylint` that it
1543
- complains about undefined variables. To fix it, set all types to `object` in
1544
- non-`TYPE_CHECKING` mode.
1545
-
1546
- ```python
1547
- import boto3
1548
- from typing import TYPE_CHECKING
1549
-
1550
- if TYPE_CHECKING:
1551
- from mypy_boto3_ec2 import EC2Client, EC2ServiceResource
1552
- from mypy_boto3_ec2.waiters import BundleTaskCompleteWaiter
1553
- from mypy_boto3_ec2.paginators import DescribeVolumesPaginator
1554
- else:
1555
- EC2Client = object
1556
- EC2ServiceResource = object
1557
- BundleTaskCompleteWaiter = object
1558
- DescribeVolumesPaginator = object
1559
-
1560
- ...
1561
- ```
1562
-
1563
1574
  <a id="how-it-works"></a>
1564
1575
 
1565
1576
  ## How it works
@@ -1648,9 +1659,9 @@ repository.
1648
1659
 
1649
1660
  ## Submodules
1650
1661
 
1651
- - `boto3-stubs[full]` - Type annotations for all 396 services in one package
1662
+ - `boto3-stubs[full]` - Type annotations for all 400 services in one package
1652
1663
  (recommended).
1653
- - `boto3-stubs[all]` - Type annotations for all 396 services in separate
1664
+ - `boto3-stubs[all]` - Type annotations for all 400 services in separate
1654
1665
  packages.
1655
1666
  - `boto3-stubs[essential]` - Type annotations for
1656
1667
  [CloudFormation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_cloudformation/),
@@ -2163,6 +2174,9 @@ repository.
2163
2174
  - `boto3-stubs[internetmonitor]` - Type annotations for
2164
2175
  [CloudWatchInternetMonitor](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_internetmonitor/)
2165
2176
  service.
2177
+ - `boto3-stubs[invoicing]` - Type annotations for
2178
+ [Invoicing](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_invoicing/)
2179
+ service.
2166
2180
  - `boto3-stubs[iot]` - Type annotations for
2167
2181
  [IoT](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_iot/) service.
2168
2182
  - `boto3-stubs[iot-data]` - Type annotations for
@@ -2415,6 +2429,9 @@ repository.
2415
2429
  - `boto3-stubs[network-firewall]` - Type annotations for
2416
2430
  [NetworkFirewall](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_network_firewall/)
2417
2431
  service.
2432
+ - `boto3-stubs[networkflowmonitor]` - Type annotations for
2433
+ [NetworkFlowMonitor](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_networkflowmonitor/)
2434
+ service.
2418
2435
  - `boto3-stubs[networkmanager]` - Type annotations for
2419
2436
  [NetworkManager](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_networkmanager/)
2420
2437
  service.
@@ -2430,6 +2447,9 @@ repository.
2430
2447
  - `boto3-stubs[oam]` - Type annotations for
2431
2448
  [CloudWatchObservabilityAccessManager](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_oam/)
2432
2449
  service.
2450
+ - `boto3-stubs[observabilityadmin]` - Type annotations for
2451
+ [CloudWatchObservabilityAdminService](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_observabilityadmin/)
2452
+ service.
2433
2453
  - `boto3-stubs[omics]` - Type annotations for
2434
2454
  [Omics](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_omics/)
2435
2455
  service.
@@ -2641,6 +2661,9 @@ repository.
2641
2661
  - `boto3-stubs[secretsmanager]` - Type annotations for
2642
2662
  [SecretsManager](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_secretsmanager/)
2643
2663
  service.
2664
+ - `boto3-stubs[security-ir]` - Type annotations for
2665
+ [SecurityIncidentResponse](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_security_ir/)
2666
+ service.
2644
2667
  - `boto3-stubs[securityhub]` - Type annotations for
2645
2668
  [SecurityHub](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_securityhub/)
2646
2669
  service.
@@ -0,0 +1,45 @@
1
+ boto3-stubs/__init__.pyi,sha256=t310BIbWQF8ctZGi-GHVCjun50b7DsU5Go-TNT-JFsM,215254
2
+ boto3-stubs/compat.pyi,sha256=j3-SBZqCGaoZoXzN6e7fkEQQvUmQ-MpIpcF9FuuUHH0,209
3
+ boto3-stubs/crt.pyi,sha256=OAjGbtBlQJIDRctWkMpr7UwRKxiH_lQt9OdSrHPL3QI,893
4
+ boto3-stubs/exceptions.pyi,sha256=cjOrbR2BIOcaHRmIQvGL0y-XEJdicpzRl2dQNfx6GVk,1339
5
+ boto3-stubs/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
6
+ boto3-stubs/session.pyi,sha256=QTq8ITtAm2OM2LRAR3j_QkHx5LqybUbXQBDlb0B-QT8,243423
7
+ boto3-stubs/utils.pyi,sha256=2vtGuLR-fnfzUNoeNvcEbb0Lb-DGEZ-BQ5BV9xF8vSg,841
8
+ boto3-stubs/docs/__init__.pyi,sha256=uDkzwRXE_Bb65mlFvnPSySeRYnhK9Cpk4fUyK6gpBd0,179
9
+ boto3-stubs/docs/action.pyi,sha256=_vWYnBVkwK6kU3xTdr5tPGxL-s3ULaAFBnxuFLHsmsE,1016
10
+ boto3-stubs/docs/attr.pyi,sha256=6zGNEVUHUz0UjEDSYnDn-vBnydZKU9ENarzf6rss-3c,922
11
+ boto3-stubs/docs/base.pyi,sha256=n6aR2CAPB8klG0Lh8MAaVWNERIRloCtZ7ICzu7r3jOo,465
12
+ boto3-stubs/docs/client.pyi,sha256=mtlw2uqS__9HXLwjURqgd0w15QsabS2HuGHgSD40WRk,189
13
+ boto3-stubs/docs/collection.pyi,sha256=30Vp9-fBYjtVx2Gp0VfONnE_l0ZhQjWj1guv9d52aWA,1112
14
+ boto3-stubs/docs/docstring.pyi,sha256=qa35PZg3tUgypnDNOtND9po_WyesZMKbQpsRc4VsnVQ,673
15
+ boto3-stubs/docs/method.pyi,sha256=qi2f8wtk94y2PiRu_B1-9l1EebnQ9pt8bCKYgKH4JIE,772
16
+ boto3-stubs/docs/resource.pyi,sha256=lPQea0skxqynF8kKfugp1R3AUQabIUVxGVciDFkHKQo,562
17
+ boto3-stubs/docs/service.pyi,sha256=32cydjUn5qekLWAavmwjNhFEPxCNBrMvLmCvMSh0gzE,632
18
+ boto3-stubs/docs/subresource.pyi,sha256=IE-kBqbGgsCgnLOzMK5VKDWUFdgVhImZS6db09ODiDo,606
19
+ boto3-stubs/docs/utils.pyi,sha256=sAVH31W2eqOgZBE9gzjNallHoGskJ5Oegxs4bM78EcE,1101
20
+ boto3-stubs/docs/waiter.pyi,sha256=wCaNTXg-XRiPj43Rg3F7anitaJ2pmuhCHvY1JJeu_5k,881
21
+ boto3-stubs/dynamodb/__init__.pyi,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
22
+ boto3-stubs/dynamodb/conditions.pyi,sha256=hboN648JfDwDuqDxKYHwUZR5RJ-dUKH1Mv1JiSn-Lus,5226
23
+ boto3-stubs/dynamodb/table.pyi,sha256=ivXevhwMr2utFtlAxrkAHjyyFOgd7vrWNTaLjlUIeSU,1048
24
+ boto3-stubs/dynamodb/transform.pyi,sha256=1DUgxE2tvfoY7leVURr62sQuSFGeiyl0YHrIGJQe0Us,1765
25
+ boto3-stubs/dynamodb/types.pyi,sha256=JZmpjFHgET_3-xWUm20MA6VFk98rVE6VWTYoDSo_NeE,1114
26
+ boto3-stubs/ec2/__init__.pyi,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
27
+ boto3-stubs/ec2/createtags.pyi,sha256=5hsqujO1KzORtxlD0BzZpklljeXJTVJYiBDRZoqaRio,313
28
+ boto3-stubs/ec2/deletetags.pyi,sha256=uHIcutgqg2nrI-kDFe3grbNZ5YiE6R9kZcJXJOWjboI,294
29
+ boto3-stubs/resources/__init__.pyi,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
30
+ boto3-stubs/resources/action.pyi,sha256=dn9UULDmjczEEkn6kHrYU5qbmYKsh1omzYvVbwcQin0,1598
31
+ boto3-stubs/resources/base.pyi,sha256=vsiZZqJMYZKXhcu6IM8j7-jk_-DObRwgpj4kCM3Kiuc,1090
32
+ boto3-stubs/resources/collection.pyi,sha256=QRQX4uU-LYJSHZ1FoJn-h78uQ-ZXZedkWsA5bo1qLIQ,1940
33
+ boto3-stubs/resources/factory.pyi,sha256=JvEoo0cI0l_4y7w0jtox8SaUuFL_8Y8KresR5N6VLHc,577
34
+ boto3-stubs/resources/model.pyi,sha256=kpoEGVW9HwWLC1_pQ4pP3yIdZjRFnapWWKEDDqnWaG8,3348
35
+ boto3-stubs/resources/params.pyi,sha256=gmPIqfvLPlZB9lnwIL8ZJI8eEwCcpK0bqlt0mWviThI,629
36
+ boto3-stubs/resources/response.pyi,sha256=pXdB7YMWdZ7_ZLIAhb7iPhJkLsakC8xTObBC9l2smYA,1636
37
+ boto3-stubs/s3/__init__.pyi,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
38
+ boto3-stubs/s3/constants.pyi,sha256=U9MRV6GXbxTyEfKLsp3fVKzLR85KSSSP5FbcIWVHX54,163
39
+ boto3-stubs/s3/inject.pyi,sha256=z72QArriCVYH-O15Z5yDGnMX0zo7nCmYhSB2tiIRTeo,4502
40
+ boto3-stubs/s3/transfer.pyi,sha256=7A4hY7nziEaFM6fFhhneQYgB8aPa_on4i3DhOxh1_7s,2536
41
+ boto3_stubs-1.35.72.dist-info/LICENSE,sha256=eQDadZQZ3vRCiNF510ZT4yJV2zgo4000AOBoDRZyvKg,1070
42
+ boto3_stubs-1.35.72.dist-info/METADATA,sha256=oFpN02NIF0ZExgqvKE-TorbBOZSmey2cMYwzeyciDy0,146990
43
+ boto3_stubs-1.35.72.dist-info/WHEEL,sha256=PZUExdf71Ui_so67QXpySuHtCi3-J3wvF4ORK6k_S8U,91
44
+ boto3_stubs-1.35.72.dist-info/top_level.txt,sha256=uB_lQ39lkJ_VYZ_88DxH_zFptJtIwQ_SzeMpW8tRmT4,12
45
+ boto3_stubs-1.35.72.dist-info/RECORD,,
@@ -1,45 +0,0 @@
1
- boto3-stubs/__init__.pyi,sha256=N9BFP1A0cINHRhOPBfvz5FNh7YI6_02nYKzUeyNkq4E,213082
2
- boto3-stubs/compat.pyi,sha256=xa8V0D9EklCqKSzPAsOCRxSFn9o7ZsabgMB2NbezRU8,151
3
- boto3-stubs/crt.pyi,sha256=I9HtByOVDaxLR8UI0IVRgEnd09-9nP7cz6aLchQGJy4,839
4
- boto3-stubs/exceptions.pyi,sha256=5RiiwvZt6WJg4NmdBqiw_F3edX-hZCPft50s3YRd_Gg,1253
5
- boto3-stubs/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
6
- boto3-stubs/session.pyi,sha256=Z3-78DfuHzTttSu34h6ocu-t7QQ0tDsJUd9RePDwd34,240987
7
- boto3-stubs/utils.pyi,sha256=aFM7Aoxm8HuplG367JDYs5-zZ_YQpKr7ONPs1x7f15Y,779
8
- boto3-stubs/docs/__init__.pyi,sha256=wGWFUev9EDG-4NT4l-JUjzFUsypBQf2kwFBfdb1uJeU,99
9
- boto3-stubs/docs/action.pyi,sha256=swA73r0izUswkhU7lChbW4FZN491Q8HjcxnwlyDnAuE,960
10
- boto3-stubs/docs/attr.pyi,sha256=8HvOBUZModgA6C2ooeZwc4Ohe-Wxtu1CjneDcIzzepc,837
11
- boto3-stubs/docs/base.pyi,sha256=hYdyNgO31OXqtBAH3EqVaW1lxHHnaW64tAYOY6mnJoM,386
12
- boto3-stubs/docs/client.pyi,sha256=LjD603Ya-woOwSpPDCIuR18Ncybf-7TpX_4USmwvpbg,102
13
- boto3-stubs/docs/collection.pyi,sha256=5EDcfJ-WfaGC9mgwWnbq62bO0EFOSOplcrZ8esC9ngk,1021
14
- boto3-stubs/docs/docstring.pyi,sha256=B4SvarMezHVbItbOMYAWRhQf0SYwSgGZn8PD9ncWZ0w,583
15
- boto3-stubs/docs/method.pyi,sha256=oYhYhMgEzeQNIU6gQDItJzSCEGRW60t7Ywm_SRgNoYc,716
16
- boto3-stubs/docs/resource.pyi,sha256=dN9tzbGOLRjUE7uPiC4o-BEDyDMkyHgE0wYpeJHP6gA,473
17
- boto3-stubs/docs/service.pyi,sha256=OaXSSMfmfxMnh7ws8mKLdlt91JXMRQxU4Fj7RgRBwx4,569
18
- boto3-stubs/docs/subresource.pyi,sha256=1Iia63jqtZwlbiVRwtoxU1e6yvfVHElPEhoM6eebc-k,514
19
- boto3-stubs/docs/utils.pyi,sha256=bD81ElRcEIreIuIXIzwcCGJWv7BwuubsS1Ha_IwPtNo,1034
20
- boto3-stubs/docs/waiter.pyi,sha256=3qh3S0BGU-papbnpSdOamr8RDLBxGrytY0OOxRRzrP0,794
21
- boto3-stubs/dynamodb/__init__.pyi,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
22
- boto3-stubs/dynamodb/conditions.pyi,sha256=J5gkps9ttGUMc8jqBJR2hdDBtWhfjtHqn_JtGMkZDpA,5463
23
- boto3-stubs/dynamodb/table.pyi,sha256=RG3muXb6M-n77JQn8zW8f31KIzTjVhM54eEmMdTByYE,1003
24
- boto3-stubs/dynamodb/transform.pyi,sha256=Yu9dmcgOfw_ZSo_sSTvbd6LKYbC7_vpsI7TxSOyRyW4,1705
25
- boto3-stubs/dynamodb/types.pyi,sha256=x9Nqn8wSTYx6S0gFSNDvNNlB7seiepqGdpalojebD10,1426
26
- boto3-stubs/ec2/__init__.pyi,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
27
- boto3-stubs/ec2/createtags.pyi,sha256=CcbwkLP_0j8wPMfNft72-_Sqd1-0SXjbvfkACxtpS34,235
28
- boto3-stubs/ec2/deletetags.pyi,sha256=1jRFLP0hH_JMRW7wKf1YyH2yGS3MhclEZ999Fy5qJzs,204
29
- boto3-stubs/resources/__init__.pyi,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
30
- boto3-stubs/resources/action.pyi,sha256=Y3gDvwA1gj7MoejxnRrQYXy5znLHRIwWRym-3XPvK5o,1546
31
- boto3-stubs/resources/base.pyi,sha256=SdN-6pD5THG6jrEwMyRkAynFOzJt9u3ydTOQfNsqpa8,1101
32
- boto3-stubs/resources/collection.pyi,sha256=MurweTycZ2fdOO7PSgRalyKb_zz-GgKi3D2A0-rc_To,1922
33
- boto3-stubs/resources/factory.pyi,sha256=9A0RHo8kRPE8xuzDCSHkxJCAsKk_oHmDiXwVj-i9_fk,496
34
- boto3-stubs/resources/model.pyi,sha256=QAZczHtWlTvfW08NCQDUi88ipInPNRK38SHpDMICxOM,3705
35
- boto3-stubs/resources/params.pyi,sha256=v7-qSPWhisLYXC3xdB1JKAkOgKBBEbvPiZqFglzaSY4,565
36
- boto3-stubs/resources/response.pyi,sha256=fYbfRbFvoWRXejmVi9iL8kWoagj336M_cFfWwSzhNs4,1607
37
- boto3-stubs/s3/__init__.pyi,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
38
- boto3-stubs/s3/constants.pyi,sha256=9MYiVx6cRf9tcrxvpy0Ubi4HGyrmUj19WQA54lmfoR8,75
39
- boto3-stubs/s3/inject.pyi,sha256=UxVi6tYfEYdvc8cKldt9StTEGFHWTdd-867frSfxF9w,4577
40
- boto3-stubs/s3/transfer.pyi,sha256=L1Nix_RmkmgT-XCxkk6L2FAIwnJqXppLXc0UnHHnMjs,2516
41
- boto3_stubs-1.35.70.dist-info/LICENSE,sha256=eQDadZQZ3vRCiNF510ZT4yJV2zgo4000AOBoDRZyvKg,1070
42
- boto3_stubs-1.35.70.dist-info/METADATA,sha256=W-qnBeRf_mKnANEDjgZnZ-okAsilf0yhk1BVVry3FVA,145602
43
- boto3_stubs-1.35.70.dist-info/WHEEL,sha256=PZUExdf71Ui_so67QXpySuHtCi3-J3wvF4ORK6k_S8U,91
44
- boto3_stubs-1.35.70.dist-info/top_level.txt,sha256=uB_lQ39lkJ_VYZ_88DxH_zFptJtIwQ_SzeMpW8tRmT4,12
45
- boto3_stubs-1.35.70.dist-info/RECORD,,