mypy-boto3-organizations 1.35.91__tar.gz → 1.36.0__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.
- {mypy_boto3_organizations-1.35.91 → mypy_boto3_organizations-1.36.0}/PKG-INFO +18 -6
- {mypy_boto3_organizations-1.35.91 → mypy_boto3_organizations-1.36.0}/README.md +3 -3
- {mypy_boto3_organizations-1.35.91 → mypy_boto3_organizations-1.36.0}/mypy_boto3_organizations/__main__.py +4 -4
- {mypy_boto3_organizations-1.35.91 → mypy_boto3_organizations-1.36.0}/mypy_boto3_organizations/client.py +54 -49
- {mypy_boto3_organizations-1.35.91 → mypy_boto3_organizations-1.36.0}/mypy_boto3_organizations/client.pyi +54 -49
- {mypy_boto3_organizations-1.35.91 → mypy_boto3_organizations-1.36.0}/mypy_boto3_organizations/literals.py +0 -2
- {mypy_boto3_organizations-1.35.91 → mypy_boto3_organizations-1.36.0}/mypy_boto3_organizations/literals.pyi +0 -2
- {mypy_boto3_organizations-1.35.91 → mypy_boto3_organizations-1.36.0}/mypy_boto3_organizations/type_defs.py +34 -28
- {mypy_boto3_organizations-1.35.91 → mypy_boto3_organizations-1.36.0}/mypy_boto3_organizations/type_defs.pyi +34 -28
- {mypy_boto3_organizations-1.35.91 → mypy_boto3_organizations-1.36.0}/mypy_boto3_organizations/version.py +1 -1
- {mypy_boto3_organizations-1.35.91 → mypy_boto3_organizations-1.36.0}/mypy_boto3_organizations.egg-info/PKG-INFO +18 -6
- {mypy_boto3_organizations-1.35.91 → mypy_boto3_organizations-1.36.0}/setup.py +2 -2
- {mypy_boto3_organizations-1.35.91 → mypy_boto3_organizations-1.36.0}/LICENSE +0 -0
- {mypy_boto3_organizations-1.35.91 → mypy_boto3_organizations-1.36.0}/mypy_boto3_organizations/__init__.py +0 -0
- {mypy_boto3_organizations-1.35.91 → mypy_boto3_organizations-1.36.0}/mypy_boto3_organizations/__init__.pyi +0 -0
- {mypy_boto3_organizations-1.35.91 → mypy_boto3_organizations-1.36.0}/mypy_boto3_organizations/paginator.py +0 -0
- {mypy_boto3_organizations-1.35.91 → mypy_boto3_organizations-1.36.0}/mypy_boto3_organizations/paginator.pyi +0 -0
- {mypy_boto3_organizations-1.35.91 → mypy_boto3_organizations-1.36.0}/mypy_boto3_organizations/py.typed +0 -0
- {mypy_boto3_organizations-1.35.91 → mypy_boto3_organizations-1.36.0}/mypy_boto3_organizations.egg-info/SOURCES.txt +0 -0
- {mypy_boto3_organizations-1.35.91 → mypy_boto3_organizations-1.36.0}/mypy_boto3_organizations.egg-info/dependency_links.txt +0 -0
- {mypy_boto3_organizations-1.35.91 → mypy_boto3_organizations-1.36.0}/mypy_boto3_organizations.egg-info/not-zip-safe +0 -0
- {mypy_boto3_organizations-1.35.91 → mypy_boto3_organizations-1.36.0}/mypy_boto3_organizations.egg-info/requires.txt +0 -0
- {mypy_boto3_organizations-1.35.91 → mypy_boto3_organizations-1.36.0}/mypy_boto3_organizations.egg-info/top_level.txt +0 -0
- {mypy_boto3_organizations-1.35.91 → mypy_boto3_organizations-1.36.0}/setup.cfg +0 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
1
|
+
Metadata-Version: 2.2
|
|
2
2
|
Name: mypy-boto3-organizations
|
|
3
|
-
Version: 1.
|
|
4
|
-
Summary: Type annotations for boto3 Organizations 1.
|
|
3
|
+
Version: 1.36.0
|
|
4
|
+
Summary: Type annotations for boto3 Organizations 1.36.0 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
|
|
@@ -31,6 +31,18 @@ Requires-Python: >=3.8
|
|
|
31
31
|
Description-Content-Type: text/markdown
|
|
32
32
|
License-File: LICENSE
|
|
33
33
|
Requires-Dist: typing-extensions; python_version < "3.12"
|
|
34
|
+
Dynamic: author
|
|
35
|
+
Dynamic: author-email
|
|
36
|
+
Dynamic: classifier
|
|
37
|
+
Dynamic: description
|
|
38
|
+
Dynamic: description-content-type
|
|
39
|
+
Dynamic: home-page
|
|
40
|
+
Dynamic: keywords
|
|
41
|
+
Dynamic: license
|
|
42
|
+
Dynamic: project-url
|
|
43
|
+
Dynamic: requires-dist
|
|
44
|
+
Dynamic: requires-python
|
|
45
|
+
Dynamic: summary
|
|
34
46
|
|
|
35
47
|
<a id="mypy-boto3-organizations"></a>
|
|
36
48
|
|
|
@@ -44,7 +56,7 @@ Requires-Dist: typing-extensions; python_version < "3.12"
|
|
|
44
56
|

|
|
45
57
|
|
|
46
58
|
Type annotations for
|
|
47
|
-
[boto3 Organizations 1.
|
|
59
|
+
[boto3 Organizations 1.36.0](https://pypi.org/project/boto3/) compatible with
|
|
48
60
|
[VSCode](https://code.visualstudio.com/),
|
|
49
61
|
[PyCharm](https://www.jetbrains.com/pycharm/),
|
|
50
62
|
[Emacs](https://www.gnu.org/software/emacs/),
|
|
@@ -53,7 +65,7 @@ Type annotations for
|
|
|
53
65
|
[pyright](https://github.com/microsoft/pyright) and other tools.
|
|
54
66
|
|
|
55
67
|
Generated with
|
|
56
|
-
[mypy-boto3-builder 8.
|
|
68
|
+
[mypy-boto3-builder 8.8.0](https://github.com/youtype/mypy_boto3_builder).
|
|
57
69
|
|
|
58
70
|
More information can be found on
|
|
59
71
|
[boto3-stubs](https://pypi.org/project/boto3-stubs/) page and in
|
|
@@ -106,7 +118,7 @@ You can generate type annotations for `boto3` package locally with
|
|
|
106
118
|
isolation.
|
|
107
119
|
|
|
108
120
|
1. Run mypy-boto3-builder in your package root directory:
|
|
109
|
-
`uvx --with 'boto3==1.
|
|
121
|
+
`uvx --with 'boto3==1.36.0' mypy_boto3_builder`
|
|
110
122
|
2. Select `boto3-stubs` AWS SDK.
|
|
111
123
|
3. Add `Organizations` service.
|
|
112
124
|
4. Use provided commands to install generated packages.
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|

|
|
11
11
|
|
|
12
12
|
Type annotations for
|
|
13
|
-
[boto3 Organizations 1.
|
|
13
|
+
[boto3 Organizations 1.36.0](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/),
|
|
@@ -19,7 +19,7 @@ Type annotations for
|
|
|
19
19
|
[pyright](https://github.com/microsoft/pyright) and other tools.
|
|
20
20
|
|
|
21
21
|
Generated with
|
|
22
|
-
[mypy-boto3-builder 8.
|
|
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
|
|
@@ -72,7 +72,7 @@ You can generate type annotations for `boto3` package locally with
|
|
|
72
72
|
isolation.
|
|
73
73
|
|
|
74
74
|
1. Run mypy-boto3-builder in your package root directory:
|
|
75
|
-
`uvx --with 'boto3==1.
|
|
75
|
+
`uvx --with 'boto3==1.36.0' mypy_boto3_builder`
|
|
76
76
|
2. Select `boto3-stubs` AWS SDK.
|
|
77
77
|
3. Add `Organizations` service.
|
|
78
78
|
4. Use provided commands to install generated packages.
|
|
@@ -12,9 +12,9 @@ def print_info() -> None:
|
|
|
12
12
|
Print package info to stdout.
|
|
13
13
|
"""
|
|
14
14
|
sys.stdout.write(
|
|
15
|
-
"Type annotations for boto3 Organizations 1.
|
|
16
|
-
"Version: 1.
|
|
17
|
-
"Builder version: 8.
|
|
15
|
+
"Type annotations for boto3 Organizations 1.36.0\n"
|
|
16
|
+
"Version: 1.36.0\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"
|
|
@@ -26,7 +26,7 @@ def print_version() -> None:
|
|
|
26
26
|
"""
|
|
27
27
|
Print package version to stdout.
|
|
28
28
|
"""
|
|
29
|
-
sys.stdout.write("1.
|
|
29
|
+
sys.stdout.write("1.36.0\n")
|
|
30
30
|
|
|
31
31
|
|
|
32
32
|
def main() -> None:
|
|
@@ -19,7 +19,7 @@ Copyright 2025 Vlad Emelianov
|
|
|
19
19
|
from __future__ import annotations
|
|
20
20
|
|
|
21
21
|
import sys
|
|
22
|
-
from typing import Any,
|
|
22
|
+
from typing import Any, overload
|
|
23
23
|
|
|
24
24
|
from botocore.client import BaseClient, ClientMeta
|
|
25
25
|
from botocore.errorfactory import BaseClientExceptions
|
|
@@ -135,6 +135,11 @@ from .type_defs import (
|
|
|
135
135
|
UpdatePolicyResponseTypeDef,
|
|
136
136
|
)
|
|
137
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
|
|
138
143
|
if sys.version_info >= (3, 12):
|
|
139
144
|
from typing import Literal, Unpack
|
|
140
145
|
else:
|
|
@@ -145,54 +150,54 @@ __all__ = ("OrganizationsClient",)
|
|
|
145
150
|
|
|
146
151
|
|
|
147
152
|
class Exceptions(BaseClientExceptions):
|
|
148
|
-
AWSOrganizationsNotInUseException:
|
|
149
|
-
AccessDeniedException:
|
|
150
|
-
AccessDeniedForDependencyException:
|
|
151
|
-
AccountAlreadyClosedException:
|
|
152
|
-
AccountAlreadyRegisteredException:
|
|
153
|
-
AccountNotFoundException:
|
|
154
|
-
AccountNotRegisteredException:
|
|
155
|
-
AccountOwnerNotVerifiedException:
|
|
156
|
-
AlreadyInOrganizationException:
|
|
157
|
-
ChildNotFoundException:
|
|
158
|
-
ClientError:
|
|
159
|
-
ConcurrentModificationException:
|
|
160
|
-
ConflictException:
|
|
161
|
-
ConstraintViolationException:
|
|
162
|
-
CreateAccountStatusNotFoundException:
|
|
163
|
-
DestinationParentNotFoundException:
|
|
164
|
-
DuplicateAccountException:
|
|
165
|
-
DuplicateHandshakeException:
|
|
166
|
-
DuplicateOrganizationalUnitException:
|
|
167
|
-
DuplicatePolicyAttachmentException:
|
|
168
|
-
DuplicatePolicyException:
|
|
169
|
-
EffectivePolicyNotFoundException:
|
|
170
|
-
FinalizingOrganizationException:
|
|
171
|
-
HandshakeAlreadyInStateException:
|
|
172
|
-
HandshakeConstraintViolationException:
|
|
173
|
-
HandshakeNotFoundException:
|
|
174
|
-
InvalidHandshakeTransitionException:
|
|
175
|
-
InvalidInputException:
|
|
176
|
-
MalformedPolicyDocumentException:
|
|
177
|
-
MasterCannotLeaveOrganizationException:
|
|
178
|
-
OrganizationNotEmptyException:
|
|
179
|
-
OrganizationalUnitNotEmptyException:
|
|
180
|
-
OrganizationalUnitNotFoundException:
|
|
181
|
-
ParentNotFoundException:
|
|
182
|
-
PolicyChangesInProgressException:
|
|
183
|
-
PolicyInUseException:
|
|
184
|
-
PolicyNotAttachedException:
|
|
185
|
-
PolicyNotFoundException:
|
|
186
|
-
PolicyTypeAlreadyEnabledException:
|
|
187
|
-
PolicyTypeNotAvailableForOrganizationException:
|
|
188
|
-
PolicyTypeNotEnabledException:
|
|
189
|
-
ResourcePolicyNotFoundException:
|
|
190
|
-
RootNotFoundException:
|
|
191
|
-
ServiceException:
|
|
192
|
-
SourceParentNotFoundException:
|
|
193
|
-
TargetNotFoundException:
|
|
194
|
-
TooManyRequestsException:
|
|
195
|
-
UnsupportedAPIEndpointException:
|
|
153
|
+
AWSOrganizationsNotInUseException: Type[BotocoreClientError]
|
|
154
|
+
AccessDeniedException: Type[BotocoreClientError]
|
|
155
|
+
AccessDeniedForDependencyException: Type[BotocoreClientError]
|
|
156
|
+
AccountAlreadyClosedException: Type[BotocoreClientError]
|
|
157
|
+
AccountAlreadyRegisteredException: Type[BotocoreClientError]
|
|
158
|
+
AccountNotFoundException: Type[BotocoreClientError]
|
|
159
|
+
AccountNotRegisteredException: Type[BotocoreClientError]
|
|
160
|
+
AccountOwnerNotVerifiedException: Type[BotocoreClientError]
|
|
161
|
+
AlreadyInOrganizationException: Type[BotocoreClientError]
|
|
162
|
+
ChildNotFoundException: Type[BotocoreClientError]
|
|
163
|
+
ClientError: Type[BotocoreClientError]
|
|
164
|
+
ConcurrentModificationException: Type[BotocoreClientError]
|
|
165
|
+
ConflictException: Type[BotocoreClientError]
|
|
166
|
+
ConstraintViolationException: Type[BotocoreClientError]
|
|
167
|
+
CreateAccountStatusNotFoundException: Type[BotocoreClientError]
|
|
168
|
+
DestinationParentNotFoundException: Type[BotocoreClientError]
|
|
169
|
+
DuplicateAccountException: Type[BotocoreClientError]
|
|
170
|
+
DuplicateHandshakeException: Type[BotocoreClientError]
|
|
171
|
+
DuplicateOrganizationalUnitException: Type[BotocoreClientError]
|
|
172
|
+
DuplicatePolicyAttachmentException: Type[BotocoreClientError]
|
|
173
|
+
DuplicatePolicyException: Type[BotocoreClientError]
|
|
174
|
+
EffectivePolicyNotFoundException: Type[BotocoreClientError]
|
|
175
|
+
FinalizingOrganizationException: Type[BotocoreClientError]
|
|
176
|
+
HandshakeAlreadyInStateException: Type[BotocoreClientError]
|
|
177
|
+
HandshakeConstraintViolationException: Type[BotocoreClientError]
|
|
178
|
+
HandshakeNotFoundException: Type[BotocoreClientError]
|
|
179
|
+
InvalidHandshakeTransitionException: Type[BotocoreClientError]
|
|
180
|
+
InvalidInputException: Type[BotocoreClientError]
|
|
181
|
+
MalformedPolicyDocumentException: Type[BotocoreClientError]
|
|
182
|
+
MasterCannotLeaveOrganizationException: Type[BotocoreClientError]
|
|
183
|
+
OrganizationNotEmptyException: Type[BotocoreClientError]
|
|
184
|
+
OrganizationalUnitNotEmptyException: Type[BotocoreClientError]
|
|
185
|
+
OrganizationalUnitNotFoundException: Type[BotocoreClientError]
|
|
186
|
+
ParentNotFoundException: Type[BotocoreClientError]
|
|
187
|
+
PolicyChangesInProgressException: Type[BotocoreClientError]
|
|
188
|
+
PolicyInUseException: Type[BotocoreClientError]
|
|
189
|
+
PolicyNotAttachedException: Type[BotocoreClientError]
|
|
190
|
+
PolicyNotFoundException: Type[BotocoreClientError]
|
|
191
|
+
PolicyTypeAlreadyEnabledException: Type[BotocoreClientError]
|
|
192
|
+
PolicyTypeNotAvailableForOrganizationException: Type[BotocoreClientError]
|
|
193
|
+
PolicyTypeNotEnabledException: Type[BotocoreClientError]
|
|
194
|
+
ResourcePolicyNotFoundException: Type[BotocoreClientError]
|
|
195
|
+
RootNotFoundException: Type[BotocoreClientError]
|
|
196
|
+
ServiceException: Type[BotocoreClientError]
|
|
197
|
+
SourceParentNotFoundException: Type[BotocoreClientError]
|
|
198
|
+
TargetNotFoundException: Type[BotocoreClientError]
|
|
199
|
+
TooManyRequestsException: Type[BotocoreClientError]
|
|
200
|
+
UnsupportedAPIEndpointException: Type[BotocoreClientError]
|
|
196
201
|
|
|
197
202
|
|
|
198
203
|
class OrganizationsClient(BaseClient):
|
|
@@ -19,7 +19,7 @@ Copyright 2025 Vlad Emelianov
|
|
|
19
19
|
from __future__ import annotations
|
|
20
20
|
|
|
21
21
|
import sys
|
|
22
|
-
from typing import Any,
|
|
22
|
+
from typing import Any, overload
|
|
23
23
|
|
|
24
24
|
from botocore.client import BaseClient, ClientMeta
|
|
25
25
|
from botocore.errorfactory import BaseClientExceptions
|
|
@@ -135,6 +135,11 @@ from .type_defs import (
|
|
|
135
135
|
UpdatePolicyResponseTypeDef,
|
|
136
136
|
)
|
|
137
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
|
|
138
143
|
if sys.version_info >= (3, 12):
|
|
139
144
|
from typing import Literal, Unpack
|
|
140
145
|
else:
|
|
@@ -143,54 +148,54 @@ else:
|
|
|
143
148
|
__all__ = ("OrganizationsClient",)
|
|
144
149
|
|
|
145
150
|
class Exceptions(BaseClientExceptions):
|
|
146
|
-
AWSOrganizationsNotInUseException:
|
|
147
|
-
AccessDeniedException:
|
|
148
|
-
AccessDeniedForDependencyException:
|
|
149
|
-
AccountAlreadyClosedException:
|
|
150
|
-
AccountAlreadyRegisteredException:
|
|
151
|
-
AccountNotFoundException:
|
|
152
|
-
AccountNotRegisteredException:
|
|
153
|
-
AccountOwnerNotVerifiedException:
|
|
154
|
-
AlreadyInOrganizationException:
|
|
155
|
-
ChildNotFoundException:
|
|
156
|
-
ClientError:
|
|
157
|
-
ConcurrentModificationException:
|
|
158
|
-
ConflictException:
|
|
159
|
-
ConstraintViolationException:
|
|
160
|
-
CreateAccountStatusNotFoundException:
|
|
161
|
-
DestinationParentNotFoundException:
|
|
162
|
-
DuplicateAccountException:
|
|
163
|
-
DuplicateHandshakeException:
|
|
164
|
-
DuplicateOrganizationalUnitException:
|
|
165
|
-
DuplicatePolicyAttachmentException:
|
|
166
|
-
DuplicatePolicyException:
|
|
167
|
-
EffectivePolicyNotFoundException:
|
|
168
|
-
FinalizingOrganizationException:
|
|
169
|
-
HandshakeAlreadyInStateException:
|
|
170
|
-
HandshakeConstraintViolationException:
|
|
171
|
-
HandshakeNotFoundException:
|
|
172
|
-
InvalidHandshakeTransitionException:
|
|
173
|
-
InvalidInputException:
|
|
174
|
-
MalformedPolicyDocumentException:
|
|
175
|
-
MasterCannotLeaveOrganizationException:
|
|
176
|
-
OrganizationNotEmptyException:
|
|
177
|
-
OrganizationalUnitNotEmptyException:
|
|
178
|
-
OrganizationalUnitNotFoundException:
|
|
179
|
-
ParentNotFoundException:
|
|
180
|
-
PolicyChangesInProgressException:
|
|
181
|
-
PolicyInUseException:
|
|
182
|
-
PolicyNotAttachedException:
|
|
183
|
-
PolicyNotFoundException:
|
|
184
|
-
PolicyTypeAlreadyEnabledException:
|
|
185
|
-
PolicyTypeNotAvailableForOrganizationException:
|
|
186
|
-
PolicyTypeNotEnabledException:
|
|
187
|
-
ResourcePolicyNotFoundException:
|
|
188
|
-
RootNotFoundException:
|
|
189
|
-
ServiceException:
|
|
190
|
-
SourceParentNotFoundException:
|
|
191
|
-
TargetNotFoundException:
|
|
192
|
-
TooManyRequestsException:
|
|
193
|
-
UnsupportedAPIEndpointException:
|
|
151
|
+
AWSOrganizationsNotInUseException: Type[BotocoreClientError]
|
|
152
|
+
AccessDeniedException: Type[BotocoreClientError]
|
|
153
|
+
AccessDeniedForDependencyException: Type[BotocoreClientError]
|
|
154
|
+
AccountAlreadyClosedException: Type[BotocoreClientError]
|
|
155
|
+
AccountAlreadyRegisteredException: Type[BotocoreClientError]
|
|
156
|
+
AccountNotFoundException: Type[BotocoreClientError]
|
|
157
|
+
AccountNotRegisteredException: Type[BotocoreClientError]
|
|
158
|
+
AccountOwnerNotVerifiedException: Type[BotocoreClientError]
|
|
159
|
+
AlreadyInOrganizationException: Type[BotocoreClientError]
|
|
160
|
+
ChildNotFoundException: Type[BotocoreClientError]
|
|
161
|
+
ClientError: Type[BotocoreClientError]
|
|
162
|
+
ConcurrentModificationException: Type[BotocoreClientError]
|
|
163
|
+
ConflictException: Type[BotocoreClientError]
|
|
164
|
+
ConstraintViolationException: Type[BotocoreClientError]
|
|
165
|
+
CreateAccountStatusNotFoundException: Type[BotocoreClientError]
|
|
166
|
+
DestinationParentNotFoundException: Type[BotocoreClientError]
|
|
167
|
+
DuplicateAccountException: Type[BotocoreClientError]
|
|
168
|
+
DuplicateHandshakeException: Type[BotocoreClientError]
|
|
169
|
+
DuplicateOrganizationalUnitException: Type[BotocoreClientError]
|
|
170
|
+
DuplicatePolicyAttachmentException: Type[BotocoreClientError]
|
|
171
|
+
DuplicatePolicyException: Type[BotocoreClientError]
|
|
172
|
+
EffectivePolicyNotFoundException: Type[BotocoreClientError]
|
|
173
|
+
FinalizingOrganizationException: Type[BotocoreClientError]
|
|
174
|
+
HandshakeAlreadyInStateException: Type[BotocoreClientError]
|
|
175
|
+
HandshakeConstraintViolationException: Type[BotocoreClientError]
|
|
176
|
+
HandshakeNotFoundException: Type[BotocoreClientError]
|
|
177
|
+
InvalidHandshakeTransitionException: Type[BotocoreClientError]
|
|
178
|
+
InvalidInputException: Type[BotocoreClientError]
|
|
179
|
+
MalformedPolicyDocumentException: Type[BotocoreClientError]
|
|
180
|
+
MasterCannotLeaveOrganizationException: Type[BotocoreClientError]
|
|
181
|
+
OrganizationNotEmptyException: Type[BotocoreClientError]
|
|
182
|
+
OrganizationalUnitNotEmptyException: Type[BotocoreClientError]
|
|
183
|
+
OrganizationalUnitNotFoundException: Type[BotocoreClientError]
|
|
184
|
+
ParentNotFoundException: Type[BotocoreClientError]
|
|
185
|
+
PolicyChangesInProgressException: Type[BotocoreClientError]
|
|
186
|
+
PolicyInUseException: Type[BotocoreClientError]
|
|
187
|
+
PolicyNotAttachedException: Type[BotocoreClientError]
|
|
188
|
+
PolicyNotFoundException: Type[BotocoreClientError]
|
|
189
|
+
PolicyTypeAlreadyEnabledException: Type[BotocoreClientError]
|
|
190
|
+
PolicyTypeNotAvailableForOrganizationException: Type[BotocoreClientError]
|
|
191
|
+
PolicyTypeNotEnabledException: Type[BotocoreClientError]
|
|
192
|
+
ResourcePolicyNotFoundException: Type[BotocoreClientError]
|
|
193
|
+
RootNotFoundException: Type[BotocoreClientError]
|
|
194
|
+
ServiceException: Type[BotocoreClientError]
|
|
195
|
+
SourceParentNotFoundException: Type[BotocoreClientError]
|
|
196
|
+
TargetNotFoundException: Type[BotocoreClientError]
|
|
197
|
+
TooManyRequestsException: Type[BotocoreClientError]
|
|
198
|
+
UnsupportedAPIEndpointException: Type[BotocoreClientError]
|
|
194
199
|
|
|
195
200
|
class OrganizationsClient(BaseClient):
|
|
196
201
|
"""
|
|
@@ -18,7 +18,7 @@ from __future__ import annotations
|
|
|
18
18
|
|
|
19
19
|
import sys
|
|
20
20
|
from datetime import datetime
|
|
21
|
-
from typing import Any
|
|
21
|
+
from typing import Any
|
|
22
22
|
|
|
23
23
|
from .literals import (
|
|
24
24
|
AccountJoinedMethodType,
|
|
@@ -39,6 +39,12 @@ from .literals import (
|
|
|
39
39
|
TargetTypeType,
|
|
40
40
|
)
|
|
41
41
|
|
|
42
|
+
if sys.version_info >= (3, 9):
|
|
43
|
+
from builtins import dict as Dict
|
|
44
|
+
from builtins import list as List
|
|
45
|
+
from collections.abc import Sequence
|
|
46
|
+
else:
|
|
47
|
+
from typing import Dict, List, Sequence
|
|
42
48
|
if sys.version_info >= (3, 12):
|
|
43
49
|
from typing import NotRequired, TypedDict
|
|
44
50
|
else:
|
|
@@ -189,7 +195,7 @@ class AcceptHandshakeRequestRequestTypeDef(TypedDict):
|
|
|
189
195
|
class ResponseMetadataTypeDef(TypedDict):
|
|
190
196
|
RequestId: str
|
|
191
197
|
HTTPStatusCode: int
|
|
192
|
-
HTTPHeaders:
|
|
198
|
+
HTTPHeaders: Dict[str, str]
|
|
193
199
|
RetryAttempts: int
|
|
194
200
|
HostId: NotRequired[str]
|
|
195
201
|
|
|
@@ -362,7 +368,7 @@ HandshakeResourcePaginatorTypeDef = TypedDict(
|
|
|
362
368
|
{
|
|
363
369
|
"Value": NotRequired[str],
|
|
364
370
|
"Type": NotRequired[HandshakeResourceTypeType],
|
|
365
|
-
"Resources": NotRequired[
|
|
371
|
+
"Resources": NotRequired[List[Dict[str, Any]]],
|
|
366
372
|
},
|
|
367
373
|
)
|
|
368
374
|
HandshakeResourceTypeDef = TypedDict(
|
|
@@ -370,7 +376,7 @@ HandshakeResourceTypeDef = TypedDict(
|
|
|
370
376
|
{
|
|
371
377
|
"Value": NotRequired[str],
|
|
372
378
|
"Type": NotRequired[HandshakeResourceTypeType],
|
|
373
|
-
"Resources": NotRequired[
|
|
379
|
+
"Resources": NotRequired[List[Dict[str, Any]]],
|
|
374
380
|
},
|
|
375
381
|
)
|
|
376
382
|
|
|
@@ -552,19 +558,19 @@ class DescribeAccountResponseTypeDef(TypedDict):
|
|
|
552
558
|
|
|
553
559
|
|
|
554
560
|
class ListAccountsForParentResponseTypeDef(TypedDict):
|
|
555
|
-
Accounts:
|
|
561
|
+
Accounts: List[AccountTypeDef]
|
|
556
562
|
ResponseMetadata: ResponseMetadataTypeDef
|
|
557
563
|
NextToken: NotRequired[str]
|
|
558
564
|
|
|
559
565
|
|
|
560
566
|
class ListAccountsResponseTypeDef(TypedDict):
|
|
561
|
-
Accounts:
|
|
567
|
+
Accounts: List[AccountTypeDef]
|
|
562
568
|
ResponseMetadata: ResponseMetadataTypeDef
|
|
563
569
|
NextToken: NotRequired[str]
|
|
564
570
|
|
|
565
571
|
|
|
566
572
|
class ListChildrenResponseTypeDef(TypedDict):
|
|
567
|
-
Children:
|
|
573
|
+
Children: List[ChildTypeDef]
|
|
568
574
|
ResponseMetadata: ResponseMetadataTypeDef
|
|
569
575
|
NextToken: NotRequired[str]
|
|
570
576
|
|
|
@@ -604,7 +610,7 @@ CreatePolicyRequestRequestTypeDef = TypedDict(
|
|
|
604
610
|
|
|
605
611
|
|
|
606
612
|
class ListTagsForResourceResponseTypeDef(TypedDict):
|
|
607
|
-
Tags:
|
|
613
|
+
Tags: List[TagTypeDef]
|
|
608
614
|
ResponseMetadata: ResponseMetadataTypeDef
|
|
609
615
|
NextToken: NotRequired[str]
|
|
610
616
|
|
|
@@ -635,7 +641,7 @@ class DescribeCreateAccountStatusResponseTypeDef(TypedDict):
|
|
|
635
641
|
|
|
636
642
|
|
|
637
643
|
class ListCreateAccountStatusResponseTypeDef(TypedDict):
|
|
638
|
-
CreateAccountStatuses:
|
|
644
|
+
CreateAccountStatuses: List[CreateAccountStatusTypeDef]
|
|
639
645
|
ResponseMetadata: ResponseMetadataTypeDef
|
|
640
646
|
NextToken: NotRequired[str]
|
|
641
647
|
|
|
@@ -651,7 +657,7 @@ class DescribeOrganizationalUnitResponseTypeDef(TypedDict):
|
|
|
651
657
|
|
|
652
658
|
|
|
653
659
|
class ListOrganizationalUnitsForParentResponseTypeDef(TypedDict):
|
|
654
|
-
OrganizationalUnits:
|
|
660
|
+
OrganizationalUnits: List[OrganizationalUnitTypeDef]
|
|
655
661
|
ResponseMetadata: ResponseMetadataTypeDef
|
|
656
662
|
NextToken: NotRequired[str]
|
|
657
663
|
|
|
@@ -662,13 +668,13 @@ class UpdateOrganizationalUnitResponseTypeDef(TypedDict):
|
|
|
662
668
|
|
|
663
669
|
|
|
664
670
|
class ListDelegatedAdministratorsResponseTypeDef(TypedDict):
|
|
665
|
-
DelegatedAdministrators:
|
|
671
|
+
DelegatedAdministrators: List[DelegatedAdministratorTypeDef]
|
|
666
672
|
ResponseMetadata: ResponseMetadataTypeDef
|
|
667
673
|
NextToken: NotRequired[str]
|
|
668
674
|
|
|
669
675
|
|
|
670
676
|
class ListDelegatedServicesForAccountResponseTypeDef(TypedDict):
|
|
671
|
-
DelegatedServices:
|
|
677
|
+
DelegatedServices: List[DelegatedServiceTypeDef]
|
|
672
678
|
ResponseMetadata: ResponseMetadataTypeDef
|
|
673
679
|
NextToken: NotRequired[str]
|
|
674
680
|
|
|
@@ -679,7 +685,7 @@ class DescribeEffectivePolicyResponseTypeDef(TypedDict):
|
|
|
679
685
|
|
|
680
686
|
|
|
681
687
|
class ListAWSServiceAccessForOrganizationResponseTypeDef(TypedDict):
|
|
682
|
-
EnabledServicePrincipals:
|
|
688
|
+
EnabledServicePrincipals: List[EnabledServicePrincipalTypeDef]
|
|
683
689
|
ResponseMetadata: ResponseMetadataTypeDef
|
|
684
690
|
NextToken: NotRequired[str]
|
|
685
691
|
|
|
@@ -705,23 +711,23 @@ class InviteAccountToOrganizationRequestRequestTypeDef(TypedDict):
|
|
|
705
711
|
class HandshakePaginatorTypeDef(TypedDict):
|
|
706
712
|
Id: NotRequired[str]
|
|
707
713
|
Arn: NotRequired[str]
|
|
708
|
-
Parties: NotRequired[
|
|
714
|
+
Parties: NotRequired[List[HandshakePartyTypeDef]]
|
|
709
715
|
State: NotRequired[HandshakeStateType]
|
|
710
716
|
RequestedTimestamp: NotRequired[datetime]
|
|
711
717
|
ExpirationTimestamp: NotRequired[datetime]
|
|
712
718
|
Action: NotRequired[ActionTypeType]
|
|
713
|
-
Resources: NotRequired[
|
|
719
|
+
Resources: NotRequired[List[HandshakeResourcePaginatorTypeDef]]
|
|
714
720
|
|
|
715
721
|
|
|
716
722
|
class HandshakeTypeDef(TypedDict):
|
|
717
723
|
Id: NotRequired[str]
|
|
718
724
|
Arn: NotRequired[str]
|
|
719
|
-
Parties: NotRequired[
|
|
725
|
+
Parties: NotRequired[List[HandshakePartyTypeDef]]
|
|
720
726
|
State: NotRequired[HandshakeStateType]
|
|
721
727
|
RequestedTimestamp: NotRequired[datetime]
|
|
722
728
|
ExpirationTimestamp: NotRequired[datetime]
|
|
723
729
|
Action: NotRequired[ActionTypeType]
|
|
724
|
-
Resources: NotRequired[
|
|
730
|
+
Resources: NotRequired[List[HandshakeResourceTypeDef]]
|
|
725
731
|
|
|
726
732
|
|
|
727
733
|
class ListAWSServiceAccessForOrganizationRequestPaginateTypeDef(TypedDict):
|
|
@@ -804,19 +810,19 @@ class ListTargetsForPolicyRequestPaginateTypeDef(TypedDict):
|
|
|
804
810
|
|
|
805
811
|
|
|
806
812
|
class ListParentsResponseTypeDef(TypedDict):
|
|
807
|
-
Parents:
|
|
813
|
+
Parents: List[ParentTypeDef]
|
|
808
814
|
ResponseMetadata: ResponseMetadataTypeDef
|
|
809
815
|
NextToken: NotRequired[str]
|
|
810
816
|
|
|
811
817
|
|
|
812
818
|
class ListPoliciesForTargetResponseTypeDef(TypedDict):
|
|
813
|
-
Policies:
|
|
819
|
+
Policies: List[PolicySummaryTypeDef]
|
|
814
820
|
ResponseMetadata: ResponseMetadataTypeDef
|
|
815
821
|
NextToken: NotRequired[str]
|
|
816
822
|
|
|
817
823
|
|
|
818
824
|
class ListPoliciesResponseTypeDef(TypedDict):
|
|
819
|
-
Policies:
|
|
825
|
+
Policies: List[PolicySummaryTypeDef]
|
|
820
826
|
ResponseMetadata: ResponseMetadataTypeDef
|
|
821
827
|
NextToken: NotRequired[str]
|
|
822
828
|
|
|
@@ -827,7 +833,7 @@ class PolicyTypeDef(TypedDict):
|
|
|
827
833
|
|
|
828
834
|
|
|
829
835
|
class ListTargetsForPolicyResponseTypeDef(TypedDict):
|
|
830
|
-
Targets:
|
|
836
|
+
Targets: List[PolicyTargetSummaryTypeDef]
|
|
831
837
|
ResponseMetadata: ResponseMetadataTypeDef
|
|
832
838
|
NextToken: NotRequired[str]
|
|
833
839
|
|
|
@@ -839,14 +845,14 @@ class OrganizationTypeDef(TypedDict):
|
|
|
839
845
|
MasterAccountArn: NotRequired[str]
|
|
840
846
|
MasterAccountId: NotRequired[str]
|
|
841
847
|
MasterAccountEmail: NotRequired[str]
|
|
842
|
-
AvailablePolicyTypes: NotRequired[
|
|
848
|
+
AvailablePolicyTypes: NotRequired[List[PolicyTypeSummaryTypeDef]]
|
|
843
849
|
|
|
844
850
|
|
|
845
851
|
class RootTypeDef(TypedDict):
|
|
846
852
|
Id: NotRequired[str]
|
|
847
853
|
Arn: NotRequired[str]
|
|
848
854
|
Name: NotRequired[str]
|
|
849
|
-
PolicyTypes: NotRequired[
|
|
855
|
+
PolicyTypes: NotRequired[List[PolicyTypeSummaryTypeDef]]
|
|
850
856
|
|
|
851
857
|
|
|
852
858
|
class ResourcePolicyTypeDef(TypedDict):
|
|
@@ -855,13 +861,13 @@ class ResourcePolicyTypeDef(TypedDict):
|
|
|
855
861
|
|
|
856
862
|
|
|
857
863
|
class ListHandshakesForAccountResponsePaginatorTypeDef(TypedDict):
|
|
858
|
-
Handshakes:
|
|
864
|
+
Handshakes: List[HandshakePaginatorTypeDef]
|
|
859
865
|
ResponseMetadata: ResponseMetadataTypeDef
|
|
860
866
|
NextToken: NotRequired[str]
|
|
861
867
|
|
|
862
868
|
|
|
863
869
|
class ListHandshakesForOrganizationResponsePaginatorTypeDef(TypedDict):
|
|
864
|
-
Handshakes:
|
|
870
|
+
Handshakes: List[HandshakePaginatorTypeDef]
|
|
865
871
|
ResponseMetadata: ResponseMetadataTypeDef
|
|
866
872
|
NextToken: NotRequired[str]
|
|
867
873
|
|
|
@@ -897,13 +903,13 @@ class InviteAccountToOrganizationResponseTypeDef(TypedDict):
|
|
|
897
903
|
|
|
898
904
|
|
|
899
905
|
class ListHandshakesForAccountResponseTypeDef(TypedDict):
|
|
900
|
-
Handshakes:
|
|
906
|
+
Handshakes: List[HandshakeTypeDef]
|
|
901
907
|
ResponseMetadata: ResponseMetadataTypeDef
|
|
902
908
|
NextToken: NotRequired[str]
|
|
903
909
|
|
|
904
910
|
|
|
905
911
|
class ListHandshakesForOrganizationResponseTypeDef(TypedDict):
|
|
906
|
-
Handshakes:
|
|
912
|
+
Handshakes: List[HandshakeTypeDef]
|
|
907
913
|
ResponseMetadata: ResponseMetadataTypeDef
|
|
908
914
|
NextToken: NotRequired[str]
|
|
909
915
|
|
|
@@ -944,7 +950,7 @@ class EnablePolicyTypeResponseTypeDef(TypedDict):
|
|
|
944
950
|
|
|
945
951
|
|
|
946
952
|
class ListRootsResponseTypeDef(TypedDict):
|
|
947
|
-
Roots:
|
|
953
|
+
Roots: List[RootTypeDef]
|
|
948
954
|
ResponseMetadata: ResponseMetadataTypeDef
|
|
949
955
|
NextToken: NotRequired[str]
|
|
950
956
|
|
|
@@ -18,7 +18,7 @@ from __future__ import annotations
|
|
|
18
18
|
|
|
19
19
|
import sys
|
|
20
20
|
from datetime import datetime
|
|
21
|
-
from typing import Any
|
|
21
|
+
from typing import Any
|
|
22
22
|
|
|
23
23
|
from .literals import (
|
|
24
24
|
AccountJoinedMethodType,
|
|
@@ -39,6 +39,12 @@ from .literals import (
|
|
|
39
39
|
TargetTypeType,
|
|
40
40
|
)
|
|
41
41
|
|
|
42
|
+
if sys.version_info >= (3, 9):
|
|
43
|
+
from builtins import dict as Dict
|
|
44
|
+
from builtins import list as List
|
|
45
|
+
from collections.abc import Sequence
|
|
46
|
+
else:
|
|
47
|
+
from typing import Dict, List, Sequence
|
|
42
48
|
if sys.version_info >= (3, 12):
|
|
43
49
|
from typing import NotRequired, TypedDict
|
|
44
50
|
else:
|
|
@@ -186,7 +192,7 @@ class AcceptHandshakeRequestRequestTypeDef(TypedDict):
|
|
|
186
192
|
class ResponseMetadataTypeDef(TypedDict):
|
|
187
193
|
RequestId: str
|
|
188
194
|
HTTPStatusCode: int
|
|
189
|
-
HTTPHeaders:
|
|
195
|
+
HTTPHeaders: Dict[str, str]
|
|
190
196
|
RetryAttempts: int
|
|
191
197
|
HostId: NotRequired[str]
|
|
192
198
|
|
|
@@ -329,7 +335,7 @@ HandshakeResourcePaginatorTypeDef = TypedDict(
|
|
|
329
335
|
{
|
|
330
336
|
"Value": NotRequired[str],
|
|
331
337
|
"Type": NotRequired[HandshakeResourceTypeType],
|
|
332
|
-
"Resources": NotRequired[
|
|
338
|
+
"Resources": NotRequired[List[Dict[str, Any]]],
|
|
333
339
|
},
|
|
334
340
|
)
|
|
335
341
|
HandshakeResourceTypeDef = TypedDict(
|
|
@@ -337,7 +343,7 @@ HandshakeResourceTypeDef = TypedDict(
|
|
|
337
343
|
{
|
|
338
344
|
"Value": NotRequired[str],
|
|
339
345
|
"Type": NotRequired[HandshakeResourceTypeType],
|
|
340
|
-
"Resources": NotRequired[
|
|
346
|
+
"Resources": NotRequired[List[Dict[str, Any]]],
|
|
341
347
|
},
|
|
342
348
|
)
|
|
343
349
|
|
|
@@ -490,17 +496,17 @@ class DescribeAccountResponseTypeDef(TypedDict):
|
|
|
490
496
|
ResponseMetadata: ResponseMetadataTypeDef
|
|
491
497
|
|
|
492
498
|
class ListAccountsForParentResponseTypeDef(TypedDict):
|
|
493
|
-
Accounts:
|
|
499
|
+
Accounts: List[AccountTypeDef]
|
|
494
500
|
ResponseMetadata: ResponseMetadataTypeDef
|
|
495
501
|
NextToken: NotRequired[str]
|
|
496
502
|
|
|
497
503
|
class ListAccountsResponseTypeDef(TypedDict):
|
|
498
|
-
Accounts:
|
|
504
|
+
Accounts: List[AccountTypeDef]
|
|
499
505
|
ResponseMetadata: ResponseMetadataTypeDef
|
|
500
506
|
NextToken: NotRequired[str]
|
|
501
507
|
|
|
502
508
|
class ListChildrenResponseTypeDef(TypedDict):
|
|
503
|
-
Children:
|
|
509
|
+
Children: List[ChildTypeDef]
|
|
504
510
|
ResponseMetadata: ResponseMetadataTypeDef
|
|
505
511
|
NextToken: NotRequired[str]
|
|
506
512
|
|
|
@@ -535,7 +541,7 @@ CreatePolicyRequestRequestTypeDef = TypedDict(
|
|
|
535
541
|
)
|
|
536
542
|
|
|
537
543
|
class ListTagsForResourceResponseTypeDef(TypedDict):
|
|
538
|
-
Tags:
|
|
544
|
+
Tags: List[TagTypeDef]
|
|
539
545
|
ResponseMetadata: ResponseMetadataTypeDef
|
|
540
546
|
NextToken: NotRequired[str]
|
|
541
547
|
|
|
@@ -560,7 +566,7 @@ class DescribeCreateAccountStatusResponseTypeDef(TypedDict):
|
|
|
560
566
|
ResponseMetadata: ResponseMetadataTypeDef
|
|
561
567
|
|
|
562
568
|
class ListCreateAccountStatusResponseTypeDef(TypedDict):
|
|
563
|
-
CreateAccountStatuses:
|
|
569
|
+
CreateAccountStatuses: List[CreateAccountStatusTypeDef]
|
|
564
570
|
ResponseMetadata: ResponseMetadataTypeDef
|
|
565
571
|
NextToken: NotRequired[str]
|
|
566
572
|
|
|
@@ -573,7 +579,7 @@ class DescribeOrganizationalUnitResponseTypeDef(TypedDict):
|
|
|
573
579
|
ResponseMetadata: ResponseMetadataTypeDef
|
|
574
580
|
|
|
575
581
|
class ListOrganizationalUnitsForParentResponseTypeDef(TypedDict):
|
|
576
|
-
OrganizationalUnits:
|
|
582
|
+
OrganizationalUnits: List[OrganizationalUnitTypeDef]
|
|
577
583
|
ResponseMetadata: ResponseMetadataTypeDef
|
|
578
584
|
NextToken: NotRequired[str]
|
|
579
585
|
|
|
@@ -582,12 +588,12 @@ class UpdateOrganizationalUnitResponseTypeDef(TypedDict):
|
|
|
582
588
|
ResponseMetadata: ResponseMetadataTypeDef
|
|
583
589
|
|
|
584
590
|
class ListDelegatedAdministratorsResponseTypeDef(TypedDict):
|
|
585
|
-
DelegatedAdministrators:
|
|
591
|
+
DelegatedAdministrators: List[DelegatedAdministratorTypeDef]
|
|
586
592
|
ResponseMetadata: ResponseMetadataTypeDef
|
|
587
593
|
NextToken: NotRequired[str]
|
|
588
594
|
|
|
589
595
|
class ListDelegatedServicesForAccountResponseTypeDef(TypedDict):
|
|
590
|
-
DelegatedServices:
|
|
596
|
+
DelegatedServices: List[DelegatedServiceTypeDef]
|
|
591
597
|
ResponseMetadata: ResponseMetadataTypeDef
|
|
592
598
|
NextToken: NotRequired[str]
|
|
593
599
|
|
|
@@ -596,7 +602,7 @@ class DescribeEffectivePolicyResponseTypeDef(TypedDict):
|
|
|
596
602
|
ResponseMetadata: ResponseMetadataTypeDef
|
|
597
603
|
|
|
598
604
|
class ListAWSServiceAccessForOrganizationResponseTypeDef(TypedDict):
|
|
599
|
-
EnabledServicePrincipals:
|
|
605
|
+
EnabledServicePrincipals: List[EnabledServicePrincipalTypeDef]
|
|
600
606
|
ResponseMetadata: ResponseMetadataTypeDef
|
|
601
607
|
NextToken: NotRequired[str]
|
|
602
608
|
|
|
@@ -618,22 +624,22 @@ class InviteAccountToOrganizationRequestRequestTypeDef(TypedDict):
|
|
|
618
624
|
class HandshakePaginatorTypeDef(TypedDict):
|
|
619
625
|
Id: NotRequired[str]
|
|
620
626
|
Arn: NotRequired[str]
|
|
621
|
-
Parties: NotRequired[
|
|
627
|
+
Parties: NotRequired[List[HandshakePartyTypeDef]]
|
|
622
628
|
State: NotRequired[HandshakeStateType]
|
|
623
629
|
RequestedTimestamp: NotRequired[datetime]
|
|
624
630
|
ExpirationTimestamp: NotRequired[datetime]
|
|
625
631
|
Action: NotRequired[ActionTypeType]
|
|
626
|
-
Resources: NotRequired[
|
|
632
|
+
Resources: NotRequired[List[HandshakeResourcePaginatorTypeDef]]
|
|
627
633
|
|
|
628
634
|
class HandshakeTypeDef(TypedDict):
|
|
629
635
|
Id: NotRequired[str]
|
|
630
636
|
Arn: NotRequired[str]
|
|
631
|
-
Parties: NotRequired[
|
|
637
|
+
Parties: NotRequired[List[HandshakePartyTypeDef]]
|
|
632
638
|
State: NotRequired[HandshakeStateType]
|
|
633
639
|
RequestedTimestamp: NotRequired[datetime]
|
|
634
640
|
ExpirationTimestamp: NotRequired[datetime]
|
|
635
641
|
Action: NotRequired[ActionTypeType]
|
|
636
|
-
Resources: NotRequired[
|
|
642
|
+
Resources: NotRequired[List[HandshakeResourceTypeDef]]
|
|
637
643
|
|
|
638
644
|
class ListAWSServiceAccessForOrganizationRequestPaginateTypeDef(TypedDict):
|
|
639
645
|
PaginationConfig: NotRequired[PaginatorConfigTypeDef]
|
|
@@ -699,17 +705,17 @@ class ListTargetsForPolicyRequestPaginateTypeDef(TypedDict):
|
|
|
699
705
|
PaginationConfig: NotRequired[PaginatorConfigTypeDef]
|
|
700
706
|
|
|
701
707
|
class ListParentsResponseTypeDef(TypedDict):
|
|
702
|
-
Parents:
|
|
708
|
+
Parents: List[ParentTypeDef]
|
|
703
709
|
ResponseMetadata: ResponseMetadataTypeDef
|
|
704
710
|
NextToken: NotRequired[str]
|
|
705
711
|
|
|
706
712
|
class ListPoliciesForTargetResponseTypeDef(TypedDict):
|
|
707
|
-
Policies:
|
|
713
|
+
Policies: List[PolicySummaryTypeDef]
|
|
708
714
|
ResponseMetadata: ResponseMetadataTypeDef
|
|
709
715
|
NextToken: NotRequired[str]
|
|
710
716
|
|
|
711
717
|
class ListPoliciesResponseTypeDef(TypedDict):
|
|
712
|
-
Policies:
|
|
718
|
+
Policies: List[PolicySummaryTypeDef]
|
|
713
719
|
ResponseMetadata: ResponseMetadataTypeDef
|
|
714
720
|
NextToken: NotRequired[str]
|
|
715
721
|
|
|
@@ -718,7 +724,7 @@ class PolicyTypeDef(TypedDict):
|
|
|
718
724
|
Content: NotRequired[str]
|
|
719
725
|
|
|
720
726
|
class ListTargetsForPolicyResponseTypeDef(TypedDict):
|
|
721
|
-
Targets:
|
|
727
|
+
Targets: List[PolicyTargetSummaryTypeDef]
|
|
722
728
|
ResponseMetadata: ResponseMetadataTypeDef
|
|
723
729
|
NextToken: NotRequired[str]
|
|
724
730
|
|
|
@@ -729,25 +735,25 @@ class OrganizationTypeDef(TypedDict):
|
|
|
729
735
|
MasterAccountArn: NotRequired[str]
|
|
730
736
|
MasterAccountId: NotRequired[str]
|
|
731
737
|
MasterAccountEmail: NotRequired[str]
|
|
732
|
-
AvailablePolicyTypes: NotRequired[
|
|
738
|
+
AvailablePolicyTypes: NotRequired[List[PolicyTypeSummaryTypeDef]]
|
|
733
739
|
|
|
734
740
|
class RootTypeDef(TypedDict):
|
|
735
741
|
Id: NotRequired[str]
|
|
736
742
|
Arn: NotRequired[str]
|
|
737
743
|
Name: NotRequired[str]
|
|
738
|
-
PolicyTypes: NotRequired[
|
|
744
|
+
PolicyTypes: NotRequired[List[PolicyTypeSummaryTypeDef]]
|
|
739
745
|
|
|
740
746
|
class ResourcePolicyTypeDef(TypedDict):
|
|
741
747
|
ResourcePolicySummary: NotRequired[ResourcePolicySummaryTypeDef]
|
|
742
748
|
Content: NotRequired[str]
|
|
743
749
|
|
|
744
750
|
class ListHandshakesForAccountResponsePaginatorTypeDef(TypedDict):
|
|
745
|
-
Handshakes:
|
|
751
|
+
Handshakes: List[HandshakePaginatorTypeDef]
|
|
746
752
|
ResponseMetadata: ResponseMetadataTypeDef
|
|
747
753
|
NextToken: NotRequired[str]
|
|
748
754
|
|
|
749
755
|
class ListHandshakesForOrganizationResponsePaginatorTypeDef(TypedDict):
|
|
750
|
-
Handshakes:
|
|
756
|
+
Handshakes: List[HandshakePaginatorTypeDef]
|
|
751
757
|
ResponseMetadata: ResponseMetadataTypeDef
|
|
752
758
|
NextToken: NotRequired[str]
|
|
753
759
|
|
|
@@ -776,12 +782,12 @@ class InviteAccountToOrganizationResponseTypeDef(TypedDict):
|
|
|
776
782
|
ResponseMetadata: ResponseMetadataTypeDef
|
|
777
783
|
|
|
778
784
|
class ListHandshakesForAccountResponseTypeDef(TypedDict):
|
|
779
|
-
Handshakes:
|
|
785
|
+
Handshakes: List[HandshakeTypeDef]
|
|
780
786
|
ResponseMetadata: ResponseMetadataTypeDef
|
|
781
787
|
NextToken: NotRequired[str]
|
|
782
788
|
|
|
783
789
|
class ListHandshakesForOrganizationResponseTypeDef(TypedDict):
|
|
784
|
-
Handshakes:
|
|
790
|
+
Handshakes: List[HandshakeTypeDef]
|
|
785
791
|
ResponseMetadata: ResponseMetadataTypeDef
|
|
786
792
|
NextToken: NotRequired[str]
|
|
787
793
|
|
|
@@ -814,7 +820,7 @@ class EnablePolicyTypeResponseTypeDef(TypedDict):
|
|
|
814
820
|
ResponseMetadata: ResponseMetadataTypeDef
|
|
815
821
|
|
|
816
822
|
class ListRootsResponseTypeDef(TypedDict):
|
|
817
|
-
Roots:
|
|
823
|
+
Roots: List[RootTypeDef]
|
|
818
824
|
ResponseMetadata: ResponseMetadataTypeDef
|
|
819
825
|
NextToken: NotRequired[str]
|
|
820
826
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
1
|
+
Metadata-Version: 2.2
|
|
2
2
|
Name: mypy-boto3-organizations
|
|
3
|
-
Version: 1.
|
|
4
|
-
Summary: Type annotations for boto3 Organizations 1.
|
|
3
|
+
Version: 1.36.0
|
|
4
|
+
Summary: Type annotations for boto3 Organizations 1.36.0 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
|
|
@@ -31,6 +31,18 @@ Requires-Python: >=3.8
|
|
|
31
31
|
Description-Content-Type: text/markdown
|
|
32
32
|
License-File: LICENSE
|
|
33
33
|
Requires-Dist: typing-extensions; python_version < "3.12"
|
|
34
|
+
Dynamic: author
|
|
35
|
+
Dynamic: author-email
|
|
36
|
+
Dynamic: classifier
|
|
37
|
+
Dynamic: description
|
|
38
|
+
Dynamic: description-content-type
|
|
39
|
+
Dynamic: home-page
|
|
40
|
+
Dynamic: keywords
|
|
41
|
+
Dynamic: license
|
|
42
|
+
Dynamic: project-url
|
|
43
|
+
Dynamic: requires-dist
|
|
44
|
+
Dynamic: requires-python
|
|
45
|
+
Dynamic: summary
|
|
34
46
|
|
|
35
47
|
<a id="mypy-boto3-organizations"></a>
|
|
36
48
|
|
|
@@ -44,7 +56,7 @@ Requires-Dist: typing-extensions; python_version < "3.12"
|
|
|
44
56
|

|
|
45
57
|
|
|
46
58
|
Type annotations for
|
|
47
|
-
[boto3 Organizations 1.
|
|
59
|
+
[boto3 Organizations 1.36.0](https://pypi.org/project/boto3/) compatible with
|
|
48
60
|
[VSCode](https://code.visualstudio.com/),
|
|
49
61
|
[PyCharm](https://www.jetbrains.com/pycharm/),
|
|
50
62
|
[Emacs](https://www.gnu.org/software/emacs/),
|
|
@@ -53,7 +65,7 @@ Type annotations for
|
|
|
53
65
|
[pyright](https://github.com/microsoft/pyright) and other tools.
|
|
54
66
|
|
|
55
67
|
Generated with
|
|
56
|
-
[mypy-boto3-builder 8.
|
|
68
|
+
[mypy-boto3-builder 8.8.0](https://github.com/youtype/mypy_boto3_builder).
|
|
57
69
|
|
|
58
70
|
More information can be found on
|
|
59
71
|
[boto3-stubs](https://pypi.org/project/boto3-stubs/) page and in
|
|
@@ -106,7 +118,7 @@ You can generate type annotations for `boto3` package locally with
|
|
|
106
118
|
isolation.
|
|
107
119
|
|
|
108
120
|
1. Run mypy-boto3-builder in your package root directory:
|
|
109
|
-
`uvx --with 'boto3==1.
|
|
121
|
+
`uvx --with 'boto3==1.36.0' mypy_boto3_builder`
|
|
110
122
|
2. Select `boto3-stubs` AWS SDK.
|
|
111
123
|
3. Add `Organizations` service.
|
|
112
124
|
4. Use provided commands to install generated packages.
|
|
@@ -13,13 +13,13 @@ LONG_DESCRIPTION = (Path(__file__).parent / "README.md").read_text()
|
|
|
13
13
|
|
|
14
14
|
setup(
|
|
15
15
|
name="mypy-boto3-organizations",
|
|
16
|
-
version="1.
|
|
16
|
+
version="1.36.0",
|
|
17
17
|
packages=["mypy_boto3_organizations"],
|
|
18
18
|
url="https://github.com/youtype/mypy_boto3_builder",
|
|
19
19
|
license="MIT License",
|
|
20
20
|
author="Vlad Emelianov",
|
|
21
21
|
author_email="vlad.emelianov.nz@gmail.com",
|
|
22
|
-
description="Type annotations for boto3 Organizations 1.
|
|
22
|
+
description="Type annotations for boto3 Organizations 1.36.0 service generated with mypy-boto3-builder 8.8.0",
|
|
23
23
|
classifiers=[
|
|
24
24
|
"Development Status :: 5 - Production/Stable",
|
|
25
25
|
"Intended Audience :: Developers",
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|