@cdk8s/awscdk-resolver 0.0.612 → 0.0.614

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/.jsii +3 -3
  2. package/lib/resolve.js +1 -1
  3. package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/index.js +3710 -15
  4. package/node_modules/@aws-sdk/client-cloudformation/dist-types/runtimeConfig.browser.d.ts +1 -1
  5. package/node_modules/@aws-sdk/client-cloudformation/dist-types/runtimeConfig.d.ts +1 -1
  6. package/node_modules/@aws-sdk/client-cloudformation/dist-types/runtimeConfig.native.d.ts +1 -1
  7. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/runtimeConfig.browser.d.ts +7 -1
  8. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/runtimeConfig.d.ts +7 -1
  9. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/runtimeConfig.native.d.ts +7 -1
  10. package/node_modules/@aws-sdk/client-cloudformation/package.json +8 -8
  11. package/node_modules/@aws-sdk/core/account-id-endpoint.d.ts +1 -3
  12. package/node_modules/@aws-sdk/core/client.d.ts +1 -3
  13. package/node_modules/@aws-sdk/core/httpAuthSchemes.d.ts +1 -3
  14. package/node_modules/@aws-sdk/core/package.json +8 -14
  15. package/node_modules/@aws-sdk/core/protocols.d.ts +1 -3
  16. package/node_modules/@aws-sdk/core/util.d.ts +1 -3
  17. package/node_modules/@aws-sdk/credential-provider-env/package.json +5 -5
  18. package/node_modules/@aws-sdk/credential-provider-http/dist-cjs/index.js +172 -1
  19. package/node_modules/@aws-sdk/credential-provider-http/package.json +8 -10
  20. package/node_modules/@aws-sdk/credential-provider-ini/package.json +13 -13
  21. package/node_modules/@aws-sdk/credential-provider-login/package.json +6 -6
  22. package/node_modules/@aws-sdk/credential-provider-node/package.json +11 -11
  23. package/node_modules/@aws-sdk/credential-provider-process/package.json +5 -5
  24. package/node_modules/@aws-sdk/credential-provider-sso/package.json +7 -7
  25. package/node_modules/@aws-sdk/credential-provider-web-identity/dist-cjs/index.js +58 -3
  26. package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +7 -8
  27. package/node_modules/@aws-sdk/nested-clients/cognito-identity.d.ts +1 -3
  28. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/cognito-identity/index.js +1 -1
  29. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/index.js +1 -1
  30. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/index.js +1 -1
  31. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/index.js +1 -1
  32. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/index.js +1 -1
  33. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/runtimeConfig.browser.d.ts +1 -1
  34. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/runtimeConfig.d.ts +1 -1
  35. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/runtimeConfig.native.d.ts +1 -1
  36. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/runtimeConfig.browser.d.ts +1 -1
  37. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/runtimeConfig.d.ts +1 -1
  38. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/runtimeConfig.native.d.ts +1 -1
  39. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/runtimeConfig.browser.d.ts +1 -1
  40. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/runtimeConfig.d.ts +1 -1
  41. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/runtimeConfig.native.d.ts +1 -1
  42. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/runtimeConfig.browser.d.ts +1 -1
  43. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/runtimeConfig.d.ts +1 -1
  44. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/runtimeConfig.native.d.ts +1 -1
  45. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/runtimeConfig.browser.d.ts +1 -1
  46. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/runtimeConfig.d.ts +1 -1
  47. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/runtimeConfig.native.d.ts +1 -1
  48. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/runtimeConfig.browser.d.ts +7 -1
  49. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/runtimeConfig.d.ts +7 -1
  50. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/runtimeConfig.native.d.ts +7 -1
  51. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/runtimeConfig.browser.d.ts +7 -1
  52. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/runtimeConfig.d.ts +7 -1
  53. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/runtimeConfig.native.d.ts +7 -1
  54. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/runtimeConfig.browser.d.ts +7 -1
  55. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/runtimeConfig.d.ts +7 -1
  56. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/runtimeConfig.native.d.ts +7 -1
  57. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/runtimeConfig.browser.d.ts +7 -1
  58. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/runtimeConfig.d.ts +7 -1
  59. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/runtimeConfig.native.d.ts +7 -1
  60. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/runtimeConfig.browser.d.ts +7 -1
  61. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/runtimeConfig.d.ts +7 -1
  62. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/runtimeConfig.native.d.ts +7 -1
  63. package/node_modules/@aws-sdk/nested-clients/package.json +8 -8
  64. package/node_modules/@aws-sdk/nested-clients/signin.d.ts +1 -3
  65. package/node_modules/@aws-sdk/nested-clients/sso-oidc.d.ts +1 -3
  66. package/node_modules/@aws-sdk/nested-clients/sso.d.ts +1 -3
  67. package/node_modules/@aws-sdk/nested-clients/sts.d.ts +1 -3
  68. package/node_modules/@aws-sdk/signature-v4-multi-region/package.json +4 -4
  69. package/node_modules/@aws-sdk/token-providers/package.json +6 -6
  70. package/node_modules/@aws-sdk/types/package.json +2 -2
  71. package/node_modules/@aws-sdk/xml-builder/dist-cjs/index.js +236 -3
  72. package/node_modules/@aws-sdk/xml-builder/package.json +3 -4
  73. package/node_modules/@smithy/core/dist-cjs/submodules/checksum/index.browser.js +358 -145
  74. package/node_modules/@smithy/core/dist-cjs/submodules/checksum/index.js +462 -142
  75. package/node_modules/@smithy/core/dist-cjs/submodules/checksum/index.native.js +358 -145
  76. package/node_modules/@smithy/core/dist-cjs/submodules/config/index.js +108 -63
  77. package/node_modules/@smithy/core/dist-cjs/submodules/event-streams/index.browser.js +11 -8
  78. package/node_modules/@smithy/core/dist-cjs/submodules/event-streams/index.js +11 -8
  79. package/node_modules/@smithy/core/dist-cjs/submodules/protocols/index.js +5 -2
  80. package/node_modules/@smithy/core/dist-cjs/submodules/serde/index.browser.js +30 -36
  81. package/node_modules/@smithy/core/dist-cjs/submodules/serde/index.js +54 -110
  82. package/node_modules/@smithy/core/dist-cjs/submodules/serde/index.native.js +30 -36
  83. package/node_modules/@smithy/core/dist-es/submodules/checksum/crc32/Crc32Js.js +30 -0
  84. package/node_modules/@smithy/core/dist-es/submodules/checksum/crc32/Crc32Node.js +24 -0
  85. package/node_modules/@smithy/core/dist-es/submodules/checksum/index.browser.js +7 -1
  86. package/node_modules/@smithy/core/dist-es/submodules/checksum/index.js +7 -1
  87. package/node_modules/@smithy/core/dist-es/submodules/checksum/index.native.js +7 -1
  88. package/node_modules/@smithy/core/dist-es/submodules/checksum/md5/Md5Js.js +92 -0
  89. package/node_modules/@smithy/core/dist-es/submodules/checksum/md5/Md5Node.js +29 -0
  90. package/node_modules/@smithy/core/dist-es/submodules/checksum/sha256/Sha256Js.js +179 -0
  91. package/node_modules/@smithy/core/dist-es/submodules/checksum/sha256/Sha256Node.js +59 -0
  92. package/node_modules/@smithy/core/dist-es/submodules/checksum/sha256/Sha256WebCrypto.js +71 -0
  93. package/node_modules/@smithy/core/dist-es/submodules/config/config-resolver/regionConfig/config.js +6 -1
  94. package/node_modules/@smithy/core/dist-es/submodules/config/config-resolver/regionConfig/getInstanceMetadataRegion.js +92 -0
  95. package/node_modules/@smithy/core/dist-es/submodules/config/defaults-mode/constants.js +3 -0
  96. package/node_modules/@smithy/core/dist-es/submodules/config/defaults-mode/resolveDefaultsModeConfig.js +3 -56
  97. package/node_modules/@smithy/core/dist-es/submodules/event-streams/eventstream-codec/EventStreamCodec.js +5 -3
  98. package/node_modules/@smithy/core/dist-es/submodules/event-streams/eventstream-codec/splitMessage.js +7 -6
  99. package/node_modules/@smithy/core/dist-es/submodules/protocols/HttpProtocol.js +4 -1
  100. package/node_modules/@smithy/core/dist-es/submodules/serde/concatBytes.js +15 -0
  101. package/node_modules/@smithy/core/dist-es/submodules/serde/index.browser.js +2 -0
  102. package/node_modules/@smithy/core/dist-es/submodules/serde/index.js +2 -0
  103. package/node_modules/@smithy/core/dist-es/submodules/serde/index.native.js +2 -0
  104. package/node_modules/@smithy/core/dist-es/submodules/serde/util-stream/checksum/ChecksumStream.js +4 -0
  105. package/node_modules/@smithy/core/dist-es/submodules/serde/util-stream/headStream.js +2 -1
  106. package/node_modules/@smithy/core/dist-es/submodules/serde/util-stream/stream-collector.browser.js +12 -38
  107. package/node_modules/@smithy/core/dist-es/submodules/serde/util-stream/stream-collector.js +18 -33
  108. package/node_modules/@smithy/core/dist-es/submodules/serde/util-utf8/toUint8Array.browser.js +3 -0
  109. package/node_modules/@smithy/core/dist-es/submodules/serde/util-utf8/toUint8Array.js +3 -0
  110. package/node_modules/@smithy/core/dist-types/submodules/checksum/crc32/Crc32Js.d.ts +18 -0
  111. package/node_modules/@smithy/core/dist-types/submodules/checksum/crc32/Crc32Node.d.ts +18 -0
  112. package/node_modules/@smithy/core/dist-types/submodules/checksum/index.browser.d.ts +7 -1
  113. package/node_modules/@smithy/core/dist-types/submodules/checksum/index.d.ts +7 -1
  114. package/node_modules/@smithy/core/dist-types/submodules/checksum/index.native.d.ts +7 -1
  115. package/node_modules/@smithy/core/dist-types/submodules/checksum/md5/Md5Js.d.ts +19 -0
  116. package/node_modules/@smithy/core/dist-types/submodules/checksum/md5/Md5Node.d.ts +17 -0
  117. package/node_modules/@smithy/core/dist-types/submodules/checksum/sha256/Sha256Js.d.ts +28 -0
  118. package/node_modules/@smithy/core/dist-types/submodules/checksum/sha256/Sha256Node.d.ts +13 -0
  119. package/node_modules/@smithy/core/dist-types/submodules/checksum/sha256/Sha256WebCrypto.d.ts +22 -0
  120. package/node_modules/@smithy/core/dist-types/submodules/config/config-resolver/regionConfig/getInstanceMetadataRegion.d.ts +7 -0
  121. package/node_modules/@smithy/core/dist-types/submodules/config/defaults-mode/constants.d.ts +12 -0
  122. package/node_modules/@smithy/core/dist-types/submodules/serde/concatBytes.d.ts +6 -0
  123. package/node_modules/@smithy/core/dist-types/submodules/serde/index.browser.d.ts +2 -0
  124. package/node_modules/@smithy/core/dist-types/submodules/serde/index.d.ts +2 -0
  125. package/node_modules/@smithy/core/dist-types/submodules/serde/index.native.d.ts +2 -0
  126. package/node_modules/@smithy/core/dist-types/submodules/serde/util-stream/checksum/ChecksumStream.d.ts +9 -0
  127. package/node_modules/@smithy/core/dist-types/submodules/serde/util-stream/stream-collector.browser.d.ts +8 -2
  128. package/node_modules/@smithy/core/dist-types/submodules/serde/util-stream/stream-collector.d.ts +4 -1
  129. package/node_modules/@smithy/core/package.json +4 -4
  130. package/node_modules/@smithy/credential-provider-imds/package.json +2 -2
  131. package/node_modules/@smithy/fetch-http-handler/dist-cjs/index.js +2 -55
  132. package/node_modules/@smithy/fetch-http-handler/dist-es/index.js +2 -2
  133. package/node_modules/@smithy/fetch-http-handler/dist-types/index.d.ts +2 -2
  134. package/node_modules/@smithy/fetch-http-handler/package.json +2 -2
  135. package/node_modules/@smithy/node-http-handler/dist-cjs/index.js +3 -51
  136. package/node_modules/@smithy/node-http-handler/dist-es/index.js +3 -3
  137. package/node_modules/@smithy/node-http-handler/dist-types/index.d.ts +3 -3
  138. package/node_modules/@smithy/node-http-handler/package.json +2 -2
  139. package/node_modules/@smithy/signature-v4/package.json +2 -3
  140. package/package.json +5 -5
  141. package/node_modules/@aws-crypto/crc32/CHANGELOG.md +0 -100
  142. package/node_modules/@aws-crypto/crc32/LICENSE +0 -201
  143. package/node_modules/@aws-crypto/crc32/README.md +0 -16
  144. package/node_modules/@aws-crypto/crc32/build/main/aws_crc32.d.ts +0 -7
  145. package/node_modules/@aws-crypto/crc32/build/main/aws_crc32.js +0 -31
  146. package/node_modules/@aws-crypto/crc32/build/main/aws_crc32.js.map +0 -1
  147. package/node_modules/@aws-crypto/crc32/build/main/index.d.ts +0 -7
  148. package/node_modules/@aws-crypto/crc32/build/main/index.js +0 -108
  149. package/node_modules/@aws-crypto/crc32/build/main/index.js.map +0 -1
  150. package/node_modules/@aws-crypto/crc32/build/module/aws_crc32.d.ts +0 -7
  151. package/node_modules/@aws-crypto/crc32/build/module/aws_crc32.js +0 -28
  152. package/node_modules/@aws-crypto/crc32/build/module/aws_crc32.js.map +0 -1
  153. package/node_modules/@aws-crypto/crc32/build/module/index.d.ts +0 -7
  154. package/node_modules/@aws-crypto/crc32/build/module/index.js +0 -103
  155. package/node_modules/@aws-crypto/crc32/build/module/index.js.map +0 -1
  156. package/node_modules/@aws-crypto/crc32/package.json +0 -32
  157. package/node_modules/@aws-crypto/crc32/src/aws_crc32.ts +0 -24
  158. package/node_modules/@aws-crypto/crc32/src/index.ts +0 -92
  159. package/node_modules/@aws-crypto/crc32/tsconfig.json +0 -9
  160. package/node_modules/@aws-crypto/crc32/tsconfig.module.json +0 -7
  161. package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/auth/httpAuthSchemeProvider.js +0 -40
  162. package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/endpoint/bdd.js +0 -49
  163. package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/endpoint/endpointResolver.js +0 -14
  164. package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/models/CloudFormationServiceException.js +0 -8
  165. package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/models/errors.js +0 -407
  166. package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/runtimeConfig.browser.js +0 -32
  167. package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/runtimeConfig.js +0 -45
  168. package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/runtimeConfig.native.js +0 -12
  169. package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/runtimeConfig.shared.js +0 -39
  170. package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/schemas/schemas_0.js +0 -3022
  171. package/node_modules/@aws-sdk/core/dist-cjs/submodules/client/index.browser.js +0 -869
  172. package/node_modules/@aws-sdk/core/dist-cjs/submodules/client/index.native.js +0 -862
  173. package/node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/checkUrl.js +0 -42
  174. package/node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/fromHttp.browser.js +0 -27
  175. package/node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/fromHttp.js +0 -71
  176. package/node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/requestHelpers.js +0 -49
  177. package/node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/retry-wrapper.js +0 -13
  178. package/node_modules/@aws-sdk/credential-provider-http/dist-cjs/index.browser.js +0 -2
  179. package/node_modules/@aws-sdk/credential-provider-web-identity/dist-cjs/fromTokenFile.js +0 -29
  180. package/node_modules/@aws-sdk/credential-provider-web-identity/dist-cjs/fromWebToken.js +0 -25
  181. package/node_modules/@aws-sdk/xml-builder/dist-cjs/xml-parser.browser.js +0 -57
  182. package/node_modules/@aws-sdk/xml-builder/dist-cjs/xml-parser.js +0 -234
  183. package/node_modules/@smithy/core/dist-es/submodules/checksum/md5-js/constants.js +0 -3
  184. package/node_modules/@smithy/core/dist-es/submodules/checksum/md5-js/md5.js +0 -168
  185. package/node_modules/@smithy/core/dist-types/submodules/checksum/md5-js/constants.d.ts +0 -12
  186. package/node_modules/@smithy/core/dist-types/submodules/checksum/md5-js/md5.d.ts +0 -16
  187. package/node_modules/@smithy/fetch-http-handler/dist-es/stream-collector.js +0 -53
  188. package/node_modules/@smithy/fetch-http-handler/dist-types/stream-collector.d.ts +0 -2
  189. package/node_modules/@smithy/node-http-handler/dist-es/stream-collector/collector.js +0 -8
  190. package/node_modules/@smithy/node-http-handler/dist-es/stream-collector/index.js +0 -41
  191. package/node_modules/@smithy/node-http-handler/dist-types/stream-collector/collector.d.ts +0 -5
  192. package/node_modules/@smithy/node-http-handler/dist-types/stream-collector/index.d.ts +0 -7
@@ -1,3 +1,58 @@
1
- var __exportStar = (m, e) => { Object.assign(e, m); };
2
- __exportStar(require("./fromTokenFile"), exports);
3
- __exportStar(require("./fromWebToken"), exports);
1
+ const { setCredentialFeature } = require("@aws-sdk/core/client");
2
+ const { CredentialsProviderError, externalDataInterceptor } = require("@smithy/core/config");
3
+ const { readFileSync } = require("node:fs");
4
+
5
+ const fromWebToken = (init) => async (awsIdentityProperties) => {
6
+ init.logger?.debug("@aws-sdk/credential-provider-web-identity - fromWebToken");
7
+ const { roleArn, roleSessionName, webIdentityToken, providerId, policyArns, policy, durationSeconds } = init;
8
+ let { roleAssumerWithWebIdentity } = init;
9
+ if (!roleAssumerWithWebIdentity) {
10
+ const { getDefaultRoleAssumerWithWebIdentity } = require('@aws-sdk/nested-clients/sts');
11
+ roleAssumerWithWebIdentity = getDefaultRoleAssumerWithWebIdentity({
12
+ ...init.clientConfig,
13
+ credentialProviderLogger: init.logger,
14
+ parentClientConfig: {
15
+ ...awsIdentityProperties?.callerClientConfig,
16
+ ...init.parentClientConfig,
17
+ },
18
+ }, init.clientPlugins);
19
+ }
20
+ return roleAssumerWithWebIdentity({
21
+ RoleArn: roleArn,
22
+ RoleSessionName: roleSessionName ?? `aws-sdk-js-session-${Date.now()}`,
23
+ WebIdentityToken: webIdentityToken,
24
+ ProviderId: providerId,
25
+ PolicyArns: policyArns,
26
+ Policy: policy,
27
+ DurationSeconds: durationSeconds,
28
+ });
29
+ };
30
+
31
+ const ENV_TOKEN_FILE = "AWS_WEB_IDENTITY_TOKEN_FILE";
32
+ const ENV_ROLE_ARN = "AWS_ROLE_ARN";
33
+ const ENV_ROLE_SESSION_NAME = "AWS_ROLE_SESSION_NAME";
34
+ const fromTokenFile = (init = {}) => async (awsIdentityProperties) => {
35
+ init.logger?.debug("@aws-sdk/credential-provider-web-identity - fromTokenFile");
36
+ const webIdentityTokenFile = init?.webIdentityTokenFile ?? process.env[ENV_TOKEN_FILE];
37
+ const roleArn = init?.roleArn ?? process.env[ENV_ROLE_ARN];
38
+ const roleSessionName = init?.roleSessionName ?? process.env[ENV_ROLE_SESSION_NAME];
39
+ if (!webIdentityTokenFile || !roleArn) {
40
+ throw new CredentialsProviderError("Web identity configuration not specified", {
41
+ logger: init.logger,
42
+ });
43
+ }
44
+ const credentials = await fromWebToken({
45
+ ...init,
46
+ webIdentityToken: externalDataInterceptor?.getTokenRecord?.()[webIdentityTokenFile] ??
47
+ readFileSync(webIdentityTokenFile, { encoding: "ascii" }),
48
+ roleArn,
49
+ roleSessionName,
50
+ })(awsIdentityProperties);
51
+ if (webIdentityTokenFile === process.env[ENV_TOKEN_FILE]) {
52
+ setCredentialFeature(credentials, "CREDENTIALS_ENV_VARS_STS_WEB_ID_TOKEN", "h");
53
+ }
54
+ return credentials;
55
+ };
56
+
57
+ exports.fromTokenFile = fromTokenFile;
58
+ exports.fromWebToken = fromWebToken;
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/credential-provider-web-identity",
3
- "version": "3.972.55",
3
+ "version": "3.972.56",
4
4
  "description": "AWS credential provider that calls STS assumeRole for temporary AWS credentials",
5
5
  "main": "./dist-cjs/index.js",
6
6
  "module": "./dist-es/index.js",
@@ -20,8 +20,7 @@
20
20
  "./dist-es/fromTokenFile": false
21
21
  },
22
22
  "react-native": {
23
- "./dist-es/fromTokenFile": false,
24
- "./dist-cjs/fromTokenFile": false
23
+ "./dist-es/fromTokenFile": false
25
24
  },
26
25
  "keywords": [
27
26
  "aws",
@@ -34,11 +33,11 @@
34
33
  },
35
34
  "license": "Apache-2.0",
36
35
  "dependencies": {
37
- "@aws-sdk/core": "^3.974.23",
38
- "@aws-sdk/nested-clients": "^3.997.23",
39
- "@aws-sdk/types": "^3.973.13",
40
- "@smithy/core": "^3.24.6",
41
- "@smithy/types": "^4.14.3",
36
+ "@aws-sdk/core": "^3.974.24",
37
+ "@aws-sdk/nested-clients": "^3.997.24",
38
+ "@aws-sdk/types": "^3.973.14",
39
+ "@smithy/core": "^3.27.0",
40
+ "@smithy/types": "^4.15.0",
42
41
  "tslib": "^2.6.2"
43
42
  },
44
43
  "devDependencies": {
@@ -2,6 +2,4 @@
2
2
  * Do not edit:
3
3
  * This is a compatibility redirect for contexts that do not understand package.json exports field.
4
4
  */
5
- declare module "@aws-sdk/nested-clients/cognito-identity" {
6
- export * from "@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/index.d";
7
- }
5
+ export * from "./dist-types/submodules/cognito-identity/index";
@@ -79,7 +79,7 @@ const commonParams = {
79
79
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
80
80
  };
81
81
 
82
- var version = "3.997.22";
82
+ var version = "3.997.23";
83
83
  var packageInfo = {
84
84
  version: version};
85
85
 
@@ -75,7 +75,7 @@ const commonParams = {
75
75
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
76
76
  };
77
77
 
78
- var version = "3.997.22";
78
+ var version = "3.997.23";
79
79
  var packageInfo = {
80
80
  version: version};
81
81
 
@@ -75,7 +75,7 @@ const commonParams = {
75
75
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
76
76
  };
77
77
 
78
- var version = "3.997.22";
78
+ var version = "3.997.23";
79
79
  var packageInfo = {
80
80
  version: version};
81
81
 
@@ -75,7 +75,7 @@ const commonParams = {
75
75
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
76
76
  };
77
77
 
78
- var version = "3.997.22";
78
+ var version = "3.997.23";
79
79
  var packageInfo = {
80
80
  version: version};
81
81
 
@@ -256,7 +256,7 @@ const commonParams = {
256
256
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
257
257
  };
258
258
 
259
- var version = "3.997.22";
259
+ var version = "3.997.23";
260
260
  var packageInfo = {
261
261
  version: version};
262
262
 
@@ -13,7 +13,7 @@ export declare const getRuntimeConfig: (config: CognitoIdentityClientConfig) =>
13
13
  requestHandler: import("@smithy/core/protocols").HttpHandler<any> | RequestHandler;
14
14
  retryMode: string | import("@smithy/types").Provider<string>;
15
15
  sha256: import("@smithy/types").HashConstructor;
16
- streamCollector: import("@smithy/types").StreamCollector;
16
+ streamCollector: (stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob) => Promise<Uint8Array>;
17
17
  useDualstackEndpoint: (boolean | import("@smithy/types").Provider<boolean>) & (boolean | import("@smithy/types").Provider<boolean | undefined>);
18
18
  useFipsEndpoint: (boolean | import("@smithy/types").Provider<boolean>) & (boolean | import("@smithy/types").Provider<boolean | undefined>);
19
19
  cacheMiddleware?: boolean | undefined;
@@ -14,7 +14,7 @@ export declare const getRuntimeConfig: (config: CognitoIdentityClientConfig) =>
14
14
  requestHandler: RequestHandler | import("@smithy/core/protocols").HttpHandler<any>;
15
15
  retryMode: string | import("@smithy/types").Provider<string>;
16
16
  sha256: import("@smithy/types").HashConstructor;
17
- streamCollector: import("@smithy/types").StreamCollector;
17
+ streamCollector: (stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob) => Promise<Uint8Array>;
18
18
  useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
19
19
  useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
20
20
  userAgentAppId: string | import("@smithy/types").Provider<string | undefined>;
@@ -15,7 +15,7 @@ export declare const getRuntimeConfig: (config: CognitoIdentityClientConfig) =>
15
15
  apiVersion: string;
16
16
  urlParser: import("@smithy/types").UrlParser;
17
17
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
18
- streamCollector: import("@smithy/types").StreamCollector;
18
+ streamCollector: (stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob) => Promise<Uint8Array>;
19
19
  base64Decoder: import("@smithy/types").Decoder;
20
20
  base64Encoder: (_input: Uint8Array | string) => string;
21
21
  utf8Decoder: import("@smithy/types").Decoder;
@@ -14,7 +14,7 @@ export declare const getRuntimeConfig: (config: SigninClientConfig) => {
14
14
  requestHandler: import("@smithy/core/protocols").HttpHandler<any> | RequestHandler;
15
15
  retryMode: string | import("@smithy/types").Provider<string>;
16
16
  sha256: import("@smithy/types").HashConstructor;
17
- streamCollector: import("@smithy/types").StreamCollector;
17
+ streamCollector: (stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob) => Promise<Uint8Array>;
18
18
  useDualstackEndpoint: (boolean | import("@smithy/types").Provider<boolean>) & (boolean | import("@smithy/types").Provider<boolean | undefined>);
19
19
  useFipsEndpoint: (boolean | import("@smithy/types").Provider<boolean>) & (boolean | import("@smithy/types").Provider<boolean | undefined>);
20
20
  cacheMiddleware?: boolean | undefined;
@@ -14,7 +14,7 @@ export declare const getRuntimeConfig: (config: SigninClientConfig) => {
14
14
  requestHandler: RequestHandler | import("@smithy/core/protocols").HttpHandler<any>;
15
15
  retryMode: string | import("@smithy/types").Provider<string>;
16
16
  sha256: import("@smithy/types").HashConstructor;
17
- streamCollector: import("@smithy/types").StreamCollector;
17
+ streamCollector: (stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob) => Promise<Uint8Array>;
18
18
  useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
19
19
  useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
20
20
  userAgentAppId: string | import("@smithy/types").Provider<string | undefined>;
@@ -15,7 +15,7 @@ export declare const getRuntimeConfig: (config: SigninClientConfig) => {
15
15
  apiVersion: string;
16
16
  urlParser: import("@smithy/types").UrlParser;
17
17
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
18
- streamCollector: import("@smithy/types").StreamCollector;
18
+ streamCollector: (stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob) => Promise<Uint8Array>;
19
19
  base64Decoder: import("@smithy/types").Decoder;
20
20
  base64Encoder: (_input: Uint8Array | string) => string;
21
21
  utf8Decoder: import("@smithy/types").Decoder;
@@ -13,7 +13,7 @@ export declare const getRuntimeConfig: (config: SSOClientConfig) => {
13
13
  requestHandler: import("@smithy/core/protocols").HttpHandler<any> | RequestHandler;
14
14
  retryMode: string | import("@smithy/types").Provider<string>;
15
15
  sha256: import("@smithy/types").HashConstructor;
16
- streamCollector: import("@smithy/types").StreamCollector;
16
+ streamCollector: (stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob) => Promise<Uint8Array>;
17
17
  useDualstackEndpoint: (boolean | import("@smithy/types").Provider<boolean>) & (boolean | import("@smithy/types").Provider<boolean | undefined>);
18
18
  useFipsEndpoint: (boolean | import("@smithy/types").Provider<boolean>) & (boolean | import("@smithy/types").Provider<boolean | undefined>);
19
19
  cacheMiddleware?: boolean | undefined;
@@ -14,7 +14,7 @@ export declare const getRuntimeConfig: (config: SSOClientConfig) => {
14
14
  requestHandler: RequestHandler | import("@smithy/core/protocols").HttpHandler<any>;
15
15
  retryMode: string | import("@smithy/types").Provider<string>;
16
16
  sha256: import("@smithy/types").HashConstructor;
17
- streamCollector: import("@smithy/types").StreamCollector;
17
+ streamCollector: (stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob) => Promise<Uint8Array>;
18
18
  useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
19
19
  useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
20
20
  userAgentAppId: string | import("@smithy/types").Provider<string | undefined>;
@@ -15,7 +15,7 @@ export declare const getRuntimeConfig: (config: SSOClientConfig) => {
15
15
  apiVersion: string;
16
16
  urlParser: import("@smithy/types").UrlParser;
17
17
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
18
- streamCollector: import("@smithy/types").StreamCollector;
18
+ streamCollector: (stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob) => Promise<Uint8Array>;
19
19
  base64Decoder: import("@smithy/types").Decoder;
20
20
  base64Encoder: (_input: Uint8Array | string) => string;
21
21
  utf8Decoder: import("@smithy/types").Decoder;
@@ -13,7 +13,7 @@ export declare const getRuntimeConfig: (config: SSOOIDCClientConfig) => {
13
13
  requestHandler: import("@smithy/core/protocols").HttpHandler<any> | RequestHandler;
14
14
  retryMode: string | import("@smithy/types").Provider<string>;
15
15
  sha256: import("@smithy/types").HashConstructor;
16
- streamCollector: import("@smithy/types").StreamCollector;
16
+ streamCollector: (stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob) => Promise<Uint8Array>;
17
17
  useDualstackEndpoint: (boolean | import("@smithy/types").Provider<boolean>) & (boolean | import("@smithy/types").Provider<boolean | undefined>);
18
18
  useFipsEndpoint: (boolean | import("@smithy/types").Provider<boolean>) & (boolean | import("@smithy/types").Provider<boolean | undefined>);
19
19
  cacheMiddleware?: boolean | undefined;
@@ -14,7 +14,7 @@ export declare const getRuntimeConfig: (config: SSOOIDCClientConfig) => {
14
14
  requestHandler: RequestHandler | import("@smithy/core/protocols").HttpHandler<any>;
15
15
  retryMode: string | import("@smithy/types").Provider<string>;
16
16
  sha256: import("@smithy/types").HashConstructor;
17
- streamCollector: import("@smithy/types").StreamCollector;
17
+ streamCollector: (stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob) => Promise<Uint8Array>;
18
18
  useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
19
19
  useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
20
20
  userAgentAppId: string | import("@smithy/types").Provider<string | undefined>;
@@ -15,7 +15,7 @@ export declare const getRuntimeConfig: (config: SSOOIDCClientConfig) => {
15
15
  apiVersion: string;
16
16
  urlParser: import("@smithy/types").UrlParser;
17
17
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
18
- streamCollector: import("@smithy/types").StreamCollector;
18
+ streamCollector: (stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob) => Promise<Uint8Array>;
19
19
  base64Decoder: import("@smithy/types").Decoder;
20
20
  base64Encoder: (_input: Uint8Array | string) => string;
21
21
  utf8Decoder: import("@smithy/types").Decoder;
@@ -14,7 +14,7 @@ export declare const getRuntimeConfig: (config: STSClientConfig) => {
14
14
  requestHandler: import("@smithy/core/protocols").HttpHandler<any> | RequestHandler;
15
15
  retryMode: string | import("@smithy/types").Provider<string>;
16
16
  sha256: import("@smithy/types").HashConstructor;
17
- streamCollector: import("@smithy/types").StreamCollector;
17
+ streamCollector: (stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob) => Promise<Uint8Array>;
18
18
  useDualstackEndpoint: (boolean | import("@smithy/types").Provider<boolean>) & (boolean | import("@smithy/types").Provider<boolean | undefined>);
19
19
  useFipsEndpoint: (boolean | import("@smithy/types").Provider<boolean>) & (boolean | import("@smithy/types").Provider<boolean | undefined>);
20
20
  cacheMiddleware?: boolean | undefined;
@@ -27,7 +27,7 @@ export declare const getRuntimeConfig: (config: STSClientConfig) => {
27
27
  retryMode: string | import("@smithy/types").Provider<string>;
28
28
  sha256: import("@smithy/types").HashConstructor;
29
29
  sigv4aSigningRegionSet: string[] | import("@smithy/types").Provider<string[] | undefined>;
30
- streamCollector: import("@smithy/types").StreamCollector;
30
+ streamCollector: (stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob) => Promise<Uint8Array>;
31
31
  useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
32
32
  useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
33
33
  userAgentAppId: string | import("@smithy/types").Provider<string | undefined>;
@@ -15,7 +15,7 @@ export declare const getRuntimeConfig: (config: STSClientConfig) => {
15
15
  apiVersion: string;
16
16
  urlParser: import("@smithy/types").UrlParser;
17
17
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
18
- streamCollector: import("@smithy/types").StreamCollector;
18
+ streamCollector: (stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob) => Promise<Uint8Array>;
19
19
  base64Decoder: import("@smithy/types").Decoder;
20
20
  base64Encoder: (_input: Uint8Array | string) => string;
21
21
  utf8Decoder: import("@smithy/types").Decoder;
@@ -18,7 +18,13 @@ export declare const getRuntimeConfig: (
18
18
  | RequestHandler;
19
19
  retryMode: string | import("@smithy/types").Provider<string>;
20
20
  sha256: import("@smithy/types").HashConstructor;
21
- streamCollector: import("@smithy/types").StreamCollector;
21
+ streamCollector: (
22
+ stream:
23
+ | import("stream").Readable
24
+ | import("stream/web").ReadableStream
25
+ | ReadableStream
26
+ | Blob
27
+ ) => Promise<Uint8Array>;
22
28
  useDualstackEndpoint: (boolean | import("@smithy/types").Provider<boolean>) &
23
29
  (boolean | import("@smithy/types").Provider<boolean | undefined>);
24
30
  useFipsEndpoint: (boolean | import("@smithy/types").Provider<boolean>) &
@@ -19,7 +19,13 @@ export declare const getRuntimeConfig: (
19
19
  | import("@smithy/core/protocols").HttpHandler<any>;
20
20
  retryMode: string | import("@smithy/types").Provider<string>;
21
21
  sha256: import("@smithy/types").HashConstructor;
22
- streamCollector: import("@smithy/types").StreamCollector;
22
+ streamCollector: (
23
+ stream:
24
+ | import("stream").Readable
25
+ | import("stream/web").ReadableStream
26
+ | ReadableStream
27
+ | Blob
28
+ ) => Promise<Uint8Array>;
23
29
  useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
24
30
  useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
25
31
  userAgentAppId: string | import("@smithy/types").Provider<string | undefined>;
@@ -22,7 +22,13 @@ export declare const getRuntimeConfig: (
22
22
  apiVersion: string;
23
23
  urlParser: import("@smithy/types").UrlParser;
24
24
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
25
- streamCollector: import("@smithy/types").StreamCollector;
25
+ streamCollector: (
26
+ stream:
27
+ | import("stream").Readable
28
+ | import("stream/web").ReadableStream
29
+ | ReadableStream
30
+ | Blob
31
+ ) => Promise<Uint8Array>;
26
32
  base64Decoder: import("@smithy/types").Decoder;
27
33
  base64Encoder: (_input: Uint8Array | string) => string;
28
34
  utf8Decoder: import("@smithy/types").Decoder;
@@ -21,7 +21,13 @@ export declare const getRuntimeConfig: (config: SigninClientConfig) => {
21
21
  | RequestHandler;
22
22
  retryMode: string | import("@smithy/types").Provider<string>;
23
23
  sha256: import("@smithy/types").HashConstructor;
24
- streamCollector: import("@smithy/types").StreamCollector;
24
+ streamCollector: (
25
+ stream:
26
+ | import("stream").Readable
27
+ | import("stream/web").ReadableStream
28
+ | ReadableStream
29
+ | Blob
30
+ ) => Promise<Uint8Array>;
25
31
  useDualstackEndpoint: (boolean | import("@smithy/types").Provider<boolean>) &
26
32
  (boolean | import("@smithy/types").Provider<boolean | undefined>);
27
33
  useFipsEndpoint: (boolean | import("@smithy/types").Provider<boolean>) &
@@ -17,7 +17,13 @@ export declare const getRuntimeConfig: (config: SigninClientConfig) => {
17
17
  | import("@smithy/core/protocols").HttpHandler<any>;
18
18
  retryMode: string | import("@smithy/types").Provider<string>;
19
19
  sha256: import("@smithy/types").HashConstructor;
20
- streamCollector: import("@smithy/types").StreamCollector;
20
+ streamCollector: (
21
+ stream:
22
+ | import("stream").Readable
23
+ | import("stream/web").ReadableStream
24
+ | ReadableStream
25
+ | Blob
26
+ ) => Promise<Uint8Array>;
21
27
  useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
22
28
  useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
23
29
  userAgentAppId: string | import("@smithy/types").Provider<string | undefined>;
@@ -20,7 +20,13 @@ export declare const getRuntimeConfig: (config: SigninClientConfig) => {
20
20
  apiVersion: string;
21
21
  urlParser: import("@smithy/types").UrlParser;
22
22
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
23
- streamCollector: import("@smithy/types").StreamCollector;
23
+ streamCollector: (
24
+ stream:
25
+ | import("stream").Readable
26
+ | import("stream/web").ReadableStream
27
+ | ReadableStream
28
+ | Blob
29
+ ) => Promise<Uint8Array>;
24
30
  base64Decoder: import("@smithy/types").Decoder;
25
31
  base64Encoder: (_input: Uint8Array | string) => string;
26
32
  utf8Decoder: import("@smithy/types").Decoder;
@@ -16,7 +16,13 @@ export declare const getRuntimeConfig: (config: SSOClientConfig) => {
16
16
  | RequestHandler;
17
17
  retryMode: string | import("@smithy/types").Provider<string>;
18
18
  sha256: import("@smithy/types").HashConstructor;
19
- streamCollector: import("@smithy/types").StreamCollector;
19
+ streamCollector: (
20
+ stream:
21
+ | import("stream").Readable
22
+ | import("stream/web").ReadableStream
23
+ | ReadableStream
24
+ | Blob
25
+ ) => Promise<Uint8Array>;
20
26
  useDualstackEndpoint: (boolean | import("@smithy/types").Provider<boolean>) &
21
27
  (boolean | import("@smithy/types").Provider<boolean | undefined>);
22
28
  useFipsEndpoint: (boolean | import("@smithy/types").Provider<boolean>) &
@@ -17,7 +17,13 @@ export declare const getRuntimeConfig: (config: SSOClientConfig) => {
17
17
  | import("@smithy/core/protocols").HttpHandler<any>;
18
18
  retryMode: string | import("@smithy/types").Provider<string>;
19
19
  sha256: import("@smithy/types").HashConstructor;
20
- streamCollector: import("@smithy/types").StreamCollector;
20
+ streamCollector: (
21
+ stream:
22
+ | import("stream").Readable
23
+ | import("stream/web").ReadableStream
24
+ | ReadableStream
25
+ | Blob
26
+ ) => Promise<Uint8Array>;
21
27
  useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
22
28
  useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
23
29
  userAgentAppId: string | import("@smithy/types").Provider<string | undefined>;
@@ -20,7 +20,13 @@ export declare const getRuntimeConfig: (config: SSOClientConfig) => {
20
20
  apiVersion: string;
21
21
  urlParser: import("@smithy/types").UrlParser;
22
22
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
23
- streamCollector: import("@smithy/types").StreamCollector;
23
+ streamCollector: (
24
+ stream:
25
+ | import("stream").Readable
26
+ | import("stream/web").ReadableStream
27
+ | ReadableStream
28
+ | Blob
29
+ ) => Promise<Uint8Array>;
24
30
  base64Decoder: import("@smithy/types").Decoder;
25
31
  base64Encoder: (_input: Uint8Array | string) => string;
26
32
  utf8Decoder: import("@smithy/types").Decoder;
@@ -16,7 +16,13 @@ export declare const getRuntimeConfig: (config: SSOOIDCClientConfig) => {
16
16
  | RequestHandler;
17
17
  retryMode: string | import("@smithy/types").Provider<string>;
18
18
  sha256: import("@smithy/types").HashConstructor;
19
- streamCollector: import("@smithy/types").StreamCollector;
19
+ streamCollector: (
20
+ stream:
21
+ | import("stream").Readable
22
+ | import("stream/web").ReadableStream
23
+ | ReadableStream
24
+ | Blob
25
+ ) => Promise<Uint8Array>;
20
26
  useDualstackEndpoint: (boolean | import("@smithy/types").Provider<boolean>) &
21
27
  (boolean | import("@smithy/types").Provider<boolean | undefined>);
22
28
  useFipsEndpoint: (boolean | import("@smithy/types").Provider<boolean>) &
@@ -17,7 +17,13 @@ export declare const getRuntimeConfig: (config: SSOOIDCClientConfig) => {
17
17
  | import("@smithy/core/protocols").HttpHandler<any>;
18
18
  retryMode: string | import("@smithy/types").Provider<string>;
19
19
  sha256: import("@smithy/types").HashConstructor;
20
- streamCollector: import("@smithy/types").StreamCollector;
20
+ streamCollector: (
21
+ stream:
22
+ | import("stream").Readable
23
+ | import("stream/web").ReadableStream
24
+ | ReadableStream
25
+ | Blob
26
+ ) => Promise<Uint8Array>;
21
27
  useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
22
28
  useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
23
29
  userAgentAppId: string | import("@smithy/types").Provider<string | undefined>;
@@ -20,7 +20,13 @@ export declare const getRuntimeConfig: (config: SSOOIDCClientConfig) => {
20
20
  apiVersion: string;
21
21
  urlParser: import("@smithy/types").UrlParser;
22
22
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
23
- streamCollector: import("@smithy/types").StreamCollector;
23
+ streamCollector: (
24
+ stream:
25
+ | import("stream").Readable
26
+ | import("stream/web").ReadableStream
27
+ | ReadableStream
28
+ | Blob
29
+ ) => Promise<Uint8Array>;
24
30
  base64Decoder: import("@smithy/types").Decoder;
25
31
  base64Encoder: (_input: Uint8Array | string) => string;
26
32
  utf8Decoder: import("@smithy/types").Decoder;
@@ -21,7 +21,13 @@ export declare const getRuntimeConfig: (config: STSClientConfig) => {
21
21
  | RequestHandler;
22
22
  retryMode: string | import("@smithy/types").Provider<string>;
23
23
  sha256: import("@smithy/types").HashConstructor;
24
- streamCollector: import("@smithy/types").StreamCollector;
24
+ streamCollector: (
25
+ stream:
26
+ | import("stream").Readable
27
+ | import("stream/web").ReadableStream
28
+ | ReadableStream
29
+ | Blob
30
+ ) => Promise<Uint8Array>;
25
31
  useDualstackEndpoint: (boolean | import("@smithy/types").Provider<boolean>) &
26
32
  (boolean | import("@smithy/types").Provider<boolean | undefined>);
27
33
  useFipsEndpoint: (boolean | import("@smithy/types").Provider<boolean>) &
@@ -49,7 +49,13 @@ export declare const getRuntimeConfig: (config: STSClientConfig) => {
49
49
  sigv4aSigningRegionSet:
50
50
  | string[]
51
51
  | import("@smithy/types").Provider<string[] | undefined>;
52
- streamCollector: import("@smithy/types").StreamCollector;
52
+ streamCollector: (
53
+ stream:
54
+ | import("stream").Readable
55
+ | import("stream/web").ReadableStream
56
+ | ReadableStream
57
+ | Blob
58
+ ) => Promise<Uint8Array>;
53
59
  useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
54
60
  useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
55
61
  userAgentAppId: string | import("@smithy/types").Provider<string | undefined>;
@@ -20,7 +20,13 @@ export declare const getRuntimeConfig: (config: STSClientConfig) => {
20
20
  apiVersion: string;
21
21
  urlParser: import("@smithy/types").UrlParser;
22
22
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
23
- streamCollector: import("@smithy/types").StreamCollector;
23
+ streamCollector: (
24
+ stream:
25
+ | import("stream").Readable
26
+ | import("stream/web").ReadableStream
27
+ | ReadableStream
28
+ | Blob
29
+ ) => Promise<Uint8Array>;
24
30
  base64Decoder: import("@smithy/types").Decoder;
25
31
  base64Encoder: (_input: Uint8Array | string) => string;
26
32
  utf8Decoder: import("@smithy/types").Decoder;
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/nested-clients",
3
- "version": "3.997.23",
3
+ "version": "3.997.24",
4
4
  "description": "Nested clients for AWS SDK packages.",
5
5
  "main": "./dist-cjs/index.js",
6
6
  "module": "./dist-es/index.js",
@@ -30,13 +30,13 @@
30
30
  "dependencies": {
31
31
  "@aws-crypto/sha256-browser": "5.2.0",
32
32
  "@aws-crypto/sha256-js": "5.2.0",
33
- "@aws-sdk/core": "^3.974.23",
34
- "@aws-sdk/signature-v4-multi-region": "^3.996.35",
35
- "@aws-sdk/types": "^3.973.13",
36
- "@smithy/core": "^3.24.6",
37
- "@smithy/fetch-http-handler": "^5.4.6",
38
- "@smithy/node-http-handler": "^4.7.6",
39
- "@smithy/types": "^4.14.3",
33
+ "@aws-sdk/core": "^3.974.24",
34
+ "@aws-sdk/signature-v4-multi-region": "^3.996.36",
35
+ "@aws-sdk/types": "^3.973.14",
36
+ "@smithy/core": "^3.27.0",
37
+ "@smithy/fetch-http-handler": "^5.6.0",
38
+ "@smithy/node-http-handler": "^4.9.0",
39
+ "@smithy/types": "^4.15.0",
40
40
  "tslib": "^2.6.2"
41
41
  },
42
42
  "devDependencies": {
@@ -2,6 +2,4 @@
2
2
  * Do not edit:
3
3
  * This is a compatibility redirect for contexts that do not understand package.json exports field.
4
4
  */
5
- declare module "@aws-sdk/nested-clients/signin" {
6
- export * from "@aws-sdk/nested-clients/dist-types/submodules/signin/index.d";
7
- }
5
+ export * from "./dist-types/submodules/signin/index";
@@ -2,6 +2,4 @@
2
2
  * Do not edit:
3
3
  * This is a compatibility redirect for contexts that do not understand package.json exports field.
4
4
  */
5
- declare module "@aws-sdk/nested-clients/sso-oidc" {
6
- export * from "@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/index.d";
7
- }
5
+ export * from "./dist-types/submodules/sso-oidc/index";
@@ -2,6 +2,4 @@
2
2
  * Do not edit:
3
3
  * This is a compatibility redirect for contexts that do not understand package.json exports field.
4
4
  */
5
- declare module "@aws-sdk/nested-clients/sso" {
6
- export * from "@aws-sdk/nested-clients/dist-types/submodules/sso/index.d";
7
- }
5
+ export * from "./dist-types/submodules/sso/index";