@mavogel/awscdk-rootmail 0.0.56 → 0.0.58

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 (273) hide show
  1. package/.jsii +8 -8
  2. package/lib/rootmail.js +1 -1
  3. package/lib/ses-receive.js +1 -1
  4. package/node_modules/@aws-sdk/client-cloudwatch-logs/package.json +42 -42
  5. package/node_modules/@aws-sdk/client-route-53/package.json +42 -42
  6. package/node_modules/@aws-sdk/client-s3/dist-cjs/index.js +4 -12
  7. package/node_modules/@aws-sdk/client-s3/dist-es/protocols/Aws_restXml.js +1 -9
  8. package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutObjectCommand.d.ts +19 -19
  9. package/node_modules/@aws-sdk/client-s3/package.json +56 -56
  10. package/node_modules/@aws-sdk/client-ses/package.json +40 -40
  11. package/node_modules/@aws-sdk/client-ssm/package.json +40 -40
  12. package/node_modules/@aws-sdk/client-sso/package.json +36 -36
  13. package/node_modules/@aws-sdk/client-sso-oidc/package.json +38 -38
  14. package/node_modules/@aws-sdk/client-sts/package.json +38 -38
  15. package/node_modules/@aws-sdk/core/README.md +35 -1
  16. package/node_modules/@aws-sdk/core/client.js +5 -0
  17. package/node_modules/@aws-sdk/core/dist-cjs/index.js +5 -437
  18. package/node_modules/@aws-sdk/core/dist-cjs/submodules/client/index.js +38 -0
  19. package/node_modules/@aws-sdk/core/dist-cjs/submodules/httpAuthSchemes/index.js +226 -0
  20. package/node_modules/@aws-sdk/core/dist-cjs/submodules/protocols/index.js +228 -0
  21. package/node_modules/@aws-sdk/core/dist-es/index.js +3 -3
  22. package/node_modules/@aws-sdk/core/dist-types/index.d.ts +22 -3
  23. package/node_modules/@aws-sdk/core/dist-types/ts3.4/index.d.ts +3 -3
  24. package/node_modules/@aws-sdk/core/httpAuthSchemes.js +5 -0
  25. package/node_modules/@aws-sdk/core/package.json +44 -7
  26. package/node_modules/@aws-sdk/core/protocols.js +5 -0
  27. package/node_modules/@aws-sdk/credential-provider-env/dist-cjs/index.js +1 -0
  28. package/node_modules/@aws-sdk/credential-provider-env/package.json +4 -4
  29. package/node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/fromHttp.browser.js +2 -3
  30. package/node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/fromHttp.js +8 -9
  31. package/node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/requestHelpers.js +1 -2
  32. package/node_modules/@aws-sdk/credential-provider-http/package.json +9 -9
  33. package/node_modules/@aws-sdk/credential-provider-ini/package.json +11 -11
  34. package/node_modules/@aws-sdk/credential-provider-node/package.json +12 -12
  35. package/node_modules/@aws-sdk/credential-provider-process/package.json +5 -5
  36. package/node_modules/@aws-sdk/credential-provider-sso/package.json +7 -7
  37. package/node_modules/@aws-sdk/credential-provider-web-identity/dist-cjs/fromTokenFile.js +4 -5
  38. package/node_modules/@aws-sdk/credential-provider-web-identity/dist-cjs/fromWebToken.js +2 -3
  39. package/node_modules/@aws-sdk/credential-provider-web-identity/dist-cjs/index.js +1 -0
  40. package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +5 -5
  41. package/node_modules/@aws-sdk/middleware-bucket-endpoint/dist-cjs/index.js +1 -0
  42. package/node_modules/@aws-sdk/middleware-bucket-endpoint/package.json +6 -6
  43. package/node_modules/@aws-sdk/middleware-expect-continue/package.json +4 -4
  44. package/node_modules/@aws-sdk/middleware-flexible-checksums/package.json +7 -7
  45. package/node_modules/@aws-sdk/middleware-host-header/dist-cjs/index.js +1 -0
  46. package/node_modules/@aws-sdk/middleware-host-header/package.json +4 -4
  47. package/node_modules/@aws-sdk/middleware-location-constraint/dist-cjs/index.js +1 -0
  48. package/node_modules/@aws-sdk/middleware-location-constraint/package.json +3 -3
  49. package/node_modules/@aws-sdk/middleware-logger/dist-cjs/index.js +1 -0
  50. package/node_modules/@aws-sdk/middleware-logger/package.json +3 -3
  51. package/node_modules/@aws-sdk/middleware-recursion-detection/dist-cjs/index.js +1 -0
  52. package/node_modules/@aws-sdk/middleware-recursion-detection/package.json +4 -4
  53. package/node_modules/@aws-sdk/middleware-sdk-route53/dist-cjs/index.js +1 -0
  54. package/node_modules/@aws-sdk/middleware-sdk-route53/package.json +3 -3
  55. package/node_modules/@aws-sdk/middleware-sdk-s3/package.json +8 -8
  56. package/node_modules/@aws-sdk/middleware-signing/package.json +7 -7
  57. package/node_modules/@aws-sdk/middleware-ssec/dist-cjs/index.js +1 -0
  58. package/node_modules/@aws-sdk/middleware-ssec/package.json +3 -3
  59. package/node_modules/@aws-sdk/middleware-user-agent/package.json +5 -5
  60. package/node_modules/@aws-sdk/region-config-resolver/package.json +6 -6
  61. package/node_modules/@aws-sdk/signature-v4-multi-region/package.json +6 -6
  62. package/node_modules/@aws-sdk/token-providers/package.json +6 -6
  63. package/node_modules/@aws-sdk/types/dist-cjs/index.js +1 -4
  64. package/node_modules/@aws-sdk/types/dist-types/logger.d.ts +2 -2
  65. package/node_modules/@aws-sdk/types/package.json +2 -2
  66. package/node_modules/@aws-sdk/util-endpoints/package.json +4 -4
  67. package/node_modules/@aws-sdk/util-user-agent-browser/dist-cjs/index.js +3 -4
  68. package/node_modules/@aws-sdk/util-user-agent-browser/package.json +3 -3
  69. package/node_modules/@aws-sdk/util-user-agent-node/dist-cjs/index.js +1 -0
  70. package/node_modules/@aws-sdk/util-user-agent-node/package.json +4 -4
  71. package/node_modules/@aws-sdk/xml-builder/dist-cjs/index.js +1 -0
  72. package/node_modules/@aws-sdk/xml-builder/package.json +2 -2
  73. package/node_modules/@smithy/abort-controller/package.json +3 -4
  74. package/node_modules/@smithy/chunked-blob-reader/package.json +1 -2
  75. package/node_modules/@smithy/chunked-blob-reader-native/package.json +2 -3
  76. package/node_modules/@smithy/config-resolver/package.json +6 -7
  77. package/node_modules/@smithy/core/package.json +10 -10
  78. package/node_modules/@smithy/credential-provider-imds/dist-types/remoteProvider/httpRequest.d.ts +1 -0
  79. package/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/remoteProvider/httpRequest.d.ts +1 -0
  80. package/node_modules/@smithy/credential-provider-imds/package.json +7 -8
  81. package/node_modules/@smithy/eventstream-codec/dist-es/TestVectors.fixture.js +25 -569
  82. package/node_modules/@smithy/eventstream-codec/package.json +5 -6
  83. package/node_modules/@smithy/eventstream-serde-browser/package.json +4 -5
  84. package/node_modules/@smithy/eventstream-serde-config-resolver/package.json +3 -4
  85. package/node_modules/@smithy/eventstream-serde-node/package.json +5 -6
  86. package/node_modules/@smithy/eventstream-serde-universal/package.json +6 -7
  87. package/node_modules/@smithy/fetch-http-handler/README.md +7 -0
  88. package/node_modules/@smithy/fetch-http-handler/dist-cjs/index.js +21 -9
  89. package/node_modules/@smithy/fetch-http-handler/dist-es/fetch-http-handler.js +10 -3
  90. package/node_modules/@smithy/fetch-http-handler/dist-es/stream-collector.js +11 -6
  91. package/node_modules/@smithy/fetch-http-handler/package.json +8 -25
  92. package/node_modules/@smithy/hash-blob-browser/package.json +7 -24
  93. package/node_modules/@smithy/hash-node/package.json +6 -7
  94. package/node_modules/@smithy/hash-stream-node/package.json +6 -7
  95. package/node_modules/@smithy/invalid-dependency/package.json +2 -3
  96. package/node_modules/@smithy/is-array-buffer/package.json +2 -3
  97. package/node_modules/@smithy/md5-js/package.json +6 -7
  98. package/node_modules/@smithy/middleware-content-length/package.json +5 -6
  99. package/node_modules/@smithy/middleware-endpoint/package.json +8 -9
  100. package/node_modules/@smithy/middleware-retry/package.json +10 -11
  101. package/node_modules/@smithy/middleware-serde/dist-cjs/index.js +1 -1
  102. package/node_modules/@smithy/middleware-serde/dist-es/deserializerMiddleware.js +1 -1
  103. package/node_modules/@smithy/middleware-serde/package.json +4 -5
  104. package/node_modules/@smithy/middleware-stack/dist-cjs/index.js +7 -4
  105. package/node_modules/@smithy/middleware-stack/package.json +3 -4
  106. package/node_modules/@smithy/node-config-provider/dist-es/fromSharedConfigFiles.js +2 -1
  107. package/node_modules/@smithy/node-config-provider/package.json +6 -7
  108. package/node_modules/@smithy/node-http-handler/README.md +5 -0
  109. package/node_modules/@smithy/node-http-handler/dist-cjs/index.js +46 -15
  110. package/node_modules/@smithy/node-http-handler/dist-es/node-http-handler.js +2 -1
  111. package/node_modules/@smithy/node-http-handler/dist-es/stream-collector/index.js +39 -12
  112. package/node_modules/@smithy/node-http-handler/package.json +7 -8
  113. package/node_modules/@smithy/property-provider/package.json +3 -4
  114. package/node_modules/@smithy/protocol-http/package.json +3 -4
  115. package/node_modules/@smithy/querystring-builder/package.json +4 -5
  116. package/node_modules/@smithy/querystring-parser/package.json +3 -4
  117. package/node_modules/@smithy/service-error-classification/package.json +3 -4
  118. package/node_modules/@smithy/shared-ini-file-loader/package.json +4 -5
  119. package/node_modules/@smithy/signature-v4/package.json +9 -10
  120. package/node_modules/@smithy/smithy-client/dist-cjs/index.js +1 -1
  121. package/node_modules/@smithy/smithy-client/dist-es/emitWarningIfUnsupportedVersion.js +1 -1
  122. package/node_modules/@smithy/smithy-client/package.json +8 -9
  123. package/node_modules/@smithy/types/dist-types/client.d.ts +12 -0
  124. package/node_modules/@smithy/types/dist-types/http.d.ts +1 -1
  125. package/node_modules/@smithy/types/dist-types/transform/no-undefined.d.ts +5 -5
  126. package/node_modules/@smithy/types/dist-types/ts3.4/client.d.ts +12 -0
  127. package/node_modules/@smithy/types/dist-types/ts3.4/http.d.ts +1 -1
  128. package/node_modules/@smithy/types/dist-types/ts3.4/transform/no-undefined.d.ts +9 -1
  129. package/node_modules/@smithy/types/package.json +2 -3
  130. package/node_modules/@smithy/url-parser/package.json +3 -4
  131. package/node_modules/@smithy/util-base64/package.json +5 -6
  132. package/node_modules/@smithy/util-body-length-browser/package.json +1 -2
  133. package/node_modules/@smithy/util-body-length-node/package.json +3 -4
  134. package/node_modules/@smithy/util-buffer-from/package.json +4 -5
  135. package/node_modules/@smithy/util-config-provider/package.json +3 -4
  136. package/node_modules/@smithy/util-defaults-mode-browser/package.json +5 -6
  137. package/node_modules/@smithy/util-defaults-mode-node/package.json +8 -9
  138. package/node_modules/@smithy/util-endpoints/dist-cjs/index.js +3 -3
  139. package/node_modules/@smithy/util-endpoints/dist-es/utils/evaluateCondition.js +1 -1
  140. package/node_modules/@smithy/util-endpoints/dist-es/utils/evaluateConditions.js +1 -1
  141. package/node_modules/@smithy/util-endpoints/dist-es/utils/evaluateEndpointRule.js +1 -1
  142. package/node_modules/@smithy/util-endpoints/package.json +5 -6
  143. package/node_modules/@smithy/util-hex-encoding/package.json +2 -3
  144. package/node_modules/@smithy/util-middleware/package.json +4 -5
  145. package/node_modules/@smithy/util-retry/dist-cjs/index.js +1 -0
  146. package/node_modules/@smithy/util-retry/package.json +5 -6
  147. package/node_modules/@smithy/util-stream/dist-cjs/sdk-stream-mixin.js +8 -2
  148. package/node_modules/@smithy/util-stream/dist-es/sdk-stream-mixin.js +8 -2
  149. package/node_modules/@smithy/util-stream/dist-types/sdk-stream-mixin.d.ts +1 -1
  150. package/node_modules/@smithy/util-stream/dist-types/ts3.4/sdk-stream-mixin.d.ts +1 -1
  151. package/node_modules/@smithy/util-stream/package.json +13 -29
  152. package/node_modules/@smithy/util-uri-escape/package.json +2 -3
  153. package/node_modules/@smithy/util-utf8/package.json +3 -4
  154. package/node_modules/@smithy/util-waiter/package.json +4 -5
  155. package/node_modules/cdk-nag/.jsii +2 -2
  156. package/node_modules/cdk-nag/lib/ignore-suppression-conditions.js +5 -5
  157. package/node_modules/cdk-nag/lib/nag-logger.js +2 -2
  158. package/node_modules/cdk-nag/lib/nag-pack.js +1 -1
  159. package/node_modules/cdk-nag/lib/nag-rules.js +1 -1
  160. package/node_modules/cdk-nag/lib/nag-suppressions.js +1 -1
  161. package/node_modules/cdk-nag/lib/packs/aws-solutions.js +1 -1
  162. package/node_modules/cdk-nag/lib/packs/hipaa-security.js +1 -1
  163. package/node_modules/cdk-nag/lib/packs/nist-800-53-r4.js +1 -1
  164. package/node_modules/cdk-nag/lib/packs/nist-800-53-r5.js +1 -1
  165. package/node_modules/cdk-nag/lib/packs/pci-dss-321.js +1 -1
  166. package/node_modules/cdk-nag/package.json +3 -3
  167. package/package.json +10 -10
  168. package/node_modules/@aws-sdk/core/CHANGELOG.md +0 -315
  169. package/node_modules/@aws-sdk/core/api-extractor.json +0 -4
  170. package/node_modules/@aws-sdk/core/dist-cjs/client/emitWarningIfUnsupportedVersion.js +0 -1
  171. package/node_modules/@aws-sdk/core/dist-cjs/client/index.js +0 -1
  172. package/node_modules/@aws-sdk/core/dist-cjs/httpAuthSchemes/aws_sdk/AwsSdkSigV4Signer.js +0 -1
  173. package/node_modules/@aws-sdk/core/dist-cjs/httpAuthSchemes/aws_sdk/index.js +0 -1
  174. package/node_modules/@aws-sdk/core/dist-cjs/httpAuthSchemes/aws_sdk/resolveAwsSdkSigV4Config.js +0 -1
  175. package/node_modules/@aws-sdk/core/dist-cjs/httpAuthSchemes/index.js +0 -1
  176. package/node_modules/@aws-sdk/core/dist-cjs/httpAuthSchemes/utils/getDateHeader.js +0 -1
  177. package/node_modules/@aws-sdk/core/dist-cjs/httpAuthSchemes/utils/getSkewCorrectedDate.js +0 -1
  178. package/node_modules/@aws-sdk/core/dist-cjs/httpAuthSchemes/utils/getUpdatedSystemClockOffset.js +0 -1
  179. package/node_modules/@aws-sdk/core/dist-cjs/httpAuthSchemes/utils/index.js +0 -1
  180. package/node_modules/@aws-sdk/core/dist-cjs/httpAuthSchemes/utils/isClockSkewed.js +0 -1
  181. package/node_modules/@aws-sdk/core/dist-cjs/protocols/coercing-serializers.js +0 -1
  182. package/node_modules/@aws-sdk/core/dist-cjs/protocols/common.js +0 -1
  183. package/node_modules/@aws-sdk/core/dist-cjs/protocols/index.js +0 -1
  184. package/node_modules/@aws-sdk/core/dist-cjs/protocols/json/awsExpectUnion.js +0 -1
  185. package/node_modules/@aws-sdk/core/dist-cjs/protocols/json/parseJsonBody.js +0 -1
  186. package/node_modules/@aws-sdk/core/dist-cjs/protocols/xml/parseXmlBody.js +0 -1
  187. package/node_modules/@aws-sdk/core/integ/request-handlers/request-handlers.integ.spec.ts +0 -158
  188. package/node_modules/@aws-sdk/core/jest.config.integ.js +0 -4
  189. package/node_modules/@aws-sdk/core/jest.config.js +0 -6
  190. package/node_modules/@aws-sdk/core/scripts/lint.js +0 -24
  191. package/node_modules/@aws-sdk/core/src/client/emitWarningIfUnsupportedVersion.spec.ts +0 -70
  192. package/node_modules/@aws-sdk/core/src/client/emitWarningIfUnsupportedVersion.ts +0 -26
  193. package/node_modules/@aws-sdk/core/src/client/index.ts +0 -1
  194. package/node_modules/@aws-sdk/core/src/httpAuthSchemes/aws_sdk/AwsSdkSigV4Signer.spec.ts +0 -30
  195. package/node_modules/@aws-sdk/core/src/httpAuthSchemes/aws_sdk/AwsSdkSigV4Signer.ts +0 -134
  196. package/node_modules/@aws-sdk/core/src/httpAuthSchemes/aws_sdk/index.ts +0 -2
  197. package/node_modules/@aws-sdk/core/src/httpAuthSchemes/aws_sdk/resolveAwsSdkSigV4Config.ts +0 -244
  198. package/node_modules/@aws-sdk/core/src/httpAuthSchemes/index.ts +0 -1
  199. package/node_modules/@aws-sdk/core/src/httpAuthSchemes/utils/getDateHeader.ts +0 -7
  200. package/node_modules/@aws-sdk/core/src/httpAuthSchemes/utils/getSkewCorrectedDate.spec.ts +0 -17
  201. package/node_modules/@aws-sdk/core/src/httpAuthSchemes/utils/getSkewCorrectedDate.ts +0 -8
  202. package/node_modules/@aws-sdk/core/src/httpAuthSchemes/utils/getUpdatedSystemClockOffset.spec.ts +0 -37
  203. package/node_modules/@aws-sdk/core/src/httpAuthSchemes/utils/getUpdatedSystemClockOffset.ts +0 -18
  204. package/node_modules/@aws-sdk/core/src/httpAuthSchemes/utils/index.ts +0 -3
  205. package/node_modules/@aws-sdk/core/src/httpAuthSchemes/utils/isClockSkewed.spec.ts +0 -32
  206. package/node_modules/@aws-sdk/core/src/httpAuthSchemes/utils/isClockSkewed.ts +0 -12
  207. package/node_modules/@aws-sdk/core/src/index.ts +0 -3
  208. package/node_modules/@aws-sdk/core/src/protocols/coercing-serializers.spec.ts +0 -76
  209. package/node_modules/@aws-sdk/core/src/protocols/coercing-serializers.ts +0 -72
  210. package/node_modules/@aws-sdk/core/src/protocols/common.ts +0 -5
  211. package/node_modules/@aws-sdk/core/src/protocols/index.ts +0 -4
  212. package/node_modules/@aws-sdk/core/src/protocols/json/awsExpectUnion.spec.ts +0 -30
  213. package/node_modules/@aws-sdk/core/src/protocols/json/awsExpectUnion.ts +0 -17
  214. package/node_modules/@aws-sdk/core/src/protocols/json/parseJsonBody.ts +0 -60
  215. package/node_modules/@aws-sdk/core/src/protocols/xml/parseXmlBody.spec.ts +0 -60
  216. package/node_modules/@aws-sdk/core/src/protocols/xml/parseXmlBody.ts +0 -64
  217. package/node_modules/@aws-sdk/core/tsconfig.cjs.json +0 -9
  218. package/node_modules/@aws-sdk/core/tsconfig.cjs.tsbuildinfo +0 -1
  219. package/node_modules/@aws-sdk/core/tsconfig.es.json +0 -9
  220. package/node_modules/@aws-sdk/core/tsconfig.es.tsbuildinfo +0 -1
  221. package/node_modules/@aws-sdk/core/tsconfig.types.json +0 -9
  222. package/node_modules/@aws-sdk/core/tsconfig.types.tsbuildinfo +0 -1
  223. /package/node_modules/@aws-sdk/core/dist-es/{client → submodules/client}/emitWarningIfUnsupportedVersion.js +0 -0
  224. /package/node_modules/@aws-sdk/core/dist-es/{client → submodules/client}/index.js +0 -0
  225. /package/node_modules/@aws-sdk/core/dist-es/{httpAuthSchemes → submodules/httpAuthSchemes}/aws_sdk/AwsSdkSigV4Signer.js +0 -0
  226. /package/node_modules/@aws-sdk/core/dist-es/{httpAuthSchemes → submodules/httpAuthSchemes}/aws_sdk/index.js +0 -0
  227. /package/node_modules/@aws-sdk/core/dist-es/{httpAuthSchemes → submodules/httpAuthSchemes}/aws_sdk/resolveAwsSdkSigV4Config.js +0 -0
  228. /package/node_modules/@aws-sdk/core/dist-es/{httpAuthSchemes → submodules/httpAuthSchemes}/index.js +0 -0
  229. /package/node_modules/@aws-sdk/core/dist-es/{httpAuthSchemes → submodules/httpAuthSchemes}/utils/getDateHeader.js +0 -0
  230. /package/node_modules/@aws-sdk/core/dist-es/{httpAuthSchemes → submodules/httpAuthSchemes}/utils/getSkewCorrectedDate.js +0 -0
  231. /package/node_modules/@aws-sdk/core/dist-es/{httpAuthSchemes → submodules/httpAuthSchemes}/utils/getUpdatedSystemClockOffset.js +0 -0
  232. /package/node_modules/@aws-sdk/core/dist-es/{httpAuthSchemes → submodules/httpAuthSchemes}/utils/index.js +0 -0
  233. /package/node_modules/@aws-sdk/core/dist-es/{httpAuthSchemes → submodules/httpAuthSchemes}/utils/isClockSkewed.js +0 -0
  234. /package/node_modules/@aws-sdk/core/dist-es/{protocols → submodules/protocols}/coercing-serializers.js +0 -0
  235. /package/node_modules/@aws-sdk/core/dist-es/{protocols → submodules/protocols}/common.js +0 -0
  236. /package/node_modules/@aws-sdk/core/dist-es/{protocols → submodules/protocols}/index.js +0 -0
  237. /package/node_modules/@aws-sdk/core/dist-es/{protocols → submodules/protocols}/json/awsExpectUnion.js +0 -0
  238. /package/node_modules/@aws-sdk/core/dist-es/{protocols → submodules/protocols}/json/parseJsonBody.js +0 -0
  239. /package/node_modules/@aws-sdk/core/dist-es/{protocols → submodules/protocols}/xml/parseXmlBody.js +0 -0
  240. /package/node_modules/@aws-sdk/core/dist-types/{client → submodules/client}/emitWarningIfUnsupportedVersion.d.ts +0 -0
  241. /package/node_modules/@aws-sdk/core/dist-types/{client → submodules/client}/index.d.ts +0 -0
  242. /package/node_modules/@aws-sdk/core/dist-types/{httpAuthSchemes → submodules/httpAuthSchemes}/aws_sdk/AwsSdkSigV4Signer.d.ts +0 -0
  243. /package/node_modules/@aws-sdk/core/dist-types/{httpAuthSchemes → submodules/httpAuthSchemes}/aws_sdk/index.d.ts +0 -0
  244. /package/node_modules/@aws-sdk/core/dist-types/{httpAuthSchemes → submodules/httpAuthSchemes}/aws_sdk/resolveAwsSdkSigV4Config.d.ts +0 -0
  245. /package/node_modules/@aws-sdk/core/dist-types/{httpAuthSchemes → submodules/httpAuthSchemes}/index.d.ts +0 -0
  246. /package/node_modules/@aws-sdk/core/dist-types/{httpAuthSchemes → submodules/httpAuthSchemes}/utils/getDateHeader.d.ts +0 -0
  247. /package/node_modules/@aws-sdk/core/dist-types/{httpAuthSchemes → submodules/httpAuthSchemes}/utils/getSkewCorrectedDate.d.ts +0 -0
  248. /package/node_modules/@aws-sdk/core/dist-types/{httpAuthSchemes → submodules/httpAuthSchemes}/utils/getUpdatedSystemClockOffset.d.ts +0 -0
  249. /package/node_modules/@aws-sdk/core/dist-types/{httpAuthSchemes → submodules/httpAuthSchemes}/utils/index.d.ts +0 -0
  250. /package/node_modules/@aws-sdk/core/dist-types/{httpAuthSchemes → submodules/httpAuthSchemes}/utils/isClockSkewed.d.ts +0 -0
  251. /package/node_modules/@aws-sdk/core/dist-types/{protocols → submodules/protocols}/coercing-serializers.d.ts +0 -0
  252. /package/node_modules/@aws-sdk/core/dist-types/{protocols → submodules/protocols}/common.d.ts +0 -0
  253. /package/node_modules/@aws-sdk/core/dist-types/{protocols → submodules/protocols}/index.d.ts +0 -0
  254. /package/node_modules/@aws-sdk/core/dist-types/{protocols → submodules/protocols}/json/awsExpectUnion.d.ts +0 -0
  255. /package/node_modules/@aws-sdk/core/dist-types/{protocols → submodules/protocols}/json/parseJsonBody.d.ts +0 -0
  256. /package/node_modules/@aws-sdk/core/dist-types/{protocols → submodules/protocols}/xml/parseXmlBody.d.ts +0 -0
  257. /package/node_modules/@aws-sdk/core/dist-types/ts3.4/{client → submodules/client}/emitWarningIfUnsupportedVersion.d.ts +0 -0
  258. /package/node_modules/@aws-sdk/core/dist-types/ts3.4/{client → submodules/client}/index.d.ts +0 -0
  259. /package/node_modules/@aws-sdk/core/dist-types/ts3.4/{httpAuthSchemes → submodules/httpAuthSchemes}/aws_sdk/AwsSdkSigV4Signer.d.ts +0 -0
  260. /package/node_modules/@aws-sdk/core/dist-types/ts3.4/{httpAuthSchemes → submodules/httpAuthSchemes}/aws_sdk/index.d.ts +0 -0
  261. /package/node_modules/@aws-sdk/core/dist-types/ts3.4/{httpAuthSchemes → submodules/httpAuthSchemes}/aws_sdk/resolveAwsSdkSigV4Config.d.ts +0 -0
  262. /package/node_modules/@aws-sdk/core/dist-types/ts3.4/{httpAuthSchemes → submodules/httpAuthSchemes}/index.d.ts +0 -0
  263. /package/node_modules/@aws-sdk/core/dist-types/ts3.4/{httpAuthSchemes → submodules/httpAuthSchemes}/utils/getDateHeader.d.ts +0 -0
  264. /package/node_modules/@aws-sdk/core/dist-types/ts3.4/{httpAuthSchemes → submodules/httpAuthSchemes}/utils/getSkewCorrectedDate.d.ts +0 -0
  265. /package/node_modules/@aws-sdk/core/dist-types/ts3.4/{httpAuthSchemes → submodules/httpAuthSchemes}/utils/getUpdatedSystemClockOffset.d.ts +0 -0
  266. /package/node_modules/@aws-sdk/core/dist-types/ts3.4/{httpAuthSchemes → submodules/httpAuthSchemes}/utils/index.d.ts +0 -0
  267. /package/node_modules/@aws-sdk/core/dist-types/ts3.4/{httpAuthSchemes → submodules/httpAuthSchemes}/utils/isClockSkewed.d.ts +0 -0
  268. /package/node_modules/@aws-sdk/core/dist-types/ts3.4/{protocols → submodules/protocols}/coercing-serializers.d.ts +0 -0
  269. /package/node_modules/@aws-sdk/core/dist-types/ts3.4/{protocols → submodules/protocols}/common.d.ts +0 -0
  270. /package/node_modules/@aws-sdk/core/dist-types/ts3.4/{protocols → submodules/protocols}/index.d.ts +0 -0
  271. /package/node_modules/@aws-sdk/core/dist-types/ts3.4/{protocols → submodules/protocols}/json/awsExpectUnion.d.ts +0 -0
  272. /package/node_modules/@aws-sdk/core/dist-types/ts3.4/{protocols → submodules/protocols}/json/parseJsonBody.d.ts +0 -0
  273. /package/node_modules/@aws-sdk/core/dist-types/ts3.4/{protocols → submodules/protocols}/xml/parseXmlBody.d.ts +0 -0
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smithy/middleware-serde",
3
- "version": "2.3.0",
3
+ "version": "3.0.0",
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 middleware-serde",
@@ -23,11 +23,11 @@
23
23
  },
24
24
  "license": "Apache-2.0",
25
25
  "dependencies": {
26
- "@smithy/types": "^2.12.0",
26
+ "@smithy/types": "^3.0.0",
27
27
  "tslib": "^2.6.2"
28
28
  },
29
29
  "engines": {
30
- "node": ">=14.0.0"
30
+ "node": ">=16.0.0"
31
31
  },
32
32
  "typesVersions": {
33
33
  "<4.0": {
@@ -46,8 +46,7 @@
46
46
  "directory": "packages/middleware-serde"
47
47
  },
48
48
  "devDependencies": {
49
- "@smithy/util-test": "^0.2.0",
50
- "@tsconfig/recommended": "1.0.1",
49
+ "@smithy/util-test": "^0.2.1",
51
50
  "concurrently": "7.0.0",
52
51
  "downlevel-dts": "0.10.1",
53
52
  "rimraf": "3.0.2",
@@ -156,10 +156,13 @@ var constructStack = /* @__PURE__ */ __name(() => {
156
156
  }
157
157
  }
158
158
  });
159
- const mainChain = sort(normalizedAbsoluteEntries).map(expandRelativeMiddlewareList).reduce((wholeList, expandedMiddlewareList) => {
160
- wholeList.push(...expandedMiddlewareList);
161
- return wholeList;
162
- }, []);
159
+ const mainChain = sort(normalizedAbsoluteEntries).map(expandRelativeMiddlewareList).reduce(
160
+ (wholeList, expandedMiddlewareList) => {
161
+ wholeList.push(...expandedMiddlewareList);
162
+ return wholeList;
163
+ },
164
+ []
165
+ );
163
166
  return mainChain;
164
167
  }, "getMiddlewareList");
165
168
  const stack = {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smithy/middleware-stack",
3
- "version": "2.2.0",
3
+ "version": "3.0.0",
4
4
  "description": "Provides a means for composing multiple middleware functions into a single handler",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
@@ -25,18 +25,17 @@
25
25
  "module": "./dist-es/index.js",
26
26
  "types": "./dist-types/index.d.ts",
27
27
  "dependencies": {
28
- "@smithy/types": "^2.12.0",
28
+ "@smithy/types": "^3.0.0",
29
29
  "tslib": "^2.6.2"
30
30
  },
31
31
  "devDependencies": {
32
- "@tsconfig/recommended": "1.0.1",
33
32
  "concurrently": "7.0.0",
34
33
  "downlevel-dts": "0.10.1",
35
34
  "rimraf": "3.0.2",
36
35
  "typedoc": "0.23.23"
37
36
  },
38
37
  "engines": {
39
- "node": ">=14.0.0"
38
+ "node": ">=16.0.0"
40
39
  },
41
40
  "typesVersions": {
42
41
  "<4.0": {
@@ -17,6 +17,7 @@ export const fromSharedConfigFiles = (configSelector, { preferredFile = "config"
17
17
  return configValue;
18
18
  }
19
19
  catch (e) {
20
- throw new CredentialsProviderError(e.message || `Cannot load config for profile ${profile} in SDK configuration files with getter: ${configSelector}`);
20
+ throw new CredentialsProviderError(e.message ||
21
+ `Cannot load config for profile ${profile} in SDK configuration files with getter: ${configSelector}`);
21
22
  }
22
23
  };
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smithy/node-config-provider",
3
- "version": "2.3.0",
3
+ "version": "3.0.0",
4
4
  "description": "Load config default values from ini config files and environmental variable",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
@@ -24,21 +24,20 @@
24
24
  "module": "./dist-es/index.js",
25
25
  "types": "./dist-types/index.d.ts",
26
26
  "dependencies": {
27
- "@smithy/property-provider": "^2.2.0",
28
- "@smithy/shared-ini-file-loader": "^2.4.0",
29
- "@smithy/types": "^2.12.0",
27
+ "@smithy/property-provider": "^3.0.0",
28
+ "@smithy/shared-ini-file-loader": "^3.0.0",
29
+ "@smithy/types": "^3.0.0",
30
30
  "tslib": "^2.6.2"
31
31
  },
32
32
  "devDependencies": {
33
- "@tsconfig/recommended": "1.0.1",
34
- "@types/node": "^14.14.31",
33
+ "@types/node": "^16.18.96",
35
34
  "concurrently": "7.0.0",
36
35
  "downlevel-dts": "0.10.1",
37
36
  "rimraf": "3.0.2",
38
37
  "typedoc": "0.23.23"
39
38
  },
40
39
  "engines": {
41
- "node": ">=14.0.0"
40
+ "node": ">=16.0.0"
42
41
  },
43
42
  "typesVersions": {
44
43
  "<4.0": {
@@ -2,3 +2,8 @@
2
2
 
3
3
  [![NPM version](https://img.shields.io/npm/v/@smithy/node-http-handler/latest.svg)](https://www.npmjs.com/package/@smithy/node-http-handler)
4
4
  [![NPM downloads](https://img.shields.io/npm/dm/@smithy/node-http-handler.svg)](https://www.npmjs.com/package/@smithy/node-http-handler)
5
+
6
+ This package implements the default `requestHandler` for Node.js using `node:http`, `node:https`, and `node:http2`.
7
+
8
+ For an example on how `requestHandler`s are used by Smithy generated SDK clients, refer to
9
+ the [AWS SDK for JavaScript (v3) supplemental docs](https://github.com/aws/aws-sdk-js-v3/blob/main/supplemental-docs/CLIENTS.md#request-handler-requesthandler).
@@ -264,9 +264,12 @@ var _NodeHttpHandler = class _NodeHttpHandler {
264
264
  }
265
265
  const isSSL = request.protocol === "https:";
266
266
  const agent = isSSL ? this.config.httpsAgent : this.config.httpAgent;
267
- socketCheckTimeoutId = setTimeout(() => {
268
- this.socketWarningTimestamp = _NodeHttpHandler.checkSocketUsage(agent, this.socketWarningTimestamp);
269
- }, this.config.socketAcquisitionWarningTimeout ?? (this.config.requestTimeout ?? 2e3) + (this.config.connectionTimeout ?? 1e3));
267
+ socketCheckTimeoutId = setTimeout(
268
+ () => {
269
+ this.socketWarningTimestamp = _NodeHttpHandler.checkSocketUsage(agent, this.socketWarningTimestamp);
270
+ },
271
+ this.config.socketAcquisitionWarningTimeout ?? (this.config.requestTimeout ?? 2e3) + (this.config.connectionTimeout ?? 1e3)
272
+ );
270
273
  const queryString = (0, import_querystring_builder.buildQueryString)(request.query || {});
271
274
  let auth = void 0;
272
275
  if (request.username != null || request.password != null) {
@@ -663,19 +666,47 @@ __name(_Collector, "Collector");
663
666
  var Collector = _Collector;
664
667
 
665
668
  // src/stream-collector/index.ts
666
- var streamCollector = /* @__PURE__ */ __name((stream) => new Promise((resolve, reject) => {
667
- const collector = new Collector();
668
- stream.pipe(collector);
669
- stream.on("error", (err) => {
670
- collector.end();
671
- reject(err);
672
- });
673
- collector.on("error", reject);
674
- collector.on("finish", function() {
675
- const bytes = new Uint8Array(Buffer.concat(this.bufferedBytes));
676
- resolve(bytes);
669
+ var streamCollector = /* @__PURE__ */ __name((stream) => {
670
+ if (isReadableStreamInstance(stream)) {
671
+ return collectReadableStream(stream);
672
+ }
673
+ return new Promise((resolve, reject) => {
674
+ const collector = new Collector();
675
+ stream.pipe(collector);
676
+ stream.on("error", (err) => {
677
+ collector.end();
678
+ reject(err);
679
+ });
680
+ collector.on("error", reject);
681
+ collector.on("finish", function() {
682
+ const bytes = new Uint8Array(Buffer.concat(this.bufferedBytes));
683
+ resolve(bytes);
684
+ });
677
685
  });
678
- }), "streamCollector");
686
+ }, "streamCollector");
687
+ var isReadableStreamInstance = /* @__PURE__ */ __name((stream) => typeof ReadableStream === "function" && stream instanceof ReadableStream, "isReadableStreamInstance");
688
+ async function collectReadableStream(stream) {
689
+ const chunks = [];
690
+ const reader = stream.getReader();
691
+ let isDone = false;
692
+ let length = 0;
693
+ while (!isDone) {
694
+ const { done, value } = await reader.read();
695
+ if (value) {
696
+ chunks.push(value);
697
+ length += value.length;
698
+ }
699
+ isDone = done;
700
+ }
701
+ const collected = new Uint8Array(length);
702
+ let offset = 0;
703
+ for (const chunk of chunks) {
704
+ collected.set(chunk, offset);
705
+ offset += chunk.length;
706
+ }
707
+ return collected;
708
+ }
709
+ __name(collectReadableStream, "collectReadableStream");
679
710
  // Annotate the CommonJS export names for ESM import in node:
680
711
 
681
712
  0 && (module.exports = {
@@ -107,7 +107,8 @@ export class NodeHttpHandler {
107
107
  const agent = isSSL ? this.config.httpsAgent : this.config.httpAgent;
108
108
  socketCheckTimeoutId = setTimeout(() => {
109
109
  this.socketWarningTimestamp = NodeHttpHandler.checkSocketUsage(agent, this.socketWarningTimestamp);
110
- }, this.config.socketAcquisitionWarningTimeout ?? (this.config.requestTimeout ?? 2000) + (this.config.connectionTimeout ?? 1000));
110
+ }, this.config.socketAcquisitionWarningTimeout ??
111
+ (this.config.requestTimeout ?? 2000) + (this.config.connectionTimeout ?? 1000));
111
112
  const queryString = buildQueryString(request.query || {});
112
113
  let auth = undefined;
113
114
  if (request.username != null || request.password != null) {
@@ -1,14 +1,41 @@
1
1
  import { Collector } from "./collector";
2
- export const streamCollector = (stream) => new Promise((resolve, reject) => {
3
- const collector = new Collector();
4
- stream.pipe(collector);
5
- stream.on("error", (err) => {
6
- collector.end();
7
- reject(err);
2
+ export const streamCollector = (stream) => {
3
+ if (isReadableStreamInstance(stream)) {
4
+ return collectReadableStream(stream);
5
+ }
6
+ return new Promise((resolve, reject) => {
7
+ const collector = new Collector();
8
+ stream.pipe(collector);
9
+ stream.on("error", (err) => {
10
+ collector.end();
11
+ reject(err);
12
+ });
13
+ collector.on("error", reject);
14
+ collector.on("finish", function () {
15
+ const bytes = new Uint8Array(Buffer.concat(this.bufferedBytes));
16
+ resolve(bytes);
17
+ });
8
18
  });
9
- collector.on("error", reject);
10
- collector.on("finish", function () {
11
- const bytes = new Uint8Array(Buffer.concat(this.bufferedBytes));
12
- resolve(bytes);
13
- });
14
- });
19
+ };
20
+ const isReadableStreamInstance = (stream) => typeof ReadableStream === "function" && stream instanceof ReadableStream;
21
+ async function collectReadableStream(stream) {
22
+ const chunks = [];
23
+ const reader = stream.getReader();
24
+ let isDone = false;
25
+ let length = 0;
26
+ while (!isDone) {
27
+ const { done, value } = await reader.read();
28
+ if (value) {
29
+ chunks.push(value);
30
+ length += value.length;
31
+ }
32
+ isDone = done;
33
+ }
34
+ const collected = new Uint8Array(length);
35
+ let offset = 0;
36
+ for (const chunk of chunks) {
37
+ collected.set(chunk, offset);
38
+ offset += chunk.length;
39
+ }
40
+ return collected;
41
+ }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smithy/node-http-handler",
3
- "version": "2.5.0",
3
+ "version": "3.0.0",
4
4
  "description": "Provides a way to make requests",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
@@ -25,22 +25,21 @@
25
25
  "module": "./dist-es/index.js",
26
26
  "types": "./dist-types/index.d.ts",
27
27
  "dependencies": {
28
- "@smithy/abort-controller": "^2.2.0",
29
- "@smithy/protocol-http": "^3.3.0",
30
- "@smithy/querystring-builder": "^2.2.0",
31
- "@smithy/types": "^2.12.0",
28
+ "@smithy/abort-controller": "^3.0.0",
29
+ "@smithy/protocol-http": "^4.0.0",
30
+ "@smithy/querystring-builder": "^3.0.0",
31
+ "@smithy/types": "^3.0.0",
32
32
  "tslib": "^2.6.2"
33
33
  },
34
34
  "devDependencies": {
35
- "@tsconfig/recommended": "1.0.1",
36
- "@types/node": "^14.14.31",
35
+ "@types/node": "^16.18.96",
37
36
  "concurrently": "7.0.0",
38
37
  "downlevel-dts": "0.10.1",
39
38
  "rimraf": "3.0.2",
40
39
  "typedoc": "0.23.23"
41
40
  },
42
41
  "engines": {
43
- "node": ">=14.0.0"
42
+ "node": ">=16.0.0"
44
43
  },
45
44
  "typesVersions": {
46
45
  "<4.0": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smithy/property-provider",
3
- "version": "2.2.0",
3
+ "version": "3.0.0",
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 property-provider",
@@ -22,11 +22,11 @@
22
22
  },
23
23
  "license": "Apache-2.0",
24
24
  "dependencies": {
25
- "@smithy/types": "^2.12.0",
25
+ "@smithy/types": "^3.0.0",
26
26
  "tslib": "^2.6.2"
27
27
  },
28
28
  "engines": {
29
- "node": ">=14.0.0"
29
+ "node": ">=16.0.0"
30
30
  },
31
31
  "typesVersions": {
32
32
  "<4.0": {
@@ -45,7 +45,6 @@
45
45
  "directory": "packages/property-provider"
46
46
  },
47
47
  "devDependencies": {
48
- "@tsconfig/recommended": "1.0.1",
49
48
  "concurrently": "7.0.0",
50
49
  "downlevel-dts": "0.10.1",
51
50
  "rimraf": "3.0.2",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smithy/protocol-http",
3
- "version": "3.3.0",
3
+ "version": "4.0.0",
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 protocol-http",
@@ -23,11 +23,11 @@
23
23
  },
24
24
  "license": "Apache-2.0",
25
25
  "dependencies": {
26
- "@smithy/types": "^2.12.0",
26
+ "@smithy/types": "^3.0.0",
27
27
  "tslib": "^2.6.2"
28
28
  },
29
29
  "engines": {
30
- "node": ">=14.0.0"
30
+ "node": ">=16.0.0"
31
31
  },
32
32
  "typesVersions": {
33
33
  "<4.0": {
@@ -46,7 +46,6 @@
46
46
  "directory": "packages/protocol-http"
47
47
  },
48
48
  "devDependencies": {
49
- "@tsconfig/recommended": "1.0.1",
50
49
  "concurrently": "7.0.0",
51
50
  "downlevel-dts": "0.10.1",
52
51
  "rimraf": "3.0.2",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smithy/querystring-builder",
3
- "version": "2.2.0",
3
+ "version": "3.0.0",
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 querystring-builder",
@@ -22,12 +22,12 @@
22
22
  },
23
23
  "license": "Apache-2.0",
24
24
  "dependencies": {
25
- "@smithy/types": "^2.12.0",
26
- "@smithy/util-uri-escape": "^2.2.0",
25
+ "@smithy/types": "^3.0.0",
26
+ "@smithy/util-uri-escape": "^3.0.0",
27
27
  "tslib": "^2.6.2"
28
28
  },
29
29
  "engines": {
30
- "node": ">=14.0.0"
30
+ "node": ">=16.0.0"
31
31
  },
32
32
  "typesVersions": {
33
33
  "<4.0": {
@@ -46,7 +46,6 @@
46
46
  "directory": "packages/querystring-builder"
47
47
  },
48
48
  "devDependencies": {
49
- "@tsconfig/recommended": "1.0.1",
50
49
  "concurrently": "7.0.0",
51
50
  "downlevel-dts": "0.10.1",
52
51
  "rimraf": "3.0.2",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smithy/querystring-parser",
3
- "version": "2.2.0",
3
+ "version": "3.0.0",
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 querystring-parser",
@@ -22,11 +22,11 @@
22
22
  },
23
23
  "license": "Apache-2.0",
24
24
  "dependencies": {
25
- "@smithy/types": "^2.12.0",
25
+ "@smithy/types": "^3.0.0",
26
26
  "tslib": "^2.6.2"
27
27
  },
28
28
  "engines": {
29
- "node": ">=14.0.0"
29
+ "node": ">=16.0.0"
30
30
  },
31
31
  "typesVersions": {
32
32
  "<4.0": {
@@ -45,7 +45,6 @@
45
45
  "directory": "packages/querystring-parser"
46
46
  },
47
47
  "devDependencies": {
48
- "@tsconfig/recommended": "1.0.1",
49
48
  "concurrently": "7.0.0",
50
49
  "downlevel-dts": "0.10.1",
51
50
  "rimraf": "3.0.2",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smithy/service-error-classification",
3
- "version": "2.1.5",
3
+ "version": "3.0.0",
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 service-error-classification",
@@ -22,14 +22,13 @@
22
22
  },
23
23
  "license": "Apache-2.0",
24
24
  "devDependencies": {
25
- "@tsconfig/recommended": "1.0.1",
26
25
  "concurrently": "7.0.0",
27
26
  "downlevel-dts": "0.10.1",
28
27
  "rimraf": "3.0.2",
29
28
  "typedoc": "0.23.23"
30
29
  },
31
30
  "engines": {
32
- "node": ">=14.0.0"
31
+ "node": ">=16.0.0"
33
32
  },
34
33
  "typesVersions": {
35
34
  "<4.0": {
@@ -54,6 +53,6 @@
54
53
  "directory": ".release/package"
55
54
  },
56
55
  "dependencies": {
57
- "@smithy/types": "^2.12.0"
56
+ "@smithy/types": "^3.0.0"
58
57
  }
59
58
  }
@@ -1,13 +1,12 @@
1
1
  {
2
2
  "name": "@smithy/shared-ini-file-loader",
3
- "version": "2.4.0",
3
+ "version": "3.0.0",
4
4
  "dependencies": {
5
- "@smithy/types": "^2.12.0",
5
+ "@smithy/types": "^3.0.0",
6
6
  "tslib": "^2.6.2"
7
7
  },
8
8
  "devDependencies": {
9
- "@tsconfig/recommended": "1.0.1",
10
- "@types/node": "^14.14.31",
9
+ "@types/node": "^16.18.96",
11
10
  "concurrently": "7.0.0",
12
11
  "downlevel-dts": "0.10.1",
13
12
  "rimraf": "3.0.2",
@@ -45,7 +44,7 @@
45
44
  "./dist-es/slurpFile": false
46
45
  },
47
46
  "engines": {
48
- "node": ">=14.0.0"
47
+ "node": ">=16.0.0"
49
48
  },
50
49
  "typesVersions": {
51
50
  "<4.0": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smithy/signature-v4",
3
- "version": "2.3.0",
3
+ "version": "3.0.0",
4
4
  "description": "A standalone implementation of the AWS Signature V4 request signing algorithm",
5
5
  "main": "./dist-cjs/index.js",
6
6
  "module": "./dist-es/index.js",
@@ -24,25 +24,24 @@
24
24
  },
25
25
  "license": "Apache-2.0",
26
26
  "dependencies": {
27
- "@smithy/is-array-buffer": "^2.2.0",
28
- "@smithy/types": "^2.12.0",
29
- "@smithy/util-hex-encoding": "^2.2.0",
30
- "@smithy/util-middleware": "^2.2.0",
31
- "@smithy/util-uri-escape": "^2.2.0",
32
- "@smithy/util-utf8": "^2.3.0",
27
+ "@smithy/is-array-buffer": "^3.0.0",
28
+ "@smithy/types": "^3.0.0",
29
+ "@smithy/util-hex-encoding": "^3.0.0",
30
+ "@smithy/util-middleware": "^3.0.0",
31
+ "@smithy/util-uri-escape": "^3.0.0",
32
+ "@smithy/util-utf8": "^3.0.0",
33
33
  "tslib": "^2.6.2"
34
34
  },
35
35
  "devDependencies": {
36
36
  "@aws-crypto/sha256-js": "3.0.0",
37
- "@smithy/protocol-http": "^3.3.0",
38
- "@tsconfig/recommended": "1.0.1",
37
+ "@smithy/protocol-http": "^4.0.0",
39
38
  "concurrently": "7.0.0",
40
39
  "downlevel-dts": "0.10.1",
41
40
  "rimraf": "3.0.2",
42
41
  "typedoc": "0.23.23"
43
42
  },
44
43
  "engines": {
45
- "node": ">=14.0.0"
44
+ "node": ">=16.0.0"
46
45
  },
47
46
  "typesVersions": {
48
47
  "<4.0": {
@@ -885,7 +885,7 @@ var loadConfigsForDefaultMode = /* @__PURE__ */ __name((mode) => {
885
885
  // src/emitWarningIfUnsupportedVersion.ts
886
886
  var warningEmitted = false;
887
887
  var emitWarningIfUnsupportedVersion = /* @__PURE__ */ __name((version) => {
888
- if (version && !warningEmitted && parseInt(version.substring(1, version.indexOf("."))) < 14) {
888
+ if (version && !warningEmitted && parseInt(version.substring(1, version.indexOf("."))) < 16) {
889
889
  warningEmitted = true;
890
890
  }
891
891
  }, "emitWarningIfUnsupportedVersion");
@@ -1,6 +1,6 @@
1
1
  let warningEmitted = false;
2
2
  export const emitWarningIfUnsupportedVersion = (version) => {
3
- if (version && !warningEmitted && parseInt(version.substring(1, version.indexOf("."))) < 14) {
3
+ if (version && !warningEmitted && parseInt(version.substring(1, version.indexOf("."))) < 16) {
4
4
  warningEmitted = true;
5
5
  }
6
6
  };
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smithy/smithy-client",
3
- "version": "2.5.1",
3
+ "version": "3.0.1",
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 smithy-client",
@@ -23,15 +23,15 @@
23
23
  },
24
24
  "license": "Apache-2.0",
25
25
  "dependencies": {
26
- "@smithy/middleware-endpoint": "^2.5.1",
27
- "@smithy/middleware-stack": "^2.2.0",
28
- "@smithy/protocol-http": "^3.3.0",
29
- "@smithy/types": "^2.12.0",
30
- "@smithy/util-stream": "^2.2.0",
26
+ "@smithy/middleware-endpoint": "^3.0.0",
27
+ "@smithy/middleware-stack": "^3.0.0",
28
+ "@smithy/protocol-http": "^4.0.0",
29
+ "@smithy/types": "^3.0.0",
30
+ "@smithy/util-stream": "^3.0.1",
31
31
  "tslib": "^2.6.2"
32
32
  },
33
33
  "engines": {
34
- "node": ">=14.0.0"
34
+ "node": ">=16.0.0"
35
35
  },
36
36
  "typesVersions": {
37
37
  "<4.0": {
@@ -50,8 +50,7 @@
50
50
  "directory": "packages/smithy-client"
51
51
  },
52
52
  "devDependencies": {
53
- "@tsconfig/recommended": "1.0.1",
54
- "@types/node": "^14.14.31",
53
+ "@types/node": "^16.18.96",
55
54
  "concurrently": "7.0.0",
56
55
  "downlevel-dts": "0.10.1",
57
56
  "rimraf": "3.0.2",
@@ -31,6 +31,18 @@ export interface InvokeMethod<InputType extends object, OutputType extends Metad
31
31
  (input: InputType, options: any, cb: (err: any, data?: OutputType) => void): void;
32
32
  (input: InputType, options?: any, cb?: (err: any, data?: OutputType) => void): Promise<OutputType> | void;
33
33
  }
34
+ /**
35
+ * @public
36
+ *
37
+ * Signature that appears on aggregated clients' methods when argument is optional.
38
+ */
39
+ export interface InvokeMethodOptionalArgs<InputType extends object, OutputType extends MetadataBearer> {
40
+ (): Promise<OutputType>;
41
+ (input: InputType, options?: any): Promise<OutputType>;
42
+ (input: InputType, cb: (err: any, data?: OutputType) => void): void;
43
+ (input: InputType, options: any, cb: (err: any, data?: OutputType) => void): void;
44
+ (input: InputType, options?: any, cb?: (err: any, data?: OutputType) => void): Promise<OutputType> | void;
45
+ }
34
46
  /**
35
47
  * A general interface for service clients, idempotent to browser or node clients
36
48
  * This type corresponds to SmithyClient(https://github.com/aws/aws-sdk-js-v3/blob/main/packages/smithy-client/src/client.ts).
@@ -34,7 +34,7 @@ export interface HttpResponse extends HttpMessage {
34
34
  * @public
35
35
  *
36
36
  * Represents an HTTP message with headers and an optional static or streaming
37
- * body. bode: ArrayBuffer | ArrayBufferView | string | Uint8Array | Readable | ReadableStream;
37
+ * body. body: ArrayBuffer | ArrayBufferView | string | Uint8Array | Readable | ReadableStream;
38
38
  */
39
39
  export interface HttpMessage {
40
40
  headers: HeaderBag;