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