mypy-boto3-organizations 1.35.72__tar.gz → 1.35.93__tar.gz

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 (25) hide show
  1. {mypy_boto3_organizations-1.35.72 → mypy_boto3_organizations-1.35.93}/LICENSE +1 -1
  2. {mypy_boto3_organizations-1.35.72 → mypy_boto3_organizations-1.35.93}/PKG-INFO +22 -8
  3. {mypy_boto3_organizations-1.35.72 → mypy_boto3_organizations-1.35.93}/README.md +19 -5
  4. {mypy_boto3_organizations-1.35.72 → mypy_boto3_organizations-1.35.93}/mypy_boto3_organizations/__init__.py +1 -1
  5. {mypy_boto3_organizations-1.35.72 → mypy_boto3_organizations-1.35.93}/mypy_boto3_organizations/__init__.pyi +1 -1
  6. {mypy_boto3_organizations-1.35.72 → mypy_boto3_organizations-1.35.93}/mypy_boto3_organizations/__main__.py +9 -8
  7. {mypy_boto3_organizations-1.35.72 → mypy_boto3_organizations-1.35.93}/mypy_boto3_organizations/client.py +56 -51
  8. {mypy_boto3_organizations-1.35.72 → mypy_boto3_organizations-1.35.93}/mypy_boto3_organizations/client.pyi +56 -50
  9. {mypy_boto3_organizations-1.35.72 → mypy_boto3_organizations-1.35.93}/mypy_boto3_organizations/literals.py +7 -2
  10. {mypy_boto3_organizations-1.35.72 → mypy_boto3_organizations-1.35.93}/mypy_boto3_organizations/literals.pyi +7 -2
  11. mypy_boto3_organizations-1.35.72/mypy_boto3_organizations/paginator.pyi → mypy_boto3_organizations-1.35.93/mypy_boto3_organizations/paginator.py +226 -105
  12. mypy_boto3_organizations-1.35.72/mypy_boto3_organizations/paginator.py → mypy_boto3_organizations-1.35.93/mypy_boto3_organizations/paginator.pyi +163 -126
  13. {mypy_boto3_organizations-1.35.72 → mypy_boto3_organizations-1.35.93}/mypy_boto3_organizations/type_defs.py +43 -41
  14. {mypy_boto3_organizations-1.35.72 → mypy_boto3_organizations-1.35.93}/mypy_boto3_organizations/type_defs.pyi +43 -41
  15. mypy_boto3_organizations-1.35.93/mypy_boto3_organizations/version.py +7 -0
  16. {mypy_boto3_organizations-1.35.72 → mypy_boto3_organizations-1.35.93}/mypy_boto3_organizations.egg-info/PKG-INFO +22 -8
  17. {mypy_boto3_organizations-1.35.72 → mypy_boto3_organizations-1.35.93}/mypy_boto3_organizations.egg-info/requires.txt +1 -1
  18. {mypy_boto3_organizations-1.35.72 → mypy_boto3_organizations-1.35.93}/setup.py +4 -6
  19. mypy_boto3_organizations-1.35.72/mypy_boto3_organizations/version.py +0 -7
  20. {mypy_boto3_organizations-1.35.72 → mypy_boto3_organizations-1.35.93}/mypy_boto3_organizations/py.typed +0 -0
  21. {mypy_boto3_organizations-1.35.72 → mypy_boto3_organizations-1.35.93}/mypy_boto3_organizations.egg-info/SOURCES.txt +0 -0
  22. {mypy_boto3_organizations-1.35.72 → mypy_boto3_organizations-1.35.93}/mypy_boto3_organizations.egg-info/dependency_links.txt +0 -0
  23. {mypy_boto3_organizations-1.35.72 → mypy_boto3_organizations-1.35.93}/mypy_boto3_organizations.egg-info/not-zip-safe +0 -0
  24. {mypy_boto3_organizations-1.35.72 → mypy_boto3_organizations-1.35.93}/mypy_boto3_organizations.egg-info/top_level.txt +0 -0
  25. {mypy_boto3_organizations-1.35.72 → mypy_boto3_organizations-1.35.93}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  MIT License
2
2
 
3
- Copyright (c) 2024 Vlad Emelianov
3
+ Copyright (c) 2025 Vlad Emelianov
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
@@ -1,7 +1,7 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: mypy-boto3-organizations
3
- Version: 1.35.72
4
- Summary: Type annotations for boto3 Organizations 1.35.72 service generated with mypy-boto3-builder 8.5.0
3
+ Version: 1.35.93
4
+ Summary: Type annotations for boto3 Organizations 1.35.93 service generated with mypy-boto3-builder 8.8.0
5
5
  Home-page: https://github.com/youtype/mypy_boto3_builder
6
6
  Author: Vlad Emelianov
7
7
  Author-email: vlad.emelianov.nz@gmail.com
@@ -30,7 +30,7 @@ Classifier: Typing :: Stubs Only
30
30
  Requires-Python: >=3.8
31
31
  Description-Content-Type: text/markdown
32
32
  License-File: LICENSE
33
- Requires-Dist: typing-extensions>=4.1.0; python_version < "3.12"
33
+ Requires-Dist: typing-extensions; python_version < "3.12"
34
34
 
35
35
  <a id="mypy-boto3-organizations"></a>
36
36
 
@@ -44,7 +44,7 @@ Requires-Dist: typing-extensions>=4.1.0; python_version < "3.12"
44
44
  ![boto3.typed](https://github.com/youtype/mypy_boto3_builder/raw/main/logo.png)
45
45
 
46
46
  Type annotations for
47
- [boto3 Organizations 1.35.72](https://pypi.org/project/boto3/) compatible with
47
+ [boto3 Organizations 1.35.93](https://pypi.org/project/boto3/) compatible with
48
48
  [VSCode](https://code.visualstudio.com/),
49
49
  [PyCharm](https://www.jetbrains.com/pycharm/),
50
50
  [Emacs](https://www.gnu.org/software/emacs/),
@@ -52,8 +52,8 @@ Type annotations for
52
52
  [mypy](https://github.com/python/mypy),
53
53
  [pyright](https://github.com/microsoft/pyright) and other tools.
54
54
 
55
- Generated by
56
- [mypy-boto3-builder 8.5.0](https://github.com/youtype/mypy_boto3_builder).
55
+ Generated with
56
+ [mypy-boto3-builder 8.8.0](https://github.com/youtype/mypy_boto3_builder).
57
57
 
58
58
  More information can be found on
59
59
  [boto3-stubs](https://pypi.org/project/boto3-stubs/) page and in
@@ -65,6 +65,7 @@ See how it helps you find and fix potential bugs:
65
65
 
66
66
  - [mypy-boto3-organizations](#mypy-boto3-organizations)
67
67
  - [How to install](#how-to-install)
68
+ - [Generate locally (recommended)](<#generate-locally-(recommended)>)
68
69
  - [VSCode extension](#vscode-extension)
69
70
  - [From PyPI with pip](#from-pypi-with-pip)
70
71
  - [How to uninstall](#how-to-uninstall)
@@ -95,6 +96,21 @@ See how it helps you find and fix potential bugs:
95
96
 
96
97
  ## How to install
97
98
 
99
+ <a id="generate-locally-(recommended)"></a>
100
+
101
+ ### Generate locally (recommended)
102
+
103
+ You can generate type annotations for `boto3` package locally with
104
+ `mypy_boto3_builder`. Use
105
+ [uv](https://docs.astral.sh/uv/getting-started/installation/) for build
106
+ isolation.
107
+
108
+ 1. Run mypy-boto3-builder in your package root directory:
109
+ `uvx --with 'boto3==1.35.93' mypy_boto3_builder`
110
+ 2. Select `boto3-stubs` AWS SDK.
111
+ 3. Add `Organizations` service.
112
+ 4. Use provided commands to install generated packages.
113
+
98
114
  <a id="vscode-extension"></a>
99
115
 
100
116
  ### VSCode extension
@@ -115,12 +131,10 @@ Install `boto3-stubs` for `Organizations` service.
115
131
  # install with boto3 type annotations
116
132
  python -m pip install 'boto3-stubs[organizations]'
117
133
 
118
-
119
134
  # Lite version does not provide session.client/resource overloads
120
135
  # it is more RAM-friendly, but requires explicit type annotations
121
136
  python -m pip install 'boto3-stubs-lite[organizations]'
122
137
 
123
-
124
138
  # standalone installation
125
139
  python -m pip install mypy-boto3-organizations
126
140
  ```
@@ -10,7 +10,7 @@
10
10
  ![boto3.typed](https://github.com/youtype/mypy_boto3_builder/raw/main/logo.png)
11
11
 
12
12
  Type annotations for
13
- [boto3 Organizations 1.35.72](https://pypi.org/project/boto3/) compatible with
13
+ [boto3 Organizations 1.35.93](https://pypi.org/project/boto3/) compatible with
14
14
  [VSCode](https://code.visualstudio.com/),
15
15
  [PyCharm](https://www.jetbrains.com/pycharm/),
16
16
  [Emacs](https://www.gnu.org/software/emacs/),
@@ -18,8 +18,8 @@ Type annotations for
18
18
  [mypy](https://github.com/python/mypy),
19
19
  [pyright](https://github.com/microsoft/pyright) and other tools.
20
20
 
21
- Generated by
22
- [mypy-boto3-builder 8.5.0](https://github.com/youtype/mypy_boto3_builder).
21
+ Generated with
22
+ [mypy-boto3-builder 8.8.0](https://github.com/youtype/mypy_boto3_builder).
23
23
 
24
24
  More information can be found on
25
25
  [boto3-stubs](https://pypi.org/project/boto3-stubs/) page and in
@@ -31,6 +31,7 @@ See how it helps you find and fix potential bugs:
31
31
 
32
32
  - [mypy-boto3-organizations](#mypy-boto3-organizations)
33
33
  - [How to install](#how-to-install)
34
+ - [Generate locally (recommended)](<#generate-locally-(recommended)>)
34
35
  - [VSCode extension](#vscode-extension)
35
36
  - [From PyPI with pip](#from-pypi-with-pip)
36
37
  - [How to uninstall](#how-to-uninstall)
@@ -61,6 +62,21 @@ See how it helps you find and fix potential bugs:
61
62
 
62
63
  ## How to install
63
64
 
65
+ <a id="generate-locally-(recommended)"></a>
66
+
67
+ ### Generate locally (recommended)
68
+
69
+ You can generate type annotations for `boto3` package locally with
70
+ `mypy_boto3_builder`. Use
71
+ [uv](https://docs.astral.sh/uv/getting-started/installation/) for build
72
+ isolation.
73
+
74
+ 1. Run mypy-boto3-builder in your package root directory:
75
+ `uvx --with 'boto3==1.35.93' mypy_boto3_builder`
76
+ 2. Select `boto3-stubs` AWS SDK.
77
+ 3. Add `Organizations` service.
78
+ 4. Use provided commands to install generated packages.
79
+
64
80
  <a id="vscode-extension"></a>
65
81
 
66
82
  ### VSCode extension
@@ -81,12 +97,10 @@ Install `boto3-stubs` for `Organizations` service.
81
97
  # install with boto3 type annotations
82
98
  python -m pip install 'boto3-stubs[organizations]'
83
99
 
84
-
85
100
  # Lite version does not provide session.client/resource overloads
86
101
  # it is more RAM-friendly, but requires explicit type annotations
87
102
  python -m pip install 'boto3-stubs-lite[organizations]'
88
103
 
89
-
90
104
  # standalone installation
91
105
  python -m pip install mypy-boto3-organizations
92
106
  ```
@@ -47,7 +47,7 @@ Usage::
47
47
  list_targets_for_policy_paginator: ListTargetsForPolicyPaginator = client.get_paginator("list_targets_for_policy")
48
48
  ```
49
49
 
50
- Copyright 2024 Vlad Emelianov
50
+ Copyright 2025 Vlad Emelianov
51
51
  """
52
52
 
53
53
  from .client import OrganizationsClient
@@ -47,7 +47,7 @@ Usage::
47
47
  list_targets_for_policy_paginator: ListTargetsForPolicyPaginator = client.get_paginator("list_targets_for_policy")
48
48
  ```
49
49
 
50
- Copyright 2024 Vlad Emelianov
50
+ Copyright 2025 Vlad Emelianov
51
51
  """
52
52
 
53
53
  from .client import OrganizationsClient
@@ -1,7 +1,7 @@
1
1
  """
2
2
  Main CLI entrypoint.
3
3
 
4
- Copyright 2024 Vlad Emelianov
4
+ Copyright 2025 Vlad Emelianov
5
5
  """
6
6
 
7
7
  import sys
@@ -11,14 +11,14 @@ def print_info() -> None:
11
11
  """
12
12
  Print package info to stdout.
13
13
  """
14
- print(
15
- "Type annotations for boto3 Organizations 1.35.72\n"
16
- "Version: 1.35.72\n"
17
- "Builder version: 8.5.0\n"
14
+ sys.stdout.write(
15
+ "Type annotations for boto3 Organizations 1.35.93\n"
16
+ "Version: 1.35.93\n"
17
+ "Builder version: 8.8.0\n"
18
18
  "Docs: https://youtype.github.io/boto3_stubs_docs/mypy_boto3_organizations//\n"
19
19
  "Boto3 docs: https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/organizations.html#organizations\n"
20
20
  "Other services: https://pypi.org/project/boto3-stubs/\n"
21
- "Changelog: https://github.com/youtype/mypy_boto3_builder/releases"
21
+ "Changelog: https://github.com/youtype/mypy_boto3_builder/releases\n"
22
22
  )
23
23
 
24
24
 
@@ -26,7 +26,7 @@ def print_version() -> None:
26
26
  """
27
27
  Print package version to stdout.
28
28
  """
29
- print("1.35.72")
29
+ sys.stdout.write("1.35.93\n")
30
30
 
31
31
 
32
32
  def main() -> None:
@@ -34,7 +34,8 @@ def main() -> None:
34
34
  Main CLI entrypoint.
35
35
  """
36
36
  if "--version" in sys.argv:
37
- return print_version()
37
+ print_version()
38
+ return
38
39
  print_info()
39
40
 
40
41
 
@@ -1,7 +1,7 @@
1
1
  """
2
- Type annotations for organizations service client.
2
+ Type annotations for organizations service Client.
3
3
 
4
- [Open documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_organizations/client/)
4
+ [Documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_organizations/client/)
5
5
 
6
6
  Usage::
7
7
 
@@ -13,13 +13,17 @@ Usage::
13
13
  client: OrganizationsClient = session.client("organizations")
14
14
  ```
15
15
 
16
- Copyright 2024 Vlad Emelianov
16
+ Copyright 2025 Vlad Emelianov
17
17
  """
18
18
 
19
+ from __future__ import annotations
20
+
19
21
  import sys
20
- from typing import Any, Dict, Mapping, Type, overload
22
+ from typing import Any, overload
21
23
 
22
24
  from botocore.client import BaseClient, ClientMeta
25
+ from botocore.errorfactory import BaseClientExceptions
26
+ from botocore.exceptions import ClientError as BotocoreClientError
23
27
 
24
28
  from .paginator import (
25
29
  ListAccountsForParentPaginator,
@@ -131,6 +135,11 @@ from .type_defs import (
131
135
  UpdatePolicyResponseTypeDef,
132
136
  )
133
137
 
138
+ if sys.version_info >= (3, 9):
139
+ from builtins import type as Type
140
+ from collections.abc import Mapping
141
+ else:
142
+ from typing import Mapping, Type
134
143
  if sys.version_info >= (3, 12):
135
144
  from typing import Literal, Unpack
136
145
  else:
@@ -140,15 +149,7 @@ else:
140
149
  __all__ = ("OrganizationsClient",)
141
150
 
142
151
 
143
- class BotocoreClientError(Exception):
144
- MSG_TEMPLATE: str
145
-
146
- def __init__(self, error_response: Mapping[str, Any], operation_name: str) -> None:
147
- self.response: Dict[str, Any]
148
- self.operation_name: str
149
-
150
-
151
- class Exceptions:
152
+ class Exceptions(BaseClientExceptions):
152
153
  AWSOrganizationsNotInUseException: Type[BotocoreClientError]
153
154
  AccessDeniedException: Type[BotocoreClientError]
154
155
  AccessDeniedForDependencyException: Type[BotocoreClientError]
@@ -234,12 +235,6 @@ class OrganizationsClient(BaseClient):
234
235
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_organizations/client/#generate_presigned_url)
235
236
  """
236
237
 
237
- def close(self) -> None:
238
- """
239
- [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/organizations/client/close.html)
240
- [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_organizations/client/#close)
241
- """
242
-
243
238
  def accept_handshake(
244
239
  self, **kwargs: Unpack[AcceptHandshakeRequestRequestTypeDef]
245
240
  ) -> AcceptHandshakeResponseTypeDef:
@@ -803,8 +798,8 @@ class OrganizationsClient(BaseClient):
803
798
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_organizations/client/#update_policy)
804
799
  """
805
800
 
806
- @overload
807
- def get_paginator(
801
+ @overload # type: ignore[override]
802
+ def get_paginator( # type: ignore[override]
808
803
  self, operation_name: Literal["list_aws_service_access_for_organization"]
809
804
  ) -> ListAWSServiceAccessForOrganizationPaginator:
810
805
  """
@@ -814,8 +809,8 @@ class OrganizationsClient(BaseClient):
814
809
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_organizations/client/#get_paginator)
815
810
  """
816
811
 
817
- @overload
818
- def get_paginator(
812
+ @overload # type: ignore[override]
813
+ def get_paginator( # type: ignore[override]
819
814
  self, operation_name: Literal["list_accounts_for_parent"]
820
815
  ) -> ListAccountsForParentPaginator:
821
816
  """
@@ -825,8 +820,10 @@ class OrganizationsClient(BaseClient):
825
820
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_organizations/client/#get_paginator)
826
821
  """
827
822
 
828
- @overload
829
- def get_paginator(self, operation_name: Literal["list_accounts"]) -> ListAccountsPaginator:
823
+ @overload # type: ignore[override]
824
+ def get_paginator( # type: ignore[override]
825
+ self, operation_name: Literal["list_accounts"]
826
+ ) -> ListAccountsPaginator:
830
827
  """
831
828
  Create a paginator for an operation.
832
829
 
@@ -834,8 +831,10 @@ class OrganizationsClient(BaseClient):
834
831
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_organizations/client/#get_paginator)
835
832
  """
836
833
 
837
- @overload
838
- def get_paginator(self, operation_name: Literal["list_children"]) -> ListChildrenPaginator:
834
+ @overload # type: ignore[override]
835
+ def get_paginator( # type: ignore[override]
836
+ self, operation_name: Literal["list_children"]
837
+ ) -> ListChildrenPaginator:
839
838
  """
840
839
  Create a paginator for an operation.
841
840
 
@@ -843,8 +842,8 @@ class OrganizationsClient(BaseClient):
843
842
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_organizations/client/#get_paginator)
844
843
  """
845
844
 
846
- @overload
847
- def get_paginator(
845
+ @overload # type: ignore[override]
846
+ def get_paginator( # type: ignore[override]
848
847
  self, operation_name: Literal["list_create_account_status"]
849
848
  ) -> ListCreateAccountStatusPaginator:
850
849
  """
@@ -854,8 +853,8 @@ class OrganizationsClient(BaseClient):
854
853
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_organizations/client/#get_paginator)
855
854
  """
856
855
 
857
- @overload
858
- def get_paginator(
856
+ @overload # type: ignore[override]
857
+ def get_paginator( # type: ignore[override]
859
858
  self, operation_name: Literal["list_delegated_administrators"]
860
859
  ) -> ListDelegatedAdministratorsPaginator:
861
860
  """
@@ -865,8 +864,8 @@ class OrganizationsClient(BaseClient):
865
864
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_organizations/client/#get_paginator)
866
865
  """
867
866
 
868
- @overload
869
- def get_paginator(
867
+ @overload # type: ignore[override]
868
+ def get_paginator( # type: ignore[override]
870
869
  self, operation_name: Literal["list_delegated_services_for_account"]
871
870
  ) -> ListDelegatedServicesForAccountPaginator:
872
871
  """
@@ -876,8 +875,8 @@ class OrganizationsClient(BaseClient):
876
875
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_organizations/client/#get_paginator)
877
876
  """
878
877
 
879
- @overload
880
- def get_paginator(
878
+ @overload # type: ignore[override]
879
+ def get_paginator( # type: ignore[override]
881
880
  self, operation_name: Literal["list_handshakes_for_account"]
882
881
  ) -> ListHandshakesForAccountPaginator:
883
882
  """
@@ -887,8 +886,8 @@ class OrganizationsClient(BaseClient):
887
886
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_organizations/client/#get_paginator)
888
887
  """
889
888
 
890
- @overload
891
- def get_paginator(
889
+ @overload # type: ignore[override]
890
+ def get_paginator( # type: ignore[override]
892
891
  self, operation_name: Literal["list_handshakes_for_organization"]
893
892
  ) -> ListHandshakesForOrganizationPaginator:
894
893
  """
@@ -898,8 +897,8 @@ class OrganizationsClient(BaseClient):
898
897
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_organizations/client/#get_paginator)
899
898
  """
900
899
 
901
- @overload
902
- def get_paginator(
900
+ @overload # type: ignore[override]
901
+ def get_paginator( # type: ignore[override]
903
902
  self, operation_name: Literal["list_organizational_units_for_parent"]
904
903
  ) -> ListOrganizationalUnitsForParentPaginator:
905
904
  """
@@ -909,8 +908,10 @@ class OrganizationsClient(BaseClient):
909
908
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_organizations/client/#get_paginator)
910
909
  """
911
910
 
912
- @overload
913
- def get_paginator(self, operation_name: Literal["list_parents"]) -> ListParentsPaginator:
911
+ @overload # type: ignore[override]
912
+ def get_paginator( # type: ignore[override]
913
+ self, operation_name: Literal["list_parents"]
914
+ ) -> ListParentsPaginator:
914
915
  """
915
916
  Create a paginator for an operation.
916
917
 
@@ -918,8 +919,8 @@ class OrganizationsClient(BaseClient):
918
919
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_organizations/client/#get_paginator)
919
920
  """
920
921
 
921
- @overload
922
- def get_paginator(
922
+ @overload # type: ignore[override]
923
+ def get_paginator( # type: ignore[override]
923
924
  self, operation_name: Literal["list_policies_for_target"]
924
925
  ) -> ListPoliciesForTargetPaginator:
925
926
  """
@@ -929,8 +930,10 @@ class OrganizationsClient(BaseClient):
929
930
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_organizations/client/#get_paginator)
930
931
  """
931
932
 
932
- @overload
933
- def get_paginator(self, operation_name: Literal["list_policies"]) -> ListPoliciesPaginator:
933
+ @overload # type: ignore[override]
934
+ def get_paginator( # type: ignore[override]
935
+ self, operation_name: Literal["list_policies"]
936
+ ) -> ListPoliciesPaginator:
934
937
  """
935
938
  Create a paginator for an operation.
936
939
 
@@ -938,8 +941,10 @@ class OrganizationsClient(BaseClient):
938
941
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_organizations/client/#get_paginator)
939
942
  """
940
943
 
941
- @overload
942
- def get_paginator(self, operation_name: Literal["list_roots"]) -> ListRootsPaginator:
944
+ @overload # type: ignore[override]
945
+ def get_paginator( # type: ignore[override]
946
+ self, operation_name: Literal["list_roots"]
947
+ ) -> ListRootsPaginator:
943
948
  """
944
949
  Create a paginator for an operation.
945
950
 
@@ -947,8 +952,8 @@ class OrganizationsClient(BaseClient):
947
952
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_organizations/client/#get_paginator)
948
953
  """
949
954
 
950
- @overload
951
- def get_paginator(
955
+ @overload # type: ignore[override]
956
+ def get_paginator( # type: ignore[override]
952
957
  self, operation_name: Literal["list_tags_for_resource"]
953
958
  ) -> ListTagsForResourcePaginator:
954
959
  """
@@ -958,8 +963,8 @@ class OrganizationsClient(BaseClient):
958
963
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_organizations/client/#get_paginator)
959
964
  """
960
965
 
961
- @overload
962
- def get_paginator(
966
+ @overload # type: ignore[override]
967
+ def get_paginator( # type: ignore[override]
963
968
  self, operation_name: Literal["list_targets_for_policy"]
964
969
  ) -> ListTargetsForPolicyPaginator:
965
970
  """