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