mypy-boto3-organizations 1.35.5__py3-none-any.whl → 1.35.20__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 +136 -91
- mypy_boto3_organizations/client.pyi +135 -91
- mypy_boto3_organizations/literals.py +3 -0
- mypy_boto3_organizations/literals.pyi +1 -0
- mypy_boto3_organizations/paginator.py +55 -35
- mypy_boto3_organizations/paginator.pyi +53 -51
- mypy_boto3_organizations/type_defs.py +1 -0
- mypy_boto3_organizations/version.py +1 -1
- {mypy_boto3_organizations-1.35.5.dist-info → mypy_boto3_organizations-1.35.20.dist-info}/METADATA +7 -8
- mypy_boto3_organizations-1.35.20.dist-info/RECORD +18 -0
- {mypy_boto3_organizations-1.35.5.dist-info → mypy_boto3_organizations-1.35.20.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.20.dist-info}/LICENSE +0 -0
- {mypy_boto3_organizations-1.35.5.dist-info → mypy_boto3_organizations-1.35.20.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.20\n"
|
|
14
|
+
"Version: 1.35.20\n"
|
|
15
|
+
"Builder version: 8.0.1\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.20")
|
|
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,48 +38,94 @@ 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
|
|
|
@@ -95,6 +133,11 @@ if sys.version_info >= (3, 12):
|
|
|
95
133
|
from typing import Literal
|
|
96
134
|
else:
|
|
97
135
|
from typing_extensions import Literal
|
|
136
|
+
if sys.version_info >= (3, 12):
|
|
137
|
+
from typing import Unpack
|
|
138
|
+
else:
|
|
139
|
+
from typing_extensions import Unpack
|
|
140
|
+
|
|
98
141
|
|
|
99
142
|
__all__ = ("OrganizationsClient",)
|
|
100
143
|
|
|
@@ -175,7 +218,9 @@ class OrganizationsClient(BaseClient):
|
|
|
175
218
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_organizations/client/#exceptions)
|
|
176
219
|
"""
|
|
177
220
|
|
|
178
|
-
def accept_handshake(
|
|
221
|
+
def accept_handshake(
|
|
222
|
+
self, **kwargs: Unpack[AcceptHandshakeRequestRequestTypeDef]
|
|
223
|
+
) -> AcceptHandshakeResponseTypeDef:
|
|
179
224
|
"""
|
|
180
225
|
Sends a response to the originator of a handshake agreeing to the action
|
|
181
226
|
proposed by the handshake
|
|
@@ -185,7 +230,9 @@ class OrganizationsClient(BaseClient):
|
|
|
185
230
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_organizations/client/#accept_handshake)
|
|
186
231
|
"""
|
|
187
232
|
|
|
188
|
-
def attach_policy(
|
|
233
|
+
def attach_policy(
|
|
234
|
+
self, **kwargs: Unpack[AttachPolicyRequestRequestTypeDef]
|
|
235
|
+
) -> EmptyResponseMetadataTypeDef:
|
|
189
236
|
"""
|
|
190
237
|
Attaches a policy to a root, an organizational unit (OU), or an individual
|
|
191
238
|
account.
|
|
@@ -202,7 +249,9 @@ class OrganizationsClient(BaseClient):
|
|
|
202
249
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_organizations/client/#can_paginate)
|
|
203
250
|
"""
|
|
204
251
|
|
|
205
|
-
def cancel_handshake(
|
|
252
|
+
def cancel_handshake(
|
|
253
|
+
self, **kwargs: Unpack[CancelHandshakeRequestRequestTypeDef]
|
|
254
|
+
) -> CancelHandshakeResponseTypeDef:
|
|
206
255
|
"""
|
|
207
256
|
Cancels a handshake.
|
|
208
257
|
|
|
@@ -218,7 +267,9 @@ class OrganizationsClient(BaseClient):
|
|
|
218
267
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_organizations/client/#close)
|
|
219
268
|
"""
|
|
220
269
|
|
|
221
|
-
def close_account(
|
|
270
|
+
def close_account(
|
|
271
|
+
self, **kwargs: Unpack[CloseAccountRequestRequestTypeDef]
|
|
272
|
+
) -> EmptyResponseMetadataTypeDef:
|
|
222
273
|
"""
|
|
223
274
|
Closes an Amazon Web Services member account within an organization.
|
|
224
275
|
|
|
@@ -227,13 +278,7 @@ class OrganizationsClient(BaseClient):
|
|
|
227
278
|
"""
|
|
228
279
|
|
|
229
280
|
def create_account(
|
|
230
|
-
self,
|
|
231
|
-
*,
|
|
232
|
-
Email: str,
|
|
233
|
-
AccountName: str,
|
|
234
|
-
RoleName: str = ...,
|
|
235
|
-
IamUserAccessToBilling: IAMUserAccessToBillingType = ...,
|
|
236
|
-
Tags: Sequence[TagTypeDef] = ...,
|
|
281
|
+
self, **kwargs: Unpack[CreateAccountRequestRequestTypeDef]
|
|
237
282
|
) -> CreateAccountResponseTypeDef:
|
|
238
283
|
"""
|
|
239
284
|
Creates an Amazon Web Services account that is automatically a member of the
|
|
@@ -245,13 +290,7 @@ class OrganizationsClient(BaseClient):
|
|
|
245
290
|
"""
|
|
246
291
|
|
|
247
292
|
def create_gov_cloud_account(
|
|
248
|
-
self,
|
|
249
|
-
*,
|
|
250
|
-
Email: str,
|
|
251
|
-
AccountName: str,
|
|
252
|
-
RoleName: str = ...,
|
|
253
|
-
IamUserAccessToBilling: IAMUserAccessToBillingType = ...,
|
|
254
|
-
Tags: Sequence[TagTypeDef] = ...,
|
|
293
|
+
self, **kwargs: Unpack[CreateGovCloudAccountRequestRequestTypeDef]
|
|
255
294
|
) -> CreateGovCloudAccountResponseTypeDef:
|
|
256
295
|
"""
|
|
257
296
|
This action is available if all of the following are true: * You're authorized
|
|
@@ -263,7 +302,7 @@ class OrganizationsClient(BaseClient):
|
|
|
263
302
|
"""
|
|
264
303
|
|
|
265
304
|
def create_organization(
|
|
266
|
-
self,
|
|
305
|
+
self, **kwargs: Unpack[CreateOrganizationRequestRequestTypeDef]
|
|
267
306
|
) -> CreateOrganizationResponseTypeDef:
|
|
268
307
|
"""
|
|
269
308
|
Creates an Amazon Web Services organization.
|
|
@@ -273,7 +312,7 @@ class OrganizationsClient(BaseClient):
|
|
|
273
312
|
"""
|
|
274
313
|
|
|
275
314
|
def create_organizational_unit(
|
|
276
|
-
self,
|
|
315
|
+
self, **kwargs: Unpack[CreateOrganizationalUnitRequestRequestTypeDef]
|
|
277
316
|
) -> CreateOrganizationalUnitResponseTypeDef:
|
|
278
317
|
"""
|
|
279
318
|
Creates an organizational unit (OU) within a root or parent OU.
|
|
@@ -283,13 +322,7 @@ class OrganizationsClient(BaseClient):
|
|
|
283
322
|
"""
|
|
284
323
|
|
|
285
324
|
def create_policy(
|
|
286
|
-
self,
|
|
287
|
-
*,
|
|
288
|
-
Content: str,
|
|
289
|
-
Description: str,
|
|
290
|
-
Name: str,
|
|
291
|
-
Type: PolicyTypeType,
|
|
292
|
-
Tags: Sequence[TagTypeDef] = ...,
|
|
325
|
+
self, **kwargs: Unpack[CreatePolicyRequestRequestTypeDef]
|
|
293
326
|
) -> CreatePolicyResponseTypeDef:
|
|
294
327
|
"""
|
|
295
328
|
Creates a policy of a specified type that you can attach to a root, an
|
|
@@ -300,7 +333,9 @@ class OrganizationsClient(BaseClient):
|
|
|
300
333
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_organizations/client/#create_policy)
|
|
301
334
|
"""
|
|
302
335
|
|
|
303
|
-
def decline_handshake(
|
|
336
|
+
def decline_handshake(
|
|
337
|
+
self, **kwargs: Unpack[DeclineHandshakeRequestRequestTypeDef]
|
|
338
|
+
) -> DeclineHandshakeResponseTypeDef:
|
|
304
339
|
"""
|
|
305
340
|
Declines a handshake request.
|
|
306
341
|
|
|
@@ -317,7 +352,7 @@ class OrganizationsClient(BaseClient):
|
|
|
317
352
|
"""
|
|
318
353
|
|
|
319
354
|
def delete_organizational_unit(
|
|
320
|
-
self,
|
|
355
|
+
self, **kwargs: Unpack[DeleteOrganizationalUnitRequestRequestTypeDef]
|
|
321
356
|
) -> EmptyResponseMetadataTypeDef:
|
|
322
357
|
"""
|
|
323
358
|
Deletes an organizational unit (OU) from a root or another OU.
|
|
@@ -326,7 +361,9 @@ class OrganizationsClient(BaseClient):
|
|
|
326
361
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_organizations/client/#delete_organizational_unit)
|
|
327
362
|
"""
|
|
328
363
|
|
|
329
|
-
def delete_policy(
|
|
364
|
+
def delete_policy(
|
|
365
|
+
self, **kwargs: Unpack[DeletePolicyRequestRequestTypeDef]
|
|
366
|
+
) -> EmptyResponseMetadataTypeDef:
|
|
330
367
|
"""
|
|
331
368
|
Deletes the specified policy from your organization.
|
|
332
369
|
|
|
@@ -343,7 +380,7 @@ class OrganizationsClient(BaseClient):
|
|
|
343
380
|
"""
|
|
344
381
|
|
|
345
382
|
def deregister_delegated_administrator(
|
|
346
|
-
self,
|
|
383
|
+
self, **kwargs: Unpack[DeregisterDelegatedAdministratorRequestRequestTypeDef]
|
|
347
384
|
) -> EmptyResponseMetadataTypeDef:
|
|
348
385
|
"""
|
|
349
386
|
Removes the specified member Amazon Web Services account as a delegated
|
|
@@ -354,7 +391,9 @@ class OrganizationsClient(BaseClient):
|
|
|
354
391
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_organizations/client/#deregister_delegated_administrator)
|
|
355
392
|
"""
|
|
356
393
|
|
|
357
|
-
def describe_account(
|
|
394
|
+
def describe_account(
|
|
395
|
+
self, **kwargs: Unpack[DescribeAccountRequestRequestTypeDef]
|
|
396
|
+
) -> DescribeAccountResponseTypeDef:
|
|
358
397
|
"""
|
|
359
398
|
Retrieves Organizations-related information about the specified account.
|
|
360
399
|
|
|
@@ -363,7 +402,7 @@ class OrganizationsClient(BaseClient):
|
|
|
363
402
|
"""
|
|
364
403
|
|
|
365
404
|
def describe_create_account_status(
|
|
366
|
-
self,
|
|
405
|
+
self, **kwargs: Unpack[DescribeCreateAccountStatusRequestRequestTypeDef]
|
|
367
406
|
) -> DescribeCreateAccountStatusResponseTypeDef:
|
|
368
407
|
"""
|
|
369
408
|
Retrieves the current status of an asynchronous request to create an account.
|
|
@@ -373,7 +412,7 @@ class OrganizationsClient(BaseClient):
|
|
|
373
412
|
"""
|
|
374
413
|
|
|
375
414
|
def describe_effective_policy(
|
|
376
|
-
self,
|
|
415
|
+
self, **kwargs: Unpack[DescribeEffectivePolicyRequestRequestTypeDef]
|
|
377
416
|
) -> DescribeEffectivePolicyResponseTypeDef:
|
|
378
417
|
"""
|
|
379
418
|
Returns the contents of the effective policy for specified policy type and
|
|
@@ -383,7 +422,9 @@ class OrganizationsClient(BaseClient):
|
|
|
383
422
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_organizations/client/#describe_effective_policy)
|
|
384
423
|
"""
|
|
385
424
|
|
|
386
|
-
def describe_handshake(
|
|
425
|
+
def describe_handshake(
|
|
426
|
+
self, **kwargs: Unpack[DescribeHandshakeRequestRequestTypeDef]
|
|
427
|
+
) -> DescribeHandshakeResponseTypeDef:
|
|
387
428
|
"""
|
|
388
429
|
Retrieves information about a previously requested handshake.
|
|
389
430
|
|
|
@@ -400,7 +441,7 @@ class OrganizationsClient(BaseClient):
|
|
|
400
441
|
"""
|
|
401
442
|
|
|
402
443
|
def describe_organizational_unit(
|
|
403
|
-
self,
|
|
444
|
+
self, **kwargs: Unpack[DescribeOrganizationalUnitRequestRequestTypeDef]
|
|
404
445
|
) -> DescribeOrganizationalUnitResponseTypeDef:
|
|
405
446
|
"""
|
|
406
447
|
Retrieves information about an organizational unit (OU).
|
|
@@ -409,7 +450,9 @@ class OrganizationsClient(BaseClient):
|
|
|
409
450
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_organizations/client/#describe_organizational_unit)
|
|
410
451
|
"""
|
|
411
452
|
|
|
412
|
-
def describe_policy(
|
|
453
|
+
def describe_policy(
|
|
454
|
+
self, **kwargs: Unpack[DescribePolicyRequestRequestTypeDef]
|
|
455
|
+
) -> DescribePolicyResponseTypeDef:
|
|
413
456
|
"""
|
|
414
457
|
Retrieves information about a policy.
|
|
415
458
|
|
|
@@ -425,7 +468,9 @@ class OrganizationsClient(BaseClient):
|
|
|
425
468
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_organizations/client/#describe_resource_policy)
|
|
426
469
|
"""
|
|
427
470
|
|
|
428
|
-
def detach_policy(
|
|
471
|
+
def detach_policy(
|
|
472
|
+
self, **kwargs: Unpack[DetachPolicyRequestRequestTypeDef]
|
|
473
|
+
) -> EmptyResponseMetadataTypeDef:
|
|
429
474
|
"""
|
|
430
475
|
Detaches a policy from a target root, organizational unit (OU), or account.
|
|
431
476
|
|
|
@@ -433,7 +478,9 @@ class OrganizationsClient(BaseClient):
|
|
|
433
478
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_organizations/client/#detach_policy)
|
|
434
479
|
"""
|
|
435
480
|
|
|
436
|
-
def disable_aws_service_access(
|
|
481
|
+
def disable_aws_service_access(
|
|
482
|
+
self, **kwargs: Unpack[DisableAWSServiceAccessRequestRequestTypeDef]
|
|
483
|
+
) -> EmptyResponseMetadataTypeDef:
|
|
437
484
|
"""
|
|
438
485
|
Disables the integration of an Amazon Web Services service (the service that is
|
|
439
486
|
specified by `ServicePrincipal`) with
|
|
@@ -444,7 +491,7 @@ class OrganizationsClient(BaseClient):
|
|
|
444
491
|
"""
|
|
445
492
|
|
|
446
493
|
def disable_policy_type(
|
|
447
|
-
self,
|
|
494
|
+
self, **kwargs: Unpack[DisablePolicyTypeRequestRequestTypeDef]
|
|
448
495
|
) -> DisablePolicyTypeResponseTypeDef:
|
|
449
496
|
"""
|
|
450
497
|
Disables an organizational policy type in a root.
|
|
@@ -461,18 +508,23 @@ class OrganizationsClient(BaseClient):
|
|
|
461
508
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_organizations/client/#enable_all_features)
|
|
462
509
|
"""
|
|
463
510
|
|
|
464
|
-
def enable_aws_service_access(
|
|
511
|
+
def enable_aws_service_access(
|
|
512
|
+
self, **kwargs: Unpack[EnableAWSServiceAccessRequestRequestTypeDef]
|
|
513
|
+
) -> EmptyResponseMetadataTypeDef:
|
|
465
514
|
"""
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
515
|
+
Provides an Amazon Web Services service (the service that is specified by
|
|
516
|
+
`ServicePrincipal`) with permissions to view the structure of an organization,
|
|
517
|
+
create a [service-linked
|
|
518
|
+
role](https://docs.aws.amazon.com/IAM/latest/UserGuide/using-service-linked-roles.html)
|
|
519
|
+
in all the accounts in
|
|
520
|
+
the...
|
|
469
521
|
|
|
470
522
|
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/organizations.html#Organizations.Client.enable_aws_service_access)
|
|
471
523
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_organizations/client/#enable_aws_service_access)
|
|
472
524
|
"""
|
|
473
525
|
|
|
474
526
|
def enable_policy_type(
|
|
475
|
-
self,
|
|
527
|
+
self, **kwargs: Unpack[EnablePolicyTypeRequestRequestTypeDef]
|
|
476
528
|
) -> EnablePolicyTypeResponseTypeDef:
|
|
477
529
|
"""
|
|
478
530
|
Enables a policy type in a root.
|
|
@@ -496,7 +548,7 @@ class OrganizationsClient(BaseClient):
|
|
|
496
548
|
"""
|
|
497
549
|
|
|
498
550
|
def invite_account_to_organization(
|
|
499
|
-
self,
|
|
551
|
+
self, **kwargs: Unpack[InviteAccountToOrganizationRequestRequestTypeDef]
|
|
500
552
|
) -> InviteAccountToOrganizationResponseTypeDef:
|
|
501
553
|
"""
|
|
502
554
|
Sends an invitation to another account to join your organization as a member
|
|
@@ -515,7 +567,7 @@ class OrganizationsClient(BaseClient):
|
|
|
515
567
|
"""
|
|
516
568
|
|
|
517
569
|
def list_accounts(
|
|
518
|
-
self,
|
|
570
|
+
self, **kwargs: Unpack[ListAccountsRequestRequestTypeDef]
|
|
519
571
|
) -> ListAccountsResponseTypeDef:
|
|
520
572
|
"""
|
|
521
573
|
Lists all the accounts in the organization.
|
|
@@ -525,7 +577,7 @@ class OrganizationsClient(BaseClient):
|
|
|
525
577
|
"""
|
|
526
578
|
|
|
527
579
|
def list_accounts_for_parent(
|
|
528
|
-
self,
|
|
580
|
+
self, **kwargs: Unpack[ListAccountsForParentRequestRequestTypeDef]
|
|
529
581
|
) -> ListAccountsForParentResponseTypeDef:
|
|
530
582
|
"""
|
|
531
583
|
Lists the accounts in an organization that are contained by the specified
|
|
@@ -537,7 +589,7 @@ class OrganizationsClient(BaseClient):
|
|
|
537
589
|
"""
|
|
538
590
|
|
|
539
591
|
def list_aws_service_access_for_organization(
|
|
540
|
-
self,
|
|
592
|
+
self, **kwargs: Unpack[ListAWSServiceAccessForOrganizationRequestRequestTypeDef]
|
|
541
593
|
) -> ListAWSServiceAccessForOrganizationResponseTypeDef:
|
|
542
594
|
"""
|
|
543
595
|
Returns a list of the Amazon Web Services services that you enabled to
|
|
@@ -549,12 +601,7 @@ class OrganizationsClient(BaseClient):
|
|
|
549
601
|
"""
|
|
550
602
|
|
|
551
603
|
def list_children(
|
|
552
|
-
self,
|
|
553
|
-
*,
|
|
554
|
-
ParentId: str,
|
|
555
|
-
ChildType: ChildTypeType,
|
|
556
|
-
NextToken: str = ...,
|
|
557
|
-
MaxResults: int = ...,
|
|
604
|
+
self, **kwargs: Unpack[ListChildrenRequestRequestTypeDef]
|
|
558
605
|
) -> ListChildrenResponseTypeDef:
|
|
559
606
|
"""
|
|
560
607
|
Lists all of the organizational units (OUs) or accounts that are contained in
|
|
@@ -566,11 +613,7 @@ class OrganizationsClient(BaseClient):
|
|
|
566
613
|
"""
|
|
567
614
|
|
|
568
615
|
def list_create_account_status(
|
|
569
|
-
self,
|
|
570
|
-
*,
|
|
571
|
-
States: Sequence[CreateAccountStateType] = ...,
|
|
572
|
-
NextToken: str = ...,
|
|
573
|
-
MaxResults: int = ...,
|
|
616
|
+
self, **kwargs: Unpack[ListCreateAccountStatusRequestRequestTypeDef]
|
|
574
617
|
) -> ListCreateAccountStatusResponseTypeDef:
|
|
575
618
|
"""
|
|
576
619
|
Lists the account creation requests that match the specified status that is
|
|
@@ -582,7 +625,7 @@ class OrganizationsClient(BaseClient):
|
|
|
582
625
|
"""
|
|
583
626
|
|
|
584
627
|
def list_delegated_administrators(
|
|
585
|
-
self,
|
|
628
|
+
self, **kwargs: Unpack[ListDelegatedAdministratorsRequestRequestTypeDef]
|
|
586
629
|
) -> ListDelegatedAdministratorsResponseTypeDef:
|
|
587
630
|
"""
|
|
588
631
|
Lists the Amazon Web Services accounts that are designated as delegated
|
|
@@ -594,7 +637,7 @@ class OrganizationsClient(BaseClient):
|
|
|
594
637
|
"""
|
|
595
638
|
|
|
596
639
|
def list_delegated_services_for_account(
|
|
597
|
-
self,
|
|
640
|
+
self, **kwargs: Unpack[ListDelegatedServicesForAccountRequestRequestTypeDef]
|
|
598
641
|
) -> ListDelegatedServicesForAccountResponseTypeDef:
|
|
599
642
|
"""
|
|
600
643
|
List the Amazon Web Services services for which the specified account is a
|
|
@@ -606,7 +649,7 @@ class OrganizationsClient(BaseClient):
|
|
|
606
649
|
"""
|
|
607
650
|
|
|
608
651
|
def list_handshakes_for_account(
|
|
609
|
-
self,
|
|
652
|
+
self, **kwargs: Unpack[ListHandshakesForAccountRequestRequestTypeDef]
|
|
610
653
|
) -> ListHandshakesForAccountResponseTypeDef:
|
|
611
654
|
"""
|
|
612
655
|
Lists the current handshakes that are associated with the account of the
|
|
@@ -618,7 +661,7 @@ class OrganizationsClient(BaseClient):
|
|
|
618
661
|
"""
|
|
619
662
|
|
|
620
663
|
def list_handshakes_for_organization(
|
|
621
|
-
self,
|
|
664
|
+
self, **kwargs: Unpack[ListHandshakesForOrganizationRequestRequestTypeDef]
|
|
622
665
|
) -> ListHandshakesForOrganizationResponseTypeDef:
|
|
623
666
|
"""
|
|
624
667
|
Lists the handshakes that are associated with the organization that the
|
|
@@ -630,7 +673,7 @@ class OrganizationsClient(BaseClient):
|
|
|
630
673
|
"""
|
|
631
674
|
|
|
632
675
|
def list_organizational_units_for_parent(
|
|
633
|
-
self,
|
|
676
|
+
self, **kwargs: Unpack[ListOrganizationalUnitsForParentRequestRequestTypeDef]
|
|
634
677
|
) -> ListOrganizationalUnitsForParentResponseTypeDef:
|
|
635
678
|
"""
|
|
636
679
|
Lists the organizational units (OUs) in a parent organizational unit or root.
|
|
@@ -640,7 +683,7 @@ class OrganizationsClient(BaseClient):
|
|
|
640
683
|
"""
|
|
641
684
|
|
|
642
685
|
def list_parents(
|
|
643
|
-
self,
|
|
686
|
+
self, **kwargs: Unpack[ListParentsRequestRequestTypeDef]
|
|
644
687
|
) -> ListParentsResponseTypeDef:
|
|
645
688
|
"""
|
|
646
689
|
Lists the root or organizational units (OUs) that serve as the immediate parent
|
|
@@ -652,7 +695,7 @@ class OrganizationsClient(BaseClient):
|
|
|
652
695
|
"""
|
|
653
696
|
|
|
654
697
|
def list_policies(
|
|
655
|
-
self,
|
|
698
|
+
self, **kwargs: Unpack[ListPoliciesRequestRequestTypeDef]
|
|
656
699
|
) -> ListPoliciesResponseTypeDef:
|
|
657
700
|
"""
|
|
658
701
|
Retrieves the list of all policies in an organization of a specified type.
|
|
@@ -662,7 +705,7 @@ class OrganizationsClient(BaseClient):
|
|
|
662
705
|
"""
|
|
663
706
|
|
|
664
707
|
def list_policies_for_target(
|
|
665
|
-
self,
|
|
708
|
+
self, **kwargs: Unpack[ListPoliciesForTargetRequestRequestTypeDef]
|
|
666
709
|
) -> ListPoliciesForTargetResponseTypeDef:
|
|
667
710
|
"""
|
|
668
711
|
Lists the policies that are directly attached to the specified target root,
|
|
@@ -674,7 +717,7 @@ class OrganizationsClient(BaseClient):
|
|
|
674
717
|
"""
|
|
675
718
|
|
|
676
719
|
def list_roots(
|
|
677
|
-
self,
|
|
720
|
+
self, **kwargs: Unpack[ListRootsRequestRequestTypeDef]
|
|
678
721
|
) -> ListRootsResponseTypeDef:
|
|
679
722
|
"""
|
|
680
723
|
Lists the roots that are defined in the current organization.
|
|
@@ -684,7 +727,7 @@ class OrganizationsClient(BaseClient):
|
|
|
684
727
|
"""
|
|
685
728
|
|
|
686
729
|
def list_tags_for_resource(
|
|
687
|
-
self,
|
|
730
|
+
self, **kwargs: Unpack[ListTagsForResourceRequestRequestTypeDef]
|
|
688
731
|
) -> ListTagsForResourceResponseTypeDef:
|
|
689
732
|
"""
|
|
690
733
|
Lists tags that are attached to the specified resource.
|
|
@@ -694,7 +737,7 @@ class OrganizationsClient(BaseClient):
|
|
|
694
737
|
"""
|
|
695
738
|
|
|
696
739
|
def list_targets_for_policy(
|
|
697
|
-
self,
|
|
740
|
+
self, **kwargs: Unpack[ListTargetsForPolicyRequestRequestTypeDef]
|
|
698
741
|
) -> ListTargetsForPolicyResponseTypeDef:
|
|
699
742
|
"""
|
|
700
743
|
Lists all the roots, organizational units (OUs), and accounts that the
|
|
@@ -706,7 +749,7 @@ class OrganizationsClient(BaseClient):
|
|
|
706
749
|
"""
|
|
707
750
|
|
|
708
751
|
def move_account(
|
|
709
|
-
self,
|
|
752
|
+
self, **kwargs: Unpack[MoveAccountRequestRequestTypeDef]
|
|
710
753
|
) -> EmptyResponseMetadataTypeDef:
|
|
711
754
|
"""
|
|
712
755
|
Moves an account from its current source parent root or organizational unit
|
|
@@ -718,7 +761,7 @@ class OrganizationsClient(BaseClient):
|
|
|
718
761
|
"""
|
|
719
762
|
|
|
720
763
|
def put_resource_policy(
|
|
721
|
-
self,
|
|
764
|
+
self, **kwargs: Unpack[PutResourcePolicyRequestRequestTypeDef]
|
|
722
765
|
) -> PutResourcePolicyResponseTypeDef:
|
|
723
766
|
"""
|
|
724
767
|
Creates or updates a resource policy.
|
|
@@ -728,7 +771,7 @@ class OrganizationsClient(BaseClient):
|
|
|
728
771
|
"""
|
|
729
772
|
|
|
730
773
|
def register_delegated_administrator(
|
|
731
|
-
self,
|
|
774
|
+
self, **kwargs: Unpack[RegisterDelegatedAdministratorRequestRequestTypeDef]
|
|
732
775
|
) -> EmptyResponseMetadataTypeDef:
|
|
733
776
|
"""
|
|
734
777
|
Enables the specified member account to administer the Organizations features
|
|
@@ -739,7 +782,9 @@ class OrganizationsClient(BaseClient):
|
|
|
739
782
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_organizations/client/#register_delegated_administrator)
|
|
740
783
|
"""
|
|
741
784
|
|
|
742
|
-
def remove_account_from_organization(
|
|
785
|
+
def remove_account_from_organization(
|
|
786
|
+
self, **kwargs: Unpack[RemoveAccountFromOrganizationRequestRequestTypeDef]
|
|
787
|
+
) -> EmptyResponseMetadataTypeDef:
|
|
743
788
|
"""
|
|
744
789
|
Removes the specified account from the organization.
|
|
745
790
|
|
|
@@ -748,7 +793,7 @@ class OrganizationsClient(BaseClient):
|
|
|
748
793
|
"""
|
|
749
794
|
|
|
750
795
|
def tag_resource(
|
|
751
|
-
self,
|
|
796
|
+
self, **kwargs: Unpack[TagResourceRequestRequestTypeDef]
|
|
752
797
|
) -> EmptyResponseMetadataTypeDef:
|
|
753
798
|
"""
|
|
754
799
|
Adds one or more tags to the specified resource.
|
|
@@ -758,7 +803,7 @@ class OrganizationsClient(BaseClient):
|
|
|
758
803
|
"""
|
|
759
804
|
|
|
760
805
|
def untag_resource(
|
|
761
|
-
self,
|
|
806
|
+
self, **kwargs: Unpack[UntagResourceRequestRequestTypeDef]
|
|
762
807
|
) -> EmptyResponseMetadataTypeDef:
|
|
763
808
|
"""
|
|
764
809
|
Removes any tags with the specified keys from the specified resource.
|
|
@@ -768,7 +813,7 @@ class OrganizationsClient(BaseClient):
|
|
|
768
813
|
"""
|
|
769
814
|
|
|
770
815
|
def update_organizational_unit(
|
|
771
|
-
self,
|
|
816
|
+
self, **kwargs: Unpack[UpdateOrganizationalUnitRequestRequestTypeDef]
|
|
772
817
|
) -> UpdateOrganizationalUnitResponseTypeDef:
|
|
773
818
|
"""
|
|
774
819
|
Renames the specified organizational unit (OU).
|
|
@@ -778,7 +823,7 @@ class OrganizationsClient(BaseClient):
|
|
|
778
823
|
"""
|
|
779
824
|
|
|
780
825
|
def update_policy(
|
|
781
|
-
self,
|
|
826
|
+
self, **kwargs: Unpack[UpdatePolicyRequestRequestTypeDef]
|
|
782
827
|
) -> UpdatePolicyResponseTypeDef:
|
|
783
828
|
"""
|
|
784
829
|
Updates an existing policy with a new name, description, or content.
|