@aws-sdk/client-organizations 3.686.0 → 3.691.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 (58) hide show
  1. package/dist-cjs/index.js +3 -0
  2. package/dist-es/models/models_0.js +3 -0
  3. package/dist-types/commands/AcceptHandshakeCommand.d.ts +6 -0
  4. package/dist-types/commands/AttachPolicyCommand.d.ts +11 -0
  5. package/dist-types/commands/CancelHandshakeCommand.d.ts +6 -0
  6. package/dist-types/commands/CloseAccountCommand.d.ts +6 -0
  7. package/dist-types/commands/CreateAccountCommand.d.ts +6 -0
  8. package/dist-types/commands/CreateGovCloudAccountCommand.d.ts +6 -0
  9. package/dist-types/commands/CreateOrganizationCommand.d.ts +7 -1
  10. package/dist-types/commands/CreateOrganizationalUnitCommand.d.ts +6 -0
  11. package/dist-types/commands/CreatePolicyCommand.d.ts +8 -2
  12. package/dist-types/commands/DeclineHandshakeCommand.d.ts +6 -0
  13. package/dist-types/commands/DeleteOrganizationCommand.d.ts +6 -0
  14. package/dist-types/commands/DeleteOrganizationalUnitCommand.d.ts +6 -0
  15. package/dist-types/commands/DeletePolicyCommand.d.ts +6 -0
  16. package/dist-types/commands/DeregisterDelegatedAdministratorCommand.d.ts +6 -0
  17. package/dist-types/commands/DescribeAccountCommand.d.ts +6 -0
  18. package/dist-types/commands/DescribeCreateAccountStatusCommand.d.ts +6 -0
  19. package/dist-types/commands/DescribeEffectivePolicyCommand.d.ts +6 -0
  20. package/dist-types/commands/DescribeHandshakeCommand.d.ts +6 -0
  21. package/dist-types/commands/DescribeOrganizationCommand.d.ts +1 -1
  22. package/dist-types/commands/DescribeOrganizationalUnitCommand.d.ts +6 -0
  23. package/dist-types/commands/DescribePolicyCommand.d.ts +7 -1
  24. package/dist-types/commands/DetachPolicyCommand.d.ts +6 -0
  25. package/dist-types/commands/DisableAWSServiceAccessCommand.d.ts +6 -0
  26. package/dist-types/commands/DisablePolicyTypeCommand.d.ts +8 -2
  27. package/dist-types/commands/EnableAWSServiceAccessCommand.d.ts +6 -0
  28. package/dist-types/commands/EnableAllFeaturesCommand.d.ts +6 -0
  29. package/dist-types/commands/EnablePolicyTypeCommand.d.ts +8 -2
  30. package/dist-types/commands/InviteAccountToOrganizationCommand.d.ts +6 -0
  31. package/dist-types/commands/LeaveOrganizationCommand.d.ts +6 -0
  32. package/dist-types/commands/ListAWSServiceAccessForOrganizationCommand.d.ts +6 -0
  33. package/dist-types/commands/ListAccountsCommand.d.ts +6 -0
  34. package/dist-types/commands/ListAccountsForParentCommand.d.ts +6 -0
  35. package/dist-types/commands/ListChildrenCommand.d.ts +6 -0
  36. package/dist-types/commands/ListCreateAccountStatusCommand.d.ts +6 -0
  37. package/dist-types/commands/ListDelegatedAdministratorsCommand.d.ts +6 -0
  38. package/dist-types/commands/ListDelegatedServicesForAccountCommand.d.ts +6 -0
  39. package/dist-types/commands/ListHandshakesForAccountCommand.d.ts +6 -0
  40. package/dist-types/commands/ListHandshakesForOrganizationCommand.d.ts +6 -0
  41. package/dist-types/commands/ListOrganizationalUnitsForParentCommand.d.ts +6 -0
  42. package/dist-types/commands/ListParentsCommand.d.ts +6 -0
  43. package/dist-types/commands/ListPoliciesCommand.d.ts +8 -2
  44. package/dist-types/commands/ListPoliciesForTargetCommand.d.ts +8 -2
  45. package/dist-types/commands/ListRootsCommand.d.ts +7 -1
  46. package/dist-types/commands/ListTagsForResourceCommand.d.ts +6 -0
  47. package/dist-types/commands/ListTargetsForPolicyCommand.d.ts +6 -0
  48. package/dist-types/commands/MoveAccountCommand.d.ts +6 -0
  49. package/dist-types/commands/PutResourcePolicyCommand.d.ts +6 -0
  50. package/dist-types/commands/RegisterDelegatedAdministratorCommand.d.ts +6 -0
  51. package/dist-types/commands/RemoveAccountFromOrganizationCommand.d.ts +6 -0
  52. package/dist-types/commands/TagResourceCommand.d.ts +6 -0
  53. package/dist-types/commands/UntagResourceCommand.d.ts +6 -0
  54. package/dist-types/commands/UpdateOrganizationalUnitCommand.d.ts +6 -0
  55. package/dist-types/commands/UpdatePolicyCommand.d.ts +7 -1
  56. package/dist-types/models/models_0.d.ts +273 -239
  57. package/dist-types/ts3.4/models/models_0.d.ts +242 -239
  58. package/package.json +7 -7
package/dist-cjs/index.js CHANGED
@@ -560,6 +560,7 @@ var InvalidInputExceptionReason = {
560
560
  INVALID_PARTY_TYPE_TARGET: "INVALID_PARTY_TYPE_TARGET",
561
561
  INVALID_PATTERN: "INVALID_PATTERN",
562
562
  INVALID_PATTERN_TARGET_ID: "INVALID_PATTERN_TARGET_ID",
563
+ INVALID_PRINCIPAL: "INVALID_PRINCIPAL",
563
564
  INVALID_RESOURCE_POLICY_JSON: "INVALID_RESOURCE_POLICY_JSON",
564
565
  INVALID_ROLE_NAME: "INVALID_ROLE_NAME",
565
566
  INVALID_SYNTAX_ORGANIZATION: "INVALID_SYNTAX_ORGANIZATION_ARN",
@@ -571,6 +572,7 @@ var InvalidInputExceptionReason = {
571
572
  MIN_LENGTH_EXCEEDED: "MIN_LENGTH_EXCEEDED",
572
573
  MIN_VALUE_EXCEEDED: "MIN_VALUE_EXCEEDED",
573
574
  MOVING_ACCOUNT_BETWEEN_DIFFERENT_ROOTS: "MOVING_ACCOUNT_BETWEEN_DIFFERENT_ROOTS",
575
+ NON_DETACHABLE_POLICY: "NON_DETACHABLE_POLICY",
574
576
  TARGET_NOT_SUPPORTED: "TARGET_NOT_SUPPORTED",
575
577
  UNRECOGNIZED_SERVICE_PRINCIPAL: "UNRECOGNIZED_SERVICE_PRINCIPAL",
576
578
  UNSUPPORTED_ACTION_IN_RESOURCE_POLICY: "UNSUPPORTED_ACTION_IN_RESOURCE_POLICY",
@@ -989,6 +991,7 @@ var PolicyType = {
989
991
  AISERVICES_OPT_OUT_POLICY: "AISERVICES_OPT_OUT_POLICY",
990
992
  BACKUP_POLICY: "BACKUP_POLICY",
991
993
  CHATBOT_POLICY: "CHATBOT_POLICY",
994
+ RESOURCE_CONTROL_POLICY: "RESOURCE_CONTROL_POLICY",
992
995
  SERVICE_CONTROL_POLICY: "SERVICE_CONTROL_POLICY",
993
996
  TAG_POLICY: "TAG_POLICY"
994
997
  };
@@ -163,6 +163,7 @@ export const InvalidInputExceptionReason = {
163
163
  INVALID_PARTY_TYPE_TARGET: "INVALID_PARTY_TYPE_TARGET",
164
164
  INVALID_PATTERN: "INVALID_PATTERN",
165
165
  INVALID_PATTERN_TARGET_ID: "INVALID_PATTERN_TARGET_ID",
166
+ INVALID_PRINCIPAL: "INVALID_PRINCIPAL",
166
167
  INVALID_RESOURCE_POLICY_JSON: "INVALID_RESOURCE_POLICY_JSON",
167
168
  INVALID_ROLE_NAME: "INVALID_ROLE_NAME",
168
169
  INVALID_SYNTAX_ORGANIZATION: "INVALID_SYNTAX_ORGANIZATION_ARN",
@@ -174,6 +175,7 @@ export const InvalidInputExceptionReason = {
174
175
  MIN_LENGTH_EXCEEDED: "MIN_LENGTH_EXCEEDED",
175
176
  MIN_VALUE_EXCEEDED: "MIN_VALUE_EXCEEDED",
176
177
  MOVING_ACCOUNT_BETWEEN_DIFFERENT_ROOTS: "MOVING_ACCOUNT_BETWEEN_DIFFERENT_ROOTS",
178
+ NON_DETACHABLE_POLICY: "NON_DETACHABLE_POLICY",
177
179
  TARGET_NOT_SUPPORTED: "TARGET_NOT_SUPPORTED",
178
180
  UNRECOGNIZED_SERVICE_PRINCIPAL: "UNRECOGNIZED_SERVICE_PRINCIPAL",
179
181
  UNSUPPORTED_ACTION_IN_RESOURCE_POLICY: "UNSUPPORTED_ACTION_IN_RESOURCE_POLICY",
@@ -502,6 +504,7 @@ export const PolicyType = {
502
504
  AISERVICES_OPT_OUT_POLICY: "AISERVICES_OPT_OUT_POLICY",
503
505
  BACKUP_POLICY: "BACKUP_POLICY",
504
506
  CHATBOT_POLICY: "CHATBOT_POLICY",
507
+ RESOURCE_CONTROL_POLICY: "RESOURCE_CONTROL_POLICY",
505
508
  SERVICE_CONTROL_POLICY: "SERVICE_CONTROL_POLICY",
506
509
  TAG_POLICY: "TAG_POLICY",
507
510
  };
@@ -253,6 +253,9 @@ declare const AcceptHandshakeCommand_base: {
253
253
  * the required pattern.</p>
254
254
  * </li>
255
255
  * <li>
256
+ * <p>INVALID_PRINCIPAL: You specified an invalid principal element in the policy.</p>
257
+ * </li>
258
+ * <li>
256
259
  * <p>INVALID_ROLE_NAME: You provided a role name that isn't valid. A role name
257
260
  * can't begin with the reserved prefix <code>AWSServiceRoleFor</code>.</p>
258
261
  * </li>
@@ -293,6 +296,9 @@ declare const AcceptHandshakeCommand_base: {
293
296
  * entities in the same root.</p>
294
297
  * </li>
295
298
  * <li>
299
+ * <p>NON_DETACHABLE_POLICY: You can't detach this Amazon Web Services Managed Policy.</p>
300
+ * </li>
301
+ * <li>
296
302
  * <p>TARGET_NOT_SUPPORTED: You can't perform the specified operation on that target
297
303
  * entity.</p>
298
304
  * </li>
@@ -38,6 +38,11 @@ declare const AttachPolicyCommand_base: {
38
38
  * </li>
39
39
  * <li>
40
40
  * <p>
41
+ * <a href="https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_rcps.html">RESOURCE_CONTROL_POLICY</a>
42
+ * </p>
43
+ * </li>
44
+ * <li>
45
+ * <p>
41
46
  * <a href="https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_backup.html">BACKUP_POLICY</a>
42
47
  * </p>
43
48
  * </li>
@@ -348,6 +353,9 @@ declare const AttachPolicyCommand_base: {
348
353
  * the required pattern.</p>
349
354
  * </li>
350
355
  * <li>
356
+ * <p>INVALID_PRINCIPAL: You specified an invalid principal element in the policy.</p>
357
+ * </li>
358
+ * <li>
351
359
  * <p>INVALID_ROLE_NAME: You provided a role name that isn't valid. A role name
352
360
  * can't begin with the reserved prefix <code>AWSServiceRoleFor</code>.</p>
353
361
  * </li>
@@ -388,6 +396,9 @@ declare const AttachPolicyCommand_base: {
388
396
  * entities in the same root.</p>
389
397
  * </li>
390
398
  * <li>
399
+ * <p>NON_DETACHABLE_POLICY: You can't detach this Amazon Web Services Managed Policy.</p>
400
+ * </li>
401
+ * <li>
391
402
  * <p>TARGET_NOT_SUPPORTED: You can't perform the specified operation on that target
392
403
  * entity.</p>
393
404
  * </li>
@@ -159,6 +159,9 @@ declare const CancelHandshakeCommand_base: {
159
159
  * the required pattern.</p>
160
160
  * </li>
161
161
  * <li>
162
+ * <p>INVALID_PRINCIPAL: You specified an invalid principal element in the policy.</p>
163
+ * </li>
164
+ * <li>
162
165
  * <p>INVALID_ROLE_NAME: You provided a role name that isn't valid. A role name
163
166
  * can't begin with the reserved prefix <code>AWSServiceRoleFor</code>.</p>
164
167
  * </li>
@@ -199,6 +202,9 @@ declare const CancelHandshakeCommand_base: {
199
202
  * entities in the same root.</p>
200
203
  * </li>
201
204
  * <li>
205
+ * <p>NON_DETACHABLE_POLICY: You can't detach this Amazon Web Services Managed Policy.</p>
206
+ * </li>
207
+ * <li>
202
208
  * <p>TARGET_NOT_SUPPORTED: You can't perform the specified operation on that target
203
209
  * entity.</p>
204
210
  * </li>
@@ -371,6 +371,9 @@ declare const CloseAccountCommand_base: {
371
371
  * the required pattern.</p>
372
372
  * </li>
373
373
  * <li>
374
+ * <p>INVALID_PRINCIPAL: You specified an invalid principal element in the policy.</p>
375
+ * </li>
376
+ * <li>
374
377
  * <p>INVALID_ROLE_NAME: You provided a role name that isn't valid. A role name
375
378
  * can't begin with the reserved prefix <code>AWSServiceRoleFor</code>.</p>
376
379
  * </li>
@@ -411,6 +414,9 @@ declare const CloseAccountCommand_base: {
411
414
  * entities in the same root.</p>
412
415
  * </li>
413
416
  * <li>
417
+ * <p>NON_DETACHABLE_POLICY: You can't detach this Amazon Web Services Managed Policy.</p>
418
+ * </li>
419
+ * <li>
414
420
  * <p>TARGET_NOT_SUPPORTED: You can't perform the specified operation on that target
415
421
  * entity.</p>
416
422
  * </li>
@@ -409,6 +409,9 @@ declare const CreateAccountCommand_base: {
409
409
  * the required pattern.</p>
410
410
  * </li>
411
411
  * <li>
412
+ * <p>INVALID_PRINCIPAL: You specified an invalid principal element in the policy.</p>
413
+ * </li>
414
+ * <li>
412
415
  * <p>INVALID_ROLE_NAME: You provided a role name that isn't valid. A role name
413
416
  * can't begin with the reserved prefix <code>AWSServiceRoleFor</code>.</p>
414
417
  * </li>
@@ -449,6 +452,9 @@ declare const CreateAccountCommand_base: {
449
452
  * entities in the same root.</p>
450
453
  * </li>
451
454
  * <li>
455
+ * <p>NON_DETACHABLE_POLICY: You can't detach this Amazon Web Services Managed Policy.</p>
456
+ * </li>
457
+ * <li>
452
458
  * <p>TARGET_NOT_SUPPORTED: You can't perform the specified operation on that target
453
459
  * entity.</p>
454
460
  * </li>
@@ -463,6 +463,9 @@ declare const CreateGovCloudAccountCommand_base: {
463
463
  * the required pattern.</p>
464
464
  * </li>
465
465
  * <li>
466
+ * <p>INVALID_PRINCIPAL: You specified an invalid principal element in the policy.</p>
467
+ * </li>
468
+ * <li>
466
469
  * <p>INVALID_ROLE_NAME: You provided a role name that isn't valid. A role name
467
470
  * can't begin with the reserved prefix <code>AWSServiceRoleFor</code>.</p>
468
471
  * </li>
@@ -503,6 +506,9 @@ declare const CreateGovCloudAccountCommand_base: {
503
506
  * entities in the same root.</p>
504
507
  * </li>
505
508
  * <li>
509
+ * <p>NON_DETACHABLE_POLICY: You can't detach this Amazon Web Services Managed Policy.</p>
510
+ * </li>
511
+ * <li>
506
512
  * <p>TARGET_NOT_SUPPORTED: You can't perform the specified operation on that target
507
513
  * entity.</p>
508
514
  * </li>
@@ -59,7 +59,7 @@ declare const CreateOrganizationCommand_base: {
59
59
  * // MasterAccountEmail: "STRING_VALUE",
60
60
  * // AvailablePolicyTypes: [ // PolicyTypes
61
61
  * // { // PolicyTypeSummary
62
- * // Type: "SERVICE_CONTROL_POLICY" || "TAG_POLICY" || "BACKUP_POLICY" || "AISERVICES_OPT_OUT_POLICY" || "CHATBOT_POLICY",
62
+ * // Type: "SERVICE_CONTROL_POLICY" || "RESOURCE_CONTROL_POLICY" || "TAG_POLICY" || "BACKUP_POLICY" || "AISERVICES_OPT_OUT_POLICY" || "CHATBOT_POLICY",
63
63
  * // Status: "ENABLED" || "PENDING_ENABLE" || "PENDING_DISABLE",
64
64
  * // },
65
65
  * // ],
@@ -344,6 +344,9 @@ declare const CreateOrganizationCommand_base: {
344
344
  * the required pattern.</p>
345
345
  * </li>
346
346
  * <li>
347
+ * <p>INVALID_PRINCIPAL: You specified an invalid principal element in the policy.</p>
348
+ * </li>
349
+ * <li>
347
350
  * <p>INVALID_ROLE_NAME: You provided a role name that isn't valid. A role name
348
351
  * can't begin with the reserved prefix <code>AWSServiceRoleFor</code>.</p>
349
352
  * </li>
@@ -384,6 +387,9 @@ declare const CreateOrganizationCommand_base: {
384
387
  * entities in the same root.</p>
385
388
  * </li>
386
389
  * <li>
390
+ * <p>NON_DETACHABLE_POLICY: You can't detach this Amazon Web Services Managed Policy.</p>
391
+ * </li>
392
+ * <li>
387
393
  * <p>TARGET_NOT_SUPPORTED: You can't perform the specified operation on that target
388
394
  * entity.</p>
389
395
  * </li>
@@ -338,6 +338,9 @@ declare const CreateOrganizationalUnitCommand_base: {
338
338
  * the required pattern.</p>
339
339
  * </li>
340
340
  * <li>
341
+ * <p>INVALID_PRINCIPAL: You specified an invalid principal element in the policy.</p>
342
+ * </li>
343
+ * <li>
341
344
  * <p>INVALID_ROLE_NAME: You provided a role name that isn't valid. A role name
342
345
  * can't begin with the reserved prefix <code>AWSServiceRoleFor</code>.</p>
343
346
  * </li>
@@ -378,6 +381,9 @@ declare const CreateOrganizationalUnitCommand_base: {
378
381
  * entities in the same root.</p>
379
382
  * </li>
380
383
  * <li>
384
+ * <p>NON_DETACHABLE_POLICY: You can't detach this Amazon Web Services Managed Policy.</p>
385
+ * </li>
386
+ * <li>
381
387
  * <p>TARGET_NOT_SUPPORTED: You can't perform the specified operation on that target
382
388
  * entity.</p>
383
389
  * </li>
@@ -45,7 +45,7 @@ declare const CreatePolicyCommand_base: {
45
45
  * Content: "STRING_VALUE", // required
46
46
  * Description: "STRING_VALUE", // required
47
47
  * Name: "STRING_VALUE", // required
48
- * Type: "SERVICE_CONTROL_POLICY" || "TAG_POLICY" || "BACKUP_POLICY" || "AISERVICES_OPT_OUT_POLICY" || "CHATBOT_POLICY", // required
48
+ * Type: "SERVICE_CONTROL_POLICY" || "RESOURCE_CONTROL_POLICY" || "TAG_POLICY" || "BACKUP_POLICY" || "AISERVICES_OPT_OUT_POLICY" || "CHATBOT_POLICY", // required
49
49
  * Tags: [ // Tags
50
50
  * { // Tag
51
51
  * Key: "STRING_VALUE", // required
@@ -62,7 +62,7 @@ declare const CreatePolicyCommand_base: {
62
62
  * // Arn: "STRING_VALUE",
63
63
  * // Name: "STRING_VALUE",
64
64
  * // Description: "STRING_VALUE",
65
- * // Type: "SERVICE_CONTROL_POLICY" || "TAG_POLICY" || "BACKUP_POLICY" || "AISERVICES_OPT_OUT_POLICY" || "CHATBOT_POLICY",
65
+ * // Type: "SERVICE_CONTROL_POLICY" || "RESOURCE_CONTROL_POLICY" || "TAG_POLICY" || "BACKUP_POLICY" || "AISERVICES_OPT_OUT_POLICY" || "CHATBOT_POLICY",
66
66
  * // AwsManaged: true || false,
67
67
  * // },
68
68
  * // Content: "STRING_VALUE",
@@ -344,6 +344,9 @@ declare const CreatePolicyCommand_base: {
344
344
  * the required pattern.</p>
345
345
  * </li>
346
346
  * <li>
347
+ * <p>INVALID_PRINCIPAL: You specified an invalid principal element in the policy.</p>
348
+ * </li>
349
+ * <li>
347
350
  * <p>INVALID_ROLE_NAME: You provided a role name that isn't valid. A role name
348
351
  * can't begin with the reserved prefix <code>AWSServiceRoleFor</code>.</p>
349
352
  * </li>
@@ -384,6 +387,9 @@ declare const CreatePolicyCommand_base: {
384
387
  * entities in the same root.</p>
385
388
  * </li>
386
389
  * <li>
390
+ * <p>NON_DETACHABLE_POLICY: You can't detach this Amazon Web Services Managed Policy.</p>
391
+ * </li>
392
+ * <li>
387
393
  * <p>TARGET_NOT_SUPPORTED: You can't perform the specified operation on that target
388
394
  * entity.</p>
389
395
  * </li>
@@ -160,6 +160,9 @@ declare const DeclineHandshakeCommand_base: {
160
160
  * the required pattern.</p>
161
161
  * </li>
162
162
  * <li>
163
+ * <p>INVALID_PRINCIPAL: You specified an invalid principal element in the policy.</p>
164
+ * </li>
165
+ * <li>
163
166
  * <p>INVALID_ROLE_NAME: You provided a role name that isn't valid. A role name
164
167
  * can't begin with the reserved prefix <code>AWSServiceRoleFor</code>.</p>
165
168
  * </li>
@@ -200,6 +203,9 @@ declare const DeclineHandshakeCommand_base: {
200
203
  * entities in the same root.</p>
201
204
  * </li>
202
205
  * <li>
206
+ * <p>NON_DETACHABLE_POLICY: You can't detach this Amazon Web Services Managed Policy.</p>
207
+ * </li>
208
+ * <li>
203
209
  * <p>TARGET_NOT_SUPPORTED: You can't perform the specified operation on that target
204
210
  * entity.</p>
205
211
  * </li>
@@ -116,6 +116,9 @@ declare const DeleteOrganizationCommand_base: {
116
116
  * the required pattern.</p>
117
117
  * </li>
118
118
  * <li>
119
+ * <p>INVALID_PRINCIPAL: You specified an invalid principal element in the policy.</p>
120
+ * </li>
121
+ * <li>
119
122
  * <p>INVALID_ROLE_NAME: You provided a role name that isn't valid. A role name
120
123
  * can't begin with the reserved prefix <code>AWSServiceRoleFor</code>.</p>
121
124
  * </li>
@@ -156,6 +159,9 @@ declare const DeleteOrganizationCommand_base: {
156
159
  * entities in the same root.</p>
157
160
  * </li>
158
161
  * <li>
162
+ * <p>NON_DETACHABLE_POLICY: You can't detach this Amazon Web Services Managed Policy.</p>
163
+ * </li>
164
+ * <li>
159
165
  * <p>TARGET_NOT_SUPPORTED: You can't perform the specified operation on that target
160
166
  * entity.</p>
161
167
  * </li>
@@ -120,6 +120,9 @@ declare const DeleteOrganizationalUnitCommand_base: {
120
120
  * the required pattern.</p>
121
121
  * </li>
122
122
  * <li>
123
+ * <p>INVALID_PRINCIPAL: You specified an invalid principal element in the policy.</p>
124
+ * </li>
125
+ * <li>
123
126
  * <p>INVALID_ROLE_NAME: You provided a role name that isn't valid. A role name
124
127
  * can't begin with the reserved prefix <code>AWSServiceRoleFor</code>.</p>
125
128
  * </li>
@@ -160,6 +163,9 @@ declare const DeleteOrganizationalUnitCommand_base: {
160
163
  * entities in the same root.</p>
161
164
  * </li>
162
165
  * <li>
166
+ * <p>NON_DETACHABLE_POLICY: You can't detach this Amazon Web Services Managed Policy.</p>
167
+ * </li>
168
+ * <li>
163
169
  * <p>TARGET_NOT_SUPPORTED: You can't perform the specified operation on that target
164
170
  * entity.</p>
165
171
  * </li>
@@ -122,6 +122,9 @@ declare const DeletePolicyCommand_base: {
122
122
  * the required pattern.</p>
123
123
  * </li>
124
124
  * <li>
125
+ * <p>INVALID_PRINCIPAL: You specified an invalid principal element in the policy.</p>
126
+ * </li>
127
+ * <li>
125
128
  * <p>INVALID_ROLE_NAME: You provided a role name that isn't valid. A role name
126
129
  * can't begin with the reserved prefix <code>AWSServiceRoleFor</code>.</p>
127
130
  * </li>
@@ -162,6 +165,9 @@ declare const DeletePolicyCommand_base: {
162
165
  * entities in the same root.</p>
163
166
  * </li>
164
167
  * <li>
168
+ * <p>NON_DETACHABLE_POLICY: You can't detach this Amazon Web Services Managed Policy.</p>
169
+ * </li>
170
+ * <li>
165
171
  * <p>TARGET_NOT_SUPPORTED: You can't perform the specified operation on that target
166
172
  * entity.</p>
167
173
  * </li>
@@ -335,6 +335,9 @@ declare const DeregisterDelegatedAdministratorCommand_base: {
335
335
  * the required pattern.</p>
336
336
  * </li>
337
337
  * <li>
338
+ * <p>INVALID_PRINCIPAL: You specified an invalid principal element in the policy.</p>
339
+ * </li>
340
+ * <li>
338
341
  * <p>INVALID_ROLE_NAME: You provided a role name that isn't valid. A role name
339
342
  * can't begin with the reserved prefix <code>AWSServiceRoleFor</code>.</p>
340
343
  * </li>
@@ -375,6 +378,9 @@ declare const DeregisterDelegatedAdministratorCommand_base: {
375
378
  * entities in the same root.</p>
376
379
  * </li>
377
380
  * <li>
381
+ * <p>NON_DETACHABLE_POLICY: You can't detach this Amazon Web Services Managed Policy.</p>
382
+ * </li>
383
+ * <li>
378
384
  * <p>TARGET_NOT_SUPPORTED: You can't perform the specified operation on that target
379
385
  * entity.</p>
380
386
  * </li>
@@ -131,6 +131,9 @@ declare const DescribeAccountCommand_base: {
131
131
  * the required pattern.</p>
132
132
  * </li>
133
133
  * <li>
134
+ * <p>INVALID_PRINCIPAL: You specified an invalid principal element in the policy.</p>
135
+ * </li>
136
+ * <li>
134
137
  * <p>INVALID_ROLE_NAME: You provided a role name that isn't valid. A role name
135
138
  * can't begin with the reserved prefix <code>AWSServiceRoleFor</code>.</p>
136
139
  * </li>
@@ -171,6 +174,9 @@ declare const DescribeAccountCommand_base: {
171
174
  * entities in the same root.</p>
172
175
  * </li>
173
176
  * <li>
177
+ * <p>NON_DETACHABLE_POLICY: You can't detach this Amazon Web Services Managed Policy.</p>
178
+ * </li>
179
+ * <li>
174
180
  * <p>TARGET_NOT_SUPPORTED: You can't perform the specified operation on that target
175
181
  * entity.</p>
176
182
  * </li>
@@ -131,6 +131,9 @@ declare const DescribeCreateAccountStatusCommand_base: {
131
131
  * the required pattern.</p>
132
132
  * </li>
133
133
  * <li>
134
+ * <p>INVALID_PRINCIPAL: You specified an invalid principal element in the policy.</p>
135
+ * </li>
136
+ * <li>
134
137
  * <p>INVALID_ROLE_NAME: You provided a role name that isn't valid. A role name
135
138
  * can't begin with the reserved prefix <code>AWSServiceRoleFor</code>.</p>
136
139
  * </li>
@@ -171,6 +174,9 @@ declare const DescribeCreateAccountStatusCommand_base: {
171
174
  * entities in the same root.</p>
172
175
  * </li>
173
176
  * <li>
177
+ * <p>NON_DETACHABLE_POLICY: You can't detach this Amazon Web Services Managed Policy.</p>
178
+ * </li>
179
+ * <li>
174
180
  * <p>TARGET_NOT_SUPPORTED: You can't perform the specified operation on that target
175
181
  * entity.</p>
176
182
  * </li>
@@ -332,6 +332,9 @@ declare const DescribeEffectivePolicyCommand_base: {
332
332
  * the required pattern.</p>
333
333
  * </li>
334
334
  * <li>
335
+ * <p>INVALID_PRINCIPAL: You specified an invalid principal element in the policy.</p>
336
+ * </li>
337
+ * <li>
335
338
  * <p>INVALID_ROLE_NAME: You provided a role name that isn't valid. A role name
336
339
  * can't begin with the reserved prefix <code>AWSServiceRoleFor</code>.</p>
337
340
  * </li>
@@ -372,6 +375,9 @@ declare const DescribeEffectivePolicyCommand_base: {
372
375
  * entities in the same root.</p>
373
376
  * </li>
374
377
  * <li>
378
+ * <p>NON_DETACHABLE_POLICY: You can't detach this Amazon Web Services Managed Policy.</p>
379
+ * </li>
380
+ * <li>
375
381
  * <p>TARGET_NOT_SUPPORTED: You can't perform the specified operation on that target
376
382
  * entity.</p>
377
383
  * </li>
@@ -151,6 +151,9 @@ declare const DescribeHandshakeCommand_base: {
151
151
  * the required pattern.</p>
152
152
  * </li>
153
153
  * <li>
154
+ * <p>INVALID_PRINCIPAL: You specified an invalid principal element in the policy.</p>
155
+ * </li>
156
+ * <li>
154
157
  * <p>INVALID_ROLE_NAME: You provided a role name that isn't valid. A role name
155
158
  * can't begin with the reserved prefix <code>AWSServiceRoleFor</code>.</p>
156
159
  * </li>
@@ -191,6 +194,9 @@ declare const DescribeHandshakeCommand_base: {
191
194
  * entities in the same root.</p>
192
195
  * </li>
193
196
  * <li>
197
+ * <p>NON_DETACHABLE_POLICY: You can't detach this Amazon Web Services Managed Policy.</p>
198
+ * </li>
199
+ * <li>
194
200
  * <p>TARGET_NOT_SUPPORTED: You can't perform the specified operation on that target
195
201
  * entity.</p>
196
202
  * </li>
@@ -54,7 +54,7 @@ declare const DescribeOrganizationCommand_base: {
54
54
  * // MasterAccountEmail: "STRING_VALUE",
55
55
  * // AvailablePolicyTypes: [ // PolicyTypes
56
56
  * // { // PolicyTypeSummary
57
- * // Type: "SERVICE_CONTROL_POLICY" || "TAG_POLICY" || "BACKUP_POLICY" || "AISERVICES_OPT_OUT_POLICY" || "CHATBOT_POLICY",
57
+ * // Type: "SERVICE_CONTROL_POLICY" || "RESOURCE_CONTROL_POLICY" || "TAG_POLICY" || "BACKUP_POLICY" || "AISERVICES_OPT_OUT_POLICY" || "CHATBOT_POLICY",
58
58
  * // Status: "ENABLED" || "PENDING_ENABLE" || "PENDING_DISABLE",
59
59
  * // },
60
60
  * // ],
@@ -122,6 +122,9 @@ declare const DescribeOrganizationalUnitCommand_base: {
122
122
  * the required pattern.</p>
123
123
  * </li>
124
124
  * <li>
125
+ * <p>INVALID_PRINCIPAL: You specified an invalid principal element in the policy.</p>
126
+ * </li>
127
+ * <li>
125
128
  * <p>INVALID_ROLE_NAME: You provided a role name that isn't valid. A role name
126
129
  * can't begin with the reserved prefix <code>AWSServiceRoleFor</code>.</p>
127
130
  * </li>
@@ -162,6 +165,9 @@ declare const DescribeOrganizationalUnitCommand_base: {
162
165
  * entities in the same root.</p>
163
166
  * </li>
164
167
  * <li>
168
+ * <p>NON_DETACHABLE_POLICY: You can't detach this Amazon Web Services Managed Policy.</p>
169
+ * </li>
170
+ * <li>
165
171
  * <p>TARGET_NOT_SUPPORTED: You can't perform the specified operation on that target
166
172
  * entity.</p>
167
173
  * </li>
@@ -48,7 +48,7 @@ declare const DescribePolicyCommand_base: {
48
48
  * // Arn: "STRING_VALUE",
49
49
  * // Name: "STRING_VALUE",
50
50
  * // Description: "STRING_VALUE",
51
- * // Type: "SERVICE_CONTROL_POLICY" || "TAG_POLICY" || "BACKUP_POLICY" || "AISERVICES_OPT_OUT_POLICY" || "CHATBOT_POLICY",
51
+ * // Type: "SERVICE_CONTROL_POLICY" || "RESOURCE_CONTROL_POLICY" || "TAG_POLICY" || "BACKUP_POLICY" || "AISERVICES_OPT_OUT_POLICY" || "CHATBOT_POLICY",
52
52
  * // AwsManaged: true || false,
53
53
  * // },
54
54
  * // Content: "STRING_VALUE",
@@ -128,6 +128,9 @@ declare const DescribePolicyCommand_base: {
128
128
  * the required pattern.</p>
129
129
  * </li>
130
130
  * <li>
131
+ * <p>INVALID_PRINCIPAL: You specified an invalid principal element in the policy.</p>
132
+ * </li>
133
+ * <li>
131
134
  * <p>INVALID_ROLE_NAME: You provided a role name that isn't valid. A role name
132
135
  * can't begin with the reserved prefix <code>AWSServiceRoleFor</code>.</p>
133
136
  * </li>
@@ -168,6 +171,9 @@ declare const DescribePolicyCommand_base: {
168
171
  * entities in the same root.</p>
169
172
  * </li>
170
173
  * <li>
174
+ * <p>NON_DETACHABLE_POLICY: You can't detach this Amazon Web Services Managed Policy.</p>
175
+ * </li>
176
+ * <li>
171
177
  * <p>TARGET_NOT_SUPPORTED: You can't perform the specified operation on that target
172
178
  * entity.</p>
173
179
  * </li>
@@ -329,6 +329,9 @@ declare const DetachPolicyCommand_base: {
329
329
  * the required pattern.</p>
330
330
  * </li>
331
331
  * <li>
332
+ * <p>INVALID_PRINCIPAL: You specified an invalid principal element in the policy.</p>
333
+ * </li>
334
+ * <li>
332
335
  * <p>INVALID_ROLE_NAME: You provided a role name that isn't valid. A role name
333
336
  * can't begin with the reserved prefix <code>AWSServiceRoleFor</code>.</p>
334
337
  * </li>
@@ -369,6 +372,9 @@ declare const DetachPolicyCommand_base: {
369
372
  * entities in the same root.</p>
370
373
  * </li>
371
374
  * <li>
375
+ * <p>NON_DETACHABLE_POLICY: You can't detach this Amazon Web Services Managed Policy.</p>
376
+ * </li>
377
+ * <li>
372
378
  * <p>TARGET_NOT_SUPPORTED: You can't perform the specified operation on that target
373
379
  * entity.</p>
374
380
  * </li>
@@ -367,6 +367,9 @@ declare const DisableAWSServiceAccessCommand_base: {
367
367
  * the required pattern.</p>
368
368
  * </li>
369
369
  * <li>
370
+ * <p>INVALID_PRINCIPAL: You specified an invalid principal element in the policy.</p>
371
+ * </li>
372
+ * <li>
370
373
  * <p>INVALID_ROLE_NAME: You provided a role name that isn't valid. A role name
371
374
  * can't begin with the reserved prefix <code>AWSServiceRoleFor</code>.</p>
372
375
  * </li>
@@ -407,6 +410,9 @@ declare const DisableAWSServiceAccessCommand_base: {
407
410
  * entities in the same root.</p>
408
411
  * </li>
409
412
  * <li>
413
+ * <p>NON_DETACHABLE_POLICY: You can't detach this Amazon Web Services Managed Policy.</p>
414
+ * </li>
415
+ * <li>
410
416
  * <p>TARGET_NOT_SUPPORTED: You can't perform the specified operation on that target
411
417
  * entity.</p>
412
418
  * </li>
@@ -47,7 +47,7 @@ declare const DisablePolicyTypeCommand_base: {
47
47
  * const client = new OrganizationsClient(config);
48
48
  * const input = { // DisablePolicyTypeRequest
49
49
  * RootId: "STRING_VALUE", // required
50
- * PolicyType: "SERVICE_CONTROL_POLICY" || "TAG_POLICY" || "BACKUP_POLICY" || "AISERVICES_OPT_OUT_POLICY" || "CHATBOT_POLICY", // required
50
+ * PolicyType: "SERVICE_CONTROL_POLICY" || "RESOURCE_CONTROL_POLICY" || "TAG_POLICY" || "BACKUP_POLICY" || "AISERVICES_OPT_OUT_POLICY" || "CHATBOT_POLICY", // required
51
51
  * };
52
52
  * const command = new DisablePolicyTypeCommand(input);
53
53
  * const response = await client.send(command);
@@ -58,7 +58,7 @@ declare const DisablePolicyTypeCommand_base: {
58
58
  * // Name: "STRING_VALUE",
59
59
  * // PolicyTypes: [ // PolicyTypes
60
60
  * // { // PolicyTypeSummary
61
- * // Type: "SERVICE_CONTROL_POLICY" || "TAG_POLICY" || "BACKUP_POLICY" || "AISERVICES_OPT_OUT_POLICY" || "CHATBOT_POLICY",
61
+ * // Type: "SERVICE_CONTROL_POLICY" || "RESOURCE_CONTROL_POLICY" || "TAG_POLICY" || "BACKUP_POLICY" || "AISERVICES_OPT_OUT_POLICY" || "CHATBOT_POLICY",
62
62
  * // Status: "ENABLED" || "PENDING_ENABLE" || "PENDING_DISABLE",
63
63
  * // },
64
64
  * // ],
@@ -337,6 +337,9 @@ declare const DisablePolicyTypeCommand_base: {
337
337
  * the required pattern.</p>
338
338
  * </li>
339
339
  * <li>
340
+ * <p>INVALID_PRINCIPAL: You specified an invalid principal element in the policy.</p>
341
+ * </li>
342
+ * <li>
340
343
  * <p>INVALID_ROLE_NAME: You provided a role name that isn't valid. A role name
341
344
  * can't begin with the reserved prefix <code>AWSServiceRoleFor</code>.</p>
342
345
  * </li>
@@ -377,6 +380,9 @@ declare const DisablePolicyTypeCommand_base: {
377
380
  * entities in the same root.</p>
378
381
  * </li>
379
382
  * <li>
383
+ * <p>NON_DETACHABLE_POLICY: You can't detach this Amazon Web Services Managed Policy.</p>
384
+ * </li>
385
+ * <li>
380
386
  * <p>TARGET_NOT_SUPPORTED: You can't perform the specified operation on that target
381
387
  * entity.</p>
382
388
  * </li>
@@ -332,6 +332,9 @@ declare const EnableAWSServiceAccessCommand_base: {
332
332
  * the required pattern.</p>
333
333
  * </li>
334
334
  * <li>
335
+ * <p>INVALID_PRINCIPAL: You specified an invalid principal element in the policy.</p>
336
+ * </li>
337
+ * <li>
335
338
  * <p>INVALID_ROLE_NAME: You provided a role name that isn't valid. A role name
336
339
  * can't begin with the reserved prefix <code>AWSServiceRoleFor</code>.</p>
337
340
  * </li>
@@ -372,6 +375,9 @@ declare const EnableAWSServiceAccessCommand_base: {
372
375
  * entities in the same root.</p>
373
376
  * </li>
374
377
  * <li>
378
+ * <p>NON_DETACHABLE_POLICY: You can't detach this Amazon Web Services Managed Policy.</p>
379
+ * </li>
380
+ * <li>
375
381
  * <p>TARGET_NOT_SUPPORTED: You can't perform the specified operation on that target
376
382
  * entity.</p>
377
383
  * </li>