boto3-stubs 1.35.13__py3-none-any.whl → 1.35.13.post1__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.
@@ -1,29 +1,33 @@
1
- from typing import Any, Dict, List
1
+ from typing import Dict, List
2
2
 
3
- from boto3.docs.base import NestedDocumenter
3
+ from boto3.resources.model import Action
4
+ from botocore.docs.bcdoc.restdoc import DocumentStructure
4
5
  from botocore.hooks import BaseEventHooks
6
+ from botocore.model import ServiceModel
7
+
8
+ from .base import NestedDocumenter
5
9
 
6
10
  PUT_DATA_WARNING_MESSAGE: str
7
11
  WARNING_MESSAGES: Dict[str, Dict[str, str]]
8
12
  IGNORE_PARAMS: Dict[str, Dict[str, List[str]]]
9
13
 
10
14
  class ActionDocumenter(NestedDocumenter):
11
- def document_actions(self, section: Any) -> None: ...
15
+ def document_actions(self, section: DocumentStructure) -> None: ...
12
16
 
13
17
  def document_action(
14
- section: Any,
18
+ section: DocumentStructure,
15
19
  resource_name: str,
16
20
  event_emitter: BaseEventHooks,
17
- action_model: Any,
18
- service_model: Any,
21
+ action_model: Action,
22
+ service_model: ServiceModel,
19
23
  include_signature: bool = ...,
20
24
  ) -> None: ...
21
25
  def document_load_reload_action(
22
- section: Any,
26
+ section: DocumentStructure,
23
27
  action_name: str,
24
28
  resource_name: str,
25
29
  event_emitter: BaseEventHooks,
26
- load_model: Any,
27
- service_model: Any,
30
+ load_model: Action,
31
+ service_model: ServiceModel,
28
32
  include_signature: bool = ...,
29
33
  ) -> None: ...
boto3-stubs/docs/attr.pyi CHANGED
@@ -1,23 +1,27 @@
1
- from typing import Any
2
-
1
+ from boto3.resources.model import Identifier
2
+ from botocore.docs.bcdoc.restdoc import DocumentStructure
3
3
  from botocore.docs.params import ResponseParamsDocumenter
4
4
  from botocore.hooks import BaseEventHooks
5
+ from botocore.model import Shape
5
6
 
6
7
  class ResourceShapeDocumenter(ResponseParamsDocumenter):
7
8
  EVENT_NAME: str
8
9
 
9
10
  def document_attribute(
10
- section: Any,
11
+ section: DocumentStructure,
11
12
  service_name: str,
12
13
  resource_name: str,
13
14
  attr_name: str,
14
15
  event_emitter: BaseEventHooks,
15
- attr_model: Any,
16
+ attr_model: Shape,
16
17
  include_signature: bool = True,
17
18
  ) -> None: ...
18
19
  def document_identifier(
19
- section: Any, resource_name: str, identifier_model: Any, include_signature: bool = ...
20
+ section: DocumentStructure,
21
+ resource_name: str,
22
+ identifier_model: Identifier,
23
+ include_signature: bool = ...,
20
24
  ) -> None: ...
21
25
  def document_reference(
22
- section: Any, reference_model: Any, include_signature: bool = ...
26
+ section: DocumentStructure, reference_model: Shape, include_signature: bool = ...
23
27
  ) -> None: ...
@@ -1,29 +1,31 @@
1
- from typing import Any
2
-
3
- from boto3.docs.base import NestedDocumenter
1
+ from boto3.resources.model import Action, Collection
2
+ from botocore.docs.bcdoc.restdoc import DocumentStructure
4
3
  from botocore.hooks import BaseEventHooks
4
+ from botocore.model import ServiceModel
5
+
6
+ from .base import NestedDocumenter
5
7
 
6
8
  class CollectionDocumenter(NestedDocumenter):
7
- def document_collections(self, section: Any) -> None: ...
9
+ def document_collections(self, section: DocumentStructure) -> None: ...
8
10
 
9
11
  def document_collection_object(
10
- section: Any, collection_model: Any, include_signature: bool = ...
12
+ section: DocumentStructure, collection_model: Collection, include_signature: bool = ...
11
13
  ) -> None: ...
12
14
  def document_batch_action(
13
- section: Any,
15
+ section: DocumentStructure,
14
16
  resource_name: str,
15
17
  event_emitter: BaseEventHooks,
16
- batch_action_model: Any,
17
- service_model: Any,
18
- collection_model: Any,
18
+ batch_action_model: Action,
19
+ service_model: ServiceModel,
20
+ collection_model: Collection,
19
21
  include_signature: bool = ...,
20
22
  ) -> None: ...
21
23
  def document_collection_method(
22
- section: Any,
24
+ section: DocumentStructure,
23
25
  resource_name: str,
24
26
  action_name: str,
25
27
  event_emitter: BaseEventHooks,
26
- collection_model: Any,
27
- service_model: Any,
28
+ collection_model: Collection,
29
+ service_model: ServiceModel,
28
30
  include_signature: bool = ...,
29
31
  ) -> None: ...
@@ -1,9 +1,11 @@
1
1
  from typing import Any, Optional
2
2
 
3
+ from boto3.resources.model import Action
4
+ from botocore.docs.bcdoc.restdoc import DocumentStructure
3
5
  from botocore.hooks import BaseEventHooks
4
6
 
5
7
  def document_model_driven_resource_method(
6
- section: Any,
8
+ section: DocumentStructure,
7
9
  method_name: str,
8
10
  operation_model: Any,
9
11
  event_emitter: BaseEventHooks,
@@ -14,6 +16,6 @@ def document_model_driven_resource_method(
14
16
  exclude_input: Optional[Any] = ...,
15
17
  exclude_output: Optional[Any] = ...,
16
18
  document_output: bool = ...,
17
- resource_action_model: Optional[Any] = ...,
19
+ resource_action_model: Optional[Action] = ...,
18
20
  include_signature: bool = ...,
19
21
  ) -> None: ...
@@ -1,10 +1,13 @@
1
1
  from typing import Any
2
2
 
3
- from boto3.docs.base import BaseDocumenter
3
+ from botocore.docs.bcdoc.restdoc import DocumentStructure
4
+ from botocore.session import Session
5
+
6
+ from .base import BaseDocumenter
4
7
 
5
8
  class ResourceDocumenter(BaseDocumenter):
6
- def __init__(self, resource: Any, botocore_session: Any, root_docs_path: str) -> None: ...
7
- def document_resource(self, section: Any) -> None: ...
9
+ def __init__(self, resource: Any, botocore_session: Session, root_docs_path: str) -> None: ...
10
+ def document_resource(self, section: DocumentStructure) -> None: ...
8
11
 
9
12
  class ServiceResourceDocumenter(ResourceDocumenter):
10
13
  @property
@@ -1,11 +1,13 @@
1
- from typing import Any, List
1
+ from typing import List
2
2
 
3
+ from botocore.docs.bcdoc.restdoc import DocumentStructure
3
4
  from botocore.docs.service import ServiceDocumenter as BaseServiceDocumenter
5
+ from botocore.session import Session
4
6
 
5
7
  class ServiceDocumenter(BaseServiceDocumenter):
6
8
  EXAMPLE_PATH: str
7
9
  sections: List[str]
8
- def __init__(self, service_name: str, session: Any, root_docs_path: str) -> None: ...
10
+ def __init__(self, service_name: str, session: Session, root_docs_path: str) -> None: ...
9
11
  def document_service(self) -> bytes: ...
10
- def client_api(self, section: Any) -> None: ...
11
- def resource_section(self, section: Any) -> None: ...
12
+ def client_api(self, section: DocumentStructure) -> None: ...
13
+ def resource_section(self, section: DocumentStructure) -> None: ...
@@ -1,14 +1,16 @@
1
- from typing import Any
1
+ from boto3.resources.model import ResourceModel
2
+ from botocore.docs.bcdoc.restdoc import DocumentStructure
3
+ from botocore.model import ServiceModel
2
4
 
3
- from boto3.docs.base import NestedDocumenter
5
+ from .base import NestedDocumenter
4
6
 
5
7
  class SubResourceDocumenter(NestedDocumenter):
6
- def document_sub_resources(self, section: Any) -> None: ...
8
+ def document_sub_resources(self, section: DocumentStructure) -> None: ...
7
9
 
8
10
  def document_sub_resource(
9
- section: Any,
11
+ section: DocumentStructure,
10
12
  resource_name: str,
11
- sub_resource_model: Any,
12
- service_model: Any,
13
+ sub_resource_model: ResourceModel,
14
+ service_model: ServiceModel,
13
15
  include_signature: bool = ...,
14
16
  ) -> None: ...
@@ -1,5 +1,7 @@
1
1
  from typing import Any, Iterable, List, Mapping, Optional
2
2
 
3
+ from botocore.docs.bcdoc.restdoc import DocumentStructure
4
+
3
5
  def get_resource_ignore_params(params: Mapping[str, Any]) -> List[str]: ...
4
6
  def is_resource_action(action_handle: Any) -> bool: ...
5
7
  def get_resource_public_actions(resource_class: Any) -> List[Any]: ...
@@ -7,7 +9,10 @@ def get_identifier_values_for_example(identifier_names: Iterable[str]) -> str: .
7
9
  def get_identifier_args_for_signature(identifier_names: Iterable[str]) -> str: ...
8
10
  def get_identifier_description(resource_name: str, identifier_name: str) -> str: ...
9
11
  def add_resource_type_overview(
10
- section: Any, resource_type: str, description: str, intro_link: Optional[str] = ...
12
+ section: DocumentStructure,
13
+ resource_type: str,
14
+ description: str,
15
+ intro_link: Optional[str] = ...,
11
16
  ) -> None: ...
12
17
 
13
18
  class DocumentModifiedShape:
@@ -15,5 +20,5 @@ class DocumentModifiedShape:
15
20
  self, shape_name: str, new_type: str, new_description: str, new_example_value: str
16
21
  ) -> None: ...
17
22
  def replace_documentation_for_matching_shape(
18
- self, event_name: str, section: Any, **kwargs: Any
23
+ self, event_name: str, section: DocumentStructure, **kwargs: Any
19
24
  ) -> None: ...
@@ -1,10 +1,12 @@
1
1
  from typing import Any
2
2
 
3
- from boto3.docs.base import NestedDocumenter
3
+ from botocore.docs.bcdoc.restdoc import DocumentStructure
4
4
  from botocore.hooks import BaseEventHooks
5
5
  from botocore.model import ServiceModel
6
6
  from botocore.waiter import WaiterModel
7
7
 
8
+ from .base import NestedDocumenter
9
+
8
10
  class WaiterResourceDocumenter(NestedDocumenter):
9
11
  def __init__(
10
12
  self,
@@ -12,10 +14,10 @@ class WaiterResourceDocumenter(NestedDocumenter):
12
14
  service_waiter_model: WaiterModel,
13
15
  root_docs_path: str,
14
16
  ) -> None: ...
15
- def document_resource_waiters(self, section: Any) -> None: ...
17
+ def document_resource_waiters(self, section: DocumentStructure) -> None: ...
16
18
 
17
19
  def document_resource_waiter(
18
- section: Any,
20
+ section: DocumentStructure,
19
21
  resource_name: str,
20
22
  event_emitter: BaseEventHooks,
21
23
  service_model: ServiceModel,
@@ -28,10 +28,9 @@ class ResourceMeta:
28
28
  def copy(self: _ResourceMeta) -> _ResourceMeta: ...
29
29
 
30
30
  class ServiceResource:
31
- meta: None # type: ignore
31
+ meta: ResourceMeta = ... # type: ignore
32
32
 
33
- def __init__(self, *args: Any, client: Optional[BaseClient] = ..., **kwargs: Any) -> None:
34
- self.meta: ResourceMeta
33
+ def __init__(self, *args: Any, client: Optional[BaseClient] = ..., **kwargs: Any) -> None: ...
35
34
  def __repr__(self) -> str: ...
36
35
  def __eq__(self, other: Any) -> bool: ...
37
36
  def __hash__(self) -> int: ...
@@ -102,7 +102,7 @@ class ResourceModel:
102
102
  self.shape: Optional[str]
103
103
 
104
104
  def load_rename_map(self, shape: Optional[Shape] = ...) -> None: ...
105
- def get_attributes(self, shape: Shape) -> Dict[str, Tuple[str, Any]]: ...
105
+ def get_attributes(self, shape: Shape) -> Dict[str, Tuple[str, Shape]]: ...
106
106
  @property
107
107
  def identifiers(self) -> List[Identifier]: ...
108
108
  @property
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: boto3-stubs
3
- Version: 1.35.13
3
+ Version: 1.35.13.post1
4
4
  Summary: Type annotations for boto3 1.35.13 generated with mypy-boto3-builder 8.0.1
5
5
  Home-page: https://github.com/youtype/mypy_boto3_builder
6
6
  Author: Vlad Emelianov
@@ -724,6 +724,8 @@ Provides-Extra: freetier
724
724
  Requires-Dist: mypy-boto3-freetier<1.36.0,>=1.35.0; extra == "freetier"
725
725
  Provides-Extra: fsx
726
726
  Requires-Dist: mypy-boto3-fsx<1.36.0,>=1.35.0; extra == "fsx"
727
+ Provides-Extra: full
728
+ Requires-Dist: boto3-stubs-full; extra == "full"
727
729
  Provides-Extra: gamelift
728
730
  Requires-Dist: mypy-boto3-gamelift<1.36.0,>=1.35.0; extra == "gamelift"
729
731
  Provides-Extra: glacier
@@ -1296,7 +1298,7 @@ python -m pip install 'boto3-stubs[boto3]'
1296
1298
 
1297
1299
 
1298
1300
  # or install all-in-one annotations for all services at once
1299
- python -m pip install boto3-stubs-full
1301
+ python -m pip install 'boto3-stubs[full]'
1300
1302
 
1301
1303
 
1302
1304
 
@@ -1601,7 +1603,10 @@ repository.
1601
1603
 
1602
1604
  ## Submodules
1603
1605
 
1604
- - `boto3-stubs[all]` - Type annotations for all 386 services.
1606
+ - `boto3-stubs[full]` - Type annotations for all 386 services in one package
1607
+ (recommended).
1608
+ - `boto3-stubs[all]` - Type annotations for all 386 services in separate
1609
+ packages.
1605
1610
  - `boto3-stubs[essential]` - Type annotations for
1606
1611
  [CloudFormation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_cloudformation/),
1607
1612
  [DynamoDB](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_dynamodb/),
@@ -6,18 +6,18 @@ boto3-stubs/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
6
6
  boto3-stubs/session.pyi,sha256=94LLVmmKMLSz9n9sxvLcfEQo4z3T01DG1PqGvFIpWyk,234696
7
7
  boto3-stubs/utils.pyi,sha256=aFM7Aoxm8HuplG367JDYs5-zZ_YQpKr7ONPs1x7f15Y,779
8
8
  boto3-stubs/docs/__init__.pyi,sha256=wGWFUev9EDG-4NT4l-JUjzFUsypBQf2kwFBfdb1uJeU,99
9
- boto3-stubs/docs/action.pyi,sha256=wdKrhAkNLcLZXu8F5vDvUPf7Kmiu4Evm5WgqvjQYeRc,769
10
- boto3-stubs/docs/attr.pyi,sha256=dzWqyUDFjoExl-4d48mBM2-qDJZoUBRxPVTgHzfx1N0,659
9
+ boto3-stubs/docs/action.pyi,sha256=swA73r0izUswkhU7lChbW4FZN491Q8HjcxnwlyDnAuE,960
10
+ boto3-stubs/docs/attr.pyi,sha256=8HvOBUZModgA6C2ooeZwc4Ohe-Wxtu1CjneDcIzzepc,837
11
11
  boto3-stubs/docs/base.pyi,sha256=hYdyNgO31OXqtBAH3EqVaW1lxHHnaW64tAYOY6mnJoM,386
12
12
  boto3-stubs/docs/client.pyi,sha256=LjD603Ya-woOwSpPDCIuR18Ncybf-7TpX_4USmwvpbg,102
13
- boto3-stubs/docs/collection.pyi,sha256=6H4MB6Q68d5xx2k9SNb2DtHDnLc9e4tiDiENLJihx00,805
13
+ boto3-stubs/docs/collection.pyi,sha256=5EDcfJ-WfaGC9mgwWnbq62bO0EFOSOplcrZ8esC9ngk,1021
14
14
  boto3-stubs/docs/docstring.pyi,sha256=B4SvarMezHVbItbOMYAWRhQf0SYwSgGZn8PD9ncWZ0w,583
15
- boto3-stubs/docs/method.pyi,sha256=ah9NITaOpT6_YVqWk6NrA-yRLDeOwbvXsGJiTjGE820,600
16
- boto3-stubs/docs/resource.pyi,sha256=oMtwG67C8adnP8R3v4fJ1gaoxvq6zif_yFIryfAc6vw,369
17
- boto3-stubs/docs/service.pyi,sha256=0tqWb6Lbn29GXUesvXWllEQvP5VyAjPRWGwbjkmCyW0,447
18
- boto3-stubs/docs/subresource.pyi,sha256=1L3iAJI-Rdfb_4sauh55VuUYxSIdqb4T7m7OwcRyVrQ,354
19
- boto3-stubs/docs/utils.pyi,sha256=-TPT9ceptcx5Fx7PHeBt6u1jV-PuAudb5VYCtqf7SYg,934
20
- boto3-stubs/docs/waiter.pyi,sha256=0JCr_T6Im6CKEDGW3VcEFL705BdkdSdRuYuhc2Rp4zM,717
15
+ boto3-stubs/docs/method.pyi,sha256=oYhYhMgEzeQNIU6gQDItJzSCEGRW60t7Ywm_SRgNoYc,716
16
+ boto3-stubs/docs/resource.pyi,sha256=dN9tzbGOLRjUE7uPiC4o-BEDyDMkyHgE0wYpeJHP6gA,473
17
+ boto3-stubs/docs/service.pyi,sha256=OaXSSMfmfxMnh7ws8mKLdlt91JXMRQxU4Fj7RgRBwx4,569
18
+ boto3-stubs/docs/subresource.pyi,sha256=1Iia63jqtZwlbiVRwtoxU1e6yvfVHElPEhoM6eebc-k,514
19
+ boto3-stubs/docs/utils.pyi,sha256=bD81ElRcEIreIuIXIzwcCGJWv7BwuubsS1Ha_IwPtNo,1034
20
+ boto3-stubs/docs/waiter.pyi,sha256=3qh3S0BGU-papbnpSdOamr8RDLBxGrytY0OOxRRzrP0,794
21
21
  boto3-stubs/dynamodb/__init__.pyi,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
22
22
  boto3-stubs/dynamodb/conditions.pyi,sha256=J5gkps9ttGUMc8jqBJR2hdDBtWhfjtHqn_JtGMkZDpA,5463
23
23
  boto3-stubs/dynamodb/table.pyi,sha256=V234sOSuGjpO56ry3-AVRM1ivhs4CDfTB4ebxVgL0AI,995
@@ -28,18 +28,18 @@ boto3-stubs/ec2/createtags.pyi,sha256=CcbwkLP_0j8wPMfNft72-_Sqd1-0SXjbvfkACxtpS3
28
28
  boto3-stubs/ec2/deletetags.pyi,sha256=1jRFLP0hH_JMRW7wKf1YyH2yGS3MhclEZ999Fy5qJzs,204
29
29
  boto3-stubs/resources/__init__.pyi,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
30
30
  boto3-stubs/resources/action.pyi,sha256=Y3gDvwA1gj7MoejxnRrQYXy5znLHRIwWRym-3XPvK5o,1546
31
- boto3-stubs/resources/base.pyi,sha256=myG7NBmm5Y5azjTUdpwziSozw79e0Ai-lyv8IoyI2Qg,1115
31
+ boto3-stubs/resources/base.pyi,sha256=SdN-6pD5THG6jrEwMyRkAynFOzJt9u3ydTOQfNsqpa8,1101
32
32
  boto3-stubs/resources/collection.pyi,sha256=MurweTycZ2fdOO7PSgRalyKb_zz-GgKi3D2A0-rc_To,1922
33
33
  boto3-stubs/resources/factory.pyi,sha256=9A0RHo8kRPE8xuzDCSHkxJCAsKk_oHmDiXwVj-i9_fk,496
34
- boto3-stubs/resources/model.pyi,sha256=zopYjuENDzeUDsisNBrZlc2zc8_EIhVJmuL7FSd9wqk,3703
34
+ boto3-stubs/resources/model.pyi,sha256=QAZczHtWlTvfW08NCQDUi88ipInPNRK38SHpDMICxOM,3705
35
35
  boto3-stubs/resources/params.pyi,sha256=v7-qSPWhisLYXC3xdB1JKAkOgKBBEbvPiZqFglzaSY4,565
36
36
  boto3-stubs/resources/response.pyi,sha256=fYbfRbFvoWRXejmVi9iL8kWoagj336M_cFfWwSzhNs4,1607
37
37
  boto3-stubs/s3/__init__.pyi,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
38
38
  boto3-stubs/s3/constants.pyi,sha256=9MYiVx6cRf9tcrxvpy0Ubi4HGyrmUj19WQA54lmfoR8,75
39
39
  boto3-stubs/s3/inject.pyi,sha256=UxVi6tYfEYdvc8cKldt9StTEGFHWTdd-867frSfxF9w,4577
40
40
  boto3-stubs/s3/transfer.pyi,sha256=zQ7pQpsCWWo9cdYrOoiuKyiLz_t1sG0_OOznd5DETTo,2508
41
- boto3_stubs-1.35.13.dist-info/LICENSE,sha256=eQDadZQZ3vRCiNF510ZT4yJV2zgo4000AOBoDRZyvKg,1070
42
- boto3_stubs-1.35.13.dist-info/METADATA,sha256=wGutZl3UL7df8r8lkhHbps9xcQSEUjRgKEAmRpuG2Hw,141135
43
- boto3_stubs-1.35.13.dist-info/WHEEL,sha256=cVxcB9AmuTcXqmwrtPhNK88dr7IR_b6qagTj0UvIEbY,91
44
- boto3_stubs-1.35.13.dist-info/top_level.txt,sha256=uB_lQ39lkJ_VYZ_88DxH_zFptJtIwQ_SzeMpW8tRmT4,12
45
- boto3_stubs-1.35.13.dist-info/RECORD,,
41
+ boto3_stubs-1.35.13.post1.dist-info/LICENSE,sha256=eQDadZQZ3vRCiNF510ZT4yJV2zgo4000AOBoDRZyvKg,1070
42
+ boto3_stubs-1.35.13.post1.dist-info/METADATA,sha256=zWElttpgTNigTNE-GNS3n6mfKaFnAg7_PuhGfEugk60,141331
43
+ boto3_stubs-1.35.13.post1.dist-info/WHEEL,sha256=cVxcB9AmuTcXqmwrtPhNK88dr7IR_b6qagTj0UvIEbY,91
44
+ boto3_stubs-1.35.13.post1.dist-info/top_level.txt,sha256=uB_lQ39lkJ_VYZ_88DxH_zFptJtIwQ_SzeMpW8tRmT4,12
45
+ boto3_stubs-1.35.13.post1.dist-info/RECORD,,