@mavogel/awscdk-rootmail 0.0.260 → 0.0.261

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 (363) 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/dist-cjs/index.js +499 -372
  5. package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-es/CloudWatchLogsClient.js +1 -0
  6. package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-es/models/models_0.js +42 -38
  7. package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/runtimeConfig.browser.d.ts +1 -1
  8. package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/runtimeConfig.d.ts +1 -1
  9. package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/runtimeConfig.native.d.ts +2 -2
  10. package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/ts3.4/runtimeConfig.browser.d.ts +5 -3
  11. package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/ts3.4/runtimeConfig.d.ts +9 -7
  12. package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/ts3.4/runtimeConfig.native.d.ts +20 -8
  13. package/node_modules/@aws-sdk/client-cloudwatch-logs/package.json +46 -46
  14. package/node_modules/@aws-sdk/client-route-53/dist-cjs/index.js +722 -565
  15. package/node_modules/@aws-sdk/client-route-53/dist-es/Route53Client.js +1 -0
  16. package/node_modules/@aws-sdk/client-route-53/dist-es/models/models_0.js +145 -138
  17. package/node_modules/@aws-sdk/client-route-53/dist-types/runtimeConfig.browser.d.ts +1 -1
  18. package/node_modules/@aws-sdk/client-route-53/dist-types/runtimeConfig.d.ts +1 -1
  19. package/node_modules/@aws-sdk/client-route-53/dist-types/runtimeConfig.native.d.ts +2 -2
  20. package/node_modules/@aws-sdk/client-route-53/dist-types/ts3.4/runtimeConfig.browser.d.ts +5 -3
  21. package/node_modules/@aws-sdk/client-route-53/dist-types/ts3.4/runtimeConfig.d.ts +9 -7
  22. package/node_modules/@aws-sdk/client-route-53/dist-types/ts3.4/runtimeConfig.native.d.ts +20 -8
  23. package/node_modules/@aws-sdk/client-route-53/package.json +46 -46
  24. package/node_modules/@aws-sdk/client-s3/dist-cjs/index.js +489 -369
  25. package/node_modules/@aws-sdk/client-s3/dist-es/S3Client.js +1 -0
  26. package/node_modules/@aws-sdk/client-s3/dist-es/models/models_0.js +18 -16
  27. package/node_modules/@aws-sdk/client-s3/dist-es/models/models_1.js +10 -10
  28. package/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteObjectCommand.d.ts +10 -10
  29. package/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteObjectsCommand.d.ts +22 -22
  30. package/node_modules/@aws-sdk/client-s3/dist-types/commands/ListMultipartUploadsCommand.d.ts +32 -32
  31. package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutObjectCommand.d.ts +44 -44
  32. package/node_modules/@aws-sdk/client-s3/dist-types/commands/UploadPartCopyCommand.d.ts +13 -13
  33. package/node_modules/@aws-sdk/client-s3/dist-types/runtimeConfig.browser.d.ts +1 -1
  34. package/node_modules/@aws-sdk/client-s3/dist-types/runtimeConfig.d.ts +1 -1
  35. package/node_modules/@aws-sdk/client-s3/dist-types/runtimeConfig.native.d.ts +5 -5
  36. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/runtimeConfig.browser.d.ts +5 -3
  37. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/runtimeConfig.d.ts +9 -7
  38. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/runtimeConfig.native.d.ts +29 -11
  39. package/node_modules/@aws-sdk/client-s3/package.json +60 -60
  40. package/node_modules/@aws-sdk/client-ses/dist-cjs/index.js +668 -441
  41. package/node_modules/@aws-sdk/client-ses/dist-es/SESClient.js +1 -0
  42. package/node_modules/@aws-sdk/client-ses/dist-es/models/models_0.js +97 -68
  43. package/node_modules/@aws-sdk/client-ses/dist-types/runtimeConfig.browser.d.ts +1 -1
  44. package/node_modules/@aws-sdk/client-ses/dist-types/runtimeConfig.d.ts +1 -1
  45. package/node_modules/@aws-sdk/client-ses/dist-types/runtimeConfig.native.d.ts +2 -2
  46. package/node_modules/@aws-sdk/client-ses/dist-types/ts3.4/runtimeConfig.browser.d.ts +5 -3
  47. package/node_modules/@aws-sdk/client-ses/dist-types/ts3.4/runtimeConfig.d.ts +9 -7
  48. package/node_modules/@aws-sdk/client-ses/dist-types/ts3.4/runtimeConfig.native.d.ts +20 -8
  49. package/node_modules/@aws-sdk/client-ses/package.json +44 -44
  50. package/node_modules/@aws-sdk/client-ssm/dist-cjs/index.js +1529 -1117
  51. package/node_modules/@aws-sdk/client-ssm/dist-es/SSMClient.js +1 -0
  52. package/node_modules/@aws-sdk/client-ssm/dist-es/models/models_0.js +211 -146
  53. package/node_modules/@aws-sdk/client-ssm/dist-es/models/models_1.js +108 -80
  54. package/node_modules/@aws-sdk/client-ssm/dist-es/models/models_2.js +64 -44
  55. package/node_modules/@aws-sdk/client-ssm/dist-types/runtimeConfig.browser.d.ts +1 -1
  56. package/node_modules/@aws-sdk/client-ssm/dist-types/runtimeConfig.d.ts +1 -1
  57. package/node_modules/@aws-sdk/client-ssm/dist-types/runtimeConfig.native.d.ts +2 -2
  58. package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/runtimeConfig.browser.d.ts +5 -3
  59. package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/runtimeConfig.d.ts +9 -7
  60. package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/runtimeConfig.native.d.ts +20 -8
  61. package/node_modules/@aws-sdk/client-ssm/package.json +44 -44
  62. package/node_modules/@aws-sdk/client-sso/dist-cjs/index.js +57 -42
  63. package/node_modules/@aws-sdk/client-sso/dist-es/SSOClient.js +1 -0
  64. package/node_modules/@aws-sdk/client-sso/dist-es/models/models_0.js +8 -8
  65. package/node_modules/@aws-sdk/client-sso/dist-types/runtimeConfig.native.d.ts +1 -1
  66. package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/runtimeConfig.native.d.ts +15 -5
  67. package/node_modules/@aws-sdk/client-sso/package.json +40 -40
  68. package/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/index.js +295 -92
  69. package/node_modules/@aws-sdk/client-sso-oidc/dist-es/SSOOIDCClient.js +1 -0
  70. package/node_modules/@aws-sdk/client-sso-oidc/dist-es/models/models_0.js +58 -28
  71. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/runtimeConfig.browser.d.ts +1 -1
  72. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/runtimeConfig.d.ts +1 -1
  73. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/runtimeConfig.native.d.ts +2 -2
  74. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/runtimeConfig.browser.d.ts +5 -3
  75. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/runtimeConfig.d.ts +9 -7
  76. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/runtimeConfig.native.d.ts +20 -8
  77. package/node_modules/@aws-sdk/client-sso-oidc/package.json +42 -42
  78. package/node_modules/@aws-sdk/client-sts/dist-cjs/STSClient.js +1 -0
  79. package/node_modules/@aws-sdk/client-sts/dist-cjs/index.js +115 -104
  80. package/node_modules/@aws-sdk/client-sts/dist-es/STSClient.js +1 -0
  81. package/node_modules/@aws-sdk/client-sts/dist-es/models/models_0.js +16 -16
  82. package/node_modules/@aws-sdk/client-sts/dist-types/runtimeConfig.browser.d.ts +1 -1
  83. package/node_modules/@aws-sdk/client-sts/dist-types/runtimeConfig.d.ts +1 -1
  84. package/node_modules/@aws-sdk/client-sts/dist-types/runtimeConfig.native.d.ts +2 -2
  85. package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/runtimeConfig.browser.d.ts +5 -3
  86. package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/runtimeConfig.d.ts +9 -7
  87. package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/runtimeConfig.native.d.ts +20 -8
  88. package/node_modules/@aws-sdk/client-sts/package.json +42 -42
  89. package/node_modules/@aws-sdk/core/dist-cjs/submodules/httpAuthSchemes/index.js +18 -22
  90. package/node_modules/@aws-sdk/core/dist-cjs/submodules/protocols/index.js +3 -4
  91. package/node_modules/@aws-sdk/core/package.json +12 -12
  92. package/node_modules/@aws-sdk/credential-provider-env/dist-cjs/index.js +2 -3
  93. package/node_modules/@aws-sdk/credential-provider-env/package.json +8 -8
  94. package/node_modules/@aws-sdk/credential-provider-http/package.json +13 -13
  95. package/node_modules/@aws-sdk/credential-provider-ini/dist-cjs/index.js +12 -17
  96. package/node_modules/@aws-sdk/credential-provider-ini/package.json +16 -16
  97. package/node_modules/@aws-sdk/credential-provider-node/dist-cjs/index.js +11 -18
  98. package/node_modules/@aws-sdk/credential-provider-node/package.json +15 -15
  99. package/node_modules/@aws-sdk/credential-provider-process/dist-cjs/index.js +3 -5
  100. package/node_modules/@aws-sdk/credential-provider-process/package.json +9 -9
  101. package/node_modules/@aws-sdk/credential-provider-sso/dist-cjs/index.js +5 -6
  102. package/node_modules/@aws-sdk/credential-provider-sso/package.json +11 -11
  103. package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +9 -9
  104. package/node_modules/@aws-sdk/middleware-bucket-endpoint/dist-cjs/index.js +1 -1
  105. package/node_modules/@aws-sdk/middleware-bucket-endpoint/package.json +9 -9
  106. package/node_modules/@aws-sdk/middleware-expect-continue/dist-cjs/index.js +1 -2
  107. package/node_modules/@aws-sdk/middleware-expect-continue/package.json +6 -6
  108. package/node_modules/@aws-sdk/middleware-flexible-checksums/dist-cjs/getCrc32ChecksumAlgorithmFunction.js +1 -3
  109. package/node_modules/@aws-sdk/middleware-flexible-checksums/dist-cjs/index.js +1 -1
  110. package/node_modules/@aws-sdk/middleware-flexible-checksums/dist-es/getCrc32ChecksumAlgorithmFunction.js +1 -3
  111. package/node_modules/@aws-sdk/middleware-flexible-checksums/package.json +13 -13
  112. package/node_modules/@aws-sdk/middleware-host-header/package.json +6 -6
  113. package/node_modules/@aws-sdk/middleware-location-constraint/dist-cjs/index.js +1 -1
  114. package/node_modules/@aws-sdk/middleware-location-constraint/package.json +5 -5
  115. package/node_modules/@aws-sdk/middleware-logger/dist-cjs/index.js +2 -3
  116. package/node_modules/@aws-sdk/middleware-logger/package.json +6 -6
  117. package/node_modules/@aws-sdk/middleware-recursion-detection/package.json +6 -6
  118. package/node_modules/@aws-sdk/middleware-sdk-route53/package.json +5 -5
  119. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-cjs/index.js +33 -36
  120. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/s3-express/classes/S3ExpressIdentityCache.js +3 -2
  121. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/s3-express/classes/S3ExpressIdentityCacheEntry.js +3 -0
  122. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/s3-express/classes/S3ExpressIdentityProviderImpl.js +3 -1
  123. package/node_modules/@aws-sdk/middleware-sdk-s3/package.json +16 -16
  124. package/node_modules/@aws-sdk/middleware-ssec/package.json +5 -5
  125. package/node_modules/@aws-sdk/middleware-user-agent/dist-cjs/index.js +13 -17
  126. package/node_modules/@aws-sdk/middleware-user-agent/package.json +9 -9
  127. package/node_modules/@aws-sdk/region-config-resolver/package.json +8 -8
  128. package/node_modules/@aws-sdk/signature-v4-multi-region/dist-cjs/index.js +7 -3
  129. package/node_modules/@aws-sdk/signature-v4-multi-region/dist-es/SignatureV4MultiRegion.js +3 -0
  130. package/node_modules/@aws-sdk/signature-v4-multi-region/package.json +8 -8
  131. package/node_modules/@aws-sdk/token-providers/dist-cjs/index.js +5 -7
  132. package/node_modules/@aws-sdk/token-providers/package.json +9 -9
  133. package/node_modules/@aws-sdk/types/package.json +4 -4
  134. package/node_modules/@aws-sdk/util-arn-parser/package.json +4 -4
  135. package/node_modules/@aws-sdk/util-endpoints/package.json +6 -6
  136. package/node_modules/@aws-sdk/util-locate-window/package.json +4 -4
  137. package/node_modules/@aws-sdk/util-user-agent-browser/package.json +4 -4
  138. package/node_modules/@aws-sdk/util-user-agent-node/dist-cjs/index.js +1 -2
  139. package/node_modules/@aws-sdk/util-user-agent-node/package.json +8 -8
  140. package/node_modules/@aws-sdk/xml-builder/dist-cjs/index.js +9 -7
  141. package/node_modules/@aws-sdk/xml-builder/dist-es/XmlNode.js +3 -1
  142. package/node_modules/@aws-sdk/xml-builder/dist-es/XmlText.js +1 -0
  143. package/node_modules/@aws-sdk/xml-builder/package.json +4 -4
  144. package/node_modules/@smithy/abort-controller/dist-cjs/index.js +8 -6
  145. package/node_modules/@smithy/abort-controller/package.json +3 -3
  146. package/node_modules/@smithy/chunked-blob-reader/package.json +6 -2
  147. package/node_modules/@smithy/chunked-blob-reader-native/package.json +7 -3
  148. package/node_modules/@smithy/config-resolver/dist-cjs/index.js +8 -12
  149. package/node_modules/@smithy/config-resolver/dist-types/endpointsConfig/resolveCustomEndpointsConfig.d.ts +3 -0
  150. package/node_modules/@smithy/config-resolver/dist-types/endpointsConfig/resolveEndpointsConfig.d.ts +4 -1
  151. package/node_modules/@smithy/config-resolver/dist-types/ts3.4/endpointsConfig/resolveCustomEndpointsConfig.d.ts +3 -0
  152. package/node_modules/@smithy/config-resolver/dist-types/ts3.4/endpointsConfig/resolveEndpointsConfig.d.ts +4 -1
  153. package/node_modules/@smithy/config-resolver/package.json +6 -6
  154. package/node_modules/@smithy/core/dist-cjs/index.js +19 -16
  155. package/node_modules/@smithy/core/dist-cjs/submodules/cbor/index.js +2 -4
  156. package/node_modules/@smithy/core/dist-cjs/submodules/protocols/index.js +1 -1
  157. package/node_modules/@smithy/core/dist-types/submodules/cbor/cbor-types.d.ts +1 -0
  158. package/node_modules/@smithy/core/package.json +10 -10
  159. package/node_modules/@smithy/credential-provider-imds/dist-cjs/index.js +10 -11
  160. package/node_modules/@smithy/credential-provider-imds/dist-types/remoteProvider/httpRequest.d.ts +1 -0
  161. package/node_modules/@smithy/credential-provider-imds/package.json +7 -7
  162. package/node_modules/@smithy/eventstream-codec/dist-cjs/index.js +28 -21
  163. package/node_modules/@smithy/eventstream-codec/package.json +8 -5
  164. package/node_modules/@smithy/eventstream-serde-browser/dist-cjs/index.js +4 -3
  165. package/node_modules/@smithy/eventstream-serde-browser/package.json +4 -4
  166. package/node_modules/@smithy/eventstream-serde-config-resolver/dist-types/EventStreamSerdeConfig.d.ts +3 -0
  167. package/node_modules/@smithy/eventstream-serde-config-resolver/dist-types/ts3.4/EventStreamSerdeConfig.d.ts +3 -0
  168. package/node_modules/@smithy/eventstream-serde-config-resolver/package.json +3 -3
  169. package/node_modules/@smithy/eventstream-serde-node/dist-cjs/index.js +4 -3
  170. package/node_modules/@smithy/eventstream-serde-node/package.json +5 -5
  171. package/node_modules/@smithy/eventstream-serde-universal/dist-cjs/index.js +4 -3
  172. package/node_modules/@smithy/eventstream-serde-universal/package.json +6 -6
  173. package/node_modules/@smithy/fetch-http-handler/dist-cjs/index.js +8 -9
  174. package/node_modules/@smithy/fetch-http-handler/package.json +9 -6
  175. package/node_modules/@smithy/hash-blob-browser/package.json +8 -5
  176. package/node_modules/@smithy/hash-node/dist-cjs/index.js +4 -3
  177. package/node_modules/@smithy/hash-node/package.json +6 -6
  178. package/node_modules/@smithy/hash-stream-node/dist-cjs/index.js +4 -3
  179. package/node_modules/@smithy/hash-stream-node/dist-types/HashCalculator.d.ts +1 -0
  180. package/node_modules/@smithy/hash-stream-node/package.json +6 -6
  181. package/node_modules/@smithy/invalid-dependency/package.json +5 -2
  182. package/node_modules/@smithy/is-array-buffer/package.json +5 -4
  183. package/node_modules/@smithy/md5-js/dist-cjs/index.js +4 -3
  184. package/node_modules/@smithy/md5-js/package.json +9 -6
  185. package/node_modules/@smithy/middleware-content-length/package.json +4 -4
  186. package/node_modules/@smithy/middleware-endpoint/dist-cjs/index.js +7 -9
  187. package/node_modules/@smithy/middleware-endpoint/package.json +9 -9
  188. package/node_modules/@smithy/middleware-retry/dist-cjs/index.js +18 -17
  189. package/node_modules/@smithy/middleware-retry/package.json +9 -9
  190. package/node_modules/@smithy/middleware-serde/dist-cjs/index.js +1 -2
  191. package/node_modules/@smithy/middleware-serde/package.json +3 -3
  192. package/node_modules/@smithy/middleware-stack/dist-cjs/index.js +4 -12
  193. package/node_modules/@smithy/middleware-stack/dist-types/MiddlewareStack.d.ts +3 -0
  194. package/node_modules/@smithy/middleware-stack/dist-types/ts3.4/MiddlewareStack.d.ts +3 -0
  195. package/node_modules/@smithy/middleware-stack/package.json +3 -3
  196. package/node_modules/@smithy/node-config-provider/dist-types/configLoader.d.ts +9 -0
  197. package/node_modules/@smithy/node-config-provider/dist-types/fromSharedConfigFiles.d.ts +7 -0
  198. package/node_modules/@smithy/node-config-provider/dist-types/fromStatic.d.ts +6 -0
  199. package/node_modules/@smithy/node-config-provider/dist-types/ts3.4/configLoader.d.ts +9 -0
  200. package/node_modules/@smithy/node-config-provider/dist-types/ts3.4/fromSharedConfigFiles.d.ts +7 -0
  201. package/node_modules/@smithy/node-config-provider/dist-types/ts3.4/fromStatic.d.ts +6 -0
  202. package/node_modules/@smithy/node-config-provider/package.json +6 -6
  203. package/node_modules/@smithy/node-http-handler/dist-cjs/index.js +36 -36
  204. package/node_modules/@smithy/node-http-handler/dist-es/set-socket-timeout.js +2 -1
  205. package/node_modules/@smithy/node-http-handler/dist-types/node-http-handler.d.ts +8 -0
  206. package/node_modules/@smithy/node-http-handler/dist-types/node-http2-connection-manager.d.ts +3 -0
  207. package/node_modules/@smithy/node-http-handler/dist-types/node-http2-handler.d.ts +6 -1
  208. package/node_modules/@smithy/node-http-handler/dist-types/readable.mock.d.ts +1 -0
  209. package/node_modules/@smithy/node-http-handler/dist-types/set-connection-timeout.d.ts +2 -0
  210. package/node_modules/@smithy/node-http-handler/dist-types/set-socket-keep-alive.d.ts +2 -0
  211. package/node_modules/@smithy/node-http-handler/dist-types/set-socket-timeout.d.ts +2 -0
  212. package/node_modules/@smithy/node-http-handler/dist-types/stream-collector/collector.d.ts +1 -0
  213. package/node_modules/@smithy/node-http-handler/dist-types/stream-collector/index.d.ts +4 -0
  214. package/node_modules/@smithy/node-http-handler/dist-types/stream-collector/readable.mock.d.ts +1 -0
  215. package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http-handler.d.ts +8 -0
  216. package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http2-connection-manager.d.ts +3 -0
  217. package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http2-handler.d.ts +6 -1
  218. package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/stream-collector/index.d.ts +4 -0
  219. package/node_modules/@smithy/node-http-handler/package.json +7 -7
  220. package/node_modules/@smithy/property-provider/dist-cjs/index.js +16 -14
  221. package/node_modules/@smithy/property-provider/package.json +3 -3
  222. package/node_modules/@smithy/protocol-http/dist-cjs/index.js +16 -12
  223. package/node_modules/@smithy/protocol-http/dist-types/httpHandler.d.ts +0 -2
  224. package/node_modules/@smithy/protocol-http/dist-types/httpRequest.d.ts +3 -1
  225. package/node_modules/@smithy/protocol-http/dist-types/httpResponse.d.ts +13 -0
  226. package/node_modules/@smithy/protocol-http/dist-types/ts3.4/httpHandler.d.ts +0 -2
  227. package/node_modules/@smithy/protocol-http/dist-types/ts3.4/httpRequest.d.ts +3 -1
  228. package/node_modules/@smithy/protocol-http/dist-types/ts3.4/httpResponse.d.ts +13 -0
  229. package/node_modules/@smithy/protocol-http/package.json +3 -3
  230. package/node_modules/@smithy/querystring-builder/package.json +4 -4
  231. package/node_modules/@smithy/querystring-parser/package.json +3 -3
  232. package/node_modules/@smithy/service-error-classification/dist-cjs/index.js +4 -14
  233. package/node_modules/@smithy/service-error-classification/package.json +3 -3
  234. package/node_modules/@smithy/shared-ini-file-loader/dist-types/getProfileName.d.ts +10 -0
  235. package/node_modules/@smithy/shared-ini-file-loader/dist-types/getSSOTokenFilepath.d.ts +1 -0
  236. package/node_modules/@smithy/shared-ini-file-loader/dist-types/getSSOTokenFromFile.d.ts +2 -0
  237. package/node_modules/@smithy/shared-ini-file-loader/dist-types/loadSharedConfigFiles.d.ts +10 -0
  238. package/node_modules/@smithy/shared-ini-file-loader/dist-types/loadSsoSessionData.d.ts +7 -0
  239. package/node_modules/@smithy/shared-ini-file-loader/dist-types/parseKnownFiles.d.ts +3 -0
  240. package/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getProfileName.d.ts +10 -0
  241. package/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getSSOTokenFilepath.d.ts +1 -0
  242. package/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getSSOTokenFromFile.d.ts +2 -0
  243. package/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/loadSharedConfigFiles.d.ts +10 -0
  244. package/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/loadSsoSessionData.d.ts +7 -0
  245. package/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/parseKnownFiles.d.ts +3 -0
  246. package/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/types.d.ts +6 -3
  247. package/node_modules/@smithy/shared-ini-file-loader/dist-types/types.d.ts +6 -3
  248. package/node_modules/@smithy/shared-ini-file-loader/package.json +4 -4
  249. package/node_modules/@smithy/signature-v4/dist-cjs/index.js +16 -14
  250. package/node_modules/@smithy/signature-v4/dist-types/SignatureV4.d.ts +9 -0
  251. package/node_modules/@smithy/signature-v4/dist-types/credentialDerivation.d.ts +13 -9
  252. package/node_modules/@smithy/signature-v4/dist-types/getCanonicalHeaders.d.ts +1 -1
  253. package/node_modules/@smithy/signature-v4/dist-types/getCanonicalQuery.d.ts +1 -1
  254. package/node_modules/@smithy/signature-v4/dist-types/getPayloadHash.d.ts +1 -1
  255. package/node_modules/@smithy/signature-v4/dist-types/moveHeadersToQuery.d.ts +1 -1
  256. package/node_modules/@smithy/signature-v4/dist-types/prepareRequest.d.ts +1 -1
  257. package/node_modules/@smithy/signature-v4/dist-types/ts3.4/SignatureV4.d.ts +9 -0
  258. package/node_modules/@smithy/signature-v4/dist-types/ts3.4/credentialDerivation.d.ts +13 -9
  259. package/node_modules/@smithy/signature-v4/dist-types/ts3.4/getCanonicalHeaders.d.ts +1 -1
  260. package/node_modules/@smithy/signature-v4/dist-types/ts3.4/getCanonicalQuery.d.ts +1 -1
  261. package/node_modules/@smithy/signature-v4/dist-types/ts3.4/getPayloadHash.d.ts +1 -1
  262. package/node_modules/@smithy/signature-v4/dist-types/ts3.4/moveHeadersToQuery.d.ts +1 -1
  263. package/node_modules/@smithy/signature-v4/dist-types/ts3.4/prepareRequest.d.ts +1 -1
  264. package/node_modules/@smithy/signature-v4/package.json +9 -9
  265. package/node_modules/@smithy/smithy-client/dist-cjs/index.js +27 -21
  266. package/node_modules/@smithy/smithy-client/package.json +9 -9
  267. package/node_modules/@smithy/types/dist-types/blob/blob-payload-input-types.d.ts +2 -0
  268. package/node_modules/@smithy/types/dist-types/client.d.ts +1 -0
  269. package/node_modules/@smithy/types/dist-types/connection/config.d.ts +3 -0
  270. package/node_modules/@smithy/types/dist-types/connection/manager.d.ts +6 -0
  271. package/node_modules/@smithy/types/dist-types/connection/pool.d.ts +8 -0
  272. package/node_modules/@smithy/types/dist-types/encode.d.ts +12 -0
  273. package/node_modules/@smithy/types/dist-types/endpoints/EndpointRuleObject.d.ts +12 -0
  274. package/node_modules/@smithy/types/dist-types/endpoints/ErrorRuleObject.d.ts +3 -0
  275. package/node_modules/@smithy/types/dist-types/endpoints/RuleSetObject.d.ts +9 -0
  276. package/node_modules/@smithy/types/dist-types/endpoints/TreeRuleObject.d.ts +6 -0
  277. package/node_modules/@smithy/types/dist-types/endpoints/shared.d.ts +30 -0
  278. package/node_modules/@smithy/types/dist-types/eventStream.d.ts +31 -2
  279. package/node_modules/@smithy/types/dist-types/extensions/checksum.d.ts +3 -0
  280. package/node_modules/@smithy/types/dist-types/http/httpHandlerInitialization.d.ts +3 -2
  281. package/node_modules/@smithy/types/dist-types/http.d.ts +6 -0
  282. package/node_modules/@smithy/types/dist-types/serde.d.ts +1 -0
  283. package/node_modules/@smithy/types/dist-types/streaming-payload/streaming-blob-payload-input-types.d.ts +2 -1
  284. package/node_modules/@smithy/types/dist-types/transfer.d.ts +8 -0
  285. package/node_modules/@smithy/types/dist-types/ts3.4/blob/blob-payload-input-types.d.ts +1 -0
  286. package/node_modules/@smithy/types/dist-types/ts3.4/client.d.ts +1 -0
  287. package/node_modules/@smithy/types/dist-types/ts3.4/connection/config.d.ts +3 -0
  288. package/node_modules/@smithy/types/dist-types/ts3.4/connection/manager.d.ts +6 -0
  289. package/node_modules/@smithy/types/dist-types/ts3.4/connection/pool.d.ts +8 -0
  290. package/node_modules/@smithy/types/dist-types/ts3.4/encode.d.ts +12 -0
  291. package/node_modules/@smithy/types/dist-types/ts3.4/endpoints/EndpointRuleObject.d.ts +12 -0
  292. package/node_modules/@smithy/types/dist-types/ts3.4/endpoints/ErrorRuleObject.d.ts +3 -0
  293. package/node_modules/@smithy/types/dist-types/ts3.4/endpoints/RuleSetObject.d.ts +9 -0
  294. package/node_modules/@smithy/types/dist-types/ts3.4/endpoints/TreeRuleObject.d.ts +6 -0
  295. package/node_modules/@smithy/types/dist-types/ts3.4/endpoints/shared.d.ts +30 -0
  296. package/node_modules/@smithy/types/dist-types/ts3.4/eventStream.d.ts +31 -2
  297. package/node_modules/@smithy/types/dist-types/ts3.4/extensions/checksum.d.ts +3 -0
  298. package/node_modules/@smithy/types/dist-types/ts3.4/http/httpHandlerInitialization.d.ts +3 -2
  299. package/node_modules/@smithy/types/dist-types/ts3.4/http.d.ts +6 -0
  300. package/node_modules/@smithy/types/dist-types/ts3.4/serde.d.ts +1 -0
  301. package/node_modules/@smithy/types/dist-types/ts3.4/streaming-payload/streaming-blob-payload-input-types.d.ts +1 -1
  302. package/node_modules/@smithy/types/dist-types/ts3.4/transfer.d.ts +8 -0
  303. package/node_modules/@smithy/types/package.json +2 -2
  304. package/node_modules/@smithy/url-parser/package.json +6 -3
  305. package/node_modules/@smithy/util-base64/package.json +8 -7
  306. package/node_modules/@smithy/util-body-length-browser/package.json +7 -3
  307. package/node_modules/@smithy/util-body-length-node/package.json +6 -5
  308. package/node_modules/@smithy/util-buffer-from/package.json +7 -6
  309. package/node_modules/@smithy/util-config-provider/package.json +6 -5
  310. package/node_modules/@smithy/util-defaults-mode-browser/package.json +6 -6
  311. package/node_modules/@smithy/util-defaults-mode-node/dist-cjs/index.js +2 -2
  312. package/node_modules/@smithy/util-defaults-mode-node/package.json +9 -9
  313. package/node_modules/@smithy/util-endpoints/dist-cjs/index.js +13 -15
  314. package/node_modules/@smithy/util-endpoints/package.json +5 -5
  315. package/node_modules/@smithy/util-hex-encoding/package.json +5 -4
  316. package/node_modules/@smithy/util-middleware/package.json +4 -4
  317. package/node_modules/@smithy/util-retry/dist-cjs/index.js +27 -21
  318. package/node_modules/@smithy/util-retry/package.json +5 -5
  319. package/node_modules/@smithy/util-stream/dist-cjs/index.js +4 -3
  320. package/node_modules/@smithy/util-stream/dist-cjs/sdk-stream-mixin.js +1 -1
  321. package/node_modules/@smithy/util-stream/dist-es/sdk-stream-mixin.js +1 -1
  322. package/node_modules/@smithy/util-stream/dist-types/checksum/ChecksumStream.d.ts +1 -0
  323. package/node_modules/@smithy/util-stream/package.json +10 -10
  324. package/node_modules/@smithy/util-uri-escape/package.json +5 -4
  325. package/node_modules/@smithy/util-utf8/package.json +6 -5
  326. package/node_modules/@smithy/util-waiter/dist-cjs/index.js +4 -6
  327. package/node_modules/@smithy/util-waiter/package.json +4 -4
  328. package/node_modules/domutils/lib/esm/feeds.d.ts.map +1 -1
  329. package/node_modules/domutils/lib/esm/feeds.js.map +1 -1
  330. package/node_modules/domutils/lib/esm/helpers.d.ts.map +1 -1
  331. package/node_modules/domutils/lib/esm/helpers.js.map +1 -1
  332. package/node_modules/domutils/lib/esm/index.d.ts.map +1 -1
  333. package/node_modules/domutils/lib/esm/index.js.map +1 -1
  334. package/node_modules/domutils/lib/esm/legacy.d.ts.map +1 -1
  335. package/node_modules/domutils/lib/esm/legacy.js.map +1 -1
  336. package/node_modules/domutils/lib/esm/manipulation.d.ts.map +1 -1
  337. package/node_modules/domutils/lib/esm/manipulation.js.map +1 -1
  338. package/node_modules/domutils/lib/esm/querying.d.ts.map +1 -1
  339. package/node_modules/domutils/lib/esm/querying.js +3 -1
  340. package/node_modules/domutils/lib/esm/querying.js.map +1 -1
  341. package/node_modules/domutils/lib/esm/stringify.d.ts.map +1 -1
  342. package/node_modules/domutils/lib/esm/stringify.js.map +1 -1
  343. package/node_modules/domutils/lib/esm/traversal.d.ts.map +1 -1
  344. package/node_modules/domutils/lib/esm/traversal.js.map +1 -1
  345. package/node_modules/domutils/lib/feeds.d.ts.map +1 -1
  346. package/node_modules/domutils/lib/feeds.js.map +1 -1
  347. package/node_modules/domutils/lib/helpers.d.ts.map +1 -1
  348. package/node_modules/domutils/lib/helpers.js.map +1 -1
  349. package/node_modules/domutils/lib/index.d.ts.map +1 -1
  350. package/node_modules/domutils/lib/index.js.map +1 -1
  351. package/node_modules/domutils/lib/legacy.d.ts.map +1 -1
  352. package/node_modules/domutils/lib/legacy.js.map +1 -1
  353. package/node_modules/domutils/lib/manipulation.d.ts.map +1 -1
  354. package/node_modules/domutils/lib/manipulation.js.map +1 -1
  355. package/node_modules/domutils/lib/querying.d.ts.map +1 -1
  356. package/node_modules/domutils/lib/querying.js +3 -1
  357. package/node_modules/domutils/lib/querying.js.map +1 -1
  358. package/node_modules/domutils/lib/stringify.d.ts.map +1 -1
  359. package/node_modules/domutils/lib/stringify.js.map +1 -1
  360. package/node_modules/domutils/lib/traversal.d.ts.map +1 -1
  361. package/node_modules/domutils/lib/traversal.js.map +1 -1
  362. package/node_modules/domutils/package.json +5 -5
  363. package/package.json +7 -7
@@ -33,7 +33,7 @@ module.exports = __toCommonJS(src_exports);
33
33
 
34
34
  // src/AbortSignal.ts
35
35
  var import_types = require("@smithy/types");
36
- var _AbortSignal = class _AbortSignal {
36
+ var AbortSignal = class {
37
37
  constructor() {
38
38
  this.onabort = null;
39
39
  this._aborted = false;
@@ -42,6 +42,9 @@ var _AbortSignal = class _AbortSignal {
42
42
  writable: true
43
43
  });
44
44
  }
45
+ static {
46
+ __name(this, "AbortSignal");
47
+ }
45
48
  /**
46
49
  * Whether the associated operation has already been cancelled.
47
50
  */
@@ -59,20 +62,19 @@ var _AbortSignal = class _AbortSignal {
59
62
  }
60
63
  }
61
64
  };
62
- __name(_AbortSignal, "AbortSignal");
63
- var AbortSignal = _AbortSignal;
64
65
 
65
66
  // src/AbortController.ts
66
- var _AbortController = class _AbortController {
67
+ var AbortController = class {
67
68
  constructor() {
68
69
  this.signal = new AbortSignal();
69
70
  }
71
+ static {
72
+ __name(this, "AbortController");
73
+ }
70
74
  abort() {
71
75
  this.signal.abort();
72
76
  }
73
77
  };
74
- __name(_AbortController, "AbortController");
75
- var AbortController = _AbortController;
76
78
  // Annotate the CommonJS export names for ESM import in node:
77
79
 
78
80
  0 && (module.exports = {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smithy/abort-controller",
3
- "version": "3.1.9",
3
+ "version": "4.0.0",
4
4
  "description": "A simple abort controller library",
5
5
  "main": "./dist-cjs/index.js",
6
6
  "module": "./dist-es/index.js",
@@ -25,11 +25,11 @@
25
25
  },
26
26
  "license": "Apache-2.0",
27
27
  "dependencies": {
28
- "@smithy/types": "^3.7.2",
28
+ "@smithy/types": "^4.0.0",
29
29
  "tslib": "^2.6.2"
30
30
  },
31
31
  "engines": {
32
- "node": ">=16.0.0"
32
+ "node": ">=18.0.0"
33
33
  },
34
34
  "typesVersions": {
35
35
  "<4.0": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smithy/chunked-blob-reader",
3
- "version": "4.0.0",
3
+ "version": "5.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 chunked-blob-reader",
@@ -11,7 +11,8 @@
11
11
  "clean": "rimraf ./dist-* && rimraf *.tsbuildinfo || exit 0",
12
12
  "lint": "eslint -c ../../.eslintrc.js \"src/**/*.ts\"",
13
13
  "format": "prettier --config ../../prettier.config.js --ignore-path ../.prettierignore --write \"**/*.{ts,md,json}\"",
14
- "test": "yarn g:jest"
14
+ "test": "yarn g:vitest run",
15
+ "test:watch": "yarn g:vitest watch"
15
16
  },
16
17
  "main": "./dist-cjs/index.js",
17
18
  "module": "./dist-es/index.js",
@@ -51,5 +52,8 @@
51
52
  },
52
53
  "publishConfig": {
53
54
  "directory": ".release/package"
55
+ },
56
+ "engines": {
57
+ "node": ">=18.0.0"
54
58
  }
55
59
  }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smithy/chunked-blob-reader-native",
3
- "version": "3.0.1",
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 chunked-blob-reader-native",
@@ -11,7 +11,8 @@
11
11
  "clean": "rimraf ./dist-* && rimraf *.tsbuildinfo || exit 0",
12
12
  "lint": "eslint -c ../../.eslintrc.js \"src/**/*.ts\"",
13
13
  "format": "prettier --config ../../prettier.config.js --ignore-path ../.prettierignore --write \"**/*.{ts,md,json}\"",
14
- "test": "yarn g:jest"
14
+ "test": "yarn g:vitest run",
15
+ "test:watch": "yarn g:vitest watch"
15
16
  },
16
17
  "main": "./dist-cjs/index.js",
17
18
  "module": "./dist-es/index.js",
@@ -22,7 +23,7 @@
22
23
  },
23
24
  "license": "Apache-2.0",
24
25
  "dependencies": {
25
- "@smithy/util-base64": "^3.0.0",
26
+ "@smithy/util-base64": "^4.0.0",
26
27
  "tslib": "^2.6.2"
27
28
  },
28
29
  "typesVersions": {
@@ -52,5 +53,8 @@
52
53
  },
53
54
  "publishConfig": {
54
55
  "directory": ".release/package"
56
+ },
57
+ "engines": {
58
+ "node": ">=18.0.0"
55
59
  }
56
60
  }
@@ -153,12 +153,9 @@ var resolveRegionConfig = /* @__PURE__ */ __name((input) => {
153
153
  }, "resolveRegionConfig");
154
154
 
155
155
  // src/regionInfo/getHostnameFromVariants.ts
156
- var getHostnameFromVariants = /* @__PURE__ */ __name((variants = [], { useFipsEndpoint, useDualstackEndpoint }) => {
157
- var _a;
158
- return (_a = variants.find(
159
- ({ tags }) => useFipsEndpoint === tags.includes("fips") && useDualstackEndpoint === tags.includes("dualstack")
160
- )) == null ? void 0 : _a.hostname;
161
- }, "getHostnameFromVariants");
156
+ var getHostnameFromVariants = /* @__PURE__ */ __name((variants = [], { useFipsEndpoint, useDualstackEndpoint }) => variants.find(
157
+ ({ tags }) => useFipsEndpoint === tags.includes("fips") && useDualstackEndpoint === tags.includes("dualstack")
158
+ )?.hostname, "getHostnameFromVariants");
162
159
 
163
160
  // src/regionInfo/getResolvedHostname.ts
164
161
  var getResolvedHostname = /* @__PURE__ */ __name((resolvedRegion, { regionHostname, partitionHostname }) => regionHostname ? regionHostname : partitionHostname ? partitionHostname.replace("{region}", resolvedRegion) : void 0, "getResolvedHostname");
@@ -187,18 +184,17 @@ var getRegionInfo = /* @__PURE__ */ __name((region, {
187
184
  regionHash,
188
185
  partitionHash
189
186
  }) => {
190
- var _a, _b, _c, _d, _e;
191
187
  const partition = getResolvedPartition(region, { partitionHash });
192
- const resolvedRegion = region in regionHash ? region : ((_a = partitionHash[partition]) == null ? void 0 : _a.endpoint) ?? region;
188
+ const resolvedRegion = region in regionHash ? region : partitionHash[partition]?.endpoint ?? region;
193
189
  const hostnameOptions = { useFipsEndpoint, useDualstackEndpoint };
194
- const regionHostname = getHostnameFromVariants((_b = regionHash[resolvedRegion]) == null ? void 0 : _b.variants, hostnameOptions);
195
- const partitionHostname = getHostnameFromVariants((_c = partitionHash[partition]) == null ? void 0 : _c.variants, hostnameOptions);
190
+ const regionHostname = getHostnameFromVariants(regionHash[resolvedRegion]?.variants, hostnameOptions);
191
+ const partitionHostname = getHostnameFromVariants(partitionHash[partition]?.variants, hostnameOptions);
196
192
  const hostname = getResolvedHostname(resolvedRegion, { regionHostname, partitionHostname });
197
193
  if (hostname === void 0) {
198
194
  throw new Error(`Endpoint resolution failed for: ${{ resolvedRegion, useFipsEndpoint, useDualstackEndpoint }}`);
199
195
  }
200
196
  const signingRegion = getResolvedSigningRegion(hostname, {
201
- signingRegion: (_d = regionHash[resolvedRegion]) == null ? void 0 : _d.signingRegion,
197
+ signingRegion: regionHash[resolvedRegion]?.signingRegion,
202
198
  regionRegex: partitionHash[partition].regionRegex,
203
199
  useFipsEndpoint
204
200
  });
@@ -207,7 +203,7 @@ var getRegionInfo = /* @__PURE__ */ __name((region, {
207
203
  signingService,
208
204
  hostname,
209
205
  ...signingRegion && { signingRegion },
210
- ...((_e = regionHash[resolvedRegion]) == null ? void 0 : _e.signingService) && {
206
+ ...regionHash[resolvedRegion]?.signingService && {
211
207
  signingService: regionHash[resolvedRegion].signingService
212
208
  }
213
209
  };
@@ -9,6 +9,9 @@ export interface CustomEndpointsInputConfig extends EndpointsInputConfig {
9
9
  */
10
10
  endpoint: string | Endpoint | Provider<Endpoint>;
11
11
  }
12
+ /**
13
+ * @internal
14
+ */
12
15
  interface PreviouslyResolved {
13
16
  urlParser: UrlParser;
14
17
  }
@@ -17,6 +17,9 @@ export interface EndpointsInputConfig {
17
17
  */
18
18
  useDualstackEndpoint?: boolean | Provider<boolean>;
19
19
  }
20
+ /**
21
+ * @internal
22
+ */
20
23
  interface PreviouslyResolved {
21
24
  regionInfoProvider: RegionInfoProvider;
22
25
  urlParser: UrlParser;
@@ -44,7 +47,7 @@ export interface EndpointsResolvedConfig extends Required<EndpointsInputConfig>
44
47
  /**
45
48
  * @internal
46
49
  *
47
- * @deprecated endpoints rulesets use @smithy/middleware-endpoint resolveEndpointConfig.
50
+ * @deprecated endpoints rulesets use \@smithy/middleware-endpoint resolveEndpointConfig.
48
51
  * All generated clients should migrate to Endpoints 2.0 endpointRuleSet traits.
49
52
  */
50
53
  export declare const resolveEndpointsConfig: <T>(input: T & EndpointsInputConfig & PreviouslyResolved) => T & EndpointsResolvedConfig;
@@ -9,6 +9,9 @@ export interface CustomEndpointsInputConfig extends EndpointsInputConfig {
9
9
  */
10
10
  endpoint: string | Endpoint | Provider<Endpoint>;
11
11
  }
12
+ /**
13
+ * @internal
14
+ */
12
15
  interface PreviouslyResolved {
13
16
  urlParser: UrlParser;
14
17
  }
@@ -17,6 +17,9 @@ export interface EndpointsInputConfig {
17
17
  */
18
18
  useDualstackEndpoint?: boolean | Provider<boolean>;
19
19
  }
20
+ /**
21
+ * @internal
22
+ */
20
23
  interface PreviouslyResolved {
21
24
  regionInfoProvider: RegionInfoProvider;
22
25
  urlParser: UrlParser;
@@ -44,7 +47,7 @@ export interface EndpointsResolvedConfig extends Required<EndpointsInputConfig>
44
47
  /**
45
48
  * @internal
46
49
  *
47
- * @deprecated endpoints rulesets use @smithy/middleware-endpoint resolveEndpointConfig.
50
+ * @deprecated endpoints rulesets use \@smithy/middleware-endpoint resolveEndpointConfig.
48
51
  * All generated clients should migrate to Endpoints 2.0 endpointRuleSet traits.
49
52
  */
50
53
  export declare const resolveEndpointsConfig: <T>(input: T & EndpointsInputConfig & PreviouslyResolved) => T & EndpointsResolvedConfig;
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smithy/config-resolver",
3
- "version": "3.0.13",
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 config-resolver",
@@ -24,10 +24,10 @@
24
24
  },
25
25
  "license": "Apache-2.0",
26
26
  "dependencies": {
27
- "@smithy/node-config-provider": "^3.1.12",
28
- "@smithy/types": "^3.7.2",
29
- "@smithy/util-config-provider": "^3.0.0",
30
- "@smithy/util-middleware": "^3.0.11",
27
+ "@smithy/node-config-provider": "^4.0.0",
28
+ "@smithy/types": "^4.0.0",
29
+ "@smithy/util-config-provider": "^4.0.0",
30
+ "@smithy/util-middleware": "^4.0.0",
31
31
  "tslib": "^2.6.2"
32
32
  },
33
33
  "devDependencies": {
@@ -37,7 +37,7 @@
37
37
  "typedoc": "0.23.23"
38
38
  },
39
39
  "engines": {
40
- "node": ">=16.0.0"
40
+ "node": ">=18.0.0"
41
41
  },
42
42
  "typesVersions": {
43
43
  "<4.0": {
@@ -60,7 +60,6 @@ function convertHttpAuthSchemesToMap(httpAuthSchemes) {
60
60
  }
61
61
  __name(convertHttpAuthSchemesToMap, "convertHttpAuthSchemesToMap");
62
62
  var httpAuthSchemeMiddleware = /* @__PURE__ */ __name((config, mwOptions) => (next, context) => async (args) => {
63
- var _a;
64
63
  const options = config.httpAuthSchemeProvider(
65
64
  await mwOptions.httpAuthSchemeParametersProvider(config, context, args.input)
66
65
  );
@@ -78,7 +77,7 @@ var httpAuthSchemeMiddleware = /* @__PURE__ */ __name((config, mwOptions) => (ne
78
77
  failureReasons.push(`HttpAuthScheme \`${option.schemeId}\` did not have an IdentityProvider configured.`);
79
78
  continue;
80
79
  }
81
- const { identityProperties = {}, signingProperties = {} } = ((_a = option.propertiesExtractor) == null ? void 0 : _a.call(option, config, context)) || {};
80
+ const { identityProperties = {}, signingProperties = {} } = option.propertiesExtractor?.(config, context) || {};
82
81
  option.identityProperties = Object.assign(option.identityProperties || {}, identityProperties);
83
82
  option.signingProperties = Object.assign(option.signingProperties || {}, signingProperties);
84
83
  smithyContext.selectedHttpAuthScheme = {
@@ -254,7 +253,7 @@ function setFeature(context, feature, value) {
254
253
  __name(setFeature, "setFeature");
255
254
 
256
255
  // src/util-identity-and-auth/DefaultIdentityProviderConfig.ts
257
- var _DefaultIdentityProviderConfig = class _DefaultIdentityProviderConfig {
256
+ var DefaultIdentityProviderConfig = class {
258
257
  /**
259
258
  * Creates an IdentityProviderConfig with a record of scheme IDs to identity providers.
260
259
  *
@@ -268,17 +267,21 @@ var _DefaultIdentityProviderConfig = class _DefaultIdentityProviderConfig {
268
267
  }
269
268
  }
270
269
  }
270
+ static {
271
+ __name(this, "DefaultIdentityProviderConfig");
272
+ }
271
273
  getIdentityProvider(schemeId) {
272
274
  return this.authSchemes.get(schemeId);
273
275
  }
274
276
  };
275
- __name(_DefaultIdentityProviderConfig, "DefaultIdentityProviderConfig");
276
- var DefaultIdentityProviderConfig = _DefaultIdentityProviderConfig;
277
277
 
278
278
  // src/util-identity-and-auth/httpAuthSchemes/httpApiKeyAuth.ts
279
279
 
280
280
 
281
- var _HttpApiKeyAuthSigner = class _HttpApiKeyAuthSigner {
281
+ var HttpApiKeyAuthSigner = class {
282
+ static {
283
+ __name(this, "HttpApiKeyAuthSigner");
284
+ }
282
285
  async sign(httpRequest, identity, signingProperties) {
283
286
  if (!signingProperties) {
284
287
  throw new Error(
@@ -307,12 +310,13 @@ var _HttpApiKeyAuthSigner = class _HttpApiKeyAuthSigner {
307
310
  return clonedRequest;
308
311
  }
309
312
  };
310
- __name(_HttpApiKeyAuthSigner, "HttpApiKeyAuthSigner");
311
- var HttpApiKeyAuthSigner = _HttpApiKeyAuthSigner;
312
313
 
313
314
  // src/util-identity-and-auth/httpAuthSchemes/httpBearerAuth.ts
314
315
 
315
- var _HttpBearerAuthSigner = class _HttpBearerAuthSigner {
316
+ var HttpBearerAuthSigner = class {
317
+ static {
318
+ __name(this, "HttpBearerAuthSigner");
319
+ }
316
320
  async sign(httpRequest, identity, signingProperties) {
317
321
  const clonedRequest = import_protocol_http.HttpRequest.clone(httpRequest);
318
322
  if (!identity.token) {
@@ -322,17 +326,16 @@ var _HttpBearerAuthSigner = class _HttpBearerAuthSigner {
322
326
  return clonedRequest;
323
327
  }
324
328
  };
325
- __name(_HttpBearerAuthSigner, "HttpBearerAuthSigner");
326
- var HttpBearerAuthSigner = _HttpBearerAuthSigner;
327
329
 
328
330
  // src/util-identity-and-auth/httpAuthSchemes/noAuth.ts
329
- var _NoAuthSigner = class _NoAuthSigner {
331
+ var NoAuthSigner = class {
332
+ static {
333
+ __name(this, "NoAuthSigner");
334
+ }
330
335
  async sign(httpRequest, identity, signingProperties) {
331
336
  return httpRequest;
332
337
  }
333
338
  };
334
- __name(_NoAuthSigner, "NoAuthSigner");
335
- var NoAuthSigner = _NoAuthSigner;
336
339
 
337
340
  // src/util-identity-and-auth/memoizeIdentityProvider.ts
338
341
  var createIsIdentityExpiredFunction = /* @__PURE__ */ __name((expirationMs) => (identity) => doesIdentityRequireRefresh(identity) && identity.expiration.getTime() - Date.now() < expirationMs, "createIsIdentityExpiredFunction");
@@ -363,14 +366,14 @@ var memoizeIdentityProvider = /* @__PURE__ */ __name((provider, isExpired, requi
363
366
  }, "coalesceProvider");
364
367
  if (isExpired === void 0) {
365
368
  return async (options) => {
366
- if (!hasResult || (options == null ? void 0 : options.forceRefresh)) {
369
+ if (!hasResult || options?.forceRefresh) {
367
370
  resolved = await coalesceProvider(options);
368
371
  }
369
372
  return resolved;
370
373
  };
371
374
  }
372
375
  return async (options) => {
373
- if (!hasResult || (options == null ? void 0 : options.forceRefresh)) {
376
+ if (!hasResult || options?.forceRefresh) {
374
377
  resolved = await coalesceProvider(options);
375
378
  }
376
379
  if (isConstant) {
@@ -164,8 +164,7 @@ function decode(at, to) {
164
164
  }
165
165
  }
166
166
  function bytesToUtf8(bytes, at, to) {
167
- var _a;
168
- if (USE_BUFFER && ((_a = bytes.constructor) == null ? void 0 : _a.name) === "Buffer") {
167
+ if (USE_BUFFER && bytes.constructor?.name === "Buffer") {
169
168
  return bytes.toString("utf-8", at, to);
170
169
  }
171
170
  if (textDecoder) {
@@ -492,7 +491,6 @@ function encodeHeader(major, value) {
492
491
  }
493
492
  }
494
493
  function encode(_input) {
495
- var _a;
496
494
  const encodeStack = [_input];
497
495
  while (encodeStack.length) {
498
496
  const input = encodeStack.pop();
@@ -602,7 +600,7 @@ function encode(_input) {
602
600
  encodeHeader(majorMap, keys.length);
603
601
  continue;
604
602
  }
605
- throw new Error(`data type ${((_a = input == null ? void 0 : input.constructor) == null ? void 0 : _a.name) ?? typeof input} not compatible for encoding.`);
603
+ throw new Error(`data type ${input?.constructor?.name ?? typeof input} not compatible for encoding.`);
606
604
  }
607
605
  }
608
606
 
@@ -112,7 +112,7 @@ var RequestBuilder = class {
112
112
  */
113
113
  bp(uriLabel) {
114
114
  this.resolvePathStack.push((basePath) => {
115
- this.path = `${(basePath == null ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + uriLabel;
115
+ this.path = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + uriLabel;
116
116
  });
117
117
  return this;
118
118
  }
@@ -1,4 +1,5 @@
1
1
  /// <reference types="node" />
2
+ /// <reference types="node" />
2
3
  export type CborItemType = undefined | boolean | number | bigint | [CborUnstructuredByteStringType, Uint64] | string | CborTagType;
3
4
  export type CborTagType = {
4
5
  tag: Uint64 | number;
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smithy/core",
3
- "version": "2.5.7",
3
+ "version": "3.0.0",
4
4
  "scripts": {
5
5
  "build": "yarn lint && concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
6
6
  "build:cjs": "node ../../scripts/inline core",
@@ -54,17 +54,17 @@
54
54
  },
55
55
  "license": "Apache-2.0",
56
56
  "dependencies": {
57
- "@smithy/middleware-serde": "^3.0.11",
58
- "@smithy/protocol-http": "^4.1.8",
59
- "@smithy/types": "^3.7.2",
60
- "@smithy/util-body-length-browser": "^3.0.0",
61
- "@smithy/util-middleware": "^3.0.11",
62
- "@smithy/util-stream": "^3.3.4",
63
- "@smithy/util-utf8": "^3.0.0",
57
+ "@smithy/middleware-serde": "^4.0.0",
58
+ "@smithy/protocol-http": "^5.0.0",
59
+ "@smithy/types": "^4.0.0",
60
+ "@smithy/util-body-length-browser": "^4.0.0",
61
+ "@smithy/util-middleware": "^4.0.0",
62
+ "@smithy/util-stream": "^4.0.0",
63
+ "@smithy/util-utf8": "^4.0.0",
64
64
  "tslib": "^2.6.2"
65
65
  },
66
66
  "engines": {
67
- "node": ">=16.0.0"
67
+ "node": ">=18.0.0"
68
68
  },
69
69
  "typesVersions": {
70
70
  "<4.0": {
@@ -87,7 +87,7 @@
87
87
  "directory": "packages/core"
88
88
  },
89
89
  "devDependencies": {
90
- "@types/node": "^16.18.96",
90
+ "@types/node": "^18.11.9",
91
91
  "concurrently": "7.0.0",
92
92
  "downlevel-dts": "0.10.1",
93
93
  "json-bigint": "^1.0.0",
@@ -44,13 +44,12 @@ var import_buffer = require("buffer");
44
44
  var import_http = require("http");
45
45
  function httpRequest(options) {
46
46
  return new Promise((resolve, reject) => {
47
- var _a;
48
47
  const req = (0, import_http.request)({
49
48
  method: "GET",
50
49
  ...options,
51
50
  // Node.js http module doesn't accept hostname with square brackets
52
51
  // Refs: https://github.com/nodejs/node/issues/39738
53
- hostname: (_a = options.hostname) == null ? void 0 : _a.replace(/^\[(.+)\]$/, "$1")
52
+ hostname: options.hostname?.replace(/^\[(.+)\]$/, "$1")
54
53
  });
55
54
  req.on("error", (err) => {
56
55
  reject(Object.assign(new import_property_provider.ProviderError("Unable to connect to instance metadata service"), err));
@@ -189,16 +188,17 @@ var getCmdsUri = /* @__PURE__ */ __name(async ({ logger }) => {
189
188
 
190
189
  // src/error/InstanceMetadataV1FallbackError.ts
191
190
 
192
- var _InstanceMetadataV1FallbackError = class _InstanceMetadataV1FallbackError extends import_property_provider.CredentialsProviderError {
191
+ var InstanceMetadataV1FallbackError = class _InstanceMetadataV1FallbackError extends import_property_provider.CredentialsProviderError {
193
192
  constructor(message, tryNextLink = true) {
194
193
  super(message, tryNextLink);
195
194
  this.tryNextLink = tryNextLink;
196
195
  this.name = "InstanceMetadataV1FallbackError";
197
196
  Object.setPrototypeOf(this, _InstanceMetadataV1FallbackError.prototype);
198
197
  }
198
+ static {
199
+ __name(this, "InstanceMetadataV1FallbackError");
200
+ }
199
201
  };
200
- __name(_InstanceMetadataV1FallbackError, "InstanceMetadataV1FallbackError");
201
- var InstanceMetadataV1FallbackError = _InstanceMetadataV1FallbackError;
202
202
 
203
203
  // src/utils/getInstanceMetadataEndpoint.ts
204
204
  var import_node_config_provider = require("@smithy/node-config-provider");
@@ -272,7 +272,7 @@ For more information, please visit: ` + STATIC_STABILITY_DOC_URL
272
272
 
273
273
  // src/utils/staticStabilityProvider.ts
274
274
  var staticStabilityProvider = /* @__PURE__ */ __name((provider, options = {}) => {
275
- const logger = (options == null ? void 0 : options.logger) || console;
275
+ const logger = options?.logger || console;
276
276
  let pastCredentials;
277
277
  return async () => {
278
278
  let credentials;
@@ -306,8 +306,7 @@ var getInstanceMetadataProvider = /* @__PURE__ */ __name((init = {}) => {
306
306
  const { logger, profile } = init;
307
307
  const { timeout, maxRetries } = providerConfigFromInit(init);
308
308
  const getCredentials = /* @__PURE__ */ __name(async (maxRetries2, options) => {
309
- var _a;
310
- const isImdsV1Fallback = disableFetchToken || ((_a = options.headers) == null ? void 0 : _a[X_AWS_EC2_METADATA_TOKEN]) == null;
309
+ const isImdsV1Fallback = disableFetchToken || options.headers?.[X_AWS_EC2_METADATA_TOKEN] == null;
311
310
  if (isImdsV1Fallback) {
312
311
  let fallbackBlockedFromProfile = false;
313
312
  let fallbackBlockedFromProcessEnv = false;
@@ -378,21 +377,21 @@ var getInstanceMetadataProvider = /* @__PURE__ */ __name((init = {}) => {
378
377
  return async () => {
379
378
  const endpoint = await getInstanceMetadataEndpoint();
380
379
  if (disableFetchToken) {
381
- logger == null ? void 0 : logger.debug("AWS SDK Instance Metadata", "using v1 fallback (no token fetch)");
380
+ logger?.debug("AWS SDK Instance Metadata", "using v1 fallback (no token fetch)");
382
381
  return getCredentials(maxRetries, { ...endpoint, timeout });
383
382
  } else {
384
383
  let token;
385
384
  try {
386
385
  token = (await getMetadataToken({ ...endpoint, timeout })).toString();
387
386
  } catch (error) {
388
- if ((error == null ? void 0 : error.statusCode) === 400) {
387
+ if (error?.statusCode === 400) {
389
388
  throw Object.assign(error, {
390
389
  message: "EC2 Metadata token request returned error"
391
390
  });
392
391
  } else if (error.message === "TimeoutError" || [403, 404, 405].includes(error.statusCode)) {
393
392
  disableFetchToken = true;
394
393
  }
395
- logger == null ? void 0 : logger.debug("AWS SDK Instance Metadata", "using v1 fallback (initial)");
394
+ logger?.debug("AWS SDK Instance Metadata", "using v1 fallback (initial)");
396
395
  return getCredentials(maxRetries, { ...endpoint, timeout });
397
396
  }
398
397
  return getCredentials(maxRetries, {
@@ -1,5 +1,6 @@
1
1
  /// <reference types="node" />
2
2
  /// <reference types="node" />
3
+ /// <reference types="node" />
3
4
  import { Buffer } from "buffer";
4
5
  import { RequestOptions } from "http";
5
6
  /**
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smithy/credential-provider-imds",
3
- "version": "3.2.8",
3
+ "version": "4.0.0",
4
4
  "description": "AWS credential provider that sources credentials from the EC2 instance metadata service and ECS container metadata service",
5
5
  "main": "./dist-cjs/index.js",
6
6
  "module": "./dist-es/index.js",
@@ -27,14 +27,14 @@
27
27
  },
28
28
  "license": "Apache-2.0",
29
29
  "dependencies": {
30
- "@smithy/node-config-provider": "^3.1.12",
31
- "@smithy/property-provider": "^3.1.11",
32
- "@smithy/types": "^3.7.2",
33
- "@smithy/url-parser": "^3.0.11",
30
+ "@smithy/node-config-provider": "^4.0.0",
31
+ "@smithy/property-provider": "^4.0.0",
32
+ "@smithy/types": "^4.0.0",
33
+ "@smithy/url-parser": "^4.0.0",
34
34
  "tslib": "^2.6.2"
35
35
  },
36
36
  "devDependencies": {
37
- "@types/node": "^16.18.96",
37
+ "@types/node": "^18.11.9",
38
38
  "concurrently": "7.0.0",
39
39
  "downlevel-dts": "0.10.1",
40
40
  "rimraf": "3.0.2",
@@ -42,7 +42,7 @@
42
42
  },
43
43
  "types": "./dist-types/index.d.ts",
44
44
  "engines": {
45
- "node": ">=16.0.0"
45
+ "node": ">=18.0.0"
46
46
  },
47
47
  "typesVersions": {
48
48
  "<4.0": {