types-boto3-organizations 1.36.0__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.
@@ -0,0 +1,965 @@
1
+ """
2
+ Type annotations for organizations service type definitions.
3
+
4
+ [Documentation](https://youtype.github.io/types_boto3_docs/types_boto3_organizations/type_defs/)
5
+
6
+ Usage::
7
+
8
+ ```python
9
+ from types_boto3_organizations.type_defs import AcceptHandshakeRequestRequestTypeDef
10
+
11
+ data: AcceptHandshakeRequestRequestTypeDef = ...
12
+ ```
13
+
14
+ Copyright 2025 Vlad Emelianov
15
+ """
16
+
17
+ from __future__ import annotations
18
+
19
+ import sys
20
+ from datetime import datetime
21
+ from typing import Any
22
+
23
+ from .literals import (
24
+ AccountJoinedMethodType,
25
+ AccountStatusType,
26
+ ActionTypeType,
27
+ ChildTypeType,
28
+ CreateAccountFailureReasonType,
29
+ CreateAccountStateType,
30
+ EffectivePolicyTypeType,
31
+ HandshakePartyTypeType,
32
+ HandshakeResourceTypeType,
33
+ HandshakeStateType,
34
+ IAMUserAccessToBillingType,
35
+ OrganizationFeatureSetType,
36
+ ParentTypeType,
37
+ PolicyTypeStatusType,
38
+ PolicyTypeType,
39
+ TargetTypeType,
40
+ )
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
48
+ if sys.version_info >= (3, 12):
49
+ from typing import NotRequired, TypedDict
50
+ else:
51
+ from typing_extensions import NotRequired, TypedDict
52
+
53
+
54
+ __all__ = (
55
+ "AcceptHandshakeRequestRequestTypeDef",
56
+ "AcceptHandshakeResponseTypeDef",
57
+ "AccountTypeDef",
58
+ "AttachPolicyRequestRequestTypeDef",
59
+ "CancelHandshakeRequestRequestTypeDef",
60
+ "CancelHandshakeResponseTypeDef",
61
+ "ChildTypeDef",
62
+ "CloseAccountRequestRequestTypeDef",
63
+ "CreateAccountRequestRequestTypeDef",
64
+ "CreateAccountResponseTypeDef",
65
+ "CreateAccountStatusTypeDef",
66
+ "CreateGovCloudAccountRequestRequestTypeDef",
67
+ "CreateGovCloudAccountResponseTypeDef",
68
+ "CreateOrganizationRequestRequestTypeDef",
69
+ "CreateOrganizationResponseTypeDef",
70
+ "CreateOrganizationalUnitRequestRequestTypeDef",
71
+ "CreateOrganizationalUnitResponseTypeDef",
72
+ "CreatePolicyRequestRequestTypeDef",
73
+ "CreatePolicyResponseTypeDef",
74
+ "DeclineHandshakeRequestRequestTypeDef",
75
+ "DeclineHandshakeResponseTypeDef",
76
+ "DelegatedAdministratorTypeDef",
77
+ "DelegatedServiceTypeDef",
78
+ "DeleteOrganizationalUnitRequestRequestTypeDef",
79
+ "DeletePolicyRequestRequestTypeDef",
80
+ "DeregisterDelegatedAdministratorRequestRequestTypeDef",
81
+ "DescribeAccountRequestRequestTypeDef",
82
+ "DescribeAccountResponseTypeDef",
83
+ "DescribeCreateAccountStatusRequestRequestTypeDef",
84
+ "DescribeCreateAccountStatusResponseTypeDef",
85
+ "DescribeEffectivePolicyRequestRequestTypeDef",
86
+ "DescribeEffectivePolicyResponseTypeDef",
87
+ "DescribeHandshakeRequestRequestTypeDef",
88
+ "DescribeHandshakeResponseTypeDef",
89
+ "DescribeOrganizationResponseTypeDef",
90
+ "DescribeOrganizationalUnitRequestRequestTypeDef",
91
+ "DescribeOrganizationalUnitResponseTypeDef",
92
+ "DescribePolicyRequestRequestTypeDef",
93
+ "DescribePolicyResponseTypeDef",
94
+ "DescribeResourcePolicyResponseTypeDef",
95
+ "DetachPolicyRequestRequestTypeDef",
96
+ "DisableAWSServiceAccessRequestRequestTypeDef",
97
+ "DisablePolicyTypeRequestRequestTypeDef",
98
+ "DisablePolicyTypeResponseTypeDef",
99
+ "EffectivePolicyTypeDef",
100
+ "EmptyResponseMetadataTypeDef",
101
+ "EnableAWSServiceAccessRequestRequestTypeDef",
102
+ "EnableAllFeaturesResponseTypeDef",
103
+ "EnablePolicyTypeRequestRequestTypeDef",
104
+ "EnablePolicyTypeResponseTypeDef",
105
+ "EnabledServicePrincipalTypeDef",
106
+ "HandshakeFilterTypeDef",
107
+ "HandshakePaginatorTypeDef",
108
+ "HandshakePartyTypeDef",
109
+ "HandshakeResourcePaginatorTypeDef",
110
+ "HandshakeResourceTypeDef",
111
+ "HandshakeTypeDef",
112
+ "InviteAccountToOrganizationRequestRequestTypeDef",
113
+ "InviteAccountToOrganizationResponseTypeDef",
114
+ "ListAWSServiceAccessForOrganizationRequestPaginateTypeDef",
115
+ "ListAWSServiceAccessForOrganizationRequestRequestTypeDef",
116
+ "ListAWSServiceAccessForOrganizationResponseTypeDef",
117
+ "ListAccountsForParentRequestPaginateTypeDef",
118
+ "ListAccountsForParentRequestRequestTypeDef",
119
+ "ListAccountsForParentResponseTypeDef",
120
+ "ListAccountsRequestPaginateTypeDef",
121
+ "ListAccountsRequestRequestTypeDef",
122
+ "ListAccountsResponseTypeDef",
123
+ "ListChildrenRequestPaginateTypeDef",
124
+ "ListChildrenRequestRequestTypeDef",
125
+ "ListChildrenResponseTypeDef",
126
+ "ListCreateAccountStatusRequestPaginateTypeDef",
127
+ "ListCreateAccountStatusRequestRequestTypeDef",
128
+ "ListCreateAccountStatusResponseTypeDef",
129
+ "ListDelegatedAdministratorsRequestPaginateTypeDef",
130
+ "ListDelegatedAdministratorsRequestRequestTypeDef",
131
+ "ListDelegatedAdministratorsResponseTypeDef",
132
+ "ListDelegatedServicesForAccountRequestPaginateTypeDef",
133
+ "ListDelegatedServicesForAccountRequestRequestTypeDef",
134
+ "ListDelegatedServicesForAccountResponseTypeDef",
135
+ "ListHandshakesForAccountRequestPaginateTypeDef",
136
+ "ListHandshakesForAccountRequestRequestTypeDef",
137
+ "ListHandshakesForAccountResponsePaginatorTypeDef",
138
+ "ListHandshakesForAccountResponseTypeDef",
139
+ "ListHandshakesForOrganizationRequestPaginateTypeDef",
140
+ "ListHandshakesForOrganizationRequestRequestTypeDef",
141
+ "ListHandshakesForOrganizationResponsePaginatorTypeDef",
142
+ "ListHandshakesForOrganizationResponseTypeDef",
143
+ "ListOrganizationalUnitsForParentRequestPaginateTypeDef",
144
+ "ListOrganizationalUnitsForParentRequestRequestTypeDef",
145
+ "ListOrganizationalUnitsForParentResponseTypeDef",
146
+ "ListParentsRequestPaginateTypeDef",
147
+ "ListParentsRequestRequestTypeDef",
148
+ "ListParentsResponseTypeDef",
149
+ "ListPoliciesForTargetRequestPaginateTypeDef",
150
+ "ListPoliciesForTargetRequestRequestTypeDef",
151
+ "ListPoliciesForTargetResponseTypeDef",
152
+ "ListPoliciesRequestPaginateTypeDef",
153
+ "ListPoliciesRequestRequestTypeDef",
154
+ "ListPoliciesResponseTypeDef",
155
+ "ListRootsRequestPaginateTypeDef",
156
+ "ListRootsRequestRequestTypeDef",
157
+ "ListRootsResponseTypeDef",
158
+ "ListTagsForResourceRequestPaginateTypeDef",
159
+ "ListTagsForResourceRequestRequestTypeDef",
160
+ "ListTagsForResourceResponseTypeDef",
161
+ "ListTargetsForPolicyRequestPaginateTypeDef",
162
+ "ListTargetsForPolicyRequestRequestTypeDef",
163
+ "ListTargetsForPolicyResponseTypeDef",
164
+ "MoveAccountRequestRequestTypeDef",
165
+ "OrganizationTypeDef",
166
+ "OrganizationalUnitTypeDef",
167
+ "PaginatorConfigTypeDef",
168
+ "ParentTypeDef",
169
+ "PolicySummaryTypeDef",
170
+ "PolicyTargetSummaryTypeDef",
171
+ "PolicyTypeDef",
172
+ "PolicyTypeSummaryTypeDef",
173
+ "PutResourcePolicyRequestRequestTypeDef",
174
+ "PutResourcePolicyResponseTypeDef",
175
+ "RegisterDelegatedAdministratorRequestRequestTypeDef",
176
+ "RemoveAccountFromOrganizationRequestRequestTypeDef",
177
+ "ResourcePolicySummaryTypeDef",
178
+ "ResourcePolicyTypeDef",
179
+ "ResponseMetadataTypeDef",
180
+ "RootTypeDef",
181
+ "TagResourceRequestRequestTypeDef",
182
+ "TagTypeDef",
183
+ "UntagResourceRequestRequestTypeDef",
184
+ "UpdateOrganizationalUnitRequestRequestTypeDef",
185
+ "UpdateOrganizationalUnitResponseTypeDef",
186
+ "UpdatePolicyRequestRequestTypeDef",
187
+ "UpdatePolicyResponseTypeDef",
188
+ )
189
+
190
+
191
+ class AcceptHandshakeRequestRequestTypeDef(TypedDict):
192
+ HandshakeId: str
193
+
194
+
195
+ class ResponseMetadataTypeDef(TypedDict):
196
+ RequestId: str
197
+ HTTPStatusCode: int
198
+ HTTPHeaders: Dict[str, str]
199
+ RetryAttempts: int
200
+ HostId: NotRequired[str]
201
+
202
+
203
+ class AccountTypeDef(TypedDict):
204
+ Id: NotRequired[str]
205
+ Arn: NotRequired[str]
206
+ Email: NotRequired[str]
207
+ Name: NotRequired[str]
208
+ Status: NotRequired[AccountStatusType]
209
+ JoinedMethod: NotRequired[AccountJoinedMethodType]
210
+ JoinedTimestamp: NotRequired[datetime]
211
+
212
+
213
+ class AttachPolicyRequestRequestTypeDef(TypedDict):
214
+ PolicyId: str
215
+ TargetId: str
216
+
217
+
218
+ class CancelHandshakeRequestRequestTypeDef(TypedDict):
219
+ HandshakeId: str
220
+
221
+
222
+ ChildTypeDef = TypedDict(
223
+ "ChildTypeDef",
224
+ {
225
+ "Id": NotRequired[str],
226
+ "Type": NotRequired[ChildTypeType],
227
+ },
228
+ )
229
+
230
+
231
+ class CloseAccountRequestRequestTypeDef(TypedDict):
232
+ AccountId: str
233
+
234
+
235
+ class TagTypeDef(TypedDict):
236
+ Key: str
237
+ Value: str
238
+
239
+
240
+ class CreateAccountStatusTypeDef(TypedDict):
241
+ Id: NotRequired[str]
242
+ AccountName: NotRequired[str]
243
+ State: NotRequired[CreateAccountStateType]
244
+ RequestedTimestamp: NotRequired[datetime]
245
+ CompletedTimestamp: NotRequired[datetime]
246
+ AccountId: NotRequired[str]
247
+ GovCloudAccountId: NotRequired[str]
248
+ FailureReason: NotRequired[CreateAccountFailureReasonType]
249
+
250
+
251
+ class CreateOrganizationRequestRequestTypeDef(TypedDict):
252
+ FeatureSet: NotRequired[OrganizationFeatureSetType]
253
+
254
+
255
+ class OrganizationalUnitTypeDef(TypedDict):
256
+ Id: NotRequired[str]
257
+ Arn: NotRequired[str]
258
+ Name: NotRequired[str]
259
+
260
+
261
+ class DeclineHandshakeRequestRequestTypeDef(TypedDict):
262
+ HandshakeId: str
263
+
264
+
265
+ class DelegatedAdministratorTypeDef(TypedDict):
266
+ Id: NotRequired[str]
267
+ Arn: NotRequired[str]
268
+ Email: NotRequired[str]
269
+ Name: NotRequired[str]
270
+ Status: NotRequired[AccountStatusType]
271
+ JoinedMethod: NotRequired[AccountJoinedMethodType]
272
+ JoinedTimestamp: NotRequired[datetime]
273
+ DelegationEnabledDate: NotRequired[datetime]
274
+
275
+
276
+ class DelegatedServiceTypeDef(TypedDict):
277
+ ServicePrincipal: NotRequired[str]
278
+ DelegationEnabledDate: NotRequired[datetime]
279
+
280
+
281
+ class DeleteOrganizationalUnitRequestRequestTypeDef(TypedDict):
282
+ OrganizationalUnitId: str
283
+
284
+
285
+ class DeletePolicyRequestRequestTypeDef(TypedDict):
286
+ PolicyId: str
287
+
288
+
289
+ class DeregisterDelegatedAdministratorRequestRequestTypeDef(TypedDict):
290
+ AccountId: str
291
+ ServicePrincipal: str
292
+
293
+
294
+ class DescribeAccountRequestRequestTypeDef(TypedDict):
295
+ AccountId: str
296
+
297
+
298
+ class DescribeCreateAccountStatusRequestRequestTypeDef(TypedDict):
299
+ CreateAccountRequestId: str
300
+
301
+
302
+ class DescribeEffectivePolicyRequestRequestTypeDef(TypedDict):
303
+ PolicyType: EffectivePolicyTypeType
304
+ TargetId: NotRequired[str]
305
+
306
+
307
+ class EffectivePolicyTypeDef(TypedDict):
308
+ PolicyContent: NotRequired[str]
309
+ LastUpdatedTimestamp: NotRequired[datetime]
310
+ TargetId: NotRequired[str]
311
+ PolicyType: NotRequired[EffectivePolicyTypeType]
312
+
313
+
314
+ class DescribeHandshakeRequestRequestTypeDef(TypedDict):
315
+ HandshakeId: str
316
+
317
+
318
+ class DescribeOrganizationalUnitRequestRequestTypeDef(TypedDict):
319
+ OrganizationalUnitId: str
320
+
321
+
322
+ class DescribePolicyRequestRequestTypeDef(TypedDict):
323
+ PolicyId: str
324
+
325
+
326
+ class DetachPolicyRequestRequestTypeDef(TypedDict):
327
+ PolicyId: str
328
+ TargetId: str
329
+
330
+
331
+ class DisableAWSServiceAccessRequestRequestTypeDef(TypedDict):
332
+ ServicePrincipal: str
333
+
334
+
335
+ class DisablePolicyTypeRequestRequestTypeDef(TypedDict):
336
+ RootId: str
337
+ PolicyType: PolicyTypeType
338
+
339
+
340
+ class EnableAWSServiceAccessRequestRequestTypeDef(TypedDict):
341
+ ServicePrincipal: str
342
+
343
+
344
+ class EnablePolicyTypeRequestRequestTypeDef(TypedDict):
345
+ RootId: str
346
+ PolicyType: PolicyTypeType
347
+
348
+
349
+ class EnabledServicePrincipalTypeDef(TypedDict):
350
+ ServicePrincipal: NotRequired[str]
351
+ DateEnabled: NotRequired[datetime]
352
+
353
+
354
+ class HandshakeFilterTypeDef(TypedDict):
355
+ ActionType: NotRequired[ActionTypeType]
356
+ ParentHandshakeId: NotRequired[str]
357
+
358
+
359
+ HandshakePartyTypeDef = TypedDict(
360
+ "HandshakePartyTypeDef",
361
+ {
362
+ "Id": str,
363
+ "Type": HandshakePartyTypeType,
364
+ },
365
+ )
366
+ HandshakeResourcePaginatorTypeDef = TypedDict(
367
+ "HandshakeResourcePaginatorTypeDef",
368
+ {
369
+ "Value": NotRequired[str],
370
+ "Type": NotRequired[HandshakeResourceTypeType],
371
+ "Resources": NotRequired[List[Dict[str, Any]]],
372
+ },
373
+ )
374
+ HandshakeResourceTypeDef = TypedDict(
375
+ "HandshakeResourceTypeDef",
376
+ {
377
+ "Value": NotRequired[str],
378
+ "Type": NotRequired[HandshakeResourceTypeType],
379
+ "Resources": NotRequired[List[Dict[str, Any]]],
380
+ },
381
+ )
382
+
383
+
384
+ class PaginatorConfigTypeDef(TypedDict):
385
+ MaxItems: NotRequired[int]
386
+ PageSize: NotRequired[int]
387
+ StartingToken: NotRequired[str]
388
+
389
+
390
+ class ListAWSServiceAccessForOrganizationRequestRequestTypeDef(TypedDict):
391
+ NextToken: NotRequired[str]
392
+ MaxResults: NotRequired[int]
393
+
394
+
395
+ class ListAccountsForParentRequestRequestTypeDef(TypedDict):
396
+ ParentId: str
397
+ NextToken: NotRequired[str]
398
+ MaxResults: NotRequired[int]
399
+
400
+
401
+ class ListAccountsRequestRequestTypeDef(TypedDict):
402
+ NextToken: NotRequired[str]
403
+ MaxResults: NotRequired[int]
404
+
405
+
406
+ class ListChildrenRequestRequestTypeDef(TypedDict):
407
+ ParentId: str
408
+ ChildType: ChildTypeType
409
+ NextToken: NotRequired[str]
410
+ MaxResults: NotRequired[int]
411
+
412
+
413
+ class ListCreateAccountStatusRequestRequestTypeDef(TypedDict):
414
+ States: NotRequired[Sequence[CreateAccountStateType]]
415
+ NextToken: NotRequired[str]
416
+ MaxResults: NotRequired[int]
417
+
418
+
419
+ class ListDelegatedAdministratorsRequestRequestTypeDef(TypedDict):
420
+ ServicePrincipal: NotRequired[str]
421
+ NextToken: NotRequired[str]
422
+ MaxResults: NotRequired[int]
423
+
424
+
425
+ class ListDelegatedServicesForAccountRequestRequestTypeDef(TypedDict):
426
+ AccountId: str
427
+ NextToken: NotRequired[str]
428
+ MaxResults: NotRequired[int]
429
+
430
+
431
+ class ListOrganizationalUnitsForParentRequestRequestTypeDef(TypedDict):
432
+ ParentId: str
433
+ NextToken: NotRequired[str]
434
+ MaxResults: NotRequired[int]
435
+
436
+
437
+ class ListParentsRequestRequestTypeDef(TypedDict):
438
+ ChildId: str
439
+ NextToken: NotRequired[str]
440
+ MaxResults: NotRequired[int]
441
+
442
+
443
+ ParentTypeDef = TypedDict(
444
+ "ParentTypeDef",
445
+ {
446
+ "Id": NotRequired[str],
447
+ "Type": NotRequired[ParentTypeType],
448
+ },
449
+ )
450
+
451
+
452
+ class ListPoliciesForTargetRequestRequestTypeDef(TypedDict):
453
+ TargetId: str
454
+ Filter: PolicyTypeType
455
+ NextToken: NotRequired[str]
456
+ MaxResults: NotRequired[int]
457
+
458
+
459
+ PolicySummaryTypeDef = TypedDict(
460
+ "PolicySummaryTypeDef",
461
+ {
462
+ "Id": NotRequired[str],
463
+ "Arn": NotRequired[str],
464
+ "Name": NotRequired[str],
465
+ "Description": NotRequired[str],
466
+ "Type": NotRequired[PolicyTypeType],
467
+ "AwsManaged": NotRequired[bool],
468
+ },
469
+ )
470
+
471
+
472
+ class ListPoliciesRequestRequestTypeDef(TypedDict):
473
+ Filter: PolicyTypeType
474
+ NextToken: NotRequired[str]
475
+ MaxResults: NotRequired[int]
476
+
477
+
478
+ class ListRootsRequestRequestTypeDef(TypedDict):
479
+ NextToken: NotRequired[str]
480
+ MaxResults: NotRequired[int]
481
+
482
+
483
+ class ListTagsForResourceRequestRequestTypeDef(TypedDict):
484
+ ResourceId: str
485
+ NextToken: NotRequired[str]
486
+
487
+
488
+ class ListTargetsForPolicyRequestRequestTypeDef(TypedDict):
489
+ PolicyId: str
490
+ NextToken: NotRequired[str]
491
+ MaxResults: NotRequired[int]
492
+
493
+
494
+ PolicyTargetSummaryTypeDef = TypedDict(
495
+ "PolicyTargetSummaryTypeDef",
496
+ {
497
+ "TargetId": NotRequired[str],
498
+ "Arn": NotRequired[str],
499
+ "Name": NotRequired[str],
500
+ "Type": NotRequired[TargetTypeType],
501
+ },
502
+ )
503
+
504
+
505
+ class MoveAccountRequestRequestTypeDef(TypedDict):
506
+ AccountId: str
507
+ SourceParentId: str
508
+ DestinationParentId: str
509
+
510
+
511
+ PolicyTypeSummaryTypeDef = TypedDict(
512
+ "PolicyTypeSummaryTypeDef",
513
+ {
514
+ "Type": NotRequired[PolicyTypeType],
515
+ "Status": NotRequired[PolicyTypeStatusType],
516
+ },
517
+ )
518
+
519
+
520
+ class RegisterDelegatedAdministratorRequestRequestTypeDef(TypedDict):
521
+ AccountId: str
522
+ ServicePrincipal: str
523
+
524
+
525
+ class RemoveAccountFromOrganizationRequestRequestTypeDef(TypedDict):
526
+ AccountId: str
527
+
528
+
529
+ class ResourcePolicySummaryTypeDef(TypedDict):
530
+ Id: NotRequired[str]
531
+ Arn: NotRequired[str]
532
+
533
+
534
+ class UntagResourceRequestRequestTypeDef(TypedDict):
535
+ ResourceId: str
536
+ TagKeys: Sequence[str]
537
+
538
+
539
+ class UpdateOrganizationalUnitRequestRequestTypeDef(TypedDict):
540
+ OrganizationalUnitId: str
541
+ Name: NotRequired[str]
542
+
543
+
544
+ class UpdatePolicyRequestRequestTypeDef(TypedDict):
545
+ PolicyId: str
546
+ Name: NotRequired[str]
547
+ Description: NotRequired[str]
548
+ Content: NotRequired[str]
549
+
550
+
551
+ class EmptyResponseMetadataTypeDef(TypedDict):
552
+ ResponseMetadata: ResponseMetadataTypeDef
553
+
554
+
555
+ class DescribeAccountResponseTypeDef(TypedDict):
556
+ Account: AccountTypeDef
557
+ ResponseMetadata: ResponseMetadataTypeDef
558
+
559
+
560
+ class ListAccountsForParentResponseTypeDef(TypedDict):
561
+ Accounts: List[AccountTypeDef]
562
+ ResponseMetadata: ResponseMetadataTypeDef
563
+ NextToken: NotRequired[str]
564
+
565
+
566
+ class ListAccountsResponseTypeDef(TypedDict):
567
+ Accounts: List[AccountTypeDef]
568
+ ResponseMetadata: ResponseMetadataTypeDef
569
+ NextToken: NotRequired[str]
570
+
571
+
572
+ class ListChildrenResponseTypeDef(TypedDict):
573
+ Children: List[ChildTypeDef]
574
+ ResponseMetadata: ResponseMetadataTypeDef
575
+ NextToken: NotRequired[str]
576
+
577
+
578
+ class CreateAccountRequestRequestTypeDef(TypedDict):
579
+ Email: str
580
+ AccountName: str
581
+ RoleName: NotRequired[str]
582
+ IamUserAccessToBilling: NotRequired[IAMUserAccessToBillingType]
583
+ Tags: NotRequired[Sequence[TagTypeDef]]
584
+
585
+
586
+ class CreateGovCloudAccountRequestRequestTypeDef(TypedDict):
587
+ Email: str
588
+ AccountName: str
589
+ RoleName: NotRequired[str]
590
+ IamUserAccessToBilling: NotRequired[IAMUserAccessToBillingType]
591
+ Tags: NotRequired[Sequence[TagTypeDef]]
592
+
593
+
594
+ class CreateOrganizationalUnitRequestRequestTypeDef(TypedDict):
595
+ ParentId: str
596
+ Name: str
597
+ Tags: NotRequired[Sequence[TagTypeDef]]
598
+
599
+
600
+ CreatePolicyRequestRequestTypeDef = TypedDict(
601
+ "CreatePolicyRequestRequestTypeDef",
602
+ {
603
+ "Content": str,
604
+ "Description": str,
605
+ "Name": str,
606
+ "Type": PolicyTypeType,
607
+ "Tags": NotRequired[Sequence[TagTypeDef]],
608
+ },
609
+ )
610
+
611
+
612
+ class ListTagsForResourceResponseTypeDef(TypedDict):
613
+ Tags: List[TagTypeDef]
614
+ ResponseMetadata: ResponseMetadataTypeDef
615
+ NextToken: NotRequired[str]
616
+
617
+
618
+ class PutResourcePolicyRequestRequestTypeDef(TypedDict):
619
+ Content: str
620
+ Tags: NotRequired[Sequence[TagTypeDef]]
621
+
622
+
623
+ class TagResourceRequestRequestTypeDef(TypedDict):
624
+ ResourceId: str
625
+ Tags: Sequence[TagTypeDef]
626
+
627
+
628
+ class CreateAccountResponseTypeDef(TypedDict):
629
+ CreateAccountStatus: CreateAccountStatusTypeDef
630
+ ResponseMetadata: ResponseMetadataTypeDef
631
+
632
+
633
+ class CreateGovCloudAccountResponseTypeDef(TypedDict):
634
+ CreateAccountStatus: CreateAccountStatusTypeDef
635
+ ResponseMetadata: ResponseMetadataTypeDef
636
+
637
+
638
+ class DescribeCreateAccountStatusResponseTypeDef(TypedDict):
639
+ CreateAccountStatus: CreateAccountStatusTypeDef
640
+ ResponseMetadata: ResponseMetadataTypeDef
641
+
642
+
643
+ class ListCreateAccountStatusResponseTypeDef(TypedDict):
644
+ CreateAccountStatuses: List[CreateAccountStatusTypeDef]
645
+ ResponseMetadata: ResponseMetadataTypeDef
646
+ NextToken: NotRequired[str]
647
+
648
+
649
+ class CreateOrganizationalUnitResponseTypeDef(TypedDict):
650
+ OrganizationalUnit: OrganizationalUnitTypeDef
651
+ ResponseMetadata: ResponseMetadataTypeDef
652
+
653
+
654
+ class DescribeOrganizationalUnitResponseTypeDef(TypedDict):
655
+ OrganizationalUnit: OrganizationalUnitTypeDef
656
+ ResponseMetadata: ResponseMetadataTypeDef
657
+
658
+
659
+ class ListOrganizationalUnitsForParentResponseTypeDef(TypedDict):
660
+ OrganizationalUnits: List[OrganizationalUnitTypeDef]
661
+ ResponseMetadata: ResponseMetadataTypeDef
662
+ NextToken: NotRequired[str]
663
+
664
+
665
+ class UpdateOrganizationalUnitResponseTypeDef(TypedDict):
666
+ OrganizationalUnit: OrganizationalUnitTypeDef
667
+ ResponseMetadata: ResponseMetadataTypeDef
668
+
669
+
670
+ class ListDelegatedAdministratorsResponseTypeDef(TypedDict):
671
+ DelegatedAdministrators: List[DelegatedAdministratorTypeDef]
672
+ ResponseMetadata: ResponseMetadataTypeDef
673
+ NextToken: NotRequired[str]
674
+
675
+
676
+ class ListDelegatedServicesForAccountResponseTypeDef(TypedDict):
677
+ DelegatedServices: List[DelegatedServiceTypeDef]
678
+ ResponseMetadata: ResponseMetadataTypeDef
679
+ NextToken: NotRequired[str]
680
+
681
+
682
+ class DescribeEffectivePolicyResponseTypeDef(TypedDict):
683
+ EffectivePolicy: EffectivePolicyTypeDef
684
+ ResponseMetadata: ResponseMetadataTypeDef
685
+
686
+
687
+ class ListAWSServiceAccessForOrganizationResponseTypeDef(TypedDict):
688
+ EnabledServicePrincipals: List[EnabledServicePrincipalTypeDef]
689
+ ResponseMetadata: ResponseMetadataTypeDef
690
+ NextToken: NotRequired[str]
691
+
692
+
693
+ class ListHandshakesForAccountRequestRequestTypeDef(TypedDict):
694
+ Filter: NotRequired[HandshakeFilterTypeDef]
695
+ NextToken: NotRequired[str]
696
+ MaxResults: NotRequired[int]
697
+
698
+
699
+ class ListHandshakesForOrganizationRequestRequestTypeDef(TypedDict):
700
+ Filter: NotRequired[HandshakeFilterTypeDef]
701
+ NextToken: NotRequired[str]
702
+ MaxResults: NotRequired[int]
703
+
704
+
705
+ class InviteAccountToOrganizationRequestRequestTypeDef(TypedDict):
706
+ Target: HandshakePartyTypeDef
707
+ Notes: NotRequired[str]
708
+ Tags: NotRequired[Sequence[TagTypeDef]]
709
+
710
+
711
+ class HandshakePaginatorTypeDef(TypedDict):
712
+ Id: NotRequired[str]
713
+ Arn: NotRequired[str]
714
+ Parties: NotRequired[List[HandshakePartyTypeDef]]
715
+ State: NotRequired[HandshakeStateType]
716
+ RequestedTimestamp: NotRequired[datetime]
717
+ ExpirationTimestamp: NotRequired[datetime]
718
+ Action: NotRequired[ActionTypeType]
719
+ Resources: NotRequired[List[HandshakeResourcePaginatorTypeDef]]
720
+
721
+
722
+ class HandshakeTypeDef(TypedDict):
723
+ Id: NotRequired[str]
724
+ Arn: NotRequired[str]
725
+ Parties: NotRequired[List[HandshakePartyTypeDef]]
726
+ State: NotRequired[HandshakeStateType]
727
+ RequestedTimestamp: NotRequired[datetime]
728
+ ExpirationTimestamp: NotRequired[datetime]
729
+ Action: NotRequired[ActionTypeType]
730
+ Resources: NotRequired[List[HandshakeResourceTypeDef]]
731
+
732
+
733
+ class ListAWSServiceAccessForOrganizationRequestPaginateTypeDef(TypedDict):
734
+ PaginationConfig: NotRequired[PaginatorConfigTypeDef]
735
+
736
+
737
+ class ListAccountsForParentRequestPaginateTypeDef(TypedDict):
738
+ ParentId: str
739
+ PaginationConfig: NotRequired[PaginatorConfigTypeDef]
740
+
741
+
742
+ class ListAccountsRequestPaginateTypeDef(TypedDict):
743
+ PaginationConfig: NotRequired[PaginatorConfigTypeDef]
744
+
745
+
746
+ class ListChildrenRequestPaginateTypeDef(TypedDict):
747
+ ParentId: str
748
+ ChildType: ChildTypeType
749
+ PaginationConfig: NotRequired[PaginatorConfigTypeDef]
750
+
751
+
752
+ class ListCreateAccountStatusRequestPaginateTypeDef(TypedDict):
753
+ States: NotRequired[Sequence[CreateAccountStateType]]
754
+ PaginationConfig: NotRequired[PaginatorConfigTypeDef]
755
+
756
+
757
+ class ListDelegatedAdministratorsRequestPaginateTypeDef(TypedDict):
758
+ ServicePrincipal: NotRequired[str]
759
+ PaginationConfig: NotRequired[PaginatorConfigTypeDef]
760
+
761
+
762
+ class ListDelegatedServicesForAccountRequestPaginateTypeDef(TypedDict):
763
+ AccountId: str
764
+ PaginationConfig: NotRequired[PaginatorConfigTypeDef]
765
+
766
+
767
+ class ListHandshakesForAccountRequestPaginateTypeDef(TypedDict):
768
+ Filter: NotRequired[HandshakeFilterTypeDef]
769
+ PaginationConfig: NotRequired[PaginatorConfigTypeDef]
770
+
771
+
772
+ class ListHandshakesForOrganizationRequestPaginateTypeDef(TypedDict):
773
+ Filter: NotRequired[HandshakeFilterTypeDef]
774
+ PaginationConfig: NotRequired[PaginatorConfigTypeDef]
775
+
776
+
777
+ class ListOrganizationalUnitsForParentRequestPaginateTypeDef(TypedDict):
778
+ ParentId: str
779
+ PaginationConfig: NotRequired[PaginatorConfigTypeDef]
780
+
781
+
782
+ class ListParentsRequestPaginateTypeDef(TypedDict):
783
+ ChildId: str
784
+ PaginationConfig: NotRequired[PaginatorConfigTypeDef]
785
+
786
+
787
+ class ListPoliciesForTargetRequestPaginateTypeDef(TypedDict):
788
+ TargetId: str
789
+ Filter: PolicyTypeType
790
+ PaginationConfig: NotRequired[PaginatorConfigTypeDef]
791
+
792
+
793
+ class ListPoliciesRequestPaginateTypeDef(TypedDict):
794
+ Filter: PolicyTypeType
795
+ PaginationConfig: NotRequired[PaginatorConfigTypeDef]
796
+
797
+
798
+ class ListRootsRequestPaginateTypeDef(TypedDict):
799
+ PaginationConfig: NotRequired[PaginatorConfigTypeDef]
800
+
801
+
802
+ class ListTagsForResourceRequestPaginateTypeDef(TypedDict):
803
+ ResourceId: str
804
+ PaginationConfig: NotRequired[PaginatorConfigTypeDef]
805
+
806
+
807
+ class ListTargetsForPolicyRequestPaginateTypeDef(TypedDict):
808
+ PolicyId: str
809
+ PaginationConfig: NotRequired[PaginatorConfigTypeDef]
810
+
811
+
812
+ class ListParentsResponseTypeDef(TypedDict):
813
+ Parents: List[ParentTypeDef]
814
+ ResponseMetadata: ResponseMetadataTypeDef
815
+ NextToken: NotRequired[str]
816
+
817
+
818
+ class ListPoliciesForTargetResponseTypeDef(TypedDict):
819
+ Policies: List[PolicySummaryTypeDef]
820
+ ResponseMetadata: ResponseMetadataTypeDef
821
+ NextToken: NotRequired[str]
822
+
823
+
824
+ class ListPoliciesResponseTypeDef(TypedDict):
825
+ Policies: List[PolicySummaryTypeDef]
826
+ ResponseMetadata: ResponseMetadataTypeDef
827
+ NextToken: NotRequired[str]
828
+
829
+
830
+ class PolicyTypeDef(TypedDict):
831
+ PolicySummary: NotRequired[PolicySummaryTypeDef]
832
+ Content: NotRequired[str]
833
+
834
+
835
+ class ListTargetsForPolicyResponseTypeDef(TypedDict):
836
+ Targets: List[PolicyTargetSummaryTypeDef]
837
+ ResponseMetadata: ResponseMetadataTypeDef
838
+ NextToken: NotRequired[str]
839
+
840
+
841
+ class OrganizationTypeDef(TypedDict):
842
+ Id: NotRequired[str]
843
+ Arn: NotRequired[str]
844
+ FeatureSet: NotRequired[OrganizationFeatureSetType]
845
+ MasterAccountArn: NotRequired[str]
846
+ MasterAccountId: NotRequired[str]
847
+ MasterAccountEmail: NotRequired[str]
848
+ AvailablePolicyTypes: NotRequired[List[PolicyTypeSummaryTypeDef]]
849
+
850
+
851
+ class RootTypeDef(TypedDict):
852
+ Id: NotRequired[str]
853
+ Arn: NotRequired[str]
854
+ Name: NotRequired[str]
855
+ PolicyTypes: NotRequired[List[PolicyTypeSummaryTypeDef]]
856
+
857
+
858
+ class ResourcePolicyTypeDef(TypedDict):
859
+ ResourcePolicySummary: NotRequired[ResourcePolicySummaryTypeDef]
860
+ Content: NotRequired[str]
861
+
862
+
863
+ class ListHandshakesForAccountResponsePaginatorTypeDef(TypedDict):
864
+ Handshakes: List[HandshakePaginatorTypeDef]
865
+ ResponseMetadata: ResponseMetadataTypeDef
866
+ NextToken: NotRequired[str]
867
+
868
+
869
+ class ListHandshakesForOrganizationResponsePaginatorTypeDef(TypedDict):
870
+ Handshakes: List[HandshakePaginatorTypeDef]
871
+ ResponseMetadata: ResponseMetadataTypeDef
872
+ NextToken: NotRequired[str]
873
+
874
+
875
+ class AcceptHandshakeResponseTypeDef(TypedDict):
876
+ Handshake: HandshakeTypeDef
877
+ ResponseMetadata: ResponseMetadataTypeDef
878
+
879
+
880
+ class CancelHandshakeResponseTypeDef(TypedDict):
881
+ Handshake: HandshakeTypeDef
882
+ ResponseMetadata: ResponseMetadataTypeDef
883
+
884
+
885
+ class DeclineHandshakeResponseTypeDef(TypedDict):
886
+ Handshake: HandshakeTypeDef
887
+ ResponseMetadata: ResponseMetadataTypeDef
888
+
889
+
890
+ class DescribeHandshakeResponseTypeDef(TypedDict):
891
+ Handshake: HandshakeTypeDef
892
+ ResponseMetadata: ResponseMetadataTypeDef
893
+
894
+
895
+ class EnableAllFeaturesResponseTypeDef(TypedDict):
896
+ Handshake: HandshakeTypeDef
897
+ ResponseMetadata: ResponseMetadataTypeDef
898
+
899
+
900
+ class InviteAccountToOrganizationResponseTypeDef(TypedDict):
901
+ Handshake: HandshakeTypeDef
902
+ ResponseMetadata: ResponseMetadataTypeDef
903
+
904
+
905
+ class ListHandshakesForAccountResponseTypeDef(TypedDict):
906
+ Handshakes: List[HandshakeTypeDef]
907
+ ResponseMetadata: ResponseMetadataTypeDef
908
+ NextToken: NotRequired[str]
909
+
910
+
911
+ class ListHandshakesForOrganizationResponseTypeDef(TypedDict):
912
+ Handshakes: List[HandshakeTypeDef]
913
+ ResponseMetadata: ResponseMetadataTypeDef
914
+ NextToken: NotRequired[str]
915
+
916
+
917
+ class CreatePolicyResponseTypeDef(TypedDict):
918
+ Policy: PolicyTypeDef
919
+ ResponseMetadata: ResponseMetadataTypeDef
920
+
921
+
922
+ class DescribePolicyResponseTypeDef(TypedDict):
923
+ Policy: PolicyTypeDef
924
+ ResponseMetadata: ResponseMetadataTypeDef
925
+
926
+
927
+ class UpdatePolicyResponseTypeDef(TypedDict):
928
+ Policy: PolicyTypeDef
929
+ ResponseMetadata: ResponseMetadataTypeDef
930
+
931
+
932
+ class CreateOrganizationResponseTypeDef(TypedDict):
933
+ Organization: OrganizationTypeDef
934
+ ResponseMetadata: ResponseMetadataTypeDef
935
+
936
+
937
+ class DescribeOrganizationResponseTypeDef(TypedDict):
938
+ Organization: OrganizationTypeDef
939
+ ResponseMetadata: ResponseMetadataTypeDef
940
+
941
+
942
+ class DisablePolicyTypeResponseTypeDef(TypedDict):
943
+ Root: RootTypeDef
944
+ ResponseMetadata: ResponseMetadataTypeDef
945
+
946
+
947
+ class EnablePolicyTypeResponseTypeDef(TypedDict):
948
+ Root: RootTypeDef
949
+ ResponseMetadata: ResponseMetadataTypeDef
950
+
951
+
952
+ class ListRootsResponseTypeDef(TypedDict):
953
+ Roots: List[RootTypeDef]
954
+ ResponseMetadata: ResponseMetadataTypeDef
955
+ NextToken: NotRequired[str]
956
+
957
+
958
+ class DescribeResourcePolicyResponseTypeDef(TypedDict):
959
+ ResourcePolicy: ResourcePolicyTypeDef
960
+ ResponseMetadata: ResponseMetadataTypeDef
961
+
962
+
963
+ class PutResourcePolicyResponseTypeDef(TypedDict):
964
+ ResourcePolicy: ResourcePolicyTypeDef
965
+ ResponseMetadata: ResponseMetadataTypeDef