@aws-sdk/client-organizations 3.935.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 +12 -12
@@ -61,7 +61,7 @@ declare const CreateOrganizationCommand_base: {
61
61
  * // MasterAccountEmail: "STRING_VALUE",
62
62
  * // AvailablePolicyTypes: [ // PolicyTypes
63
63
  * // { // PolicyTypeSummary
64
- * // Type: "SERVICE_CONTROL_POLICY" || "RESOURCE_CONTROL_POLICY" || "TAG_POLICY" || "BACKUP_POLICY" || "AISERVICES_OPT_OUT_POLICY" || "CHATBOT_POLICY" || "DECLARATIVE_POLICY_EC2" || "SECURITYHUB_POLICY",
64
+ * // Type: "SERVICE_CONTROL_POLICY" || "RESOURCE_CONTROL_POLICY" || "TAG_POLICY" || "BACKUP_POLICY" || "AISERVICES_OPT_OUT_POLICY" || "CHATBOT_POLICY" || "DECLARATIVE_POLICY_EC2" || "SECURITYHUB_POLICY" || "INSPECTOR_POLICY",
65
65
  * // Status: "ENABLED" || "PENDING_ENABLE" || "PENDING_DISABLE",
66
66
  * // },
67
67
  * // ],
@@ -129,6 +129,9 @@ declare const CreateOrganizationCommand_base: {
129
129
  * create an organization.</p>
130
130
  * </li>
131
131
  * <li>
132
+ * <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>
133
+ * </li>
134
+ * <li>
132
135
  * <p>ACCOUNT_NUMBER_LIMIT_EXCEEDED: You attempted to exceed the limit on the number
133
136
  * 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
134
137
  * request an increase in your limit. </p>
@@ -194,7 +197,7 @@ declare const CreateOrganizationCommand_base: {
194
197
  * <li>
195
198
  * <p>EMAIL_VERIFICATION_CODE_EXPIRED: The email verification code is only valid for
196
199
  * a limited period of time. You must resubmit the request and generate a new
197
- * verfication code.</p>
200
+ * verification code.</p>
198
201
  * </li>
199
202
  * <li>
200
203
  * <p>HANDSHAKE_RATE_LIMIT_EXCEEDED: You attempted to exceed the number of
@@ -289,6 +292,22 @@ declare const CreateOrganizationCommand_base: {
289
292
  * complete this operation, you must first disable the policy type.</p>
290
293
  * </li>
291
294
  * <li>
295
+ * <p>RESPONSIBILITY_TRANSFER_MAX_INBOUND_QUOTA_VIOLATION: You have exceeded your inbound
296
+ * transfers limit.</p>
297
+ * </li>
298
+ * <li>
299
+ * <p>RESPONSIBILITY_TRANSFER_MAX_LEVEL_VIOLATION: You have exceeded the maximum length of your
300
+ * transfer chain.</p>
301
+ * </li>
302
+ * <li>
303
+ * <p>RESPONSIBILITY_TRANSFER_MAX_OUTBOUND_QUOTA_VIOLATION: You have exceeded your outbound
304
+ * transfers limit.</p>
305
+ * </li>
306
+ * <li>
307
+ * <p>RESPONSIBILITY_TRANSFER_MAX_TRANSFERS_QUOTA_VIOLATION: You have exceeded the maximum
308
+ * number of inbound transfers allowed in a transfer chain.</p>
309
+ * </li>
310
+ * <li>
292
311
  * <p>SERVICE_ACCESS_NOT_ENABLED:</p>
293
312
  * <ul>
294
313
  * <li>
@@ -307,6 +326,17 @@ declare const CreateOrganizationCommand_base: {
307
326
  * that are not compliant with the tag policy requirements for this account.</p>
308
327
  * </li>
309
328
  * <li>
329
+ * <p>TRANSFER_RESPONSIBILITY_SOURCE_DELETION_IN_PROGRESS: The source organization cannot accept
330
+ * this transfer invitation because it is marked for deletion.</p>
331
+ * </li>
332
+ * <li>
333
+ * <p>TRANSFER_RESPONSIBILITY_TARGET_DELETION_IN_PROGRESS: The source organization cannot accept
334
+ * this transfer invitation because target organization is marked for deletion.</p>
335
+ * </li>
336
+ * <li>
337
+ * <p>UNSUPPORTED_PRICING: Your organization has a pricing contract that is unsupported.</p>
338
+ * </li>
339
+ * <li>
310
340
  * <p>WAIT_PERIOD_ACTIVE: After you create an Amazon Web Services account, you must wait until at
311
341
  * least four days after the account was created. Invited accounts aren't subject
312
342
  * to this waiting period.</p>
@@ -323,10 +353,21 @@ declare const CreateOrganizationCommand_base: {
323
353
  * </note>
324
354
  * <ul>
325
355
  * <li>
356
+ * <p>CALLER_REQUIRED_FIELD_MISSING: At least one of the required field is missing: Caller Account Id, Management Account Id or Organization Id.</p>
357
+ * </li>
358
+ * <li>
326
359
  * <p>DUPLICATE_TAG_KEY: Tag keys must be unique among the tags attached to the same
327
360
  * entity.</p>
328
361
  * </li>
329
362
  * <li>
363
+ * <p>END_DATE_NOT_END_OF_MONTH: You provided an invalid end date. The end date must be the end
364
+ * of the last day of the month (23.59.59.999).</p>
365
+ * </li>
366
+ * <li>
367
+ * <p>END_DATE_TOO_EARLY: You provided an invalid end date. It is too early for the transfer to
368
+ * end.</p>
369
+ * </li>
370
+ * <li>
330
371
  * <p>IMMUTABLE_POLICY: You specified a policy that is managed by Amazon Web Services and can't be
331
372
  * modified.</p>
332
373
  * </li>
@@ -338,6 +379,11 @@ declare const CreateOrganizationCommand_base: {
338
379
  * invited account owner.</p>
339
380
  * </li>
340
381
  * <li>
382
+ * <p>INVALID_END_DATE: The selected withdrawal date doesn't meet the terms of your partner
383
+ * agreement. Visit Amazon Web Services Partner Central to view your partner agreements or contact your Amazon Web Services
384
+ * Partner for help.</p>
385
+ * </li>
386
+ * <li>
341
387
  * <p>INVALID_ENUM: You specified an invalid value.</p>
342
388
  * </li>
343
389
  * <li>
@@ -376,6 +422,9 @@ declare const CreateOrganizationCommand_base: {
376
422
  * can't begin with the reserved prefix <code>AWSServiceRoleFor</code>.</p>
377
423
  * </li>
378
424
  * <li>
425
+ * <p>INVALID_START_DATE: The start date doesn't meet the minimum requirements.</p>
426
+ * </li>
427
+ * <li>
379
428
  * <p>INVALID_SYNTAX_ORGANIZATION_ARN: You specified an invalid Amazon Resource Name
380
429
  * (ARN) for the organization.</p>
381
430
  * </li>
@@ -415,6 +464,20 @@ declare const CreateOrganizationCommand_base: {
415
464
  * <p>NON_DETACHABLE_POLICY: You can't detach this Amazon Web Services Managed Policy.</p>
416
465
  * </li>
417
466
  * <li>
467
+ * <p>START_DATE_NOT_BEGINNING_OF_DAY: You provided an invalid start date. The start date must
468
+ * be the beginning of the day (00:00:00.000).</p>
469
+ * </li>
470
+ * <li>
471
+ * <p>START_DATE_NOT_BEGINNING_OF_MONTH: You provided an invalid start date. The start date must
472
+ * be the first day of the month.</p>
473
+ * </li>
474
+ * <li>
475
+ * <p>START_DATE_TOO_EARLY: You provided an invalid start date. The start date is too early.</p>
476
+ * </li>
477
+ * <li>
478
+ * <p>START_DATE_TOO_LATE: You provided an invalid start date. The start date is too late.</p>
479
+ * </li>
480
+ * <li>
418
481
  * <p>TARGET_NOT_SUPPORTED: You can't perform the specified operation on that target
419
482
  * entity.</p>
420
483
  * </li>
@@ -422,6 +485,10 @@ declare const CreateOrganizationCommand_base: {
422
485
  * <p>UNRECOGNIZED_SERVICE_PRINCIPAL: You specified a service principal that isn't
423
486
  * recognized.</p>
424
487
  * </li>
488
+ * <li>
489
+ * <p>UNSUPPORTED_ACTION_IN_RESPONSIBILITY_TRANSFER: You provided a value that is not supported
490
+ * by this operation.</p>
491
+ * </li>
425
492
  * </ul>
426
493
  *
427
494
  * @throws {@link ServiceException} (server fault)
@@ -36,7 +36,7 @@ declare const CreateOrganizationalUnitCommand_base: {
36
36
  * <i>Organizations User Guide</i>.</p>
37
37
  * <p>If the request includes tags, then the requester must have the
38
38
  * <code>organizations:TagResource</code> permission.</p>
39
- * <p>This operation can be called only from the organization's management account.</p>
39
+ * <p>You can only call this operation from the management account.</p>
40
40
  * @example
41
41
  * Use a bare-bones client and the command you need to make an API call.
42
42
  * ```javascript
@@ -120,6 +120,9 @@ declare const CreateOrganizationalUnitCommand_base: {
120
120
  * create an organization.</p>
121
121
  * </li>
122
122
  * <li>
123
+ * <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>
124
+ * </li>
125
+ * <li>
123
126
  * <p>ACCOUNT_NUMBER_LIMIT_EXCEEDED: You attempted to exceed the limit on the number
124
127
  * 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
125
128
  * request an increase in your limit. </p>
@@ -185,7 +188,7 @@ declare const CreateOrganizationalUnitCommand_base: {
185
188
  * <li>
186
189
  * <p>EMAIL_VERIFICATION_CODE_EXPIRED: The email verification code is only valid for
187
190
  * a limited period of time. You must resubmit the request and generate a new
188
- * verfication code.</p>
191
+ * verification code.</p>
189
192
  * </li>
190
193
  * <li>
191
194
  * <p>HANDSHAKE_RATE_LIMIT_EXCEEDED: You attempted to exceed the number of
@@ -280,6 +283,22 @@ declare const CreateOrganizationalUnitCommand_base: {
280
283
  * complete this operation, you must first disable the policy type.</p>
281
284
  * </li>
282
285
  * <li>
286
+ * <p>RESPONSIBILITY_TRANSFER_MAX_INBOUND_QUOTA_VIOLATION: You have exceeded your inbound
287
+ * transfers limit.</p>
288
+ * </li>
289
+ * <li>
290
+ * <p>RESPONSIBILITY_TRANSFER_MAX_LEVEL_VIOLATION: You have exceeded the maximum length of your
291
+ * transfer chain.</p>
292
+ * </li>
293
+ * <li>
294
+ * <p>RESPONSIBILITY_TRANSFER_MAX_OUTBOUND_QUOTA_VIOLATION: You have exceeded your outbound
295
+ * transfers limit.</p>
296
+ * </li>
297
+ * <li>
298
+ * <p>RESPONSIBILITY_TRANSFER_MAX_TRANSFERS_QUOTA_VIOLATION: You have exceeded the maximum
299
+ * number of inbound transfers allowed in a transfer chain.</p>
300
+ * </li>
301
+ * <li>
283
302
  * <p>SERVICE_ACCESS_NOT_ENABLED:</p>
284
303
  * <ul>
285
304
  * <li>
@@ -298,6 +317,17 @@ declare const CreateOrganizationalUnitCommand_base: {
298
317
  * that are not compliant with the tag policy requirements for this account.</p>
299
318
  * </li>
300
319
  * <li>
320
+ * <p>TRANSFER_RESPONSIBILITY_SOURCE_DELETION_IN_PROGRESS: The source organization cannot accept
321
+ * this transfer invitation because it is marked for deletion.</p>
322
+ * </li>
323
+ * <li>
324
+ * <p>TRANSFER_RESPONSIBILITY_TARGET_DELETION_IN_PROGRESS: The source organization cannot accept
325
+ * this transfer invitation because target organization is marked for deletion.</p>
326
+ * </li>
327
+ * <li>
328
+ * <p>UNSUPPORTED_PRICING: Your organization has a pricing contract that is unsupported.</p>
329
+ * </li>
330
+ * <li>
301
331
  * <p>WAIT_PERIOD_ACTIVE: After you create an Amazon Web Services account, you must wait until at
302
332
  * least four days after the account was created. Invited accounts aren't subject
303
333
  * to this waiting period.</p>
@@ -317,10 +347,21 @@ declare const CreateOrganizationalUnitCommand_base: {
317
347
  * </note>
318
348
  * <ul>
319
349
  * <li>
350
+ * <p>CALLER_REQUIRED_FIELD_MISSING: At least one of the required field is missing: Caller Account Id, Management Account Id or Organization Id.</p>
351
+ * </li>
352
+ * <li>
320
353
  * <p>DUPLICATE_TAG_KEY: Tag keys must be unique among the tags attached to the same
321
354
  * entity.</p>
322
355
  * </li>
323
356
  * <li>
357
+ * <p>END_DATE_NOT_END_OF_MONTH: You provided an invalid end date. The end date must be the end
358
+ * of the last day of the month (23.59.59.999).</p>
359
+ * </li>
360
+ * <li>
361
+ * <p>END_DATE_TOO_EARLY: You provided an invalid end date. It is too early for the transfer to
362
+ * end.</p>
363
+ * </li>
364
+ * <li>
324
365
  * <p>IMMUTABLE_POLICY: You specified a policy that is managed by Amazon Web Services and can't be
325
366
  * modified.</p>
326
367
  * </li>
@@ -332,6 +373,11 @@ declare const CreateOrganizationalUnitCommand_base: {
332
373
  * invited account owner.</p>
333
374
  * </li>
334
375
  * <li>
376
+ * <p>INVALID_END_DATE: The selected withdrawal date doesn't meet the terms of your partner
377
+ * agreement. Visit Amazon Web Services Partner Central to view your partner agreements or contact your Amazon Web Services
378
+ * Partner for help.</p>
379
+ * </li>
380
+ * <li>
335
381
  * <p>INVALID_ENUM: You specified an invalid value.</p>
336
382
  * </li>
337
383
  * <li>
@@ -370,6 +416,9 @@ declare const CreateOrganizationalUnitCommand_base: {
370
416
  * can't begin with the reserved prefix <code>AWSServiceRoleFor</code>.</p>
371
417
  * </li>
372
418
  * <li>
419
+ * <p>INVALID_START_DATE: The start date doesn't meet the minimum requirements.</p>
420
+ * </li>
421
+ * <li>
373
422
  * <p>INVALID_SYNTAX_ORGANIZATION_ARN: You specified an invalid Amazon Resource Name
374
423
  * (ARN) for the organization.</p>
375
424
  * </li>
@@ -409,6 +458,20 @@ declare const CreateOrganizationalUnitCommand_base: {
409
458
  * <p>NON_DETACHABLE_POLICY: You can't detach this Amazon Web Services Managed Policy.</p>
410
459
  * </li>
411
460
  * <li>
461
+ * <p>START_DATE_NOT_BEGINNING_OF_DAY: You provided an invalid start date. The start date must
462
+ * be the beginning of the day (00:00:00.000).</p>
463
+ * </li>
464
+ * <li>
465
+ * <p>START_DATE_NOT_BEGINNING_OF_MONTH: You provided an invalid start date. The start date must
466
+ * be the first day of the month.</p>
467
+ * </li>
468
+ * <li>
469
+ * <p>START_DATE_TOO_EARLY: You provided an invalid start date. The start date is too early.</p>
470
+ * </li>
471
+ * <li>
472
+ * <p>START_DATE_TOO_LATE: You provided an invalid start date. The start date is too late.</p>
473
+ * </li>
474
+ * <li>
412
475
  * <p>TARGET_NOT_SUPPORTED: You can't perform the specified operation on that target
413
476
  * entity.</p>
414
477
  * </li>
@@ -416,6 +479,10 @@ declare const CreateOrganizationalUnitCommand_base: {
416
479
  * <p>UNRECOGNIZED_SERVICE_PRINCIPAL: You specified a service principal that isn't
417
480
  * recognized.</p>
418
481
  * </li>
482
+ * <li>
483
+ * <p>UNSUPPORTED_ACTION_IN_RESPONSIBILITY_TRANSFER: You provided a value that is not supported
484
+ * by this operation.</p>
485
+ * </li>
419
486
  * </ul>
420
487
  *
421
488
  * @throws {@link ParentNotFoundException} (client fault)
@@ -33,8 +33,7 @@ declare const CreatePolicyCommand_base: {
33
33
  * Organizations policies</a>.</p>
34
34
  * <p>If the request includes tags, then the requester must have the
35
35
  * <code>organizations:TagResource</code> permission.</p>
36
- * <p>This operation can be called only from the organization's
37
- * management account or by a member account that is a delegated administrator.</p>
36
+ * <p>You can only call this operation from the management account or a member account that is a delegated administrator.</p>
38
37
  * @example
39
38
  * Use a bare-bones client and the command you need to make an API call.
40
39
  * ```javascript
@@ -47,7 +46,7 @@ declare const CreatePolicyCommand_base: {
47
46
  * Content: "STRING_VALUE", // required
48
47
  * Description: "STRING_VALUE", // required
49
48
  * Name: "STRING_VALUE", // required
50
- * Type: "SERVICE_CONTROL_POLICY" || "RESOURCE_CONTROL_POLICY" || "TAG_POLICY" || "BACKUP_POLICY" || "AISERVICES_OPT_OUT_POLICY" || "CHATBOT_POLICY" || "DECLARATIVE_POLICY_EC2" || "SECURITYHUB_POLICY", // required
49
+ * Type: "SERVICE_CONTROL_POLICY" || "RESOURCE_CONTROL_POLICY" || "TAG_POLICY" || "BACKUP_POLICY" || "AISERVICES_OPT_OUT_POLICY" || "CHATBOT_POLICY" || "DECLARATIVE_POLICY_EC2" || "SECURITYHUB_POLICY" || "INSPECTOR_POLICY", // required
51
50
  * Tags: [ // Tags
52
51
  * { // Tag
53
52
  * Key: "STRING_VALUE", // required
@@ -64,7 +63,7 @@ declare const CreatePolicyCommand_base: {
64
63
  * // Arn: "STRING_VALUE",
65
64
  * // Name: "STRING_VALUE",
66
65
  * // Description: "STRING_VALUE",
67
- * // Type: "SERVICE_CONTROL_POLICY" || "RESOURCE_CONTROL_POLICY" || "TAG_POLICY" || "BACKUP_POLICY" || "AISERVICES_OPT_OUT_POLICY" || "CHATBOT_POLICY" || "DECLARATIVE_POLICY_EC2" || "SECURITYHUB_POLICY",
66
+ * // Type: "SERVICE_CONTROL_POLICY" || "RESOURCE_CONTROL_POLICY" || "TAG_POLICY" || "BACKUP_POLICY" || "AISERVICES_OPT_OUT_POLICY" || "CHATBOT_POLICY" || "DECLARATIVE_POLICY_EC2" || "SECURITYHUB_POLICY" || "INSPECTOR_POLICY",
68
67
  * // AwsManaged: true || false,
69
68
  * // },
70
69
  * // Content: "STRING_VALUE",
@@ -126,6 +125,9 @@ declare const CreatePolicyCommand_base: {
126
125
  * create an organization.</p>
127
126
  * </li>
128
127
  * <li>
128
+ * <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>
129
+ * </li>
130
+ * <li>
129
131
  * <p>ACCOUNT_NUMBER_LIMIT_EXCEEDED: You attempted to exceed the limit on the number
130
132
  * 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
131
133
  * request an increase in your limit. </p>
@@ -191,7 +193,7 @@ declare const CreatePolicyCommand_base: {
191
193
  * <li>
192
194
  * <p>EMAIL_VERIFICATION_CODE_EXPIRED: The email verification code is only valid for
193
195
  * a limited period of time. You must resubmit the request and generate a new
194
- * verfication code.</p>
196
+ * verification code.</p>
195
197
  * </li>
196
198
  * <li>
197
199
  * <p>HANDSHAKE_RATE_LIMIT_EXCEEDED: You attempted to exceed the number of
@@ -286,6 +288,22 @@ declare const CreatePolicyCommand_base: {
286
288
  * complete this operation, you must first disable the policy type.</p>
287
289
  * </li>
288
290
  * <li>
291
+ * <p>RESPONSIBILITY_TRANSFER_MAX_INBOUND_QUOTA_VIOLATION: You have exceeded your inbound
292
+ * transfers limit.</p>
293
+ * </li>
294
+ * <li>
295
+ * <p>RESPONSIBILITY_TRANSFER_MAX_LEVEL_VIOLATION: You have exceeded the maximum length of your
296
+ * transfer chain.</p>
297
+ * </li>
298
+ * <li>
299
+ * <p>RESPONSIBILITY_TRANSFER_MAX_OUTBOUND_QUOTA_VIOLATION: You have exceeded your outbound
300
+ * transfers limit.</p>
301
+ * </li>
302
+ * <li>
303
+ * <p>RESPONSIBILITY_TRANSFER_MAX_TRANSFERS_QUOTA_VIOLATION: You have exceeded the maximum
304
+ * number of inbound transfers allowed in a transfer chain.</p>
305
+ * </li>
306
+ * <li>
289
307
  * <p>SERVICE_ACCESS_NOT_ENABLED:</p>
290
308
  * <ul>
291
309
  * <li>
@@ -304,6 +322,17 @@ declare const CreatePolicyCommand_base: {
304
322
  * that are not compliant with the tag policy requirements for this account.</p>
305
323
  * </li>
306
324
  * <li>
325
+ * <p>TRANSFER_RESPONSIBILITY_SOURCE_DELETION_IN_PROGRESS: The source organization cannot accept
326
+ * this transfer invitation because it is marked for deletion.</p>
327
+ * </li>
328
+ * <li>
329
+ * <p>TRANSFER_RESPONSIBILITY_TARGET_DELETION_IN_PROGRESS: The source organization cannot accept
330
+ * this transfer invitation because target organization is marked for deletion.</p>
331
+ * </li>
332
+ * <li>
333
+ * <p>UNSUPPORTED_PRICING: Your organization has a pricing contract that is unsupported.</p>
334
+ * </li>
335
+ * <li>
307
336
  * <p>WAIT_PERIOD_ACTIVE: After you create an Amazon Web Services account, you must wait until at
308
337
  * least four days after the account was created. Invited accounts aren't subject
309
338
  * to this waiting period.</p>
@@ -323,10 +352,21 @@ declare const CreatePolicyCommand_base: {
323
352
  * </note>
324
353
  * <ul>
325
354
  * <li>
355
+ * <p>CALLER_REQUIRED_FIELD_MISSING: At least one of the required field is missing: Caller Account Id, Management Account Id or Organization Id.</p>
356
+ * </li>
357
+ * <li>
326
358
  * <p>DUPLICATE_TAG_KEY: Tag keys must be unique among the tags attached to the same
327
359
  * entity.</p>
328
360
  * </li>
329
361
  * <li>
362
+ * <p>END_DATE_NOT_END_OF_MONTH: You provided an invalid end date. The end date must be the end
363
+ * of the last day of the month (23.59.59.999).</p>
364
+ * </li>
365
+ * <li>
366
+ * <p>END_DATE_TOO_EARLY: You provided an invalid end date. It is too early for the transfer to
367
+ * end.</p>
368
+ * </li>
369
+ * <li>
330
370
  * <p>IMMUTABLE_POLICY: You specified a policy that is managed by Amazon Web Services and can't be
331
371
  * modified.</p>
332
372
  * </li>
@@ -338,6 +378,11 @@ declare const CreatePolicyCommand_base: {
338
378
  * invited account owner.</p>
339
379
  * </li>
340
380
  * <li>
381
+ * <p>INVALID_END_DATE: The selected withdrawal date doesn't meet the terms of your partner
382
+ * agreement. Visit Amazon Web Services Partner Central to view your partner agreements or contact your Amazon Web Services
383
+ * Partner for help.</p>
384
+ * </li>
385
+ * <li>
341
386
  * <p>INVALID_ENUM: You specified an invalid value.</p>
342
387
  * </li>
343
388
  * <li>
@@ -376,6 +421,9 @@ declare const CreatePolicyCommand_base: {
376
421
  * can't begin with the reserved prefix <code>AWSServiceRoleFor</code>.</p>
377
422
  * </li>
378
423
  * <li>
424
+ * <p>INVALID_START_DATE: The start date doesn't meet the minimum requirements.</p>
425
+ * </li>
426
+ * <li>
379
427
  * <p>INVALID_SYNTAX_ORGANIZATION_ARN: You specified an invalid Amazon Resource Name
380
428
  * (ARN) for the organization.</p>
381
429
  * </li>
@@ -415,6 +463,20 @@ declare const CreatePolicyCommand_base: {
415
463
  * <p>NON_DETACHABLE_POLICY: You can't detach this Amazon Web Services Managed Policy.</p>
416
464
  * </li>
417
465
  * <li>
466
+ * <p>START_DATE_NOT_BEGINNING_OF_DAY: You provided an invalid start date. The start date must
467
+ * be the beginning of the day (00:00:00.000).</p>
468
+ * </li>
469
+ * <li>
470
+ * <p>START_DATE_NOT_BEGINNING_OF_MONTH: You provided an invalid start date. The start date must
471
+ * be the first day of the month.</p>
472
+ * </li>
473
+ * <li>
474
+ * <p>START_DATE_TOO_EARLY: You provided an invalid start date. The start date is too early.</p>
475
+ * </li>
476
+ * <li>
477
+ * <p>START_DATE_TOO_LATE: You provided an invalid start date. The start date is too late.</p>
478
+ * </li>
479
+ * <li>
418
480
  * <p>TARGET_NOT_SUPPORTED: You can't perform the specified operation on that target
419
481
  * entity.</p>
420
482
  * </li>
@@ -422,6 +484,10 @@ declare const CreatePolicyCommand_base: {
422
484
  * <p>UNRECOGNIZED_SERVICE_PRINCIPAL: You specified a service principal that isn't
423
485
  * recognized.</p>
424
486
  * </li>
487
+ * <li>
488
+ * <p>UNSUPPORTED_ACTION_IN_RESPONSIBILITY_TRANSFER: You provided a value that is not supported
489
+ * by this operation.</p>
490
+ * </li>
425
491
  * </ul>
426
492
  *
427
493
  * @throws {@link MalformedPolicyDocumentException} (client fault)
@@ -27,13 +27,11 @@ declare const DeclineHandshakeCommand_base: {
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
- * <p>Declines a handshake request. This sets the handshake state to <code>DECLINED</code>
31
- * and effectively deactivates the request.</p>
32
- * <p>This operation can be called only from the account that received the handshake. The originator of the handshake can use <a>CancelHandshake</a>
33
- * instead. The originator can't reactivate a declined request, but can reinitiate the
34
- * process with a new handshake request.</p>
35
- * <p>After you decline a handshake, it continues to appear in the results of relevant APIs
36
- * for only 30 days. After that, it's deleted.</p>
30
+ * <p>Declines a <a>Handshake</a>.</p>
31
+ * <p>Only the account that receives a handshake can call this operation. The sender of the handshake can use <a>CancelHandshake</a> to
32
+ * cancel if the handshake hasn't yet been responded to.</p>
33
+ * <p>You can view canceled handshakes in API responses for 30 days before they are
34
+ * deleted.</p>
37
35
  * @example
38
36
  * Use a bare-bones client and the command you need to make an API call.
39
37
  * ```javascript
@@ -60,15 +58,15 @@ declare const DeclineHandshakeCommand_base: {
60
58
  * // State: "REQUESTED" || "OPEN" || "CANCELED" || "ACCEPTED" || "DECLINED" || "EXPIRED",
61
59
  * // RequestedTimestamp: new Date("TIMESTAMP"),
62
60
  * // ExpirationTimestamp: new Date("TIMESTAMP"),
63
- * // Action: "INVITE" || "ENABLE_ALL_FEATURES" || "APPROVE_ALL_FEATURES" || "ADD_ORGANIZATIONS_SERVICE_LINKED_ROLE",
61
+ * // Action: "INVITE" || "ENABLE_ALL_FEATURES" || "APPROVE_ALL_FEATURES" || "ADD_ORGANIZATIONS_SERVICE_LINKED_ROLE" || "TRANSFER_RESPONSIBILITY",
64
62
  * // Resources: [ // HandshakeResources
65
63
  * // { // HandshakeResource
66
64
  * // Value: "STRING_VALUE",
67
- * // Type: "ACCOUNT" || "ORGANIZATION" || "ORGANIZATION_FEATURE_SET" || "EMAIL" || "MASTER_EMAIL" || "MASTER_NAME" || "NOTES" || "PARENT_HANDSHAKE",
65
+ * // 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",
68
66
  * // Resources: [
69
67
  * // {
70
68
  * // Value: "STRING_VALUE",
71
- * // Type: "ACCOUNT" || "ORGANIZATION" || "ORGANIZATION_FEATURE_SET" || "EMAIL" || "MASTER_EMAIL" || "MASTER_NAME" || "NOTES" || "PARENT_HANDSHAKE",
69
+ * // 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",
72
70
  * // Resources: "<HandshakeResources>",
73
71
  * // },
74
72
  * // ],
@@ -117,10 +115,21 @@ declare const DeclineHandshakeCommand_base: {
117
115
  * </note>
118
116
  * <ul>
119
117
  * <li>
118
+ * <p>CALLER_REQUIRED_FIELD_MISSING: At least one of the required field is missing: Caller Account Id, Management Account Id or Organization Id.</p>
119
+ * </li>
120
+ * <li>
120
121
  * <p>DUPLICATE_TAG_KEY: Tag keys must be unique among the tags attached to the same
121
122
  * entity.</p>
122
123
  * </li>
123
124
  * <li>
125
+ * <p>END_DATE_NOT_END_OF_MONTH: You provided an invalid end date. The end date must be the end
126
+ * of the last day of the month (23.59.59.999).</p>
127
+ * </li>
128
+ * <li>
129
+ * <p>END_DATE_TOO_EARLY: You provided an invalid end date. It is too early for the transfer to
130
+ * end.</p>
131
+ * </li>
132
+ * <li>
124
133
  * <p>IMMUTABLE_POLICY: You specified a policy that is managed by Amazon Web Services and can't be
125
134
  * modified.</p>
126
135
  * </li>
@@ -132,6 +141,11 @@ declare const DeclineHandshakeCommand_base: {
132
141
  * invited account owner.</p>
133
142
  * </li>
134
143
  * <li>
144
+ * <p>INVALID_END_DATE: The selected withdrawal date doesn't meet the terms of your partner
145
+ * agreement. Visit Amazon Web Services Partner Central to view your partner agreements or contact your Amazon Web Services
146
+ * Partner for help.</p>
147
+ * </li>
148
+ * <li>
135
149
  * <p>INVALID_ENUM: You specified an invalid value.</p>
136
150
  * </li>
137
151
  * <li>
@@ -170,6 +184,9 @@ declare const DeclineHandshakeCommand_base: {
170
184
  * can't begin with the reserved prefix <code>AWSServiceRoleFor</code>.</p>
171
185
  * </li>
172
186
  * <li>
187
+ * <p>INVALID_START_DATE: The start date doesn't meet the minimum requirements.</p>
188
+ * </li>
189
+ * <li>
173
190
  * <p>INVALID_SYNTAX_ORGANIZATION_ARN: You specified an invalid Amazon Resource Name
174
191
  * (ARN) for the organization.</p>
175
192
  * </li>
@@ -209,6 +226,20 @@ declare const DeclineHandshakeCommand_base: {
209
226
  * <p>NON_DETACHABLE_POLICY: You can't detach this Amazon Web Services Managed Policy.</p>
210
227
  * </li>
211
228
  * <li>
229
+ * <p>START_DATE_NOT_BEGINNING_OF_DAY: You provided an invalid start date. The start date must
230
+ * be the beginning of the day (00:00:00.000).</p>
231
+ * </li>
232
+ * <li>
233
+ * <p>START_DATE_NOT_BEGINNING_OF_MONTH: You provided an invalid start date. The start date must
234
+ * be the first day of the month.</p>
235
+ * </li>
236
+ * <li>
237
+ * <p>START_DATE_TOO_EARLY: You provided an invalid start date. The start date is too early.</p>
238
+ * </li>
239
+ * <li>
240
+ * <p>START_DATE_TOO_LATE: You provided an invalid start date. The start date is too late.</p>
241
+ * </li>
242
+ * <li>
212
243
  * <p>TARGET_NOT_SUPPORTED: You can't perform the specified operation on that target
213
244
  * entity.</p>
214
245
  * </li>
@@ -216,6 +247,10 @@ declare const DeclineHandshakeCommand_base: {
216
247
  * <p>UNRECOGNIZED_SERVICE_PRINCIPAL: You specified a service principal that isn't
217
248
  * recognized.</p>
218
249
  * </li>
250
+ * <li>
251
+ * <p>UNSUPPORTED_ACTION_IN_RESPONSIBILITY_TRANSFER: You provided a value that is not supported
252
+ * by this operation.</p>
253
+ * </li>
219
254
  * </ul>
220
255
  *
221
256
  * @throws {@link ServiceException} (server fault)