@aws-sdk/client-iam 3.929.0 → 3.930.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 (192) hide show
  1. package/dist-cjs/index.js +3367 -10560
  2. package/dist-cjs/runtimeConfig.shared.js +7 -0
  3. package/dist-es/IAMClient.js +2 -0
  4. package/dist-es/commands/AddClientIDToOpenIDConnectProviderCommand.js +3 -9
  5. package/dist-es/commands/AddRoleToInstanceProfileCommand.js +3 -9
  6. package/dist-es/commands/AddUserToGroupCommand.js +3 -9
  7. package/dist-es/commands/AttachGroupPolicyCommand.js +3 -9
  8. package/dist-es/commands/AttachRolePolicyCommand.js +3 -9
  9. package/dist-es/commands/AttachUserPolicyCommand.js +3 -9
  10. package/dist-es/commands/ChangePasswordCommand.js +3 -10
  11. package/dist-es/commands/CreateAccessKeyCommand.js +3 -10
  12. package/dist-es/commands/CreateAccountAliasCommand.js +3 -9
  13. package/dist-es/commands/CreateDelegationRequestCommand.js +3 -9
  14. package/dist-es/commands/CreateGroupCommand.js +3 -9
  15. package/dist-es/commands/CreateInstanceProfileCommand.js +3 -9
  16. package/dist-es/commands/CreateLoginProfileCommand.js +3 -10
  17. package/dist-es/commands/CreateOpenIDConnectProviderCommand.js +3 -9
  18. package/dist-es/commands/CreatePolicyCommand.js +3 -9
  19. package/dist-es/commands/CreatePolicyVersionCommand.js +3 -9
  20. package/dist-es/commands/CreateRoleCommand.js +3 -9
  21. package/dist-es/commands/CreateSAMLProviderCommand.js +3 -10
  22. package/dist-es/commands/CreateServiceLinkedRoleCommand.js +3 -9
  23. package/dist-es/commands/CreateServiceSpecificCredentialCommand.js +3 -10
  24. package/dist-es/commands/CreateUserCommand.js +3 -9
  25. package/dist-es/commands/CreateVirtualMFADeviceCommand.js +3 -10
  26. package/dist-es/commands/DeactivateMFADeviceCommand.js +3 -9
  27. package/dist-es/commands/DeleteAccessKeyCommand.js +3 -9
  28. package/dist-es/commands/DeleteAccountAliasCommand.js +3 -9
  29. package/dist-es/commands/DeleteAccountPasswordPolicyCommand.js +3 -9
  30. package/dist-es/commands/DeleteGroupCommand.js +3 -9
  31. package/dist-es/commands/DeleteGroupPolicyCommand.js +3 -9
  32. package/dist-es/commands/DeleteInstanceProfileCommand.js +3 -9
  33. package/dist-es/commands/DeleteLoginProfileCommand.js +3 -9
  34. package/dist-es/commands/DeleteOpenIDConnectProviderCommand.js +3 -9
  35. package/dist-es/commands/DeletePolicyCommand.js +3 -9
  36. package/dist-es/commands/DeletePolicyVersionCommand.js +3 -9
  37. package/dist-es/commands/DeleteRoleCommand.js +3 -9
  38. package/dist-es/commands/DeleteRolePermissionsBoundaryCommand.js +3 -9
  39. package/dist-es/commands/DeleteRolePolicyCommand.js +3 -9
  40. package/dist-es/commands/DeleteSAMLProviderCommand.js +3 -9
  41. package/dist-es/commands/DeleteSSHPublicKeyCommand.js +3 -9
  42. package/dist-es/commands/DeleteServerCertificateCommand.js +3 -9
  43. package/dist-es/commands/DeleteServiceLinkedRoleCommand.js +3 -9
  44. package/dist-es/commands/DeleteServiceSpecificCredentialCommand.js +3 -9
  45. package/dist-es/commands/DeleteSigningCertificateCommand.js +3 -9
  46. package/dist-es/commands/DeleteUserCommand.js +3 -9
  47. package/dist-es/commands/DeleteUserPermissionsBoundaryCommand.js +3 -9
  48. package/dist-es/commands/DeleteUserPolicyCommand.js +3 -9
  49. package/dist-es/commands/DeleteVirtualMFADeviceCommand.js +3 -9
  50. package/dist-es/commands/DetachGroupPolicyCommand.js +3 -9
  51. package/dist-es/commands/DetachRolePolicyCommand.js +3 -9
  52. package/dist-es/commands/DetachUserPolicyCommand.js +3 -9
  53. package/dist-es/commands/DisableOrganizationsRootCredentialsManagementCommand.js +3 -9
  54. package/dist-es/commands/DisableOrganizationsRootSessionsCommand.js +3 -9
  55. package/dist-es/commands/EnableMFADeviceCommand.js +3 -9
  56. package/dist-es/commands/EnableOrganizationsRootCredentialsManagementCommand.js +3 -9
  57. package/dist-es/commands/EnableOrganizationsRootSessionsCommand.js +3 -9
  58. package/dist-es/commands/GenerateCredentialReportCommand.js +3 -9
  59. package/dist-es/commands/GenerateOrganizationsAccessReportCommand.js +3 -9
  60. package/dist-es/commands/GenerateServiceLastAccessedDetailsCommand.js +3 -9
  61. package/dist-es/commands/GetAccessKeyLastUsedCommand.js +3 -9
  62. package/dist-es/commands/GetAccountAuthorizationDetailsCommand.js +3 -9
  63. package/dist-es/commands/GetAccountPasswordPolicyCommand.js +3 -9
  64. package/dist-es/commands/GetAccountSummaryCommand.js +3 -9
  65. package/dist-es/commands/GetContextKeysForCustomPolicyCommand.js +3 -9
  66. package/dist-es/commands/GetContextKeysForPrincipalPolicyCommand.js +3 -9
  67. package/dist-es/commands/GetCredentialReportCommand.js +3 -9
  68. package/dist-es/commands/GetGroupCommand.js +3 -9
  69. package/dist-es/commands/GetGroupPolicyCommand.js +3 -9
  70. package/dist-es/commands/GetInstanceProfileCommand.js +3 -9
  71. package/dist-es/commands/GetLoginProfileCommand.js +3 -9
  72. package/dist-es/commands/GetMFADeviceCommand.js +3 -9
  73. package/dist-es/commands/GetOpenIDConnectProviderCommand.js +3 -9
  74. package/dist-es/commands/GetOrganizationsAccessReportCommand.js +3 -9
  75. package/dist-es/commands/GetPolicyCommand.js +3 -9
  76. package/dist-es/commands/GetPolicyVersionCommand.js +3 -9
  77. package/dist-es/commands/GetRoleCommand.js +3 -9
  78. package/dist-es/commands/GetRolePolicyCommand.js +3 -9
  79. package/dist-es/commands/GetSAMLProviderCommand.js +3 -9
  80. package/dist-es/commands/GetSSHPublicKeyCommand.js +3 -9
  81. package/dist-es/commands/GetServerCertificateCommand.js +3 -9
  82. package/dist-es/commands/GetServiceLastAccessedDetailsCommand.js +3 -9
  83. package/dist-es/commands/GetServiceLastAccessedDetailsWithEntitiesCommand.js +3 -9
  84. package/dist-es/commands/GetServiceLinkedRoleDeletionStatusCommand.js +3 -9
  85. package/dist-es/commands/GetUserCommand.js +3 -9
  86. package/dist-es/commands/GetUserPolicyCommand.js +3 -9
  87. package/dist-es/commands/ListAccessKeysCommand.js +3 -9
  88. package/dist-es/commands/ListAccountAliasesCommand.js +3 -9
  89. package/dist-es/commands/ListAttachedGroupPoliciesCommand.js +3 -9
  90. package/dist-es/commands/ListAttachedRolePoliciesCommand.js +3 -9
  91. package/dist-es/commands/ListAttachedUserPoliciesCommand.js +3 -9
  92. package/dist-es/commands/ListEntitiesForPolicyCommand.js +3 -9
  93. package/dist-es/commands/ListGroupPoliciesCommand.js +3 -9
  94. package/dist-es/commands/ListGroupsCommand.js +3 -9
  95. package/dist-es/commands/ListGroupsForUserCommand.js +3 -9
  96. package/dist-es/commands/ListInstanceProfileTagsCommand.js +3 -9
  97. package/dist-es/commands/ListInstanceProfilesCommand.js +3 -9
  98. package/dist-es/commands/ListInstanceProfilesForRoleCommand.js +3 -9
  99. package/dist-es/commands/ListMFADeviceTagsCommand.js +3 -9
  100. package/dist-es/commands/ListMFADevicesCommand.js +3 -9
  101. package/dist-es/commands/ListOpenIDConnectProviderTagsCommand.js +3 -9
  102. package/dist-es/commands/ListOpenIDConnectProvidersCommand.js +3 -9
  103. package/dist-es/commands/ListOrganizationsFeaturesCommand.js +3 -9
  104. package/dist-es/commands/ListPoliciesCommand.js +3 -9
  105. package/dist-es/commands/ListPoliciesGrantingServiceAccessCommand.js +3 -9
  106. package/dist-es/commands/ListPolicyTagsCommand.js +3 -9
  107. package/dist-es/commands/ListPolicyVersionsCommand.js +3 -9
  108. package/dist-es/commands/ListRolePoliciesCommand.js +3 -9
  109. package/dist-es/commands/ListRoleTagsCommand.js +3 -9
  110. package/dist-es/commands/ListRolesCommand.js +3 -9
  111. package/dist-es/commands/ListSAMLProviderTagsCommand.js +3 -9
  112. package/dist-es/commands/ListSAMLProvidersCommand.js +3 -9
  113. package/dist-es/commands/ListSSHPublicKeysCommand.js +3 -9
  114. package/dist-es/commands/ListServerCertificateTagsCommand.js +3 -9
  115. package/dist-es/commands/ListServerCertificatesCommand.js +3 -9
  116. package/dist-es/commands/ListServiceSpecificCredentialsCommand.js +3 -9
  117. package/dist-es/commands/ListSigningCertificatesCommand.js +3 -9
  118. package/dist-es/commands/ListUserPoliciesCommand.js +3 -9
  119. package/dist-es/commands/ListUserTagsCommand.js +3 -9
  120. package/dist-es/commands/ListUsersCommand.js +3 -9
  121. package/dist-es/commands/ListVirtualMFADevicesCommand.js +3 -10
  122. package/dist-es/commands/PutGroupPolicyCommand.js +3 -9
  123. package/dist-es/commands/PutRolePermissionsBoundaryCommand.js +3 -9
  124. package/dist-es/commands/PutRolePolicyCommand.js +3 -9
  125. package/dist-es/commands/PutUserPermissionsBoundaryCommand.js +3 -9
  126. package/dist-es/commands/PutUserPolicyCommand.js +3 -9
  127. package/dist-es/commands/RemoveClientIDFromOpenIDConnectProviderCommand.js +3 -9
  128. package/dist-es/commands/RemoveRoleFromInstanceProfileCommand.js +3 -9
  129. package/dist-es/commands/RemoveUserFromGroupCommand.js +3 -9
  130. package/dist-es/commands/ResetServiceSpecificCredentialCommand.js +3 -10
  131. package/dist-es/commands/ResyncMFADeviceCommand.js +3 -9
  132. package/dist-es/commands/SetDefaultPolicyVersionCommand.js +3 -9
  133. package/dist-es/commands/SetSecurityTokenServicePreferencesCommand.js +3 -9
  134. package/dist-es/commands/SimulateCustomPolicyCommand.js +3 -9
  135. package/dist-es/commands/SimulatePrincipalPolicyCommand.js +3 -9
  136. package/dist-es/commands/TagInstanceProfileCommand.js +3 -9
  137. package/dist-es/commands/TagMFADeviceCommand.js +3 -9
  138. package/dist-es/commands/TagOpenIDConnectProviderCommand.js +3 -9
  139. package/dist-es/commands/TagPolicyCommand.js +3 -9
  140. package/dist-es/commands/TagRoleCommand.js +3 -9
  141. package/dist-es/commands/TagSAMLProviderCommand.js +3 -9
  142. package/dist-es/commands/TagServerCertificateCommand.js +3 -9
  143. package/dist-es/commands/TagUserCommand.js +3 -9
  144. package/dist-es/commands/UntagInstanceProfileCommand.js +3 -9
  145. package/dist-es/commands/UntagMFADeviceCommand.js +3 -9
  146. package/dist-es/commands/UntagOpenIDConnectProviderCommand.js +3 -9
  147. package/dist-es/commands/UntagPolicyCommand.js +3 -9
  148. package/dist-es/commands/UntagRoleCommand.js +3 -9
  149. package/dist-es/commands/UntagSAMLProviderCommand.js +3 -9
  150. package/dist-es/commands/UntagServerCertificateCommand.js +3 -9
  151. package/dist-es/commands/UntagUserCommand.js +3 -9
  152. package/dist-es/commands/UpdateAccessKeyCommand.js +3 -9
  153. package/dist-es/commands/UpdateAccountPasswordPolicyCommand.js +3 -9
  154. package/dist-es/commands/UpdateAssumeRolePolicyCommand.js +3 -9
  155. package/dist-es/commands/UpdateGroupCommand.js +3 -9
  156. package/dist-es/commands/UpdateLoginProfileCommand.js +3 -10
  157. package/dist-es/commands/UpdateOpenIDConnectProviderThumbprintCommand.js +3 -9
  158. package/dist-es/commands/UpdateRoleCommand.js +3 -9
  159. package/dist-es/commands/UpdateRoleDescriptionCommand.js +3 -9
  160. package/dist-es/commands/UpdateSAMLProviderCommand.js +3 -10
  161. package/dist-es/commands/UpdateSSHPublicKeyCommand.js +3 -9
  162. package/dist-es/commands/UpdateServerCertificateCommand.js +3 -9
  163. package/dist-es/commands/UpdateServiceSpecificCredentialCommand.js +3 -9
  164. package/dist-es/commands/UpdateSigningCertificateCommand.js +3 -9
  165. package/dist-es/commands/UpdateUserCommand.js +3 -9
  166. package/dist-es/commands/UploadSSHPublicKeyCommand.js +3 -9
  167. package/dist-es/commands/UploadServerCertificateCommand.js +3 -10
  168. package/dist-es/commands/UploadSigningCertificateCommand.js +3 -9
  169. package/dist-es/models/models_0.js +0 -54
  170. package/dist-es/models/models_1.js +0 -13
  171. package/dist-es/runtimeConfig.shared.js +7 -0
  172. package/dist-es/schemas/schemas_0.js +3353 -0
  173. package/dist-types/IAMClient.d.ts +10 -1
  174. package/dist-types/models/models_0.d.ts +0 -44
  175. package/dist-types/models/models_1.d.ts +0 -12
  176. package/dist-types/runtimeConfig.browser.d.ts +1 -0
  177. package/dist-types/runtimeConfig.d.ts +1 -0
  178. package/dist-types/runtimeConfig.native.d.ts +1 -0
  179. package/dist-types/runtimeConfig.shared.d.ts +1 -0
  180. package/dist-types/schemas/schemas_0.d.ts +568 -0
  181. package/dist-types/ts3.4/IAMClient.d.ts +4 -0
  182. package/dist-types/ts3.4/models/models_0.d.ts +0 -31
  183. package/dist-types/ts3.4/models/models_1.d.ts +0 -9
  184. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
  185. package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
  186. package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
  187. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
  188. package/dist-types/ts3.4/schemas/schemas_0.d.ts +574 -0
  189. package/package.json +34 -34
  190. package/dist-es/protocols/Aws_query.js +0 -9630
  191. package/dist-types/protocols/Aws_query.d.ts +0 -1487
  192. package/dist-types/ts3.4/protocols/Aws_query.d.ts +0 -1985
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_UpdateSigningCertificateCommand, se_UpdateSigningCertificateCommand } from "../protocols/Aws_query";
4
+ import { UpdateSigningCertificate } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class UpdateSigningCertificateCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AWSIdentityManagementV20100508", "UpdateSigningCertificate", {})
17
13
  .n("IAMClient", "UpdateSigningCertificateCommand")
18
- .f(void 0, void 0)
19
- .ser(se_UpdateSigningCertificateCommand)
20
- .de(de_UpdateSigningCertificateCommand)
14
+ .sc(UpdateSigningCertificate)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_UpdateUserCommand, se_UpdateUserCommand } from "../protocols/Aws_query";
4
+ import { UpdateUser } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class UpdateUserCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AWSIdentityManagementV20100508", "UpdateUser", {})
17
13
  .n("IAMClient", "UpdateUserCommand")
18
- .f(void 0, void 0)
19
- .ser(se_UpdateUserCommand)
20
- .de(de_UpdateUserCommand)
14
+ .sc(UpdateUser)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_UploadSSHPublicKeyCommand, se_UploadSSHPublicKeyCommand } from "../protocols/Aws_query";
4
+ import { UploadSSHPublicKey } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class UploadSSHPublicKeyCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AWSIdentityManagementV20100508", "UploadSSHPublicKey", {})
17
13
  .n("IAMClient", "UploadSSHPublicKeyCommand")
18
- .f(void 0, void 0)
19
- .ser(se_UploadSSHPublicKeyCommand)
20
- .de(de_UploadSSHPublicKeyCommand)
14
+ .sc(UploadSSHPublicKey)
21
15
  .build() {
22
16
  }
@@ -1,23 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { UploadServerCertificateRequestFilterSensitiveLog, } from "../models/models_1";
6
- import { de_UploadServerCertificateCommand, se_UploadServerCertificateCommand } from "../protocols/Aws_query";
4
+ import { UploadServerCertificate } from "../schemas/schemas_0";
7
5
  export { $Command };
8
6
  export class UploadServerCertificateCommand extends $Command
9
7
  .classBuilder()
10
8
  .ep(commonParams)
11
9
  .m(function (Command, cs, config, o) {
12
- return [
13
- getSerdePlugin(config, this.serialize, this.deserialize),
14
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
15
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
16
11
  })
17
12
  .s("AWSIdentityManagementV20100508", "UploadServerCertificate", {})
18
13
  .n("IAMClient", "UploadServerCertificateCommand")
19
- .f(UploadServerCertificateRequestFilterSensitiveLog, void 0)
20
- .ser(se_UploadServerCertificateCommand)
21
- .de(de_UploadServerCertificateCommand)
14
+ .sc(UploadServerCertificate)
22
15
  .build() {
23
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_UploadSigningCertificateCommand, se_UploadSigningCertificateCommand } from "../protocols/Aws_query";
4
+ import { UploadSigningCertificate } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class UploadSigningCertificateCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AWSIdentityManagementV20100508", "UploadSigningCertificate", {})
17
13
  .n("IAMClient", "UploadSigningCertificateCommand")
18
- .f(void 0, void 0)
19
- .ser(se_UploadSigningCertificateCommand)
20
- .de(de_UploadSigningCertificateCommand)
14
+ .sc(UploadSigningCertificate)
21
15
  .build() {
22
16
  }
@@ -1,4 +1,3 @@
1
- import { SENSITIVE_STRING } from "@smithy/smithy-client";
2
1
  import { IAMServiceException as __BaseException } from "./IAMServiceException";
3
2
  export const AccessAdvisorUsageGranularityType = {
4
3
  ACTION_LEVEL: "ACTION_LEVEL",
@@ -445,56 +444,3 @@ export const GlobalEndpointTokenVersion = {
445
444
  v1Token: "v1Token",
446
445
  v2Token: "v2Token",
447
446
  };
448
- export const AccessKeyFilterSensitiveLog = (obj) => ({
449
- ...obj,
450
- ...(obj.SecretAccessKey && { SecretAccessKey: SENSITIVE_STRING }),
451
- });
452
- export const ChangePasswordRequestFilterSensitiveLog = (obj) => ({
453
- ...obj,
454
- ...(obj.OldPassword && { OldPassword: SENSITIVE_STRING }),
455
- ...(obj.NewPassword && { NewPassword: SENSITIVE_STRING }),
456
- });
457
- export const CreateAccessKeyResponseFilterSensitiveLog = (obj) => ({
458
- ...obj,
459
- ...(obj.AccessKey && { AccessKey: AccessKeyFilterSensitiveLog(obj.AccessKey) }),
460
- });
461
- export const CreateLoginProfileRequestFilterSensitiveLog = (obj) => ({
462
- ...obj,
463
- ...(obj.Password && { Password: SENSITIVE_STRING }),
464
- });
465
- export const CreateSAMLProviderRequestFilterSensitiveLog = (obj) => ({
466
- ...obj,
467
- ...(obj.AddPrivateKey && { AddPrivateKey: SENSITIVE_STRING }),
468
- });
469
- export const ServiceSpecificCredentialFilterSensitiveLog = (obj) => ({
470
- ...obj,
471
- ...(obj.ServicePassword && { ServicePassword: SENSITIVE_STRING }),
472
- ...(obj.ServiceCredentialSecret && { ServiceCredentialSecret: SENSITIVE_STRING }),
473
- });
474
- export const CreateServiceSpecificCredentialResponseFilterSensitiveLog = (obj) => ({
475
- ...obj,
476
- ...(obj.ServiceSpecificCredential && {
477
- ServiceSpecificCredential: ServiceSpecificCredentialFilterSensitiveLog(obj.ServiceSpecificCredential),
478
- }),
479
- });
480
- export const VirtualMFADeviceFilterSensitiveLog = (obj) => ({
481
- ...obj,
482
- ...(obj.Base32StringSeed && { Base32StringSeed: SENSITIVE_STRING }),
483
- ...(obj.QRCodePNG && { QRCodePNG: SENSITIVE_STRING }),
484
- });
485
- export const CreateVirtualMFADeviceResponseFilterSensitiveLog = (obj) => ({
486
- ...obj,
487
- ...(obj.VirtualMFADevice && { VirtualMFADevice: VirtualMFADeviceFilterSensitiveLog(obj.VirtualMFADevice) }),
488
- });
489
- export const ListVirtualMFADevicesResponseFilterSensitiveLog = (obj) => ({
490
- ...obj,
491
- ...(obj.VirtualMFADevices && {
492
- VirtualMFADevices: obj.VirtualMFADevices.map((item) => VirtualMFADeviceFilterSensitiveLog(item)),
493
- }),
494
- });
495
- export const ResetServiceSpecificCredentialResponseFilterSensitiveLog = (obj) => ({
496
- ...obj,
497
- ...(obj.ServiceSpecificCredential && {
498
- ServiceSpecificCredential: ServiceSpecificCredentialFilterSensitiveLog(obj.ServiceSpecificCredential),
499
- }),
500
- });
@@ -1,4 +1,3 @@
1
- import { SENSITIVE_STRING } from "@smithy/smithy-client";
2
1
  import { IAMServiceException as __BaseException } from "./IAMServiceException";
3
2
  export class PolicyEvaluationException extends __BaseException {
4
3
  name = "PolicyEvaluationException";
@@ -112,15 +111,3 @@ export class InvalidPublicKeyException extends __BaseException {
112
111
  Object.setPrototypeOf(this, InvalidPublicKeyException.prototype);
113
112
  }
114
113
  }
115
- export const UpdateLoginProfileRequestFilterSensitiveLog = (obj) => ({
116
- ...obj,
117
- ...(obj.Password && { Password: SENSITIVE_STRING }),
118
- });
119
- export const UpdateSAMLProviderRequestFilterSensitiveLog = (obj) => ({
120
- ...obj,
121
- ...(obj.AddPrivateKey && { AddPrivateKey: SENSITIVE_STRING }),
122
- });
123
- export const UploadServerCertificateRequestFilterSensitiveLog = (obj) => ({
124
- ...obj,
125
- ...(obj.PrivateKey && { PrivateKey: SENSITIVE_STRING }),
126
- });
@@ -1,4 +1,5 @@
1
1
  import { AwsSdkSigV4Signer } from "@aws-sdk/core";
2
+ import { AwsQueryProtocol } from "@aws-sdk/core/protocols";
2
3
  import { NoOpLogger } from "@smithy/smithy-client";
3
4
  import { parseUrl } from "@smithy/url-parser";
4
5
  import { fromBase64, toBase64 } from "@smithy/util-base64";
@@ -22,6 +23,12 @@ export const getRuntimeConfig = (config) => {
22
23
  },
23
24
  ],
24
25
  logger: config?.logger ?? new NoOpLogger(),
26
+ protocol: config?.protocol ??
27
+ new AwsQueryProtocol({
28
+ defaultNamespace: "com.amazonaws.iam",
29
+ xmlNamespace: "https://iam.amazonaws.com/doc/2010-05-08/",
30
+ version: "2010-05-08",
31
+ }),
25
32
  serviceId: config?.serviceId ?? "IAM",
26
33
  urlParser: config?.urlParser ?? parseUrl,
27
34
  utf8Decoder: config?.utf8Decoder ?? fromUtf8,