@aws-sdk/client-organizations 3.936.0 → 3.937.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.
Files changed (97) hide show
  1. package/README.md +48 -0
  2. package/dist-cjs/index.js +462 -69
  3. package/dist-es/Organizations.js +12 -0
  4. package/dist-es/commands/DescribeResponsibilityTransferCommand.js +16 -0
  5. package/dist-es/commands/InviteOrganizationToTransferResponsibilityCommand.js +16 -0
  6. package/dist-es/commands/ListInboundResponsibilityTransfersCommand.js +16 -0
  7. package/dist-es/commands/ListOutboundResponsibilityTransfersCommand.js +16 -0
  8. package/dist-es/commands/TerminateResponsibilityTransferCommand.js +16 -0
  9. package/dist-es/commands/UpdateResponsibilityTransferCommand.js +16 -0
  10. package/dist-es/commands/index.js +6 -0
  11. package/dist-es/models/enums.js +81 -39
  12. package/dist-es/models/errors.js +72 -30
  13. package/dist-es/schemas/schemas_0.js +221 -1
  14. package/dist-types/Organizations.d.ts +42 -0
  15. package/dist-types/OrganizationsClient.d.ts +8 -2
  16. package/dist-types/commands/AcceptHandshakeCommand.d.ts +334 -32
  17. package/dist-types/commands/AttachPolicyCommand.d.ts +74 -3
  18. package/dist-types/commands/CancelHandshakeCommand.d.ts +45 -9
  19. package/dist-types/commands/CloseAccountCommand.d.ts +68 -1
  20. package/dist-types/commands/CreateAccountCommand.d.ts +69 -2
  21. package/dist-types/commands/CreateGovCloudAccountCommand.d.ts +68 -1
  22. package/dist-types/commands/CreateOrganizationCommand.d.ts +69 -2
  23. package/dist-types/commands/CreateOrganizationalUnitCommand.d.ts +69 -2
  24. package/dist-types/commands/CreatePolicyCommand.d.ts +71 -5
  25. package/dist-types/commands/DeclineHandshakeCommand.d.ts +45 -10
  26. package/dist-types/commands/DeleteOrganizationCommand.d.ts +284 -0
  27. package/dist-types/commands/DeleteOrganizationalUnitCommand.d.ts +38 -1
  28. package/dist-types/commands/DeletePolicyCommand.d.ts +38 -2
  29. package/dist-types/commands/DeleteResourcePolicyCommand.d.ts +32 -2
  30. package/dist-types/commands/DeregisterDelegatedAdministratorCommand.d.ts +69 -2
  31. package/dist-types/commands/DescribeAccountCommand.d.ts +38 -2
  32. package/dist-types/commands/DescribeCreateAccountStatusCommand.d.ts +38 -2
  33. package/dist-types/commands/DescribeEffectivePolicyCommand.d.ts +71 -4
  34. package/dist-types/commands/DescribeHandshakeCommand.d.ts +45 -10
  35. package/dist-types/commands/DescribeOrganizationCommand.d.ts +2 -2
  36. package/dist-types/commands/DescribeOrganizationalUnitCommand.d.ts +38 -2
  37. package/dist-types/commands/DescribePolicyCommand.d.ts +39 -3
  38. package/dist-types/commands/DescribeResourcePolicyCommand.d.ts +32 -3
  39. package/dist-types/commands/DescribeResponsibilityTransferCommand.d.ts +267 -0
  40. package/dist-types/commands/DetachPolicyCommand.d.ts +69 -3
  41. package/dist-types/commands/DisableAWSServiceAccessCommand.d.ts +69 -2
  42. package/dist-types/commands/DisablePolicyTypeCommand.d.ts +71 -5
  43. package/dist-types/commands/EnableAWSServiceAccessCommand.d.ts +69 -2
  44. package/dist-types/commands/EnableAllFeaturesCommand.d.ts +91 -10
  45. package/dist-types/commands/EnablePolicyTypeCommand.d.ts +71 -5
  46. package/dist-types/commands/InviteAccountToOrganizationCommand.d.ts +91 -10
  47. package/dist-types/commands/InviteOrganizationToTransferResponsibilityCommand.d.ts +617 -0
  48. package/dist-types/commands/LeaveOrganizationCommand.d.ts +69 -2
  49. package/dist-types/commands/ListAWSServiceAccessForOrganizationCommand.d.ts +69 -3
  50. package/dist-types/commands/ListAccountsCommand.d.ts +41 -8
  51. package/dist-types/commands/ListAccountsForParentCommand.d.ts +41 -8
  52. package/dist-types/commands/ListAccountsWithInvalidEffectivePolicyCommand.d.ts +71 -5
  53. package/dist-types/commands/ListChildrenCommand.d.ts +41 -8
  54. package/dist-types/commands/ListCreateAccountStatusCommand.d.ts +41 -8
  55. package/dist-types/commands/ListDelegatedAdministratorsCommand.d.ts +69 -3
  56. package/dist-types/commands/ListDelegatedServicesForAccountCommand.d.ts +69 -3
  57. package/dist-types/commands/ListEffectivePolicyValidationErrorsCommand.d.ts +71 -5
  58. package/dist-types/commands/ListHandshakesForAccountCommand.d.ts +49 -17
  59. package/dist-types/commands/ListHandshakesForOrganizationCommand.d.ts +49 -20
  60. package/dist-types/commands/ListInboundResponsibilityTransfersCommand.d.ts +524 -0
  61. package/dist-types/commands/ListOrganizationalUnitsForParentCommand.d.ts +41 -8
  62. package/dist-types/commands/ListOutboundResponsibilityTransfersCommand.d.ts +521 -0
  63. package/dist-types/commands/ListParentsCommand.d.ts +41 -8
  64. package/dist-types/commands/ListPoliciesCommand.d.ts +43 -10
  65. package/dist-types/commands/ListPoliciesForTargetCommand.d.ts +43 -10
  66. package/dist-types/commands/ListRootsCommand.d.ts +42 -9
  67. package/dist-types/commands/ListTagsForResourceCommand.d.ts +38 -2
  68. package/dist-types/commands/ListTargetsForPolicyCommand.d.ts +41 -8
  69. package/dist-types/commands/MoveAccountCommand.d.ts +38 -1
  70. package/dist-types/commands/PutResourcePolicyCommand.d.ts +69 -2
  71. package/dist-types/commands/RegisterDelegatedAdministratorCommand.d.ts +69 -2
  72. package/dist-types/commands/RemoveAccountFromOrganizationCommand.d.ts +69 -2
  73. package/dist-types/commands/TagResourceCommand.d.ts +69 -3
  74. package/dist-types/commands/TerminateResponsibilityTransferCommand.d.ts +526 -0
  75. package/dist-types/commands/UntagResourceCommand.d.ts +69 -3
  76. package/dist-types/commands/UpdateOrganizationalUnitCommand.d.ts +38 -1
  77. package/dist-types/commands/UpdatePolicyCommand.d.ts +70 -4
  78. package/dist-types/commands/UpdateResponsibilityTransferCommand.d.ts +516 -0
  79. package/dist-types/commands/index.d.ts +6 -0
  80. package/dist-types/models/enums.d.ts +105 -47
  81. package/dist-types/models/errors.d.ts +507 -386
  82. package/dist-types/models/models_0.d.ts +483 -283
  83. package/dist-types/schemas/schemas_0.d.ts +25 -0
  84. package/dist-types/ts3.4/Organizations.d.ts +120 -0
  85. package/dist-types/ts3.4/OrganizationsClient.d.ts +38 -2
  86. package/dist-types/ts3.4/commands/DescribeResponsibilityTransferCommand.d.ts +51 -0
  87. package/dist-types/ts3.4/commands/InviteOrganizationToTransferResponsibilityCommand.d.ts +51 -0
  88. package/dist-types/ts3.4/commands/ListInboundResponsibilityTransfersCommand.d.ts +51 -0
  89. package/dist-types/ts3.4/commands/ListOutboundResponsibilityTransfersCommand.d.ts +51 -0
  90. package/dist-types/ts3.4/commands/TerminateResponsibilityTransferCommand.d.ts +51 -0
  91. package/dist-types/ts3.4/commands/UpdateResponsibilityTransferCommand.d.ts +51 -0
  92. package/dist-types/ts3.4/commands/index.d.ts +6 -0
  93. package/dist-types/ts3.4/models/enums.d.ts +87 -41
  94. package/dist-types/ts3.4/models/errors.d.ts +53 -20
  95. package/dist-types/ts3.4/models/models_0.d.ts +68 -0
  96. package/dist-types/ts3.4/schemas/schemas_0.d.ts +25 -0
  97. package/package.json +1 -1
@@ -51,7 +51,7 @@ declare const EnableAllFeaturesCommand_base: {
51
51
  * users and even administrators in those accounts can do. The management account can apply
52
52
  * policies that prevent accounts from leaving the organization. Ensure that your account
53
53
  * administrators are aware of this.</p>
54
- * <p>This operation can be called only from the organization's management account.</p>
54
+ * <p>You can only call this operation from the management account.</p>
55
55
  * @example
56
56
  * Use a bare-bones client and the command you need to make an API call.
57
57
  * ```javascript
@@ -76,15 +76,15 @@ declare const EnableAllFeaturesCommand_base: {
76
76
  * // State: "REQUESTED" || "OPEN" || "CANCELED" || "ACCEPTED" || "DECLINED" || "EXPIRED",
77
77
  * // RequestedTimestamp: new Date("TIMESTAMP"),
78
78
  * // ExpirationTimestamp: new Date("TIMESTAMP"),
79
- * // Action: "INVITE" || "ENABLE_ALL_FEATURES" || "APPROVE_ALL_FEATURES" || "ADD_ORGANIZATIONS_SERVICE_LINKED_ROLE",
79
+ * // Action: "INVITE" || "ENABLE_ALL_FEATURES" || "APPROVE_ALL_FEATURES" || "ADD_ORGANIZATIONS_SERVICE_LINKED_ROLE" || "TRANSFER_RESPONSIBILITY",
80
80
  * // Resources: [ // HandshakeResources
81
81
  * // { // HandshakeResource
82
82
  * // Value: "STRING_VALUE",
83
- * // Type: "ACCOUNT" || "ORGANIZATION" || "ORGANIZATION_FEATURE_SET" || "EMAIL" || "MASTER_EMAIL" || "MASTER_NAME" || "NOTES" || "PARENT_HANDSHAKE",
83
+ * // Type: "ACCOUNT" || "ORGANIZATION" || "ORGANIZATION_FEATURE_SET" || "EMAIL" || "MASTER_EMAIL" || "MASTER_NAME" || "NOTES" || "PARENT_HANDSHAKE" || "RESPONSIBILITY_TRANSFER" || "TRANSFER_START_TIMESTAMP" || "TRANSFER_TYPE" || "MANAGEMENT_ACCOUNT" || "MANAGEMENT_EMAIL" || "MANAGEMENT_NAME",
84
84
  * // Resources: [
85
85
  * // {
86
86
  * // Value: "STRING_VALUE",
87
- * // Type: "ACCOUNT" || "ORGANIZATION" || "ORGANIZATION_FEATURE_SET" || "EMAIL" || "MASTER_EMAIL" || "MASTER_NAME" || "NOTES" || "PARENT_HANDSHAKE",
87
+ * // Type: "ACCOUNT" || "ORGANIZATION" || "ORGANIZATION_FEATURE_SET" || "EMAIL" || "MASTER_EMAIL" || "MASTER_NAME" || "NOTES" || "PARENT_HANDSHAKE" || "RESPONSIBILITY_TRANSFER" || "TRANSFER_START_TIMESTAMP" || "TRANSFER_TYPE" || "MANAGEMENT_ACCOUNT" || "MANAGEMENT_EMAIL" || "MANAGEMENT_NAME",
88
88
  * // Resources: "<HandshakeResources>",
89
89
  * // },
90
90
  * // ],
@@ -148,6 +148,9 @@ declare const EnableAllFeaturesCommand_base: {
148
148
  * create an organization.</p>
149
149
  * </li>
150
150
  * <li>
151
+ * <p>ACTIVE_RESPONSIBILITY_TRANSFER_PROCESS: You cannot delete organization due to an ongoing responsibility transfer process. For example, a pending invitation or an in-progress transfer. To delete the organization, you must resolve the current transfer process.</p>
152
+ * </li>
153
+ * <li>
151
154
  * <p>ACCOUNT_NUMBER_LIMIT_EXCEEDED: You attempted to exceed the limit on the number
152
155
  * 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
153
156
  * request an increase in your limit. </p>
@@ -213,7 +216,7 @@ declare const EnableAllFeaturesCommand_base: {
213
216
  * <li>
214
217
  * <p>EMAIL_VERIFICATION_CODE_EXPIRED: The email verification code is only valid for
215
218
  * a limited period of time. You must resubmit the request and generate a new
216
- * verfication code.</p>
219
+ * verification code.</p>
217
220
  * </li>
218
221
  * <li>
219
222
  * <p>HANDSHAKE_RATE_LIMIT_EXCEEDED: You attempted to exceed the number of
@@ -308,6 +311,22 @@ declare const EnableAllFeaturesCommand_base: {
308
311
  * complete this operation, you must first disable the policy type.</p>
309
312
  * </li>
310
313
  * <li>
314
+ * <p>RESPONSIBILITY_TRANSFER_MAX_INBOUND_QUOTA_VIOLATION: You have exceeded your inbound
315
+ * transfers limit.</p>
316
+ * </li>
317
+ * <li>
318
+ * <p>RESPONSIBILITY_TRANSFER_MAX_LEVEL_VIOLATION: You have exceeded the maximum length of your
319
+ * transfer chain.</p>
320
+ * </li>
321
+ * <li>
322
+ * <p>RESPONSIBILITY_TRANSFER_MAX_OUTBOUND_QUOTA_VIOLATION: You have exceeded your outbound
323
+ * transfers limit.</p>
324
+ * </li>
325
+ * <li>
326
+ * <p>RESPONSIBILITY_TRANSFER_MAX_TRANSFERS_QUOTA_VIOLATION: You have exceeded the maximum
327
+ * number of inbound transfers allowed in a transfer chain.</p>
328
+ * </li>
329
+ * <li>
311
330
  * <p>SERVICE_ACCESS_NOT_ENABLED:</p>
312
331
  * <ul>
313
332
  * <li>
@@ -326,6 +345,17 @@ declare const EnableAllFeaturesCommand_base: {
326
345
  * that are not compliant with the tag policy requirements for this account.</p>
327
346
  * </li>
328
347
  * <li>
348
+ * <p>TRANSFER_RESPONSIBILITY_SOURCE_DELETION_IN_PROGRESS: The source organization cannot accept
349
+ * this transfer invitation because it is marked for deletion.</p>
350
+ * </li>
351
+ * <li>
352
+ * <p>TRANSFER_RESPONSIBILITY_TARGET_DELETION_IN_PROGRESS: The source organization cannot accept
353
+ * this transfer invitation because target organization is marked for deletion.</p>
354
+ * </li>
355
+ * <li>
356
+ * <p>UNSUPPORTED_PRICING: Your organization has a pricing contract that is unsupported.</p>
357
+ * </li>
358
+ * <li>
329
359
  * <p>WAIT_PERIOD_ACTIVE: After you create an Amazon Web Services account, you must wait until at
330
360
  * least four days after the account was created. Invited accounts aren't subject
331
361
  * to this waiting period.</p>
@@ -366,13 +396,12 @@ declare const EnableAllFeaturesCommand_base: {
366
396
  * agreed to the change.</p>
367
397
  * </li>
368
398
  * <li>
369
- * <p>ORGANIZATION_ALREADY_HAS_ALL_FEATURES: The handshake request is invalid
370
- * because the organization has already enabled all features.</p>
399
+ * <p>LEGACY_PERMISSIONS_STILL_IN_USE: Your organization must migrate to use the new IAM
400
+ * fine-grained actions for billing, cost management, and accounts.</p>
371
401
  * </li>
372
402
  * <li>
373
- * <p>ORGANIZATION_IS_ALREADY_PENDING_ALL_FEATURES_MIGRATION: The handshake request
374
- * is invalid because the organization has already started the process to enable
375
- * all features.</p>
403
+ * <p>ORGANIZATION_ALREADY_HAS_ALL_FEATURES: The handshake request is invalid
404
+ * because the organization has already enabled all features.</p>
376
405
  * </li>
377
406
  * <li>
378
407
  * <p>ORGANIZATION_FROM_DIFFERENT_SELLER_OF_RECORD: The request failed because the
@@ -380,6 +409,11 @@ declare const EnableAllFeaturesCommand_base: {
380
409
  * organization.</p>
381
410
  * </li>
382
411
  * <li>
412
+ * <p>ORGANIZATION_IS_ALREADY_PENDING_ALL_FEATURES_MIGRATION: The handshake request
413
+ * is invalid because the organization has already started the process to enable
414
+ * all features.</p>
415
+ * </li>
416
+ * <li>
383
417
  * <p>ORGANIZATION_MEMBERSHIP_CHANGE_RATE_LIMIT_EXCEEDED: You attempted to change
384
418
  * the membership of an account too quickly after its previous change.</p>
385
419
  * </li>
@@ -388,6 +422,16 @@ declare const EnableAllFeaturesCommand_base: {
388
422
  * that doesn't have a payment instrument, such as a credit card, associated with
389
423
  * it.</p>
390
424
  * </li>
425
+ * <li>
426
+ * <p>RESPONSIBILITY_TRANSFER_ALREADY_EXISTS: You cannot perform this operation with the current
427
+ * transfer.</p>
428
+ * </li>
429
+ * <li>
430
+ * <p>SOURCE_AND_TARGET_CANNOT_MATCH: An account can't accept a transfer invitation if it is both the sender and recipient of the invitation.</p>
431
+ * </li>
432
+ * <li>
433
+ * <p>UNUSED_PREPAYMENT_BALANCE: Your organization has an outstanding pre-payment balance.</p>
434
+ * </li>
391
435
  * </ul>
392
436
  *
393
437
  * @throws {@link InvalidInputException} (client fault)
@@ -400,10 +444,21 @@ declare const EnableAllFeaturesCommand_base: {
400
444
  * </note>
401
445
  * <ul>
402
446
  * <li>
447
+ * <p>CALLER_REQUIRED_FIELD_MISSING: At least one of the required field is missing: Caller Account Id, Management Account Id or Organization Id.</p>
448
+ * </li>
449
+ * <li>
403
450
  * <p>DUPLICATE_TAG_KEY: Tag keys must be unique among the tags attached to the same
404
451
  * entity.</p>
405
452
  * </li>
406
453
  * <li>
454
+ * <p>END_DATE_NOT_END_OF_MONTH: You provided an invalid end date. The end date must be the end
455
+ * of the last day of the month (23.59.59.999).</p>
456
+ * </li>
457
+ * <li>
458
+ * <p>END_DATE_TOO_EARLY: You provided an invalid end date. It is too early for the transfer to
459
+ * end.</p>
460
+ * </li>
461
+ * <li>
407
462
  * <p>IMMUTABLE_POLICY: You specified a policy that is managed by Amazon Web Services and can't be
408
463
  * modified.</p>
409
464
  * </li>
@@ -415,6 +470,11 @@ declare const EnableAllFeaturesCommand_base: {
415
470
  * invited account owner.</p>
416
471
  * </li>
417
472
  * <li>
473
+ * <p>INVALID_END_DATE: The selected withdrawal date doesn't meet the terms of your partner
474
+ * agreement. Visit Amazon Web Services Partner Central to view your partner agreements or contact your Amazon Web Services
475
+ * Partner for help.</p>
476
+ * </li>
477
+ * <li>
418
478
  * <p>INVALID_ENUM: You specified an invalid value.</p>
419
479
  * </li>
420
480
  * <li>
@@ -453,6 +513,9 @@ declare const EnableAllFeaturesCommand_base: {
453
513
  * can't begin with the reserved prefix <code>AWSServiceRoleFor</code>.</p>
454
514
  * </li>
455
515
  * <li>
516
+ * <p>INVALID_START_DATE: The start date doesn't meet the minimum requirements.</p>
517
+ * </li>
518
+ * <li>
456
519
  * <p>INVALID_SYNTAX_ORGANIZATION_ARN: You specified an invalid Amazon Resource Name
457
520
  * (ARN) for the organization.</p>
458
521
  * </li>
@@ -492,6 +555,20 @@ declare const EnableAllFeaturesCommand_base: {
492
555
  * <p>NON_DETACHABLE_POLICY: You can't detach this Amazon Web Services Managed Policy.</p>
493
556
  * </li>
494
557
  * <li>
558
+ * <p>START_DATE_NOT_BEGINNING_OF_DAY: You provided an invalid start date. The start date must
559
+ * be the beginning of the day (00:00:00.000).</p>
560
+ * </li>
561
+ * <li>
562
+ * <p>START_DATE_NOT_BEGINNING_OF_MONTH: You provided an invalid start date. The start date must
563
+ * be the first day of the month.</p>
564
+ * </li>
565
+ * <li>
566
+ * <p>START_DATE_TOO_EARLY: You provided an invalid start date. The start date is too early.</p>
567
+ * </li>
568
+ * <li>
569
+ * <p>START_DATE_TOO_LATE: You provided an invalid start date. The start date is too late.</p>
570
+ * </li>
571
+ * <li>
495
572
  * <p>TARGET_NOT_SUPPORTED: You can't perform the specified operation on that target
496
573
  * entity.</p>
497
574
  * </li>
@@ -499,6 +576,10 @@ declare const EnableAllFeaturesCommand_base: {
499
576
  * <p>UNRECOGNIZED_SERVICE_PRINCIPAL: You specified a service principal that isn't
500
577
  * recognized.</p>
501
578
  * </li>
579
+ * <li>
580
+ * <p>UNSUPPORTED_ACTION_IN_RESPONSIBILITY_TRANSFER: You provided a value that is not supported
581
+ * by this operation.</p>
582
+ * </li>
502
583
  * </ul>
503
584
  *
504
585
  * @throws {@link ServiceException} (server fault)
@@ -34,8 +34,7 @@ declare const EnablePolicyTypeCommand_base: {
34
34
  * <p>This is an asynchronous request that Amazon Web Services performs in the background. Amazon Web Services
35
35
  * recommends that you first use <a>ListRoots</a> to see the status of policy
36
36
  * types for a specified root, and then use this operation.</p>
37
- * <p>This operation can be called only from the organization's
38
- * management account or by a member account that is a delegated administrator.</p>
37
+ * <p>You can only call this operation from the management account or a member account that is a delegated administrator.</p>
39
38
  * <p>You can enable a policy type in a root only if that policy type is available in the
40
39
  * organization. To view the status of available policy types in the organization, use
41
40
  * <a>ListRoots</a>.</p>
@@ -49,7 +48,7 @@ declare const EnablePolicyTypeCommand_base: {
49
48
  * const client = new OrganizationsClient(config);
50
49
  * const input = { // EnablePolicyTypeRequest
51
50
  * RootId: "STRING_VALUE", // required
52
- * PolicyType: "SERVICE_CONTROL_POLICY" || "RESOURCE_CONTROL_POLICY" || "TAG_POLICY" || "BACKUP_POLICY" || "AISERVICES_OPT_OUT_POLICY" || "CHATBOT_POLICY" || "DECLARATIVE_POLICY_EC2" || "SECURITYHUB_POLICY", // required
51
+ * PolicyType: "SERVICE_CONTROL_POLICY" || "RESOURCE_CONTROL_POLICY" || "TAG_POLICY" || "BACKUP_POLICY" || "AISERVICES_OPT_OUT_POLICY" || "CHATBOT_POLICY" || "DECLARATIVE_POLICY_EC2" || "SECURITYHUB_POLICY" || "INSPECTOR_POLICY", // required
53
52
  * };
54
53
  * const command = new EnablePolicyTypeCommand(input);
55
54
  * const response = await client.send(command);
@@ -60,7 +59,7 @@ declare const EnablePolicyTypeCommand_base: {
60
59
  * // Name: "STRING_VALUE",
61
60
  * // PolicyTypes: [ // PolicyTypes
62
61
  * // { // PolicyTypeSummary
63
- * // Type: "SERVICE_CONTROL_POLICY" || "RESOURCE_CONTROL_POLICY" || "TAG_POLICY" || "BACKUP_POLICY" || "AISERVICES_OPT_OUT_POLICY" || "CHATBOT_POLICY" || "DECLARATIVE_POLICY_EC2" || "SECURITYHUB_POLICY",
62
+ * // Type: "SERVICE_CONTROL_POLICY" || "RESOURCE_CONTROL_POLICY" || "TAG_POLICY" || "BACKUP_POLICY" || "AISERVICES_OPT_OUT_POLICY" || "CHATBOT_POLICY" || "DECLARATIVE_POLICY_EC2" || "SECURITYHUB_POLICY" || "INSPECTOR_POLICY",
64
63
  * // Status: "ENABLED" || "PENDING_ENABLE" || "PENDING_DISABLE",
65
64
  * // },
66
65
  * // ],
@@ -122,6 +121,9 @@ declare const EnablePolicyTypeCommand_base: {
122
121
  * create an organization.</p>
123
122
  * </li>
124
123
  * <li>
124
+ * <p>ACTIVE_RESPONSIBILITY_TRANSFER_PROCESS: You cannot delete organization due to an ongoing responsibility transfer process. For example, a pending invitation or an in-progress transfer. To delete the organization, you must resolve the current transfer process.</p>
125
+ * </li>
126
+ * <li>
125
127
  * <p>ACCOUNT_NUMBER_LIMIT_EXCEEDED: You attempted to exceed the limit on the number
126
128
  * 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
127
129
  * request an increase in your limit. </p>
@@ -187,7 +189,7 @@ declare const EnablePolicyTypeCommand_base: {
187
189
  * <li>
188
190
  * <p>EMAIL_VERIFICATION_CODE_EXPIRED: The email verification code is only valid for
189
191
  * a limited period of time. You must resubmit the request and generate a new
190
- * verfication code.</p>
192
+ * verification code.</p>
191
193
  * </li>
192
194
  * <li>
193
195
  * <p>HANDSHAKE_RATE_LIMIT_EXCEEDED: You attempted to exceed the number of
@@ -282,6 +284,22 @@ declare const EnablePolicyTypeCommand_base: {
282
284
  * complete this operation, you must first disable the policy type.</p>
283
285
  * </li>
284
286
  * <li>
287
+ * <p>RESPONSIBILITY_TRANSFER_MAX_INBOUND_QUOTA_VIOLATION: You have exceeded your inbound
288
+ * transfers limit.</p>
289
+ * </li>
290
+ * <li>
291
+ * <p>RESPONSIBILITY_TRANSFER_MAX_LEVEL_VIOLATION: You have exceeded the maximum length of your
292
+ * transfer chain.</p>
293
+ * </li>
294
+ * <li>
295
+ * <p>RESPONSIBILITY_TRANSFER_MAX_OUTBOUND_QUOTA_VIOLATION: You have exceeded your outbound
296
+ * transfers limit.</p>
297
+ * </li>
298
+ * <li>
299
+ * <p>RESPONSIBILITY_TRANSFER_MAX_TRANSFERS_QUOTA_VIOLATION: You have exceeded the maximum
300
+ * number of inbound transfers allowed in a transfer chain.</p>
301
+ * </li>
302
+ * <li>
285
303
  * <p>SERVICE_ACCESS_NOT_ENABLED:</p>
286
304
  * <ul>
287
305
  * <li>
@@ -300,6 +318,17 @@ declare const EnablePolicyTypeCommand_base: {
300
318
  * that are not compliant with the tag policy requirements for this account.</p>
301
319
  * </li>
302
320
  * <li>
321
+ * <p>TRANSFER_RESPONSIBILITY_SOURCE_DELETION_IN_PROGRESS: The source organization cannot accept
322
+ * this transfer invitation because it is marked for deletion.</p>
323
+ * </li>
324
+ * <li>
325
+ * <p>TRANSFER_RESPONSIBILITY_TARGET_DELETION_IN_PROGRESS: The source organization cannot accept
326
+ * this transfer invitation because target organization is marked for deletion.</p>
327
+ * </li>
328
+ * <li>
329
+ * <p>UNSUPPORTED_PRICING: Your organization has a pricing contract that is unsupported.</p>
330
+ * </li>
331
+ * <li>
303
332
  * <p>WAIT_PERIOD_ACTIVE: After you create an Amazon Web Services account, you must wait until at
304
333
  * least four days after the account was created. Invited accounts aren't subject
305
334
  * to this waiting period.</p>
@@ -316,10 +345,21 @@ declare const EnablePolicyTypeCommand_base: {
316
345
  * </note>
317
346
  * <ul>
318
347
  * <li>
348
+ * <p>CALLER_REQUIRED_FIELD_MISSING: At least one of the required field is missing: Caller Account Id, Management Account Id or Organization Id.</p>
349
+ * </li>
350
+ * <li>
319
351
  * <p>DUPLICATE_TAG_KEY: Tag keys must be unique among the tags attached to the same
320
352
  * entity.</p>
321
353
  * </li>
322
354
  * <li>
355
+ * <p>END_DATE_NOT_END_OF_MONTH: You provided an invalid end date. The end date must be the end
356
+ * of the last day of the month (23.59.59.999).</p>
357
+ * </li>
358
+ * <li>
359
+ * <p>END_DATE_TOO_EARLY: You provided an invalid end date. It is too early for the transfer to
360
+ * end.</p>
361
+ * </li>
362
+ * <li>
323
363
  * <p>IMMUTABLE_POLICY: You specified a policy that is managed by Amazon Web Services and can't be
324
364
  * modified.</p>
325
365
  * </li>
@@ -331,6 +371,11 @@ declare const EnablePolicyTypeCommand_base: {
331
371
  * invited account owner.</p>
332
372
  * </li>
333
373
  * <li>
374
+ * <p>INVALID_END_DATE: The selected withdrawal date doesn't meet the terms of your partner
375
+ * agreement. Visit Amazon Web Services Partner Central to view your partner agreements or contact your Amazon Web Services
376
+ * Partner for help.</p>
377
+ * </li>
378
+ * <li>
334
379
  * <p>INVALID_ENUM: You specified an invalid value.</p>
335
380
  * </li>
336
381
  * <li>
@@ -369,6 +414,9 @@ declare const EnablePolicyTypeCommand_base: {
369
414
  * can't begin with the reserved prefix <code>AWSServiceRoleFor</code>.</p>
370
415
  * </li>
371
416
  * <li>
417
+ * <p>INVALID_START_DATE: The start date doesn't meet the minimum requirements.</p>
418
+ * </li>
419
+ * <li>
372
420
  * <p>INVALID_SYNTAX_ORGANIZATION_ARN: You specified an invalid Amazon Resource Name
373
421
  * (ARN) for the organization.</p>
374
422
  * </li>
@@ -408,6 +456,20 @@ declare const EnablePolicyTypeCommand_base: {
408
456
  * <p>NON_DETACHABLE_POLICY: You can't detach this Amazon Web Services Managed Policy.</p>
409
457
  * </li>
410
458
  * <li>
459
+ * <p>START_DATE_NOT_BEGINNING_OF_DAY: You provided an invalid start date. The start date must
460
+ * be the beginning of the day (00:00:00.000).</p>
461
+ * </li>
462
+ * <li>
463
+ * <p>START_DATE_NOT_BEGINNING_OF_MONTH: You provided an invalid start date. The start date must
464
+ * be the first day of the month.</p>
465
+ * </li>
466
+ * <li>
467
+ * <p>START_DATE_TOO_EARLY: You provided an invalid start date. The start date is too early.</p>
468
+ * </li>
469
+ * <li>
470
+ * <p>START_DATE_TOO_LATE: You provided an invalid start date. The start date is too late.</p>
471
+ * </li>
472
+ * <li>
411
473
  * <p>TARGET_NOT_SUPPORTED: You can't perform the specified operation on that target
412
474
  * entity.</p>
413
475
  * </li>
@@ -415,6 +477,10 @@ declare const EnablePolicyTypeCommand_base: {
415
477
  * <p>UNRECOGNIZED_SERVICE_PRINCIPAL: You specified a service principal that isn't
416
478
  * recognized.</p>
417
479
  * </li>
480
+ * <li>
481
+ * <p>UNSUPPORTED_ACTION_IN_RESPONSIBILITY_TRANSFER: You provided a value that is not supported
482
+ * by this operation.</p>
483
+ * </li>
418
484
  * </ul>
419
485
  *
420
486
  * @throws {@link PolicyChangesInProgressException} (client fault)
@@ -40,7 +40,7 @@ declare const InviteAccountToOrganizationCommand_base: {
40
40
  * </important>
41
41
  * <p>If the request includes tags, then the requester must have the
42
42
  * <code>organizations:TagResource</code> permission.</p>
43
- * <p>This operation can be called only from the organization's management account.</p>
43
+ * <p>You can only call this operation from the management account.</p>
44
44
  * @example
45
45
  * Use a bare-bones client and the command you need to make an API call.
46
46
  * ```javascript
@@ -77,15 +77,15 @@ declare const InviteAccountToOrganizationCommand_base: {
77
77
  * // State: "REQUESTED" || "OPEN" || "CANCELED" || "ACCEPTED" || "DECLINED" || "EXPIRED",
78
78
  * // RequestedTimestamp: new Date("TIMESTAMP"),
79
79
  * // ExpirationTimestamp: new Date("TIMESTAMP"),
80
- * // Action: "INVITE" || "ENABLE_ALL_FEATURES" || "APPROVE_ALL_FEATURES" || "ADD_ORGANIZATIONS_SERVICE_LINKED_ROLE",
80
+ * // Action: "INVITE" || "ENABLE_ALL_FEATURES" || "APPROVE_ALL_FEATURES" || "ADD_ORGANIZATIONS_SERVICE_LINKED_ROLE" || "TRANSFER_RESPONSIBILITY",
81
81
  * // Resources: [ // HandshakeResources
82
82
  * // { // HandshakeResource
83
83
  * // Value: "STRING_VALUE",
84
- * // Type: "ACCOUNT" || "ORGANIZATION" || "ORGANIZATION_FEATURE_SET" || "EMAIL" || "MASTER_EMAIL" || "MASTER_NAME" || "NOTES" || "PARENT_HANDSHAKE",
84
+ * // Type: "ACCOUNT" || "ORGANIZATION" || "ORGANIZATION_FEATURE_SET" || "EMAIL" || "MASTER_EMAIL" || "MASTER_NAME" || "NOTES" || "PARENT_HANDSHAKE" || "RESPONSIBILITY_TRANSFER" || "TRANSFER_START_TIMESTAMP" || "TRANSFER_TYPE" || "MANAGEMENT_ACCOUNT" || "MANAGEMENT_EMAIL" || "MANAGEMENT_NAME",
85
85
  * // Resources: [
86
86
  * // {
87
87
  * // Value: "STRING_VALUE",
88
- * // Type: "ACCOUNT" || "ORGANIZATION" || "ORGANIZATION_FEATURE_SET" || "EMAIL" || "MASTER_EMAIL" || "MASTER_NAME" || "NOTES" || "PARENT_HANDSHAKE",
88
+ * // Type: "ACCOUNT" || "ORGANIZATION" || "ORGANIZATION_FEATURE_SET" || "EMAIL" || "MASTER_EMAIL" || "MASTER_NAME" || "NOTES" || "PARENT_HANDSHAKE" || "RESPONSIBILITY_TRANSFER" || "TRANSFER_START_TIMESTAMP" || "TRANSFER_TYPE" || "MANAGEMENT_ACCOUNT" || "MANAGEMENT_EMAIL" || "MANAGEMENT_NAME",
89
89
  * // Resources: "<HandshakeResources>",
90
90
  * // },
91
91
  * // ],
@@ -155,6 +155,9 @@ declare const InviteAccountToOrganizationCommand_base: {
155
155
  * create an organization.</p>
156
156
  * </li>
157
157
  * <li>
158
+ * <p>ACTIVE_RESPONSIBILITY_TRANSFER_PROCESS: You cannot delete organization due to an ongoing responsibility transfer process. For example, a pending invitation or an in-progress transfer. To delete the organization, you must resolve the current transfer process.</p>
159
+ * </li>
160
+ * <li>
158
161
  * <p>ACCOUNT_NUMBER_LIMIT_EXCEEDED: You attempted to exceed the limit on the number
159
162
  * 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
160
163
  * request an increase in your limit. </p>
@@ -220,7 +223,7 @@ declare const InviteAccountToOrganizationCommand_base: {
220
223
  * <li>
221
224
  * <p>EMAIL_VERIFICATION_CODE_EXPIRED: The email verification code is only valid for
222
225
  * a limited period of time. You must resubmit the request and generate a new
223
- * verfication code.</p>
226
+ * verification code.</p>
224
227
  * </li>
225
228
  * <li>
226
229
  * <p>HANDSHAKE_RATE_LIMIT_EXCEEDED: You attempted to exceed the number of
@@ -315,6 +318,22 @@ declare const InviteAccountToOrganizationCommand_base: {
315
318
  * complete this operation, you must first disable the policy type.</p>
316
319
  * </li>
317
320
  * <li>
321
+ * <p>RESPONSIBILITY_TRANSFER_MAX_INBOUND_QUOTA_VIOLATION: You have exceeded your inbound
322
+ * transfers limit.</p>
323
+ * </li>
324
+ * <li>
325
+ * <p>RESPONSIBILITY_TRANSFER_MAX_LEVEL_VIOLATION: You have exceeded the maximum length of your
326
+ * transfer chain.</p>
327
+ * </li>
328
+ * <li>
329
+ * <p>RESPONSIBILITY_TRANSFER_MAX_OUTBOUND_QUOTA_VIOLATION: You have exceeded your outbound
330
+ * transfers limit.</p>
331
+ * </li>
332
+ * <li>
333
+ * <p>RESPONSIBILITY_TRANSFER_MAX_TRANSFERS_QUOTA_VIOLATION: You have exceeded the maximum
334
+ * number of inbound transfers allowed in a transfer chain.</p>
335
+ * </li>
336
+ * <li>
318
337
  * <p>SERVICE_ACCESS_NOT_ENABLED:</p>
319
338
  * <ul>
320
339
  * <li>
@@ -333,6 +352,17 @@ declare const InviteAccountToOrganizationCommand_base: {
333
352
  * that are not compliant with the tag policy requirements for this account.</p>
334
353
  * </li>
335
354
  * <li>
355
+ * <p>TRANSFER_RESPONSIBILITY_SOURCE_DELETION_IN_PROGRESS: The source organization cannot accept
356
+ * this transfer invitation because it is marked for deletion.</p>
357
+ * </li>
358
+ * <li>
359
+ * <p>TRANSFER_RESPONSIBILITY_TARGET_DELETION_IN_PROGRESS: The source organization cannot accept
360
+ * this transfer invitation because target organization is marked for deletion.</p>
361
+ * </li>
362
+ * <li>
363
+ * <p>UNSUPPORTED_PRICING: Your organization has a pricing contract that is unsupported.</p>
364
+ * </li>
365
+ * <li>
336
366
  * <p>WAIT_PERIOD_ACTIVE: After you create an Amazon Web Services account, you must wait until at
337
367
  * least four days after the account was created. Invited accounts aren't subject
338
368
  * to this waiting period.</p>
@@ -385,13 +415,12 @@ declare const InviteAccountToOrganizationCommand_base: {
385
415
  * agreed to the change.</p>
386
416
  * </li>
387
417
  * <li>
388
- * <p>ORGANIZATION_ALREADY_HAS_ALL_FEATURES: The handshake request is invalid
389
- * because the organization has already enabled all features.</p>
418
+ * <p>LEGACY_PERMISSIONS_STILL_IN_USE: Your organization must migrate to use the new IAM
419
+ * fine-grained actions for billing, cost management, and accounts.</p>
390
420
  * </li>
391
421
  * <li>
392
- * <p>ORGANIZATION_IS_ALREADY_PENDING_ALL_FEATURES_MIGRATION: The handshake request
393
- * is invalid because the organization has already started the process to enable
394
- * all features.</p>
422
+ * <p>ORGANIZATION_ALREADY_HAS_ALL_FEATURES: The handshake request is invalid
423
+ * because the organization has already enabled all features.</p>
395
424
  * </li>
396
425
  * <li>
397
426
  * <p>ORGANIZATION_FROM_DIFFERENT_SELLER_OF_RECORD: The request failed because the
@@ -399,6 +428,11 @@ declare const InviteAccountToOrganizationCommand_base: {
399
428
  * organization.</p>
400
429
  * </li>
401
430
  * <li>
431
+ * <p>ORGANIZATION_IS_ALREADY_PENDING_ALL_FEATURES_MIGRATION: The handshake request
432
+ * is invalid because the organization has already started the process to enable
433
+ * all features.</p>
434
+ * </li>
435
+ * <li>
402
436
  * <p>ORGANIZATION_MEMBERSHIP_CHANGE_RATE_LIMIT_EXCEEDED: You attempted to change
403
437
  * the membership of an account too quickly after its previous change.</p>
404
438
  * </li>
@@ -407,6 +441,16 @@ declare const InviteAccountToOrganizationCommand_base: {
407
441
  * that doesn't have a payment instrument, such as a credit card, associated with
408
442
  * it.</p>
409
443
  * </li>
444
+ * <li>
445
+ * <p>RESPONSIBILITY_TRANSFER_ALREADY_EXISTS: You cannot perform this operation with the current
446
+ * transfer.</p>
447
+ * </li>
448
+ * <li>
449
+ * <p>SOURCE_AND_TARGET_CANNOT_MATCH: An account can't accept a transfer invitation if it is both the sender and recipient of the invitation.</p>
450
+ * </li>
451
+ * <li>
452
+ * <p>UNUSED_PREPAYMENT_BALANCE: Your organization has an outstanding pre-payment balance.</p>
453
+ * </li>
410
454
  * </ul>
411
455
  *
412
456
  * @throws {@link InvalidInputException} (client fault)
@@ -419,10 +463,21 @@ declare const InviteAccountToOrganizationCommand_base: {
419
463
  * </note>
420
464
  * <ul>
421
465
  * <li>
466
+ * <p>CALLER_REQUIRED_FIELD_MISSING: At least one of the required field is missing: Caller Account Id, Management Account Id or Organization Id.</p>
467
+ * </li>
468
+ * <li>
422
469
  * <p>DUPLICATE_TAG_KEY: Tag keys must be unique among the tags attached to the same
423
470
  * entity.</p>
424
471
  * </li>
425
472
  * <li>
473
+ * <p>END_DATE_NOT_END_OF_MONTH: You provided an invalid end date. The end date must be the end
474
+ * of the last day of the month (23.59.59.999).</p>
475
+ * </li>
476
+ * <li>
477
+ * <p>END_DATE_TOO_EARLY: You provided an invalid end date. It is too early for the transfer to
478
+ * end.</p>
479
+ * </li>
480
+ * <li>
426
481
  * <p>IMMUTABLE_POLICY: You specified a policy that is managed by Amazon Web Services and can't be
427
482
  * modified.</p>
428
483
  * </li>
@@ -434,6 +489,11 @@ declare const InviteAccountToOrganizationCommand_base: {
434
489
  * invited account owner.</p>
435
490
  * </li>
436
491
  * <li>
492
+ * <p>INVALID_END_DATE: The selected withdrawal date doesn't meet the terms of your partner
493
+ * agreement. Visit Amazon Web Services Partner Central to view your partner agreements or contact your Amazon Web Services
494
+ * Partner for help.</p>
495
+ * </li>
496
+ * <li>
437
497
  * <p>INVALID_ENUM: You specified an invalid value.</p>
438
498
  * </li>
439
499
  * <li>
@@ -472,6 +532,9 @@ declare const InviteAccountToOrganizationCommand_base: {
472
532
  * can't begin with the reserved prefix <code>AWSServiceRoleFor</code>.</p>
473
533
  * </li>
474
534
  * <li>
535
+ * <p>INVALID_START_DATE: The start date doesn't meet the minimum requirements.</p>
536
+ * </li>
537
+ * <li>
475
538
  * <p>INVALID_SYNTAX_ORGANIZATION_ARN: You specified an invalid Amazon Resource Name
476
539
  * (ARN) for the organization.</p>
477
540
  * </li>
@@ -511,6 +574,20 @@ declare const InviteAccountToOrganizationCommand_base: {
511
574
  * <p>NON_DETACHABLE_POLICY: You can't detach this Amazon Web Services Managed Policy.</p>
512
575
  * </li>
513
576
  * <li>
577
+ * <p>START_DATE_NOT_BEGINNING_OF_DAY: You provided an invalid start date. The start date must
578
+ * be the beginning of the day (00:00:00.000).</p>
579
+ * </li>
580
+ * <li>
581
+ * <p>START_DATE_NOT_BEGINNING_OF_MONTH: You provided an invalid start date. The start date must
582
+ * be the first day of the month.</p>
583
+ * </li>
584
+ * <li>
585
+ * <p>START_DATE_TOO_EARLY: You provided an invalid start date. The start date is too early.</p>
586
+ * </li>
587
+ * <li>
588
+ * <p>START_DATE_TOO_LATE: You provided an invalid start date. The start date is too late.</p>
589
+ * </li>
590
+ * <li>
514
591
  * <p>TARGET_NOT_SUPPORTED: You can't perform the specified operation on that target
515
592
  * entity.</p>
516
593
  * </li>
@@ -518,6 +595,10 @@ declare const InviteAccountToOrganizationCommand_base: {
518
595
  * <p>UNRECOGNIZED_SERVICE_PRINCIPAL: You specified a service principal that isn't
519
596
  * recognized.</p>
520
597
  * </li>
598
+ * <li>
599
+ * <p>UNSUPPORTED_ACTION_IN_RESPONSIBILITY_TRANSFER: You provided a value that is not supported
600
+ * by this operation.</p>
601
+ * </li>
521
602
  * </ul>
522
603
  *
523
604
  * @throws {@link ServiceException} (server fault)