mypy-boto3-organizations 1.35.5__py3-none-any.whl → 1.35.28__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.
- mypy_boto3_organizations/__init__.py +1 -0
- mypy_boto3_organizations/__main__.py +4 -4
- mypy_boto3_organizations/client.py +134 -93
- mypy_boto3_organizations/client.pyi +133 -93
- mypy_boto3_organizations/literals.py +12 -3
- mypy_boto3_organizations/literals.pyi +10 -3
- mypy_boto3_organizations/paginator.py +59 -39
- mypy_boto3_organizations/paginator.pyi +57 -55
- mypy_boto3_organizations/type_defs.py +53 -15
- mypy_boto3_organizations/type_defs.pyi +52 -15
- mypy_boto3_organizations/version.py +1 -1
- {mypy_boto3_organizations-1.35.5.dist-info → mypy_boto3_organizations-1.35.28.dist-info}/METADATA +7 -8
- mypy_boto3_organizations-1.35.28.dist-info/RECORD +18 -0
- {mypy_boto3_organizations-1.35.5.dist-info → mypy_boto3_organizations-1.35.28.dist-info}/WHEEL +1 -1
- mypy_boto3_organizations-1.35.5.dist-info/RECORD +0 -18
- {mypy_boto3_organizations-1.35.5.dist-info → mypy_boto3_organizations-1.35.28.dist-info}/LICENSE +0 -0
- {mypy_boto3_organizations-1.35.5.dist-info → mypy_boto3_organizations-1.35.28.dist-info}/top_level.txt +0 -0
|
@@ -10,9 +10,9 @@ def print_info() -> None:
|
|
|
10
10
|
Print package info to stdout.
|
|
11
11
|
"""
|
|
12
12
|
print(
|
|
13
|
-
"Type annotations for boto3.Organizations 1.35.
|
|
14
|
-
"Version: 1.35.
|
|
15
|
-
"Builder version:
|
|
13
|
+
"Type annotations for boto3.Organizations 1.35.28\n"
|
|
14
|
+
"Version: 1.35.28\n"
|
|
15
|
+
"Builder version: 8.1.2\n"
|
|
16
16
|
"Docs: https://youtype.github.io/boto3_stubs_docs/mypy_boto3_organizations//\n"
|
|
17
17
|
"Boto3 docs: https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/organizations.html#Organizations\n"
|
|
18
18
|
"Other services: https://pypi.org/project/boto3-stubs/\n"
|
|
@@ -24,7 +24,7 @@ def print_version() -> None:
|
|
|
24
24
|
"""
|
|
25
25
|
Print package version to stdout.
|
|
26
26
|
"""
|
|
27
|
-
print("1.35.
|
|
27
|
+
print("1.35.28")
|
|
28
28
|
|
|
29
29
|
|
|
30
30
|
def main() -> None:
|
|
@@ -15,18 +15,10 @@ Usage::
|
|
|
15
15
|
"""
|
|
16
16
|
|
|
17
17
|
import sys
|
|
18
|
-
from typing import Any, Dict, Mapping,
|
|
18
|
+
from typing import Any, Dict, Mapping, Type, overload
|
|
19
19
|
|
|
20
20
|
from botocore.client import BaseClient, ClientMeta
|
|
21
21
|
|
|
22
|
-
from .literals import (
|
|
23
|
-
ChildTypeType,
|
|
24
|
-
CreateAccountStateType,
|
|
25
|
-
EffectivePolicyTypeType,
|
|
26
|
-
IAMUserAccessToBillingType,
|
|
27
|
-
OrganizationFeatureSetType,
|
|
28
|
-
PolicyTypeType,
|
|
29
|
-
)
|
|
30
22
|
from .paginator import (
|
|
31
23
|
ListAccountsForParentPaginator,
|
|
32
24
|
ListAccountsPaginator,
|
|
@@ -46,55 +38,102 @@ from .paginator import (
|
|
|
46
38
|
ListTargetsForPolicyPaginator,
|
|
47
39
|
)
|
|
48
40
|
from .type_defs import (
|
|
41
|
+
AcceptHandshakeRequestRequestTypeDef,
|
|
49
42
|
AcceptHandshakeResponseTypeDef,
|
|
43
|
+
AttachPolicyRequestRequestTypeDef,
|
|
44
|
+
CancelHandshakeRequestRequestTypeDef,
|
|
50
45
|
CancelHandshakeResponseTypeDef,
|
|
46
|
+
CloseAccountRequestRequestTypeDef,
|
|
47
|
+
CreateAccountRequestRequestTypeDef,
|
|
51
48
|
CreateAccountResponseTypeDef,
|
|
49
|
+
CreateGovCloudAccountRequestRequestTypeDef,
|
|
52
50
|
CreateGovCloudAccountResponseTypeDef,
|
|
51
|
+
CreateOrganizationalUnitRequestRequestTypeDef,
|
|
53
52
|
CreateOrganizationalUnitResponseTypeDef,
|
|
53
|
+
CreateOrganizationRequestRequestTypeDef,
|
|
54
54
|
CreateOrganizationResponseTypeDef,
|
|
55
|
+
CreatePolicyRequestRequestTypeDef,
|
|
55
56
|
CreatePolicyResponseTypeDef,
|
|
57
|
+
DeclineHandshakeRequestRequestTypeDef,
|
|
56
58
|
DeclineHandshakeResponseTypeDef,
|
|
59
|
+
DeleteOrganizationalUnitRequestRequestTypeDef,
|
|
60
|
+
DeletePolicyRequestRequestTypeDef,
|
|
61
|
+
DeregisterDelegatedAdministratorRequestRequestTypeDef,
|
|
62
|
+
DescribeAccountRequestRequestTypeDef,
|
|
57
63
|
DescribeAccountResponseTypeDef,
|
|
64
|
+
DescribeCreateAccountStatusRequestRequestTypeDef,
|
|
58
65
|
DescribeCreateAccountStatusResponseTypeDef,
|
|
66
|
+
DescribeEffectivePolicyRequestRequestTypeDef,
|
|
59
67
|
DescribeEffectivePolicyResponseTypeDef,
|
|
68
|
+
DescribeHandshakeRequestRequestTypeDef,
|
|
60
69
|
DescribeHandshakeResponseTypeDef,
|
|
70
|
+
DescribeOrganizationalUnitRequestRequestTypeDef,
|
|
61
71
|
DescribeOrganizationalUnitResponseTypeDef,
|
|
62
72
|
DescribeOrganizationResponseTypeDef,
|
|
73
|
+
DescribePolicyRequestRequestTypeDef,
|
|
63
74
|
DescribePolicyResponseTypeDef,
|
|
64
75
|
DescribeResourcePolicyResponseTypeDef,
|
|
76
|
+
DetachPolicyRequestRequestTypeDef,
|
|
77
|
+
DisableAWSServiceAccessRequestRequestTypeDef,
|
|
78
|
+
DisablePolicyTypeRequestRequestTypeDef,
|
|
65
79
|
DisablePolicyTypeResponseTypeDef,
|
|
66
80
|
EmptyResponseMetadataTypeDef,
|
|
67
81
|
EnableAllFeaturesResponseTypeDef,
|
|
82
|
+
EnableAWSServiceAccessRequestRequestTypeDef,
|
|
83
|
+
EnablePolicyTypeRequestRequestTypeDef,
|
|
68
84
|
EnablePolicyTypeResponseTypeDef,
|
|
69
|
-
|
|
70
|
-
HandshakePartyTypeDef,
|
|
85
|
+
InviteAccountToOrganizationRequestRequestTypeDef,
|
|
71
86
|
InviteAccountToOrganizationResponseTypeDef,
|
|
87
|
+
ListAccountsForParentRequestRequestTypeDef,
|
|
72
88
|
ListAccountsForParentResponseTypeDef,
|
|
89
|
+
ListAccountsRequestRequestTypeDef,
|
|
73
90
|
ListAccountsResponseTypeDef,
|
|
91
|
+
ListAWSServiceAccessForOrganizationRequestRequestTypeDef,
|
|
74
92
|
ListAWSServiceAccessForOrganizationResponseTypeDef,
|
|
93
|
+
ListChildrenRequestRequestTypeDef,
|
|
75
94
|
ListChildrenResponseTypeDef,
|
|
95
|
+
ListCreateAccountStatusRequestRequestTypeDef,
|
|
76
96
|
ListCreateAccountStatusResponseTypeDef,
|
|
97
|
+
ListDelegatedAdministratorsRequestRequestTypeDef,
|
|
77
98
|
ListDelegatedAdministratorsResponseTypeDef,
|
|
99
|
+
ListDelegatedServicesForAccountRequestRequestTypeDef,
|
|
78
100
|
ListDelegatedServicesForAccountResponseTypeDef,
|
|
101
|
+
ListHandshakesForAccountRequestRequestTypeDef,
|
|
79
102
|
ListHandshakesForAccountResponseTypeDef,
|
|
103
|
+
ListHandshakesForOrganizationRequestRequestTypeDef,
|
|
80
104
|
ListHandshakesForOrganizationResponseTypeDef,
|
|
105
|
+
ListOrganizationalUnitsForParentRequestRequestTypeDef,
|
|
81
106
|
ListOrganizationalUnitsForParentResponseTypeDef,
|
|
107
|
+
ListParentsRequestRequestTypeDef,
|
|
82
108
|
ListParentsResponseTypeDef,
|
|
109
|
+
ListPoliciesForTargetRequestRequestTypeDef,
|
|
83
110
|
ListPoliciesForTargetResponseTypeDef,
|
|
111
|
+
ListPoliciesRequestRequestTypeDef,
|
|
84
112
|
ListPoliciesResponseTypeDef,
|
|
113
|
+
ListRootsRequestRequestTypeDef,
|
|
85
114
|
ListRootsResponseTypeDef,
|
|
115
|
+
ListTagsForResourceRequestRequestTypeDef,
|
|
86
116
|
ListTagsForResourceResponseTypeDef,
|
|
117
|
+
ListTargetsForPolicyRequestRequestTypeDef,
|
|
87
118
|
ListTargetsForPolicyResponseTypeDef,
|
|
119
|
+
MoveAccountRequestRequestTypeDef,
|
|
120
|
+
PutResourcePolicyRequestRequestTypeDef,
|
|
88
121
|
PutResourcePolicyResponseTypeDef,
|
|
89
|
-
|
|
122
|
+
RegisterDelegatedAdministratorRequestRequestTypeDef,
|
|
123
|
+
RemoveAccountFromOrganizationRequestRequestTypeDef,
|
|
124
|
+
TagResourceRequestRequestTypeDef,
|
|
125
|
+
UntagResourceRequestRequestTypeDef,
|
|
126
|
+
UpdateOrganizationalUnitRequestRequestTypeDef,
|
|
90
127
|
UpdateOrganizationalUnitResponseTypeDef,
|
|
128
|
+
UpdatePolicyRequestRequestTypeDef,
|
|
91
129
|
UpdatePolicyResponseTypeDef,
|
|
92
130
|
)
|
|
93
131
|
|
|
94
132
|
if sys.version_info >= (3, 12):
|
|
95
|
-
from typing import Literal
|
|
133
|
+
from typing import Literal, Unpack
|
|
96
134
|
else:
|
|
97
|
-
from typing_extensions import Literal
|
|
135
|
+
from typing_extensions import Literal, Unpack
|
|
136
|
+
|
|
98
137
|
|
|
99
138
|
__all__ = ("OrganizationsClient",)
|
|
100
139
|
|
|
@@ -175,7 +214,9 @@ class OrganizationsClient(BaseClient):
|
|
|
175
214
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_organizations/client/#exceptions)
|
|
176
215
|
"""
|
|
177
216
|
|
|
178
|
-
def accept_handshake(
|
|
217
|
+
def accept_handshake(
|
|
218
|
+
self, **kwargs: Unpack[AcceptHandshakeRequestRequestTypeDef]
|
|
219
|
+
) -> AcceptHandshakeResponseTypeDef:
|
|
179
220
|
"""
|
|
180
221
|
Sends a response to the originator of a handshake agreeing to the action
|
|
181
222
|
proposed by the handshake
|
|
@@ -185,7 +226,9 @@ class OrganizationsClient(BaseClient):
|
|
|
185
226
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_organizations/client/#accept_handshake)
|
|
186
227
|
"""
|
|
187
228
|
|
|
188
|
-
def attach_policy(
|
|
229
|
+
def attach_policy(
|
|
230
|
+
self, **kwargs: Unpack[AttachPolicyRequestRequestTypeDef]
|
|
231
|
+
) -> EmptyResponseMetadataTypeDef:
|
|
189
232
|
"""
|
|
190
233
|
Attaches a policy to a root, an organizational unit (OU), or an individual
|
|
191
234
|
account.
|
|
@@ -202,7 +245,9 @@ class OrganizationsClient(BaseClient):
|
|
|
202
245
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_organizations/client/#can_paginate)
|
|
203
246
|
"""
|
|
204
247
|
|
|
205
|
-
def cancel_handshake(
|
|
248
|
+
def cancel_handshake(
|
|
249
|
+
self, **kwargs: Unpack[CancelHandshakeRequestRequestTypeDef]
|
|
250
|
+
) -> CancelHandshakeResponseTypeDef:
|
|
206
251
|
"""
|
|
207
252
|
Cancels a handshake.
|
|
208
253
|
|
|
@@ -218,7 +263,9 @@ class OrganizationsClient(BaseClient):
|
|
|
218
263
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_organizations/client/#close)
|
|
219
264
|
"""
|
|
220
265
|
|
|
221
|
-
def close_account(
|
|
266
|
+
def close_account(
|
|
267
|
+
self, **kwargs: Unpack[CloseAccountRequestRequestTypeDef]
|
|
268
|
+
) -> EmptyResponseMetadataTypeDef:
|
|
222
269
|
"""
|
|
223
270
|
Closes an Amazon Web Services member account within an organization.
|
|
224
271
|
|
|
@@ -227,13 +274,7 @@ class OrganizationsClient(BaseClient):
|
|
|
227
274
|
"""
|
|
228
275
|
|
|
229
276
|
def create_account(
|
|
230
|
-
self,
|
|
231
|
-
*,
|
|
232
|
-
Email: str,
|
|
233
|
-
AccountName: str,
|
|
234
|
-
RoleName: str = ...,
|
|
235
|
-
IamUserAccessToBilling: IAMUserAccessToBillingType = ...,
|
|
236
|
-
Tags: Sequence[TagTypeDef] = ...,
|
|
277
|
+
self, **kwargs: Unpack[CreateAccountRequestRequestTypeDef]
|
|
237
278
|
) -> CreateAccountResponseTypeDef:
|
|
238
279
|
"""
|
|
239
280
|
Creates an Amazon Web Services account that is automatically a member of the
|
|
@@ -245,13 +286,7 @@ class OrganizationsClient(BaseClient):
|
|
|
245
286
|
"""
|
|
246
287
|
|
|
247
288
|
def create_gov_cloud_account(
|
|
248
|
-
self,
|
|
249
|
-
*,
|
|
250
|
-
Email: str,
|
|
251
|
-
AccountName: str,
|
|
252
|
-
RoleName: str = ...,
|
|
253
|
-
IamUserAccessToBilling: IAMUserAccessToBillingType = ...,
|
|
254
|
-
Tags: Sequence[TagTypeDef] = ...,
|
|
289
|
+
self, **kwargs: Unpack[CreateGovCloudAccountRequestRequestTypeDef]
|
|
255
290
|
) -> CreateGovCloudAccountResponseTypeDef:
|
|
256
291
|
"""
|
|
257
292
|
This action is available if all of the following are true: * You're authorized
|
|
@@ -263,7 +298,7 @@ class OrganizationsClient(BaseClient):
|
|
|
263
298
|
"""
|
|
264
299
|
|
|
265
300
|
def create_organization(
|
|
266
|
-
self,
|
|
301
|
+
self, **kwargs: Unpack[CreateOrganizationRequestRequestTypeDef]
|
|
267
302
|
) -> CreateOrganizationResponseTypeDef:
|
|
268
303
|
"""
|
|
269
304
|
Creates an Amazon Web Services organization.
|
|
@@ -273,7 +308,7 @@ class OrganizationsClient(BaseClient):
|
|
|
273
308
|
"""
|
|
274
309
|
|
|
275
310
|
def create_organizational_unit(
|
|
276
|
-
self,
|
|
311
|
+
self, **kwargs: Unpack[CreateOrganizationalUnitRequestRequestTypeDef]
|
|
277
312
|
) -> CreateOrganizationalUnitResponseTypeDef:
|
|
278
313
|
"""
|
|
279
314
|
Creates an organizational unit (OU) within a root or parent OU.
|
|
@@ -283,13 +318,7 @@ class OrganizationsClient(BaseClient):
|
|
|
283
318
|
"""
|
|
284
319
|
|
|
285
320
|
def create_policy(
|
|
286
|
-
self,
|
|
287
|
-
*,
|
|
288
|
-
Content: str,
|
|
289
|
-
Description: str,
|
|
290
|
-
Name: str,
|
|
291
|
-
Type: PolicyTypeType,
|
|
292
|
-
Tags: Sequence[TagTypeDef] = ...,
|
|
321
|
+
self, **kwargs: Unpack[CreatePolicyRequestRequestTypeDef]
|
|
293
322
|
) -> CreatePolicyResponseTypeDef:
|
|
294
323
|
"""
|
|
295
324
|
Creates a policy of a specified type that you can attach to a root, an
|
|
@@ -300,7 +329,9 @@ class OrganizationsClient(BaseClient):
|
|
|
300
329
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_organizations/client/#create_policy)
|
|
301
330
|
"""
|
|
302
331
|
|
|
303
|
-
def decline_handshake(
|
|
332
|
+
def decline_handshake(
|
|
333
|
+
self, **kwargs: Unpack[DeclineHandshakeRequestRequestTypeDef]
|
|
334
|
+
) -> DeclineHandshakeResponseTypeDef:
|
|
304
335
|
"""
|
|
305
336
|
Declines a handshake request.
|
|
306
337
|
|
|
@@ -317,7 +348,7 @@ class OrganizationsClient(BaseClient):
|
|
|
317
348
|
"""
|
|
318
349
|
|
|
319
350
|
def delete_organizational_unit(
|
|
320
|
-
self,
|
|
351
|
+
self, **kwargs: Unpack[DeleteOrganizationalUnitRequestRequestTypeDef]
|
|
321
352
|
) -> EmptyResponseMetadataTypeDef:
|
|
322
353
|
"""
|
|
323
354
|
Deletes an organizational unit (OU) from a root or another OU.
|
|
@@ -326,7 +357,9 @@ class OrganizationsClient(BaseClient):
|
|
|
326
357
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_organizations/client/#delete_organizational_unit)
|
|
327
358
|
"""
|
|
328
359
|
|
|
329
|
-
def delete_policy(
|
|
360
|
+
def delete_policy(
|
|
361
|
+
self, **kwargs: Unpack[DeletePolicyRequestRequestTypeDef]
|
|
362
|
+
) -> EmptyResponseMetadataTypeDef:
|
|
330
363
|
"""
|
|
331
364
|
Deletes the specified policy from your organization.
|
|
332
365
|
|
|
@@ -343,7 +376,7 @@ class OrganizationsClient(BaseClient):
|
|
|
343
376
|
"""
|
|
344
377
|
|
|
345
378
|
def deregister_delegated_administrator(
|
|
346
|
-
self,
|
|
379
|
+
self, **kwargs: Unpack[DeregisterDelegatedAdministratorRequestRequestTypeDef]
|
|
347
380
|
) -> EmptyResponseMetadataTypeDef:
|
|
348
381
|
"""
|
|
349
382
|
Removes the specified member Amazon Web Services account as a delegated
|
|
@@ -354,7 +387,9 @@ class OrganizationsClient(BaseClient):
|
|
|
354
387
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_organizations/client/#deregister_delegated_administrator)
|
|
355
388
|
"""
|
|
356
389
|
|
|
357
|
-
def describe_account(
|
|
390
|
+
def describe_account(
|
|
391
|
+
self, **kwargs: Unpack[DescribeAccountRequestRequestTypeDef]
|
|
392
|
+
) -> DescribeAccountResponseTypeDef:
|
|
358
393
|
"""
|
|
359
394
|
Retrieves Organizations-related information about the specified account.
|
|
360
395
|
|
|
@@ -363,7 +398,7 @@ class OrganizationsClient(BaseClient):
|
|
|
363
398
|
"""
|
|
364
399
|
|
|
365
400
|
def describe_create_account_status(
|
|
366
|
-
self,
|
|
401
|
+
self, **kwargs: Unpack[DescribeCreateAccountStatusRequestRequestTypeDef]
|
|
367
402
|
) -> DescribeCreateAccountStatusResponseTypeDef:
|
|
368
403
|
"""
|
|
369
404
|
Retrieves the current status of an asynchronous request to create an account.
|
|
@@ -373,7 +408,7 @@ class OrganizationsClient(BaseClient):
|
|
|
373
408
|
"""
|
|
374
409
|
|
|
375
410
|
def describe_effective_policy(
|
|
376
|
-
self,
|
|
411
|
+
self, **kwargs: Unpack[DescribeEffectivePolicyRequestRequestTypeDef]
|
|
377
412
|
) -> DescribeEffectivePolicyResponseTypeDef:
|
|
378
413
|
"""
|
|
379
414
|
Returns the contents of the effective policy for specified policy type and
|
|
@@ -383,7 +418,9 @@ class OrganizationsClient(BaseClient):
|
|
|
383
418
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_organizations/client/#describe_effective_policy)
|
|
384
419
|
"""
|
|
385
420
|
|
|
386
|
-
def describe_handshake(
|
|
421
|
+
def describe_handshake(
|
|
422
|
+
self, **kwargs: Unpack[DescribeHandshakeRequestRequestTypeDef]
|
|
423
|
+
) -> DescribeHandshakeResponseTypeDef:
|
|
387
424
|
"""
|
|
388
425
|
Retrieves information about a previously requested handshake.
|
|
389
426
|
|
|
@@ -400,7 +437,7 @@ class OrganizationsClient(BaseClient):
|
|
|
400
437
|
"""
|
|
401
438
|
|
|
402
439
|
def describe_organizational_unit(
|
|
403
|
-
self,
|
|
440
|
+
self, **kwargs: Unpack[DescribeOrganizationalUnitRequestRequestTypeDef]
|
|
404
441
|
) -> DescribeOrganizationalUnitResponseTypeDef:
|
|
405
442
|
"""
|
|
406
443
|
Retrieves information about an organizational unit (OU).
|
|
@@ -409,7 +446,9 @@ class OrganizationsClient(BaseClient):
|
|
|
409
446
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_organizations/client/#describe_organizational_unit)
|
|
410
447
|
"""
|
|
411
448
|
|
|
412
|
-
def describe_policy(
|
|
449
|
+
def describe_policy(
|
|
450
|
+
self, **kwargs: Unpack[DescribePolicyRequestRequestTypeDef]
|
|
451
|
+
) -> DescribePolicyResponseTypeDef:
|
|
413
452
|
"""
|
|
414
453
|
Retrieves information about a policy.
|
|
415
454
|
|
|
@@ -425,7 +464,9 @@ class OrganizationsClient(BaseClient):
|
|
|
425
464
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_organizations/client/#describe_resource_policy)
|
|
426
465
|
"""
|
|
427
466
|
|
|
428
|
-
def detach_policy(
|
|
467
|
+
def detach_policy(
|
|
468
|
+
self, **kwargs: Unpack[DetachPolicyRequestRequestTypeDef]
|
|
469
|
+
) -> EmptyResponseMetadataTypeDef:
|
|
429
470
|
"""
|
|
430
471
|
Detaches a policy from a target root, organizational unit (OU), or account.
|
|
431
472
|
|
|
@@ -433,7 +474,9 @@ class OrganizationsClient(BaseClient):
|
|
|
433
474
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_organizations/client/#detach_policy)
|
|
434
475
|
"""
|
|
435
476
|
|
|
436
|
-
def disable_aws_service_access(
|
|
477
|
+
def disable_aws_service_access(
|
|
478
|
+
self, **kwargs: Unpack[DisableAWSServiceAccessRequestRequestTypeDef]
|
|
479
|
+
) -> EmptyResponseMetadataTypeDef:
|
|
437
480
|
"""
|
|
438
481
|
Disables the integration of an Amazon Web Services service (the service that is
|
|
439
482
|
specified by `ServicePrincipal`) with
|
|
@@ -444,7 +487,7 @@ class OrganizationsClient(BaseClient):
|
|
|
444
487
|
"""
|
|
445
488
|
|
|
446
489
|
def disable_policy_type(
|
|
447
|
-
self,
|
|
490
|
+
self, **kwargs: Unpack[DisablePolicyTypeRequestRequestTypeDef]
|
|
448
491
|
) -> DisablePolicyTypeResponseTypeDef:
|
|
449
492
|
"""
|
|
450
493
|
Disables an organizational policy type in a root.
|
|
@@ -461,18 +504,23 @@ class OrganizationsClient(BaseClient):
|
|
|
461
504
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_organizations/client/#enable_all_features)
|
|
462
505
|
"""
|
|
463
506
|
|
|
464
|
-
def enable_aws_service_access(
|
|
507
|
+
def enable_aws_service_access(
|
|
508
|
+
self, **kwargs: Unpack[EnableAWSServiceAccessRequestRequestTypeDef]
|
|
509
|
+
) -> EmptyResponseMetadataTypeDef:
|
|
465
510
|
"""
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
511
|
+
Provides an Amazon Web Services service (the service that is specified by
|
|
512
|
+
`ServicePrincipal`) with permissions to view the structure of an organization,
|
|
513
|
+
create a [service-linked
|
|
514
|
+
role](https://docs.aws.amazon.com/IAM/latest/UserGuide/using-service-linked-roles.html)
|
|
515
|
+
in all the accounts in
|
|
516
|
+
the...
|
|
469
517
|
|
|
470
518
|
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/organizations.html#Organizations.Client.enable_aws_service_access)
|
|
471
519
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_organizations/client/#enable_aws_service_access)
|
|
472
520
|
"""
|
|
473
521
|
|
|
474
522
|
def enable_policy_type(
|
|
475
|
-
self,
|
|
523
|
+
self, **kwargs: Unpack[EnablePolicyTypeRequestRequestTypeDef]
|
|
476
524
|
) -> EnablePolicyTypeResponseTypeDef:
|
|
477
525
|
"""
|
|
478
526
|
Enables a policy type in a root.
|
|
@@ -496,7 +544,7 @@ class OrganizationsClient(BaseClient):
|
|
|
496
544
|
"""
|
|
497
545
|
|
|
498
546
|
def invite_account_to_organization(
|
|
499
|
-
self,
|
|
547
|
+
self, **kwargs: Unpack[InviteAccountToOrganizationRequestRequestTypeDef]
|
|
500
548
|
) -> InviteAccountToOrganizationResponseTypeDef:
|
|
501
549
|
"""
|
|
502
550
|
Sends an invitation to another account to join your organization as a member
|
|
@@ -515,7 +563,7 @@ class OrganizationsClient(BaseClient):
|
|
|
515
563
|
"""
|
|
516
564
|
|
|
517
565
|
def list_accounts(
|
|
518
|
-
self,
|
|
566
|
+
self, **kwargs: Unpack[ListAccountsRequestRequestTypeDef]
|
|
519
567
|
) -> ListAccountsResponseTypeDef:
|
|
520
568
|
"""
|
|
521
569
|
Lists all the accounts in the organization.
|
|
@@ -525,7 +573,7 @@ class OrganizationsClient(BaseClient):
|
|
|
525
573
|
"""
|
|
526
574
|
|
|
527
575
|
def list_accounts_for_parent(
|
|
528
|
-
self,
|
|
576
|
+
self, **kwargs: Unpack[ListAccountsForParentRequestRequestTypeDef]
|
|
529
577
|
) -> ListAccountsForParentResponseTypeDef:
|
|
530
578
|
"""
|
|
531
579
|
Lists the accounts in an organization that are contained by the specified
|
|
@@ -537,7 +585,7 @@ class OrganizationsClient(BaseClient):
|
|
|
537
585
|
"""
|
|
538
586
|
|
|
539
587
|
def list_aws_service_access_for_organization(
|
|
540
|
-
self,
|
|
588
|
+
self, **kwargs: Unpack[ListAWSServiceAccessForOrganizationRequestRequestTypeDef]
|
|
541
589
|
) -> ListAWSServiceAccessForOrganizationResponseTypeDef:
|
|
542
590
|
"""
|
|
543
591
|
Returns a list of the Amazon Web Services services that you enabled to
|
|
@@ -549,12 +597,7 @@ class OrganizationsClient(BaseClient):
|
|
|
549
597
|
"""
|
|
550
598
|
|
|
551
599
|
def list_children(
|
|
552
|
-
self,
|
|
553
|
-
*,
|
|
554
|
-
ParentId: str,
|
|
555
|
-
ChildType: ChildTypeType,
|
|
556
|
-
NextToken: str = ...,
|
|
557
|
-
MaxResults: int = ...,
|
|
600
|
+
self, **kwargs: Unpack[ListChildrenRequestRequestTypeDef]
|
|
558
601
|
) -> ListChildrenResponseTypeDef:
|
|
559
602
|
"""
|
|
560
603
|
Lists all of the organizational units (OUs) or accounts that are contained in
|
|
@@ -566,11 +609,7 @@ class OrganizationsClient(BaseClient):
|
|
|
566
609
|
"""
|
|
567
610
|
|
|
568
611
|
def list_create_account_status(
|
|
569
|
-
self,
|
|
570
|
-
*,
|
|
571
|
-
States: Sequence[CreateAccountStateType] = ...,
|
|
572
|
-
NextToken: str = ...,
|
|
573
|
-
MaxResults: int = ...,
|
|
612
|
+
self, **kwargs: Unpack[ListCreateAccountStatusRequestRequestTypeDef]
|
|
574
613
|
) -> ListCreateAccountStatusResponseTypeDef:
|
|
575
614
|
"""
|
|
576
615
|
Lists the account creation requests that match the specified status that is
|
|
@@ -582,7 +621,7 @@ class OrganizationsClient(BaseClient):
|
|
|
582
621
|
"""
|
|
583
622
|
|
|
584
623
|
def list_delegated_administrators(
|
|
585
|
-
self,
|
|
624
|
+
self, **kwargs: Unpack[ListDelegatedAdministratorsRequestRequestTypeDef]
|
|
586
625
|
) -> ListDelegatedAdministratorsResponseTypeDef:
|
|
587
626
|
"""
|
|
588
627
|
Lists the Amazon Web Services accounts that are designated as delegated
|
|
@@ -594,7 +633,7 @@ class OrganizationsClient(BaseClient):
|
|
|
594
633
|
"""
|
|
595
634
|
|
|
596
635
|
def list_delegated_services_for_account(
|
|
597
|
-
self,
|
|
636
|
+
self, **kwargs: Unpack[ListDelegatedServicesForAccountRequestRequestTypeDef]
|
|
598
637
|
) -> ListDelegatedServicesForAccountResponseTypeDef:
|
|
599
638
|
"""
|
|
600
639
|
List the Amazon Web Services services for which the specified account is a
|
|
@@ -606,7 +645,7 @@ class OrganizationsClient(BaseClient):
|
|
|
606
645
|
"""
|
|
607
646
|
|
|
608
647
|
def list_handshakes_for_account(
|
|
609
|
-
self,
|
|
648
|
+
self, **kwargs: Unpack[ListHandshakesForAccountRequestRequestTypeDef]
|
|
610
649
|
) -> ListHandshakesForAccountResponseTypeDef:
|
|
611
650
|
"""
|
|
612
651
|
Lists the current handshakes that are associated with the account of the
|
|
@@ -618,7 +657,7 @@ class OrganizationsClient(BaseClient):
|
|
|
618
657
|
"""
|
|
619
658
|
|
|
620
659
|
def list_handshakes_for_organization(
|
|
621
|
-
self,
|
|
660
|
+
self, **kwargs: Unpack[ListHandshakesForOrganizationRequestRequestTypeDef]
|
|
622
661
|
) -> ListHandshakesForOrganizationResponseTypeDef:
|
|
623
662
|
"""
|
|
624
663
|
Lists the handshakes that are associated with the organization that the
|
|
@@ -630,7 +669,7 @@ class OrganizationsClient(BaseClient):
|
|
|
630
669
|
"""
|
|
631
670
|
|
|
632
671
|
def list_organizational_units_for_parent(
|
|
633
|
-
self,
|
|
672
|
+
self, **kwargs: Unpack[ListOrganizationalUnitsForParentRequestRequestTypeDef]
|
|
634
673
|
) -> ListOrganizationalUnitsForParentResponseTypeDef:
|
|
635
674
|
"""
|
|
636
675
|
Lists the organizational units (OUs) in a parent organizational unit or root.
|
|
@@ -640,7 +679,7 @@ class OrganizationsClient(BaseClient):
|
|
|
640
679
|
"""
|
|
641
680
|
|
|
642
681
|
def list_parents(
|
|
643
|
-
self,
|
|
682
|
+
self, **kwargs: Unpack[ListParentsRequestRequestTypeDef]
|
|
644
683
|
) -> ListParentsResponseTypeDef:
|
|
645
684
|
"""
|
|
646
685
|
Lists the root or organizational units (OUs) that serve as the immediate parent
|
|
@@ -652,7 +691,7 @@ class OrganizationsClient(BaseClient):
|
|
|
652
691
|
"""
|
|
653
692
|
|
|
654
693
|
def list_policies(
|
|
655
|
-
self,
|
|
694
|
+
self, **kwargs: Unpack[ListPoliciesRequestRequestTypeDef]
|
|
656
695
|
) -> ListPoliciesResponseTypeDef:
|
|
657
696
|
"""
|
|
658
697
|
Retrieves the list of all policies in an organization of a specified type.
|
|
@@ -662,7 +701,7 @@ class OrganizationsClient(BaseClient):
|
|
|
662
701
|
"""
|
|
663
702
|
|
|
664
703
|
def list_policies_for_target(
|
|
665
|
-
self,
|
|
704
|
+
self, **kwargs: Unpack[ListPoliciesForTargetRequestRequestTypeDef]
|
|
666
705
|
) -> ListPoliciesForTargetResponseTypeDef:
|
|
667
706
|
"""
|
|
668
707
|
Lists the policies that are directly attached to the specified target root,
|
|
@@ -674,7 +713,7 @@ class OrganizationsClient(BaseClient):
|
|
|
674
713
|
"""
|
|
675
714
|
|
|
676
715
|
def list_roots(
|
|
677
|
-
self,
|
|
716
|
+
self, **kwargs: Unpack[ListRootsRequestRequestTypeDef]
|
|
678
717
|
) -> ListRootsResponseTypeDef:
|
|
679
718
|
"""
|
|
680
719
|
Lists the roots that are defined in the current organization.
|
|
@@ -684,7 +723,7 @@ class OrganizationsClient(BaseClient):
|
|
|
684
723
|
"""
|
|
685
724
|
|
|
686
725
|
def list_tags_for_resource(
|
|
687
|
-
self,
|
|
726
|
+
self, **kwargs: Unpack[ListTagsForResourceRequestRequestTypeDef]
|
|
688
727
|
) -> ListTagsForResourceResponseTypeDef:
|
|
689
728
|
"""
|
|
690
729
|
Lists tags that are attached to the specified resource.
|
|
@@ -694,7 +733,7 @@ class OrganizationsClient(BaseClient):
|
|
|
694
733
|
"""
|
|
695
734
|
|
|
696
735
|
def list_targets_for_policy(
|
|
697
|
-
self,
|
|
736
|
+
self, **kwargs: Unpack[ListTargetsForPolicyRequestRequestTypeDef]
|
|
698
737
|
) -> ListTargetsForPolicyResponseTypeDef:
|
|
699
738
|
"""
|
|
700
739
|
Lists all the roots, organizational units (OUs), and accounts that the
|
|
@@ -706,7 +745,7 @@ class OrganizationsClient(BaseClient):
|
|
|
706
745
|
"""
|
|
707
746
|
|
|
708
747
|
def move_account(
|
|
709
|
-
self,
|
|
748
|
+
self, **kwargs: Unpack[MoveAccountRequestRequestTypeDef]
|
|
710
749
|
) -> EmptyResponseMetadataTypeDef:
|
|
711
750
|
"""
|
|
712
751
|
Moves an account from its current source parent root or organizational unit
|
|
@@ -718,7 +757,7 @@ class OrganizationsClient(BaseClient):
|
|
|
718
757
|
"""
|
|
719
758
|
|
|
720
759
|
def put_resource_policy(
|
|
721
|
-
self,
|
|
760
|
+
self, **kwargs: Unpack[PutResourcePolicyRequestRequestTypeDef]
|
|
722
761
|
) -> PutResourcePolicyResponseTypeDef:
|
|
723
762
|
"""
|
|
724
763
|
Creates or updates a resource policy.
|
|
@@ -728,7 +767,7 @@ class OrganizationsClient(BaseClient):
|
|
|
728
767
|
"""
|
|
729
768
|
|
|
730
769
|
def register_delegated_administrator(
|
|
731
|
-
self,
|
|
770
|
+
self, **kwargs: Unpack[RegisterDelegatedAdministratorRequestRequestTypeDef]
|
|
732
771
|
) -> EmptyResponseMetadataTypeDef:
|
|
733
772
|
"""
|
|
734
773
|
Enables the specified member account to administer the Organizations features
|
|
@@ -739,7 +778,9 @@ class OrganizationsClient(BaseClient):
|
|
|
739
778
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_organizations/client/#register_delegated_administrator)
|
|
740
779
|
"""
|
|
741
780
|
|
|
742
|
-
def remove_account_from_organization(
|
|
781
|
+
def remove_account_from_organization(
|
|
782
|
+
self, **kwargs: Unpack[RemoveAccountFromOrganizationRequestRequestTypeDef]
|
|
783
|
+
) -> EmptyResponseMetadataTypeDef:
|
|
743
784
|
"""
|
|
744
785
|
Removes the specified account from the organization.
|
|
745
786
|
|
|
@@ -748,7 +789,7 @@ class OrganizationsClient(BaseClient):
|
|
|
748
789
|
"""
|
|
749
790
|
|
|
750
791
|
def tag_resource(
|
|
751
|
-
self,
|
|
792
|
+
self, **kwargs: Unpack[TagResourceRequestRequestTypeDef]
|
|
752
793
|
) -> EmptyResponseMetadataTypeDef:
|
|
753
794
|
"""
|
|
754
795
|
Adds one or more tags to the specified resource.
|
|
@@ -758,7 +799,7 @@ class OrganizationsClient(BaseClient):
|
|
|
758
799
|
"""
|
|
759
800
|
|
|
760
801
|
def untag_resource(
|
|
761
|
-
self,
|
|
802
|
+
self, **kwargs: Unpack[UntagResourceRequestRequestTypeDef]
|
|
762
803
|
) -> EmptyResponseMetadataTypeDef:
|
|
763
804
|
"""
|
|
764
805
|
Removes any tags with the specified keys from the specified resource.
|
|
@@ -768,7 +809,7 @@ class OrganizationsClient(BaseClient):
|
|
|
768
809
|
"""
|
|
769
810
|
|
|
770
811
|
def update_organizational_unit(
|
|
771
|
-
self,
|
|
812
|
+
self, **kwargs: Unpack[UpdateOrganizationalUnitRequestRequestTypeDef]
|
|
772
813
|
) -> UpdateOrganizationalUnitResponseTypeDef:
|
|
773
814
|
"""
|
|
774
815
|
Renames the specified organizational unit (OU).
|
|
@@ -778,7 +819,7 @@ class OrganizationsClient(BaseClient):
|
|
|
778
819
|
"""
|
|
779
820
|
|
|
780
821
|
def update_policy(
|
|
781
|
-
self,
|
|
822
|
+
self, **kwargs: Unpack[UpdatePolicyRequestRequestTypeDef]
|
|
782
823
|
) -> UpdatePolicyResponseTypeDef:
|
|
783
824
|
"""
|
|
784
825
|
Updates an existing policy with a new name, description, or content.
|