boto3-stubs 1.35.36__py3-none-any.whl → 1.35.73__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 +191 -3
  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 +204 -3
  35. boto3-stubs/utils.pyi +10 -4
  36. {boto3_stubs-1.35.36.dist-info → boto3_stubs-1.35.73.dist-info}/METADATA +163 -71
  37. boto3_stubs-1.35.73.dist-info/RECORD +45 -0
  38. {boto3_stubs-1.35.36.dist-info → boto3_stubs-1.35.73.dist-info}/WHEEL +1 -1
  39. boto3_stubs-1.35.36.dist-info/RECORD +0 -45
  40. {boto3_stubs-1.35.36.dist-info → boto3_stubs-1.35.73.dist-info}/LICENSE +0 -0
  41. {boto3_stubs-1.35.36.dist-info → boto3_stubs-1.35.73.dist-info}/top_level.txt +0 -0
boto3-stubs/session.pyi CHANGED
@@ -1,3 +1,9 @@
1
+ """
2
+ Type annotations for boto3.session module.
3
+
4
+ Copyright 2024 Vlad Emelianov
5
+ """
6
+
1
7
  import sys
2
8
  from typing import List, Optional, Union, overload
3
9
 
@@ -48,10 +54,12 @@ from mypy_boto3_backup.client import BackupClient
48
54
  from mypy_boto3_backup_gateway.client import BackupGatewayClient
49
55
  from mypy_boto3_batch.client import BatchClient
50
56
  from mypy_boto3_bcm_data_exports.client import BillingandCostManagementDataExportsClient
57
+ from mypy_boto3_bcm_pricing_calculator.client import BillingandCostManagementPricingCalculatorClient
51
58
  from mypy_boto3_bedrock.client import BedrockClient
52
59
  from mypy_boto3_bedrock_agent.client import AgentsforBedrockClient
53
60
  from mypy_boto3_bedrock_agent_runtime.client import AgentsforBedrockRuntimeClient
54
61
  from mypy_boto3_bedrock_runtime.client import BedrockRuntimeClient
62
+ from mypy_boto3_billing.client import BillingClient
55
63
  from mypy_boto3_billingconductor.client import BillingConductorClient
56
64
  from mypy_boto3_braket.client import BraketClient
57
65
  from mypy_boto3_budgets.client import BudgetsClient
@@ -102,6 +110,7 @@ from mypy_boto3_config.client import ConfigServiceClient
102
110
  from mypy_boto3_connect.client import ConnectClient
103
111
  from mypy_boto3_connect_contact_lens.client import ConnectContactLensClient
104
112
  from mypy_boto3_connectcampaigns.client import ConnectCampaignServiceClient
113
+ from mypy_boto3_connectcampaignsv2.client import ConnectCampaignServiceV2Client
105
114
  from mypy_boto3_connectcases.client import ConnectCasesClient
106
115
  from mypy_boto3_connectparticipant.client import ConnectParticipantClient
107
116
  from mypy_boto3_controlcatalog.client import ControlCatalogClient
@@ -165,6 +174,9 @@ from mypy_boto3_frauddetector.client import FraudDetectorClient
165
174
  from mypy_boto3_freetier.client import FreeTierClient
166
175
  from mypy_boto3_fsx.client import FSxClient
167
176
  from mypy_boto3_gamelift.client import GameLiftClient
177
+ from mypy_boto3_geo_maps.client import LocationServiceMapsV2Client
178
+ from mypy_boto3_geo_places.client import LocationServicePlacesV2Client
179
+ from mypy_boto3_geo_routes.client import LocationServiceRoutesV2Client
168
180
  from mypy_boto3_glacier.client import GlacierClient
169
181
  from mypy_boto3_glacier.service_resource import GlacierServiceResource
170
182
  from mypy_boto3_globalaccelerator.client import GlobalAcceleratorClient
@@ -185,6 +197,7 @@ from mypy_boto3_inspector.client import InspectorClient
185
197
  from mypy_boto3_inspector2.client import Inspector2Client
186
198
  from mypy_boto3_inspector_scan.client import InspectorscanClient
187
199
  from mypy_boto3_internetmonitor.client import CloudWatchInternetMonitorClient
200
+ from mypy_boto3_invoicing.client import InvoicingClient
188
201
  from mypy_boto3_iot.client import IoTClient
189
202
  from mypy_boto3_iot1click_devices.client import IoT1ClickDevicesServiceClient
190
203
  from mypy_boto3_iot1click_projects.client import IoT1ClickProjectsClient
@@ -275,10 +288,13 @@ from mypy_boto3_neptune.client import NeptuneClient
275
288
  from mypy_boto3_neptune_graph.client import NeptuneGraphClient
276
289
  from mypy_boto3_neptunedata.client import NeptuneDataClient
277
290
  from mypy_boto3_network_firewall.client import NetworkFirewallClient
291
+ from mypy_boto3_networkflowmonitor.client import NetworkFlowMonitorClient
278
292
  from mypy_boto3_networkmanager.client import NetworkManagerClient
279
293
  from mypy_boto3_networkmonitor.client import CloudWatchNetworkMonitorClient
280
- from mypy_boto3_nimble.client import NimbleStudioClient
294
+ from mypy_boto3_notifications.client import UserNotificationsClient
295
+ from mypy_boto3_notificationscontacts.client import UserNotificationsContactsClient
281
296
  from mypy_boto3_oam.client import CloudWatchObservabilityAccessManagerClient
297
+ from mypy_boto3_observabilityadmin.client import CloudWatchObservabilityAdminServiceClient
282
298
  from mypy_boto3_omics.client import OmicsClient
283
299
  from mypy_boto3_opensearch.client import OpenSearchServiceClient
284
300
  from mypy_boto3_opensearchserverless.client import OpenSearchServiceServerlessClient
@@ -289,6 +305,7 @@ from mypy_boto3_organizations.client import OrganizationsClient
289
305
  from mypy_boto3_osis.client import OpenSearchIngestionClient
290
306
  from mypy_boto3_outposts.client import OutpostsClient
291
307
  from mypy_boto3_panorama.client import PanoramaClient
308
+ from mypy_boto3_partnercentral_selling.client import PartnerCentralSellingAPIClient
292
309
  from mypy_boto3_payment_cryptography.client import PaymentCryptographyControlPlaneClient
293
310
  from mypy_boto3_payment_cryptography_data.client import PaymentCryptographyDataPlaneClient
294
311
  from mypy_boto3_pca_connector_ad.client import PcaConnectorAdClient
@@ -352,6 +369,7 @@ from mypy_boto3_scheduler.client import EventBridgeSchedulerClient
352
369
  from mypy_boto3_schemas.client import SchemasClient
353
370
  from mypy_boto3_sdb.client import SimpleDBClient
354
371
  from mypy_boto3_secretsmanager.client import SecretsManagerClient
372
+ from mypy_boto3_security_ir.client import SecurityIncidentResponseClient
355
373
  from mypy_boto3_securityhub.client import SecurityHubClient
356
374
  from mypy_boto3_securitylake.client import SecurityLakeClient
357
375
  from mypy_boto3_serverlessrepo.client import ServerlessApplicationRepositoryClient
@@ -370,6 +388,7 @@ from mypy_boto3_snow_device_management.client import SnowDeviceManagementClient
370
388
  from mypy_boto3_snowball.client import SnowballClient
371
389
  from mypy_boto3_sns.client import SNSClient
372
390
  from mypy_boto3_sns.service_resource import SNSServiceResource
391
+ from mypy_boto3_socialmessaging.client import EndUserMessagingSocialClient
373
392
  from mypy_boto3_sqs.client import SQSClient
374
393
  from mypy_boto3_sqs.service_resource import SQSServiceResource
375
394
  from mypy_boto3_ssm.client import SSMClient
@@ -960,6 +979,20 @@ class Session:
960
979
  config: Optional[Config] = ...,
961
980
  ) -> BillingandCostManagementDataExportsClient: ...
962
981
  @overload
982
+ def client(
983
+ self,
984
+ service_name: Literal["bcm-pricing-calculator"],
985
+ region_name: Optional[str] = ...,
986
+ api_version: Optional[str] = ...,
987
+ use_ssl: Optional[bool] = ...,
988
+ verify: Union[bool, str, None] = ...,
989
+ endpoint_url: Optional[str] = ...,
990
+ aws_access_key_id: Optional[str] = ...,
991
+ aws_secret_access_key: Optional[str] = ...,
992
+ aws_session_token: Optional[str] = ...,
993
+ config: Optional[Config] = ...,
994
+ ) -> BillingandCostManagementPricingCalculatorClient: ...
995
+ @overload
963
996
  def client(
964
997
  self,
965
998
  service_name: Literal["bedrock"],
@@ -1016,6 +1049,20 @@ class Session:
1016
1049
  config: Optional[Config] = ...,
1017
1050
  ) -> BedrockRuntimeClient: ...
1018
1051
  @overload
1052
+ def client(
1053
+ self,
1054
+ service_name: Literal["billing"],
1055
+ region_name: Optional[str] = ...,
1056
+ api_version: Optional[str] = ...,
1057
+ use_ssl: Optional[bool] = ...,
1058
+ verify: Union[bool, str, None] = ...,
1059
+ endpoint_url: Optional[str] = ...,
1060
+ aws_access_key_id: Optional[str] = ...,
1061
+ aws_secret_access_key: Optional[str] = ...,
1062
+ aws_session_token: Optional[str] = ...,
1063
+ config: Optional[Config] = ...,
1064
+ ) -> BillingClient: ...
1065
+ @overload
1019
1066
  def client(
1020
1067
  self,
1021
1068
  service_name: Literal["billingconductor"],
@@ -1688,6 +1735,20 @@ class Session:
1688
1735
  config: Optional[Config] = ...,
1689
1736
  ) -> ConnectCampaignServiceClient: ...
1690
1737
  @overload
1738
+ def client(
1739
+ self,
1740
+ service_name: Literal["connectcampaignsv2"],
1741
+ region_name: Optional[str] = ...,
1742
+ api_version: Optional[str] = ...,
1743
+ use_ssl: Optional[bool] = ...,
1744
+ verify: Union[bool, str, None] = ...,
1745
+ endpoint_url: Optional[str] = ...,
1746
+ aws_access_key_id: Optional[str] = ...,
1747
+ aws_secret_access_key: Optional[str] = ...,
1748
+ aws_session_token: Optional[str] = ...,
1749
+ config: Optional[Config] = ...,
1750
+ ) -> ConnectCampaignServiceV2Client: ...
1751
+ @overload
1691
1752
  def client(
1692
1753
  self,
1693
1754
  service_name: Literal["connectcases"],
@@ -2542,6 +2603,48 @@ class Session:
2542
2603
  config: Optional[Config] = ...,
2543
2604
  ) -> GameLiftClient: ...
2544
2605
  @overload
2606
+ def client(
2607
+ self,
2608
+ service_name: Literal["geo-maps"],
2609
+ region_name: Optional[str] = ...,
2610
+ api_version: Optional[str] = ...,
2611
+ use_ssl: Optional[bool] = ...,
2612
+ verify: Union[bool, str, None] = ...,
2613
+ endpoint_url: Optional[str] = ...,
2614
+ aws_access_key_id: Optional[str] = ...,
2615
+ aws_secret_access_key: Optional[str] = ...,
2616
+ aws_session_token: Optional[str] = ...,
2617
+ config: Optional[Config] = ...,
2618
+ ) -> LocationServiceMapsV2Client: ...
2619
+ @overload
2620
+ def client(
2621
+ self,
2622
+ service_name: Literal["geo-places"],
2623
+ region_name: Optional[str] = ...,
2624
+ api_version: Optional[str] = ...,
2625
+ use_ssl: Optional[bool] = ...,
2626
+ verify: Union[bool, str, None] = ...,
2627
+ endpoint_url: Optional[str] = ...,
2628
+ aws_access_key_id: Optional[str] = ...,
2629
+ aws_secret_access_key: Optional[str] = ...,
2630
+ aws_session_token: Optional[str] = ...,
2631
+ config: Optional[Config] = ...,
2632
+ ) -> LocationServicePlacesV2Client: ...
2633
+ @overload
2634
+ def client(
2635
+ self,
2636
+ service_name: Literal["geo-routes"],
2637
+ region_name: Optional[str] = ...,
2638
+ api_version: Optional[str] = ...,
2639
+ use_ssl: Optional[bool] = ...,
2640
+ verify: Union[bool, str, None] = ...,
2641
+ endpoint_url: Optional[str] = ...,
2642
+ aws_access_key_id: Optional[str] = ...,
2643
+ aws_secret_access_key: Optional[str] = ...,
2644
+ aws_session_token: Optional[str] = ...,
2645
+ config: Optional[Config] = ...,
2646
+ ) -> LocationServiceRoutesV2Client: ...
2647
+ @overload
2545
2648
  def client(
2546
2649
  self,
2547
2650
  service_name: Literal["glacier"],
@@ -2794,6 +2897,20 @@ class Session:
2794
2897
  config: Optional[Config] = ...,
2795
2898
  ) -> CloudWatchInternetMonitorClient: ...
2796
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
2797
2914
  def client(
2798
2915
  self,
2799
2916
  service_name: Literal["iot"],
@@ -3998,6 +4115,20 @@ class Session:
3998
4115
  config: Optional[Config] = ...,
3999
4116
  ) -> NetworkFirewallClient: ...
4000
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
4001
4132
  def client(
4002
4133
  self,
4003
4134
  service_name: Literal["networkmanager"],
@@ -4028,7 +4159,21 @@ class Session:
4028
4159
  @overload
4029
4160
  def client(
4030
4161
  self,
4031
- service_name: Literal["nimble"],
4162
+ service_name: Literal["notifications"],
4163
+ region_name: Optional[str] = ...,
4164
+ api_version: Optional[str] = ...,
4165
+ use_ssl: Optional[bool] = ...,
4166
+ verify: Union[bool, str, None] = ...,
4167
+ endpoint_url: Optional[str] = ...,
4168
+ aws_access_key_id: Optional[str] = ...,
4169
+ aws_secret_access_key: Optional[str] = ...,
4170
+ aws_session_token: Optional[str] = ...,
4171
+ config: Optional[Config] = ...,
4172
+ ) -> UserNotificationsClient: ...
4173
+ @overload
4174
+ def client(
4175
+ self,
4176
+ service_name: Literal["notificationscontacts"],
4032
4177
  region_name: Optional[str] = ...,
4033
4178
  api_version: Optional[str] = ...,
4034
4179
  use_ssl: Optional[bool] = ...,
@@ -4038,7 +4183,7 @@ class Session:
4038
4183
  aws_secret_access_key: Optional[str] = ...,
4039
4184
  aws_session_token: Optional[str] = ...,
4040
4185
  config: Optional[Config] = ...,
4041
- ) -> NimbleStudioClient: ...
4186
+ ) -> UserNotificationsContactsClient: ...
4042
4187
  @overload
4043
4188
  def client(
4044
4189
  self,
@@ -4054,6 +4199,20 @@ class Session:
4054
4199
  config: Optional[Config] = ...,
4055
4200
  ) -> CloudWatchObservabilityAccessManagerClient: ...
4056
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
4057
4216
  def client(
4058
4217
  self,
4059
4218
  service_name: Literal["omics"],
@@ -4180,6 +4339,20 @@ class Session:
4180
4339
  config: Optional[Config] = ...,
4181
4340
  ) -> PanoramaClient: ...
4182
4341
  @overload
4342
+ def client(
4343
+ self,
4344
+ service_name: Literal["partnercentral-selling"],
4345
+ region_name: Optional[str] = ...,
4346
+ api_version: Optional[str] = ...,
4347
+ use_ssl: Optional[bool] = ...,
4348
+ verify: Union[bool, str, None] = ...,
4349
+ endpoint_url: Optional[str] = ...,
4350
+ aws_access_key_id: Optional[str] = ...,
4351
+ aws_secret_access_key: Optional[str] = ...,
4352
+ aws_session_token: Optional[str] = ...,
4353
+ config: Optional[Config] = ...,
4354
+ ) -> PartnerCentralSellingAPIClient: ...
4355
+ @overload
4183
4356
  def client(
4184
4357
  self,
4185
4358
  service_name: Literal["payment-cryptography"],
@@ -5048,6 +5221,20 @@ class Session:
5048
5221
  config: Optional[Config] = ...,
5049
5222
  ) -> SecretsManagerClient: ...
5050
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
5051
5238
  def client(
5052
5239
  self,
5053
5240
  service_name: Literal["securityhub"],
@@ -5286,6 +5473,20 @@ class Session:
5286
5473
  config: Optional[Config] = ...,
5287
5474
  ) -> SNSClient: ...
5288
5475
  @overload
5476
+ def client(
5477
+ self,
5478
+ service_name: Literal["socialmessaging"],
5479
+ region_name: Optional[str] = ...,
5480
+ api_version: Optional[str] = ...,
5481
+ use_ssl: Optional[bool] = ...,
5482
+ verify: Union[bool, str, None] = ...,
5483
+ endpoint_url: Optional[str] = ...,
5484
+ aws_access_key_id: Optional[str] = ...,
5485
+ aws_secret_access_key: Optional[str] = ...,
5486
+ aws_session_token: Optional[str] = ...,
5487
+ config: Optional[Config] = ...,
5488
+ ) -> EndUserMessagingSocialClient: ...
5489
+ @overload
5289
5490
  def client(
5290
5491
  self,
5291
5492
  service_name: Literal["sqs"],
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: ...