boto3-stubs 1.35.20__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 +219 -17
  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 +234 -18
  35. boto3-stubs/utils.pyi +10 -4
  36. {boto3_stubs-1.35.20.dist-info → boto3_stubs-1.35.73.dist-info}/METADATA +178 -75
  37. boto3_stubs-1.35.73.dist-info/RECORD +45 -0
  38. {boto3_stubs-1.35.20.dist-info → boto3_stubs-1.35.73.dist-info}/WHEEL +1 -1
  39. boto3_stubs-1.35.20.dist-info/RECORD +0 -45
  40. {boto3_stubs-1.35.20.dist-info → boto3_stubs-1.35.73.dist-info}/LICENSE +0 -0
  41. {boto3_stubs-1.35.20.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
@@ -127,6 +136,7 @@ from mypy_boto3_docdb.client import DocDBClient
127
136
  from mypy_boto3_docdb_elastic.client import DocDBElasticClient
128
137
  from mypy_boto3_drs.client import DrsClient
129
138
  from mypy_boto3_ds.client import DirectoryServiceClient
139
+ from mypy_boto3_ds_data.client import DirectoryServiceDataClient
130
140
  from mypy_boto3_dynamodb.client import DynamoDBClient
131
141
  from mypy_boto3_dynamodb.service_resource import DynamoDBServiceResource
132
142
  from mypy_boto3_dynamodbstreams.client import DynamoDBStreamsClient
@@ -164,6 +174,9 @@ from mypy_boto3_frauddetector.client import FraudDetectorClient
164
174
  from mypy_boto3_freetier.client import FreeTierClient
165
175
  from mypy_boto3_fsx.client import FSxClient
166
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
167
180
  from mypy_boto3_glacier.client import GlacierClient
168
181
  from mypy_boto3_glacier.service_resource import GlacierServiceResource
169
182
  from mypy_boto3_globalaccelerator.client import GlobalAcceleratorClient
@@ -184,6 +197,7 @@ from mypy_boto3_inspector.client import InspectorClient
184
197
  from mypy_boto3_inspector2.client import Inspector2Client
185
198
  from mypy_boto3_inspector_scan.client import InspectorscanClient
186
199
  from mypy_boto3_internetmonitor.client import CloudWatchInternetMonitorClient
200
+ from mypy_boto3_invoicing.client import InvoicingClient
187
201
  from mypy_boto3_iot.client import IoTClient
188
202
  from mypy_boto3_iot1click_devices.client import IoT1ClickDevicesServiceClient
189
203
  from mypy_boto3_iot1click_projects.client import IoT1ClickProjectsClient
@@ -247,6 +261,7 @@ from mypy_boto3_marketplace_agreement.client import AgreementServiceClient
247
261
  from mypy_boto3_marketplace_catalog.client import MarketplaceCatalogClient
248
262
  from mypy_boto3_marketplace_deployment.client import MarketplaceDeploymentServiceClient
249
263
  from mypy_boto3_marketplace_entitlement.client import MarketplaceEntitlementServiceClient
264
+ from mypy_boto3_marketplace_reporting.client import MarketplaceReportingServiceClient
250
265
  from mypy_boto3_marketplacecommerceanalytics.client import MarketplaceCommerceAnalyticsClient
251
266
  from mypy_boto3_mediaconnect.client import MediaConnectClient
252
267
  from mypy_boto3_mediaconvert.client import MediaConvertClient
@@ -273,10 +288,13 @@ from mypy_boto3_neptune.client import NeptuneClient
273
288
  from mypy_boto3_neptune_graph.client import NeptuneGraphClient
274
289
  from mypy_boto3_neptunedata.client import NeptuneDataClient
275
290
  from mypy_boto3_network_firewall.client import NetworkFirewallClient
291
+ from mypy_boto3_networkflowmonitor.client import NetworkFlowMonitorClient
276
292
  from mypy_boto3_networkmanager.client import NetworkManagerClient
277
293
  from mypy_boto3_networkmonitor.client import CloudWatchNetworkMonitorClient
278
- from mypy_boto3_nimble.client import NimbleStudioClient
294
+ from mypy_boto3_notifications.client import UserNotificationsClient
295
+ from mypy_boto3_notificationscontacts.client import UserNotificationsContactsClient
279
296
  from mypy_boto3_oam.client import CloudWatchObservabilityAccessManagerClient
297
+ from mypy_boto3_observabilityadmin.client import CloudWatchObservabilityAdminServiceClient
280
298
  from mypy_boto3_omics.client import OmicsClient
281
299
  from mypy_boto3_opensearch.client import OpenSearchServiceClient
282
300
  from mypy_boto3_opensearchserverless.client import OpenSearchServiceServerlessClient
@@ -287,6 +305,7 @@ from mypy_boto3_organizations.client import OrganizationsClient
287
305
  from mypy_boto3_osis.client import OpenSearchIngestionClient
288
306
  from mypy_boto3_outposts.client import OutpostsClient
289
307
  from mypy_boto3_panorama.client import PanoramaClient
308
+ from mypy_boto3_partnercentral_selling.client import PartnerCentralSellingAPIClient
290
309
  from mypy_boto3_payment_cryptography.client import PaymentCryptographyControlPlaneClient
291
310
  from mypy_boto3_payment_cryptography_data.client import PaymentCryptographyDataPlaneClient
292
311
  from mypy_boto3_pca_connector_ad.client import PcaConnectorAdClient
@@ -350,6 +369,7 @@ from mypy_boto3_scheduler.client import EventBridgeSchedulerClient
350
369
  from mypy_boto3_schemas.client import SchemasClient
351
370
  from mypy_boto3_sdb.client import SimpleDBClient
352
371
  from mypy_boto3_secretsmanager.client import SecretsManagerClient
372
+ from mypy_boto3_security_ir.client import SecurityIncidentResponseClient
353
373
  from mypy_boto3_securityhub.client import SecurityHubClient
354
374
  from mypy_boto3_securitylake.client import SecurityLakeClient
355
375
  from mypy_boto3_serverlessrepo.client import ServerlessApplicationRepositoryClient
@@ -368,6 +388,7 @@ from mypy_boto3_snow_device_management.client import SnowDeviceManagementClient
368
388
  from mypy_boto3_snowball.client import SnowballClient
369
389
  from mypy_boto3_sns.client import SNSClient
370
390
  from mypy_boto3_sns.service_resource import SNSServiceResource
391
+ from mypy_boto3_socialmessaging.client import EndUserMessagingSocialClient
371
392
  from mypy_boto3_sqs.client import SQSClient
372
393
  from mypy_boto3_sqs.service_resource import SQSServiceResource
373
394
  from mypy_boto3_ssm.client import SSMClient
@@ -405,7 +426,6 @@ from mypy_boto3_wafv2.client import WAFV2Client
405
426
  from mypy_boto3_wellarchitected.client import WellArchitectedClient
406
427
  from mypy_boto3_wisdom.client import ConnectWisdomServiceClient
407
428
  from mypy_boto3_workdocs.client import WorkDocsClient
408
- from mypy_boto3_worklink.client import WorkLinkClient
409
429
  from mypy_boto3_workmail.client import WorkMailClient
410
430
  from mypy_boto3_workmailmessageflow.client import WorkMailMessageFlowClient
411
431
  from mypy_boto3_workspaces.client import WorkSpacesClient
@@ -959,6 +979,20 @@ class Session:
959
979
  config: Optional[Config] = ...,
960
980
  ) -> BillingandCostManagementDataExportsClient: ...
961
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
962
996
  def client(
963
997
  self,
964
998
  service_name: Literal["bedrock"],
@@ -1015,6 +1049,20 @@ class Session:
1015
1049
  config: Optional[Config] = ...,
1016
1050
  ) -> BedrockRuntimeClient: ...
1017
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
1018
1066
  def client(
1019
1067
  self,
1020
1068
  service_name: Literal["billingconductor"],
@@ -1687,6 +1735,20 @@ class Session:
1687
1735
  config: Optional[Config] = ...,
1688
1736
  ) -> ConnectCampaignServiceClient: ...
1689
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
1690
1752
  def client(
1691
1753
  self,
1692
1754
  service_name: Literal["connectcases"],
@@ -2037,6 +2099,20 @@ class Session:
2037
2099
  config: Optional[Config] = ...,
2038
2100
  ) -> DirectoryServiceClient: ...
2039
2101
  @overload
2102
+ def client(
2103
+ self,
2104
+ service_name: Literal["ds-data"],
2105
+ region_name: Optional[str] = ...,
2106
+ api_version: Optional[str] = ...,
2107
+ use_ssl: Optional[bool] = ...,
2108
+ verify: Union[bool, str, None] = ...,
2109
+ endpoint_url: Optional[str] = ...,
2110
+ aws_access_key_id: Optional[str] = ...,
2111
+ aws_secret_access_key: Optional[str] = ...,
2112
+ aws_session_token: Optional[str] = ...,
2113
+ config: Optional[Config] = ...,
2114
+ ) -> DirectoryServiceDataClient: ...
2115
+ @overload
2040
2116
  def client(
2041
2117
  self,
2042
2118
  service_name: Literal["dynamodb"],
@@ -2527,6 +2603,48 @@ class Session:
2527
2603
  config: Optional[Config] = ...,
2528
2604
  ) -> GameLiftClient: ...
2529
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
2530
2648
  def client(
2531
2649
  self,
2532
2650
  service_name: Literal["glacier"],
@@ -2779,6 +2897,20 @@ class Session:
2779
2897
  config: Optional[Config] = ...,
2780
2898
  ) -> CloudWatchInternetMonitorClient: ...
2781
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
2782
2914
  def client(
2783
2915
  self,
2784
2916
  service_name: Literal["iot"],
@@ -3605,6 +3737,20 @@ class Session:
3605
3737
  config: Optional[Config] = ...,
3606
3738
  ) -> MarketplaceEntitlementServiceClient: ...
3607
3739
  @overload
3740
+ def client(
3741
+ self,
3742
+ service_name: Literal["marketplace-reporting"],
3743
+ region_name: Optional[str] = ...,
3744
+ api_version: Optional[str] = ...,
3745
+ use_ssl: Optional[bool] = ...,
3746
+ verify: Union[bool, str, None] = ...,
3747
+ endpoint_url: Optional[str] = ...,
3748
+ aws_access_key_id: Optional[str] = ...,
3749
+ aws_secret_access_key: Optional[str] = ...,
3750
+ aws_session_token: Optional[str] = ...,
3751
+ config: Optional[Config] = ...,
3752
+ ) -> MarketplaceReportingServiceClient: ...
3753
+ @overload
3608
3754
  def client(
3609
3755
  self,
3610
3756
  service_name: Literal["marketplacecommerceanalytics"],
@@ -3969,6 +4115,20 @@ class Session:
3969
4115
  config: Optional[Config] = ...,
3970
4116
  ) -> NetworkFirewallClient: ...
3971
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
3972
4132
  def client(
3973
4133
  self,
3974
4134
  service_name: Literal["networkmanager"],
@@ -3999,7 +4159,7 @@ class Session:
3999
4159
  @overload
4000
4160
  def client(
4001
4161
  self,
4002
- service_name: Literal["nimble"],
4162
+ service_name: Literal["notifications"],
4003
4163
  region_name: Optional[str] = ...,
4004
4164
  api_version: Optional[str] = ...,
4005
4165
  use_ssl: Optional[bool] = ...,
@@ -4009,7 +4169,21 @@ class Session:
4009
4169
  aws_secret_access_key: Optional[str] = ...,
4010
4170
  aws_session_token: Optional[str] = ...,
4011
4171
  config: Optional[Config] = ...,
4012
- ) -> NimbleStudioClient: ...
4172
+ ) -> UserNotificationsClient: ...
4173
+ @overload
4174
+ def client(
4175
+ self,
4176
+ service_name: Literal["notificationscontacts"],
4177
+ region_name: Optional[str] = ...,
4178
+ api_version: Optional[str] = ...,
4179
+ use_ssl: Optional[bool] = ...,
4180
+ verify: Union[bool, str, None] = ...,
4181
+ endpoint_url: Optional[str] = ...,
4182
+ aws_access_key_id: Optional[str] = ...,
4183
+ aws_secret_access_key: Optional[str] = ...,
4184
+ aws_session_token: Optional[str] = ...,
4185
+ config: Optional[Config] = ...,
4186
+ ) -> UserNotificationsContactsClient: ...
4013
4187
  @overload
4014
4188
  def client(
4015
4189
  self,
@@ -4025,6 +4199,20 @@ class Session:
4025
4199
  config: Optional[Config] = ...,
4026
4200
  ) -> CloudWatchObservabilityAccessManagerClient: ...
4027
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
4028
4216
  def client(
4029
4217
  self,
4030
4218
  service_name: Literal["omics"],
@@ -4151,6 +4339,20 @@ class Session:
4151
4339
  config: Optional[Config] = ...,
4152
4340
  ) -> PanoramaClient: ...
4153
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
4154
4356
  def client(
4155
4357
  self,
4156
4358
  service_name: Literal["payment-cryptography"],
@@ -5019,6 +5221,20 @@ class Session:
5019
5221
  config: Optional[Config] = ...,
5020
5222
  ) -> SecretsManagerClient: ...
5021
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
5022
5238
  def client(
5023
5239
  self,
5024
5240
  service_name: Literal["securityhub"],
@@ -5257,6 +5473,20 @@ class Session:
5257
5473
  config: Optional[Config] = ...,
5258
5474
  ) -> SNSClient: ...
5259
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
5260
5490
  def client(
5261
5491
  self,
5262
5492
  service_name: Literal["sqs"],
@@ -5761,20 +5991,6 @@ class Session:
5761
5991
  config: Optional[Config] = ...,
5762
5992
  ) -> WorkDocsClient: ...
5763
5993
  @overload
5764
- def client(
5765
- self,
5766
- service_name: Literal["worklink"],
5767
- region_name: Optional[str] = ...,
5768
- api_version: Optional[str] = ...,
5769
- use_ssl: Optional[bool] = ...,
5770
- verify: Union[bool, str, None] = ...,
5771
- endpoint_url: Optional[str] = ...,
5772
- aws_access_key_id: Optional[str] = ...,
5773
- aws_secret_access_key: Optional[str] = ...,
5774
- aws_session_token: Optional[str] = ...,
5775
- config: Optional[Config] = ...,
5776
- ) -> WorkLinkClient: ...
5777
- @overload
5778
5994
  def client(
5779
5995
  self,
5780
5996
  service_name: Literal["workmail"],
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: ...