boto3-stubs 1.35.36__py3-none-any.whl → 1.35.73__py3-none-any.whl

Sign up to get free protection for your applications and to get access to all the features.
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/__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
@@ -159,6 +168,9 @@ from mypy_boto3_frauddetector.client import FraudDetectorClient
159
168
  from mypy_boto3_freetier.client import FreeTierClient
160
169
  from mypy_boto3_fsx.client import FSxClient
161
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
162
174
  from mypy_boto3_glacier.client import GlacierClient
163
175
  from mypy_boto3_glacier.service_resource import GlacierServiceResource
164
176
  from mypy_boto3_globalaccelerator.client import GlobalAcceleratorClient
@@ -179,6 +191,7 @@ from mypy_boto3_inspector.client import InspectorClient
179
191
  from mypy_boto3_inspector2.client import Inspector2Client
180
192
  from mypy_boto3_inspector_scan.client import InspectorscanClient
181
193
  from mypy_boto3_internetmonitor.client import CloudWatchInternetMonitorClient
194
+ from mypy_boto3_invoicing.client import InvoicingClient
182
195
  from mypy_boto3_iot.client import IoTClient
183
196
  from mypy_boto3_iot1click_devices.client import IoT1ClickDevicesServiceClient
184
197
  from mypy_boto3_iot1click_projects.client import IoT1ClickProjectsClient
@@ -269,10 +282,13 @@ from mypy_boto3_neptune.client import NeptuneClient
269
282
  from mypy_boto3_neptune_graph.client import NeptuneGraphClient
270
283
  from mypy_boto3_neptunedata.client import NeptuneDataClient
271
284
  from mypy_boto3_network_firewall.client import NetworkFirewallClient
285
+ from mypy_boto3_networkflowmonitor.client import NetworkFlowMonitorClient
272
286
  from mypy_boto3_networkmanager.client import NetworkManagerClient
273
287
  from mypy_boto3_networkmonitor.client import CloudWatchNetworkMonitorClient
274
- from mypy_boto3_nimble.client import NimbleStudioClient
288
+ from mypy_boto3_notifications.client import UserNotificationsClient
289
+ from mypy_boto3_notificationscontacts.client import UserNotificationsContactsClient
275
290
  from mypy_boto3_oam.client import CloudWatchObservabilityAccessManagerClient
291
+ from mypy_boto3_observabilityadmin.client import CloudWatchObservabilityAdminServiceClient
276
292
  from mypy_boto3_omics.client import OmicsClient
277
293
  from mypy_boto3_opensearch.client import OpenSearchServiceClient
278
294
  from mypy_boto3_opensearchserverless.client import OpenSearchServiceServerlessClient
@@ -283,6 +299,7 @@ from mypy_boto3_organizations.client import OrganizationsClient
283
299
  from mypy_boto3_osis.client import OpenSearchIngestionClient
284
300
  from mypy_boto3_outposts.client import OutpostsClient
285
301
  from mypy_boto3_panorama.client import PanoramaClient
302
+ from mypy_boto3_partnercentral_selling.client import PartnerCentralSellingAPIClient
286
303
  from mypy_boto3_payment_cryptography.client import PaymentCryptographyControlPlaneClient
287
304
  from mypy_boto3_payment_cryptography_data.client import PaymentCryptographyDataPlaneClient
288
305
  from mypy_boto3_pca_connector_ad.client import PcaConnectorAdClient
@@ -346,6 +363,7 @@ from mypy_boto3_scheduler.client import EventBridgeSchedulerClient
346
363
  from mypy_boto3_schemas.client import SchemasClient
347
364
  from mypy_boto3_sdb.client import SimpleDBClient
348
365
  from mypy_boto3_secretsmanager.client import SecretsManagerClient
366
+ from mypy_boto3_security_ir.client import SecurityIncidentResponseClient
349
367
  from mypy_boto3_securityhub.client import SecurityHubClient
350
368
  from mypy_boto3_securitylake.client import SecurityLakeClient
351
369
  from mypy_boto3_serverlessrepo.client import ServerlessApplicationRepositoryClient
@@ -364,6 +382,7 @@ from mypy_boto3_snow_device_management.client import SnowDeviceManagementClient
364
382
  from mypy_boto3_snowball.client import SnowballClient
365
383
  from mypy_boto3_sns.client import SNSClient
366
384
  from mypy_boto3_sns.service_resource import SNSServiceResource
385
+ from mypy_boto3_socialmessaging.client import EndUserMessagingSocialClient
367
386
  from mypy_boto3_sqs.client import SQSClient
368
387
  from mypy_boto3_sqs.service_resource import SQSServiceResource
369
388
  from mypy_boto3_ssm.client import SSMClient
@@ -903,6 +922,19 @@ def client(
903
922
  config: Optional[Config] = ...,
904
923
  ) -> BillingandCostManagementDataExportsClient: ...
905
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
906
938
  def client(
907
939
  service_name: Literal["bedrock"],
908
940
  region_name: Optional[str] = ...,
@@ -955,6 +987,19 @@ def client(
955
987
  config: Optional[Config] = ...,
956
988
  ) -> BedrockRuntimeClient: ...
957
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
958
1003
  def client(
959
1004
  service_name: Literal["billingconductor"],
960
1005
  region_name: Optional[str] = ...,
@@ -1579,6 +1624,19 @@ def client(
1579
1624
  config: Optional[Config] = ...,
1580
1625
  ) -> ConnectCampaignServiceClient: ...
1581
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
1582
1640
  def client(
1583
1641
  service_name: Literal["connectcases"],
1584
1642
  region_name: Optional[str] = ...,
@@ -2372,6 +2430,45 @@ def client(
2372
2430
  config: Optional[Config] = ...,
2373
2431
  ) -> GameLiftClient: ...
2374
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
2375
2472
  def client(
2376
2473
  service_name: Literal["glacier"],
2377
2474
  region_name: Optional[str] = ...,
@@ -2606,6 +2703,19 @@ def client(
2606
2703
  config: Optional[Config] = ...,
2607
2704
  ) -> CloudWatchInternetMonitorClient: ...
2608
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
2609
2719
  def client(
2610
2720
  service_name: Literal["iot"],
2611
2721
  region_name: Optional[str] = ...,
@@ -3724,6 +3834,19 @@ def client(
3724
3834
  config: Optional[Config] = ...,
3725
3835
  ) -> NetworkFirewallClient: ...
3726
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
3727
3850
  def client(
3728
3851
  service_name: Literal["networkmanager"],
3729
3852
  region_name: Optional[str] = ...,
@@ -3751,7 +3874,20 @@ def client(
3751
3874
  ) -> CloudWatchNetworkMonitorClient: ...
3752
3875
  @overload
3753
3876
  def client(
3754
- service_name: Literal["nimble"],
3877
+ service_name: Literal["notifications"],
3878
+ region_name: Optional[str] = ...,
3879
+ api_version: Optional[str] = ...,
3880
+ use_ssl: Optional[bool] = ...,
3881
+ verify: Union[bool, str, None] = ...,
3882
+ endpoint_url: Optional[str] = ...,
3883
+ aws_access_key_id: Optional[str] = ...,
3884
+ aws_secret_access_key: Optional[str] = ...,
3885
+ aws_session_token: Optional[str] = ...,
3886
+ config: Optional[Config] = ...,
3887
+ ) -> UserNotificationsClient: ...
3888
+ @overload
3889
+ def client(
3890
+ service_name: Literal["notificationscontacts"],
3755
3891
  region_name: Optional[str] = ...,
3756
3892
  api_version: Optional[str] = ...,
3757
3893
  use_ssl: Optional[bool] = ...,
@@ -3761,7 +3897,7 @@ def client(
3761
3897
  aws_secret_access_key: Optional[str] = ...,
3762
3898
  aws_session_token: Optional[str] = ...,
3763
3899
  config: Optional[Config] = ...,
3764
- ) -> NimbleStudioClient: ...
3900
+ ) -> UserNotificationsContactsClient: ...
3765
3901
  @overload
3766
3902
  def client(
3767
3903
  service_name: Literal["oam"],
@@ -3776,6 +3912,19 @@ def client(
3776
3912
  config: Optional[Config] = ...,
3777
3913
  ) -> CloudWatchObservabilityAccessManagerClient: ...
3778
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
3779
3928
  def client(
3780
3929
  service_name: Literal["omics"],
3781
3930
  region_name: Optional[str] = ...,
@@ -3893,6 +4042,19 @@ def client(
3893
4042
  config: Optional[Config] = ...,
3894
4043
  ) -> PanoramaClient: ...
3895
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
3896
4058
  def client(
3897
4059
  service_name: Literal["payment-cryptography"],
3898
4060
  region_name: Optional[str] = ...,
@@ -4699,6 +4861,19 @@ def client(
4699
4861
  config: Optional[Config] = ...,
4700
4862
  ) -> SecretsManagerClient: ...
4701
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
4702
4877
  def client(
4703
4878
  service_name: Literal["securityhub"],
4704
4879
  region_name: Optional[str] = ...,
@@ -4920,6 +5095,19 @@ def client(
4920
5095
  config: Optional[Config] = ...,
4921
5096
  ) -> SNSClient: ...
4922
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
4923
5111
  def client(
4924
5112
  service_name: Literal["sqs"],
4925
5113
  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