types-boto3-lite 1.35.71.post1__py3-none-any.whl → 1.35.90__py3-none-any.whl
Sign up to get free protection for your applications and to get access to all the features.
- boto3-stubs/__init__.pyi +11 -9
- boto3-stubs/session.pyi +4 -6
- {types_boto3_lite-1.35.71.post1.dist-info → types_boto3_lite-1.35.90.dist-info}/METADATA +108 -50
- {types_boto3_lite-1.35.71.post1.dist-info → types_boto3_lite-1.35.90.dist-info}/RECORD +7 -7
- {types_boto3_lite-1.35.71.post1.dist-info → types_boto3_lite-1.35.90.dist-info}/LICENSE +0 -0
- {types_boto3_lite-1.35.71.post1.dist-info → types_boto3_lite-1.35.90.dist-info}/WHEEL +0 -0
- {types_boto3_lite-1.35.71.post1.dist-info → types_boto3_lite-1.35.90.dist-info}/top_level.txt +0 -0
boto3-stubs/__init__.pyi
CHANGED
@@ -5,17 +5,18 @@ Copyright 2024 Vlad Emelianov
|
|
5
5
|
"""
|
6
6
|
|
7
7
|
import logging
|
8
|
-
from typing import Any
|
9
8
|
|
10
9
|
from boto3 import session as session
|
10
|
+
from boto3.resources.base import ServiceResource
|
11
11
|
from boto3.session import Session as Session
|
12
|
+
from botocore.client import BaseClient
|
12
13
|
from botocore.config import Config
|
13
14
|
from botocore.session import Session as BotocoreSession
|
14
15
|
|
15
|
-
__author__: str
|
16
|
-
__version__: str
|
16
|
+
__author__: str = ...
|
17
|
+
__version__: str = ...
|
17
18
|
|
18
|
-
DEFAULT_SESSION: Session | None
|
19
|
+
DEFAULT_SESSION: Session | None = ...
|
19
20
|
|
20
21
|
def setup_default_session(
|
21
22
|
*,
|
@@ -27,12 +28,13 @@ def setup_default_session(
|
|
27
28
|
profile_name: str | None = ...,
|
28
29
|
) -> None: ...
|
29
30
|
def set_stream_logger(
|
30
|
-
name: str = ...,
|
31
|
+
name: str = ...,
|
32
|
+
level: int = ...,
|
33
|
+
format_string: str | None = ...,
|
31
34
|
) -> None: ...
|
32
35
|
def _get_default_session() -> Session: ...
|
33
36
|
|
34
|
-
class NullHandler(logging.Handler):
|
35
|
-
def emit(self, record: Any) -> Any: ...
|
37
|
+
class NullHandler(logging.Handler): ...
|
36
38
|
|
37
39
|
def client(
|
38
40
|
service_name: str,
|
@@ -45,7 +47,7 @@ def client(
|
|
45
47
|
aws_secret_access_key: str | None = ...,
|
46
48
|
aws_session_token: str | None = ...,
|
47
49
|
config: Config | None = ...,
|
48
|
-
) ->
|
50
|
+
) -> BaseClient: ...
|
49
51
|
def resource(
|
50
52
|
service_name: str,
|
51
53
|
region_name: str | None = ...,
|
@@ -57,4 +59,4 @@ def resource(
|
|
57
59
|
aws_secret_access_key: str | None = ...,
|
58
60
|
aws_session_token: str | None = ...,
|
59
61
|
config: Config | None = ...,
|
60
|
-
) ->
|
62
|
+
) -> ServiceResource: ...
|
boto3-stubs/session.pyi
CHANGED
@@ -4,11 +4,11 @@ Type annotations for boto3.session module.
|
|
4
4
|
Copyright 2024 Vlad Emelianov
|
5
5
|
"""
|
6
6
|
|
7
|
-
from typing import Any
|
8
|
-
|
9
7
|
from boto3.exceptions import ResourceNotExistsError as ResourceNotExistsError
|
10
8
|
from boto3.exceptions import UnknownAPIVersionError as UnknownAPIVersionError
|
9
|
+
from boto3.resources.base import ServiceResource
|
11
10
|
from boto3.resources.factory import ResourceFactory
|
11
|
+
from botocore.client import BaseClient
|
12
12
|
from botocore.config import Config
|
13
13
|
from botocore.credentials import Credentials
|
14
14
|
from botocore.exceptions import DataNotFoundError as DataNotFoundError
|
@@ -39,7 +39,6 @@ class Session:
|
|
39
39
|
def events(self) -> BaseEventHooks: ...
|
40
40
|
@property
|
41
41
|
def available_profiles(self) -> list[str]: ...
|
42
|
-
def _setup_loader(self) -> None: ...
|
43
42
|
def get_available_services(self) -> list[str]: ...
|
44
43
|
def get_available_resources(self) -> list[str]: ...
|
45
44
|
def get_available_partitions(self) -> list[str]: ...
|
@@ -51,7 +50,6 @@ class Session:
|
|
51
50
|
) -> list[str]: ...
|
52
51
|
def get_credentials(self) -> Credentials | None: ...
|
53
52
|
def get_partition_for_region(self, region_name: str) -> str: ...
|
54
|
-
def _register_default_handlers(self) -> None: ...
|
55
53
|
def client(
|
56
54
|
self,
|
57
55
|
service_name: str,
|
@@ -64,7 +62,7 @@ class Session:
|
|
64
62
|
aws_secret_access_key: str | None = ...,
|
65
63
|
aws_session_token: str | None = ...,
|
66
64
|
config: Config | None = ...,
|
67
|
-
) ->
|
65
|
+
) -> BaseClient: ...
|
68
66
|
def resource(
|
69
67
|
self,
|
70
68
|
service_name: str,
|
@@ -77,4 +75,4 @@ class Session:
|
|
77
75
|
aws_secret_access_key: str | None = ...,
|
78
76
|
aws_session_token: str | None = ...,
|
79
77
|
config: Config | None = ...,
|
80
|
-
) ->
|
78
|
+
) -> ServiceResource: ...
|
@@ -1,7 +1,7 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: types-boto3-lite
|
3
|
-
Version: 1.35.
|
4
|
-
Summary:
|
3
|
+
Version: 1.35.90
|
4
|
+
Summary: Lite type annotations for boto3 1.35.90 generated with mypy-boto3-builder 8.7.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
|
@@ -34,7 +34,9 @@ Requires-Dist: botocore-stubs
|
|
34
34
|
Requires-Dist: types-s3transfer
|
35
35
|
Requires-Dist: typing-extensions>=4.1.0; python_version < "3.12"
|
36
36
|
Provides-Extra: full
|
37
|
-
Requires-Dist: types-boto3-full; extra == "full"
|
37
|
+
Requires-Dist: types-boto3-full<1.36.0,>=1.35.0; extra == "full"
|
38
|
+
Provides-Extra: boto3
|
39
|
+
Requires-Dist: boto3==1.35.90; extra == "boto3"
|
38
40
|
Provides-Extra: all
|
39
41
|
Requires-Dist: types-boto3-accessanalyzer<1.36.0,>=1.35.0; extra == "all"
|
40
42
|
Requires-Dist: types-boto3-account<1.36.0,>=1.35.0; extra == "all"
|
@@ -70,12 +72,15 @@ Requires-Dist: types-boto3-autoscaling-plans<1.36.0,>=1.35.0; extra == "all"
|
|
70
72
|
Requires-Dist: types-boto3-b2bi<1.36.0,>=1.35.0; extra == "all"
|
71
73
|
Requires-Dist: types-boto3-backup<1.36.0,>=1.35.0; extra == "all"
|
72
74
|
Requires-Dist: types-boto3-backup-gateway<1.36.0,>=1.35.0; extra == "all"
|
75
|
+
Requires-Dist: types-boto3-backupsearch<1.36.0,>=1.35.0; extra == "all"
|
73
76
|
Requires-Dist: types-boto3-batch<1.36.0,>=1.35.0; extra == "all"
|
74
77
|
Requires-Dist: types-boto3-bcm-data-exports<1.36.0,>=1.35.0; extra == "all"
|
75
78
|
Requires-Dist: types-boto3-bcm-pricing-calculator<1.36.0,>=1.35.0; extra == "all"
|
76
79
|
Requires-Dist: types-boto3-bedrock<1.36.0,>=1.35.0; extra == "all"
|
77
80
|
Requires-Dist: types-boto3-bedrock-agent<1.36.0,>=1.35.0; extra == "all"
|
78
81
|
Requires-Dist: types-boto3-bedrock-agent-runtime<1.36.0,>=1.35.0; extra == "all"
|
82
|
+
Requires-Dist: types-boto3-bedrock-data-automation<1.36.0,>=1.35.0; extra == "all"
|
83
|
+
Requires-Dist: types-boto3-bedrock-data-automation-runtime<1.36.0,>=1.35.0; extra == "all"
|
79
84
|
Requires-Dist: types-boto3-bedrock-runtime<1.36.0,>=1.35.0; extra == "all"
|
80
85
|
Requires-Dist: types-boto3-billing<1.36.0,>=1.35.0; extra == "all"
|
81
86
|
Requires-Dist: types-boto3-billingconductor<1.36.0,>=1.35.0; extra == "all"
|
@@ -153,6 +158,7 @@ Requires-Dist: types-boto3-docdb-elastic<1.36.0,>=1.35.0; extra == "all"
|
|
153
158
|
Requires-Dist: types-boto3-drs<1.36.0,>=1.35.0; extra == "all"
|
154
159
|
Requires-Dist: types-boto3-ds<1.36.0,>=1.35.0; extra == "all"
|
155
160
|
Requires-Dist: types-boto3-ds-data<1.36.0,>=1.35.0; extra == "all"
|
161
|
+
Requires-Dist: types-boto3-dsql<1.36.0,>=1.35.0; extra == "all"
|
156
162
|
Requires-Dist: types-boto3-dynamodb<1.36.0,>=1.35.0; extra == "all"
|
157
163
|
Requires-Dist: types-boto3-dynamodbstreams<1.36.0,>=1.35.0; extra == "all"
|
158
164
|
Requires-Dist: types-boto3-ebs<1.36.0,>=1.35.0; extra == "all"
|
@@ -209,6 +215,7 @@ Requires-Dist: types-boto3-inspector<1.36.0,>=1.35.0; extra == "all"
|
|
209
215
|
Requires-Dist: types-boto3-inspector-scan<1.36.0,>=1.35.0; extra == "all"
|
210
216
|
Requires-Dist: types-boto3-inspector2<1.36.0,>=1.35.0; extra == "all"
|
211
217
|
Requires-Dist: types-boto3-internetmonitor<1.36.0,>=1.35.0; extra == "all"
|
218
|
+
Requires-Dist: types-boto3-invoicing<1.36.0,>=1.35.0; extra == "all"
|
212
219
|
Requires-Dist: types-boto3-iot<1.36.0,>=1.35.0; extra == "all"
|
213
220
|
Requires-Dist: types-boto3-iot-data<1.36.0,>=1.35.0; extra == "all"
|
214
221
|
Requires-Dist: types-boto3-iot-jobs-data<1.36.0,>=1.35.0; extra == "all"
|
@@ -295,6 +302,7 @@ Requires-Dist: types-boto3-neptune<1.36.0,>=1.35.0; extra == "all"
|
|
295
302
|
Requires-Dist: types-boto3-neptune-graph<1.36.0,>=1.35.0; extra == "all"
|
296
303
|
Requires-Dist: types-boto3-neptunedata<1.36.0,>=1.35.0; extra == "all"
|
297
304
|
Requires-Dist: types-boto3-network-firewall<1.36.0,>=1.35.0; extra == "all"
|
305
|
+
Requires-Dist: types-boto3-networkflowmonitor<1.36.0,>=1.35.0; extra == "all"
|
298
306
|
Requires-Dist: types-boto3-networkmanager<1.36.0,>=1.35.0; extra == "all"
|
299
307
|
Requires-Dist: types-boto3-networkmonitor<1.36.0,>=1.35.0; extra == "all"
|
300
308
|
Requires-Dist: types-boto3-notifications<1.36.0,>=1.35.0; extra == "all"
|
@@ -361,6 +369,7 @@ Requires-Dist: types-boto3-rum<1.36.0,>=1.35.0; extra == "all"
|
|
361
369
|
Requires-Dist: types-boto3-s3<1.36.0,>=1.35.0; extra == "all"
|
362
370
|
Requires-Dist: types-boto3-s3control<1.36.0,>=1.35.0; extra == "all"
|
363
371
|
Requires-Dist: types-boto3-s3outposts<1.36.0,>=1.35.0; extra == "all"
|
372
|
+
Requires-Dist: types-boto3-s3tables<1.36.0,>=1.35.0; extra == "all"
|
364
373
|
Requires-Dist: types-boto3-sagemaker<1.36.0,>=1.35.0; extra == "all"
|
365
374
|
Requires-Dist: types-boto3-sagemaker-a2i-runtime<1.36.0,>=1.35.0; extra == "all"
|
366
375
|
Requires-Dist: types-boto3-sagemaker-edge<1.36.0,>=1.35.0; extra == "all"
|
@@ -373,6 +382,7 @@ Requires-Dist: types-boto3-scheduler<1.36.0,>=1.35.0; extra == "all"
|
|
373
382
|
Requires-Dist: types-boto3-schemas<1.36.0,>=1.35.0; extra == "all"
|
374
383
|
Requires-Dist: types-boto3-sdb<1.36.0,>=1.35.0; extra == "all"
|
375
384
|
Requires-Dist: types-boto3-secretsmanager<1.36.0,>=1.35.0; extra == "all"
|
385
|
+
Requires-Dist: types-boto3-security-ir<1.36.0,>=1.35.0; extra == "all"
|
376
386
|
Requires-Dist: types-boto3-securityhub<1.36.0,>=1.35.0; extra == "all"
|
377
387
|
Requires-Dist: types-boto3-securitylake<1.36.0,>=1.35.0; extra == "all"
|
378
388
|
Requires-Dist: types-boto3-serverlessrepo<1.36.0,>=1.35.0; extra == "all"
|
@@ -441,9 +451,6 @@ Requires-Dist: types-boto3-lambda<1.36.0,>=1.35.0; extra == "essential"
|
|
441
451
|
Requires-Dist: types-boto3-rds<1.36.0,>=1.35.0; extra == "essential"
|
442
452
|
Requires-Dist: types-boto3-s3<1.36.0,>=1.35.0; extra == "essential"
|
443
453
|
Requires-Dist: types-boto3-sqs<1.36.0,>=1.35.0; extra == "essential"
|
444
|
-
Provides-Extra: boto3
|
445
|
-
Requires-Dist: boto3==1.35.71; extra == "boto3"
|
446
|
-
Requires-Dist: botocore==1.35.71; extra == "boto3"
|
447
454
|
Provides-Extra: accessanalyzer
|
448
455
|
Requires-Dist: types-boto3-accessanalyzer<1.36.0,>=1.35.0; extra == "accessanalyzer"
|
449
456
|
Provides-Extra: account
|
@@ -512,6 +519,8 @@ Provides-Extra: backup
|
|
512
519
|
Requires-Dist: types-boto3-backup<1.36.0,>=1.35.0; extra == "backup"
|
513
520
|
Provides-Extra: backup-gateway
|
514
521
|
Requires-Dist: types-boto3-backup-gateway<1.36.0,>=1.35.0; extra == "backup-gateway"
|
522
|
+
Provides-Extra: backupsearch
|
523
|
+
Requires-Dist: types-boto3-backupsearch<1.36.0,>=1.35.0; extra == "backupsearch"
|
515
524
|
Provides-Extra: batch
|
516
525
|
Requires-Dist: types-boto3-batch<1.36.0,>=1.35.0; extra == "batch"
|
517
526
|
Provides-Extra: bcm-data-exports
|
@@ -524,6 +533,10 @@ Provides-Extra: bedrock-agent
|
|
524
533
|
Requires-Dist: types-boto3-bedrock-agent<1.36.0,>=1.35.0; extra == "bedrock-agent"
|
525
534
|
Provides-Extra: bedrock-agent-runtime
|
526
535
|
Requires-Dist: types-boto3-bedrock-agent-runtime<1.36.0,>=1.35.0; extra == "bedrock-agent-runtime"
|
536
|
+
Provides-Extra: bedrock-data-automation
|
537
|
+
Requires-Dist: types-boto3-bedrock-data-automation<1.36.0,>=1.35.0; extra == "bedrock-data-automation"
|
538
|
+
Provides-Extra: bedrock-data-automation-runtime
|
539
|
+
Requires-Dist: types-boto3-bedrock-data-automation-runtime<1.36.0,>=1.35.0; extra == "bedrock-data-automation-runtime"
|
527
540
|
Provides-Extra: bedrock-runtime
|
528
541
|
Requires-Dist: types-boto3-bedrock-runtime<1.36.0,>=1.35.0; extra == "bedrock-runtime"
|
529
542
|
Provides-Extra: billing
|
@@ -678,6 +691,8 @@ Provides-Extra: ds
|
|
678
691
|
Requires-Dist: types-boto3-ds<1.36.0,>=1.35.0; extra == "ds"
|
679
692
|
Provides-Extra: ds-data
|
680
693
|
Requires-Dist: types-boto3-ds-data<1.36.0,>=1.35.0; extra == "ds-data"
|
694
|
+
Provides-Extra: dsql
|
695
|
+
Requires-Dist: types-boto3-dsql<1.36.0,>=1.35.0; extra == "dsql"
|
681
696
|
Provides-Extra: dynamodb
|
682
697
|
Requires-Dist: types-boto3-dynamodb<1.36.0,>=1.35.0; extra == "dynamodb"
|
683
698
|
Provides-Extra: dynamodbstreams
|
@@ -790,6 +805,8 @@ Provides-Extra: inspector2
|
|
790
805
|
Requires-Dist: types-boto3-inspector2<1.36.0,>=1.35.0; extra == "inspector2"
|
791
806
|
Provides-Extra: internetmonitor
|
792
807
|
Requires-Dist: types-boto3-internetmonitor<1.36.0,>=1.35.0; extra == "internetmonitor"
|
808
|
+
Provides-Extra: invoicing
|
809
|
+
Requires-Dist: types-boto3-invoicing<1.36.0,>=1.35.0; extra == "invoicing"
|
793
810
|
Provides-Extra: iot
|
794
811
|
Requires-Dist: types-boto3-iot<1.36.0,>=1.35.0; extra == "iot"
|
795
812
|
Provides-Extra: iot-data
|
@@ -962,6 +979,8 @@ Provides-Extra: neptunedata
|
|
962
979
|
Requires-Dist: types-boto3-neptunedata<1.36.0,>=1.35.0; extra == "neptunedata"
|
963
980
|
Provides-Extra: network-firewall
|
964
981
|
Requires-Dist: types-boto3-network-firewall<1.36.0,>=1.35.0; extra == "network-firewall"
|
982
|
+
Provides-Extra: networkflowmonitor
|
983
|
+
Requires-Dist: types-boto3-networkflowmonitor<1.36.0,>=1.35.0; extra == "networkflowmonitor"
|
965
984
|
Provides-Extra: networkmanager
|
966
985
|
Requires-Dist: types-boto3-networkmanager<1.36.0,>=1.35.0; extra == "networkmanager"
|
967
986
|
Provides-Extra: networkmonitor
|
@@ -1094,6 +1113,8 @@ Provides-Extra: s3control
|
|
1094
1113
|
Requires-Dist: types-boto3-s3control<1.36.0,>=1.35.0; extra == "s3control"
|
1095
1114
|
Provides-Extra: s3outposts
|
1096
1115
|
Requires-Dist: types-boto3-s3outposts<1.36.0,>=1.35.0; extra == "s3outposts"
|
1116
|
+
Provides-Extra: s3tables
|
1117
|
+
Requires-Dist: types-boto3-s3tables<1.36.0,>=1.35.0; extra == "s3tables"
|
1097
1118
|
Provides-Extra: sagemaker
|
1098
1119
|
Requires-Dist: types-boto3-sagemaker<1.36.0,>=1.35.0; extra == "sagemaker"
|
1099
1120
|
Provides-Extra: sagemaker-a2i-runtime
|
@@ -1118,6 +1139,8 @@ Provides-Extra: sdb
|
|
1118
1139
|
Requires-Dist: types-boto3-sdb<1.36.0,>=1.35.0; extra == "sdb"
|
1119
1140
|
Provides-Extra: secretsmanager
|
1120
1141
|
Requires-Dist: types-boto3-secretsmanager<1.36.0,>=1.35.0; extra == "secretsmanager"
|
1142
|
+
Provides-Extra: security-ir
|
1143
|
+
Requires-Dist: types-boto3-security-ir<1.36.0,>=1.35.0; extra == "security-ir"
|
1121
1144
|
Provides-Extra: securityhub
|
1122
1145
|
Requires-Dist: types-boto3-securityhub<1.36.0,>=1.35.0; extra == "securityhub"
|
1123
1146
|
Provides-Extra: securitylake
|
@@ -1250,7 +1273,7 @@ Requires-Dist: types-boto3-xray<1.36.0,>=1.35.0; extra == "xray"
|
|
1250
1273
|
|
1251
1274
|

|
1252
1275
|
|
1253
|
-
Type annotations for [boto3 1.35.
|
1276
|
+
Type annotations for [boto3 1.35.90](https://pypi.org/project/boto3/)
|
1254
1277
|
compatible with [VSCode](https://code.visualstudio.com/),
|
1255
1278
|
[PyCharm](https://www.jetbrains.com/pycharm/),
|
1256
1279
|
[Emacs](https://www.gnu.org/software/emacs/),
|
@@ -1258,8 +1281,8 @@ compatible with [VSCode](https://code.visualstudio.com/),
|
|
1258
1281
|
[mypy](https://github.com/python/mypy),
|
1259
1282
|
[pyright](https://github.com/microsoft/pyright) and other tools.
|
1260
1283
|
|
1261
|
-
Generated
|
1262
|
-
[mypy-boto3-builder 8.
|
1284
|
+
Generated with
|
1285
|
+
[mypy-boto3-builder 8.7.0](https://github.com/youtype/mypy_boto3_builder).
|
1263
1286
|
|
1264
1287
|
More information can be found on
|
1265
1288
|
[types-boto3](https://pypi.org/project/types-boto3/) page and in
|
@@ -1271,6 +1294,7 @@ See how it helps you find and fix potential bugs:
|
|
1271
1294
|
|
1272
1295
|
- [types-boto3-lite](#types-boto3-lite)
|
1273
1296
|
- [How to install](#how-to-install)
|
1297
|
+
- [Generate locally (recommended)](<#generate-locally-(recommended)>)
|
1274
1298
|
- [VSCode extension](#vscode-extension)
|
1275
1299
|
- [From PyPI with pip](#from-pypi-with-pip)
|
1276
1300
|
- [How to uninstall](#how-to-uninstall)
|
@@ -1282,8 +1306,8 @@ See how it helps you find and fix potential bugs:
|
|
1282
1306
|
- [Other IDEs](#other-ides)
|
1283
1307
|
- [mypy](#mypy)
|
1284
1308
|
- [pyright](#pyright)
|
1285
|
-
- [Explicit type annotations](#explicit-type-annotations)
|
1286
1309
|
- [Pylint compatibility](#pylint-compatibility)
|
1310
|
+
- [Explicit type annotations](#explicit-type-annotations)
|
1287
1311
|
- [How it works](#how-it-works)
|
1288
1312
|
- [What's new](#what's-new)
|
1289
1313
|
- [Implemented features](#implemented-features)
|
@@ -1298,6 +1322,21 @@ See how it helps you find and fix potential bugs:
|
|
1298
1322
|
|
1299
1323
|
## How to install
|
1300
1324
|
|
1325
|
+
<a id="generate-locally-(recommended)"></a>
|
1326
|
+
|
1327
|
+
### Generate locally (recommended)
|
1328
|
+
|
1329
|
+
You can generate type annotations for `boto3` package locally with
|
1330
|
+
`mypy_boto3_builder`. Use
|
1331
|
+
[uv](https://docs.astral.sh/uv/getting-started/installation/) for build
|
1332
|
+
isolation.
|
1333
|
+
|
1334
|
+
1. Run mypy-boto3-builder in your package root directory:
|
1335
|
+
`uvx --with 'boto3==1.35.90' mypy_boto3_builder`
|
1336
|
+
2. Select `boto3` AWS SDK.
|
1337
|
+
3. Select services you use in the current project.
|
1338
|
+
4. Use provided commands to install generated packages.
|
1339
|
+
|
1301
1340
|
<a id="vscode-extension"></a>
|
1302
1341
|
|
1303
1342
|
### VSCode extension
|
@@ -1313,28 +1352,24 @@ project.
|
|
1313
1352
|
|
1314
1353
|
### From PyPI with pip
|
1315
1354
|
|
1316
|
-
Install `types-boto3
|
1355
|
+
Install `types-boto3` to add type checking for `boto3` package.
|
1317
1356
|
|
1318
1357
|
```bash
|
1319
1358
|
# install type annotations only for boto3
|
1320
|
-
python -m pip install types-boto3
|
1359
|
+
python -m pip install types-boto3
|
1321
1360
|
|
1322
1361
|
# install boto3 type annotations
|
1323
|
-
# for
|
1324
|
-
python -m pip install 'types-boto3
|
1362
|
+
# for cloudformation, dynamodb, ec2, lambda, rds, s3, sqs
|
1363
|
+
python -m pip install 'types-boto3[essential]'
|
1325
1364
|
|
1326
1365
|
# or install annotations for services you use
|
1327
|
-
python -m pip install 'types-boto3
|
1366
|
+
python -m pip install 'types-boto3[acm,apigateway]'
|
1328
1367
|
|
1329
1368
|
# or install annotations in sync with boto3 version
|
1330
|
-
python -m pip install 'types-boto3
|
1331
|
-
|
1332
|
-
|
1333
|
-
# or install all-in-one annotations for all services at once
|
1334
|
-
python -m pip install 'types-boto3-lite[full]'
|
1335
|
-
|
1336
|
-
|
1369
|
+
python -m pip install 'types-boto3[boto3]'
|
1337
1370
|
|
1371
|
+
# or install all-in-one annotations for all services
|
1372
|
+
python -m pip install 'types-boto3[full]'
|
1338
1373
|
```
|
1339
1374
|
|
1340
1375
|
<a id="how-to-uninstall"></a>
|
@@ -1466,6 +1501,31 @@ Optionally, you can install `types-boto3-lite` to `typings` directory.
|
|
1466
1501
|
Type checking should now work. No explicit type annotations required, write
|
1467
1502
|
your `boto3` code as usual.
|
1468
1503
|
|
1504
|
+
<a id="pylint-compatibility"></a>
|
1505
|
+
|
1506
|
+
### Pylint compatibility
|
1507
|
+
|
1508
|
+
It is totally safe to use `TYPE_CHECKING` flag in order to avoid
|
1509
|
+
`types-boto3-lite` dependency in production. However, there is an issue in
|
1510
|
+
`pylint` that it complains about undefined variables. To fix it, set all types
|
1511
|
+
to `object` in non-`TYPE_CHECKING` mode.
|
1512
|
+
|
1513
|
+
```python
|
1514
|
+
from typing import TYPE_CHECKING
|
1515
|
+
|
1516
|
+
if TYPE_CHECKING:
|
1517
|
+
from types_boto3_ec2 import EC2Client, EC2ServiceResource
|
1518
|
+
from types_boto3_ec2.waiters import BundleTaskCompleteWaiter
|
1519
|
+
from types_boto3_ec2.paginators import DescribeVolumesPaginator
|
1520
|
+
else:
|
1521
|
+
EC2Client = object
|
1522
|
+
EC2ServiceResource = object
|
1523
|
+
BundleTaskCompleteWaiter = object
|
1524
|
+
DescribeVolumesPaginator = object
|
1525
|
+
|
1526
|
+
...
|
1527
|
+
```
|
1528
|
+
|
1469
1529
|
<a id="explicit-type-annotations"></a>
|
1470
1530
|
|
1471
1531
|
### Explicit type annotations
|
@@ -1492,32 +1552,6 @@ bundle_task_complete_waiter: BundleTaskCompleteWaiter = ec2_client.get_waiter(
|
|
1492
1552
|
describe_volumes_paginator: DescribeVolumesPaginator = ec2_client.get_paginator("describe_volumes")
|
1493
1553
|
```
|
1494
1554
|
|
1495
|
-
<a id="pylint-compatibility"></a>
|
1496
|
-
|
1497
|
-
### Pylint compatibility
|
1498
|
-
|
1499
|
-
It is totally safe to use `TYPE_CHECKING` flag in order to avoid
|
1500
|
-
`types-boto3-lite` dependency in production. However, there is an issue in
|
1501
|
-
`pylint` that it complains about undefined variables. To fix it, set all types
|
1502
|
-
to `object` in non-`TYPE_CHECKING` mode.
|
1503
|
-
|
1504
|
-
```python
|
1505
|
-
import boto3
|
1506
|
-
from typing import TYPE_CHECKING
|
1507
|
-
|
1508
|
-
if TYPE_CHECKING:
|
1509
|
-
from types_boto3_ec2 import EC2Client, EC2ServiceResource
|
1510
|
-
from types_boto3_ec2.waiters import BundleTaskCompleteWaiter
|
1511
|
-
from types_boto3_ec2.paginators import DescribeVolumesPaginator
|
1512
|
-
else:
|
1513
|
-
EC2Client = object
|
1514
|
-
EC2ServiceResource = object
|
1515
|
-
BundleTaskCompleteWaiter = object
|
1516
|
-
DescribeVolumesPaginator = object
|
1517
|
-
|
1518
|
-
...
|
1519
|
-
```
|
1520
|
-
|
1521
1555
|
<a id="how-it-works"></a>
|
1522
1556
|
|
1523
1557
|
## How it works
|
@@ -1606,9 +1640,9 @@ repository.
|
|
1606
1640
|
|
1607
1641
|
## Submodules
|
1608
1642
|
|
1609
|
-
- `types-boto3-lite[full]` - Type annotations for all
|
1643
|
+
- `types-boto3-lite[full]` - Type annotations for all 405 services in one
|
1610
1644
|
package (recommended).
|
1611
|
-
- `types-boto3-lite[all]` - Type annotations for all
|
1645
|
+
- `types-boto3-lite[all]` - Type annotations for all 405 services in separate
|
1612
1646
|
packages.
|
1613
1647
|
- `types-boto3-lite[essential]` - Type annotations for
|
1614
1648
|
[CloudFormation](https://youtype.github.io/types_boto3_docs/types_boto3_cloudformation/),
|
@@ -1719,6 +1753,9 @@ repository.
|
|
1719
1753
|
- `types-boto3-lite[backup-gateway]` - Type annotations for
|
1720
1754
|
[BackupGateway](https://youtype.github.io/types_boto3_docs/types_boto3_backup_gateway/)
|
1721
1755
|
service.
|
1756
|
+
- `types-boto3-lite[backupsearch]` - Type annotations for
|
1757
|
+
[BackupSearch](https://youtype.github.io/types_boto3_docs/types_boto3_backupsearch/)
|
1758
|
+
service.
|
1722
1759
|
- `types-boto3-lite[batch]` - Type annotations for
|
1723
1760
|
[Batch](https://youtype.github.io/types_boto3_docs/types_boto3_batch/)
|
1724
1761
|
service.
|
@@ -1737,6 +1774,12 @@ repository.
|
|
1737
1774
|
- `types-boto3-lite[bedrock-agent-runtime]` - Type annotations for
|
1738
1775
|
[AgentsforBedrockRuntime](https://youtype.github.io/types_boto3_docs/types_boto3_bedrock_agent_runtime/)
|
1739
1776
|
service.
|
1777
|
+
- `types-boto3-lite[bedrock-data-automation]` - Type annotations for
|
1778
|
+
[DataAutomationforBedrock](https://youtype.github.io/types_boto3_docs/types_boto3_bedrock_data_automation/)
|
1779
|
+
service.
|
1780
|
+
- `types-boto3-lite[bedrock-data-automation-runtime]` - Type annotations for
|
1781
|
+
[RuntimeforBedrockDataAutomation](https://youtype.github.io/types_boto3_docs/types_boto3_bedrock_data_automation_runtime/)
|
1782
|
+
service.
|
1740
1783
|
- `types-boto3-lite[bedrock-runtime]` - Type annotations for
|
1741
1784
|
[BedrockRuntime](https://youtype.github.io/types_boto3_docs/types_boto3_bedrock_runtime/)
|
1742
1785
|
service.
|
@@ -1965,6 +2008,9 @@ repository.
|
|
1965
2008
|
- `types-boto3-lite[ds-data]` - Type annotations for
|
1966
2009
|
[DirectoryServiceData](https://youtype.github.io/types_boto3_docs/types_boto3_ds_data/)
|
1967
2010
|
service.
|
2011
|
+
- `types-boto3-lite[dsql]` - Type annotations for
|
2012
|
+
[AuroraDSQL](https://youtype.github.io/types_boto3_docs/types_boto3_dsql/)
|
2013
|
+
service.
|
1968
2014
|
- `types-boto3-lite[dynamodb]` - Type annotations for
|
1969
2015
|
[DynamoDB](https://youtype.github.io/types_boto3_docs/types_boto3_dynamodb/)
|
1970
2016
|
service.
|
@@ -2121,6 +2167,9 @@ repository.
|
|
2121
2167
|
- `types-boto3-lite[internetmonitor]` - Type annotations for
|
2122
2168
|
[CloudWatchInternetMonitor](https://youtype.github.io/types_boto3_docs/types_boto3_internetmonitor/)
|
2123
2169
|
service.
|
2170
|
+
- `types-boto3-lite[invoicing]` - Type annotations for
|
2171
|
+
[Invoicing](https://youtype.github.io/types_boto3_docs/types_boto3_invoicing/)
|
2172
|
+
service.
|
2124
2173
|
- `types-boto3-lite[iot]` - Type annotations for
|
2125
2174
|
[IoT](https://youtype.github.io/types_boto3_docs/types_boto3_iot/) service.
|
2126
2175
|
- `types-boto3-lite[iot-data]` - Type annotations for
|
@@ -2374,6 +2423,9 @@ repository.
|
|
2374
2423
|
- `types-boto3-lite[network-firewall]` - Type annotations for
|
2375
2424
|
[NetworkFirewall](https://youtype.github.io/types_boto3_docs/types_boto3_network_firewall/)
|
2376
2425
|
service.
|
2426
|
+
- `types-boto3-lite[networkflowmonitor]` - Type annotations for
|
2427
|
+
[NetworkFlowMonitor](https://youtype.github.io/types_boto3_docs/types_boto3_networkflowmonitor/)
|
2428
|
+
service.
|
2377
2429
|
- `types-boto3-lite[networkmanager]` - Type annotations for
|
2378
2430
|
[NetworkManager](https://youtype.github.io/types_boto3_docs/types_boto3_networkmanager/)
|
2379
2431
|
service.
|
@@ -2567,6 +2619,9 @@ repository.
|
|
2567
2619
|
- `types-boto3-lite[s3outposts]` - Type annotations for
|
2568
2620
|
[S3Outposts](https://youtype.github.io/types_boto3_docs/types_boto3_s3outposts/)
|
2569
2621
|
service.
|
2622
|
+
- `types-boto3-lite[s3tables]` - Type annotations for
|
2623
|
+
[S3Tables](https://youtype.github.io/types_boto3_docs/types_boto3_s3tables/)
|
2624
|
+
service.
|
2570
2625
|
- `types-boto3-lite[sagemaker]` - Type annotations for
|
2571
2626
|
[SageMaker](https://youtype.github.io/types_boto3_docs/types_boto3_sagemaker/)
|
2572
2627
|
service.
|
@@ -2603,6 +2658,9 @@ repository.
|
|
2603
2658
|
- `types-boto3-lite[secretsmanager]` - Type annotations for
|
2604
2659
|
[SecretsManager](https://youtype.github.io/types_boto3_docs/types_boto3_secretsmanager/)
|
2605
2660
|
service.
|
2661
|
+
- `types-boto3-lite[security-ir]` - Type annotations for
|
2662
|
+
[SecurityIncidentResponse](https://youtype.github.io/types_boto3_docs/types_boto3_security_ir/)
|
2663
|
+
service.
|
2606
2664
|
- `types-boto3-lite[securityhub]` - Type annotations for
|
2607
2665
|
[SecurityHub](https://youtype.github.io/types_boto3_docs/types_boto3_securityhub/)
|
2608
2666
|
service.
|
@@ -1,9 +1,9 @@
|
|
1
|
-
boto3-stubs/__init__.pyi,sha256=
|
1
|
+
boto3-stubs/__init__.pyi,sha256=_Qpg9Ao1yEr-xfxSwZZUm47TYQVX7r5JsztT_dZ911Q,1729
|
2
2
|
boto3-stubs/compat.pyi,sha256=j3-SBZqCGaoZoXzN6e7fkEQQvUmQ-MpIpcF9FuuUHH0,209
|
3
3
|
boto3-stubs/crt.pyi,sha256=OAjGbtBlQJIDRctWkMpr7UwRKxiH_lQt9OdSrHPL3QI,893
|
4
4
|
boto3-stubs/exceptions.pyi,sha256=cjOrbR2BIOcaHRmIQvGL0y-XEJdicpzRl2dQNfx6GVk,1339
|
5
5
|
boto3-stubs/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
6
|
-
boto3-stubs/session.pyi,sha256=
|
6
|
+
boto3-stubs/session.pyi,sha256=n0mNh0cI_Z2jumJRR1Q3gMpIRb5Kjeie_kWJUBItfEc,2798
|
7
7
|
boto3-stubs/utils.pyi,sha256=2vtGuLR-fnfzUNoeNvcEbb0Lb-DGEZ-BQ5BV9xF8vSg,841
|
8
8
|
boto3-stubs/docs/__init__.pyi,sha256=uDkzwRXE_Bb65mlFvnPSySeRYnhK9Cpk4fUyK6gpBd0,179
|
9
9
|
boto3-stubs/docs/action.pyi,sha256=_vWYnBVkwK6kU3xTdr5tPGxL-s3ULaAFBnxuFLHsmsE,1016
|
@@ -38,8 +38,8 @@ boto3-stubs/s3/__init__.pyi,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
38
38
|
boto3-stubs/s3/constants.pyi,sha256=U9MRV6GXbxTyEfKLsp3fVKzLR85KSSSP5FbcIWVHX54,163
|
39
39
|
boto3-stubs/s3/inject.pyi,sha256=z72QArriCVYH-O15Z5yDGnMX0zo7nCmYhSB2tiIRTeo,4502
|
40
40
|
boto3-stubs/s3/transfer.pyi,sha256=7A4hY7nziEaFM6fFhhneQYgB8aPa_on4i3DhOxh1_7s,2536
|
41
|
-
types_boto3_lite-1.35.
|
42
|
-
types_boto3_lite-1.35.
|
43
|
-
types_boto3_lite-1.35.
|
44
|
-
types_boto3_lite-1.35.
|
45
|
-
types_boto3_lite-1.35.
|
41
|
+
types_boto3_lite-1.35.90.dist-info/LICENSE,sha256=eQDadZQZ3vRCiNF510ZT4yJV2zgo4000AOBoDRZyvKg,1070
|
42
|
+
types_boto3_lite-1.35.90.dist-info/METADATA,sha256=aPBlOo_ibNI3T2wH6mNNFeeeLRWz8c-D85X5mfN-VKo,151364
|
43
|
+
types_boto3_lite-1.35.90.dist-info/WHEEL,sha256=PZUExdf71Ui_so67QXpySuHtCi3-J3wvF4ORK6k_S8U,91
|
44
|
+
types_boto3_lite-1.35.90.dist-info/top_level.txt,sha256=uB_lQ39lkJ_VYZ_88DxH_zFptJtIwQ_SzeMpW8tRmT4,12
|
45
|
+
types_boto3_lite-1.35.90.dist-info/RECORD,,
|
File without changes
|
File without changes
|
{types_boto3_lite-1.35.71.post1.dist-info → types_boto3_lite-1.35.90.dist-info}/top_level.txt
RENAMED
File without changes
|