@aws-sdk/client-iam 3.649.0 → 3.650.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 (163) hide show
  1. package/dist-cjs/index.js +159 -477
  2. package/dist-es/commands/AddClientIDToOpenIDConnectProviderCommand.js +1 -3
  3. package/dist-es/commands/AddRoleToInstanceProfileCommand.js +1 -3
  4. package/dist-es/commands/AddUserToGroupCommand.js +1 -3
  5. package/dist-es/commands/AttachGroupPolicyCommand.js +1 -3
  6. package/dist-es/commands/AttachRolePolicyCommand.js +1 -3
  7. package/dist-es/commands/AttachUserPolicyCommand.js +1 -3
  8. package/dist-es/commands/ChangePasswordCommand.js +1 -3
  9. package/dist-es/commands/CreateAccessKeyCommand.js +1 -3
  10. package/dist-es/commands/CreateAccountAliasCommand.js +1 -3
  11. package/dist-es/commands/CreateGroupCommand.js +1 -3
  12. package/dist-es/commands/CreateInstanceProfileCommand.js +1 -3
  13. package/dist-es/commands/CreateLoginProfileCommand.js +1 -3
  14. package/dist-es/commands/CreateOpenIDConnectProviderCommand.js +1 -3
  15. package/dist-es/commands/CreatePolicyCommand.js +1 -3
  16. package/dist-es/commands/CreatePolicyVersionCommand.js +1 -3
  17. package/dist-es/commands/CreateRoleCommand.js +1 -3
  18. package/dist-es/commands/CreateSAMLProviderCommand.js +1 -3
  19. package/dist-es/commands/CreateServiceLinkedRoleCommand.js +1 -3
  20. package/dist-es/commands/CreateServiceSpecificCredentialCommand.js +1 -3
  21. package/dist-es/commands/CreateUserCommand.js +1 -3
  22. package/dist-es/commands/CreateVirtualMFADeviceCommand.js +1 -3
  23. package/dist-es/commands/DeactivateMFADeviceCommand.js +1 -3
  24. package/dist-es/commands/DeleteAccessKeyCommand.js +1 -3
  25. package/dist-es/commands/DeleteAccountAliasCommand.js +1 -3
  26. package/dist-es/commands/DeleteAccountPasswordPolicyCommand.js +1 -3
  27. package/dist-es/commands/DeleteGroupCommand.js +1 -3
  28. package/dist-es/commands/DeleteGroupPolicyCommand.js +1 -3
  29. package/dist-es/commands/DeleteInstanceProfileCommand.js +1 -3
  30. package/dist-es/commands/DeleteLoginProfileCommand.js +1 -3
  31. package/dist-es/commands/DeleteOpenIDConnectProviderCommand.js +1 -3
  32. package/dist-es/commands/DeletePolicyCommand.js +1 -3
  33. package/dist-es/commands/DeletePolicyVersionCommand.js +1 -3
  34. package/dist-es/commands/DeleteRoleCommand.js +1 -3
  35. package/dist-es/commands/DeleteRolePermissionsBoundaryCommand.js +1 -3
  36. package/dist-es/commands/DeleteRolePolicyCommand.js +1 -3
  37. package/dist-es/commands/DeleteSAMLProviderCommand.js +1 -3
  38. package/dist-es/commands/DeleteSSHPublicKeyCommand.js +1 -3
  39. package/dist-es/commands/DeleteServerCertificateCommand.js +1 -3
  40. package/dist-es/commands/DeleteServiceLinkedRoleCommand.js +1 -3
  41. package/dist-es/commands/DeleteServiceSpecificCredentialCommand.js +1 -3
  42. package/dist-es/commands/DeleteSigningCertificateCommand.js +1 -3
  43. package/dist-es/commands/DeleteUserCommand.js +1 -3
  44. package/dist-es/commands/DeleteUserPermissionsBoundaryCommand.js +1 -3
  45. package/dist-es/commands/DeleteUserPolicyCommand.js +1 -3
  46. package/dist-es/commands/DeleteVirtualMFADeviceCommand.js +1 -3
  47. package/dist-es/commands/DetachGroupPolicyCommand.js +1 -3
  48. package/dist-es/commands/DetachRolePolicyCommand.js +1 -3
  49. package/dist-es/commands/DetachUserPolicyCommand.js +1 -3
  50. package/dist-es/commands/EnableMFADeviceCommand.js +1 -3
  51. package/dist-es/commands/GenerateCredentialReportCommand.js +1 -3
  52. package/dist-es/commands/GenerateOrganizationsAccessReportCommand.js +1 -3
  53. package/dist-es/commands/GenerateServiceLastAccessedDetailsCommand.js +1 -3
  54. package/dist-es/commands/GetAccessKeyLastUsedCommand.js +1 -3
  55. package/dist-es/commands/GetAccountAuthorizationDetailsCommand.js +1 -3
  56. package/dist-es/commands/GetAccountPasswordPolicyCommand.js +1 -3
  57. package/dist-es/commands/GetAccountSummaryCommand.js +1 -3
  58. package/dist-es/commands/GetContextKeysForCustomPolicyCommand.js +1 -3
  59. package/dist-es/commands/GetContextKeysForPrincipalPolicyCommand.js +1 -3
  60. package/dist-es/commands/GetCredentialReportCommand.js +1 -3
  61. package/dist-es/commands/GetGroupCommand.js +1 -3
  62. package/dist-es/commands/GetGroupPolicyCommand.js +1 -3
  63. package/dist-es/commands/GetInstanceProfileCommand.js +1 -3
  64. package/dist-es/commands/GetLoginProfileCommand.js +1 -3
  65. package/dist-es/commands/GetMFADeviceCommand.js +1 -3
  66. package/dist-es/commands/GetOpenIDConnectProviderCommand.js +1 -3
  67. package/dist-es/commands/GetOrganizationsAccessReportCommand.js +1 -3
  68. package/dist-es/commands/GetPolicyCommand.js +1 -3
  69. package/dist-es/commands/GetPolicyVersionCommand.js +1 -3
  70. package/dist-es/commands/GetRoleCommand.js +1 -3
  71. package/dist-es/commands/GetRolePolicyCommand.js +1 -3
  72. package/dist-es/commands/GetSAMLProviderCommand.js +1 -3
  73. package/dist-es/commands/GetSSHPublicKeyCommand.js +1 -3
  74. package/dist-es/commands/GetServerCertificateCommand.js +1 -3
  75. package/dist-es/commands/GetServiceLastAccessedDetailsCommand.js +1 -3
  76. package/dist-es/commands/GetServiceLastAccessedDetailsWithEntitiesCommand.js +1 -3
  77. package/dist-es/commands/GetServiceLinkedRoleDeletionStatusCommand.js +1 -3
  78. package/dist-es/commands/GetUserCommand.js +1 -3
  79. package/dist-es/commands/GetUserPolicyCommand.js +1 -3
  80. package/dist-es/commands/ListAccessKeysCommand.js +1 -3
  81. package/dist-es/commands/ListAccountAliasesCommand.js +1 -3
  82. package/dist-es/commands/ListAttachedGroupPoliciesCommand.js +1 -3
  83. package/dist-es/commands/ListAttachedRolePoliciesCommand.js +1 -3
  84. package/dist-es/commands/ListAttachedUserPoliciesCommand.js +1 -3
  85. package/dist-es/commands/ListEntitiesForPolicyCommand.js +1 -3
  86. package/dist-es/commands/ListGroupPoliciesCommand.js +1 -3
  87. package/dist-es/commands/ListGroupsCommand.js +1 -3
  88. package/dist-es/commands/ListGroupsForUserCommand.js +1 -3
  89. package/dist-es/commands/ListInstanceProfileTagsCommand.js +1 -3
  90. package/dist-es/commands/ListInstanceProfilesCommand.js +1 -3
  91. package/dist-es/commands/ListInstanceProfilesForRoleCommand.js +1 -3
  92. package/dist-es/commands/ListMFADeviceTagsCommand.js +1 -3
  93. package/dist-es/commands/ListMFADevicesCommand.js +1 -3
  94. package/dist-es/commands/ListOpenIDConnectProviderTagsCommand.js +1 -3
  95. package/dist-es/commands/ListOpenIDConnectProvidersCommand.js +1 -3
  96. package/dist-es/commands/ListPoliciesCommand.js +1 -3
  97. package/dist-es/commands/ListPoliciesGrantingServiceAccessCommand.js +1 -3
  98. package/dist-es/commands/ListPolicyTagsCommand.js +1 -3
  99. package/dist-es/commands/ListPolicyVersionsCommand.js +1 -3
  100. package/dist-es/commands/ListRolePoliciesCommand.js +1 -3
  101. package/dist-es/commands/ListRoleTagsCommand.js +1 -3
  102. package/dist-es/commands/ListRolesCommand.js +1 -3
  103. package/dist-es/commands/ListSAMLProviderTagsCommand.js +1 -3
  104. package/dist-es/commands/ListSAMLProvidersCommand.js +1 -3
  105. package/dist-es/commands/ListSSHPublicKeysCommand.js +1 -3
  106. package/dist-es/commands/ListServerCertificateTagsCommand.js +1 -3
  107. package/dist-es/commands/ListServerCertificatesCommand.js +1 -3
  108. package/dist-es/commands/ListServiceSpecificCredentialsCommand.js +1 -3
  109. package/dist-es/commands/ListSigningCertificatesCommand.js +1 -3
  110. package/dist-es/commands/ListUserPoliciesCommand.js +1 -3
  111. package/dist-es/commands/ListUserTagsCommand.js +1 -3
  112. package/dist-es/commands/ListUsersCommand.js +1 -3
  113. package/dist-es/commands/ListVirtualMFADevicesCommand.js +1 -3
  114. package/dist-es/commands/PutGroupPolicyCommand.js +1 -3
  115. package/dist-es/commands/PutRolePermissionsBoundaryCommand.js +1 -3
  116. package/dist-es/commands/PutRolePolicyCommand.js +1 -3
  117. package/dist-es/commands/PutUserPermissionsBoundaryCommand.js +1 -3
  118. package/dist-es/commands/PutUserPolicyCommand.js +1 -3
  119. package/dist-es/commands/RemoveClientIDFromOpenIDConnectProviderCommand.js +1 -3
  120. package/dist-es/commands/RemoveRoleFromInstanceProfileCommand.js +1 -3
  121. package/dist-es/commands/RemoveUserFromGroupCommand.js +1 -3
  122. package/dist-es/commands/ResetServiceSpecificCredentialCommand.js +1 -3
  123. package/dist-es/commands/ResyncMFADeviceCommand.js +1 -3
  124. package/dist-es/commands/SetDefaultPolicyVersionCommand.js +1 -3
  125. package/dist-es/commands/SetSecurityTokenServicePreferencesCommand.js +1 -3
  126. package/dist-es/commands/SimulateCustomPolicyCommand.js +1 -3
  127. package/dist-es/commands/SimulatePrincipalPolicyCommand.js +1 -3
  128. package/dist-es/commands/TagInstanceProfileCommand.js +1 -3
  129. package/dist-es/commands/TagMFADeviceCommand.js +1 -3
  130. package/dist-es/commands/TagOpenIDConnectProviderCommand.js +1 -3
  131. package/dist-es/commands/TagPolicyCommand.js +1 -3
  132. package/dist-es/commands/TagRoleCommand.js +1 -3
  133. package/dist-es/commands/TagSAMLProviderCommand.js +1 -3
  134. package/dist-es/commands/TagServerCertificateCommand.js +1 -3
  135. package/dist-es/commands/TagUserCommand.js +1 -3
  136. package/dist-es/commands/UntagInstanceProfileCommand.js +1 -3
  137. package/dist-es/commands/UntagMFADeviceCommand.js +1 -3
  138. package/dist-es/commands/UntagOpenIDConnectProviderCommand.js +1 -3
  139. package/dist-es/commands/UntagPolicyCommand.js +1 -3
  140. package/dist-es/commands/UntagRoleCommand.js +1 -3
  141. package/dist-es/commands/UntagSAMLProviderCommand.js +1 -3
  142. package/dist-es/commands/UntagServerCertificateCommand.js +1 -3
  143. package/dist-es/commands/UntagUserCommand.js +1 -3
  144. package/dist-es/commands/UpdateAccessKeyCommand.js +1 -3
  145. package/dist-es/commands/UpdateAccountPasswordPolicyCommand.js +1 -3
  146. package/dist-es/commands/UpdateAssumeRolePolicyCommand.js +1 -3
  147. package/dist-es/commands/UpdateGroupCommand.js +1 -3
  148. package/dist-es/commands/UpdateLoginProfileCommand.js +1 -3
  149. package/dist-es/commands/UpdateOpenIDConnectProviderThumbprintCommand.js +1 -3
  150. package/dist-es/commands/UpdateRoleCommand.js +1 -3
  151. package/dist-es/commands/UpdateRoleDescriptionCommand.js +1 -3
  152. package/dist-es/commands/UpdateSAMLProviderCommand.js +1 -3
  153. package/dist-es/commands/UpdateSSHPublicKeyCommand.js +1 -3
  154. package/dist-es/commands/UpdateServerCertificateCommand.js +1 -3
  155. package/dist-es/commands/UpdateServiceSpecificCredentialCommand.js +1 -3
  156. package/dist-es/commands/UpdateSigningCertificateCommand.js +1 -3
  157. package/dist-es/commands/UpdateUserCommand.js +1 -3
  158. package/dist-es/commands/UploadSSHPublicKeyCommand.js +1 -3
  159. package/dist-es/commands/UploadServerCertificateCommand.js +1 -3
  160. package/dist-es/commands/UploadSigningCertificateCommand.js +1 -3
  161. package/dist-es/endpoint/endpointResolver.js +7 -3
  162. package/package.json +4 -4
  163. package/dist-types/tsdoc-metadata.json +0 -11
@@ -1,10 +1,14 @@
1
1
  import { awsEndpointFunctions } from "@aws-sdk/util-endpoints";
2
- import { customEndpointFunctions, resolveEndpoint } from "@smithy/util-endpoints";
2
+ import { customEndpointFunctions, EndpointCache, resolveEndpoint } from "@smithy/util-endpoints";
3
3
  import { ruleSet } from "./ruleset";
4
+ const cache = new EndpointCache({
5
+ size: 50,
6
+ params: ["Endpoint", "Region", "UseDualStack", "UseFIPS"],
7
+ });
4
8
  export const defaultEndpointResolver = (endpointParams, context = {}) => {
5
- return resolveEndpoint(ruleSet, {
9
+ return cache.get(endpointParams, () => resolveEndpoint(ruleSet, {
6
10
  endpointParams: endpointParams,
7
11
  logger: context.logger,
8
- });
12
+ }));
9
13
  };
10
14
  customEndpointFunctions.aws = awsEndpointFunctions;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-iam",
3
3
  "description": "AWS SDK for JavaScript Iam Client for Node.js, Browser and React Native",
4
- "version": "3.649.0",
4
+ "version": "3.650.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-iam",
@@ -20,10 +20,10 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/client-sso-oidc": "3.649.0",
24
- "@aws-sdk/client-sts": "3.649.0",
23
+ "@aws-sdk/client-sso-oidc": "3.650.0",
24
+ "@aws-sdk/client-sts": "3.650.0",
25
25
  "@aws-sdk/core": "3.649.0",
26
- "@aws-sdk/credential-provider-node": "3.649.0",
26
+ "@aws-sdk/credential-provider-node": "3.650.0",
27
27
  "@aws-sdk/middleware-host-header": "3.649.0",
28
28
  "@aws-sdk/middleware-logger": "3.649.0",
29
29
  "@aws-sdk/middleware-recursion-detection": "3.649.0",
@@ -1,11 +0,0 @@
1
- // This file is read by tools that parse documentation comments conforming to the TSDoc standard.
2
- // It should be published with your NPM package. It should not be tracked by Git.
3
- {
4
- "tsdocVersion": "0.12",
5
- "toolPackages": [
6
- {
7
- "packageName": "@microsoft/api-extractor",
8
- "packageVersion": "7.34.4"
9
- }
10
- ]
11
- }