boto3-stubs 1.40.60__py3-none-any.whl → 1.42.30__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.
boto3-stubs/__init__.pyi CHANGED
@@ -1,7 +1,7 @@
1
1
  """
2
2
  Type annotations for boto3.__init__ module.
3
3
 
4
- Copyright 2025 Vlad Emelianov
4
+ Copyright 2026 Vlad Emelianov
5
5
  """
6
6
 
7
7
  import logging
@@ -37,7 +37,6 @@ from mypy_boto3_appmesh.client import AppMeshClient
37
37
  from mypy_boto3_apprunner.client import AppRunnerClient
38
38
  from mypy_boto3_appstream.client import AppStreamClient
39
39
  from mypy_boto3_appsync.client import AppSyncClient
40
- from mypy_boto3_apptest.client import MainframeModernizationApplicationTestingClient
41
40
  from mypy_boto3_arc_region_switch.client import ARCRegionswitchClient
42
41
  from mypy_boto3_arc_zonal_shift.client import ARCZonalShiftClient
43
42
  from mypy_boto3_artifact.client import ArtifactClient
@@ -111,6 +110,7 @@ from mypy_boto3_cognito_sync.client import CognitoSyncClient
111
110
  from mypy_boto3_comprehend.client import ComprehendClient
112
111
  from mypy_boto3_comprehendmedical.client import ComprehendMedicalClient
113
112
  from mypy_boto3_compute_optimizer.client import ComputeOptimizerClient
113
+ from mypy_boto3_compute_optimizer_automation.client import ComputeOptimizerAutomationClient
114
114
  from mypy_boto3_config.client import ConfigServiceClient
115
115
  from mypy_boto3_connect.client import ConnectClient
116
116
  from mypy_boto3_connect_contact_lens.client import ConnectContactLensClient
@@ -158,7 +158,6 @@ from mypy_boto3_eks.client import EKSClient
158
158
  from mypy_boto3_eks_auth.client import EKSAuthClient
159
159
  from mypy_boto3_elasticache.client import ElastiCacheClient
160
160
  from mypy_boto3_elasticbeanstalk.client import ElasticBeanstalkClient
161
- from mypy_boto3_elastictranscoder.client import ElasticTranscoderClient
162
161
  from mypy_boto3_elb.client import ElasticLoadBalancingClient
163
162
  from mypy_boto3_elbv2.client import ElasticLoadBalancingv2Client
164
163
  from mypy_boto3_emr.client import EMRClient
@@ -215,7 +214,6 @@ from mypy_boto3_iotanalytics.client import IoTAnalyticsClient
215
214
  from mypy_boto3_iotdeviceadvisor.client import IoTDeviceAdvisorClient
216
215
  from mypy_boto3_iotevents.client import IoTEventsClient
217
216
  from mypy_boto3_iotevents_data.client import IoTEventsDataClient
218
- from mypy_boto3_iotfleethub.client import IoTFleetHubClient
219
217
  from mypy_boto3_iotfleetwise.client import IoTFleetWiseClient
220
218
  from mypy_boto3_iotsecuretunneling.client import IoTSecureTunnelingClient
221
219
  from mypy_boto3_iotsitewise.client import IoTSiteWiseClient
@@ -258,8 +256,6 @@ from mypy_boto3_lightsail.client import LightsailClient
258
256
  from mypy_boto3_location.client import LocationServiceClient
259
257
  from mypy_boto3_logs.client import CloudWatchLogsClient
260
258
  from mypy_boto3_lookoutequipment.client import LookoutEquipmentClient
261
- from mypy_boto3_lookoutmetrics.client import LookoutMetricsClient
262
- from mypy_boto3_lookoutvision.client import LookoutforVisionClient
263
259
  from mypy_boto3_m2.client import MainframeModernizationClient
264
260
  from mypy_boto3_machinelearning.client import MachineLearningClient
265
261
  from mypy_boto3_macie2.client import Macie2Client
@@ -294,6 +290,7 @@ from mypy_boto3_mpa.client import MultipartyApprovalClient
294
290
  from mypy_boto3_mq.client import MQClient
295
291
  from mypy_boto3_mturk.client import MTurkClient
296
292
  from mypy_boto3_mwaa.client import MWAAClient
293
+ from mypy_boto3_mwaa_serverless.client import MWAAServerlessClient
297
294
  from mypy_boto3_neptune.client import NeptuneClient
298
295
  from mypy_boto3_neptune_graph.client import NeptuneGraphClient
299
296
  from mypy_boto3_neptunedata.client import NeptuneDataClient
@@ -303,6 +300,7 @@ from mypy_boto3_networkmanager.client import NetworkManagerClient
303
300
  from mypy_boto3_networkmonitor.client import CloudWatchNetworkMonitorClient
304
301
  from mypy_boto3_notifications.client import UserNotificationsClient
305
302
  from mypy_boto3_notificationscontacts.client import UserNotificationsContactsClient
303
+ from mypy_boto3_nova_act.client import NovaActServiceClient
306
304
  from mypy_boto3_oam.client import CloudWatchObservabilityAccessManagerClient
307
305
  from mypy_boto3_observabilityadmin.client import CloudWatchObservabilityAdminServiceClient
308
306
  from mypy_boto3_odb.client import OdbClient
@@ -313,6 +311,9 @@ from mypy_boto3_organizations.client import OrganizationsClient
313
311
  from mypy_boto3_osis.client import OpenSearchIngestionClient
314
312
  from mypy_boto3_outposts.client import OutpostsClient
315
313
  from mypy_boto3_panorama.client import PanoramaClient
314
+ from mypy_boto3_partnercentral_account.client import PartnerCentralAccountAPIClient
315
+ from mypy_boto3_partnercentral_benefits.client import PartnerCentralBenefitsClient
316
+ from mypy_boto3_partnercentral_channel.client import PartnerCentralChannelAPIClient
316
317
  from mypy_boto3_partnercentral_selling.client import PartnerCentralSellingAPIClient
317
318
  from mypy_boto3_payment_cryptography.client import PaymentCryptographyControlPlaneClient
318
319
  from mypy_boto3_payment_cryptography_data.client import PaymentCryptographyDataPlaneClient
@@ -334,8 +335,6 @@ from mypy_boto3_proton.client import ProtonClient
334
335
  from mypy_boto3_qapps.client import QAppsClient
335
336
  from mypy_boto3_qbusiness.client import QBusinessClient
336
337
  from mypy_boto3_qconnect.client import QConnectClient
337
- from mypy_boto3_qldb.client import QLDBClient
338
- from mypy_boto3_qldb_session.client import QLDBSessionClient
339
338
  from mypy_boto3_quicksight.client import QuickSightClient
340
339
  from mypy_boto3_ram.client import RAMClient
341
340
  from mypy_boto3_rbin.client import RecycleBinClient
@@ -350,13 +349,13 @@ from mypy_boto3_resiliencehub.client import ResilienceHubClient
350
349
  from mypy_boto3_resource_explorer_2.client import ResourceExplorerClient
351
350
  from mypy_boto3_resource_groups.client import ResourceGroupsClient
352
351
  from mypy_boto3_resourcegroupstaggingapi.client import ResourceGroupsTaggingAPIClient
353
- from mypy_boto3_robomaker.client import RoboMakerClient
354
352
  from mypy_boto3_rolesanywhere.client import IAMRolesAnywhereClient
355
353
  from mypy_boto3_route53.client import Route53Client
356
354
  from mypy_boto3_route53_recovery_cluster.client import Route53RecoveryClusterClient
357
355
  from mypy_boto3_route53_recovery_control_config.client import Route53RecoveryControlConfigClient
358
356
  from mypy_boto3_route53_recovery_readiness.client import Route53RecoveryReadinessClient
359
357
  from mypy_boto3_route53domains.client import Route53DomainsClient
358
+ from mypy_boto3_route53globalresolver.client import Route53GlobalResolverClient
360
359
  from mypy_boto3_route53profiles.client import Route53ProfilesClient
361
360
  from mypy_boto3_route53resolver.client import Route53ResolverClient
362
361
  from mypy_boto3_rtbfabric.client import RTBFabricClient
@@ -391,6 +390,7 @@ from mypy_boto3_ses.client import SESClient
391
390
  from mypy_boto3_sesv2.client import SESV2Client
392
391
  from mypy_boto3_shield.client import ShieldClient
393
392
  from mypy_boto3_signer.client import SignerClient
393
+ from mypy_boto3_signin.client import SignInServiceClient
394
394
  from mypy_boto3_simspaceweaver.client import SimSpaceWeaverClient
395
395
  from mypy_boto3_snow_device_management.client import SnowDeviceManagementClient
396
396
  from mypy_boto3_snowball.client import SnowballClient
@@ -433,6 +433,7 @@ from mypy_boto3_waf.client import WAFClient
433
433
  from mypy_boto3_waf_regional.client import WAFRegionalClient
434
434
  from mypy_boto3_wafv2.client import WAFV2Client
435
435
  from mypy_boto3_wellarchitected.client import WellArchitectedClient
436
+ from mypy_boto3_wickr.client import WickrAdminAPIClient
436
437
  from mypy_boto3_wisdom.client import ConnectWisdomServiceClient
437
438
  from mypy_boto3_workdocs.client import WorkDocsClient
438
439
  from mypy_boto3_workmail.client import WorkMailClient
@@ -920,24 +921,6 @@ def client(
920
921
  Create client for AppSync service.
921
922
  """
922
923
 
923
- @overload
924
- def client(
925
- service_name: Literal["apptest"],
926
- region_name: str | None = ...,
927
- api_version: str | None = ...,
928
- use_ssl: bool | None = ...,
929
- verify: bool | str | None = ...,
930
- endpoint_url: str | None = ...,
931
- aws_access_key_id: str | None = ...,
932
- aws_secret_access_key: str | None = ...,
933
- aws_session_token: str | None = ...,
934
- config: Config | None = ...,
935
- aws_account_id: str | None = ...,
936
- ) -> MainframeModernizationApplicationTestingClient:
937
- """
938
- Create client for MainframeModernizationApplicationTesting service.
939
- """
940
-
941
924
  @overload
942
925
  def client(
943
926
  service_name: Literal["arc-region-switch"],
@@ -2180,6 +2163,24 @@ def client(
2180
2163
  Create client for ComputeOptimizer service.
2181
2164
  """
2182
2165
 
2166
+ @overload
2167
+ def client(
2168
+ service_name: Literal["compute-optimizer-automation"],
2169
+ region_name: str | None = ...,
2170
+ api_version: str | None = ...,
2171
+ use_ssl: bool | None = ...,
2172
+ verify: bool | str | None = ...,
2173
+ endpoint_url: str | None = ...,
2174
+ aws_access_key_id: str | None = ...,
2175
+ aws_secret_access_key: str | None = ...,
2176
+ aws_session_token: str | None = ...,
2177
+ config: Config | None = ...,
2178
+ aws_account_id: str | None = ...,
2179
+ ) -> ComputeOptimizerAutomationClient:
2180
+ """
2181
+ Create client for ComputeOptimizerAutomation service.
2182
+ """
2183
+
2183
2184
  @overload
2184
2185
  def client(
2185
2186
  service_name: Literal["config"],
@@ -2990,24 +2991,6 @@ def client(
2990
2991
  Create client for ElasticBeanstalk service.
2991
2992
  """
2992
2993
 
2993
- @overload
2994
- def client(
2995
- service_name: Literal["elastictranscoder"],
2996
- region_name: str | None = ...,
2997
- api_version: str | None = ...,
2998
- use_ssl: bool | None = ...,
2999
- verify: bool | str | None = ...,
3000
- endpoint_url: str | None = ...,
3001
- aws_access_key_id: str | None = ...,
3002
- aws_secret_access_key: str | None = ...,
3003
- aws_session_token: str | None = ...,
3004
- config: Config | None = ...,
3005
- aws_account_id: str | None = ...,
3006
- ) -> ElasticTranscoderClient:
3007
- """
3008
- Create client for ElasticTranscoder service.
3009
- """
3010
-
3011
2994
  @overload
3012
2995
  def client(
3013
2996
  service_name: Literal["elb"],
@@ -3944,24 +3927,6 @@ def client(
3944
3927
  Create client for IoTEventsData service.
3945
3928
  """
3946
3929
 
3947
- @overload
3948
- def client(
3949
- service_name: Literal["iotfleethub"],
3950
- region_name: str | None = ...,
3951
- api_version: str | None = ...,
3952
- use_ssl: bool | None = ...,
3953
- verify: bool | str | None = ...,
3954
- endpoint_url: str | None = ...,
3955
- aws_access_key_id: str | None = ...,
3956
- aws_secret_access_key: str | None = ...,
3957
- aws_session_token: str | None = ...,
3958
- config: Config | None = ...,
3959
- aws_account_id: str | None = ...,
3960
- ) -> IoTFleetHubClient:
3961
- """
3962
- Create client for IoTFleetHub service.
3963
- """
3964
-
3965
3930
  @overload
3966
3931
  def client(
3967
3932
  service_name: Literal["iotfleetwise"],
@@ -4646,42 +4611,6 @@ def client(
4646
4611
  Create client for LookoutEquipment service.
4647
4612
  """
4648
4613
 
4649
- @overload
4650
- def client(
4651
- service_name: Literal["lookoutmetrics"],
4652
- region_name: str | None = ...,
4653
- api_version: str | None = ...,
4654
- use_ssl: bool | None = ...,
4655
- verify: bool | str | None = ...,
4656
- endpoint_url: str | None = ...,
4657
- aws_access_key_id: str | None = ...,
4658
- aws_secret_access_key: str | None = ...,
4659
- aws_session_token: str | None = ...,
4660
- config: Config | None = ...,
4661
- aws_account_id: str | None = ...,
4662
- ) -> LookoutMetricsClient:
4663
- """
4664
- Create client for LookoutMetrics service.
4665
- """
4666
-
4667
- @overload
4668
- def client(
4669
- service_name: Literal["lookoutvision"],
4670
- region_name: str | None = ...,
4671
- api_version: str | None = ...,
4672
- use_ssl: bool | None = ...,
4673
- verify: bool | str | None = ...,
4674
- endpoint_url: str | None = ...,
4675
- aws_access_key_id: str | None = ...,
4676
- aws_secret_access_key: str | None = ...,
4677
- aws_session_token: str | None = ...,
4678
- config: Config | None = ...,
4679
- aws_account_id: str | None = ...,
4680
- ) -> LookoutforVisionClient:
4681
- """
4682
- Create client for LookoutforVision service.
4683
- """
4684
-
4685
4614
  @overload
4686
4615
  def client(
4687
4616
  service_name: Literal["m2"],
@@ -5294,6 +5223,24 @@ def client(
5294
5223
  Create client for MWAA service.
5295
5224
  """
5296
5225
 
5226
+ @overload
5227
+ def client(
5228
+ service_name: Literal["mwaa-serverless"],
5229
+ region_name: str | None = ...,
5230
+ api_version: str | None = ...,
5231
+ use_ssl: bool | None = ...,
5232
+ verify: bool | str | None = ...,
5233
+ endpoint_url: str | None = ...,
5234
+ aws_access_key_id: str | None = ...,
5235
+ aws_secret_access_key: str | None = ...,
5236
+ aws_session_token: str | None = ...,
5237
+ config: Config | None = ...,
5238
+ aws_account_id: str | None = ...,
5239
+ ) -> MWAAServerlessClient:
5240
+ """
5241
+ Create client for MWAAServerless service.
5242
+ """
5243
+
5297
5244
  @overload
5298
5245
  def client(
5299
5246
  service_name: Literal["neptune"],
@@ -5456,6 +5403,24 @@ def client(
5456
5403
  Create client for UserNotificationsContacts service.
5457
5404
  """
5458
5405
 
5406
+ @overload
5407
+ def client(
5408
+ service_name: Literal["nova-act"],
5409
+ region_name: str | None = ...,
5410
+ api_version: str | None = ...,
5411
+ use_ssl: bool | None = ...,
5412
+ verify: bool | str | None = ...,
5413
+ endpoint_url: str | None = ...,
5414
+ aws_access_key_id: str | None = ...,
5415
+ aws_secret_access_key: str | None = ...,
5416
+ aws_session_token: str | None = ...,
5417
+ config: Config | None = ...,
5418
+ aws_account_id: str | None = ...,
5419
+ ) -> NovaActServiceClient:
5420
+ """
5421
+ Create client for NovaActService service.
5422
+ """
5423
+
5459
5424
  @overload
5460
5425
  def client(
5461
5426
  service_name: Literal["oam"],
@@ -5636,6 +5601,60 @@ def client(
5636
5601
  Create client for Panorama service.
5637
5602
  """
5638
5603
 
5604
+ @overload
5605
+ def client(
5606
+ service_name: Literal["partnercentral-account"],
5607
+ region_name: str | None = ...,
5608
+ api_version: str | None = ...,
5609
+ use_ssl: bool | None = ...,
5610
+ verify: bool | str | None = ...,
5611
+ endpoint_url: str | None = ...,
5612
+ aws_access_key_id: str | None = ...,
5613
+ aws_secret_access_key: str | None = ...,
5614
+ aws_session_token: str | None = ...,
5615
+ config: Config | None = ...,
5616
+ aws_account_id: str | None = ...,
5617
+ ) -> PartnerCentralAccountAPIClient:
5618
+ """
5619
+ Create client for PartnerCentralAccountAPI service.
5620
+ """
5621
+
5622
+ @overload
5623
+ def client(
5624
+ service_name: Literal["partnercentral-benefits"],
5625
+ region_name: str | None = ...,
5626
+ api_version: str | None = ...,
5627
+ use_ssl: bool | None = ...,
5628
+ verify: bool | str | None = ...,
5629
+ endpoint_url: str | None = ...,
5630
+ aws_access_key_id: str | None = ...,
5631
+ aws_secret_access_key: str | None = ...,
5632
+ aws_session_token: str | None = ...,
5633
+ config: Config | None = ...,
5634
+ aws_account_id: str | None = ...,
5635
+ ) -> PartnerCentralBenefitsClient:
5636
+ """
5637
+ Create client for PartnerCentralBenefits service.
5638
+ """
5639
+
5640
+ @overload
5641
+ def client(
5642
+ service_name: Literal["partnercentral-channel"],
5643
+ region_name: str | None = ...,
5644
+ api_version: str | None = ...,
5645
+ use_ssl: bool | None = ...,
5646
+ verify: bool | str | None = ...,
5647
+ endpoint_url: str | None = ...,
5648
+ aws_access_key_id: str | None = ...,
5649
+ aws_secret_access_key: str | None = ...,
5650
+ aws_session_token: str | None = ...,
5651
+ config: Config | None = ...,
5652
+ aws_account_id: str | None = ...,
5653
+ ) -> PartnerCentralChannelAPIClient:
5654
+ """
5655
+ Create client for PartnerCentralChannelAPI service.
5656
+ """
5657
+
5639
5658
  @overload
5640
5659
  def client(
5641
5660
  service_name: Literal["partnercentral-selling"],
@@ -6014,42 +6033,6 @@ def client(
6014
6033
  Create client for QConnect service.
6015
6034
  """
6016
6035
 
6017
- @overload
6018
- def client(
6019
- service_name: Literal["qldb"],
6020
- region_name: str | None = ...,
6021
- api_version: str | None = ...,
6022
- use_ssl: bool | None = ...,
6023
- verify: bool | str | None = ...,
6024
- endpoint_url: str | None = ...,
6025
- aws_access_key_id: str | None = ...,
6026
- aws_secret_access_key: str | None = ...,
6027
- aws_session_token: str | None = ...,
6028
- config: Config | None = ...,
6029
- aws_account_id: str | None = ...,
6030
- ) -> QLDBClient:
6031
- """
6032
- Create client for QLDB service.
6033
- """
6034
-
6035
- @overload
6036
- def client(
6037
- service_name: Literal["qldb-session"],
6038
- region_name: str | None = ...,
6039
- api_version: str | None = ...,
6040
- use_ssl: bool | None = ...,
6041
- verify: bool | str | None = ...,
6042
- endpoint_url: str | None = ...,
6043
- aws_access_key_id: str | None = ...,
6044
- aws_secret_access_key: str | None = ...,
6045
- aws_session_token: str | None = ...,
6046
- config: Config | None = ...,
6047
- aws_account_id: str | None = ...,
6048
- ) -> QLDBSessionClient:
6049
- """
6050
- Create client for QLDBSession service.
6051
- """
6052
-
6053
6036
  @overload
6054
6037
  def client(
6055
6038
  service_name: Literal["quicksight"],
@@ -6302,24 +6285,6 @@ def client(
6302
6285
  Create client for ResourceGroupsTaggingAPI service.
6303
6286
  """
6304
6287
 
6305
- @overload
6306
- def client(
6307
- service_name: Literal["robomaker"],
6308
- region_name: str | None = ...,
6309
- api_version: str | None = ...,
6310
- use_ssl: bool | None = ...,
6311
- verify: bool | str | None = ...,
6312
- endpoint_url: str | None = ...,
6313
- aws_access_key_id: str | None = ...,
6314
- aws_secret_access_key: str | None = ...,
6315
- aws_session_token: str | None = ...,
6316
- config: Config | None = ...,
6317
- aws_account_id: str | None = ...,
6318
- ) -> RoboMakerClient:
6319
- """
6320
- Create client for RoboMaker service.
6321
- """
6322
-
6323
6288
  @overload
6324
6289
  def client(
6325
6290
  service_name: Literal["rolesanywhere"],
@@ -6428,6 +6393,24 @@ def client(
6428
6393
  Create client for Route53Domains service.
6429
6394
  """
6430
6395
 
6396
+ @overload
6397
+ def client(
6398
+ service_name: Literal["route53globalresolver"],
6399
+ region_name: str | None = ...,
6400
+ api_version: str | None = ...,
6401
+ use_ssl: bool | None = ...,
6402
+ verify: bool | str | None = ...,
6403
+ endpoint_url: str | None = ...,
6404
+ aws_access_key_id: str | None = ...,
6405
+ aws_secret_access_key: str | None = ...,
6406
+ aws_session_token: str | None = ...,
6407
+ config: Config | None = ...,
6408
+ aws_account_id: str | None = ...,
6409
+ ) -> Route53GlobalResolverClient:
6410
+ """
6411
+ Create client for Route53GlobalResolver service.
6412
+ """
6413
+
6431
6414
  @overload
6432
6415
  def client(
6433
6416
  service_name: Literal["route53profiles"],
@@ -7022,6 +7005,24 @@ def client(
7022
7005
  Create client for Signer service.
7023
7006
  """
7024
7007
 
7008
+ @overload
7009
+ def client(
7010
+ service_name: Literal["signin"],
7011
+ region_name: str | None = ...,
7012
+ api_version: str | None = ...,
7013
+ use_ssl: bool | None = ...,
7014
+ verify: bool | str | None = ...,
7015
+ endpoint_url: str | None = ...,
7016
+ aws_access_key_id: str | None = ...,
7017
+ aws_secret_access_key: str | None = ...,
7018
+ aws_session_token: str | None = ...,
7019
+ config: Config | None = ...,
7020
+ aws_account_id: str | None = ...,
7021
+ ) -> SignInServiceClient:
7022
+ """
7023
+ Create client for SignInService service.
7024
+ """
7025
+
7025
7026
  @overload
7026
7027
  def client(
7027
7028
  service_name: Literal["simspaceweaver"],
@@ -7742,6 +7743,24 @@ def client(
7742
7743
  Create client for WellArchitected service.
7743
7744
  """
7744
7745
 
7746
+ @overload
7747
+ def client(
7748
+ service_name: Literal["wickr"],
7749
+ region_name: str | None = ...,
7750
+ api_version: str | None = ...,
7751
+ use_ssl: bool | None = ...,
7752
+ verify: bool | str | None = ...,
7753
+ endpoint_url: str | None = ...,
7754
+ aws_access_key_id: str | None = ...,
7755
+ aws_secret_access_key: str | None = ...,
7756
+ aws_session_token: str | None = ...,
7757
+ config: Config | None = ...,
7758
+ aws_account_id: str | None = ...,
7759
+ ) -> WickrAdminAPIClient:
7760
+ """
7761
+ Create client for WickrAdminAPI service.
7762
+ """
7763
+
7745
7764
  @overload
7746
7765
  def client(
7747
7766
  service_name: Literal["wisdom"],
boto3-stubs/compat.pyi CHANGED
@@ -9,6 +9,8 @@ from typing import Any
9
9
 
10
10
  SOCKET_ERROR: type[ConnectionError]
11
11
 
12
+ TRANSFER_CONFIG_SUPPORTS_CRT: bool = ...
13
+
12
14
  rename_file = os.rename
13
15
 
14
16
  def filter_python_deprecation_warnings() -> None: ...
boto3-stubs/crt.pyi CHANGED
@@ -4,12 +4,15 @@ Type annotations for boto3.crt module.
4
4
  Copyright 2024 Vlad Emelianov
5
5
  """
6
6
 
7
+ import logging
7
8
  import threading
8
9
  from typing import Any
9
10
 
10
11
  from botocore.client import BaseClient
11
12
  from s3transfer.crt import BotocoreCRTRequestSerializer, CRTTransferManager
12
13
 
14
+ logger: logging.Logger = ...
15
+
13
16
  CRT_S3_CLIENT: CRTS3Client | None = ...
14
17
  BOTOCORE_CRT_SERIALIZER: BotocoreCRTRequestSerializer | None = ...
15
18
 
@@ -44,3 +44,4 @@ class DynamoDBNeedsConditionError(Boto3Error):
44
44
 
45
45
  class DynamoDBNeedsKeyConditionError(Boto3Error): ...
46
46
  class PythonDeprecationWarning(Warning): ...
47
+ class InvalidCrtTransferConfigError(Boto3Error): ...
@@ -6,3 +6,4 @@ Copyright 2024 Vlad Emelianov
6
6
 
7
7
  CLASSIC_TRANSFER_CLIENT: str = ...
8
8
  AUTO_RESOLVE_TRANSFER_CLIENT: str = ...
9
+ CRT_TRANSFER_CLIENT: str = ...
@@ -30,19 +30,20 @@ def create_transfer_manager(
30
30
  def has_minimum_crt_version(minimum_version: str) -> bool: ...
31
31
 
32
32
  class TransferConfig(S3TransferConfig):
33
- ALIAS: dict[str, str]
33
+ ALIAS: dict[str, str] = ...
34
+ DEFAULTS: dict[str, Any] = ...
34
35
 
35
36
  def __init__(
36
37
  self,
37
- multipart_threshold: int = ...,
38
- max_concurrency: int = ...,
39
- multipart_chunksize: int = ...,
40
- num_download_attempts: int = ...,
41
- max_io_queue: int = ...,
42
- io_chunksize: int = ...,
43
- use_threads: bool = ...,
38
+ multipart_threshold: int | None = ...,
39
+ max_concurrency: int | None = ...,
40
+ multipart_chunksize: int | None = ...,
41
+ num_download_attempts: int | None = ...,
42
+ max_io_queue: int | None = ...,
43
+ io_chunksize: int | None = ...,
44
+ use_threads: bool | None = ...,
44
45
  max_bandwidth: int | None = ...,
45
- preferred_transfer_client: str = ...,
46
+ preferred_transfer_client: str | None = ...,
46
47
  ) -> None:
47
48
  self.use_threads: bool
48
49