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