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/__init__.pyi CHANGED
@@ -1,3 +1,9 @@
1
+ """
2
+ Type annotations for boto3.__init__ module.
3
+
4
+ Copyright 2024 Vlad Emelianov
5
+ """
6
+
1
7
  import logging
2
8
  import sys
3
9
  from typing import Any, Optional, Union, overload
@@ -42,10 +48,12 @@ from mypy_boto3_backup.client import BackupClient
42
48
  from mypy_boto3_backup_gateway.client import BackupGatewayClient
43
49
  from mypy_boto3_batch.client import BatchClient
44
50
  from mypy_boto3_bcm_data_exports.client import BillingandCostManagementDataExportsClient
51
+ from mypy_boto3_bcm_pricing_calculator.client import BillingandCostManagementPricingCalculatorClient
45
52
  from mypy_boto3_bedrock.client import BedrockClient
46
53
  from mypy_boto3_bedrock_agent.client import AgentsforBedrockClient
47
54
  from mypy_boto3_bedrock_agent_runtime.client import AgentsforBedrockRuntimeClient
48
55
  from mypy_boto3_bedrock_runtime.client import BedrockRuntimeClient
56
+ from mypy_boto3_billing.client import BillingClient
49
57
  from mypy_boto3_billingconductor.client import BillingConductorClient
50
58
  from mypy_boto3_braket.client import BraketClient
51
59
  from mypy_boto3_budgets.client import BudgetsClient
@@ -96,6 +104,7 @@ from mypy_boto3_config.client import ConfigServiceClient
96
104
  from mypy_boto3_connect.client import ConnectClient
97
105
  from mypy_boto3_connect_contact_lens.client import ConnectContactLensClient
98
106
  from mypy_boto3_connectcampaigns.client import ConnectCampaignServiceClient
107
+ from mypy_boto3_connectcampaignsv2.client import ConnectCampaignServiceV2Client
99
108
  from mypy_boto3_connectcases.client import ConnectCasesClient
100
109
  from mypy_boto3_connectparticipant.client import ConnectParticipantClient
101
110
  from mypy_boto3_controlcatalog.client import ControlCatalogClient
@@ -121,6 +130,7 @@ from mypy_boto3_docdb.client import DocDBClient
121
130
  from mypy_boto3_docdb_elastic.client import DocDBElasticClient
122
131
  from mypy_boto3_drs.client import DrsClient
123
132
  from mypy_boto3_ds.client import DirectoryServiceClient
133
+ from mypy_boto3_ds_data.client import DirectoryServiceDataClient
124
134
  from mypy_boto3_dynamodb.client import DynamoDBClient
125
135
  from mypy_boto3_dynamodb.service_resource import DynamoDBServiceResource
126
136
  from mypy_boto3_dynamodbstreams.client import DynamoDBStreamsClient
@@ -158,6 +168,9 @@ from mypy_boto3_frauddetector.client import FraudDetectorClient
158
168
  from mypy_boto3_freetier.client import FreeTierClient
159
169
  from mypy_boto3_fsx.client import FSxClient
160
170
  from mypy_boto3_gamelift.client import GameLiftClient
171
+ from mypy_boto3_geo_maps.client import LocationServiceMapsV2Client
172
+ from mypy_boto3_geo_places.client import LocationServicePlacesV2Client
173
+ from mypy_boto3_geo_routes.client import LocationServiceRoutesV2Client
161
174
  from mypy_boto3_glacier.client import GlacierClient
162
175
  from mypy_boto3_glacier.service_resource import GlacierServiceResource
163
176
  from mypy_boto3_globalaccelerator.client import GlobalAcceleratorClient
@@ -178,6 +191,7 @@ from mypy_boto3_inspector.client import InspectorClient
178
191
  from mypy_boto3_inspector2.client import Inspector2Client
179
192
  from mypy_boto3_inspector_scan.client import InspectorscanClient
180
193
  from mypy_boto3_internetmonitor.client import CloudWatchInternetMonitorClient
194
+ from mypy_boto3_invoicing.client import InvoicingClient
181
195
  from mypy_boto3_iot.client import IoTClient
182
196
  from mypy_boto3_iot1click_devices.client import IoT1ClickDevicesServiceClient
183
197
  from mypy_boto3_iot1click_projects.client import IoT1ClickProjectsClient
@@ -241,6 +255,7 @@ from mypy_boto3_marketplace_agreement.client import AgreementServiceClient
241
255
  from mypy_boto3_marketplace_catalog.client import MarketplaceCatalogClient
242
256
  from mypy_boto3_marketplace_deployment.client import MarketplaceDeploymentServiceClient
243
257
  from mypy_boto3_marketplace_entitlement.client import MarketplaceEntitlementServiceClient
258
+ from mypy_boto3_marketplace_reporting.client import MarketplaceReportingServiceClient
244
259
  from mypy_boto3_marketplacecommerceanalytics.client import MarketplaceCommerceAnalyticsClient
245
260
  from mypy_boto3_mediaconnect.client import MediaConnectClient
246
261
  from mypy_boto3_mediaconvert.client import MediaConvertClient
@@ -267,10 +282,13 @@ from mypy_boto3_neptune.client import NeptuneClient
267
282
  from mypy_boto3_neptune_graph.client import NeptuneGraphClient
268
283
  from mypy_boto3_neptunedata.client import NeptuneDataClient
269
284
  from mypy_boto3_network_firewall.client import NetworkFirewallClient
285
+ from mypy_boto3_networkflowmonitor.client import NetworkFlowMonitorClient
270
286
  from mypy_boto3_networkmanager.client import NetworkManagerClient
271
287
  from mypy_boto3_networkmonitor.client import CloudWatchNetworkMonitorClient
272
- from mypy_boto3_nimble.client import NimbleStudioClient
288
+ from mypy_boto3_notifications.client import UserNotificationsClient
289
+ from mypy_boto3_notificationscontacts.client import UserNotificationsContactsClient
273
290
  from mypy_boto3_oam.client import CloudWatchObservabilityAccessManagerClient
291
+ from mypy_boto3_observabilityadmin.client import CloudWatchObservabilityAdminServiceClient
274
292
  from mypy_boto3_omics.client import OmicsClient
275
293
  from mypy_boto3_opensearch.client import OpenSearchServiceClient
276
294
  from mypy_boto3_opensearchserverless.client import OpenSearchServiceServerlessClient
@@ -281,6 +299,7 @@ from mypy_boto3_organizations.client import OrganizationsClient
281
299
  from mypy_boto3_osis.client import OpenSearchIngestionClient
282
300
  from mypy_boto3_outposts.client import OutpostsClient
283
301
  from mypy_boto3_panorama.client import PanoramaClient
302
+ from mypy_boto3_partnercentral_selling.client import PartnerCentralSellingAPIClient
284
303
  from mypy_boto3_payment_cryptography.client import PaymentCryptographyControlPlaneClient
285
304
  from mypy_boto3_payment_cryptography_data.client import PaymentCryptographyDataPlaneClient
286
305
  from mypy_boto3_pca_connector_ad.client import PcaConnectorAdClient
@@ -344,6 +363,7 @@ from mypy_boto3_scheduler.client import EventBridgeSchedulerClient
344
363
  from mypy_boto3_schemas.client import SchemasClient
345
364
  from mypy_boto3_sdb.client import SimpleDBClient
346
365
  from mypy_boto3_secretsmanager.client import SecretsManagerClient
366
+ from mypy_boto3_security_ir.client import SecurityIncidentResponseClient
347
367
  from mypy_boto3_securityhub.client import SecurityHubClient
348
368
  from mypy_boto3_securitylake.client import SecurityLakeClient
349
369
  from mypy_boto3_serverlessrepo.client import ServerlessApplicationRepositoryClient
@@ -362,6 +382,7 @@ from mypy_boto3_snow_device_management.client import SnowDeviceManagementClient
362
382
  from mypy_boto3_snowball.client import SnowballClient
363
383
  from mypy_boto3_sns.client import SNSClient
364
384
  from mypy_boto3_sns.service_resource import SNSServiceResource
385
+ from mypy_boto3_socialmessaging.client import EndUserMessagingSocialClient
365
386
  from mypy_boto3_sqs.client import SQSClient
366
387
  from mypy_boto3_sqs.service_resource import SQSServiceResource
367
388
  from mypy_boto3_ssm.client import SSMClient
@@ -399,7 +420,6 @@ from mypy_boto3_wafv2.client import WAFV2Client
399
420
  from mypy_boto3_wellarchitected.client import WellArchitectedClient
400
421
  from mypy_boto3_wisdom.client import ConnectWisdomServiceClient
401
422
  from mypy_boto3_workdocs.client import WorkDocsClient
402
- from mypy_boto3_worklink.client import WorkLinkClient
403
423
  from mypy_boto3_workmail.client import WorkMailClient
404
424
  from mypy_boto3_workmailmessageflow.client import WorkMailMessageFlowClient
405
425
  from mypy_boto3_workspaces.client import WorkSpacesClient
@@ -902,6 +922,19 @@ def client(
902
922
  config: Optional[Config] = ...,
903
923
  ) -> BillingandCostManagementDataExportsClient: ...
904
924
  @overload
925
+ def client(
926
+ service_name: Literal["bcm-pricing-calculator"],
927
+ region_name: Optional[str] = ...,
928
+ api_version: Optional[str] = ...,
929
+ use_ssl: Optional[bool] = ...,
930
+ verify: Union[bool, str, None] = ...,
931
+ endpoint_url: Optional[str] = ...,
932
+ aws_access_key_id: Optional[str] = ...,
933
+ aws_secret_access_key: Optional[str] = ...,
934
+ aws_session_token: Optional[str] = ...,
935
+ config: Optional[Config] = ...,
936
+ ) -> BillingandCostManagementPricingCalculatorClient: ...
937
+ @overload
905
938
  def client(
906
939
  service_name: Literal["bedrock"],
907
940
  region_name: Optional[str] = ...,
@@ -954,6 +987,19 @@ def client(
954
987
  config: Optional[Config] = ...,
955
988
  ) -> BedrockRuntimeClient: ...
956
989
  @overload
990
+ def client(
991
+ service_name: Literal["billing"],
992
+ region_name: Optional[str] = ...,
993
+ api_version: Optional[str] = ...,
994
+ use_ssl: Optional[bool] = ...,
995
+ verify: Union[bool, str, None] = ...,
996
+ endpoint_url: Optional[str] = ...,
997
+ aws_access_key_id: Optional[str] = ...,
998
+ aws_secret_access_key: Optional[str] = ...,
999
+ aws_session_token: Optional[str] = ...,
1000
+ config: Optional[Config] = ...,
1001
+ ) -> BillingClient: ...
1002
+ @overload
957
1003
  def client(
958
1004
  service_name: Literal["billingconductor"],
959
1005
  region_name: Optional[str] = ...,
@@ -1578,6 +1624,19 @@ def client(
1578
1624
  config: Optional[Config] = ...,
1579
1625
  ) -> ConnectCampaignServiceClient: ...
1580
1626
  @overload
1627
+ def client(
1628
+ service_name: Literal["connectcampaignsv2"],
1629
+ region_name: Optional[str] = ...,
1630
+ api_version: Optional[str] = ...,
1631
+ use_ssl: Optional[bool] = ...,
1632
+ verify: Union[bool, str, None] = ...,
1633
+ endpoint_url: Optional[str] = ...,
1634
+ aws_access_key_id: Optional[str] = ...,
1635
+ aws_secret_access_key: Optional[str] = ...,
1636
+ aws_session_token: Optional[str] = ...,
1637
+ config: Optional[Config] = ...,
1638
+ ) -> ConnectCampaignServiceV2Client: ...
1639
+ @overload
1581
1640
  def client(
1582
1641
  service_name: Literal["connectcases"],
1583
1642
  region_name: Optional[str] = ...,
@@ -1903,6 +1962,19 @@ def client(
1903
1962
  config: Optional[Config] = ...,
1904
1963
  ) -> DirectoryServiceClient: ...
1905
1964
  @overload
1965
+ def client(
1966
+ service_name: Literal["ds-data"],
1967
+ region_name: Optional[str] = ...,
1968
+ api_version: Optional[str] = ...,
1969
+ use_ssl: Optional[bool] = ...,
1970
+ verify: Union[bool, str, None] = ...,
1971
+ endpoint_url: Optional[str] = ...,
1972
+ aws_access_key_id: Optional[str] = ...,
1973
+ aws_secret_access_key: Optional[str] = ...,
1974
+ aws_session_token: Optional[str] = ...,
1975
+ config: Optional[Config] = ...,
1976
+ ) -> DirectoryServiceDataClient: ...
1977
+ @overload
1906
1978
  def client(
1907
1979
  service_name: Literal["dynamodb"],
1908
1980
  region_name: Optional[str] = ...,
@@ -2358,6 +2430,45 @@ def client(
2358
2430
  config: Optional[Config] = ...,
2359
2431
  ) -> GameLiftClient: ...
2360
2432
  @overload
2433
+ def client(
2434
+ service_name: Literal["geo-maps"],
2435
+ region_name: Optional[str] = ...,
2436
+ api_version: Optional[str] = ...,
2437
+ use_ssl: Optional[bool] = ...,
2438
+ verify: Union[bool, str, None] = ...,
2439
+ endpoint_url: Optional[str] = ...,
2440
+ aws_access_key_id: Optional[str] = ...,
2441
+ aws_secret_access_key: Optional[str] = ...,
2442
+ aws_session_token: Optional[str] = ...,
2443
+ config: Optional[Config] = ...,
2444
+ ) -> LocationServiceMapsV2Client: ...
2445
+ @overload
2446
+ def client(
2447
+ service_name: Literal["geo-places"],
2448
+ region_name: Optional[str] = ...,
2449
+ api_version: Optional[str] = ...,
2450
+ use_ssl: Optional[bool] = ...,
2451
+ verify: Union[bool, str, None] = ...,
2452
+ endpoint_url: Optional[str] = ...,
2453
+ aws_access_key_id: Optional[str] = ...,
2454
+ aws_secret_access_key: Optional[str] = ...,
2455
+ aws_session_token: Optional[str] = ...,
2456
+ config: Optional[Config] = ...,
2457
+ ) -> LocationServicePlacesV2Client: ...
2458
+ @overload
2459
+ def client(
2460
+ service_name: Literal["geo-routes"],
2461
+ region_name: Optional[str] = ...,
2462
+ api_version: Optional[str] = ...,
2463
+ use_ssl: Optional[bool] = ...,
2464
+ verify: Union[bool, str, None] = ...,
2465
+ endpoint_url: Optional[str] = ...,
2466
+ aws_access_key_id: Optional[str] = ...,
2467
+ aws_secret_access_key: Optional[str] = ...,
2468
+ aws_session_token: Optional[str] = ...,
2469
+ config: Optional[Config] = ...,
2470
+ ) -> LocationServiceRoutesV2Client: ...
2471
+ @overload
2361
2472
  def client(
2362
2473
  service_name: Literal["glacier"],
2363
2474
  region_name: Optional[str] = ...,
@@ -2592,6 +2703,19 @@ def client(
2592
2703
  config: Optional[Config] = ...,
2593
2704
  ) -> CloudWatchInternetMonitorClient: ...
2594
2705
  @overload
2706
+ def client(
2707
+ service_name: Literal["invoicing"],
2708
+ region_name: Optional[str] = ...,
2709
+ api_version: Optional[str] = ...,
2710
+ use_ssl: Optional[bool] = ...,
2711
+ verify: Union[bool, str, None] = ...,
2712
+ endpoint_url: Optional[str] = ...,
2713
+ aws_access_key_id: Optional[str] = ...,
2714
+ aws_secret_access_key: Optional[str] = ...,
2715
+ aws_session_token: Optional[str] = ...,
2716
+ config: Optional[Config] = ...,
2717
+ ) -> InvoicingClient: ...
2718
+ @overload
2595
2719
  def client(
2596
2720
  service_name: Literal["iot"],
2597
2721
  region_name: Optional[str] = ...,
@@ -3359,6 +3483,19 @@ def client(
3359
3483
  config: Optional[Config] = ...,
3360
3484
  ) -> MarketplaceEntitlementServiceClient: ...
3361
3485
  @overload
3486
+ def client(
3487
+ service_name: Literal["marketplace-reporting"],
3488
+ region_name: Optional[str] = ...,
3489
+ api_version: Optional[str] = ...,
3490
+ use_ssl: Optional[bool] = ...,
3491
+ verify: Union[bool, str, None] = ...,
3492
+ endpoint_url: Optional[str] = ...,
3493
+ aws_access_key_id: Optional[str] = ...,
3494
+ aws_secret_access_key: Optional[str] = ...,
3495
+ aws_session_token: Optional[str] = ...,
3496
+ config: Optional[Config] = ...,
3497
+ ) -> MarketplaceReportingServiceClient: ...
3498
+ @overload
3362
3499
  def client(
3363
3500
  service_name: Literal["marketplacecommerceanalytics"],
3364
3501
  region_name: Optional[str] = ...,
@@ -3697,6 +3834,19 @@ def client(
3697
3834
  config: Optional[Config] = ...,
3698
3835
  ) -> NetworkFirewallClient: ...
3699
3836
  @overload
3837
+ def client(
3838
+ service_name: Literal["networkflowmonitor"],
3839
+ region_name: Optional[str] = ...,
3840
+ api_version: Optional[str] = ...,
3841
+ use_ssl: Optional[bool] = ...,
3842
+ verify: Union[bool, str, None] = ...,
3843
+ endpoint_url: Optional[str] = ...,
3844
+ aws_access_key_id: Optional[str] = ...,
3845
+ aws_secret_access_key: Optional[str] = ...,
3846
+ aws_session_token: Optional[str] = ...,
3847
+ config: Optional[Config] = ...,
3848
+ ) -> NetworkFlowMonitorClient: ...
3849
+ @overload
3700
3850
  def client(
3701
3851
  service_name: Literal["networkmanager"],
3702
3852
  region_name: Optional[str] = ...,
@@ -3724,7 +3874,7 @@ def client(
3724
3874
  ) -> CloudWatchNetworkMonitorClient: ...
3725
3875
  @overload
3726
3876
  def client(
3727
- service_name: Literal["nimble"],
3877
+ service_name: Literal["notifications"],
3728
3878
  region_name: Optional[str] = ...,
3729
3879
  api_version: Optional[str] = ...,
3730
3880
  use_ssl: Optional[bool] = ...,
@@ -3734,7 +3884,20 @@ def client(
3734
3884
  aws_secret_access_key: Optional[str] = ...,
3735
3885
  aws_session_token: Optional[str] = ...,
3736
3886
  config: Optional[Config] = ...,
3737
- ) -> NimbleStudioClient: ...
3887
+ ) -> UserNotificationsClient: ...
3888
+ @overload
3889
+ def client(
3890
+ service_name: Literal["notificationscontacts"],
3891
+ region_name: Optional[str] = ...,
3892
+ api_version: Optional[str] = ...,
3893
+ use_ssl: Optional[bool] = ...,
3894
+ verify: Union[bool, str, None] = ...,
3895
+ endpoint_url: Optional[str] = ...,
3896
+ aws_access_key_id: Optional[str] = ...,
3897
+ aws_secret_access_key: Optional[str] = ...,
3898
+ aws_session_token: Optional[str] = ...,
3899
+ config: Optional[Config] = ...,
3900
+ ) -> UserNotificationsContactsClient: ...
3738
3901
  @overload
3739
3902
  def client(
3740
3903
  service_name: Literal["oam"],
@@ -3749,6 +3912,19 @@ def client(
3749
3912
  config: Optional[Config] = ...,
3750
3913
  ) -> CloudWatchObservabilityAccessManagerClient: ...
3751
3914
  @overload
3915
+ def client(
3916
+ service_name: Literal["observabilityadmin"],
3917
+ region_name: Optional[str] = ...,
3918
+ api_version: Optional[str] = ...,
3919
+ use_ssl: Optional[bool] = ...,
3920
+ verify: Union[bool, str, None] = ...,
3921
+ endpoint_url: Optional[str] = ...,
3922
+ aws_access_key_id: Optional[str] = ...,
3923
+ aws_secret_access_key: Optional[str] = ...,
3924
+ aws_session_token: Optional[str] = ...,
3925
+ config: Optional[Config] = ...,
3926
+ ) -> CloudWatchObservabilityAdminServiceClient: ...
3927
+ @overload
3752
3928
  def client(
3753
3929
  service_name: Literal["omics"],
3754
3930
  region_name: Optional[str] = ...,
@@ -3866,6 +4042,19 @@ def client(
3866
4042
  config: Optional[Config] = ...,
3867
4043
  ) -> PanoramaClient: ...
3868
4044
  @overload
4045
+ def client(
4046
+ service_name: Literal["partnercentral-selling"],
4047
+ region_name: Optional[str] = ...,
4048
+ api_version: Optional[str] = ...,
4049
+ use_ssl: Optional[bool] = ...,
4050
+ verify: Union[bool, str, None] = ...,
4051
+ endpoint_url: Optional[str] = ...,
4052
+ aws_access_key_id: Optional[str] = ...,
4053
+ aws_secret_access_key: Optional[str] = ...,
4054
+ aws_session_token: Optional[str] = ...,
4055
+ config: Optional[Config] = ...,
4056
+ ) -> PartnerCentralSellingAPIClient: ...
4057
+ @overload
3869
4058
  def client(
3870
4059
  service_name: Literal["payment-cryptography"],
3871
4060
  region_name: Optional[str] = ...,
@@ -4672,6 +4861,19 @@ def client(
4672
4861
  config: Optional[Config] = ...,
4673
4862
  ) -> SecretsManagerClient: ...
4674
4863
  @overload
4864
+ def client(
4865
+ service_name: Literal["security-ir"],
4866
+ region_name: Optional[str] = ...,
4867
+ api_version: Optional[str] = ...,
4868
+ use_ssl: Optional[bool] = ...,
4869
+ verify: Union[bool, str, None] = ...,
4870
+ endpoint_url: Optional[str] = ...,
4871
+ aws_access_key_id: Optional[str] = ...,
4872
+ aws_secret_access_key: Optional[str] = ...,
4873
+ aws_session_token: Optional[str] = ...,
4874
+ config: Optional[Config] = ...,
4875
+ ) -> SecurityIncidentResponseClient: ...
4876
+ @overload
4675
4877
  def client(
4676
4878
  service_name: Literal["securityhub"],
4677
4879
  region_name: Optional[str] = ...,
@@ -4893,6 +5095,19 @@ def client(
4893
5095
  config: Optional[Config] = ...,
4894
5096
  ) -> SNSClient: ...
4895
5097
  @overload
5098
+ def client(
5099
+ service_name: Literal["socialmessaging"],
5100
+ region_name: Optional[str] = ...,
5101
+ api_version: Optional[str] = ...,
5102
+ use_ssl: Optional[bool] = ...,
5103
+ verify: Union[bool, str, None] = ...,
5104
+ endpoint_url: Optional[str] = ...,
5105
+ aws_access_key_id: Optional[str] = ...,
5106
+ aws_secret_access_key: Optional[str] = ...,
5107
+ aws_session_token: Optional[str] = ...,
5108
+ config: Optional[Config] = ...,
5109
+ ) -> EndUserMessagingSocialClient: ...
5110
+ @overload
4896
5111
  def client(
4897
5112
  service_name: Literal["sqs"],
4898
5113
  region_name: Optional[str] = ...,
@@ -5361,19 +5576,6 @@ def client(
5361
5576
  config: Optional[Config] = ...,
5362
5577
  ) -> WorkDocsClient: ...
5363
5578
  @overload
5364
- def client(
5365
- service_name: Literal["worklink"],
5366
- region_name: Optional[str] = ...,
5367
- api_version: Optional[str] = ...,
5368
- use_ssl: Optional[bool] = ...,
5369
- verify: Union[bool, str, None] = ...,
5370
- endpoint_url: Optional[str] = ...,
5371
- aws_access_key_id: Optional[str] = ...,
5372
- aws_secret_access_key: Optional[str] = ...,
5373
- aws_session_token: Optional[str] = ...,
5374
- config: Optional[Config] = ...,
5375
- ) -> WorkLinkClient: ...
5376
- @overload
5377
5579
  def client(
5378
5580
  service_name: Literal["workmail"],
5379
5581
  region_name: Optional[str] = ...,
boto3-stubs/compat.pyi CHANGED
@@ -1,7 +1,12 @@
1
+ """
2
+ Type annotations for boto3.compat module.
3
+
4
+ Copyright 2024 Vlad Emelianov
5
+ """
6
+
1
7
  import os
2
- from typing import Type
3
8
 
4
- SOCKET_ERROR: Type[ConnectionError]
9
+ SOCKET_ERROR: type[ConnectionError]
5
10
 
6
11
  def filter_python_deprecation_warnings() -> None: ...
7
12
 
boto3-stubs/crt.pyi CHANGED
@@ -1,11 +1,17 @@
1
+ """
2
+ Type annotations for boto3.crt module.
3
+
4
+ Copyright 2024 Vlad Emelianov
5
+ """
6
+
1
7
  import threading
2
- from typing import Any, Optional
8
+ from typing import Any
3
9
 
4
10
  from botocore.client import BaseClient
5
11
  from s3transfer.crt import BotocoreCRTRequestSerializer, CRTTransferManager
6
12
 
7
- CRT_S3_CLIENT: Optional[CRTS3Client] = ...
8
- BOTOCORE_CRT_SERIALIZER: Optional[BotocoreCRTRequestSerializer] = ...
13
+ CRT_S3_CLIENT: CRTS3Client | None = ...
14
+ BOTOCORE_CRT_SERIALIZER: BotocoreCRTRequestSerializer | None = ...
9
15
 
10
16
  CLIENT_CREATION_LOCK: threading.Lock = ...
11
17
  PROCESS_LOCK_NAME: str = ...
@@ -19,6 +25,4 @@ class CRTS3Client:
19
25
 
20
26
  def is_crt_compatible_request(client: BaseClient, crt_s3_client: CRTS3Client) -> bool: ...
21
27
  def compare_identity(boto3_creds: Any, crt_s3_creds: Any) -> bool: ...
22
- def create_crt_transfer_manager(
23
- client: BaseClient, config: Any
24
- ) -> Optional[CRTTransferManager]: ...
28
+ def create_crt_transfer_manager(client: BaseClient, config: Any) -> CRTTransferManager | None: ...
@@ -1,3 +1,9 @@
1
+ """
2
+ Type annotations for boto3.docs module.
3
+
4
+ Copyright 2024 Vlad Emelianov
5
+ """
6
+
1
7
  from boto3.session import Session
2
8
 
3
9
  def generate_docs(root_dir: str, session: Session) -> None: ...
@@ -1,4 +1,8 @@
1
- from typing import Dict, List
1
+ """
2
+ Type annotations for boto3.docs.action module.
3
+
4
+ Copyright 2024 Vlad Emelianov
5
+ """
2
6
 
3
7
  from boto3.resources.model import Action
4
8
  from botocore.docs.bcdoc.restdoc import DocumentStructure
@@ -8,8 +12,8 @@ from botocore.model import ServiceModel
8
12
  from .base import NestedDocumenter
9
13
 
10
14
  PUT_DATA_WARNING_MESSAGE: str
11
- WARNING_MESSAGES: Dict[str, Dict[str, str]]
12
- IGNORE_PARAMS: Dict[str, Dict[str, List[str]]]
15
+ WARNING_MESSAGES: dict[str, dict[str, str]]
16
+ IGNORE_PARAMS: dict[str, dict[str, list[str]]]
13
17
 
14
18
  class ActionDocumenter(NestedDocumenter):
15
19
  def document_actions(self, section: DocumentStructure) -> None: ...
boto3-stubs/docs/attr.pyi CHANGED
@@ -1,3 +1,9 @@
1
+ """
2
+ Type annotations for boto3.docs.attr module.
3
+
4
+ Copyright 2024 Vlad Emelianov
5
+ """
6
+
1
7
  from boto3.resources.model import Identifier
2
8
  from botocore.docs.bcdoc.restdoc import DocumentStructure
3
9
  from botocore.docs.params import ResponseParamsDocumenter
boto3-stubs/docs/base.pyi CHANGED
@@ -1,7 +1,13 @@
1
- from typing import Any, Dict
1
+ """
2
+ Type annotations for boto3.docs.base module.
3
+
4
+ Copyright 2024 Vlad Emelianov
5
+ """
6
+
7
+ from typing import Any
2
8
 
3
9
  class BaseDocumenter:
4
- member_map: Dict[str, Any]
10
+ member_map: dict[str, Any]
5
11
  represents_service_resource: Any
6
12
  def __init__(self, resource: Any) -> None: ...
7
13
  @property
@@ -1,3 +1,9 @@
1
+ """
2
+ Type annotations for boto3.docs.client module.
3
+
4
+ Copyright 2024 Vlad Emelianov
5
+ """
6
+
1
7
  from botocore.docs.client import ClientDocumenter
2
8
 
3
9
  class Boto3ClientDocumenter(ClientDocumenter): ...
@@ -1,3 +1,9 @@
1
+ """
2
+ Type annotations for boto3.docs.collection module.
3
+
4
+ Copyright 2024 Vlad Emelianov
5
+ """
6
+
1
7
  from boto3.resources.model import Action, Collection
2
8
  from botocore.docs.bcdoc.restdoc import DocumentStructure
3
9
  from botocore.hooks import BaseEventHooks
@@ -1,3 +1,9 @@
1
+ """
2
+ Type annotations for boto3.docs.docstring module.
3
+
4
+ Copyright 2024 Vlad Emelianov
5
+ """
6
+
1
7
  from botocore.docs.docstring import LazyLoadedDocstring
2
8
 
3
9
  class ActionDocstring(LazyLoadedDocstring): ...
@@ -1,4 +1,10 @@
1
- from typing import Any, Optional
1
+ """
2
+ Type annotations for boto3.docs.method module.
3
+
4
+ Copyright 2024 Vlad Emelianov
5
+ """
6
+
7
+ from typing import Any
2
8
 
3
9
  from boto3.resources.model import Action
4
10
  from botocore.docs.bcdoc.restdoc import DocumentStructure
@@ -9,13 +15,13 @@ def document_model_driven_resource_method(
9
15
  method_name: str,
10
16
  operation_model: Any,
11
17
  event_emitter: BaseEventHooks,
12
- method_description: Optional[str] = ...,
13
- example_prefix: Optional[str] = ...,
14
- include_input: Optional[Any] = ...,
15
- include_output: Optional[Any] = ...,
16
- exclude_input: Optional[Any] = ...,
17
- exclude_output: Optional[Any] = ...,
18
+ method_description: str | None = ...,
19
+ example_prefix: str | None = ...,
20
+ include_input: Any | None = ...,
21
+ include_output: Any | None = ...,
22
+ exclude_input: Any | None = ...,
23
+ exclude_output: Any | None = ...,
18
24
  document_output: bool = ...,
19
- resource_action_model: Optional[Action] = ...,
25
+ resource_action_model: Action | None = ...,
20
26
  include_signature: bool = ...,
21
27
  ) -> None: ...
@@ -1,3 +1,9 @@
1
+ """
2
+ Type annotations for boto3.docs.resource module.
3
+
4
+ Copyright 2024 Vlad Emelianov
5
+ """
6
+
1
7
  from typing import Any
2
8
 
3
9
  from botocore.docs.bcdoc.restdoc import DocumentStructure
@@ -1,4 +1,8 @@
1
- from typing import List
1
+ """
2
+ Type annotations for boto3.docs.service module.
3
+
4
+ Copyright 2024 Vlad Emelianov
5
+ """
2
6
 
3
7
  from botocore.docs.bcdoc.restdoc import DocumentStructure
4
8
  from botocore.docs.service import ServiceDocumenter as BaseServiceDocumenter
@@ -6,7 +10,7 @@ from botocore.session import Session
6
10
 
7
11
  class ServiceDocumenter(BaseServiceDocumenter):
8
12
  EXAMPLE_PATH: str
9
- sections: List[str]
13
+ sections: list[str]
10
14
  def __init__(self, service_name: str, session: Session, root_docs_path: str) -> None: ...
11
15
  def document_service(self) -> bytes: ...
12
16
  def client_api(self, section: DocumentStructure) -> None: ...
@@ -1,3 +1,9 @@
1
+ """
2
+ Type annotations for boto3.docs.subresource module.
3
+
4
+ Copyright 2024 Vlad Emelianov
5
+ """
6
+
1
7
  from boto3.resources.model import ResourceModel
2
8
  from botocore.docs.bcdoc.restdoc import DocumentStructure
3
9
  from botocore.model import ServiceModel
@@ -1,10 +1,16 @@
1
- from typing import Any, Iterable, List, Mapping, Optional
1
+ """
2
+ Type annotations for boto3.docs.utils module.
3
+
4
+ Copyright 2024 Vlad Emelianov
5
+ """
6
+
7
+ from typing import Any, Iterable, Mapping
2
8
 
3
9
  from botocore.docs.bcdoc.restdoc import DocumentStructure
4
10
 
5
- def get_resource_ignore_params(params: Mapping[str, Any]) -> List[str]: ...
11
+ def get_resource_ignore_params(params: Mapping[str, Any]) -> list[str]: ...
6
12
  def is_resource_action(action_handle: Any) -> bool: ...
7
- def get_resource_public_actions(resource_class: Any) -> List[Any]: ...
13
+ def get_resource_public_actions(resource_class: Any) -> list[Any]: ...
8
14
  def get_identifier_values_for_example(identifier_names: Iterable[str]) -> str: ...
9
15
  def get_identifier_args_for_signature(identifier_names: Iterable[str]) -> str: ...
10
16
  def get_identifier_description(resource_name: str, identifier_name: str) -> str: ...
@@ -12,7 +18,7 @@ def add_resource_type_overview(
12
18
  section: DocumentStructure,
13
19
  resource_type: str,
14
20
  description: str,
15
- intro_link: Optional[str] = ...,
21
+ intro_link: str | None = ...,
16
22
  ) -> None: ...
17
23
 
18
24
  class DocumentModifiedShape:
@@ -1,3 +1,9 @@
1
+ """
2
+ Type annotations for boto3.docs.waiter module.
3
+
4
+ Copyright 2024 Vlad Emelianov
5
+ """
6
+
1
7
  from typing import Any
2
8
 
3
9
  from botocore.docs.bcdoc.restdoc import DocumentStructure