@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
@@ -81,7 +81,7 @@ declare const DisableAWSServiceAccessCommand_base: {
81
81
  * <p>For more information about integrating other services with Organizations, including the
82
82
  * list of services that work with Organizations, see <a href="https://docs.aws.amazon.com/organizations/latest/userguide/orgs_integrate_services.html">Using Organizations with other Amazon Web Services
83
83
  * services</a> in the <i>Organizations User Guide</i>.</p>
84
- * <p>This operation can be called only from the organization's management account.</p>
84
+ * <p>You can only call this operation from the management account.</p>
85
85
  * @example
86
86
  * Use a bare-bones client and the command you need to make an API call.
87
87
  * ```javascript
@@ -152,6 +152,9 @@ declare const DisableAWSServiceAccessCommand_base: {
152
152
  * create an organization.</p>
153
153
  * </li>
154
154
  * <li>
155
+ * <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>
156
+ * </li>
157
+ * <li>
155
158
  * <p>ACCOUNT_NUMBER_LIMIT_EXCEEDED: You attempted to exceed the limit on the number
156
159
  * 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
157
160
  * request an increase in your limit. </p>
@@ -217,7 +220,7 @@ declare const DisableAWSServiceAccessCommand_base: {
217
220
  * <li>
218
221
  * <p>EMAIL_VERIFICATION_CODE_EXPIRED: The email verification code is only valid for
219
222
  * a limited period of time. You must resubmit the request and generate a new
220
- * verfication code.</p>
223
+ * verification code.</p>
221
224
  * </li>
222
225
  * <li>
223
226
  * <p>HANDSHAKE_RATE_LIMIT_EXCEEDED: You attempted to exceed the number of
@@ -312,6 +315,22 @@ declare const DisableAWSServiceAccessCommand_base: {
312
315
  * complete this operation, you must first disable the policy type.</p>
313
316
  * </li>
314
317
  * <li>
318
+ * <p>RESPONSIBILITY_TRANSFER_MAX_INBOUND_QUOTA_VIOLATION: You have exceeded your inbound
319
+ * transfers limit.</p>
320
+ * </li>
321
+ * <li>
322
+ * <p>RESPONSIBILITY_TRANSFER_MAX_LEVEL_VIOLATION: You have exceeded the maximum length of your
323
+ * transfer chain.</p>
324
+ * </li>
325
+ * <li>
326
+ * <p>RESPONSIBILITY_TRANSFER_MAX_OUTBOUND_QUOTA_VIOLATION: You have exceeded your outbound
327
+ * transfers limit.</p>
328
+ * </li>
329
+ * <li>
330
+ * <p>RESPONSIBILITY_TRANSFER_MAX_TRANSFERS_QUOTA_VIOLATION: You have exceeded the maximum
331
+ * number of inbound transfers allowed in a transfer chain.</p>
332
+ * </li>
333
+ * <li>
315
334
  * <p>SERVICE_ACCESS_NOT_ENABLED:</p>
316
335
  * <ul>
317
336
  * <li>
@@ -330,6 +349,17 @@ declare const DisableAWSServiceAccessCommand_base: {
330
349
  * that are not compliant with the tag policy requirements for this account.</p>
331
350
  * </li>
332
351
  * <li>
352
+ * <p>TRANSFER_RESPONSIBILITY_SOURCE_DELETION_IN_PROGRESS: The source organization cannot accept
353
+ * this transfer invitation because it is marked for deletion.</p>
354
+ * </li>
355
+ * <li>
356
+ * <p>TRANSFER_RESPONSIBILITY_TARGET_DELETION_IN_PROGRESS: The source organization cannot accept
357
+ * this transfer invitation because target organization is marked for deletion.</p>
358
+ * </li>
359
+ * <li>
360
+ * <p>UNSUPPORTED_PRICING: Your organization has a pricing contract that is unsupported.</p>
361
+ * </li>
362
+ * <li>
333
363
  * <p>WAIT_PERIOD_ACTIVE: After you create an Amazon Web Services account, you must wait until at
334
364
  * least four days after the account was created. Invited accounts aren't subject
335
365
  * to this waiting period.</p>
@@ -346,10 +376,21 @@ declare const DisableAWSServiceAccessCommand_base: {
346
376
  * </note>
347
377
  * <ul>
348
378
  * <li>
379
+ * <p>CALLER_REQUIRED_FIELD_MISSING: At least one of the required field is missing: Caller Account Id, Management Account Id or Organization Id.</p>
380
+ * </li>
381
+ * <li>
349
382
  * <p>DUPLICATE_TAG_KEY: Tag keys must be unique among the tags attached to the same
350
383
  * entity.</p>
351
384
  * </li>
352
385
  * <li>
386
+ * <p>END_DATE_NOT_END_OF_MONTH: You provided an invalid end date. The end date must be the end
387
+ * of the last day of the month (23.59.59.999).</p>
388
+ * </li>
389
+ * <li>
390
+ * <p>END_DATE_TOO_EARLY: You provided an invalid end date. It is too early for the transfer to
391
+ * end.</p>
392
+ * </li>
393
+ * <li>
353
394
  * <p>IMMUTABLE_POLICY: You specified a policy that is managed by Amazon Web Services and can't be
354
395
  * modified.</p>
355
396
  * </li>
@@ -361,6 +402,11 @@ declare const DisableAWSServiceAccessCommand_base: {
361
402
  * invited account owner.</p>
362
403
  * </li>
363
404
  * <li>
405
+ * <p>INVALID_END_DATE: The selected withdrawal date doesn't meet the terms of your partner
406
+ * agreement. Visit Amazon Web Services Partner Central to view your partner agreements or contact your Amazon Web Services
407
+ * Partner for help.</p>
408
+ * </li>
409
+ * <li>
364
410
  * <p>INVALID_ENUM: You specified an invalid value.</p>
365
411
  * </li>
366
412
  * <li>
@@ -399,6 +445,9 @@ declare const DisableAWSServiceAccessCommand_base: {
399
445
  * can't begin with the reserved prefix <code>AWSServiceRoleFor</code>.</p>
400
446
  * </li>
401
447
  * <li>
448
+ * <p>INVALID_START_DATE: The start date doesn't meet the minimum requirements.</p>
449
+ * </li>
450
+ * <li>
402
451
  * <p>INVALID_SYNTAX_ORGANIZATION_ARN: You specified an invalid Amazon Resource Name
403
452
  * (ARN) for the organization.</p>
404
453
  * </li>
@@ -438,6 +487,20 @@ declare const DisableAWSServiceAccessCommand_base: {
438
487
  * <p>NON_DETACHABLE_POLICY: You can't detach this Amazon Web Services Managed Policy.</p>
439
488
  * </li>
440
489
  * <li>
490
+ * <p>START_DATE_NOT_BEGINNING_OF_DAY: You provided an invalid start date. The start date must
491
+ * be the beginning of the day (00:00:00.000).</p>
492
+ * </li>
493
+ * <li>
494
+ * <p>START_DATE_NOT_BEGINNING_OF_MONTH: You provided an invalid start date. The start date must
495
+ * be the first day of the month.</p>
496
+ * </li>
497
+ * <li>
498
+ * <p>START_DATE_TOO_EARLY: You provided an invalid start date. The start date is too early.</p>
499
+ * </li>
500
+ * <li>
501
+ * <p>START_DATE_TOO_LATE: You provided an invalid start date. The start date is too late.</p>
502
+ * </li>
503
+ * <li>
441
504
  * <p>TARGET_NOT_SUPPORTED: You can't perform the specified operation on that target
442
505
  * entity.</p>
443
506
  * </li>
@@ -445,6 +508,10 @@ declare const DisableAWSServiceAccessCommand_base: {
445
508
  * <p>UNRECOGNIZED_SERVICE_PRINCIPAL: You specified a service principal that isn't
446
509
  * recognized.</p>
447
510
  * </li>
511
+ * <li>
512
+ * <p>UNSUPPORTED_ACTION_IN_RESPONSIBILITY_TRANSFER: You provided a value that is not supported
513
+ * by this operation.</p>
514
+ * </li>
448
515
  * </ul>
449
516
  *
450
517
  * @throws {@link ServiceException} (server fault)
@@ -36,8 +36,7 @@ declare const DisablePolicyTypeCommand_base: {
36
36
  * a policy type for a root, it still appears enabled for the organization if <a href="https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_org_support-all-features.html">all features</a> are enabled for the organization. Amazon Web Services recommends that you
37
37
  * first use <a>ListRoots</a> to see the status of policy types for a specified
38
38
  * root, and then use this operation.</p>
39
- * <p>This operation can be called only from the organization's
40
- * management account or by a member account that is a delegated administrator.</p>
39
+ * <p>You can only call this operation from the management account or a member account that is a delegated administrator.</p>
41
40
  * <p> To view the status of available policy types in the organization, use <a>ListRoots</a>.</p>
42
41
  * @example
43
42
  * Use a bare-bones client and the command you need to make an API call.
@@ -49,7 +48,7 @@ declare const DisablePolicyTypeCommand_base: {
49
48
  * const client = new OrganizationsClient(config);
50
49
  * const input = { // DisablePolicyTypeRequest
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 DisablePolicyTypeCommand(input);
55
54
  * const response = await client.send(command);
@@ -60,7 +59,7 @@ declare const DisablePolicyTypeCommand_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 DisablePolicyTypeCommand_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 DisablePolicyTypeCommand_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 DisablePolicyTypeCommand_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 DisablePolicyTypeCommand_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 DisablePolicyTypeCommand_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 DisablePolicyTypeCommand_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 DisablePolicyTypeCommand_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 DisablePolicyTypeCommand_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 DisablePolicyTypeCommand_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)
@@ -44,7 +44,7 @@ declare const EnableAWSServiceAccessCommand_base: {
44
44
  * <p>For more information about enabling services to integrate with Organizations, see <a href="https://docs.aws.amazon.com/organizations/latest/userguide/orgs_integrate_services.html">Using
45
45
  * Organizations with other Amazon Web Services services</a> in the
46
46
  * <i>Organizations User Guide</i>.</p>
47
- * <p>This operation can be called only from the organization's management account.</p>
47
+ * <p>You can only call this operation from the management account.</p>
48
48
  * @example
49
49
  * Use a bare-bones client and the command you need to make an API call.
50
50
  * ```javascript
@@ -115,6 +115,9 @@ declare const EnableAWSServiceAccessCommand_base: {
115
115
  * create an organization.</p>
116
116
  * </li>
117
117
  * <li>
118
+ * <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>
119
+ * </li>
120
+ * <li>
118
121
  * <p>ACCOUNT_NUMBER_LIMIT_EXCEEDED: You attempted to exceed the limit on the number
119
122
  * 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
120
123
  * request an increase in your limit. </p>
@@ -180,7 +183,7 @@ declare const EnableAWSServiceAccessCommand_base: {
180
183
  * <li>
181
184
  * <p>EMAIL_VERIFICATION_CODE_EXPIRED: The email verification code is only valid for
182
185
  * a limited period of time. You must resubmit the request and generate a new
183
- * verfication code.</p>
186
+ * verification code.</p>
184
187
  * </li>
185
188
  * <li>
186
189
  * <p>HANDSHAKE_RATE_LIMIT_EXCEEDED: You attempted to exceed the number of
@@ -275,6 +278,22 @@ declare const EnableAWSServiceAccessCommand_base: {
275
278
  * complete this operation, you must first disable the policy type.</p>
276
279
  * </li>
277
280
  * <li>
281
+ * <p>RESPONSIBILITY_TRANSFER_MAX_INBOUND_QUOTA_VIOLATION: You have exceeded your inbound
282
+ * transfers limit.</p>
283
+ * </li>
284
+ * <li>
285
+ * <p>RESPONSIBILITY_TRANSFER_MAX_LEVEL_VIOLATION: You have exceeded the maximum length of your
286
+ * transfer chain.</p>
287
+ * </li>
288
+ * <li>
289
+ * <p>RESPONSIBILITY_TRANSFER_MAX_OUTBOUND_QUOTA_VIOLATION: You have exceeded your outbound
290
+ * transfers limit.</p>
291
+ * </li>
292
+ * <li>
293
+ * <p>RESPONSIBILITY_TRANSFER_MAX_TRANSFERS_QUOTA_VIOLATION: You have exceeded the maximum
294
+ * number of inbound transfers allowed in a transfer chain.</p>
295
+ * </li>
296
+ * <li>
278
297
  * <p>SERVICE_ACCESS_NOT_ENABLED:</p>
279
298
  * <ul>
280
299
  * <li>
@@ -293,6 +312,17 @@ declare const EnableAWSServiceAccessCommand_base: {
293
312
  * that are not compliant with the tag policy requirements for this account.</p>
294
313
  * </li>
295
314
  * <li>
315
+ * <p>TRANSFER_RESPONSIBILITY_SOURCE_DELETION_IN_PROGRESS: The source organization cannot accept
316
+ * this transfer invitation because it is marked for deletion.</p>
317
+ * </li>
318
+ * <li>
319
+ * <p>TRANSFER_RESPONSIBILITY_TARGET_DELETION_IN_PROGRESS: The source organization cannot accept
320
+ * this transfer invitation because target organization is marked for deletion.</p>
321
+ * </li>
322
+ * <li>
323
+ * <p>UNSUPPORTED_PRICING: Your organization has a pricing contract that is unsupported.</p>
324
+ * </li>
325
+ * <li>
296
326
  * <p>WAIT_PERIOD_ACTIVE: After you create an Amazon Web Services account, you must wait until at
297
327
  * least four days after the account was created. Invited accounts aren't subject
298
328
  * to this waiting period.</p>
@@ -309,10 +339,21 @@ declare const EnableAWSServiceAccessCommand_base: {
309
339
  * </note>
310
340
  * <ul>
311
341
  * <li>
342
+ * <p>CALLER_REQUIRED_FIELD_MISSING: At least one of the required field is missing: Caller Account Id, Management Account Id or Organization Id.</p>
343
+ * </li>
344
+ * <li>
312
345
  * <p>DUPLICATE_TAG_KEY: Tag keys must be unique among the tags attached to the same
313
346
  * entity.</p>
314
347
  * </li>
315
348
  * <li>
349
+ * <p>END_DATE_NOT_END_OF_MONTH: You provided an invalid end date. The end date must be the end
350
+ * of the last day of the month (23.59.59.999).</p>
351
+ * </li>
352
+ * <li>
353
+ * <p>END_DATE_TOO_EARLY: You provided an invalid end date. It is too early for the transfer to
354
+ * end.</p>
355
+ * </li>
356
+ * <li>
316
357
  * <p>IMMUTABLE_POLICY: You specified a policy that is managed by Amazon Web Services and can't be
317
358
  * modified.</p>
318
359
  * </li>
@@ -324,6 +365,11 @@ declare const EnableAWSServiceAccessCommand_base: {
324
365
  * invited account owner.</p>
325
366
  * </li>
326
367
  * <li>
368
+ * <p>INVALID_END_DATE: The selected withdrawal date doesn't meet the terms of your partner
369
+ * agreement. Visit Amazon Web Services Partner Central to view your partner agreements or contact your Amazon Web Services
370
+ * Partner for help.</p>
371
+ * </li>
372
+ * <li>
327
373
  * <p>INVALID_ENUM: You specified an invalid value.</p>
328
374
  * </li>
329
375
  * <li>
@@ -362,6 +408,9 @@ declare const EnableAWSServiceAccessCommand_base: {
362
408
  * can't begin with the reserved prefix <code>AWSServiceRoleFor</code>.</p>
363
409
  * </li>
364
410
  * <li>
411
+ * <p>INVALID_START_DATE: The start date doesn't meet the minimum requirements.</p>
412
+ * </li>
413
+ * <li>
365
414
  * <p>INVALID_SYNTAX_ORGANIZATION_ARN: You specified an invalid Amazon Resource Name
366
415
  * (ARN) for the organization.</p>
367
416
  * </li>
@@ -401,6 +450,20 @@ declare const EnableAWSServiceAccessCommand_base: {
401
450
  * <p>NON_DETACHABLE_POLICY: You can't detach this Amazon Web Services Managed Policy.</p>
402
451
  * </li>
403
452
  * <li>
453
+ * <p>START_DATE_NOT_BEGINNING_OF_DAY: You provided an invalid start date. The start date must
454
+ * be the beginning of the day (00:00:00.000).</p>
455
+ * </li>
456
+ * <li>
457
+ * <p>START_DATE_NOT_BEGINNING_OF_MONTH: You provided an invalid start date. The start date must
458
+ * be the first day of the month.</p>
459
+ * </li>
460
+ * <li>
461
+ * <p>START_DATE_TOO_EARLY: You provided an invalid start date. The start date is too early.</p>
462
+ * </li>
463
+ * <li>
464
+ * <p>START_DATE_TOO_LATE: You provided an invalid start date. The start date is too late.</p>
465
+ * </li>
466
+ * <li>
404
467
  * <p>TARGET_NOT_SUPPORTED: You can't perform the specified operation on that target
405
468
  * entity.</p>
406
469
  * </li>
@@ -408,6 +471,10 @@ declare const EnableAWSServiceAccessCommand_base: {
408
471
  * <p>UNRECOGNIZED_SERVICE_PRINCIPAL: You specified a service principal that isn't
409
472
  * recognized.</p>
410
473
  * </li>
474
+ * <li>
475
+ * <p>UNSUPPORTED_ACTION_IN_RESPONSIBILITY_TRANSFER: You provided a value that is not supported
476
+ * by this operation.</p>
477
+ * </li>
411
478
  * </ul>
412
479
  *
413
480
  * @throws {@link ServiceException} (server fault)