@aws-sdk/client-iam 3.687.0 → 3.692.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 (63) hide show
  1. package/README.md +40 -0
  2. package/dist-cjs/index.js +510 -10
  3. package/dist-es/IAM.js +10 -0
  4. package/dist-es/commands/DisableOrganizationsRootCredentialsManagementCommand.js +22 -0
  5. package/dist-es/commands/DisableOrganizationsRootSessionsCommand.js +22 -0
  6. package/dist-es/commands/EnableOrganizationsRootCredentialsManagementCommand.js +22 -0
  7. package/dist-es/commands/EnableOrganizationsRootSessionsCommand.js +22 -0
  8. package/dist-es/commands/ListOrganizationsFeaturesCommand.js +22 -0
  9. package/dist-es/commands/index.js +5 -0
  10. package/dist-es/models/models_0.js +70 -9
  11. package/dist-es/models/models_1.js +9 -0
  12. package/dist-es/protocols/Aws_query.js +310 -1
  13. package/dist-types/IAM.d.ts +43 -0
  14. package/dist-types/IAMClient.d.ts +7 -2
  15. package/dist-types/commands/CreateLoginProfileCommand.d.ts +3 -3
  16. package/dist-types/commands/DeactivateMFADeviceCommand.d.ts +1 -1
  17. package/dist-types/commands/DeleteLoginProfileCommand.d.ts +2 -2
  18. package/dist-types/commands/DisableOrganizationsRootCredentialsManagementCommand.d.ts +91 -0
  19. package/dist-types/commands/DisableOrganizationsRootSessionsCommand.d.ts +91 -0
  20. package/dist-types/commands/EnableOrganizationsRootCredentialsManagementCommand.d.ts +107 -0
  21. package/dist-types/commands/EnableOrganizationsRootSessionsCommand.d.ts +106 -0
  22. package/dist-types/commands/GetLoginProfileCommand.d.ts +2 -2
  23. package/dist-types/commands/ListAccountAliasesCommand.d.ts +3 -3
  24. package/dist-types/commands/ListOrganizationsFeaturesCommand.d.ts +89 -0
  25. package/dist-types/commands/SimulateCustomPolicyCommand.d.ts +2 -1
  26. package/dist-types/commands/SimulatePrincipalPolicyCommand.d.ts +1 -1
  27. package/dist-types/commands/TagInstanceProfileCommand.d.ts +1 -1
  28. package/dist-types/commands/TagMFADeviceCommand.d.ts +1 -1
  29. package/dist-types/commands/TagOpenIDConnectProviderCommand.d.ts +1 -1
  30. package/dist-types/commands/TagPolicyCommand.d.ts +1 -1
  31. package/dist-types/commands/TagRoleCommand.d.ts +1 -1
  32. package/dist-types/commands/TagSAMLProviderCommand.d.ts +1 -1
  33. package/dist-types/commands/TagServerCertificateCommand.d.ts +1 -1
  34. package/dist-types/commands/TagUserCommand.d.ts +1 -1
  35. package/dist-types/commands/index.d.ts +5 -0
  36. package/dist-types/models/models_0.d.ts +616 -1028
  37. package/dist-types/models/models_1.d.ts +642 -32
  38. package/dist-types/protocols/Aws_query.d.ts +45 -0
  39. package/dist-types/ts3.4/IAM.d.ts +105 -0
  40. package/dist-types/ts3.4/IAMClient.d.ts +30 -0
  41. package/dist-types/ts3.4/commands/CreateLoginProfileCommand.d.ts +1 -1
  42. package/dist-types/ts3.4/commands/DeleteLoginProfileCommand.d.ts +1 -1
  43. package/dist-types/ts3.4/commands/DisableOrganizationsRootCredentialsManagementCommand.d.ts +51 -0
  44. package/dist-types/ts3.4/commands/DisableOrganizationsRootSessionsCommand.d.ts +51 -0
  45. package/dist-types/ts3.4/commands/EnableOrganizationsRootCredentialsManagementCommand.d.ts +51 -0
  46. package/dist-types/ts3.4/commands/EnableOrganizationsRootSessionsCommand.d.ts +51 -0
  47. package/dist-types/ts3.4/commands/GetLoginProfileCommand.d.ts +1 -1
  48. package/dist-types/ts3.4/commands/ListOrganizationsFeaturesCommand.d.ts +51 -0
  49. package/dist-types/ts3.4/commands/SimulateCustomPolicyCommand.d.ts +2 -4
  50. package/dist-types/ts3.4/commands/SimulatePrincipalPolicyCommand.d.ts +1 -1
  51. package/dist-types/ts3.4/commands/TagInstanceProfileCommand.d.ts +1 -1
  52. package/dist-types/ts3.4/commands/TagMFADeviceCommand.d.ts +1 -1
  53. package/dist-types/ts3.4/commands/TagOpenIDConnectProviderCommand.d.ts +1 -1
  54. package/dist-types/ts3.4/commands/TagPolicyCommand.d.ts +1 -1
  55. package/dist-types/ts3.4/commands/TagRoleCommand.d.ts +1 -1
  56. package/dist-types/ts3.4/commands/TagSAMLProviderCommand.d.ts +1 -1
  57. package/dist-types/ts3.4/commands/TagServerCertificateCommand.d.ts +1 -1
  58. package/dist-types/ts3.4/commands/TagUserCommand.d.ts +1 -1
  59. package/dist-types/ts3.4/commands/index.d.ts +5 -0
  60. package/dist-types/ts3.4/models/models_0.d.ts +501 -511
  61. package/dist-types/ts3.4/models/models_1.d.ts +135 -31
  62. package/dist-types/ts3.4/protocols/Aws_query.d.ts +60 -0
  63. package/package.json +36 -36
package/dist-cjs/index.js CHANGED
@@ -23,6 +23,7 @@ var src_exports = {};
23
23
  __export(src_exports, {
24
24
  AccessAdvisorUsageGranularityType: () => AccessAdvisorUsageGranularityType,
25
25
  AccessKeyFilterSensitiveLog: () => AccessKeyFilterSensitiveLog,
26
+ AccountNotManagementOrDelegatedAdministratorException: () => AccountNotManagementOrDelegatedAdministratorException,
26
27
  AddClientIDToOpenIDConnectProviderCommand: () => AddClientIDToOpenIDConnectProviderCommand,
27
28
  AddRoleToInstanceProfileCommand: () => AddRoleToInstanceProfileCommand,
28
29
  AddUserToGroupCommand: () => AddUserToGroupCommand,
@@ -30,6 +31,7 @@ __export(src_exports, {
30
31
  AttachGroupPolicyCommand: () => AttachGroupPolicyCommand,
31
32
  AttachRolePolicyCommand: () => AttachRolePolicyCommand,
32
33
  AttachUserPolicyCommand: () => AttachUserPolicyCommand,
34
+ CallerIsNotManagementAccountException: () => CallerIsNotManagementAccountException,
33
35
  ChangePasswordCommand: () => ChangePasswordCommand,
34
36
  ChangePasswordRequestFilterSensitiveLog: () => ChangePasswordRequestFilterSensitiveLog,
35
37
  ConcurrentModificationException: () => ConcurrentModificationException,
@@ -84,13 +86,18 @@ __export(src_exports, {
84
86
  DetachGroupPolicyCommand: () => DetachGroupPolicyCommand,
85
87
  DetachRolePolicyCommand: () => DetachRolePolicyCommand,
86
88
  DetachUserPolicyCommand: () => DetachUserPolicyCommand,
89
+ DisableOrganizationsRootCredentialsManagementCommand: () => DisableOrganizationsRootCredentialsManagementCommand,
90
+ DisableOrganizationsRootSessionsCommand: () => DisableOrganizationsRootSessionsCommand,
87
91
  DuplicateCertificateException: () => DuplicateCertificateException,
88
92
  DuplicateSSHPublicKeyException: () => DuplicateSSHPublicKeyException,
89
93
  EnableMFADeviceCommand: () => EnableMFADeviceCommand,
94
+ EnableOrganizationsRootCredentialsManagementCommand: () => EnableOrganizationsRootCredentialsManagementCommand,
95
+ EnableOrganizationsRootSessionsCommand: () => EnableOrganizationsRootSessionsCommand,
90
96
  EncodingType: () => EncodingType,
91
97
  EntityAlreadyExistsException: () => EntityAlreadyExistsException,
92
98
  EntityTemporarilyUnmodifiableException: () => EntityTemporarilyUnmodifiableException,
93
99
  EntityType: () => EntityType,
100
+ FeatureType: () => FeatureType,
94
101
  GenerateCredentialReportCommand: () => GenerateCredentialReportCommand,
95
102
  GenerateOrganizationsAccessReportCommand: () => GenerateOrganizationsAccessReportCommand,
96
103
  GenerateServiceLastAccessedDetailsCommand: () => GenerateServiceLastAccessedDetailsCommand,
@@ -148,6 +155,7 @@ __export(src_exports, {
148
155
  ListMFADevicesCommand: () => ListMFADevicesCommand,
149
156
  ListOpenIDConnectProviderTagsCommand: () => ListOpenIDConnectProviderTagsCommand,
150
157
  ListOpenIDConnectProvidersCommand: () => ListOpenIDConnectProvidersCommand,
158
+ ListOrganizationsFeaturesCommand: () => ListOrganizationsFeaturesCommand,
151
159
  ListPoliciesCommand: () => ListPoliciesCommand,
152
160
  ListPoliciesGrantingServiceAccessCommand: () => ListPoliciesGrantingServiceAccessCommand,
153
161
  ListPolicyTagsCommand: () => ListPolicyTagsCommand,
@@ -171,6 +179,8 @@ __export(src_exports, {
171
179
  MalformedPolicyDocumentException: () => MalformedPolicyDocumentException,
172
180
  NoSuchEntityException: () => NoSuchEntityException,
173
181
  OpenIdIdpCommunicationErrorException: () => OpenIdIdpCommunicationErrorException,
182
+ OrganizationNotFoundException: () => OrganizationNotFoundException,
183
+ OrganizationNotInAllFeaturesModeException: () => OrganizationNotInAllFeaturesModeException,
174
184
  PasswordPolicyViolationException: () => PasswordPolicyViolationException,
175
185
  PermissionsBoundaryAttachmentType: () => PermissionsBoundaryAttachmentType,
176
186
  PolicyEvaluationDecisionType: () => PolicyEvaluationDecisionType,
@@ -195,6 +205,7 @@ __export(src_exports, {
195
205
  ResetServiceSpecificCredentialCommand: () => ResetServiceSpecificCredentialCommand,
196
206
  ResetServiceSpecificCredentialResponseFilterSensitiveLog: () => ResetServiceSpecificCredentialResponseFilterSensitiveLog,
197
207
  ResyncMFADeviceCommand: () => ResyncMFADeviceCommand,
208
+ ServiceAccessNotEnabledException: () => ServiceAccessNotEnabledException,
198
209
  ServiceFailureException: () => ServiceFailureException,
199
210
  ServiceNotSupportedException: () => ServiceNotSupportedException,
200
211
  ServiceSpecificCredentialFilterSensitiveLog: () => ServiceSpecificCredentialFilterSensitiveLog,
@@ -463,6 +474,24 @@ var StatusType = {
463
474
  Active: "Active",
464
475
  Inactive: "Inactive"
465
476
  };
477
+ var _AccountNotManagementOrDelegatedAdministratorException = class _AccountNotManagementOrDelegatedAdministratorException extends IAMServiceException {
478
+ /**
479
+ * @internal
480
+ */
481
+ constructor(opts) {
482
+ super({
483
+ name: "AccountNotManagementOrDelegatedAdministratorException",
484
+ $fault: "client",
485
+ ...opts
486
+ });
487
+ this.name = "AccountNotManagementOrDelegatedAdministratorException";
488
+ this.$fault = "client";
489
+ Object.setPrototypeOf(this, _AccountNotManagementOrDelegatedAdministratorException.prototype);
490
+ this.Message = opts.Message;
491
+ }
492
+ };
493
+ __name(_AccountNotManagementOrDelegatedAdministratorException, "AccountNotManagementOrDelegatedAdministratorException");
494
+ var AccountNotManagementOrDelegatedAdministratorException = _AccountNotManagementOrDelegatedAdministratorException;
466
495
  var _InvalidInputException = class _InvalidInputException extends IAMServiceException {
467
496
  /**
468
497
  * @internal
@@ -726,6 +755,64 @@ var _DeleteConflictException = class _DeleteConflictException extends IAMService
726
755
  };
727
756
  __name(_DeleteConflictException, "DeleteConflictException");
728
757
  var DeleteConflictException = _DeleteConflictException;
758
+ var FeatureType = {
759
+ ROOT_CREDENTIALS_MANAGEMENT: "RootCredentialsManagement",
760
+ ROOT_SESSIONS: "RootSessions"
761
+ };
762
+ var _OrganizationNotFoundException = class _OrganizationNotFoundException extends IAMServiceException {
763
+ /**
764
+ * @internal
765
+ */
766
+ constructor(opts) {
767
+ super({
768
+ name: "OrganizationNotFoundException",
769
+ $fault: "client",
770
+ ...opts
771
+ });
772
+ this.name = "OrganizationNotFoundException";
773
+ this.$fault = "client";
774
+ Object.setPrototypeOf(this, _OrganizationNotFoundException.prototype);
775
+ this.Message = opts.Message;
776
+ }
777
+ };
778
+ __name(_OrganizationNotFoundException, "OrganizationNotFoundException");
779
+ var OrganizationNotFoundException = _OrganizationNotFoundException;
780
+ var _OrganizationNotInAllFeaturesModeException = class _OrganizationNotInAllFeaturesModeException extends IAMServiceException {
781
+ /**
782
+ * @internal
783
+ */
784
+ constructor(opts) {
785
+ super({
786
+ name: "OrganizationNotInAllFeaturesModeException",
787
+ $fault: "client",
788
+ ...opts
789
+ });
790
+ this.name = "OrganizationNotInAllFeaturesModeException";
791
+ this.$fault = "client";
792
+ Object.setPrototypeOf(this, _OrganizationNotInAllFeaturesModeException.prototype);
793
+ this.Message = opts.Message;
794
+ }
795
+ };
796
+ __name(_OrganizationNotInAllFeaturesModeException, "OrganizationNotInAllFeaturesModeException");
797
+ var OrganizationNotInAllFeaturesModeException = _OrganizationNotInAllFeaturesModeException;
798
+ var _ServiceAccessNotEnabledException = class _ServiceAccessNotEnabledException extends IAMServiceException {
799
+ /**
800
+ * @internal
801
+ */
802
+ constructor(opts) {
803
+ super({
804
+ name: "ServiceAccessNotEnabledException",
805
+ $fault: "client",
806
+ ...opts
807
+ });
808
+ this.name = "ServiceAccessNotEnabledException";
809
+ this.$fault = "client";
810
+ Object.setPrototypeOf(this, _ServiceAccessNotEnabledException.prototype);
811
+ this.Message = opts.Message;
812
+ }
813
+ };
814
+ __name(_ServiceAccessNotEnabledException, "ServiceAccessNotEnabledException");
815
+ var ServiceAccessNotEnabledException = _ServiceAccessNotEnabledException;
729
816
  var _InvalidAuthenticationCodeException = class _InvalidAuthenticationCodeException extends IAMServiceException {
730
817
  /**
731
818
  * @internal
@@ -743,6 +830,24 @@ var _InvalidAuthenticationCodeException = class _InvalidAuthenticationCodeExcept
743
830
  };
744
831
  __name(_InvalidAuthenticationCodeException, "InvalidAuthenticationCodeException");
745
832
  var InvalidAuthenticationCodeException = _InvalidAuthenticationCodeException;
833
+ var _CallerIsNotManagementAccountException = class _CallerIsNotManagementAccountException extends IAMServiceException {
834
+ /**
835
+ * @internal
836
+ */
837
+ constructor(opts) {
838
+ super({
839
+ name: "CallerIsNotManagementAccountException",
840
+ $fault: "client",
841
+ ...opts
842
+ });
843
+ this.name = "CallerIsNotManagementAccountException";
844
+ this.$fault = "client";
845
+ Object.setPrototypeOf(this, _CallerIsNotManagementAccountException.prototype);
846
+ this.Message = opts.Message;
847
+ }
848
+ };
849
+ __name(_CallerIsNotManagementAccountException, "CallerIsNotManagementAccountException");
850
+ var CallerIsNotManagementAccountException = _CallerIsNotManagementAccountException;
746
851
  var ReportStateType = {
747
852
  COMPLETE: "COMPLETE",
748
853
  INPROGRESS: "INPROGRESS",
@@ -776,6 +881,7 @@ var SummaryKeyType = {
776
881
  AccessKeysPerUserQuota: "AccessKeysPerUserQuota",
777
882
  AccountAccessKeysPresent: "AccountAccessKeysPresent",
778
883
  AccountMFAEnabled: "AccountMFAEnabled",
884
+ AccountPasswordPresent: "AccountPasswordPresent",
779
885
  AccountSigningCertificatesPresent: "AccountSigningCertificatesPresent",
780
886
  AttachedPoliciesPerGroupQuota: "AttachedPoliciesPerGroupQuota",
781
887
  AttachedPoliciesPerRoleQuota: "AttachedPoliciesPerRoleQuota",
@@ -950,15 +1056,6 @@ var PolicyEvaluationDecisionType = {
950
1056
  EXPLICIT_DENY: "explicitDeny",
951
1057
  IMPLICIT_DENY: "implicitDeny"
952
1058
  };
953
- var PolicySourceType = {
954
- AWS_MANAGED: "aws-managed",
955
- GROUP: "group",
956
- NONE: "none",
957
- RESOURCE: "resource",
958
- ROLE: "role",
959
- USER: "user",
960
- USER_MANAGED: "user-managed"
961
- };
962
1059
  var AccessKeyFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
963
1060
  ...obj,
964
1061
  ...obj.SecretAccessKey && { SecretAccessKey: import_smithy_client.SENSITIVE_STRING }
@@ -1010,6 +1107,15 @@ var ResetServiceSpecificCredentialResponseFilterSensitiveLog = /* @__PURE__ */ _
1010
1107
 
1011
1108
  // src/models/models_1.ts
1012
1109
 
1110
+ var PolicySourceType = {
1111
+ AWS_MANAGED: "aws-managed",
1112
+ GROUP: "group",
1113
+ NONE: "none",
1114
+ RESOURCE: "resource",
1115
+ ROLE: "role",
1116
+ USER: "user",
1117
+ USER_MANAGED: "user-managed"
1118
+ };
1013
1119
  var _KeyPairMismatchException = class _KeyPairMismatchException extends IAMServiceException {
1014
1120
  /**
1015
1121
  * @internal
@@ -1600,6 +1706,26 @@ var se_DetachUserPolicyCommand = /* @__PURE__ */ __name(async (input, context) =
1600
1706
  });
1601
1707
  return buildHttpRpcRequest(context, headers, "/", void 0, body);
1602
1708
  }, "se_DetachUserPolicyCommand");
1709
+ var se_DisableOrganizationsRootCredentialsManagementCommand = /* @__PURE__ */ __name(async (input, context) => {
1710
+ const headers = SHARED_HEADERS;
1711
+ let body;
1712
+ body = buildFormUrlencodedString({
1713
+ ...se_DisableOrganizationsRootCredentialsManagementRequest(input, context),
1714
+ [_A]: _DORCM,
1715
+ [_V]: _
1716
+ });
1717
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
1718
+ }, "se_DisableOrganizationsRootCredentialsManagementCommand");
1719
+ var se_DisableOrganizationsRootSessionsCommand = /* @__PURE__ */ __name(async (input, context) => {
1720
+ const headers = SHARED_HEADERS;
1721
+ let body;
1722
+ body = buildFormUrlencodedString({
1723
+ ...se_DisableOrganizationsRootSessionsRequest(input, context),
1724
+ [_A]: _DORS,
1725
+ [_V]: _
1726
+ });
1727
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
1728
+ }, "se_DisableOrganizationsRootSessionsCommand");
1603
1729
  var se_EnableMFADeviceCommand = /* @__PURE__ */ __name(async (input, context) => {
1604
1730
  const headers = SHARED_HEADERS;
1605
1731
  let body;
@@ -1610,6 +1736,26 @@ var se_EnableMFADeviceCommand = /* @__PURE__ */ __name(async (input, context) =>
1610
1736
  });
1611
1737
  return buildHttpRpcRequest(context, headers, "/", void 0, body);
1612
1738
  }, "se_EnableMFADeviceCommand");
1739
+ var se_EnableOrganizationsRootCredentialsManagementCommand = /* @__PURE__ */ __name(async (input, context) => {
1740
+ const headers = SHARED_HEADERS;
1741
+ let body;
1742
+ body = buildFormUrlencodedString({
1743
+ ...se_EnableOrganizationsRootCredentialsManagementRequest(input, context),
1744
+ [_A]: _EORCM,
1745
+ [_V]: _
1746
+ });
1747
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
1748
+ }, "se_EnableOrganizationsRootCredentialsManagementCommand");
1749
+ var se_EnableOrganizationsRootSessionsCommand = /* @__PURE__ */ __name(async (input, context) => {
1750
+ const headers = SHARED_HEADERS;
1751
+ let body;
1752
+ body = buildFormUrlencodedString({
1753
+ ...se_EnableOrganizationsRootSessionsRequest(input, context),
1754
+ [_A]: _EORS,
1755
+ [_V]: _
1756
+ });
1757
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
1758
+ }, "se_EnableOrganizationsRootSessionsCommand");
1613
1759
  var se_GenerateCredentialReportCommand = /* @__PURE__ */ __name(async (input, context) => {
1614
1760
  const headers = SHARED_HEADERS;
1615
1761
  const body = buildFormUrlencodedString({
@@ -2052,6 +2198,16 @@ var se_ListOpenIDConnectProviderTagsCommand = /* @__PURE__ */ __name(async (inpu
2052
2198
  });
2053
2199
  return buildHttpRpcRequest(context, headers, "/", void 0, body);
2054
2200
  }, "se_ListOpenIDConnectProviderTagsCommand");
2201
+ var se_ListOrganizationsFeaturesCommand = /* @__PURE__ */ __name(async (input, context) => {
2202
+ const headers = SHARED_HEADERS;
2203
+ let body;
2204
+ body = buildFormUrlencodedString({
2205
+ ...se_ListOrganizationsFeaturesRequest(input, context),
2206
+ [_A]: _LOF,
2207
+ [_V]: _
2208
+ });
2209
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
2210
+ }, "se_ListOrganizationsFeaturesCommand");
2055
2211
  var se_ListPoliciesCommand = /* @__PURE__ */ __name(async (input, context) => {
2056
2212
  const headers = SHARED_HEADERS;
2057
2213
  let body;
@@ -3224,6 +3380,35 @@ var de_DetachUserPolicyCommand = /* @__PURE__ */ __name(async (output, context)
3224
3380
  };
3225
3381
  return response;
3226
3382
  }, "de_DetachUserPolicyCommand");
3383
+ var de_DisableOrganizationsRootCredentialsManagementCommand = /* @__PURE__ */ __name(async (output, context) => {
3384
+ if (output.statusCode >= 300) {
3385
+ return de_CommandError(output, context);
3386
+ }
3387
+ const data = await (0, import_core2.parseXmlBody)(output.body, context);
3388
+ let contents = {};
3389
+ contents = de_DisableOrganizationsRootCredentialsManagementResponse(
3390
+ data.DisableOrganizationsRootCredentialsManagementResult,
3391
+ context
3392
+ );
3393
+ const response = {
3394
+ $metadata: deserializeMetadata(output),
3395
+ ...contents
3396
+ };
3397
+ return response;
3398
+ }, "de_DisableOrganizationsRootCredentialsManagementCommand");
3399
+ var de_DisableOrganizationsRootSessionsCommand = /* @__PURE__ */ __name(async (output, context) => {
3400
+ if (output.statusCode >= 300) {
3401
+ return de_CommandError(output, context);
3402
+ }
3403
+ const data = await (0, import_core2.parseXmlBody)(output.body, context);
3404
+ let contents = {};
3405
+ contents = de_DisableOrganizationsRootSessionsResponse(data.DisableOrganizationsRootSessionsResult, context);
3406
+ const response = {
3407
+ $metadata: deserializeMetadata(output),
3408
+ ...contents
3409
+ };
3410
+ return response;
3411
+ }, "de_DisableOrganizationsRootSessionsCommand");
3227
3412
  var de_EnableMFADeviceCommand = /* @__PURE__ */ __name(async (output, context) => {
3228
3413
  if (output.statusCode >= 300) {
3229
3414
  return de_CommandError(output, context);
@@ -3234,6 +3419,35 @@ var de_EnableMFADeviceCommand = /* @__PURE__ */ __name(async (output, context) =
3234
3419
  };
3235
3420
  return response;
3236
3421
  }, "de_EnableMFADeviceCommand");
3422
+ var de_EnableOrganizationsRootCredentialsManagementCommand = /* @__PURE__ */ __name(async (output, context) => {
3423
+ if (output.statusCode >= 300) {
3424
+ return de_CommandError(output, context);
3425
+ }
3426
+ const data = await (0, import_core2.parseXmlBody)(output.body, context);
3427
+ let contents = {};
3428
+ contents = de_EnableOrganizationsRootCredentialsManagementResponse(
3429
+ data.EnableOrganizationsRootCredentialsManagementResult,
3430
+ context
3431
+ );
3432
+ const response = {
3433
+ $metadata: deserializeMetadata(output),
3434
+ ...contents
3435
+ };
3436
+ return response;
3437
+ }, "de_EnableOrganizationsRootCredentialsManagementCommand");
3438
+ var de_EnableOrganizationsRootSessionsCommand = /* @__PURE__ */ __name(async (output, context) => {
3439
+ if (output.statusCode >= 300) {
3440
+ return de_CommandError(output, context);
3441
+ }
3442
+ const data = await (0, import_core2.parseXmlBody)(output.body, context);
3443
+ let contents = {};
3444
+ contents = de_EnableOrganizationsRootSessionsResponse(data.EnableOrganizationsRootSessionsResult, context);
3445
+ const response = {
3446
+ $metadata: deserializeMetadata(output),
3447
+ ...contents
3448
+ };
3449
+ return response;
3450
+ }, "de_EnableOrganizationsRootSessionsCommand");
3237
3451
  var de_GenerateCredentialReportCommand = /* @__PURE__ */ __name(async (output, context) => {
3238
3452
  if (output.statusCode >= 300) {
3239
3453
  return de_CommandError(output, context);
@@ -3822,6 +4036,19 @@ var de_ListOpenIDConnectProviderTagsCommand = /* @__PURE__ */ __name(async (outp
3822
4036
  };
3823
4037
  return response;
3824
4038
  }, "de_ListOpenIDConnectProviderTagsCommand");
4039
+ var de_ListOrganizationsFeaturesCommand = /* @__PURE__ */ __name(async (output, context) => {
4040
+ if (output.statusCode >= 300) {
4041
+ return de_CommandError(output, context);
4042
+ }
4043
+ const data = await (0, import_core2.parseXmlBody)(output.body, context);
4044
+ let contents = {};
4045
+ contents = de_ListOrganizationsFeaturesResponse(data.ListOrganizationsFeaturesResult, context);
4046
+ const response = {
4047
+ $metadata: deserializeMetadata(output),
4048
+ ...contents
4049
+ };
4050
+ return response;
4051
+ }, "de_ListOrganizationsFeaturesCommand");
3825
4052
  var de_ListPoliciesCommand = /* @__PURE__ */ __name(async (output, context) => {
3826
4053
  if (output.statusCode >= 300) {
3827
4054
  return de_CommandError(output, context);
@@ -4605,9 +4832,24 @@ var de_CommandError = /* @__PURE__ */ __name(async (output, context) => {
4605
4832
  case "DeleteConflict":
4606
4833
  case "com.amazonaws.iam#DeleteConflictException":
4607
4834
  throw await de_DeleteConflictExceptionRes(parsedOutput, context);
4835
+ case "AccountNotManagementOrDelegatedAdministratorException":
4836
+ case "com.amazonaws.iam#AccountNotManagementOrDelegatedAdministratorException":
4837
+ throw await de_AccountNotManagementOrDelegatedAdministratorExceptionRes(parsedOutput, context);
4838
+ case "OrganizationNotFoundException":
4839
+ case "com.amazonaws.iam#OrganizationNotFoundException":
4840
+ throw await de_OrganizationNotFoundExceptionRes(parsedOutput, context);
4841
+ case "OrganizationNotInAllFeaturesModeException":
4842
+ case "com.amazonaws.iam#OrganizationNotInAllFeaturesModeException":
4843
+ throw await de_OrganizationNotInAllFeaturesModeExceptionRes(parsedOutput, context);
4844
+ case "ServiceAccessNotEnabledException":
4845
+ case "com.amazonaws.iam#ServiceAccessNotEnabledException":
4846
+ throw await de_ServiceAccessNotEnabledExceptionRes(parsedOutput, context);
4608
4847
  case "InvalidAuthenticationCode":
4609
4848
  case "com.amazonaws.iam#InvalidAuthenticationCodeException":
4610
4849
  throw await de_InvalidAuthenticationCodeExceptionRes(parsedOutput, context);
4850
+ case "CallerIsNotManagementAccountException":
4851
+ case "com.amazonaws.iam#CallerIsNotManagementAccountException":
4852
+ throw await de_CallerIsNotManagementAccountExceptionRes(parsedOutput, context);
4611
4853
  case "ReportGenerationLimitExceeded":
4612
4854
  case "com.amazonaws.iam#ReportGenerationLimitExceededException":
4613
4855
  throw await de_ReportGenerationLimitExceededExceptionRes(parsedOutput, context);
@@ -4653,6 +4895,24 @@ var de_CommandError = /* @__PURE__ */ __name(async (output, context) => {
4653
4895
  });
4654
4896
  }
4655
4897
  }, "de_CommandError");
4898
+ var de_AccountNotManagementOrDelegatedAdministratorExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
4899
+ const body = parsedOutput.body;
4900
+ const deserialized = de_AccountNotManagementOrDelegatedAdministratorException(body.Error, context);
4901
+ const exception = new AccountNotManagementOrDelegatedAdministratorException({
4902
+ $metadata: deserializeMetadata(parsedOutput),
4903
+ ...deserialized
4904
+ });
4905
+ return (0, import_smithy_client.decorateServiceException)(exception, body);
4906
+ }, "de_AccountNotManagementOrDelegatedAdministratorExceptionRes");
4907
+ var de_CallerIsNotManagementAccountExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
4908
+ const body = parsedOutput.body;
4909
+ const deserialized = de_CallerIsNotManagementAccountException(body.Error, context);
4910
+ const exception = new CallerIsNotManagementAccountException({
4911
+ $metadata: deserializeMetadata(parsedOutput),
4912
+ ...deserialized
4913
+ });
4914
+ return (0, import_smithy_client.decorateServiceException)(exception, body);
4915
+ }, "de_CallerIsNotManagementAccountExceptionRes");
4656
4916
  var de_ConcurrentModificationExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
4657
4917
  const body = parsedOutput.body;
4658
4918
  const deserialized = de_ConcurrentModificationException(body.Error, context);
@@ -4833,6 +5093,24 @@ var de_OpenIdIdpCommunicationErrorExceptionRes = /* @__PURE__ */ __name(async (p
4833
5093
  });
4834
5094
  return (0, import_smithy_client.decorateServiceException)(exception, body);
4835
5095
  }, "de_OpenIdIdpCommunicationErrorExceptionRes");
5096
+ var de_OrganizationNotFoundExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
5097
+ const body = parsedOutput.body;
5098
+ const deserialized = de_OrganizationNotFoundException(body.Error, context);
5099
+ const exception = new OrganizationNotFoundException({
5100
+ $metadata: deserializeMetadata(parsedOutput),
5101
+ ...deserialized
5102
+ });
5103
+ return (0, import_smithy_client.decorateServiceException)(exception, body);
5104
+ }, "de_OrganizationNotFoundExceptionRes");
5105
+ var de_OrganizationNotInAllFeaturesModeExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
5106
+ const body = parsedOutput.body;
5107
+ const deserialized = de_OrganizationNotInAllFeaturesModeException(body.Error, context);
5108
+ const exception = new OrganizationNotInAllFeaturesModeException({
5109
+ $metadata: deserializeMetadata(parsedOutput),
5110
+ ...deserialized
5111
+ });
5112
+ return (0, import_smithy_client.decorateServiceException)(exception, body);
5113
+ }, "de_OrganizationNotInAllFeaturesModeExceptionRes");
4836
5114
  var de_PasswordPolicyViolationExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
4837
5115
  const body = parsedOutput.body;
4838
5116
  const deserialized = de_PasswordPolicyViolationException(body.Error, context);
@@ -4869,6 +5147,15 @@ var de_ReportGenerationLimitExceededExceptionRes = /* @__PURE__ */ __name(async
4869
5147
  });
4870
5148
  return (0, import_smithy_client.decorateServiceException)(exception, body);
4871
5149
  }, "de_ReportGenerationLimitExceededExceptionRes");
5150
+ var de_ServiceAccessNotEnabledExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
5151
+ const body = parsedOutput.body;
5152
+ const deserialized = de_ServiceAccessNotEnabledException(body.Error, context);
5153
+ const exception = new ServiceAccessNotEnabledException({
5154
+ $metadata: deserializeMetadata(parsedOutput),
5155
+ ...deserialized
5156
+ });
5157
+ return (0, import_smithy_client.decorateServiceException)(exception, body);
5158
+ }, "de_ServiceAccessNotEnabledExceptionRes");
4872
5159
  var de_ServiceFailureExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
4873
5160
  const body = parsedOutput.body;
4874
5161
  const deserialized = de_ServiceFailureException(body.Error, context);
@@ -5523,6 +5810,14 @@ var se_DetachUserPolicyRequest = /* @__PURE__ */ __name((input, context) => {
5523
5810
  }
5524
5811
  return entries;
5525
5812
  }, "se_DetachUserPolicyRequest");
5813
+ var se_DisableOrganizationsRootCredentialsManagementRequest = /* @__PURE__ */ __name((input, context) => {
5814
+ const entries = {};
5815
+ return entries;
5816
+ }, "se_DisableOrganizationsRootCredentialsManagementRequest");
5817
+ var se_DisableOrganizationsRootSessionsRequest = /* @__PURE__ */ __name((input, context) => {
5818
+ const entries = {};
5819
+ return entries;
5820
+ }, "se_DisableOrganizationsRootSessionsRequest");
5526
5821
  var se_EnableMFADeviceRequest = /* @__PURE__ */ __name((input, context) => {
5527
5822
  const entries = {};
5528
5823
  if (input[_UN] != null) {
@@ -5539,6 +5834,14 @@ var se_EnableMFADeviceRequest = /* @__PURE__ */ __name((input, context) => {
5539
5834
  }
5540
5835
  return entries;
5541
5836
  }, "se_EnableMFADeviceRequest");
5837
+ var se_EnableOrganizationsRootCredentialsManagementRequest = /* @__PURE__ */ __name((input, context) => {
5838
+ const entries = {};
5839
+ return entries;
5840
+ }, "se_EnableOrganizationsRootCredentialsManagementRequest");
5841
+ var se_EnableOrganizationsRootSessionsRequest = /* @__PURE__ */ __name((input, context) => {
5842
+ const entries = {};
5843
+ return entries;
5844
+ }, "se_EnableOrganizationsRootSessionsRequest");
5542
5845
  var se_entityListType = /* @__PURE__ */ __name((input, context) => {
5543
5846
  const entries = {};
5544
5847
  let counter = 1;
@@ -6030,6 +6333,10 @@ var se_ListOpenIDConnectProviderTagsRequest = /* @__PURE__ */ __name((input, con
6030
6333
  }
6031
6334
  return entries;
6032
6335
  }, "se_ListOpenIDConnectProviderTagsRequest");
6336
+ var se_ListOrganizationsFeaturesRequest = /* @__PURE__ */ __name((input, context) => {
6337
+ const entries = {};
6338
+ return entries;
6339
+ }, "se_ListOrganizationsFeaturesRequest");
6033
6340
  var se_ListPoliciesGrantingServiceAccessRequest = /* @__PURE__ */ __name((input, context) => {
6034
6341
  var _a;
6035
6342
  const entries = {};
@@ -7254,6 +7561,13 @@ var de_accountAliasListType = /* @__PURE__ */ __name((output, context) => {
7254
7561
  return (0, import_smithy_client.expectString)(entry);
7255
7562
  });
7256
7563
  }, "de_accountAliasListType");
7564
+ var de_AccountNotManagementOrDelegatedAdministratorException = /* @__PURE__ */ __name((output, context) => {
7565
+ const contents = {};
7566
+ if (output[_Me] != null) {
7567
+ contents[_Me] = (0, import_smithy_client.expectString)(output[_Me]);
7568
+ }
7569
+ return contents;
7570
+ }, "de_AccountNotManagementOrDelegatedAdministratorException");
7257
7571
  var de_ArnListType = /* @__PURE__ */ __name((output, context) => {
7258
7572
  return (output || []).filter((e) => e != null).map((entry) => {
7259
7573
  return (0, import_smithy_client.expectString)(entry);
@@ -7284,6 +7598,13 @@ var de_AttachedPolicy = /* @__PURE__ */ __name((output, context) => {
7284
7598
  }
7285
7599
  return contents;
7286
7600
  }, "de_AttachedPolicy");
7601
+ var de_CallerIsNotManagementAccountException = /* @__PURE__ */ __name((output, context) => {
7602
+ const contents = {};
7603
+ if (output[_Me] != null) {
7604
+ contents[_Me] = (0, import_smithy_client.expectString)(output[_Me]);
7605
+ }
7606
+ return contents;
7607
+ }, "de_CallerIsNotManagementAccountException");
7287
7608
  var de_certificateListType = /* @__PURE__ */ __name((output, context) => {
7288
7609
  return (output || []).filter((e) => e != null).map((entry) => {
7289
7610
  return de_SigningCertificate(entry, context);
@@ -7463,6 +7784,30 @@ var de_DeletionTaskFailureReasonType = /* @__PURE__ */ __name((output, context)
7463
7784
  }
7464
7785
  return contents;
7465
7786
  }, "de_DeletionTaskFailureReasonType");
7787
+ var de_DisableOrganizationsRootCredentialsManagementResponse = /* @__PURE__ */ __name((output, context) => {
7788
+ const contents = {};
7789
+ if (output[_OI] != null) {
7790
+ contents[_OI] = (0, import_smithy_client.expectString)(output[_OI]);
7791
+ }
7792
+ if (output.EnabledFeatures === "") {
7793
+ contents[_EFn] = [];
7794
+ } else if (output[_EFn] != null && output[_EFn][_me] != null) {
7795
+ contents[_EFn] = de_FeaturesListType((0, import_smithy_client.getArrayIfSingleItem)(output[_EFn][_me]), context);
7796
+ }
7797
+ return contents;
7798
+ }, "de_DisableOrganizationsRootCredentialsManagementResponse");
7799
+ var de_DisableOrganizationsRootSessionsResponse = /* @__PURE__ */ __name((output, context) => {
7800
+ const contents = {};
7801
+ if (output[_OI] != null) {
7802
+ contents[_OI] = (0, import_smithy_client.expectString)(output[_OI]);
7803
+ }
7804
+ if (output.EnabledFeatures === "") {
7805
+ contents[_EFn] = [];
7806
+ } else if (output[_EFn] != null && output[_EFn][_me] != null) {
7807
+ contents[_EFn] = de_FeaturesListType((0, import_smithy_client.getArrayIfSingleItem)(output[_EFn][_me]), context);
7808
+ }
7809
+ return contents;
7810
+ }, "de_DisableOrganizationsRootSessionsResponse");
7466
7811
  var de_DuplicateCertificateException = /* @__PURE__ */ __name((output, context) => {
7467
7812
  const contents = {};
7468
7813
  if (output[_m] != null) {
@@ -7477,6 +7822,30 @@ var de_DuplicateSSHPublicKeyException = /* @__PURE__ */ __name((output, context)
7477
7822
  }
7478
7823
  return contents;
7479
7824
  }, "de_DuplicateSSHPublicKeyException");
7825
+ var de_EnableOrganizationsRootCredentialsManagementResponse = /* @__PURE__ */ __name((output, context) => {
7826
+ const contents = {};
7827
+ if (output[_OI] != null) {
7828
+ contents[_OI] = (0, import_smithy_client.expectString)(output[_OI]);
7829
+ }
7830
+ if (output.EnabledFeatures === "") {
7831
+ contents[_EFn] = [];
7832
+ } else if (output[_EFn] != null && output[_EFn][_me] != null) {
7833
+ contents[_EFn] = de_FeaturesListType((0, import_smithy_client.getArrayIfSingleItem)(output[_EFn][_me]), context);
7834
+ }
7835
+ return contents;
7836
+ }, "de_EnableOrganizationsRootCredentialsManagementResponse");
7837
+ var de_EnableOrganizationsRootSessionsResponse = /* @__PURE__ */ __name((output, context) => {
7838
+ const contents = {};
7839
+ if (output[_OI] != null) {
7840
+ contents[_OI] = (0, import_smithy_client.expectString)(output[_OI]);
7841
+ }
7842
+ if (output.EnabledFeatures === "") {
7843
+ contents[_EFn] = [];
7844
+ } else if (output[_EFn] != null && output[_EFn][_me] != null) {
7845
+ contents[_EFn] = de_FeaturesListType((0, import_smithy_client.getArrayIfSingleItem)(output[_EFn][_me]), context);
7846
+ }
7847
+ return contents;
7848
+ }, "de_EnableOrganizationsRootSessionsResponse");
7480
7849
  var de_EntityAlreadyExistsException = /* @__PURE__ */ __name((output, context) => {
7481
7850
  const contents = {};
7482
7851
  if (output[_m] != null) {
@@ -7588,6 +7957,11 @@ var de_EvaluationResultsListType = /* @__PURE__ */ __name((output, context) => {
7588
7957
  return de_EvaluationResult(entry, context);
7589
7958
  });
7590
7959
  }, "de_EvaluationResultsListType");
7960
+ var de_FeaturesListType = /* @__PURE__ */ __name((output, context) => {
7961
+ return (output || []).filter((e) => e != null).map((entry) => {
7962
+ return (0, import_smithy_client.expectString)(entry);
7963
+ });
7964
+ }, "de_FeaturesListType");
7591
7965
  var de_GenerateCredentialReportResponse = /* @__PURE__ */ __name((output, context) => {
7592
7966
  const contents = {};
7593
7967
  if (output[_Sta] != null) {
@@ -8354,6 +8728,18 @@ var de_ListOpenIDConnectProviderTagsResponse = /* @__PURE__ */ __name((output, c
8354
8728
  }
8355
8729
  return contents;
8356
8730
  }, "de_ListOpenIDConnectProviderTagsResponse");
8731
+ var de_ListOrganizationsFeaturesResponse = /* @__PURE__ */ __name((output, context) => {
8732
+ const contents = {};
8733
+ if (output[_OI] != null) {
8734
+ contents[_OI] = (0, import_smithy_client.expectString)(output[_OI]);
8735
+ }
8736
+ if (output.EnabledFeatures === "") {
8737
+ contents[_EFn] = [];
8738
+ } else if (output[_EFn] != null && output[_EFn][_me] != null) {
8739
+ contents[_EFn] = de_FeaturesListType((0, import_smithy_client.getArrayIfSingleItem)(output[_EFn][_me]), context);
8740
+ }
8741
+ return contents;
8742
+ }, "de_ListOrganizationsFeaturesResponse");
8357
8743
  var de_ListPoliciesGrantingServiceAccessEntry = /* @__PURE__ */ __name((output, context) => {
8358
8744
  const contents = {};
8359
8745
  if (output[_SNer] != null) {
@@ -8750,6 +9136,20 @@ var de_OpenIdIdpCommunicationErrorException = /* @__PURE__ */ __name((output, co
8750
9136
  }
8751
9137
  return contents;
8752
9138
  }, "de_OpenIdIdpCommunicationErrorException");
9139
+ var de_OrganizationNotFoundException = /* @__PURE__ */ __name((output, context) => {
9140
+ const contents = {};
9141
+ if (output[_Me] != null) {
9142
+ contents[_Me] = (0, import_smithy_client.expectString)(output[_Me]);
9143
+ }
9144
+ return contents;
9145
+ }, "de_OrganizationNotFoundException");
9146
+ var de_OrganizationNotInAllFeaturesModeException = /* @__PURE__ */ __name((output, context) => {
9147
+ const contents = {};
9148
+ if (output[_Me] != null) {
9149
+ contents[_Me] = (0, import_smithy_client.expectString)(output[_Me]);
9150
+ }
9151
+ return contents;
9152
+ }, "de_OrganizationNotInAllFeaturesModeException");
8753
9153
  var de_OrganizationsDecisionDetail = /* @__PURE__ */ __name((output, context) => {
8754
9154
  const contents = {};
8755
9155
  if (output[_ABO] != null) {
@@ -9220,6 +9620,13 @@ var de_serverCertificateMetadataListType = /* @__PURE__ */ __name((output, conte
9220
9620
  return de_ServerCertificateMetadata(entry, context);
9221
9621
  });
9222
9622
  }, "de_serverCertificateMetadataListType");
9623
+ var de_ServiceAccessNotEnabledException = /* @__PURE__ */ __name((output, context) => {
9624
+ const contents = {};
9625
+ if (output[_Me] != null) {
9626
+ contents[_Me] = (0, import_smithy_client.expectString)(output[_Me]);
9627
+ }
9628
+ return contents;
9629
+ }, "de_ServiceAccessNotEnabledException");
9223
9630
  var de_ServiceFailureException = /* @__PURE__ */ __name((output, context) => {
9224
9631
  const contents = {};
9225
9632
  if (output[_m] != null) {
@@ -9738,6 +10145,8 @@ var _DIP = "DeleteInstanceProfile";
9738
10145
  var _DLP = "DeleteLoginProfile";
9739
10146
  var _DMFAD = "DeactivateMFADevice";
9740
10147
  var _DOIDCP = "DeleteOpenIDConnectProvider";
10148
+ var _DORCM = "DisableOrganizationsRootCredentialsManagement";
10149
+ var _DORS = "DisableOrganizationsRootSessions";
9741
10150
  var _DP = "DeletePolicy";
9742
10151
  var _DPV = "DeletePolicyVersion";
9743
10152
  var _DR = "DeleteRole";
@@ -9766,9 +10175,12 @@ var _EDL = "EntityDetailsList";
9766
10175
  var _EDn = "EnableDate";
9767
10176
  var _EDr = "ErrorDetails";
9768
10177
  var _EF = "EntityFilter";
10178
+ var _EFn = "EnabledFeatures";
9769
10179
  var _EI = "EntityInfo";
9770
10180
  var _EMFAD = "EnableMFADevice";
9771
10181
  var _EN = "EntityName";
10182
+ var _EORCM = "EnableOrganizationsRootCredentialsManagement";
10183
+ var _EORS = "EnableOrganizationsRootSessions";
9772
10184
  var _EP = "EntityPath";
9773
10185
  var _EPn = "EndPosition";
9774
10186
  var _EPx = "ExpirePasswords";
@@ -9857,6 +10269,7 @@ var _LIPFR = "ListInstanceProfilesForRole";
9857
10269
  var _LIPT = "ListInstanceProfileTags";
9858
10270
  var _LMFAD = "ListMFADevices";
9859
10271
  var _LMFADT = "ListMFADeviceTags";
10272
+ var _LOF = "ListOrganizationsFeatures";
9860
10273
  var _LOIDCP = "ListOpenIDConnectProviders";
9861
10274
  var _LOIDCPT = "ListOpenIDConnectProviderTags";
9862
10275
  var _LP = "ListPolicies";
@@ -9898,6 +10311,7 @@ var _NSCN = "NewServerCertificateName";
9898
10311
  var _NUN = "NewUserName";
9899
10312
  var _OA = "OnlyAttached";
9900
10313
  var _ODD = "OrganizationsDecisionDetail";
10314
+ var _OI = "OrganizationId";
9901
10315
  var _OIDCPA = "OpenIDConnectProviderArn";
9902
10316
  var _OIDCPL = "OpenIDConnectProviderList";
9903
10317
  var _OP = "OldPassword";
@@ -10740,6 +11154,34 @@ var _DetachUserPolicyCommand = class _DetachUserPolicyCommand extends import_smi
10740
11154
  __name(_DetachUserPolicyCommand, "DetachUserPolicyCommand");
10741
11155
  var DetachUserPolicyCommand = _DetachUserPolicyCommand;
10742
11156
 
11157
+ // src/commands/DisableOrganizationsRootCredentialsManagementCommand.ts
11158
+
11159
+
11160
+
11161
+ var _DisableOrganizationsRootCredentialsManagementCommand = class _DisableOrganizationsRootCredentialsManagementCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
11162
+ return [
11163
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
11164
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
11165
+ ];
11166
+ }).s("AWSIdentityManagementV20100508", "DisableOrganizationsRootCredentialsManagement", {}).n("IAMClient", "DisableOrganizationsRootCredentialsManagementCommand").f(void 0, void 0).ser(se_DisableOrganizationsRootCredentialsManagementCommand).de(de_DisableOrganizationsRootCredentialsManagementCommand).build() {
11167
+ };
11168
+ __name(_DisableOrganizationsRootCredentialsManagementCommand, "DisableOrganizationsRootCredentialsManagementCommand");
11169
+ var DisableOrganizationsRootCredentialsManagementCommand = _DisableOrganizationsRootCredentialsManagementCommand;
11170
+
11171
+ // src/commands/DisableOrganizationsRootSessionsCommand.ts
11172
+
11173
+
11174
+
11175
+ var _DisableOrganizationsRootSessionsCommand = class _DisableOrganizationsRootSessionsCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
11176
+ return [
11177
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
11178
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
11179
+ ];
11180
+ }).s("AWSIdentityManagementV20100508", "DisableOrganizationsRootSessions", {}).n("IAMClient", "DisableOrganizationsRootSessionsCommand").f(void 0, void 0).ser(se_DisableOrganizationsRootSessionsCommand).de(de_DisableOrganizationsRootSessionsCommand).build() {
11181
+ };
11182
+ __name(_DisableOrganizationsRootSessionsCommand, "DisableOrganizationsRootSessionsCommand");
11183
+ var DisableOrganizationsRootSessionsCommand = _DisableOrganizationsRootSessionsCommand;
11184
+
10743
11185
  // src/commands/EnableMFADeviceCommand.ts
10744
11186
 
10745
11187
 
@@ -10754,6 +11196,34 @@ var _EnableMFADeviceCommand = class _EnableMFADeviceCommand extends import_smith
10754
11196
  __name(_EnableMFADeviceCommand, "EnableMFADeviceCommand");
10755
11197
  var EnableMFADeviceCommand = _EnableMFADeviceCommand;
10756
11198
 
11199
+ // src/commands/EnableOrganizationsRootCredentialsManagementCommand.ts
11200
+
11201
+
11202
+
11203
+ var _EnableOrganizationsRootCredentialsManagementCommand = class _EnableOrganizationsRootCredentialsManagementCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
11204
+ return [
11205
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
11206
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
11207
+ ];
11208
+ }).s("AWSIdentityManagementV20100508", "EnableOrganizationsRootCredentialsManagement", {}).n("IAMClient", "EnableOrganizationsRootCredentialsManagementCommand").f(void 0, void 0).ser(se_EnableOrganizationsRootCredentialsManagementCommand).de(de_EnableOrganizationsRootCredentialsManagementCommand).build() {
11209
+ };
11210
+ __name(_EnableOrganizationsRootCredentialsManagementCommand, "EnableOrganizationsRootCredentialsManagementCommand");
11211
+ var EnableOrganizationsRootCredentialsManagementCommand = _EnableOrganizationsRootCredentialsManagementCommand;
11212
+
11213
+ // src/commands/EnableOrganizationsRootSessionsCommand.ts
11214
+
11215
+
11216
+
11217
+ var _EnableOrganizationsRootSessionsCommand = class _EnableOrganizationsRootSessionsCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
11218
+ return [
11219
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
11220
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
11221
+ ];
11222
+ }).s("AWSIdentityManagementV20100508", "EnableOrganizationsRootSessions", {}).n("IAMClient", "EnableOrganizationsRootSessionsCommand").f(void 0, void 0).ser(se_EnableOrganizationsRootSessionsCommand).de(de_EnableOrganizationsRootSessionsCommand).build() {
11223
+ };
11224
+ __name(_EnableOrganizationsRootSessionsCommand, "EnableOrganizationsRootSessionsCommand");
11225
+ var EnableOrganizationsRootSessionsCommand = _EnableOrganizationsRootSessionsCommand;
11226
+
10757
11227
  // src/commands/GenerateCredentialReportCommand.ts
10758
11228
 
10759
11229
 
@@ -11384,6 +11854,20 @@ var _ListOpenIDConnectProviderTagsCommand = class _ListOpenIDConnectProviderTags
11384
11854
  __name(_ListOpenIDConnectProviderTagsCommand, "ListOpenIDConnectProviderTagsCommand");
11385
11855
  var ListOpenIDConnectProviderTagsCommand = _ListOpenIDConnectProviderTagsCommand;
11386
11856
 
11857
+ // src/commands/ListOrganizationsFeaturesCommand.ts
11858
+
11859
+
11860
+
11861
+ var _ListOrganizationsFeaturesCommand = class _ListOrganizationsFeaturesCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
11862
+ return [
11863
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
11864
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
11865
+ ];
11866
+ }).s("AWSIdentityManagementV20100508", "ListOrganizationsFeatures", {}).n("IAMClient", "ListOrganizationsFeaturesCommand").f(void 0, void 0).ser(se_ListOrganizationsFeaturesCommand).de(de_ListOrganizationsFeaturesCommand).build() {
11867
+ };
11868
+ __name(_ListOrganizationsFeaturesCommand, "ListOrganizationsFeaturesCommand");
11869
+ var ListOrganizationsFeaturesCommand = _ListOrganizationsFeaturesCommand;
11870
+
11387
11871
  // src/commands/ListPoliciesCommand.ts
11388
11872
 
11389
11873
 
@@ -12344,7 +12828,11 @@ var commands = {
12344
12828
  DetachGroupPolicyCommand,
12345
12829
  DetachRolePolicyCommand,
12346
12830
  DetachUserPolicyCommand,
12831
+ DisableOrganizationsRootCredentialsManagementCommand,
12832
+ DisableOrganizationsRootSessionsCommand,
12347
12833
  EnableMFADeviceCommand,
12834
+ EnableOrganizationsRootCredentialsManagementCommand,
12835
+ EnableOrganizationsRootSessionsCommand,
12348
12836
  GenerateCredentialReportCommand,
12349
12837
  GenerateOrganizationsAccessReportCommand,
12350
12838
  GenerateServiceLastAccessedDetailsCommand,
@@ -12390,6 +12878,7 @@ var commands = {
12390
12878
  ListMFADeviceTagsCommand,
12391
12879
  ListOpenIDConnectProvidersCommand,
12392
12880
  ListOpenIDConnectProviderTagsCommand,
12881
+ ListOrganizationsFeaturesCommand,
12393
12882
  ListPoliciesCommand,
12394
12883
  ListPoliciesGrantingServiceAccessCommand,
12395
12884
  ListPolicyTagsCommand,
@@ -12757,7 +13246,11 @@ var waitUntilUserExists = /* @__PURE__ */ __name(async (params, input) => {
12757
13246
  DetachGroupPolicyCommand,
12758
13247
  DetachRolePolicyCommand,
12759
13248
  DetachUserPolicyCommand,
13249
+ DisableOrganizationsRootCredentialsManagementCommand,
13250
+ DisableOrganizationsRootSessionsCommand,
12760
13251
  EnableMFADeviceCommand,
13252
+ EnableOrganizationsRootCredentialsManagementCommand,
13253
+ EnableOrganizationsRootSessionsCommand,
12761
13254
  GenerateCredentialReportCommand,
12762
13255
  GenerateOrganizationsAccessReportCommand,
12763
13256
  GenerateServiceLastAccessedDetailsCommand,
@@ -12803,6 +13296,7 @@ var waitUntilUserExists = /* @__PURE__ */ __name(async (params, input) => {
12803
13296
  ListMFADevicesCommand,
12804
13297
  ListOpenIDConnectProviderTagsCommand,
12805
13298
  ListOpenIDConnectProvidersCommand,
13299
+ ListOrganizationsFeaturesCommand,
12806
13300
  ListPoliciesCommand,
12807
13301
  ListPoliciesGrantingServiceAccessCommand,
12808
13302
  ListPolicyTagsCommand,
@@ -12912,6 +13406,7 @@ var waitUntilUserExists = /* @__PURE__ */ __name(async (params, input) => {
12912
13406
  waitUntilUserExists,
12913
13407
  AccessAdvisorUsageGranularityType,
12914
13408
  StatusType,
13409
+ AccountNotManagementOrDelegatedAdministratorException,
12915
13410
  InvalidInputException,
12916
13411
  LimitExceededException,
12917
13412
  NoSuchEntityException,
@@ -12929,7 +13424,12 @@ var waitUntilUserExists = /* @__PURE__ */ __name(async (params, input) => {
12929
13424
  MalformedPolicyDocumentException,
12930
13425
  ServiceNotSupportedException,
12931
13426
  DeleteConflictException,
13427
+ FeatureType,
13428
+ OrganizationNotFoundException,
13429
+ OrganizationNotInAllFeaturesModeException,
13430
+ ServiceAccessNotEnabledException,
12932
13431
  InvalidAuthenticationCodeException,
13432
+ CallerIsNotManagementAccountException,
12933
13433
  ReportStateType,
12934
13434
  ReportGenerationLimitExceededException,
12935
13435
  EntityType,
@@ -12951,7 +13451,6 @@ var waitUntilUserExists = /* @__PURE__ */ __name(async (params, input) => {
12951
13451
  PolicyEvaluationException,
12952
13452
  ContextKeyTypeEnum,
12953
13453
  PolicyEvaluationDecisionType,
12954
- PolicySourceType,
12955
13454
  AccessKeyFilterSensitiveLog,
12956
13455
  ChangePasswordRequestFilterSensitiveLog,
12957
13456
  CreateAccessKeyResponseFilterSensitiveLog,
@@ -12962,6 +13461,7 @@ var waitUntilUserExists = /* @__PURE__ */ __name(async (params, input) => {
12962
13461
  CreateVirtualMFADeviceResponseFilterSensitiveLog,
12963
13462
  ListVirtualMFADevicesResponseFilterSensitiveLog,
12964
13463
  ResetServiceSpecificCredentialResponseFilterSensitiveLog,
13464
+ PolicySourceType,
12965
13465
  KeyPairMismatchException,
12966
13466
  MalformedCertificateException,
12967
13467
  DuplicateCertificateException,