@cdk8s/awscdk-resolver 0.0.165 → 0.0.167

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 (165) hide show
  1. package/.jsii +3 -3
  2. package/lib/resolve.js +1 -1
  3. package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/index.js +82 -246
  4. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/ActivateOrganizationsAccessCommand.js +1 -3
  5. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/ActivateTypeCommand.js +1 -3
  6. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/BatchDescribeTypeConfigurationsCommand.js +1 -3
  7. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/CancelUpdateStackCommand.js +1 -3
  8. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/ContinueUpdateRollbackCommand.js +1 -3
  9. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/CreateChangeSetCommand.js +1 -3
  10. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/CreateGeneratedTemplateCommand.js +1 -3
  11. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/CreateStackCommand.js +1 -3
  12. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/CreateStackInstancesCommand.js +1 -3
  13. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/CreateStackSetCommand.js +1 -3
  14. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/DeactivateOrganizationsAccessCommand.js +1 -3
  15. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/DeactivateTypeCommand.js +1 -3
  16. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/DeleteChangeSetCommand.js +1 -3
  17. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/DeleteGeneratedTemplateCommand.js +1 -3
  18. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/DeleteStackCommand.js +1 -3
  19. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/DeleteStackInstancesCommand.js +1 -3
  20. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/DeleteStackSetCommand.js +1 -3
  21. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/DeregisterTypeCommand.js +1 -3
  22. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/DescribeAccountLimitsCommand.js +1 -3
  23. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/DescribeChangeSetCommand.js +1 -3
  24. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/DescribeChangeSetHooksCommand.js +1 -3
  25. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/DescribeGeneratedTemplateCommand.js +1 -3
  26. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/DescribeOrganizationsAccessCommand.js +1 -3
  27. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/DescribePublisherCommand.js +1 -3
  28. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/DescribeResourceScanCommand.js +1 -3
  29. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/DescribeStackDriftDetectionStatusCommand.js +1 -3
  30. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/DescribeStackEventsCommand.js +1 -3
  31. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/DescribeStackInstanceCommand.js +1 -3
  32. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/DescribeStackResourceCommand.js +1 -3
  33. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/DescribeStackResourceDriftsCommand.js +1 -3
  34. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/DescribeStackResourcesCommand.js +1 -3
  35. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/DescribeStackSetCommand.js +1 -3
  36. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/DescribeStackSetOperationCommand.js +1 -3
  37. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/DescribeStacksCommand.js +1 -3
  38. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/DescribeTypeCommand.js +1 -3
  39. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/DescribeTypeRegistrationCommand.js +1 -3
  40. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/DetectStackDriftCommand.js +1 -3
  41. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/DetectStackResourceDriftCommand.js +1 -3
  42. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/DetectStackSetDriftCommand.js +1 -3
  43. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/EstimateTemplateCostCommand.js +1 -3
  44. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/ExecuteChangeSetCommand.js +1 -3
  45. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/GetGeneratedTemplateCommand.js +1 -3
  46. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/GetStackPolicyCommand.js +1 -3
  47. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/GetTemplateCommand.js +1 -3
  48. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/GetTemplateSummaryCommand.js +1 -3
  49. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/ImportStacksToStackSetCommand.js +1 -3
  50. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/ListChangeSetsCommand.js +1 -3
  51. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/ListExportsCommand.js +1 -3
  52. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/ListGeneratedTemplatesCommand.js +1 -3
  53. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/ListImportsCommand.js +1 -3
  54. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/ListResourceScanRelatedResourcesCommand.js +1 -3
  55. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/ListResourceScanResourcesCommand.js +1 -3
  56. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/ListResourceScansCommand.js +1 -3
  57. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/ListStackInstanceResourceDriftsCommand.js +1 -3
  58. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/ListStackInstancesCommand.js +1 -3
  59. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/ListStackResourcesCommand.js +1 -3
  60. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/ListStackSetAutoDeploymentTargetsCommand.js +1 -3
  61. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/ListStackSetOperationResultsCommand.js +1 -3
  62. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/ListStackSetOperationsCommand.js +1 -3
  63. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/ListStackSetsCommand.js +1 -3
  64. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/ListStacksCommand.js +1 -3
  65. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/ListTypeRegistrationsCommand.js +1 -3
  66. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/ListTypeVersionsCommand.js +1 -3
  67. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/ListTypesCommand.js +1 -3
  68. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/PublishTypeCommand.js +1 -3
  69. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/RecordHandlerProgressCommand.js +1 -3
  70. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/RegisterPublisherCommand.js +1 -3
  71. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/RegisterTypeCommand.js +1 -3
  72. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/RollbackStackCommand.js +1 -3
  73. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/SetStackPolicyCommand.js +1 -3
  74. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/SetTypeConfigurationCommand.js +1 -3
  75. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/SetTypeDefaultVersionCommand.js +1 -3
  76. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/SignalResourceCommand.js +1 -3
  77. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/StartResourceScanCommand.js +1 -3
  78. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/StopStackSetOperationCommand.js +1 -3
  79. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/TestTypeCommand.js +1 -3
  80. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/UpdateGeneratedTemplateCommand.js +1 -3
  81. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/UpdateStackCommand.js +1 -3
  82. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/UpdateStackInstancesCommand.js +1 -3
  83. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/UpdateStackSetCommand.js +1 -3
  84. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/UpdateTerminationProtectionCommand.js +1 -3
  85. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/ValidateTemplateCommand.js +1 -3
  86. package/node_modules/@aws-sdk/client-cloudformation/dist-es/endpoint/endpointResolver.js +7 -3
  87. package/node_modules/@aws-sdk/client-cloudformation/package.json +5 -5
  88. package/node_modules/@aws-sdk/client-sso/dist-cjs/index.js +4 -12
  89. package/node_modules/@aws-sdk/client-sso/dist-es/commands/GetRoleCredentialsCommand.js +1 -3
  90. package/node_modules/@aws-sdk/client-sso/dist-es/commands/ListAccountRolesCommand.js +1 -3
  91. package/node_modules/@aws-sdk/client-sso/dist-es/commands/ListAccountsCommand.js +1 -3
  92. package/node_modules/@aws-sdk/client-sso/dist-es/commands/LogoutCommand.js +1 -3
  93. package/node_modules/@aws-sdk/client-sso/package.json +2 -2
  94. package/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/index.js +4 -12
  95. package/node_modules/@aws-sdk/client-sso-oidc/dist-es/commands/CreateTokenCommand.js +1 -3
  96. package/node_modules/@aws-sdk/client-sso-oidc/dist-es/commands/CreateTokenWithIAMCommand.js +1 -3
  97. package/node_modules/@aws-sdk/client-sso-oidc/dist-es/commands/RegisterClientCommand.js +1 -3
  98. package/node_modules/@aws-sdk/client-sso-oidc/dist-es/commands/StartDeviceAuthorizationCommand.js +1 -3
  99. package/node_modules/@aws-sdk/client-sso-oidc/dist-es/endpoint/endpointResolver.js +7 -3
  100. package/node_modules/@aws-sdk/client-sso-oidc/package.json +4 -4
  101. package/node_modules/@aws-sdk/client-sts/dist-cjs/index.js +8 -24
  102. package/node_modules/@aws-sdk/client-sts/dist-es/commands/AssumeRoleCommand.js +1 -3
  103. package/node_modules/@aws-sdk/client-sts/dist-es/commands/AssumeRoleWithSAMLCommand.js +1 -3
  104. package/node_modules/@aws-sdk/client-sts/dist-es/commands/AssumeRoleWithWebIdentityCommand.js +1 -3
  105. package/node_modules/@aws-sdk/client-sts/dist-es/commands/DecodeAuthorizationMessageCommand.js +1 -3
  106. package/node_modules/@aws-sdk/client-sts/dist-es/commands/GetAccessKeyInfoCommand.js +1 -3
  107. package/node_modules/@aws-sdk/client-sts/dist-es/commands/GetCallerIdentityCommand.js +1 -3
  108. package/node_modules/@aws-sdk/client-sts/dist-es/commands/GetFederationTokenCommand.js +1 -3
  109. package/node_modules/@aws-sdk/client-sts/dist-es/commands/GetSessionTokenCommand.js +1 -3
  110. package/node_modules/@aws-sdk/client-sts/package.json +4 -4
  111. package/node_modules/@aws-sdk/core/package.json +2 -2
  112. package/node_modules/@aws-sdk/credential-provider-ini/dist-cjs/index.js +29 -30
  113. package/node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveAssumeRoleCredentials.js +24 -22
  114. package/node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveProfileData.js +2 -2
  115. package/node_modules/@aws-sdk/credential-provider-ini/dist-types/resolveProfileData.d.ts +1 -1
  116. package/node_modules/@aws-sdk/credential-provider-ini/dist-types/ts3.4/resolveProfileData.d.ts +2 -1
  117. package/node_modules/@aws-sdk/credential-provider-ini/package.json +3 -3
  118. package/node_modules/@aws-sdk/credential-provider-node/package.json +3 -3
  119. package/node_modules/@aws-sdk/credential-provider-sso/package.json +2 -2
  120. package/node_modules/@smithy/abort-controller/package.json +2 -2
  121. package/node_modules/@smithy/config-resolver/package.json +4 -4
  122. package/node_modules/@smithy/core/package.json +8 -8
  123. package/node_modules/@smithy/credential-provider-imds/package.json +5 -5
  124. package/node_modules/@smithy/fetch-http-handler/dist-cjs/index.js +5 -1
  125. package/node_modules/@smithy/fetch-http-handler/dist-es/fetch-http-handler.js +4 -0
  126. package/node_modules/@smithy/fetch-http-handler/package.json +5 -5
  127. package/node_modules/@smithy/hash-node/package.json +2 -2
  128. package/node_modules/@smithy/invalid-dependency/package.json +2 -2
  129. package/node_modules/@smithy/middleware-content-length/package.json +4 -4
  130. package/node_modules/@smithy/middleware-endpoint/package.json +7 -7
  131. package/node_modules/@smithy/middleware-retry/package.json +9 -9
  132. package/node_modules/@smithy/middleware-serde/package.json +3 -3
  133. package/node_modules/@smithy/middleware-stack/package.json +2 -2
  134. package/node_modules/@smithy/node-config-provider/package.json +4 -4
  135. package/node_modules/@smithy/node-http-handler/package.json +5 -5
  136. package/node_modules/@smithy/property-provider/package.json +2 -2
  137. package/node_modules/@smithy/protocol-http/package.json +2 -2
  138. package/node_modules/@smithy/querystring-builder/package.json +2 -2
  139. package/node_modules/@smithy/querystring-parser/package.json +2 -2
  140. package/node_modules/@smithy/service-error-classification/package.json +2 -2
  141. package/node_modules/@smithy/shared-ini-file-loader/package.json +2 -2
  142. package/node_modules/@smithy/signature-v4/package.json +4 -4
  143. package/node_modules/@smithy/smithy-client/package.json +6 -6
  144. package/node_modules/@smithy/types/dist-types/http/httpHandlerInitialization.d.ts +32 -0
  145. package/node_modules/@smithy/types/dist-types/ts3.4/http/httpHandlerInitialization.d.ts +32 -0
  146. package/node_modules/@smithy/types/package.json +1 -1
  147. package/node_modules/@smithy/url-parser/package.json +3 -3
  148. package/node_modules/@smithy/util-defaults-mode-browser/package.json +4 -4
  149. package/node_modules/@smithy/util-defaults-mode-node/package.json +7 -7
  150. package/node_modules/@smithy/util-endpoints/package.json +3 -3
  151. package/node_modules/@smithy/util-middleware/package.json +2 -2
  152. package/node_modules/@smithy/util-retry/package.json +3 -3
  153. package/node_modules/@smithy/util-stream/package.json +5 -5
  154. package/node_modules/@smithy/util-waiter/package.json +3 -3
  155. package/package.json +5 -5
  156. package/node_modules/@aws-sdk/client-cloudformation/dist-types/tsdoc-metadata.json +0 -11
  157. package/node_modules/@aws-sdk/client-sso/dist-types/tsdoc-metadata.json +0 -11
  158. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/tsdoc-metadata.json +0 -11
  159. package/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/aws_sdk/AwsSdkSigV4AConfigSelector.js +0 -20
  160. package/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/aws_sdk/awsSdkSigV4AConfigSelector.js +0 -20
  161. package/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/aws_sdk/AwsSdkSigV4AConfigSelector.d.ts +0 -5
  162. package/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/aws_sdk/awsSdkSigV4AConfigSelector.d.ts +0 -5
  163. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/aws_sdk/AwsSdkSigV4AConfigSelector.d.ts +0 -4
  164. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/aws_sdk/awsSdkSigV4AConfigSelector.d.ts +0 -4
  165. package/node_modules/@aws-sdk/core/dist-types/tsdoc-metadata.json +0 -11
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-sso-oidc",
3
3
  "description": "AWS SDK for JavaScript Sso Oidc Client for Node.js, Browser and React Native",
4
- "version": "3.649.0",
4
+ "version": "3.651.1",
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-sso-oidc",
@@ -20,8 +20,8 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/core": "3.649.0",
24
- "@aws-sdk/credential-provider-node": "3.649.0",
23
+ "@aws-sdk/core": "3.651.1",
24
+ "@aws-sdk/credential-provider-node": "3.651.1",
25
25
  "@aws-sdk/middleware-host-header": "3.649.0",
26
26
  "@aws-sdk/middleware-logger": "3.649.0",
27
27
  "@aws-sdk/middleware-recursion-detection": "3.649.0",
@@ -85,7 +85,7 @@
85
85
  },
86
86
  "license": "Apache-2.0",
87
87
  "peerDependencies": {
88
- "@aws-sdk/client-sts": "^3.649.0"
88
+ "@aws-sdk/client-sts": "^3.651.1"
89
89
  },
90
90
  "browser": {
91
91
  "./dist-es/runtimeConfig": "./dist-es/runtimeConfig.browser"
@@ -1140,9 +1140,7 @@ var loadQueryErrorCode = /* @__PURE__ */ __name((output, data) => {
1140
1140
  }, "loadQueryErrorCode");
1141
1141
 
1142
1142
  // src/commands/AssumeRoleCommand.ts
1143
- var _AssumeRoleCommand = class _AssumeRoleCommand extends import_smithy_client.Command.classBuilder().ep({
1144
- ...import_EndpointParameters.commonParams
1145
- }).m(function(Command, cs, config, o) {
1143
+ var _AssumeRoleCommand = class _AssumeRoleCommand extends import_smithy_client.Command.classBuilder().ep(import_EndpointParameters.commonParams).m(function(Command, cs, config, o) {
1146
1144
  return [
1147
1145
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1148
1146
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -1157,9 +1155,7 @@ var AssumeRoleCommand = _AssumeRoleCommand;
1157
1155
 
1158
1156
 
1159
1157
  var import_EndpointParameters2 = require("./endpoint/EndpointParameters");
1160
- var _AssumeRoleWithSAMLCommand = class _AssumeRoleWithSAMLCommand extends import_smithy_client.Command.classBuilder().ep({
1161
- ...import_EndpointParameters2.commonParams
1162
- }).m(function(Command, cs, config, o) {
1158
+ var _AssumeRoleWithSAMLCommand = class _AssumeRoleWithSAMLCommand extends import_smithy_client.Command.classBuilder().ep(import_EndpointParameters2.commonParams).m(function(Command, cs, config, o) {
1163
1159
  return [
1164
1160
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1165
1161
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -1174,9 +1170,7 @@ var AssumeRoleWithSAMLCommand = _AssumeRoleWithSAMLCommand;
1174
1170
 
1175
1171
 
1176
1172
  var import_EndpointParameters3 = require("./endpoint/EndpointParameters");
1177
- var _AssumeRoleWithWebIdentityCommand = class _AssumeRoleWithWebIdentityCommand extends import_smithy_client.Command.classBuilder().ep({
1178
- ...import_EndpointParameters3.commonParams
1179
- }).m(function(Command, cs, config, o) {
1173
+ var _AssumeRoleWithWebIdentityCommand = class _AssumeRoleWithWebIdentityCommand extends import_smithy_client.Command.classBuilder().ep(import_EndpointParameters3.commonParams).m(function(Command, cs, config, o) {
1180
1174
  return [
1181
1175
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1182
1176
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -1191,9 +1185,7 @@ var AssumeRoleWithWebIdentityCommand = _AssumeRoleWithWebIdentityCommand;
1191
1185
 
1192
1186
 
1193
1187
  var import_EndpointParameters4 = require("./endpoint/EndpointParameters");
1194
- var _DecodeAuthorizationMessageCommand = class _DecodeAuthorizationMessageCommand extends import_smithy_client.Command.classBuilder().ep({
1195
- ...import_EndpointParameters4.commonParams
1196
- }).m(function(Command, cs, config, o) {
1188
+ var _DecodeAuthorizationMessageCommand = class _DecodeAuthorizationMessageCommand extends import_smithy_client.Command.classBuilder().ep(import_EndpointParameters4.commonParams).m(function(Command, cs, config, o) {
1197
1189
  return [
1198
1190
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1199
1191
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -1208,9 +1200,7 @@ var DecodeAuthorizationMessageCommand = _DecodeAuthorizationMessageCommand;
1208
1200
 
1209
1201
 
1210
1202
  var import_EndpointParameters5 = require("./endpoint/EndpointParameters");
1211
- var _GetAccessKeyInfoCommand = class _GetAccessKeyInfoCommand extends import_smithy_client.Command.classBuilder().ep({
1212
- ...import_EndpointParameters5.commonParams
1213
- }).m(function(Command, cs, config, o) {
1203
+ var _GetAccessKeyInfoCommand = class _GetAccessKeyInfoCommand extends import_smithy_client.Command.classBuilder().ep(import_EndpointParameters5.commonParams).m(function(Command, cs, config, o) {
1214
1204
  return [
1215
1205
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1216
1206
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -1225,9 +1215,7 @@ var GetAccessKeyInfoCommand = _GetAccessKeyInfoCommand;
1225
1215
 
1226
1216
 
1227
1217
  var import_EndpointParameters6 = require("./endpoint/EndpointParameters");
1228
- var _GetCallerIdentityCommand = class _GetCallerIdentityCommand extends import_smithy_client.Command.classBuilder().ep({
1229
- ...import_EndpointParameters6.commonParams
1230
- }).m(function(Command, cs, config, o) {
1218
+ var _GetCallerIdentityCommand = class _GetCallerIdentityCommand extends import_smithy_client.Command.classBuilder().ep(import_EndpointParameters6.commonParams).m(function(Command, cs, config, o) {
1231
1219
  return [
1232
1220
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1233
1221
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -1242,9 +1230,7 @@ var GetCallerIdentityCommand = _GetCallerIdentityCommand;
1242
1230
 
1243
1231
 
1244
1232
  var import_EndpointParameters7 = require("./endpoint/EndpointParameters");
1245
- var _GetFederationTokenCommand = class _GetFederationTokenCommand extends import_smithy_client.Command.classBuilder().ep({
1246
- ...import_EndpointParameters7.commonParams
1247
- }).m(function(Command, cs, config, o) {
1233
+ var _GetFederationTokenCommand = class _GetFederationTokenCommand extends import_smithy_client.Command.classBuilder().ep(import_EndpointParameters7.commonParams).m(function(Command, cs, config, o) {
1248
1234
  return [
1249
1235
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1250
1236
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -1259,9 +1245,7 @@ var GetFederationTokenCommand = _GetFederationTokenCommand;
1259
1245
 
1260
1246
 
1261
1247
  var import_EndpointParameters8 = require("./endpoint/EndpointParameters");
1262
- var _GetSessionTokenCommand = class _GetSessionTokenCommand extends import_smithy_client.Command.classBuilder().ep({
1263
- ...import_EndpointParameters8.commonParams
1264
- }).m(function(Command, cs, config, o) {
1248
+ var _GetSessionTokenCommand = class _GetSessionTokenCommand extends import_smithy_client.Command.classBuilder().ep(import_EndpointParameters8.commonParams).m(function(Command, cs, config, o) {
1265
1249
  return [
1266
1250
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1267
1251
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -7,9 +7,7 @@ import { de_AssumeRoleCommand, se_AssumeRoleCommand } from "../protocols/Aws_que
7
7
  export { $Command };
8
8
  export class AssumeRoleCommand extends $Command
9
9
  .classBuilder()
10
- .ep({
11
- ...commonParams,
12
- })
10
+ .ep(commonParams)
13
11
  .m(function (Command, cs, config, o) {
14
12
  return [
15
13
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -7,9 +7,7 @@ import { de_AssumeRoleWithSAMLCommand, se_AssumeRoleWithSAMLCommand } from "../p
7
7
  export { $Command };
8
8
  export class AssumeRoleWithSAMLCommand extends $Command
9
9
  .classBuilder()
10
- .ep({
11
- ...commonParams,
12
- })
10
+ .ep(commonParams)
13
11
  .m(function (Command, cs, config, o) {
14
12
  return [
15
13
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -7,9 +7,7 @@ import { de_AssumeRoleWithWebIdentityCommand, se_AssumeRoleWithWebIdentityComman
7
7
  export { $Command };
8
8
  export class AssumeRoleWithWebIdentityCommand extends $Command
9
9
  .classBuilder()
10
- .ep({
11
- ...commonParams,
12
- })
10
+ .ep(commonParams)
13
11
  .m(function (Command, cs, config, o) {
14
12
  return [
15
13
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,9 +6,7 @@ import { de_DecodeAuthorizationMessageCommand, se_DecodeAuthorizationMessageComm
6
6
  export { $Command };
7
7
  export class DecodeAuthorizationMessageCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,9 +6,7 @@ import { de_GetAccessKeyInfoCommand, se_GetAccessKeyInfoCommand } from "../proto
6
6
  export { $Command };
7
7
  export class GetAccessKeyInfoCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,9 +6,7 @@ import { de_GetCallerIdentityCommand, se_GetCallerIdentityCommand } from "../pro
6
6
  export { $Command };
7
7
  export class GetCallerIdentityCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -7,9 +7,7 @@ import { de_GetFederationTokenCommand, se_GetFederationTokenCommand } from "../p
7
7
  export { $Command };
8
8
  export class GetFederationTokenCommand extends $Command
9
9
  .classBuilder()
10
- .ep({
11
- ...commonParams,
12
- })
10
+ .ep(commonParams)
13
11
  .m(function (Command, cs, config, o) {
14
12
  return [
15
13
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -7,9 +7,7 @@ import { de_GetSessionTokenCommand, se_GetSessionTokenCommand } from "../protoco
7
7
  export { $Command };
8
8
  export class GetSessionTokenCommand extends $Command
9
9
  .classBuilder()
10
- .ep({
11
- ...commonParams,
12
- })
10
+ .ep(commonParams)
13
11
  .m(function (Command, cs, config, o) {
14
12
  return [
15
13
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-sts",
3
3
  "description": "AWS SDK for JavaScript Sts Client for Node.js, Browser and React Native",
4
- "version": "3.649.0",
4
+ "version": "3.651.1",
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-sts",
@@ -22,9 +22,9 @@
22
22
  "dependencies": {
23
23
  "@aws-crypto/sha256-browser": "5.2.0",
24
24
  "@aws-crypto/sha256-js": "5.2.0",
25
- "@aws-sdk/client-sso-oidc": "3.649.0",
26
- "@aws-sdk/core": "3.649.0",
27
- "@aws-sdk/credential-provider-node": "3.649.0",
25
+ "@aws-sdk/client-sso-oidc": "3.651.1",
26
+ "@aws-sdk/core": "3.651.1",
27
+ "@aws-sdk/credential-provider-node": "3.651.1",
28
28
  "@aws-sdk/middleware-host-header": "3.649.0",
29
29
  "@aws-sdk/middleware-logger": "3.649.0",
30
30
  "@aws-sdk/middleware-recursion-detection": "3.649.0",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/core",
3
- "version": "3.649.0",
4
- "description": "Core functions & classes shared by multiple AWS SDK clients",
3
+ "version": "3.651.1",
4
+ "description": "Core functions & classes shared by multiple AWS SDK clients.",
5
5
  "scripts": {
6
6
  "build": "yarn lint && concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline core",
@@ -123,42 +123,41 @@ var resolveAssumeRoleCredentials = /* @__PURE__ */ __name(async (profileName, pr
123
123
  );
124
124
  const sourceCredsProvider = source_profile ? resolveProfileData(
125
125
  source_profile,
126
- {
127
- ...profiles,
128
- [source_profile]: {
129
- ...profiles[source_profile],
130
- // This assigns the role_arn of the "root" profile
131
- // to the credential_source profile so this recursive call knows
132
- // what role to assume.
133
- role_arn: data.role_arn ?? profiles[source_profile].role_arn
134
- }
135
- },
126
+ profiles,
136
127
  options,
137
128
  {
138
129
  ...visitedProfiles,
139
130
  [source_profile]: true
140
- }
131
+ },
132
+ isCredentialSourceWithoutRoleArn(profiles[source_profile] ?? {})
141
133
  ) : (await resolveCredentialSource(data.credential_source, profileName, options.logger)(options))();
142
- const params = {
143
- RoleArn: data.role_arn,
144
- RoleSessionName: data.role_session_name || `aws-sdk-js-${Date.now()}`,
145
- ExternalId: data.external_id,
146
- DurationSeconds: parseInt(data.duration_seconds || "3600", 10)
147
- };
148
- const { mfa_serial } = data;
149
- if (mfa_serial) {
150
- if (!options.mfaCodeProvider) {
151
- throw new import_property_provider.CredentialsProviderError(
152
- `Profile ${profileName} requires multi-factor authentication, but no MFA code callback was provided.`,
153
- { logger: options.logger, tryNextLink: false }
154
- );
134
+ if (isCredentialSourceWithoutRoleArn(data)) {
135
+ return sourceCredsProvider;
136
+ } else {
137
+ const params = {
138
+ RoleArn: data.role_arn,
139
+ RoleSessionName: data.role_session_name || `aws-sdk-js-${Date.now()}`,
140
+ ExternalId: data.external_id,
141
+ DurationSeconds: parseInt(data.duration_seconds || "3600", 10)
142
+ };
143
+ const { mfa_serial } = data;
144
+ if (mfa_serial) {
145
+ if (!options.mfaCodeProvider) {
146
+ throw new import_property_provider.CredentialsProviderError(
147
+ `Profile ${profileName} requires multi-factor authentication, but no MFA code callback was provided.`,
148
+ { logger: options.logger, tryNextLink: false }
149
+ );
150
+ }
151
+ params.SerialNumber = mfa_serial;
152
+ params.TokenCode = await options.mfaCodeProvider(mfa_serial);
155
153
  }
156
- params.SerialNumber = mfa_serial;
157
- params.TokenCode = await options.mfaCodeProvider(mfa_serial);
154
+ const sourceCreds = await sourceCredsProvider;
155
+ return options.roleAssumer(sourceCreds, params);
158
156
  }
159
- const sourceCreds = await sourceCredsProvider;
160
- return options.roleAssumer(sourceCreds, params);
161
157
  }, "resolveAssumeRoleCredentials");
158
+ var isCredentialSourceWithoutRoleArn = /* @__PURE__ */ __name((section) => {
159
+ return !section.role_arn && !!section.credential_source;
160
+ }, "isCredentialSourceWithoutRoleArn");
162
161
 
163
162
  // src/resolveProcessCredentials.ts
164
163
  var isProcessProfile = /* @__PURE__ */ __name((arg) => Boolean(arg) && typeof arg === "object" && typeof arg.credential_process === "string", "isProcessProfile");
@@ -207,12 +206,12 @@ var resolveWebIdentityCredentials = /* @__PURE__ */ __name(async (profile, optio
207
206
  ), "resolveWebIdentityCredentials");
208
207
 
209
208
  // src/resolveProfileData.ts
210
- var resolveProfileData = /* @__PURE__ */ __name(async (profileName, profiles, options, visitedProfiles = {}) => {
209
+ var resolveProfileData = /* @__PURE__ */ __name(async (profileName, profiles, options, visitedProfiles = {}, isAssumeRoleRecursiveCall = false) => {
211
210
  const data = profiles[profileName];
212
211
  if (Object.keys(visitedProfiles).length > 0 && isStaticCredsProfile(data)) {
213
212
  return resolveStaticCredentials(data, options);
214
213
  }
215
- if (isAssumeRoleProfile(data, { profile: profileName, logger: options.logger })) {
214
+ if (isAssumeRoleRecursiveCall || isAssumeRoleProfile(data, { profile: profileName, logger: options.logger })) {
216
215
  return resolveAssumeRoleCredentials(profileName, profiles, options, visitedProfiles);
217
216
  }
218
217
  if (isStaticCredsProfile(data)) {
@@ -44,31 +44,33 @@ export const resolveAssumeRoleCredentials = async (profileName, profiles, option
44
44
  }
45
45
  options.logger?.debug(`@aws-sdk/credential-provider-ini - finding credential resolver using ${source_profile ? `source_profile=[${source_profile}]` : `profile=[${profileName}]`}`);
46
46
  const sourceCredsProvider = source_profile
47
- ? resolveProfileData(source_profile, {
48
- ...profiles,
49
- [source_profile]: {
50
- ...profiles[source_profile],
51
- role_arn: data.role_arn ?? profiles[source_profile].role_arn,
52
- },
53
- }, options, {
47
+ ? resolveProfileData(source_profile, profiles, options, {
54
48
  ...visitedProfiles,
55
49
  [source_profile]: true,
56
- })
50
+ }, isCredentialSourceWithoutRoleArn(profiles[source_profile] ?? {}))
57
51
  : (await resolveCredentialSource(data.credential_source, profileName, options.logger)(options))();
58
- const params = {
59
- RoleArn: data.role_arn,
60
- RoleSessionName: data.role_session_name || `aws-sdk-js-${Date.now()}`,
61
- ExternalId: data.external_id,
62
- DurationSeconds: parseInt(data.duration_seconds || "3600", 10),
63
- };
64
- const { mfa_serial } = data;
65
- if (mfa_serial) {
66
- if (!options.mfaCodeProvider) {
67
- throw new CredentialsProviderError(`Profile ${profileName} requires multi-factor authentication, but no MFA code callback was provided.`, { logger: options.logger, tryNextLink: false });
52
+ if (isCredentialSourceWithoutRoleArn(data)) {
53
+ return sourceCredsProvider;
54
+ }
55
+ else {
56
+ const params = {
57
+ RoleArn: data.role_arn,
58
+ RoleSessionName: data.role_session_name || `aws-sdk-js-${Date.now()}`,
59
+ ExternalId: data.external_id,
60
+ DurationSeconds: parseInt(data.duration_seconds || "3600", 10),
61
+ };
62
+ const { mfa_serial } = data;
63
+ if (mfa_serial) {
64
+ if (!options.mfaCodeProvider) {
65
+ throw new CredentialsProviderError(`Profile ${profileName} requires multi-factor authentication, but no MFA code callback was provided.`, { logger: options.logger, tryNextLink: false });
66
+ }
67
+ params.SerialNumber = mfa_serial;
68
+ params.TokenCode = await options.mfaCodeProvider(mfa_serial);
68
69
  }
69
- params.SerialNumber = mfa_serial;
70
- params.TokenCode = await options.mfaCodeProvider(mfa_serial);
70
+ const sourceCreds = await sourceCredsProvider;
71
+ return options.roleAssumer(sourceCreds, params);
71
72
  }
72
- const sourceCreds = await sourceCredsProvider;
73
- return options.roleAssumer(sourceCreds, params);
73
+ };
74
+ const isCredentialSourceWithoutRoleArn = (section) => {
75
+ return !section.role_arn && !!section.credential_source;
74
76
  };
@@ -4,12 +4,12 @@ import { isProcessProfile, resolveProcessCredentials } from "./resolveProcessCre
4
4
  import { isSsoProfile, resolveSsoCredentials } from "./resolveSsoCredentials";
5
5
  import { isStaticCredsProfile, resolveStaticCredentials } from "./resolveStaticCredentials";
6
6
  import { isWebIdentityProfile, resolveWebIdentityCredentials } from "./resolveWebIdentityCredentials";
7
- export const resolveProfileData = async (profileName, profiles, options, visitedProfiles = {}) => {
7
+ export const resolveProfileData = async (profileName, profiles, options, visitedProfiles = {}, isAssumeRoleRecursiveCall = false) => {
8
8
  const data = profiles[profileName];
9
9
  if (Object.keys(visitedProfiles).length > 0 && isStaticCredsProfile(data)) {
10
10
  return resolveStaticCredentials(data, options);
11
11
  }
12
- if (isAssumeRoleProfile(data, { profile: profileName, logger: options.logger })) {
12
+ if (isAssumeRoleRecursiveCall || isAssumeRoleProfile(data, { profile: profileName, logger: options.logger })) {
13
13
  return resolveAssumeRoleCredentials(profileName, profiles, options, visitedProfiles);
14
14
  }
15
15
  if (isStaticCredsProfile(data)) {
@@ -3,4 +3,4 @@ import { FromIniInit } from "./fromIni";
3
3
  /**
4
4
  * @internal
5
5
  */
6
- export declare const resolveProfileData: (profileName: string, profiles: ParsedIniData, options: FromIniInit, visitedProfiles?: Record<string, true>) => Promise<AwsCredentialIdentity>;
6
+ export declare const resolveProfileData: (profileName: string, profiles: ParsedIniData, options: FromIniInit, visitedProfiles?: Record<string, true>, isAssumeRoleRecursiveCall?: boolean) => Promise<AwsCredentialIdentity>;
@@ -4,5 +4,6 @@ export declare const resolveProfileData: (
4
4
  profileName: string,
5
5
  profiles: ParsedIniData,
6
6
  options: FromIniInit,
7
- visitedProfiles?: Record<string, true>
7
+ visitedProfiles?: Record<string, true>,
8
+ isAssumeRoleRecursiveCall?: boolean
8
9
  ) => Promise<AwsCredentialIdentity>;
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/credential-provider-ini",
3
- "version": "3.649.0",
3
+ "version": "3.651.1",
4
4
  "description": "AWS credential provider that sources credentials from ~/.aws/credentials and ~/.aws/config",
5
5
  "main": "./dist-cjs/index.js",
6
6
  "module": "./dist-es/index.js",
@@ -27,7 +27,7 @@
27
27
  "@aws-sdk/credential-provider-env": "3.649.0",
28
28
  "@aws-sdk/credential-provider-http": "3.649.0",
29
29
  "@aws-sdk/credential-provider-process": "3.649.0",
30
- "@aws-sdk/credential-provider-sso": "3.649.0",
30
+ "@aws-sdk/credential-provider-sso": "3.651.1",
31
31
  "@aws-sdk/credential-provider-web-identity": "3.649.0",
32
32
  "@aws-sdk/types": "3.649.0",
33
33
  "@smithy/credential-provider-imds": "^3.2.1",
@@ -45,7 +45,7 @@
45
45
  "typescript": "~4.9.5"
46
46
  },
47
47
  "peerDependencies": {
48
- "@aws-sdk/client-sts": "^3.649.0"
48
+ "@aws-sdk/client-sts": "^3.651.1"
49
49
  },
50
50
  "types": "./dist-types/index.d.ts",
51
51
  "engines": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/credential-provider-node",
3
- "version": "3.649.0",
3
+ "version": "3.651.1",
4
4
  "description": "AWS credential provider that sources credentials from a Node.JS environment. ",
5
5
  "engines": {
6
6
  "node": ">=16.0.0"
@@ -30,9 +30,9 @@
30
30
  "dependencies": {
31
31
  "@aws-sdk/credential-provider-env": "3.649.0",
32
32
  "@aws-sdk/credential-provider-http": "3.649.0",
33
- "@aws-sdk/credential-provider-ini": "3.649.0",
33
+ "@aws-sdk/credential-provider-ini": "3.651.1",
34
34
  "@aws-sdk/credential-provider-process": "3.649.0",
35
- "@aws-sdk/credential-provider-sso": "3.649.0",
35
+ "@aws-sdk/credential-provider-sso": "3.651.1",
36
36
  "@aws-sdk/credential-provider-web-identity": "3.649.0",
37
37
  "@aws-sdk/types": "3.649.0",
38
38
  "@smithy/credential-provider-imds": "^3.2.1",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/credential-provider-sso",
3
- "version": "3.649.0",
3
+ "version": "3.651.1",
4
4
  "description": "AWS credential provider that exchanges a resolved SSO login token file for temporary AWS credentials",
5
5
  "main": "./dist-cjs/index.js",
6
6
  "module": "./dist-es/index.js",
@@ -24,7 +24,7 @@
24
24
  },
25
25
  "license": "Apache-2.0",
26
26
  "dependencies": {
27
- "@aws-sdk/client-sso": "3.649.0",
27
+ "@aws-sdk/client-sso": "3.651.1",
28
28
  "@aws-sdk/token-providers": "3.649.0",
29
29
  "@aws-sdk/types": "3.649.0",
30
30
  "@smithy/property-provider": "^3.1.4",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smithy/abort-controller",
3
- "version": "3.1.2",
3
+ "version": "3.1.4",
4
4
  "description": "A simple abort controller library",
5
5
  "main": "./dist-cjs/index.js",
6
6
  "module": "./dist-es/index.js",
@@ -24,7 +24,7 @@
24
24
  },
25
25
  "license": "Apache-2.0",
26
26
  "dependencies": {
27
- "@smithy/types": "^3.4.0",
27
+ "@smithy/types": "^3.4.2",
28
28
  "tslib": "^2.6.2"
29
29
  },
30
30
  "engines": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smithy/config-resolver",
3
- "version": "3.0.6",
3
+ "version": "3.0.8",
4
4
  "scripts": {
5
5
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
6
6
  "build:cjs": "node ../../scripts/inline config-resolver",
@@ -23,10 +23,10 @@
23
23
  },
24
24
  "license": "Apache-2.0",
25
25
  "dependencies": {
26
- "@smithy/node-config-provider": "^3.1.5",
27
- "@smithy/types": "^3.4.0",
26
+ "@smithy/node-config-provider": "^3.1.7",
27
+ "@smithy/types": "^3.4.2",
28
28
  "@smithy/util-config-provider": "^3.0.0",
29
- "@smithy/util-middleware": "^3.0.4",
29
+ "@smithy/util-middleware": "^3.0.6",
30
30
  "tslib": "^2.6.2"
31
31
  },
32
32
  "devDependencies": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smithy/core",
3
- "version": "2.4.1",
3
+ "version": "2.4.3",
4
4
  "scripts": {
5
5
  "build": "yarn lint && concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
6
6
  "build:cjs": "node ../../scripts/inline core",
@@ -46,14 +46,14 @@
46
46
  },
47
47
  "license": "Apache-2.0",
48
48
  "dependencies": {
49
- "@smithy/middleware-endpoint": "^3.1.1",
50
- "@smithy/middleware-retry": "^3.0.16",
51
- "@smithy/middleware-serde": "^3.0.4",
52
- "@smithy/protocol-http": "^4.1.1",
53
- "@smithy/smithy-client": "^3.3.0",
54
- "@smithy/types": "^3.4.0",
49
+ "@smithy/middleware-endpoint": "^3.1.3",
50
+ "@smithy/middleware-retry": "^3.0.18",
51
+ "@smithy/middleware-serde": "^3.0.6",
52
+ "@smithy/protocol-http": "^4.1.3",
53
+ "@smithy/smithy-client": "^3.3.2",
54
+ "@smithy/types": "^3.4.2",
55
55
  "@smithy/util-body-length-browser": "^3.0.0",
56
- "@smithy/util-middleware": "^3.0.4",
56
+ "@smithy/util-middleware": "^3.0.6",
57
57
  "@smithy/util-utf8": "^3.0.0",
58
58
  "tslib": "^2.6.2"
59
59
  },
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smithy/credential-provider-imds",
3
- "version": "3.2.1",
3
+ "version": "3.2.3",
4
4
  "description": "AWS credential provider that sources credentials from the EC2 instance metadata service and ECS container metadata service",
5
5
  "main": "./dist-cjs/index.js",
6
6
  "module": "./dist-es/index.js",
@@ -26,10 +26,10 @@
26
26
  },
27
27
  "license": "Apache-2.0",
28
28
  "dependencies": {
29
- "@smithy/node-config-provider": "^3.1.5",
30
- "@smithy/property-provider": "^3.1.4",
31
- "@smithy/types": "^3.4.0",
32
- "@smithy/url-parser": "^3.0.4",
29
+ "@smithy/node-config-provider": "^3.1.7",
30
+ "@smithy/property-provider": "^3.1.6",
31
+ "@smithy/types": "^3.4.2",
32
+ "@smithy/url-parser": "^3.0.6",
33
33
  "tslib": "^2.6.2"
34
34
  },
35
35
  "devDependencies": {
@@ -107,7 +107,8 @@ var _FetchHttpHandler = class _FetchHttpHandler {
107
107
  body,
108
108
  headers: new Headers(request.headers),
109
109
  method,
110
- credentials
110
+ credentials,
111
+ cache: this.config.cache ?? "default"
111
112
  };
112
113
  if (body) {
113
114
  requestOptions.duplex = "half";
@@ -118,6 +119,9 @@ var _FetchHttpHandler = class _FetchHttpHandler {
118
119
  if (keepAliveSupport.supported) {
119
120
  requestOptions.keepalive = keepAlive;
120
121
  }
122
+ if (typeof this.config.requestInit === "function") {
123
+ Object.assign(requestOptions, this.config.requestInit(request));
124
+ }
121
125
  let removeSignalEventListener = /* @__PURE__ */ __name(() => {
122
126
  }, "removeSignalEventListener");
123
127
  const fetchRequest = new Request(url, requestOptions);
@@ -59,6 +59,7 @@ export class FetchHttpHandler {
59
59
  headers: new Headers(request.headers),
60
60
  method: method,
61
61
  credentials,
62
+ cache: this.config.cache ?? "default",
62
63
  };
63
64
  if (body) {
64
65
  requestOptions.duplex = "half";
@@ -69,6 +70,9 @@ export class FetchHttpHandler {
69
70
  if (keepAliveSupport.supported) {
70
71
  requestOptions.keepalive = keepAlive;
71
72
  }
73
+ if (typeof this.config.requestInit === "function") {
74
+ Object.assign(requestOptions, this.config.requestInit(request));
75
+ }
72
76
  let removeSignalEventListener = () => { };
73
77
  const fetchRequest = new Request(url, requestOptions);
74
78
  const raceOfPromises = [