@aws-sdk/client-organizations 3.934.0 → 3.936.0

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.
@@ -1,5 +1,4 @@
1
- import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
- import { OrganizationsServiceException as __BaseException } from "./OrganizationsServiceException";
1
+ import { AccountJoinedMethod, AccountState, AccountStatus, ActionType, ChildType, CreateAccountFailureReason, CreateAccountState, EffectivePolicyType, HandshakePartyType, HandshakeResourceType, HandshakeState, IAMUserAccessToBilling, OrganizationFeatureSet, ParentType, PolicyType, PolicyTypeStatus, TargetType } from "./enums";
3
2
  /**
4
3
  * @public
5
4
  */
@@ -12,33 +11,6 @@ export interface AcceptHandshakeRequest {
12
11
  */
13
12
  HandshakeId: string | undefined;
14
13
  }
15
- /**
16
- * @public
17
- * @enum
18
- */
19
- export declare const ActionType: {
20
- readonly ADD_ORGANIZATIONS_SERVICE_LINKED_ROLE: "ADD_ORGANIZATIONS_SERVICE_LINKED_ROLE";
21
- readonly APPROVE_ALL_FEATURES: "APPROVE_ALL_FEATURES";
22
- readonly ENABLE_ALL_FEATURES: "ENABLE_ALL_FEATURES";
23
- readonly INVITE_ACCOUNT_TO_ORGANIZATION: "INVITE";
24
- };
25
- /**
26
- * @public
27
- */
28
- export type ActionType = (typeof ActionType)[keyof typeof ActionType];
29
- /**
30
- * @public
31
- * @enum
32
- */
33
- export declare const HandshakePartyType: {
34
- readonly ACCOUNT: "ACCOUNT";
35
- readonly EMAIL: "EMAIL";
36
- readonly ORGANIZATION: "ORGANIZATION";
37
- };
38
- /**
39
- * @public
40
- */
41
- export type HandshakePartyType = (typeof HandshakePartyType)[keyof typeof HandshakePartyType];
42
14
  /**
43
15
  * <p>Identifies a participant in a handshake.</p>
44
16
  * @public
@@ -57,476 +29,6 @@ export interface HandshakeParty {
57
29
  */
58
30
  Type: HandshakePartyType | undefined;
59
31
  }
60
- /**
61
- * @public
62
- * @enum
63
- */
64
- export declare const HandshakeResourceType: {
65
- readonly ACCOUNT: "ACCOUNT";
66
- readonly EMAIL: "EMAIL";
67
- readonly MASTER_EMAIL: "MASTER_EMAIL";
68
- readonly MASTER_NAME: "MASTER_NAME";
69
- readonly NOTES: "NOTES";
70
- readonly ORGANIZATION: "ORGANIZATION";
71
- readonly ORGANIZATION_FEATURE_SET: "ORGANIZATION_FEATURE_SET";
72
- readonly PARENT_HANDSHAKE: "PARENT_HANDSHAKE";
73
- };
74
- /**
75
- * @public
76
- */
77
- export type HandshakeResourceType = (typeof HandshakeResourceType)[keyof typeof HandshakeResourceType];
78
- /**
79
- * @public
80
- * @enum
81
- */
82
- export declare const HandshakeState: {
83
- readonly ACCEPTED: "ACCEPTED";
84
- readonly CANCELED: "CANCELED";
85
- readonly DECLINED: "DECLINED";
86
- readonly EXPIRED: "EXPIRED";
87
- readonly OPEN: "OPEN";
88
- readonly REQUESTED: "REQUESTED";
89
- };
90
- /**
91
- * @public
92
- */
93
- export type HandshakeState = (typeof HandshakeState)[keyof typeof HandshakeState];
94
- /**
95
- * <p>You don't have permissions to perform the requested operation. The user or role that
96
- * is making the request must have at least one IAM permissions policy attached that
97
- * grants the required permissions. For more information, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/access.html">Access Management</a> in the
98
- * <i>IAM User Guide</i>.</p>
99
- * @public
100
- */
101
- export declare class AccessDeniedException extends __BaseException {
102
- readonly name: "AccessDeniedException";
103
- readonly $fault: "client";
104
- Message?: string | undefined;
105
- /**
106
- * @internal
107
- */
108
- constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
109
- }
110
- /**
111
- * @public
112
- * @enum
113
- */
114
- export declare const AccessDeniedForDependencyExceptionReason: {
115
- readonly ACCESS_DENIED_DURING_CREATE_SERVICE_LINKED_ROLE: "ACCESS_DENIED_DURING_CREATE_SERVICE_LINKED_ROLE";
116
- };
117
- /**
118
- * @public
119
- */
120
- export type AccessDeniedForDependencyExceptionReason = (typeof AccessDeniedForDependencyExceptionReason)[keyof typeof AccessDeniedForDependencyExceptionReason];
121
- /**
122
- * <p>The operation that you attempted requires you to have the
123
- * <code>iam:CreateServiceLinkedRole</code> for
124
- * <code>organizations.amazonaws.com</code> permission so that Organizations can create the
125
- * required service-linked role. You don't have that permission.</p>
126
- * @public
127
- */
128
- export declare class AccessDeniedForDependencyException extends __BaseException {
129
- readonly name: "AccessDeniedForDependencyException";
130
- readonly $fault: "client";
131
- Message?: string | undefined;
132
- Reason?: AccessDeniedForDependencyExceptionReason | undefined;
133
- /**
134
- * @internal
135
- */
136
- constructor(opts: __ExceptionOptionType<AccessDeniedForDependencyException, __BaseException>);
137
- }
138
- /**
139
- * <p>Your account isn't a member of an organization. To make this request, you must use the
140
- * credentials of an account that belongs to an organization.</p>
141
- * @public
142
- */
143
- export declare class AWSOrganizationsNotInUseException extends __BaseException {
144
- readonly name: "AWSOrganizationsNotInUseException";
145
- readonly $fault: "client";
146
- Message?: string | undefined;
147
- /**
148
- * @internal
149
- */
150
- constructor(opts: __ExceptionOptionType<AWSOrganizationsNotInUseException, __BaseException>);
151
- }
152
- /**
153
- * <p>The target of the operation is currently being modified by a different request. Try
154
- * again later.</p>
155
- * @public
156
- */
157
- export declare class ConcurrentModificationException extends __BaseException {
158
- readonly name: "ConcurrentModificationException";
159
- readonly $fault: "client";
160
- Message?: string | undefined;
161
- /**
162
- * @internal
163
- */
164
- constructor(opts: __ExceptionOptionType<ConcurrentModificationException, __BaseException>);
165
- }
166
- /**
167
- * <p>The specified handshake is already in the requested state. For example, you can't
168
- * accept a handshake that was already accepted.</p>
169
- * @public
170
- */
171
- export declare class HandshakeAlreadyInStateException extends __BaseException {
172
- readonly name: "HandshakeAlreadyInStateException";
173
- readonly $fault: "client";
174
- Message?: string | undefined;
175
- /**
176
- * @internal
177
- */
178
- constructor(opts: __ExceptionOptionType<HandshakeAlreadyInStateException, __BaseException>);
179
- }
180
- /**
181
- * @public
182
- * @enum
183
- */
184
- export declare const HandshakeConstraintViolationExceptionReason: {
185
- readonly ACCOUNT_NUMBER_LIMIT_EXCEEDED: "ACCOUNT_NUMBER_LIMIT_EXCEEDED";
186
- readonly ALREADY_IN_AN_ORGANIZATION: "ALREADY_IN_AN_ORGANIZATION";
187
- readonly HANDSHAKE_RATE_LIMIT_EXCEEDED: "HANDSHAKE_RATE_LIMIT_EXCEEDED";
188
- readonly INVITE_DISABLED_DURING_ENABLE_ALL_FEATURES: "INVITE_DISABLED_DURING_ENABLE_ALL_FEATURES";
189
- readonly MANAGEMENT_ACCOUNT_EMAIL_NOT_VERIFIED: "MANAGEMENT_ACCOUNT_EMAIL_NOT_VERIFIED";
190
- readonly ORGANIZATION_ALREADY_HAS_ALL_FEATURES: "ORGANIZATION_ALREADY_HAS_ALL_FEATURES";
191
- readonly ORGANIZATION_FROM_DIFFERENT_SELLER_OF_RECORD: "ORGANIZATION_FROM_DIFFERENT_SELLER_OF_RECORD";
192
- readonly ORGANIZATION_IS_ALREADY_PENDING_ALL_FEATURES_MIGRATION: "ORGANIZATION_IS_ALREADY_PENDING_ALL_FEATURES_MIGRATION";
193
- readonly ORGANIZATION_MEMBERSHIP_CHANGE_RATE_LIMIT_EXCEEDED: "ORGANIZATION_MEMBERSHIP_CHANGE_RATE_LIMIT_EXCEEDED";
194
- readonly PAYMENT_INSTRUMENT_REQUIRED: "PAYMENT_INSTRUMENT_REQUIRED";
195
- };
196
- /**
197
- * @public
198
- */
199
- export type HandshakeConstraintViolationExceptionReason = (typeof HandshakeConstraintViolationExceptionReason)[keyof typeof HandshakeConstraintViolationExceptionReason];
200
- /**
201
- * <p>The requested operation would violate the constraint identified in the reason
202
- * code.</p>
203
- * <note>
204
- * <p>Some of the reasons in the following list might not be applicable to this specific
205
- * API or operation:</p>
206
- * </note>
207
- * <ul>
208
- * <li>
209
- * <p>ACCOUNT_NUMBER_LIMIT_EXCEEDED: You attempted to exceed the limit on the number
210
- * of accounts in an organization. Note that deleted and closed accounts still
211
- * count toward your limit.</p>
212
- * <important>
213
- * <p>If you get this exception immediately after creating the organization,
214
- * wait one hour and try again. If after an hour it continues to fail with this
215
- * error, contact <a href="https://console.aws.amazon.com/support/home#/">Amazon Web Services
216
- * Support</a>.</p>
217
- * </important>
218
- * </li>
219
- * <li>
220
- * <p>ALREADY_IN_AN_ORGANIZATION: The handshake request is invalid because the
221
- * invited account is already a member of an organization.</p>
222
- * </li>
223
- * <li>
224
- * <p>HANDSHAKE_RATE_LIMIT_EXCEEDED: You attempted to exceed the number of
225
- * handshakes that you can send in one day.</p>
226
- * </li>
227
- * <li>
228
- * <p>INVITE_DISABLED_DURING_ENABLE_ALL_FEATURES: You can't issue new invitations to
229
- * join an organization while it's in the process of enabling all features. You can
230
- * resume inviting accounts after you finalize the process when all accounts have
231
- * agreed to the change.</p>
232
- * </li>
233
- * <li>
234
- * <p>ORGANIZATION_ALREADY_HAS_ALL_FEATURES: The handshake request is invalid
235
- * because the organization has already enabled all features.</p>
236
- * </li>
237
- * <li>
238
- * <p>ORGANIZATION_IS_ALREADY_PENDING_ALL_FEATURES_MIGRATION: The handshake request
239
- * is invalid because the organization has already started the process to enable
240
- * all features.</p>
241
- * </li>
242
- * <li>
243
- * <p>ORGANIZATION_FROM_DIFFERENT_SELLER_OF_RECORD: The request failed because the
244
- * account is from a different marketplace than the accounts in the
245
- * organization.</p>
246
- * </li>
247
- * <li>
248
- * <p>ORGANIZATION_MEMBERSHIP_CHANGE_RATE_LIMIT_EXCEEDED: You attempted to change
249
- * the membership of an account too quickly after its previous change.</p>
250
- * </li>
251
- * <li>
252
- * <p>PAYMENT_INSTRUMENT_REQUIRED: You can't complete the operation with an account
253
- * that doesn't have a payment instrument, such as a credit card, associated with
254
- * it.</p>
255
- * </li>
256
- * </ul>
257
- * @public
258
- */
259
- export declare class HandshakeConstraintViolationException extends __BaseException {
260
- readonly name: "HandshakeConstraintViolationException";
261
- readonly $fault: "client";
262
- Message?: string | undefined;
263
- Reason?: HandshakeConstraintViolationExceptionReason | undefined;
264
- /**
265
- * @internal
266
- */
267
- constructor(opts: __ExceptionOptionType<HandshakeConstraintViolationException, __BaseException>);
268
- }
269
- /**
270
- * <p>We can't find a handshake with the <code>HandshakeId</code> that you specified.</p>
271
- * @public
272
- */
273
- export declare class HandshakeNotFoundException extends __BaseException {
274
- readonly name: "HandshakeNotFoundException";
275
- readonly $fault: "client";
276
- Message?: string | undefined;
277
- /**
278
- * @internal
279
- */
280
- constructor(opts: __ExceptionOptionType<HandshakeNotFoundException, __BaseException>);
281
- }
282
- /**
283
- * <p>You can't perform the operation on the handshake in its current state. For example,
284
- * you can't cancel a handshake that was already accepted or accept a handshake that was
285
- * already declined.</p>
286
- * @public
287
- */
288
- export declare class InvalidHandshakeTransitionException extends __BaseException {
289
- readonly name: "InvalidHandshakeTransitionException";
290
- readonly $fault: "client";
291
- Message?: string | undefined;
292
- /**
293
- * @internal
294
- */
295
- constructor(opts: __ExceptionOptionType<InvalidHandshakeTransitionException, __BaseException>);
296
- }
297
- /**
298
- * @public
299
- * @enum
300
- */
301
- export declare const InvalidInputExceptionReason: {
302
- readonly DUPLICATE_TAG_KEY: "DUPLICATE_TAG_KEY";
303
- readonly IMMUTABLE_POLICY: "IMMUTABLE_POLICY";
304
- readonly INPUT_REQUIRED: "INPUT_REQUIRED";
305
- readonly INVALID_EMAIL_ADDRESS_TARGET: "INVALID_EMAIL_ADDRESS_TARGET";
306
- readonly INVALID_ENUM: "INVALID_ENUM";
307
- readonly INVALID_ENUM_POLICY_TYPE: "INVALID_ENUM_POLICY_TYPE";
308
- readonly INVALID_FULL_NAME_TARGET: "INVALID_FULL_NAME_TARGET";
309
- readonly INVALID_LIST_MEMBER: "INVALID_LIST_MEMBER";
310
- readonly INVALID_PAGINATION_TOKEN: "INVALID_NEXT_TOKEN";
311
- readonly INVALID_PARTY_TYPE_TARGET: "INVALID_PARTY_TYPE_TARGET";
312
- readonly INVALID_PATTERN: "INVALID_PATTERN";
313
- readonly INVALID_PATTERN_TARGET_ID: "INVALID_PATTERN_TARGET_ID";
314
- readonly INVALID_PRINCIPAL: "INVALID_PRINCIPAL";
315
- readonly INVALID_RESOURCE_POLICY_JSON: "INVALID_RESOURCE_POLICY_JSON";
316
- readonly INVALID_ROLE_NAME: "INVALID_ROLE_NAME";
317
- readonly INVALID_SYNTAX_ORGANIZATION: "INVALID_SYNTAX_ORGANIZATION_ARN";
318
- readonly INVALID_SYNTAX_POLICY: "INVALID_SYNTAX_POLICY_ID";
319
- readonly INVALID_SYSTEM_TAGS_PARAMETER: "INVALID_SYSTEM_TAGS_PARAMETER";
320
- readonly MAX_FILTER_LIMIT_EXCEEDED: "MAX_LIMIT_EXCEEDED_FILTER";
321
- readonly MAX_LENGTH_EXCEEDED: "MAX_LENGTH_EXCEEDED";
322
- readonly MAX_VALUE_EXCEEDED: "MAX_VALUE_EXCEEDED";
323
- readonly MIN_LENGTH_EXCEEDED: "MIN_LENGTH_EXCEEDED";
324
- readonly MIN_VALUE_EXCEEDED: "MIN_VALUE_EXCEEDED";
325
- readonly MOVING_ACCOUNT_BETWEEN_DIFFERENT_ROOTS: "MOVING_ACCOUNT_BETWEEN_DIFFERENT_ROOTS";
326
- readonly NON_DETACHABLE_POLICY: "NON_DETACHABLE_POLICY";
327
- readonly TARGET_NOT_SUPPORTED: "TARGET_NOT_SUPPORTED";
328
- readonly UNRECOGNIZED_SERVICE_PRINCIPAL: "UNRECOGNIZED_SERVICE_PRINCIPAL";
329
- readonly UNSUPPORTED_ACTION_IN_RESOURCE_POLICY: "UNSUPPORTED_ACTION_IN_RESOURCE_POLICY";
330
- readonly UNSUPPORTED_POLICY_TYPE_IN_RESOURCE_POLICY: "UNSUPPORTED_POLICY_TYPE_IN_RESOURCE_POLICY";
331
- readonly UNSUPPORTED_RESOURCE_IN_RESOURCE_POLICY: "UNSUPPORTED_RESOURCE_IN_RESOURCE_POLICY";
332
- };
333
- /**
334
- * @public
335
- */
336
- export type InvalidInputExceptionReason = (typeof InvalidInputExceptionReason)[keyof typeof InvalidInputExceptionReason];
337
- /**
338
- * <p>The requested operation failed because you provided invalid values for one or more of
339
- * the request parameters. This exception includes a reason that contains additional
340
- * information about the violated limit:</p>
341
- * <note>
342
- * <p>Some of the reasons in the following list might not be applicable to this specific
343
- * API or operation.</p>
344
- * </note>
345
- * <ul>
346
- * <li>
347
- * <p>DUPLICATE_TAG_KEY: Tag keys must be unique among the tags attached to the same
348
- * entity.</p>
349
- * </li>
350
- * <li>
351
- * <p>IMMUTABLE_POLICY: You specified a policy that is managed by Amazon Web Services and can't be
352
- * modified.</p>
353
- * </li>
354
- * <li>
355
- * <p>INPUT_REQUIRED: You must include a value for all required parameters.</p>
356
- * </li>
357
- * <li>
358
- * <p>INVALID_EMAIL_ADDRESS_TARGET: You specified an invalid email address for the
359
- * invited account owner.</p>
360
- * </li>
361
- * <li>
362
- * <p>INVALID_ENUM: You specified an invalid value.</p>
363
- * </li>
364
- * <li>
365
- * <p>INVALID_ENUM_POLICY_TYPE: You specified an invalid policy type string.</p>
366
- * </li>
367
- * <li>
368
- * <p>INVALID_FULL_NAME_TARGET: You specified a full name that contains invalid
369
- * characters.</p>
370
- * </li>
371
- * <li>
372
- * <p>INVALID_LIST_MEMBER: You provided a list to a parameter that contains at least
373
- * one invalid value.</p>
374
- * </li>
375
- * <li>
376
- * <p>INVALID_PAGINATION_TOKEN: Get the value for the <code>NextToken</code>
377
- * parameter from the response to a previous call of the operation.</p>
378
- * </li>
379
- * <li>
380
- * <p>INVALID_PARTY_TYPE_TARGET: You specified the wrong type of entity (account,
381
- * organization, or email) as a party.</p>
382
- * </li>
383
- * <li>
384
- * <p>INVALID_PATTERN: You provided a value that doesn't match the required
385
- * pattern.</p>
386
- * </li>
387
- * <li>
388
- * <p>INVALID_PATTERN_TARGET_ID: You specified a policy target ID that doesn't match
389
- * the required pattern.</p>
390
- * </li>
391
- * <li>
392
- * <p>INVALID_PRINCIPAL: You specified an invalid principal element in the
393
- * policy.</p>
394
- * </li>
395
- * <li>
396
- * <p>INVALID_ROLE_NAME: You provided a role name that isn't valid. A role name
397
- * can't begin with the reserved prefix <code>AWSServiceRoleFor</code>.</p>
398
- * </li>
399
- * <li>
400
- * <p>INVALID_SYNTAX_ORGANIZATION_ARN: You specified an invalid Amazon Resource Name
401
- * (ARN) for the organization.</p>
402
- * </li>
403
- * <li>
404
- * <p>INVALID_SYNTAX_POLICY_ID: You specified an invalid policy ID. </p>
405
- * </li>
406
- * <li>
407
- * <p>INVALID_SYSTEM_TAGS_PARAMETER: You specified a tag key that is a system tag.
408
- * You can’t add, edit, or delete system tag keys because they're reserved for
409
- * Amazon Web Services use. System tags don’t count against your tags per resource limit.</p>
410
- * </li>
411
- * <li>
412
- * <p>MAX_FILTER_LIMIT_EXCEEDED: You can specify only one filter parameter for the
413
- * operation.</p>
414
- * </li>
415
- * <li>
416
- * <p>MAX_LENGTH_EXCEEDED: You provided a string parameter that is longer than
417
- * allowed.</p>
418
- * </li>
419
- * <li>
420
- * <p>MAX_VALUE_EXCEEDED: You provided a numeric parameter that has a larger value
421
- * than allowed.</p>
422
- * </li>
423
- * <li>
424
- * <p>MIN_LENGTH_EXCEEDED: You provided a string parameter that is shorter than
425
- * allowed.</p>
426
- * </li>
427
- * <li>
428
- * <p>MIN_VALUE_EXCEEDED: You provided a numeric parameter that has a smaller value
429
- * than allowed.</p>
430
- * </li>
431
- * <li>
432
- * <p>MOVING_ACCOUNT_BETWEEN_DIFFERENT_ROOTS: You can move an account only between
433
- * entities in the same root.</p>
434
- * </li>
435
- * <li>
436
- * <p>NON_DETACHABLE_POLICY: You can't detach this Amazon Web Services Managed Policy.</p>
437
- * </li>
438
- * <li>
439
- * <p>TARGET_NOT_SUPPORTED: You can't perform the specified operation on that target
440
- * entity.</p>
441
- * </li>
442
- * <li>
443
- * <p>UNRECOGNIZED_SERVICE_PRINCIPAL: You specified a service principal that isn't
444
- * recognized.</p>
445
- * </li>
446
- * </ul>
447
- * @public
448
- */
449
- export declare class InvalidInputException extends __BaseException {
450
- readonly name: "InvalidInputException";
451
- readonly $fault: "client";
452
- Message?: string | undefined;
453
- Reason?: InvalidInputExceptionReason | undefined;
454
- /**
455
- * @internal
456
- */
457
- constructor(opts: __ExceptionOptionType<InvalidInputException, __BaseException>);
458
- }
459
- /**
460
- * <p>Organizations can't complete your request because of an internal service error. Try again
461
- * later.</p>
462
- * @public
463
- */
464
- export declare class ServiceException extends __BaseException {
465
- readonly name: "ServiceException";
466
- readonly $fault: "server";
467
- Message?: string | undefined;
468
- /**
469
- * @internal
470
- */
471
- constructor(opts: __ExceptionOptionType<ServiceException, __BaseException>);
472
- }
473
- /**
474
- * <p>You have sent too many requests in too short a period of time. The quota helps protect
475
- * against denial-of-service attacks. Try again later.</p>
476
- * <p>For information about quotas that affect Organizations, see <a href="https://docs.aws.amazon.com/organizations/latest/userguide/orgs_reference_limits.html">Quotas for Organizations</a> in the
477
- * <i>Organizations User Guide</i>.</p>
478
- * @public
479
- */
480
- export declare class TooManyRequestsException extends __BaseException {
481
- readonly name: "TooManyRequestsException";
482
- readonly $fault: "client";
483
- Type?: string | undefined;
484
- Message?: string | undefined;
485
- /**
486
- * @internal
487
- */
488
- constructor(opts: __ExceptionOptionType<TooManyRequestsException, __BaseException>);
489
- }
490
- /**
491
- * @public
492
- * @enum
493
- */
494
- export declare const AccountJoinedMethod: {
495
- readonly CREATED: "CREATED";
496
- readonly INVITED: "INVITED";
497
- };
498
- /**
499
- * @public
500
- */
501
- export type AccountJoinedMethod = (typeof AccountJoinedMethod)[keyof typeof AccountJoinedMethod];
502
- /**
503
- * @public
504
- * @enum
505
- */
506
- export declare const AccountState: {
507
- readonly ACTIVE: "ACTIVE";
508
- readonly CLOSED: "CLOSED";
509
- readonly PENDING_ACTIVATION: "PENDING_ACTIVATION";
510
- readonly PENDING_CLOSURE: "PENDING_CLOSURE";
511
- readonly SUSPENDED: "SUSPENDED";
512
- };
513
- /**
514
- * @public
515
- */
516
- export type AccountState = (typeof AccountState)[keyof typeof AccountState];
517
- /**
518
- * @public
519
- * @enum
520
- */
521
- export declare const AccountStatus: {
522
- readonly ACTIVE: "ACTIVE";
523
- readonly PENDING_CLOSURE: "PENDING_CLOSURE";
524
- readonly SUSPENDED: "SUSPENDED";
525
- };
526
- /**
527
- * @public
528
- */
529
- export type AccountStatus = (typeof AccountStatus)[keyof typeof AccountStatus];
530
32
  /**
531
33
  * <p>Contains information about an Amazon Web Services account that is a member of an
532
34
  * organization.</p>
@@ -573,509 +75,66 @@ export interface Account {
573
75
  * </important>
574
76
  * @public
575
77
  */
576
- Status?: AccountStatus | undefined;
577
- /**
578
- * <p>Each state represents a specific phase in the account lifecycle. Use this information
579
- * to manage account access, automate workflows, or trigger actions based on account state
580
- * changes.</p>
581
- * <p>For more information about account states and their implications, see <a href="https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_account_state.html">Monitor the state of your Amazon Web Services accounts </a> in the
582
- * <i>Organizations User Guide</i>.</p>
583
- * @public
584
- */
585
- State?: AccountState | undefined;
586
- /**
587
- * <p>The method by which the account joined the organization.</p>
588
- * @public
589
- */
590
- JoinedMethod?: AccountJoinedMethod | undefined;
591
- /**
592
- * <p>The date the account became a part of the organization.</p>
593
- * @public
594
- */
595
- JoinedTimestamp?: Date | undefined;
596
- }
597
- /**
598
- * <p>You attempted to close an account that is already closed.</p>
599
- * @public
600
- */
601
- export declare class AccountAlreadyClosedException extends __BaseException {
602
- readonly name: "AccountAlreadyClosedException";
603
- readonly $fault: "client";
604
- Message?: string | undefined;
605
- /**
606
- * @internal
607
- */
608
- constructor(opts: __ExceptionOptionType<AccountAlreadyClosedException, __BaseException>);
609
- }
610
- /**
611
- * <p>The specified account is already a delegated administrator for this Amazon Web Services
612
- * service.</p>
613
- * @public
614
- */
615
- export declare class AccountAlreadyRegisteredException extends __BaseException {
616
- readonly name: "AccountAlreadyRegisteredException";
617
- readonly $fault: "client";
618
- Message?: string | undefined;
619
- /**
620
- * @internal
621
- */
622
- constructor(opts: __ExceptionOptionType<AccountAlreadyRegisteredException, __BaseException>);
623
- }
624
- /**
625
- * <p> We can't find an Amazon Web Services account with the <code>AccountId</code> that you specified, or
626
- * the account whose credentials you used to make this request isn't a member of an
627
- * organization.</p>
628
- * @public
629
- */
630
- export declare class AccountNotFoundException extends __BaseException {
631
- readonly name: "AccountNotFoundException";
632
- readonly $fault: "client";
633
- Message?: string | undefined;
634
- /**
635
- * @internal
636
- */
637
- constructor(opts: __ExceptionOptionType<AccountNotFoundException, __BaseException>);
638
- }
639
- /**
640
- * <p>The specified account is not a delegated administrator for this Amazon Web Services service. </p>
641
- * @public
642
- */
643
- export declare class AccountNotRegisteredException extends __BaseException {
644
- readonly name: "AccountNotRegisteredException";
645
- readonly $fault: "client";
646
- Message?: string | undefined;
647
- /**
648
- * @internal
649
- */
650
- constructor(opts: __ExceptionOptionType<AccountNotRegisteredException, __BaseException>);
651
- }
652
- /**
653
- * <p>You can't invite an existing account to your organization until you verify that you
654
- * own the email address associated with the management account. For more information, see
655
- * <a href="https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_create.html#about-email-verification">Email address
656
- * verification</a> in the <i>Organizations User Guide</i>.</p>
657
- * @public
658
- */
659
- export declare class AccountOwnerNotVerifiedException extends __BaseException {
660
- readonly name: "AccountOwnerNotVerifiedException";
661
- readonly $fault: "client";
662
- Message?: string | undefined;
663
- /**
664
- * @internal
665
- */
666
- constructor(opts: __ExceptionOptionType<AccountOwnerNotVerifiedException, __BaseException>);
667
- }
668
- /**
669
- * <p>This account is already a member of an organization. An account can belong to only one
670
- * organization at a time.</p>
671
- * @public
672
- */
673
- export declare class AlreadyInOrganizationException extends __BaseException {
674
- readonly name: "AlreadyInOrganizationException";
675
- readonly $fault: "client";
676
- Message?: string | undefined;
677
- /**
678
- * @internal
679
- */
680
- constructor(opts: __ExceptionOptionType<AlreadyInOrganizationException, __BaseException>);
681
- }
682
- /**
683
- * @public
684
- */
685
- export interface AttachPolicyRequest {
686
- /**
687
- * <p>The unique identifier (ID) of the policy that you want to attach to the target. You
688
- * can get the ID for the policy by calling the <a>ListPolicies</a>
689
- * operation.</p>
690
- * <p>The <a href="http://wikipedia.org/wiki/regex">regex pattern</a> for a policy ID string requires "p-" followed
691
- * by from 8 to 128 lowercase or uppercase letters, digits, or the underscore character (_).</p>
692
- * @public
693
- */
694
- PolicyId: string | undefined;
695
- /**
696
- * <p>The unique identifier (ID) of the root, OU, or account that you want to attach the
697
- * policy to. You can get the ID by calling the <a>ListRoots</a>, <a>ListOrganizationalUnitsForParent</a>, or <a>ListAccounts</a>
698
- * operations.</p>
699
- * <p>The <a href="http://wikipedia.org/wiki/regex">regex pattern</a> for a target ID string requires one of the
700
- * following:</p>
701
- * <ul>
702
- * <li>
703
- * <p>
704
- * <b>Root</b> - A string that begins with "r-" followed by from 4 to 32 lowercase letters or
705
- * digits.</p>
706
- * </li>
707
- * <li>
708
- * <p>
709
- * <b>Account</b> - A string that consists of exactly 12 digits.</p>
710
- * </li>
711
- * <li>
712
- * <p>
713
- * <b>Organizational unit (OU)</b> - A string that begins with "ou-" followed by from 4 to 32
714
- * lowercase letters or digits (the ID of the root that the OU is in). This string is followed by a second
715
- * "-" dash and from 8 to 32 additional lowercase letters or digits.</p>
716
- * </li>
717
- * </ul>
718
- * @public
719
- */
720
- TargetId: string | undefined;
721
- }
722
- /**
723
- * @public
724
- * @enum
725
- */
726
- export declare const ConstraintViolationExceptionReason: {
727
- readonly ACCOUNT_CANNOT_LEAVE_ORGANIZATION: "ACCOUNT_CANNOT_LEAVE_ORGANIZATION";
728
- readonly ACCOUNT_CANNOT_LEAVE_WITHOUT_EULA: "ACCOUNT_CANNOT_LEAVE_WITHOUT_EULA";
729
- readonly ACCOUNT_CANNOT_LEAVE_WITHOUT_PHONE_VERIFICATION: "ACCOUNT_CANNOT_LEAVE_WITHOUT_PHONE_VERIFICATION";
730
- readonly ACCOUNT_CREATION_NOT_COMPLETE: "ACCOUNT_CREATION_NOT_COMPLETE";
731
- readonly ACCOUNT_CREATION_RATE_LIMIT_EXCEEDED: "ACCOUNT_CREATION_RATE_LIMIT_EXCEEDED";
732
- readonly ACCOUNT_NUMBER_LIMIT_EXCEEDED: "ACCOUNT_NUMBER_LIMIT_EXCEEDED";
733
- readonly ALL_FEATURES_MIGRATION_ORGANIZATION_SIZE_LIMIT_EXCEEDED: "ALL_FEATURES_MIGRATION_ORGANIZATION_SIZE_LIMIT_EXCEEDED";
734
- readonly CANNOT_CLOSE_MANAGEMENT_ACCOUNT: "CANNOT_CLOSE_MANAGEMENT_ACCOUNT";
735
- readonly CANNOT_REGISTER_MASTER_AS_DELEGATED_ADMINISTRATOR: "CANNOT_REGISTER_MASTER_AS_DELEGATED_ADMINISTRATOR";
736
- readonly CANNOT_REGISTER_SUSPENDED_ACCOUNT_AS_DELEGATED_ADMINISTRATOR: "CANNOT_REGISTER_SUSPENDED_ACCOUNT_AS_DELEGATED_ADMINISTRATOR";
737
- readonly CANNOT_REMOVE_DELEGATED_ADMINISTRATOR_FROM_ORG: "CANNOT_REMOVE_DELEGATED_ADMINISTRATOR_FROM_ORG";
738
- readonly CLOSE_ACCOUNT_QUOTA_EXCEEDED: "CLOSE_ACCOUNT_QUOTA_EXCEEDED";
739
- readonly CLOSE_ACCOUNT_REQUESTS_LIMIT_EXCEEDED: "CLOSE_ACCOUNT_REQUESTS_LIMIT_EXCEEDED";
740
- readonly CREATE_ORGANIZATION_IN_BILLING_MODE_UNSUPPORTED_REGION: "CREATE_ORGANIZATION_IN_BILLING_MODE_UNSUPPORTED_REGION";
741
- readonly DELEGATED_ADMINISTRATOR_EXISTS_FOR_THIS_SERVICE: "DELEGATED_ADMINISTRATOR_EXISTS_FOR_THIS_SERVICE";
742
- readonly EMAIL_VERIFICATION_CODE_EXPIRED: "EMAIL_VERIFICATION_CODE_EXPIRED";
743
- readonly HANDSHAKE_RATE_LIMIT_EXCEEDED: "HANDSHAKE_RATE_LIMIT_EXCEEDED";
744
- readonly INVALID_PAYMENT_INSTRUMENT: "INVALID_PAYMENT_INSTRUMENT";
745
- readonly MASTER_ACCOUNT_ADDRESS_DOES_NOT_MATCH_MARKETPLACE: "MASTER_ACCOUNT_ADDRESS_DOES_NOT_MATCH_MARKETPLACE";
746
- readonly MASTER_ACCOUNT_MISSING_BUSINESS_LICENSE: "MASTER_ACCOUNT_MISSING_BUSINESS_LICENSE";
747
- readonly MASTER_ACCOUNT_MISSING_CONTACT_INFO: "MASTER_ACCOUNT_MISSING_CONTACT_INFO";
748
- readonly MASTER_ACCOUNT_NOT_GOVCLOUD_ENABLED: "MASTER_ACCOUNT_NOT_GOVCLOUD_ENABLED";
749
- readonly MASTER_ACCOUNT_PAYMENT_INSTRUMENT_REQUIRED: "MASTER_ACCOUNT_PAYMENT_INSTRUMENT_REQUIRED";
750
- readonly MAX_DELEGATED_ADMINISTRATORS_FOR_SERVICE_LIMIT_EXCEEDED: "MAX_DELEGATED_ADMINISTRATORS_FOR_SERVICE_LIMIT_EXCEEDED";
751
- readonly MAX_POLICY_TYPE_ATTACHMENT_LIMIT_EXCEEDED: "MAX_POLICY_TYPE_ATTACHMENT_LIMIT_EXCEEDED";
752
- readonly MAX_TAG_LIMIT_EXCEEDED: "MAX_TAG_LIMIT_EXCEEDED";
753
- readonly MEMBER_ACCOUNT_PAYMENT_INSTRUMENT_REQUIRED: "MEMBER_ACCOUNT_PAYMENT_INSTRUMENT_REQUIRED";
754
- readonly MIN_POLICY_TYPE_ATTACHMENT_LIMIT_EXCEEDED: "MIN_POLICY_TYPE_ATTACHMENT_LIMIT_EXCEEDED";
755
- readonly ORGANIZATION_NOT_IN_ALL_FEATURES_MODE: "ORGANIZATION_NOT_IN_ALL_FEATURES_MODE";
756
- readonly OU_DEPTH_LIMIT_EXCEEDED: "OU_DEPTH_LIMIT_EXCEEDED";
757
- readonly OU_NUMBER_LIMIT_EXCEEDED: "OU_NUMBER_LIMIT_EXCEEDED";
758
- readonly POLICY_CONTENT_LIMIT_EXCEEDED: "POLICY_CONTENT_LIMIT_EXCEEDED";
759
- readonly POLICY_NUMBER_LIMIT_EXCEEDED: "POLICY_NUMBER_LIMIT_EXCEEDED";
760
- readonly POLICY_TYPE_ENABLED_FOR_THIS_SERVICE: "POLICY_TYPE_ENABLED_FOR_THIS_SERVICE";
761
- readonly SERVICE_ACCESS_NOT_ENABLED: "SERVICE_ACCESS_NOT_ENABLED";
762
- readonly TAG_POLICY_VIOLATION: "TAG_POLICY_VIOLATION";
763
- readonly WAIT_PERIOD_ACTIVE: "WAIT_PERIOD_ACTIVE";
764
- };
765
- /**
766
- * @public
767
- */
768
- export type ConstraintViolationExceptionReason = (typeof ConstraintViolationExceptionReason)[keyof typeof ConstraintViolationExceptionReason];
769
- /**
770
- * <p>Performing this operation violates a minimum or maximum value limit. For example,
771
- * attempting to remove the last service control policy (SCP) from an OU or root, inviting
772
- * or creating too many accounts to the organization, or attaching too many policies to an
773
- * account, OU, or root. This exception includes a reason that contains additional
774
- * information about the violated limit:</p>
775
- * <note>
776
- * <p>Some of the reasons in the following list might not be applicable to this specific
777
- * API or operation.</p>
778
- * </note>
779
- * <ul>
780
- * <li>
781
- * <p>ACCOUNT_CANNOT_LEAVE_ORGANIZATION: You attempted to remove the management
782
- * account from the organization. You can't remove the management account. Instead,
783
- * after you remove all member accounts, delete the organization itself.</p>
784
- * </li>
785
- * <li>
786
- * <p>ACCOUNT_CANNOT_LEAVE_WITHOUT_PHONE_VERIFICATION: You attempted to remove an
787
- * account from the organization that doesn't yet have enough information to exist
788
- * as a standalone account. This account requires you to first complete phone
789
- * verification. Follow the steps at <a href="https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_remove.html#orgs_manage_accounts_remove-from-master">Removing a member account from your organization</a> in the
790
- * <i>Organizations User Guide</i>.</p>
791
- * </li>
792
- * <li>
793
- * <p>ACCOUNT_CREATION_RATE_LIMIT_EXCEEDED: You attempted to exceed the number of
794
- * accounts that you can create in one day.</p>
795
- * </li>
796
- * <li>
797
- * <p>ACCOUNT_CREATION_NOT_COMPLETE: Your account setup isn't complete or your
798
- * account isn't fully active. You must complete the account setup before you
799
- * create an organization.</p>
800
- * </li>
801
- * <li>
802
- * <p>ACCOUNT_NUMBER_LIMIT_EXCEEDED: You attempted to exceed the limit on the number
803
- * of accounts in an organization. If you need more accounts, contact <a href="https://console.aws.amazon.com/support/home#/">Amazon Web Services Support</a> to
804
- * request an increase in your limit. </p>
805
- * <p>Or the number of invitations that you tried to send would cause you to exceed
806
- * the limit of accounts in your organization. Send fewer invitations or contact
807
- * Amazon Web Services Support to request an increase in the number of accounts.</p>
808
- * <note>
809
- * <p>Deleted and closed accounts still count toward your limit.</p>
810
- * </note>
811
- * <important>
812
- * <p>If you get this exception when running a command immediately after
813
- * creating the organization, wait one hour and try again. After an hour, if
814
- * the command continues to fail with this error, contact <a href="https://console.aws.amazon.com/support/home#/">Amazon Web Services Support</a>.</p>
815
- * </important>
816
- * </li>
817
- * <li>
818
- * <p>ALL_FEATURES_MIGRATION_ORGANIZATION_SIZE_LIMIT_EXCEEDED: Your organization has
819
- * more than 5000 accounts, and you can only use the standard migration process for
820
- * organizations with less than 5000 accounts. Use the assisted migration process
821
- * to enable all features mode, or create a support case for assistance if you are
822
- * unable to use assisted migration.</p>
823
- * </li>
824
- * <li>
825
- * <p>CANNOT_REGISTER_SUSPENDED_ACCOUNT_AS_DELEGATED_ADMINISTRATOR: You cannot
826
- * register a suspended account as a delegated administrator.</p>
827
- * </li>
828
- * <li>
829
- * <p>CANNOT_REGISTER_MASTER_AS_DELEGATED_ADMINISTRATOR: You attempted to register
830
- * the management account of the organization as a delegated administrator for an
831
- * Amazon Web Services service integrated with Organizations. You can designate only a member account as a
832
- * delegated administrator.</p>
833
- * </li>
834
- * <li>
835
- * <p>CANNOT_CLOSE_MANAGEMENT_ACCOUNT: You attempted to close the management
836
- * account. To close the management account for the organization, you must first
837
- * either remove or close all member accounts in the organization. Follow standard
838
- * account closure process using root credentials.​ </p>
839
- * </li>
840
- * <li>
841
- * <p>CANNOT_REMOVE_DELEGATED_ADMINISTRATOR_FROM_ORG: You attempted to remove an
842
- * account that is registered as a delegated administrator for a service integrated
843
- * with your organization. To complete this operation, you must first deregister
844
- * this account as a delegated administrator. </p>
845
- * </li>
846
- * <li>
847
- * <p>CLOSE_ACCOUNT_QUOTA_EXCEEDED: You have exceeded close account quota for the
848
- * past 30 days. </p>
849
- * </li>
850
- * <li>
851
- * <p>CLOSE_ACCOUNT_REQUESTS_LIMIT_EXCEEDED: You attempted to exceed the number of
852
- * accounts that you can close at a time. ​ </p>
853
- * </li>
854
- * <li>
855
- * <p>CREATE_ORGANIZATION_IN_BILLING_MODE_UNSUPPORTED_REGION: To create an
856
- * organization in the specified region, you must enable all features mode.</p>
857
- * </li>
858
- * <li>
859
- * <p>DELEGATED_ADMINISTRATOR_EXISTS_FOR_THIS_SERVICE: You attempted to register an
860
- * Amazon Web Services account as a delegated administrator for an Amazon Web Services service that already has
861
- * a delegated administrator. To complete this operation, you must first deregister
862
- * any existing delegated administrators for this service.</p>
863
- * </li>
864
- * <li>
865
- * <p>EMAIL_VERIFICATION_CODE_EXPIRED: The email verification code is only valid for
866
- * a limited period of time. You must resubmit the request and generate a new
867
- * verfication code.</p>
868
- * </li>
869
- * <li>
870
- * <p>HANDSHAKE_RATE_LIMIT_EXCEEDED: You attempted to exceed the number of
871
- * handshakes that you can send in one day.</p>
872
- * </li>
873
- * <li>
874
- * <p>INVALID_PAYMENT_INSTRUMENT: You cannot remove an account because no supported
875
- * payment method is associated with the account. Amazon Web Services does not support cards
876
- * issued by financial institutions in Russia or Belarus. For more information, see
877
- * <a href="https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/manage-general.html">Managing your
878
- * Amazon Web Services payments</a>.</p>
879
- * </li>
880
- * <li>
881
- * <p>MASTER_ACCOUNT_ADDRESS_DOES_NOT_MATCH_MARKETPLACE: To create an account in
882
- * this organization, you first must migrate the organization's management account
883
- * to the marketplace that corresponds to the management account's address. All
884
- * accounts in an organization must be associated with the same marketplace.</p>
885
- * </li>
886
- * <li>
887
- * <p>MASTER_ACCOUNT_MISSING_BUSINESS_LICENSE: Applies only to the Amazon Web Services Regions in
888
- * China. To create an organization, the master must have a valid business license.
889
- * For more information, contact customer support.</p>
890
- * </li>
891
- * <li>
892
- * <p>MASTER_ACCOUNT_MISSING_CONTACT_INFO: To complete this operation, you must
893
- * first provide a valid contact address and phone number for the management
894
- * account. Then try the operation again.</p>
895
- * </li>
896
- * <li>
897
- * <p>MASTER_ACCOUNT_NOT_GOVCLOUD_ENABLED: To complete this operation, the
898
- * management account must have an associated account in the Amazon Web Services GovCloud
899
- * (US-West) Region. For more information, see <a href="https://docs.aws.amazon.com/govcloud-us/latest/UserGuide/govcloud-organizations.html">Organizations</a>
900
- * in the
901
- * <i>Amazon Web Services GovCloud User Guide</i>.</p>
902
- * </li>
903
- * <li>
904
- * <p>MASTER_ACCOUNT_PAYMENT_INSTRUMENT_REQUIRED: To create an organization with
905
- * this management account, you first must associate a valid payment instrument,
906
- * such as a credit card, with the account. For more information, see <a href="https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_account-before-remove.html">Considerations before removing an account from an organization</a> in
907
- * the <i>Organizations User Guide</i>.</p>
908
- * </li>
909
- * <li>
910
- * <p>MAX_DELEGATED_ADMINISTRATORS_FOR_SERVICE_LIMIT_EXCEEDED: You attempted to
911
- * register more delegated administrators than allowed for the service principal.
912
- * </p>
913
- * </li>
914
- * <li>
915
- * <p>MAX_POLICY_TYPE_ATTACHMENT_LIMIT_EXCEEDED: You attempted to exceed the number
916
- * of policies of a certain type that can be attached to an entity at one
917
- * time.</p>
918
- * </li>
919
- * <li>
920
- * <p>MAX_TAG_LIMIT_EXCEEDED: You have exceeded the number of tags allowed on this
921
- * resource. </p>
922
- * </li>
923
- * <li>
924
- * <p>MEMBER_ACCOUNT_PAYMENT_INSTRUMENT_REQUIRED: To complete this operation with
925
- * this member account, you first must associate a valid payment instrument, such
926
- * as a credit card, with the account. For more information, see <a href="https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_account-before-remove.html">Considerations before removing an account from an organization</a> in
927
- * the <i>Organizations User Guide</i>.</p>
928
- * </li>
929
- * <li>
930
- * <p>MIN_POLICY_TYPE_ATTACHMENT_LIMIT_EXCEEDED: You attempted to detach a policy
931
- * from an entity that would cause the entity to have fewer than the minimum number
932
- * of policies of a certain type required.</p>
933
- * </li>
934
- * <li>
935
- * <p>ORGANIZATION_NOT_IN_ALL_FEATURES_MODE: You attempted to perform an operation
936
- * that requires the organization to be configured to support all features. An
937
- * organization that supports only consolidated billing features can't perform this
938
- * operation.</p>
939
- * </li>
940
- * <li>
941
- * <p>OU_DEPTH_LIMIT_EXCEEDED: You attempted to create an OU tree that is too many
942
- * levels deep.</p>
943
- * </li>
944
- * <li>
945
- * <p>OU_NUMBER_LIMIT_EXCEEDED: You attempted to exceed the number of OUs that you
946
- * can have in an organization.</p>
947
- * </li>
948
- * <li>
949
- * <p>POLICY_CONTENT_LIMIT_EXCEEDED: You attempted to create a policy that is larger
950
- * than the maximum size.</p>
951
- * </li>
952
- * <li>
953
- * <p>POLICY_NUMBER_LIMIT_EXCEEDED: You attempted to exceed the number of policies
954
- * that you can have in an organization.</p>
955
- * </li>
956
- * <li>
957
- * <p>POLICY_TYPE_ENABLED_FOR_THIS_SERVICE: You attempted to disable service access
958
- * before you disabled the policy type (for example, SECURITYHUB_POLICY). To
959
- * complete this operation, you must first disable the policy type.</p>
960
- * </li>
961
- * <li>
962
- * <p>SERVICE_ACCESS_NOT_ENABLED:</p>
963
- * <ul>
964
- * <li>
965
- * <p>You attempted to register a delegated administrator before you enabled
966
- * service access. Call the <code>EnableAWSServiceAccess</code> API
967
- * first.</p>
968
- * </li>
969
- * <li>
970
- * <p>You attempted to enable a policy type before you enabled service
971
- * access. Call the <code>EnableAWSServiceAccess</code> API first.</p>
972
- * </li>
973
- * </ul>
974
- * </li>
975
- * <li>
976
- * <p>TAG_POLICY_VIOLATION: You attempted to create or update a resource with tags
977
- * that are not compliant with the tag policy requirements for this account.</p>
978
- * </li>
979
- * <li>
980
- * <p>WAIT_PERIOD_ACTIVE: After you create an Amazon Web Services account, you must wait until at
981
- * least four days after the account was created. Invited accounts aren't subject
982
- * to this waiting period.</p>
983
- * </li>
984
- * </ul>
985
- * @public
986
- */
987
- export declare class ConstraintViolationException extends __BaseException {
988
- readonly name: "ConstraintViolationException";
989
- readonly $fault: "client";
990
- Message?: string | undefined;
991
- Reason?: ConstraintViolationExceptionReason | undefined;
992
- /**
993
- * @internal
994
- */
995
- constructor(opts: __ExceptionOptionType<ConstraintViolationException, __BaseException>);
996
- }
997
- /**
998
- * <p>The selected policy is already attached to the specified target.</p>
999
- * @public
1000
- */
1001
- export declare class DuplicatePolicyAttachmentException extends __BaseException {
1002
- readonly name: "DuplicatePolicyAttachmentException";
1003
- readonly $fault: "client";
1004
- Message?: string | undefined;
1005
- /**
1006
- * @internal
1007
- */
1008
- constructor(opts: __ExceptionOptionType<DuplicatePolicyAttachmentException, __BaseException>);
1009
- }
1010
- /**
1011
- * <p>Changes to the effective policy are in progress, and its contents can't be returned.
1012
- * Try the operation again later. </p>
1013
- * @public
1014
- */
1015
- export declare class PolicyChangesInProgressException extends __BaseException {
1016
- readonly name: "PolicyChangesInProgressException";
1017
- readonly $fault: "client";
1018
- Message?: string | undefined;
78
+ Status?: AccountStatus | undefined;
1019
79
  /**
1020
- * @internal
80
+ * <p>Each state represents a specific phase in the account lifecycle. Use this information
81
+ * to manage account access, automate workflows, or trigger actions based on account state
82
+ * changes.</p>
83
+ * <p>For more information about account states and their implications, see <a href="https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_account_state.html">Monitor the state of your Amazon Web Services accounts </a> in the
84
+ * <i>Organizations User Guide</i>.</p>
85
+ * @public
1021
86
  */
1022
- constructor(opts: __ExceptionOptionType<PolicyChangesInProgressException, __BaseException>);
1023
- }
1024
- /**
1025
- * <p>We can't find a policy with the <code>PolicyId</code> that you specified.</p>
1026
- * @public
1027
- */
1028
- export declare class PolicyNotFoundException extends __BaseException {
1029
- readonly name: "PolicyNotFoundException";
1030
- readonly $fault: "client";
1031
- Message?: string | undefined;
87
+ State?: AccountState | undefined;
1032
88
  /**
1033
- * @internal
89
+ * <p>The method by which the account joined the organization.</p>
90
+ * @public
1034
91
  */
1035
- constructor(opts: __ExceptionOptionType<PolicyNotFoundException, __BaseException>);
1036
- }
1037
- /**
1038
- * <p>The specified policy type isn't currently enabled in this root. You can't attach
1039
- * policies of the specified type to entities in a root until you enable that type in the
1040
- * root. For more information, see <a href="https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_org_support-all-features.html">Enabling all features
1041
- * in your organization</a> in the <i>Organizations User Guide</i>.</p>
1042
- * @public
1043
- */
1044
- export declare class PolicyTypeNotEnabledException extends __BaseException {
1045
- readonly name: "PolicyTypeNotEnabledException";
1046
- readonly $fault: "client";
1047
- Message?: string | undefined;
92
+ JoinedMethod?: AccountJoinedMethod | undefined;
1048
93
  /**
1049
- * @internal
94
+ * <p>The date the account became a part of the organization.</p>
95
+ * @public
1050
96
  */
1051
- constructor(opts: __ExceptionOptionType<PolicyTypeNotEnabledException, __BaseException>);
97
+ JoinedTimestamp?: Date | undefined;
1052
98
  }
1053
99
  /**
1054
- * <p>We can't find a root, OU, account, or policy with the <code>TargetId</code> that you
1055
- * specified.</p>
1056
100
  * @public
1057
101
  */
1058
- export declare class TargetNotFoundException extends __BaseException {
1059
- readonly name: "TargetNotFoundException";
1060
- readonly $fault: "client";
1061
- Message?: string | undefined;
102
+ export interface AttachPolicyRequest {
1062
103
  /**
1063
- * @internal
104
+ * <p>The unique identifier (ID) of the policy that you want to attach to the target. You
105
+ * can get the ID for the policy by calling the <a>ListPolicies</a>
106
+ * operation.</p>
107
+ * <p>The <a href="http://wikipedia.org/wiki/regex">regex pattern</a> for a policy ID string requires "p-" followed
108
+ * by from 8 to 128 lowercase or uppercase letters, digits, or the underscore character (_).</p>
109
+ * @public
1064
110
  */
1065
- constructor(opts: __ExceptionOptionType<TargetNotFoundException, __BaseException>);
1066
- }
1067
- /**
1068
- * <p>This action isn't available in the current Amazon Web Services Region.</p>
1069
- * @public
1070
- */
1071
- export declare class UnsupportedAPIEndpointException extends __BaseException {
1072
- readonly name: "UnsupportedAPIEndpointException";
1073
- readonly $fault: "client";
1074
- Message?: string | undefined;
111
+ PolicyId: string | undefined;
1075
112
  /**
1076
- * @internal
113
+ * <p>The unique identifier (ID) of the root, OU, or account that you want to attach the
114
+ * policy to. You can get the ID by calling the <a>ListRoots</a>, <a>ListOrganizationalUnitsForParent</a>, or <a>ListAccounts</a>
115
+ * operations.</p>
116
+ * <p>The <a href="http://wikipedia.org/wiki/regex">regex pattern</a> for a target ID string requires one of the
117
+ * following:</p>
118
+ * <ul>
119
+ * <li>
120
+ * <p>
121
+ * <b>Root</b> - A string that begins with "r-" followed by from 4 to 32 lowercase letters or
122
+ * digits.</p>
123
+ * </li>
124
+ * <li>
125
+ * <p>
126
+ * <b>Account</b> - A string that consists of exactly 12 digits.</p>
127
+ * </li>
128
+ * <li>
129
+ * <p>
130
+ * <b>Organizational unit (OU)</b> - A string that begins with "ou-" followed by from 4 to 32
131
+ * lowercase letters or digits (the ID of the root that the OU is in). This string is followed by a second
132
+ * "-" dash and from 8 to 32 additional lowercase letters or digits.</p>
133
+ * </li>
134
+ * </ul>
135
+ * @public
1077
136
  */
1078
- constructor(opts: __ExceptionOptionType<UnsupportedAPIEndpointException, __BaseException>);
137
+ TargetId: string | undefined;
1079
138
  }
1080
139
  /**
1081
140
  * @public
@@ -1101,32 +160,6 @@ export interface CloseAccountRequest {
1101
160
  */
1102
161
  AccountId: string | undefined;
1103
162
  }
1104
- /**
1105
- * <p>The request failed because it conflicts with the current state of the specified
1106
- * resource.</p>
1107
- * @public
1108
- */
1109
- export declare class ConflictException extends __BaseException {
1110
- readonly name: "ConflictException";
1111
- readonly $fault: "client";
1112
- Message?: string | undefined;
1113
- /**
1114
- * @internal
1115
- */
1116
- constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
1117
- }
1118
- /**
1119
- * @public
1120
- * @enum
1121
- */
1122
- export declare const IAMUserAccessToBilling: {
1123
- readonly ALLOW: "ALLOW";
1124
- readonly DENY: "DENY";
1125
- };
1126
- /**
1127
- * @public
1128
- */
1129
- export type IAMUserAccessToBilling = (typeof IAMUserAccessToBilling)[keyof typeof IAMUserAccessToBilling];
1130
163
  /**
1131
164
  * <p>A custom key-value pair associated with a resource within your organization.</p>
1132
165
  * <p>You can attach tags to any of the following organization resources.</p>
@@ -1264,44 +297,6 @@ export interface CreateAccountRequest {
1264
297
  */
1265
298
  Tags?: Tag[] | undefined;
1266
299
  }
1267
- /**
1268
- * @public
1269
- * @enum
1270
- */
1271
- export declare const CreateAccountFailureReason: {
1272
- readonly ACCOUNT_LIMIT_EXCEEDED: "ACCOUNT_LIMIT_EXCEEDED";
1273
- readonly CONCURRENT_ACCOUNT_MODIFICATION: "CONCURRENT_ACCOUNT_MODIFICATION";
1274
- readonly EMAIL_ALREADY_EXISTS: "EMAIL_ALREADY_EXISTS";
1275
- readonly FAILED_BUSINESS_VALIDATION: "FAILED_BUSINESS_VALIDATION";
1276
- readonly GOVCLOUD_ACCOUNT_ALREADY_EXISTS: "GOVCLOUD_ACCOUNT_ALREADY_EXISTS";
1277
- readonly INTERNAL_FAILURE: "INTERNAL_FAILURE";
1278
- readonly INVALID_ADDRESS: "INVALID_ADDRESS";
1279
- readonly INVALID_EMAIL: "INVALID_EMAIL";
1280
- readonly INVALID_IDENTITY_FOR_BUSINESS_VALIDATION: "INVALID_IDENTITY_FOR_BUSINESS_VALIDATION";
1281
- readonly INVALID_PAYMENT_INSTRUMENT: "INVALID_PAYMENT_INSTRUMENT";
1282
- readonly MISSING_BUSINESS_VALIDATION: "MISSING_BUSINESS_VALIDATION";
1283
- readonly MISSING_PAYMENT_INSTRUMENT: "MISSING_PAYMENT_INSTRUMENT";
1284
- readonly PENDING_BUSINESS_VALIDATIONv: "PENDING_BUSINESS_VALIDATION";
1285
- readonly UNKNOWN_BUSINESS_VALIDATION: "UNKNOWN_BUSINESS_VALIDATION";
1286
- readonly UPDATE_EXISTING_RESOURCE_POLICY_WITH_TAGS_NOT_SUPPORTED: "UPDATE_EXISTING_RESOURCE_POLICY_WITH_TAGS_NOT_SUPPORTED";
1287
- };
1288
- /**
1289
- * @public
1290
- */
1291
- export type CreateAccountFailureReason = (typeof CreateAccountFailureReason)[keyof typeof CreateAccountFailureReason];
1292
- /**
1293
- * @public
1294
- * @enum
1295
- */
1296
- export declare const CreateAccountState: {
1297
- readonly FAILED: "FAILED";
1298
- readonly IN_PROGRESS: "IN_PROGRESS";
1299
- readonly SUCCEEDED: "SUCCEEDED";
1300
- };
1301
- /**
1302
- * @public
1303
- */
1304
- export type CreateAccountState = (typeof CreateAccountState)[keyof typeof CreateAccountState];
1305
300
  /**
1306
301
  * <p>Contains the status about a <a>CreateAccount</a> or <a>CreateGovCloudAccount</a> request to create an Amazon Web Services account or an Amazon Web Services
1307
302
  * GovCloud (US) account in an organization.</p>
@@ -1437,21 +432,6 @@ export interface CreateAccountResponse {
1437
432
  */
1438
433
  CreateAccountStatus?: CreateAccountStatus | undefined;
1439
434
  }
1440
- /**
1441
- * <p>Organizations couldn't perform the operation because your organization hasn't finished
1442
- * initializing. This can take up to an hour. Try again later. If after one hour you
1443
- * continue to receive this error, contact <a href="https://console.aws.amazon.com/support/home#/">Amazon Web Services Support</a>.</p>
1444
- * @public
1445
- */
1446
- export declare class FinalizingOrganizationException extends __BaseException {
1447
- readonly name: "FinalizingOrganizationException";
1448
- readonly $fault: "client";
1449
- Message?: string | undefined;
1450
- /**
1451
- * @internal
1452
- */
1453
- constructor(opts: __ExceptionOptionType<FinalizingOrganizationException, __BaseException>);
1454
- }
1455
435
  /**
1456
436
  * @public
1457
437
  */
@@ -1578,18 +558,6 @@ export interface CreateGovCloudAccountResponse {
1578
558
  */
1579
559
  CreateAccountStatus?: CreateAccountStatus | undefined;
1580
560
  }
1581
- /**
1582
- * @public
1583
- * @enum
1584
- */
1585
- export declare const OrganizationFeatureSet: {
1586
- readonly ALL: "ALL";
1587
- readonly CONSOLIDATED_BILLING: "CONSOLIDATED_BILLING";
1588
- };
1589
- /**
1590
- * @public
1591
- */
1592
- export type OrganizationFeatureSet = (typeof OrganizationFeatureSet)[keyof typeof OrganizationFeatureSet];
1593
561
  /**
1594
562
  * @public
1595
563
  */
@@ -1620,37 +588,6 @@ export interface CreateOrganizationRequest {
1620
588
  */
1621
589
  FeatureSet?: OrganizationFeatureSet | undefined;
1622
590
  }
1623
- /**
1624
- * @public
1625
- * @enum
1626
- */
1627
- export declare const PolicyTypeStatus: {
1628
- readonly ENABLED: "ENABLED";
1629
- readonly PENDING_DISABLE: "PENDING_DISABLE";
1630
- readonly PENDING_ENABLE: "PENDING_ENABLE";
1631
- };
1632
- /**
1633
- * @public
1634
- */
1635
- export type PolicyTypeStatus = (typeof PolicyTypeStatus)[keyof typeof PolicyTypeStatus];
1636
- /**
1637
- * @public
1638
- * @enum
1639
- */
1640
- export declare const PolicyType: {
1641
- readonly AISERVICES_OPT_OUT_POLICY: "AISERVICES_OPT_OUT_POLICY";
1642
- readonly BACKUP_POLICY: "BACKUP_POLICY";
1643
- readonly CHATBOT_POLICY: "CHATBOT_POLICY";
1644
- readonly DECLARATIVE_POLICY_EC2: "DECLARATIVE_POLICY_EC2";
1645
- readonly RESOURCE_CONTROL_POLICY: "RESOURCE_CONTROL_POLICY";
1646
- readonly SECURITYHUB_POLICY: "SECURITYHUB_POLICY";
1647
- readonly SERVICE_CONTROL_POLICY: "SERVICE_CONTROL_POLICY";
1648
- readonly TAG_POLICY: "TAG_POLICY";
1649
- };
1650
- /**
1651
- * @public
1652
- */
1653
- export type PolicyType = (typeof PolicyType)[keyof typeof PolicyType];
1654
591
  /**
1655
592
  * <p>Contains information about a policy type and its status in the associated root.</p>
1656
593
  * @public
@@ -1828,32 +765,6 @@ export interface CreateOrganizationalUnitResponse {
1828
765
  */
1829
766
  OrganizationalUnit?: OrganizationalUnit | undefined;
1830
767
  }
1831
- /**
1832
- * <p>An OU with the same name already exists.</p>
1833
- * @public
1834
- */
1835
- export declare class DuplicateOrganizationalUnitException extends __BaseException {
1836
- readonly name: "DuplicateOrganizationalUnitException";
1837
- readonly $fault: "client";
1838
- Message?: string | undefined;
1839
- /**
1840
- * @internal
1841
- */
1842
- constructor(opts: __ExceptionOptionType<DuplicateOrganizationalUnitException, __BaseException>);
1843
- }
1844
- /**
1845
- * <p>We can't find a root or OU with the <code>ParentId</code> that you specified.</p>
1846
- * @public
1847
- */
1848
- export declare class ParentNotFoundException extends __BaseException {
1849
- readonly name: "ParentNotFoundException";
1850
- readonly $fault: "client";
1851
- Message?: string | undefined;
1852
- /**
1853
- * @internal
1854
- */
1855
- constructor(opts: __ExceptionOptionType<ParentNotFoundException, __BaseException>);
1856
- }
1857
768
  /**
1858
769
  * @public
1859
770
  */
@@ -2015,51 +926,6 @@ export interface CreatePolicyResponse {
2015
926
  */
2016
927
  Policy?: Policy | undefined;
2017
928
  }
2018
- /**
2019
- * <p>A policy with the same name already exists.</p>
2020
- * @public
2021
- */
2022
- export declare class DuplicatePolicyException extends __BaseException {
2023
- readonly name: "DuplicatePolicyException";
2024
- readonly $fault: "client";
2025
- Message?: string | undefined;
2026
- /**
2027
- * @internal
2028
- */
2029
- constructor(opts: __ExceptionOptionType<DuplicatePolicyException, __BaseException>);
2030
- }
2031
- /**
2032
- * <p>The provided policy document doesn't meet the requirements of the specified policy
2033
- * type. For example, the syntax might be incorrect. For details about service control
2034
- * policy syntax, see <a href="https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_scps_syntax.html">SCP syntax</a> in the
2035
- * <i>Organizations User Guide</i>.</p>
2036
- * @public
2037
- */
2038
- export declare class MalformedPolicyDocumentException extends __BaseException {
2039
- readonly name: "MalformedPolicyDocumentException";
2040
- readonly $fault: "client";
2041
- Message?: string | undefined;
2042
- /**
2043
- * @internal
2044
- */
2045
- constructor(opts: __ExceptionOptionType<MalformedPolicyDocumentException, __BaseException>);
2046
- }
2047
- /**
2048
- * <p>You can't use the specified policy type with the feature set currently enabled for
2049
- * this organization. For example, you can enable SCPs only after you enable all features
2050
- * in the organization. For more information, see <a href="https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies.html#enable_policies_on_root">Managing
2051
- * Organizations policies</a>in the <i>Organizations User Guide</i>.</p>
2052
- * @public
2053
- */
2054
- export declare class PolicyTypeNotAvailableForOrganizationException extends __BaseException {
2055
- readonly name: "PolicyTypeNotAvailableForOrganizationException";
2056
- readonly $fault: "client";
2057
- Message?: string | undefined;
2058
- /**
2059
- * @internal
2060
- */
2061
- constructor(opts: __ExceptionOptionType<PolicyTypeNotAvailableForOrganizationException, __BaseException>);
2062
- }
2063
929
  /**
2064
930
  * @public
2065
931
  */
@@ -2073,20 +939,6 @@ export interface DeclineHandshakeRequest {
2073
939
  */
2074
940
  HandshakeId: string | undefined;
2075
941
  }
2076
- /**
2077
- * <p>The organization isn't empty. To delete an organization, you must first remove all
2078
- * accounts except the management account.</p>
2079
- * @public
2080
- */
2081
- export declare class OrganizationNotEmptyException extends __BaseException {
2082
- readonly name: "OrganizationNotEmptyException";
2083
- readonly $fault: "client";
2084
- Message?: string | undefined;
2085
- /**
2086
- * @internal
2087
- */
2088
- constructor(opts: __ExceptionOptionType<OrganizationNotEmptyException, __BaseException>);
2089
- }
2090
942
  /**
2091
943
  * @public
2092
944
  */
@@ -2102,34 +954,6 @@ export interface DeleteOrganizationalUnitRequest {
2102
954
  */
2103
955
  OrganizationalUnitId: string | undefined;
2104
956
  }
2105
- /**
2106
- * <p>The specified OU is not empty. Move all accounts to another root or to other OUs,
2107
- * remove all child OUs, and try the operation again.</p>
2108
- * @public
2109
- */
2110
- export declare class OrganizationalUnitNotEmptyException extends __BaseException {
2111
- readonly name: "OrganizationalUnitNotEmptyException";
2112
- readonly $fault: "client";
2113
- Message?: string | undefined;
2114
- /**
2115
- * @internal
2116
- */
2117
- constructor(opts: __ExceptionOptionType<OrganizationalUnitNotEmptyException, __BaseException>);
2118
- }
2119
- /**
2120
- * <p>We can't find an OU with the <code>OrganizationalUnitId</code> that you
2121
- * specified.</p>
2122
- * @public
2123
- */
2124
- export declare class OrganizationalUnitNotFoundException extends __BaseException {
2125
- readonly name: "OrganizationalUnitNotFoundException";
2126
- readonly $fault: "client";
2127
- Message?: string | undefined;
2128
- /**
2129
- * @internal
2130
- */
2131
- constructor(opts: __ExceptionOptionType<OrganizationalUnitNotFoundException, __BaseException>);
2132
- }
2133
957
  /**
2134
958
  * @public
2135
959
  */
@@ -2144,33 +968,6 @@ export interface DeletePolicyRequest {
2144
968
  */
2145
969
  PolicyId: string | undefined;
2146
970
  }
2147
- /**
2148
- * <p>The policy is attached to one or more entities. You must detach it from all roots,
2149
- * OUs, and accounts before performing this operation.</p>
2150
- * @public
2151
- */
2152
- export declare class PolicyInUseException extends __BaseException {
2153
- readonly name: "PolicyInUseException";
2154
- readonly $fault: "client";
2155
- Message?: string | undefined;
2156
- /**
2157
- * @internal
2158
- */
2159
- constructor(opts: __ExceptionOptionType<PolicyInUseException, __BaseException>);
2160
- }
2161
- /**
2162
- * <p>We can't find a resource policy request with the parameter that you specified.</p>
2163
- * @public
2164
- */
2165
- export declare class ResourcePolicyNotFoundException extends __BaseException {
2166
- readonly name: "ResourcePolicyNotFoundException";
2167
- readonly $fault: "client";
2168
- Message?: string | undefined;
2169
- /**
2170
- * @internal
2171
- */
2172
- constructor(opts: __ExceptionOptionType<ResourcePolicyNotFoundException, __BaseException>);
2173
- }
2174
971
  /**
2175
972
  * @public
2176
973
  */
@@ -2222,20 +1019,6 @@ export interface DescribeAccountResponse {
2222
1019
  */
2223
1020
  Account?: Account | undefined;
2224
1021
  }
2225
- /**
2226
- * <p>We can't find an create account request with the <code>CreateAccountRequestId</code>
2227
- * that you specified.</p>
2228
- * @public
2229
- */
2230
- export declare class CreateAccountStatusNotFoundException extends __BaseException {
2231
- readonly name: "CreateAccountStatusNotFoundException";
2232
- readonly $fault: "client";
2233
- Message?: string | undefined;
2234
- /**
2235
- * @internal
2236
- */
2237
- constructor(opts: __ExceptionOptionType<CreateAccountStatusNotFoundException, __BaseException>);
2238
- }
2239
1022
  /**
2240
1023
  * @public
2241
1024
  */
@@ -2260,22 +1043,6 @@ export interface DescribeCreateAccountStatusResponse {
2260
1043
  */
2261
1044
  CreateAccountStatus?: CreateAccountStatus | undefined;
2262
1045
  }
2263
- /**
2264
- * @public
2265
- * @enum
2266
- */
2267
- export declare const EffectivePolicyType: {
2268
- readonly AISERVICES_OPT_OUT_POLICY: "AISERVICES_OPT_OUT_POLICY";
2269
- readonly BACKUP_POLICY: "BACKUP_POLICY";
2270
- readonly CHATBOT_POLICY: "CHATBOT_POLICY";
2271
- readonly DECLARATIVE_POLICY_EC2: "DECLARATIVE_POLICY_EC2";
2272
- readonly SECURITYHUB_POLICY: "SECURITYHUB_POLICY";
2273
- readonly TAG_POLICY: "TAG_POLICY";
2274
- };
2275
- /**
2276
- * @public
2277
- */
2278
- export type EffectivePolicyType = (typeof EffectivePolicyType)[keyof typeof EffectivePolicyType];
2279
1046
  /**
2280
1047
  * @public
2281
1048
  */
@@ -2364,22 +1131,6 @@ export interface DescribeEffectivePolicyResponse {
2364
1131
  */
2365
1132
  EffectivePolicy?: EffectivePolicy | undefined;
2366
1133
  }
2367
- /**
2368
- * <p>If you ran this action on the management account, this policy type is not enabled. If
2369
- * you ran the action on a member account, the account doesn't have an effective policy of
2370
- * this type. Contact the administrator of your organization about attaching a policy of
2371
- * this type to the account. </p>
2372
- * @public
2373
- */
2374
- export declare class EffectivePolicyNotFoundException extends __BaseException {
2375
- readonly name: "EffectivePolicyNotFoundException";
2376
- readonly $fault: "client";
2377
- Message?: string | undefined;
2378
- /**
2379
- * @internal
2380
- */
2381
- constructor(opts: __ExceptionOptionType<EffectivePolicyNotFoundException, __BaseException>);
2382
- }
2383
1134
  /**
2384
1135
  * @public
2385
1136
  */
@@ -2544,19 +1295,6 @@ export interface DetachPolicyRequest {
2544
1295
  */
2545
1296
  TargetId: string | undefined;
2546
1297
  }
2547
- /**
2548
- * <p>The policy isn't attached to the specified target in the specified root.</p>
2549
- * @public
2550
- */
2551
- export declare class PolicyNotAttachedException extends __BaseException {
2552
- readonly name: "PolicyNotAttachedException";
2553
- readonly $fault: "client";
2554
- Message?: string | undefined;
2555
- /**
2556
- * @internal
2557
- */
2558
- constructor(opts: __ExceptionOptionType<PolicyNotAttachedException, __BaseException>);
2559
- }
2560
1298
  /**
2561
1299
  * @public
2562
1300
  */
@@ -2684,19 +1422,6 @@ export interface DisablePolicyTypeResponse {
2684
1422
  */
2685
1423
  Root?: Root | undefined;
2686
1424
  }
2687
- /**
2688
- * <p>We can't find a root with the <code>RootId</code> that you specified.</p>
2689
- * @public
2690
- */
2691
- export declare class RootNotFoundException extends __BaseException {
2692
- readonly name: "RootNotFoundException";
2693
- readonly $fault: "client";
2694
- Message?: string | undefined;
2695
- /**
2696
- * @internal
2697
- */
2698
- constructor(opts: __ExceptionOptionType<RootNotFoundException, __BaseException>);
2699
- }
2700
1425
  /**
2701
1426
  * @public
2702
1427
  */
@@ -2786,36 +1511,6 @@ export interface EnablePolicyTypeResponse {
2786
1511
  */
2787
1512
  Root?: Root | undefined;
2788
1513
  }
2789
- /**
2790
- * <p>The specified policy type is already enabled in the specified root.</p>
2791
- * @public
2792
- */
2793
- export declare class PolicyTypeAlreadyEnabledException extends __BaseException {
2794
- readonly name: "PolicyTypeAlreadyEnabledException";
2795
- readonly $fault: "client";
2796
- Message?: string | undefined;
2797
- /**
2798
- * @internal
2799
- */
2800
- constructor(opts: __ExceptionOptionType<PolicyTypeAlreadyEnabledException, __BaseException>);
2801
- }
2802
- /**
2803
- * <p>A handshake with the same action and target already exists. For example, if you
2804
- * invited an account to join your organization, the invited account might already have a
2805
- * pending invitation from this organization. If you intend to resend an invitation to an
2806
- * account, ensure that existing handshakes that might be considered duplicates are
2807
- * canceled or declined.</p>
2808
- * @public
2809
- */
2810
- export declare class DuplicateHandshakeException extends __BaseException {
2811
- readonly name: "DuplicateHandshakeException";
2812
- readonly $fault: "client";
2813
- Message?: string | undefined;
2814
- /**
2815
- * @internal
2816
- */
2817
- constructor(opts: __ExceptionOptionType<DuplicateHandshakeException, __BaseException>);
2818
- }
2819
1514
  /**
2820
1515
  * @public
2821
1516
  */
@@ -2874,21 +1569,6 @@ export interface InviteAccountToOrganizationRequest {
2874
1569
  */
2875
1570
  Tags?: Tag[] | undefined;
2876
1571
  }
2877
- /**
2878
- * <p>You can't remove a management account from an organization. If you want the management
2879
- * account to become a member account in another organization, you must first delete the
2880
- * current organization of the management account.</p>
2881
- * @public
2882
- */
2883
- export declare class MasterCannotLeaveOrganizationException extends __BaseException {
2884
- readonly name: "MasterCannotLeaveOrganizationException";
2885
- readonly $fault: "client";
2886
- Message?: string | undefined;
2887
- /**
2888
- * @internal
2889
- */
2890
- constructor(opts: __ExceptionOptionType<MasterCannotLeaveOrganizationException, __BaseException>);
2891
- }
2892
1572
  /**
2893
1573
  * @public
2894
1574
  */
@@ -3182,18 +1862,6 @@ export interface ListAWSServiceAccessForOrganizationResponse {
3182
1862
  */
3183
1863
  NextToken?: string | undefined;
3184
1864
  }
3185
- /**
3186
- * @public
3187
- * @enum
3188
- */
3189
- export declare const ChildType: {
3190
- readonly ACCOUNT: "ACCOUNT";
3191
- readonly ORGANIZATIONAL_UNIT: "ORGANIZATIONAL_UNIT";
3192
- };
3193
- /**
3194
- * @public
3195
- */
3196
- export type ChildType = (typeof ChildType)[keyof typeof ChildType];
3197
1865
  /**
3198
1866
  * @public
3199
1867
  */
@@ -3862,20 +2530,6 @@ export interface ListOrganizationalUnitsForParentResponse {
3862
2530
  */
3863
2531
  NextToken?: string | undefined;
3864
2532
  }
3865
- /**
3866
- * <p>We can't find an organizational unit (OU) or Amazon Web Services account with the
3867
- * <code>ChildId</code> that you specified.</p>
3868
- * @public
3869
- */
3870
- export declare class ChildNotFoundException extends __BaseException {
3871
- readonly name: "ChildNotFoundException";
3872
- readonly $fault: "client";
3873
- Message?: string | undefined;
3874
- /**
3875
- * @internal
3876
- */
3877
- constructor(opts: __ExceptionOptionType<ChildNotFoundException, __BaseException>);
3878
- }
3879
2533
  /**
3880
2534
  * @public
3881
2535
  */
@@ -3923,18 +2577,6 @@ export interface ListParentsRequest {
3923
2577
  */
3924
2578
  MaxResults?: number | undefined;
3925
2579
  }
3926
- /**
3927
- * @public
3928
- * @enum
3929
- */
3930
- export declare const ParentType: {
3931
- readonly ORGANIZATIONAL_UNIT: "ORGANIZATIONAL_UNIT";
3932
- readonly ROOT: "ROOT";
3933
- };
3934
- /**
3935
- * @public
3936
- */
3937
- export type ParentType = (typeof ParentType)[keyof typeof ParentType];
3938
2580
  /**
3939
2581
  * <p>Contains information about either a root or an organizational unit (OU) that can
3940
2582
  * contain OUs or accounts in an organization.</p>
@@ -4333,19 +2975,6 @@ export interface ListTargetsForPolicyRequest {
4333
2975
  */
4334
2976
  MaxResults?: number | undefined;
4335
2977
  }
4336
- /**
4337
- * @public
4338
- * @enum
4339
- */
4340
- export declare const TargetType: {
4341
- readonly ACCOUNT: "ACCOUNT";
4342
- readonly ORGANIZATIONAL_UNIT: "ORGANIZATIONAL_UNIT";
4343
- readonly ROOT: "ROOT";
4344
- };
4345
- /**
4346
- * @public
4347
- */
4348
- export type TargetType = (typeof TargetType)[keyof typeof TargetType];
4349
2978
  /**
4350
2979
  * <p>Contains information about a root, OU, or account that a policy is attached to.</p>
4351
2980
  * @public
@@ -4415,33 +3044,6 @@ export interface ListTargetsForPolicyResponse {
4415
3044
  */
4416
3045
  NextToken?: string | undefined;
4417
3046
  }
4418
- /**
4419
- * <p>We can't find the destination container (a root or OU) with the <code>ParentId</code>
4420
- * that you specified.</p>
4421
- * @public
4422
- */
4423
- export declare class DestinationParentNotFoundException extends __BaseException {
4424
- readonly name: "DestinationParentNotFoundException";
4425
- readonly $fault: "client";
4426
- Message?: string | undefined;
4427
- /**
4428
- * @internal
4429
- */
4430
- constructor(opts: __ExceptionOptionType<DestinationParentNotFoundException, __BaseException>);
4431
- }
4432
- /**
4433
- * <p>That account is already present in the specified destination.</p>
4434
- * @public
4435
- */
4436
- export declare class DuplicateAccountException extends __BaseException {
4437
- readonly name: "DuplicateAccountException";
4438
- readonly $fault: "client";
4439
- Message?: string | undefined;
4440
- /**
4441
- * @internal
4442
- */
4443
- constructor(opts: __ExceptionOptionType<DuplicateAccountException, __BaseException>);
4444
- }
4445
3047
  /**
4446
3048
  * @public
4447
3049
  */
@@ -4496,20 +3098,6 @@ export interface MoveAccountRequest {
4496
3098
  */
4497
3099
  DestinationParentId: string | undefined;
4498
3100
  }
4499
- /**
4500
- * <p>We can't find a source root or OU with the <code>ParentId</code> that you
4501
- * specified.</p>
4502
- * @public
4503
- */
4504
- export declare class SourceParentNotFoundException extends __BaseException {
4505
- readonly name: "SourceParentNotFoundException";
4506
- readonly $fault: "client";
4507
- Message?: string | undefined;
4508
- /**
4509
- * @internal
4510
- */
4511
- constructor(opts: __ExceptionOptionType<SourceParentNotFoundException, __BaseException>);
4512
- }
4513
3101
  /**
4514
3102
  * @public
4515
3103
  */