@cdklabs/cdk-construct-connect-datalake 0.0.6 → 0.0.7

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 (335) hide show
  1. package/.jsii +8 -8
  2. package/lib/index.js +1 -1
  3. package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/endpoint/bdd.js +52 -0
  4. package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/endpoint/endpointResolver.js +2 -2
  5. package/node_modules/@aws-sdk/client-cloudformation/dist-es/endpoint/bdd.js +49 -0
  6. package/node_modules/@aws-sdk/client-cloudformation/dist-es/endpoint/endpointResolver.js +3 -3
  7. package/node_modules/@aws-sdk/client-cloudformation/dist-types/endpoint/bdd.d.ts +2 -0
  8. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/endpoint/bdd.d.ts +2 -0
  9. package/node_modules/@aws-sdk/client-cloudformation/package.json +18 -18
  10. package/node_modules/@aws-sdk/client-connect/README.md +21 -0
  11. package/node_modules/@aws-sdk/client-connect/dist-cjs/endpoint/bdd.js +52 -0
  12. package/node_modules/@aws-sdk/client-connect/dist-cjs/endpoint/endpointResolver.js +2 -2
  13. package/node_modules/@aws-sdk/client-connect/dist-cjs/index.js +53 -0
  14. package/node_modules/@aws-sdk/client-connect/dist-cjs/schemas/schemas_0.js +130 -45
  15. package/node_modules/@aws-sdk/client-connect/dist-es/Connect.js +8 -0
  16. package/node_modules/@aws-sdk/client-connect/dist-es/commands/DescribeAttachedFilesConfigurationCommand.js +16 -0
  17. package/node_modules/@aws-sdk/client-connect/dist-es/commands/ListAttachedFilesConfigurationsCommand.js +16 -0
  18. package/node_modules/@aws-sdk/client-connect/dist-es/commands/UpdateAttachedFilesConfigurationCommand.js +16 -0
  19. package/node_modules/@aws-sdk/client-connect/dist-es/commands/index.js +3 -0
  20. package/node_modules/@aws-sdk/client-connect/dist-es/endpoint/bdd.js +49 -0
  21. package/node_modules/@aws-sdk/client-connect/dist-es/endpoint/endpointResolver.js +3 -3
  22. package/node_modules/@aws-sdk/client-connect/dist-es/models/enums.js +6 -0
  23. package/node_modules/@aws-sdk/client-connect/dist-es/pagination/ListAttachedFilesConfigurationsPaginator.js +4 -0
  24. package/node_modules/@aws-sdk/client-connect/dist-es/pagination/index.js +1 -0
  25. package/node_modules/@aws-sdk/client-connect/dist-es/schemas/schemas_0.js +99 -14
  26. package/node_modules/@aws-sdk/client-connect/dist-types/Connect.d.ts +28 -0
  27. package/node_modules/@aws-sdk/client-connect/dist-types/ConnectClient.d.ts +5 -2
  28. package/node_modules/@aws-sdk/client-connect/dist-types/commands/DescribeAttachedFilesConfigurationCommand.d.ts +103 -0
  29. package/node_modules/@aws-sdk/client-connect/dist-types/commands/GetPromptFileCommand.d.ts +1 -1
  30. package/node_modules/@aws-sdk/client-connect/dist-types/commands/GetTaskTemplateCommand.d.ts +1 -1
  31. package/node_modules/@aws-sdk/client-connect/dist-types/commands/GetTestCaseExecutionSummaryCommand.d.ts +1 -2
  32. package/node_modules/@aws-sdk/client-connect/dist-types/commands/ListAttachedFilesConfigurationsCommand.d.ts +106 -0
  33. package/node_modules/@aws-sdk/client-connect/dist-types/commands/SearchQuickConnectsCommand.d.ts +1 -2
  34. package/node_modules/@aws-sdk/client-connect/dist-types/commands/SearchResourceTagsCommand.d.ts +1 -1
  35. package/node_modules/@aws-sdk/client-connect/dist-types/commands/UpdateAttachedFilesConfigurationCommand.d.ts +109 -0
  36. package/node_modules/@aws-sdk/client-connect/dist-types/commands/index.d.ts +3 -0
  37. package/node_modules/@aws-sdk/client-connect/dist-types/endpoint/bdd.d.ts +2 -0
  38. package/node_modules/@aws-sdk/client-connect/dist-types/models/enums.d.ts +14 -0
  39. package/node_modules/@aws-sdk/client-connect/dist-types/models/models_0.d.ts +11 -11
  40. package/node_modules/@aws-sdk/client-connect/dist-types/models/models_1.d.ts +80 -155
  41. package/node_modules/@aws-sdk/client-connect/dist-types/models/models_2.d.ts +218 -199
  42. package/node_modules/@aws-sdk/client-connect/dist-types/models/models_3.d.ts +254 -3
  43. package/node_modules/@aws-sdk/client-connect/dist-types/pagination/ListAttachedFilesConfigurationsPaginator.d.ts +7 -0
  44. package/node_modules/@aws-sdk/client-connect/dist-types/pagination/index.d.ts +1 -0
  45. package/node_modules/@aws-sdk/client-connect/dist-types/schemas/schemas_0.d.ts +13 -0
  46. package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/Connect.d.ts +64 -0
  47. package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/ConnectClient.d.ts +18 -0
  48. package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/commands/DescribeAttachedFilesConfigurationCommand.d.ts +51 -0
  49. package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/commands/GetPromptFileCommand.d.ts +1 -1
  50. package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/commands/GetTaskTemplateCommand.d.ts +1 -1
  51. package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/commands/GetTestCaseExecutionSummaryCommand.d.ts +4 -2
  52. package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/commands/ListAttachedFilesConfigurationsCommand.d.ts +51 -0
  53. package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/commands/SearchQuickConnectsCommand.d.ts +4 -2
  54. package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/commands/SearchResourceTagsCommand.d.ts +1 -1
  55. package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/commands/UpdateAttachedFilesConfigurationCommand.d.ts +51 -0
  56. package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/commands/index.d.ts +3 -0
  57. package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/endpoint/bdd.d.ts +2 -0
  58. package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/models/enums.d.ts +8 -0
  59. package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/models/models_0.d.ts +3 -3
  60. package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/models/models_1.d.ts +23 -40
  61. package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/models/models_2.d.ts +55 -37
  62. package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/models/models_3.d.ts +52 -2
  63. package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/pagination/ListAttachedFilesConfigurationsPaginator.d.ts +11 -0
  64. package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/pagination/index.d.ts +1 -0
  65. package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/schemas/schemas_0.d.ts +13 -0
  66. package/node_modules/@aws-sdk/client-connect/package.json +18 -18
  67. package/node_modules/@aws-sdk/client-glue/dist-cjs/endpoint/bdd.js +49 -0
  68. package/node_modules/@aws-sdk/client-glue/dist-cjs/endpoint/endpointResolver.js +2 -2
  69. package/node_modules/@aws-sdk/client-glue/dist-es/endpoint/bdd.js +46 -0
  70. package/node_modules/@aws-sdk/client-glue/dist-es/endpoint/endpointResolver.js +3 -3
  71. package/node_modules/@aws-sdk/client-glue/dist-types/endpoint/bdd.d.ts +2 -0
  72. package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/endpoint/bdd.d.ts +2 -0
  73. package/node_modules/@aws-sdk/client-glue/package.json +18 -18
  74. package/node_modules/@aws-sdk/client-lakeformation/dist-cjs/endpoint/bdd.js +49 -0
  75. package/node_modules/@aws-sdk/client-lakeformation/dist-cjs/endpoint/endpointResolver.js +2 -2
  76. package/node_modules/@aws-sdk/client-lakeformation/dist-es/endpoint/bdd.js +46 -0
  77. package/node_modules/@aws-sdk/client-lakeformation/dist-es/endpoint/endpointResolver.js +3 -3
  78. package/node_modules/@aws-sdk/client-lakeformation/dist-types/endpoint/bdd.d.ts +2 -0
  79. package/node_modules/@aws-sdk/client-lakeformation/dist-types/ts3.4/endpoint/bdd.d.ts +2 -0
  80. package/node_modules/@aws-sdk/client-lakeformation/package.json +19 -19
  81. package/node_modules/@aws-sdk/client-ram/dist-cjs/endpoint/bdd.js +52 -0
  82. package/node_modules/@aws-sdk/client-ram/dist-cjs/endpoint/endpointResolver.js +2 -2
  83. package/node_modules/@aws-sdk/client-ram/dist-es/endpoint/bdd.js +49 -0
  84. package/node_modules/@aws-sdk/client-ram/dist-es/endpoint/endpointResolver.js +3 -3
  85. package/node_modules/@aws-sdk/client-ram/dist-types/endpoint/bdd.d.ts +2 -0
  86. package/node_modules/@aws-sdk/client-ram/dist-types/ts3.4/endpoint/bdd.d.ts +2 -0
  87. package/node_modules/@aws-sdk/client-ram/package.json +18 -18
  88. package/node_modules/@aws-sdk/client-sts/dist-cjs/endpoint/bdd.js +88 -0
  89. package/node_modules/@aws-sdk/client-sts/dist-cjs/endpoint/endpointResolver.js +2 -2
  90. package/node_modules/@aws-sdk/client-sts/dist-cjs/models/errors.js +1 -0
  91. package/node_modules/@aws-sdk/client-sts/dist-es/endpoint/bdd.js +85 -0
  92. package/node_modules/@aws-sdk/client-sts/dist-es/endpoint/endpointResolver.js +3 -3
  93. package/node_modules/@aws-sdk/client-sts/dist-es/models/errors.js +1 -0
  94. package/node_modules/@aws-sdk/client-sts/dist-types/endpoint/bdd.d.ts +2 -0
  95. package/node_modules/@aws-sdk/client-sts/dist-types/models/errors.d.ts +1 -0
  96. package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/endpoint/bdd.d.ts +2 -0
  97. package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/models/errors.d.ts +1 -0
  98. package/node_modules/@aws-sdk/client-sts/package.json +20 -20
  99. package/node_modules/@aws-sdk/core/dist-cjs/index.js +20 -11
  100. package/node_modules/@aws-sdk/core/dist-cjs/submodules/client/index.js +3 -0
  101. package/node_modules/@aws-sdk/core/dist-cjs/submodules/protocols/index.js +18 -11
  102. package/node_modules/@aws-sdk/core/dist-es/submodules/client/setFeature.js +2 -0
  103. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/JsonShapeDeserializer.js +6 -4
  104. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/JsonShapeSerializer.js +6 -3
  105. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/experimental/SinglePassJsonShapeSerializer.js +2 -1
  106. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/query/QueryShapeSerializer.js +2 -1
  107. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/xml/AwsRestXmlProtocol.js +0 -1
  108. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/xml/XmlShapeSerializer.js +4 -2
  109. package/node_modules/@aws-sdk/core/dist-types/submodules/client/setFeature.d.ts +1 -1
  110. package/node_modules/@aws-sdk/core/package.json +7 -5
  111. package/node_modules/@aws-sdk/credential-provider-env/package.json +2 -2
  112. package/node_modules/@aws-sdk/credential-provider-http/package.json +5 -5
  113. package/node_modules/@aws-sdk/credential-provider-ini/package.json +9 -9
  114. package/node_modules/@aws-sdk/credential-provider-login/package.json +3 -3
  115. package/node_modules/@aws-sdk/credential-provider-node/package.json +7 -7
  116. package/node_modules/@aws-sdk/credential-provider-process/package.json +2 -2
  117. package/node_modules/@aws-sdk/credential-provider-sso/package.json +4 -4
  118. package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +3 -3
  119. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-cjs/index.js +9 -25
  120. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-cjs/toStream.browser.js +11 -0
  121. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-cjs/toStream.js +7 -0
  122. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/throw-200-exceptions.js +9 -25
  123. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/toStream.browser.js +8 -0
  124. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/toStream.js +4 -0
  125. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/throw-200-exceptions.d.ts +2 -1
  126. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/toStream.browser.d.ts +4 -0
  127. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/toStream.d.ts +5 -0
  128. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/throw-200-exceptions.d.ts +2 -0
  129. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/toStream.browser.d.ts +1 -0
  130. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/toStream.d.ts +2 -0
  131. package/node_modules/@aws-sdk/middleware-sdk-s3/package.json +15 -8
  132. package/node_modules/@aws-sdk/middleware-user-agent/package.json +5 -5
  133. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/cognito-identity/endpoint/bdd.js +100 -0
  134. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/cognito-identity/endpoint/endpointResolver.js +2 -2
  135. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/endpoint/bdd.js +90 -0
  136. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/endpoint/endpointResolver.js +2 -2
  137. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/endpoint/bdd.js +80 -0
  138. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/endpoint/endpointResolver.js +2 -2
  139. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/endpoint/bdd.js +80 -0
  140. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/endpoint/endpointResolver.js +2 -2
  141. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/STSClient.js +1 -0
  142. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/auth/httpAuthSchemeProvider.js +87 -5
  143. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/endpoint/bdd.js +150 -0
  144. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/endpoint/endpointResolver.js +2 -2
  145. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/models/errors.js +1 -0
  146. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/runtimeConfig.js +6 -0
  147. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/runtimeConfig.shared.js +7 -0
  148. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/endpoint/bdd.js +97 -0
  149. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/endpoint/endpointResolver.js +3 -3
  150. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/endpoint/bdd.js +87 -0
  151. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/endpoint/endpointResolver.js +3 -3
  152. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/endpoint/bdd.js +77 -0
  153. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/endpoint/endpointResolver.js +3 -3
  154. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/endpoint/bdd.js +77 -0
  155. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/endpoint/endpointResolver.js +3 -3
  156. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/STSClient.js +1 -0
  157. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/auth/httpAuthSchemeProvider.js +88 -4
  158. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/endpoint/bdd.js +147 -0
  159. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/endpoint/endpointResolver.js +3 -3
  160. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/models/errors.js +1 -0
  161. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/runtimeConfig.js +7 -1
  162. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/runtimeConfig.shared.js +8 -1
  163. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/endpoint/bdd.d.ts +2 -0
  164. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/endpoint/bdd.d.ts +2 -0
  165. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/endpoint/bdd.d.ts +2 -0
  166. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/endpoint/bdd.d.ts +2 -0
  167. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/auth/httpAuthSchemeProvider.d.ts +15 -7
  168. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/endpoint/bdd.d.ts +2 -0
  169. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/models/errors.d.ts +1 -0
  170. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/runtimeConfig.browser.d.ts +3 -2
  171. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/runtimeConfig.d.ts +10 -4
  172. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/runtimeConfig.native.d.ts +3 -2
  173. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/runtimeConfig.shared.d.ts +3 -1
  174. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/endpoint/bdd.d.ts +2 -0
  175. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/endpoint/bdd.d.ts +2 -0
  176. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/endpoint/bdd.d.ts +2 -0
  177. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/endpoint/bdd.d.ts +2 -0
  178. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/auth/httpAuthSchemeProvider.d.ts +20 -9
  179. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/endpoint/bdd.d.ts +2 -0
  180. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/models/errors.d.ts +1 -0
  181. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/runtimeConfig.browser.d.ts +11 -5
  182. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/runtimeConfig.d.ts +35 -16
  183. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/runtimeConfig.native.d.ts +11 -5
  184. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/runtimeConfig.shared.d.ts +8 -1
  185. package/node_modules/@aws-sdk/nested-clients/package.json +18 -17
  186. package/node_modules/@aws-sdk/region-config-resolver/package.json +2 -2
  187. package/node_modules/@aws-sdk/signature-v4-multi-region/package.json +2 -2
  188. package/node_modules/@aws-sdk/token-providers/package.json +3 -3
  189. package/node_modules/@aws-sdk/util-endpoints/package.json +2 -2
  190. package/node_modules/@aws-sdk/util-user-agent-node/package.json +2 -2
  191. package/node_modules/@aws-sdk/xml-builder/dist-cjs/xml-parser.js +0 -2
  192. package/node_modules/@aws-sdk/xml-builder/dist-es/xml-parser.js +0 -2
  193. package/node_modules/@aws-sdk/xml-builder/package.json +2 -2
  194. package/node_modules/@nodable/entities/README.md +41 -0
  195. package/node_modules/@nodable/entities/package.json +54 -0
  196. package/node_modules/@nodable/entities/src/EntityDecoder.js +543 -0
  197. package/node_modules/@nodable/entities/src/EntityEncoder.js +194 -0
  198. package/node_modules/@nodable/entities/src/entities.js +1177 -0
  199. package/node_modules/@nodable/entities/src/entityTries.js +49 -0
  200. package/node_modules/@nodable/entities/src/index.d.ts +264 -0
  201. package/node_modules/@nodable/entities/src/index.js +29 -0
  202. package/node_modules/@smithy/core/package.json +2 -2
  203. package/node_modules/@smithy/middleware-endpoint/package.json +3 -3
  204. package/node_modules/@smithy/middleware-retry/package.json +5 -5
  205. package/node_modules/@smithy/middleware-serde/package.json +2 -2
  206. package/node_modules/@smithy/node-http-handler/dist-cjs/index.js +27 -16
  207. package/node_modules/@smithy/node-http-handler/dist-es/http2/ClientHttp2SessionRef.js +5 -0
  208. package/node_modules/@smithy/node-http-handler/dist-es/node-http2-connection-manager.js +22 -16
  209. package/node_modules/@smithy/node-http-handler/dist-types/http2/ClientHttp2SessionRef.d.ts +4 -0
  210. package/node_modules/@smithy/node-http-handler/dist-types/node-http2-connection-manager.d.ts +2 -4
  211. package/node_modules/@smithy/node-http-handler/package.json +1 -1
  212. package/node_modules/@smithy/service-error-classification/dist-cjs/index.js +1 -0
  213. package/node_modules/@smithy/service-error-classification/dist-es/index.js +1 -0
  214. package/node_modules/@smithy/service-error-classification/package.json +1 -1
  215. package/node_modules/@smithy/smithy-client/package.json +4 -4
  216. package/node_modules/@smithy/util-defaults-mode-browser/package.json +2 -2
  217. package/node_modules/@smithy/util-defaults-mode-node/package.json +2 -2
  218. package/node_modules/@smithy/util-retry/dist-cjs/index.js +20 -10
  219. package/node_modules/@smithy/util-retry/dist-es/StandardRetryStrategy.js +20 -10
  220. package/node_modules/@smithy/util-retry/dist-types/StandardRetryStrategy.d.ts +12 -4
  221. package/node_modules/@smithy/util-retry/package.json +2 -2
  222. package/node_modules/@smithy/util-stream/package.json +2 -2
  223. package/node_modules/@smithy/util-waiter/dist-cjs/index.js +59 -34
  224. package/node_modules/@smithy/util-waiter/dist-es/poller.js +61 -34
  225. package/node_modules/@smithy/util-waiter/dist-types/createWaiter.d.ts +1 -1
  226. package/node_modules/@smithy/util-waiter/dist-types/poller.d.ts +2 -1
  227. package/node_modules/@smithy/util-waiter/dist-types/waiter.d.ts +13 -13
  228. package/node_modules/@smithy/util-waiter/package.json +1 -1
  229. package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/CHANGELOG.md +53 -0
  230. package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/README.md +8 -28
  231. package/node_modules/fast-xml-parser/lib/fxbuilder.min.js +2 -0
  232. package/node_modules/fast-xml-parser/lib/fxbuilder.min.js.map +1 -0
  233. package/node_modules/fast-xml-parser/lib/fxp.cjs +1 -0
  234. package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/lib/fxp.d.cts +172 -6
  235. package/node_modules/fast-xml-parser/lib/fxp.min.js +2 -0
  236. package/node_modules/fast-xml-parser/lib/fxp.min.js.map +1 -0
  237. package/node_modules/fast-xml-parser/lib/fxparser.min.js +2 -0
  238. package/node_modules/fast-xml-parser/lib/fxparser.min.js.map +1 -0
  239. package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/package.json +5 -4
  240. package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/fxp.d.ts +162 -3
  241. package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/xmlparser/DocTypeReader.js +2 -5
  242. package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/xmlparser/OptionsBuilder.js +15 -11
  243. package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/xmlparser/OrderedObjParser.js +168 -244
  244. package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/xmlparser/XMLParser.js +1 -1
  245. package/package.json +8 -8
  246. package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/endpoint/ruleset.js +0 -7
  247. package/node_modules/@aws-sdk/client-cloudformation/dist-es/endpoint/ruleset.js +0 -4
  248. package/node_modules/@aws-sdk/client-cloudformation/dist-types/endpoint/ruleset.d.ts +0 -2
  249. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/endpoint/ruleset.d.ts +0 -2
  250. package/node_modules/@aws-sdk/client-connect/dist-cjs/endpoint/ruleset.js +0 -7
  251. package/node_modules/@aws-sdk/client-connect/dist-es/endpoint/ruleset.js +0 -4
  252. package/node_modules/@aws-sdk/client-connect/dist-types/endpoint/ruleset.d.ts +0 -2
  253. package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/endpoint/ruleset.d.ts +0 -2
  254. package/node_modules/@aws-sdk/client-glue/dist-cjs/endpoint/ruleset.js +0 -7
  255. package/node_modules/@aws-sdk/client-glue/dist-es/endpoint/ruleset.js +0 -4
  256. package/node_modules/@aws-sdk/client-glue/dist-types/endpoint/ruleset.d.ts +0 -2
  257. package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/endpoint/ruleset.d.ts +0 -2
  258. package/node_modules/@aws-sdk/client-lakeformation/dist-cjs/endpoint/ruleset.js +0 -7
  259. package/node_modules/@aws-sdk/client-lakeformation/dist-es/endpoint/ruleset.js +0 -4
  260. package/node_modules/@aws-sdk/client-lakeformation/dist-types/endpoint/ruleset.d.ts +0 -2
  261. package/node_modules/@aws-sdk/client-lakeformation/dist-types/ts3.4/endpoint/ruleset.d.ts +0 -2
  262. package/node_modules/@aws-sdk/client-ram/dist-cjs/endpoint/ruleset.js +0 -7
  263. package/node_modules/@aws-sdk/client-ram/dist-es/endpoint/ruleset.js +0 -4
  264. package/node_modules/@aws-sdk/client-ram/dist-types/endpoint/ruleset.d.ts +0 -2
  265. package/node_modules/@aws-sdk/client-ram/dist-types/ts3.4/endpoint/ruleset.d.ts +0 -2
  266. package/node_modules/@aws-sdk/client-sts/dist-cjs/endpoint/ruleset.js +0 -7
  267. package/node_modules/@aws-sdk/client-sts/dist-es/endpoint/ruleset.js +0 -4
  268. package/node_modules/@aws-sdk/client-sts/dist-types/endpoint/ruleset.d.ts +0 -2
  269. package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/endpoint/ruleset.d.ts +0 -2
  270. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/cognito-identity/endpoint/ruleset.js +0 -146
  271. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/endpoint/ruleset.js +0 -133
  272. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/endpoint/ruleset.js +0 -106
  273. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/endpoint/ruleset.js +0 -106
  274. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/endpoint/ruleset.js +0 -145
  275. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/endpoint/ruleset.js +0 -143
  276. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/endpoint/ruleset.js +0 -130
  277. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/endpoint/ruleset.js +0 -103
  278. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/endpoint/ruleset.js +0 -103
  279. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/endpoint/ruleset.js +0 -142
  280. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/endpoint/ruleset.d.ts +0 -2
  281. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/endpoint/ruleset.d.ts +0 -2
  282. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/endpoint/ruleset.d.ts +0 -2
  283. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/endpoint/ruleset.d.ts +0 -2
  284. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/endpoint/ruleset.d.ts +0 -2
  285. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/endpoint/ruleset.d.ts +0 -2
  286. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/endpoint/ruleset.d.ts +0 -2
  287. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/endpoint/ruleset.d.ts +0 -2
  288. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/endpoint/ruleset.d.ts +0 -2
  289. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/endpoint/ruleset.d.ts +0 -2
  290. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/lib/fxbuilder.min.js +0 -2
  291. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/lib/fxbuilder.min.js.map +0 -1
  292. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/lib/fxp.cjs +0 -1
  293. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/lib/fxp.min.js +0 -2
  294. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/lib/fxp.min.js.map +0 -1
  295. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/lib/fxparser.min.js +0 -2
  296. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/lib/fxparser.min.js.map +0 -1
  297. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/lib/pem.d.cts +0 -148
  298. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/pem.d.ts +0 -135
  299. /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/LICENSE +0 -0
  300. /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/lib/fxvalidator.min.js +0 -0
  301. /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/lib/fxvalidator.min.js.map +0 -0
  302. /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/cli/cli.js +0 -0
  303. /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/cli/man.js +0 -0
  304. /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/cli/read.js +0 -0
  305. /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/fxp.js +0 -0
  306. /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/ignoreAttributes.js +0 -0
  307. /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/util.js +0 -0
  308. /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/v6/CharsSymbol.js +0 -0
  309. /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/v6/EntitiesParser.js +0 -0
  310. /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/v6/OptionsBuilder.js +0 -0
  311. /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/v6/OutputBuilders/BaseOutputBuilder.js +0 -0
  312. /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/v6/OutputBuilders/JsArrBuilder.js +0 -0
  313. /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/v6/OutputBuilders/JsMinArrBuilder.js +0 -0
  314. /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/v6/OutputBuilders/JsObjBuilder.js +0 -0
  315. /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/v6/OutputBuilders/ParserOptionsBuilder.js +0 -0
  316. /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/v6/Report.js +0 -0
  317. /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/v6/TagPath.js +0 -0
  318. /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/v6/TagPathMatcher.js +0 -0
  319. /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/v6/XMLParser.js +0 -0
  320. /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/v6/Xml2JsParser.js +0 -0
  321. /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/v6/XmlPartReader.js +0 -0
  322. /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/v6/XmlSpecialTagsReader.js +0 -0
  323. /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/v6/inputSource/BufferSource.js +0 -0
  324. /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/v6/inputSource/StringSource.js +0 -0
  325. /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/v6/valueParsers/EntitiesParser.js +0 -0
  326. /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/v6/valueParsers/booleanParser.js +0 -0
  327. /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/v6/valueParsers/booleanParserExt.js +0 -0
  328. /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/v6/valueParsers/currency.js +0 -0
  329. /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/v6/valueParsers/join.js +0 -0
  330. /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/v6/valueParsers/number.js +0 -0
  331. /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/v6/valueParsers/trim.js +0 -0
  332. /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/validator.js +0 -0
  333. /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/xmlbuilder/json2xml.js +0 -0
  334. /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/xmlparser/node2json.js +0 -0
  335. /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/xmlparser/xmlNode.js +0 -0
@@ -52,7 +52,8 @@ export class JsonShapeDeserializer extends SerdeContextConfig {
52
52
  unionSerde.writeUnknown();
53
53
  }
54
54
  else if (typeof record.__type === "string") {
55
- for (const [k, v] of Object.entries(record)) {
55
+ for (const k in record) {
56
+ const v = record[k];
56
57
  const t = jsonName ? nameMap[k] ?? k : k;
57
58
  if (!(t in out)) {
58
59
  out[t] = v;
@@ -72,8 +73,8 @@ export class JsonShapeDeserializer extends SerdeContextConfig {
72
73
  if (ns.isMapSchema()) {
73
74
  const mapMember = ns.getValueSchema();
74
75
  const out = {};
75
- for (const [_k, _v] of Object.entries(value)) {
76
- out[_k] = this._read(mapMember, _v);
76
+ for (const _k in value) {
77
+ out[_k] = this._read(mapMember, value[_k]);
77
78
  }
78
79
  return out;
79
80
  }
@@ -130,7 +131,8 @@ export class JsonShapeDeserializer extends SerdeContextConfig {
130
131
  if (ns.isDocumentSchema()) {
131
132
  if (isObject) {
132
133
  const out = Array.isArray(value) ? [] : {};
133
- for (const [k, v] of Object.entries(value)) {
134
+ for (const k in value) {
135
+ const v = value[k];
134
136
  if (v instanceof NumericValue) {
135
137
  out[k] = v;
136
138
  }
@@ -69,7 +69,8 @@ export class JsonShapeSerializer extends SerdeContextConfig {
69
69
  }
70
70
  }
71
71
  else if (typeof record.__type === "string") {
72
- for (const [k, v] of Object.entries(record)) {
72
+ for (const k in record) {
73
+ const v = record[k];
73
74
  const targetKey = jsonName ? nameMap[k] ?? k : k;
74
75
  if (!(targetKey in out)) {
75
76
  out[targetKey] = this._write(15, v);
@@ -93,7 +94,8 @@ export class JsonShapeSerializer extends SerdeContextConfig {
93
94
  const mapMember = ns.getValueSchema();
94
95
  const out = {};
95
96
  const sparse = !!ns.getMergedTraits().sparse;
96
- for (const [_k, _v] of Object.entries(value)) {
97
+ for (const _k in value) {
98
+ const _v = value[_k];
97
99
  if (sparse || _v != null) {
98
100
  out[_k] = this._write(mapMember, _v);
99
101
  }
@@ -158,7 +160,8 @@ export class JsonShapeSerializer extends SerdeContextConfig {
158
160
  if (ns.isDocumentSchema()) {
159
161
  if (isObject) {
160
162
  const out = Array.isArray(value) ? [] : {};
161
- for (const [k, v] of Object.entries(value)) {
163
+ for (const k in value) {
164
+ const v = value[k];
162
165
  if (v instanceof NumericValue) {
163
166
  this.useReplacer = true;
164
167
  out[k] = v;
@@ -65,7 +65,8 @@ export class SinglePassJsonShapeSerializer extends SerdeContextConfig {
65
65
  }
66
66
  else if (ns.isMapSchema() || ns.isDocumentSchema()) {
67
67
  b += "{";
68
- for (const [k, v] of Object.entries(value)) {
68
+ for (const k in value) {
69
+ const v = value[k];
69
70
  if (v != null || sparse) {
70
71
  b += `"${k}":${this.writeValue(ns, v)}`;
71
72
  b += ",";
@@ -113,7 +113,8 @@ export class QueryShapeSerializer extends SerdeContextConfig {
113
113
  const memberSchema = ns.getValueSchema();
114
114
  const flat = ns.getMergedTraits().xmlFlattened;
115
115
  let i = 1;
116
- for (const [k, v] of Object.entries(value)) {
116
+ for (const k in value) {
117
+ const v = value[k];
117
118
  if (v == null) {
118
119
  continue;
119
120
  }
@@ -22,7 +22,6 @@ export class AwsRestXmlProtocol extends HttpBindingProtocol {
22
22
  this.codec = new XmlCodec(settings);
23
23
  this.serializer = new HttpInterceptingShapeSerializer(this.codec.createSerializer(), settings);
24
24
  this.deserializer = new HttpInterceptingShapeDeserializer(this.codec.createDeserializer(), settings);
25
- this.compositeErrorRegistry;
26
25
  }
27
26
  getPayloadCodec() {
28
27
  return this.codec;
@@ -191,7 +191,8 @@ export class XmlShapeSerializer extends SerdeContextConfig {
191
191
  entry.addChildNode(valueNode);
192
192
  };
193
193
  if (flat) {
194
- for (const [key, val] of Object.entries(map)) {
194
+ for (const key in map) {
195
+ const val = map[key];
195
196
  if (sparse || val != null) {
196
197
  const entry = XmlNode.of(mapTraits.xmlName ?? mapMember.getMemberName());
197
198
  addKeyValue(entry, key, val);
@@ -208,7 +209,8 @@ export class XmlShapeSerializer extends SerdeContextConfig {
208
209
  }
209
210
  container.addChildNode(mapNode);
210
211
  }
211
- for (const [key, val] of Object.entries(map)) {
212
+ for (const key in map) {
213
+ const val = map[key];
212
214
  if (sparse || val != null) {
213
215
  const entry = XmlNode.of("entry");
214
216
  addKeyValue(entry, key, val);
@@ -1,7 +1,7 @@
1
1
  import type { AwsHandlerExecutionContext, AwsSdkFeatures } from "@aws-sdk/types";
2
2
  /**
3
- * @internal
4
3
  * Indicates to the request context that a given feature is active.
4
+ * @internal
5
5
  *
6
6
  * @param context - handler execution context.
7
7
  * @param feature - readable name of feature.
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/core",
3
- "version": "3.974.1",
3
+ "version": "3.974.5",
4
4
  "description": "Core functions & classes shared by multiple AWS SDK clients.",
5
5
  "scripts": {
6
6
  "build": "yarn lint && concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
@@ -12,9 +12,10 @@
12
12
  "lint": "node ../../scripts/validation/submodules-linter.js --pkg core",
13
13
  "clean": "premove dist-cjs dist-es dist-types tsconfig.cjs.tsbuildinfo tsconfig.es.tsbuildinfo tsconfig.types.tsbuildinfo",
14
14
  "extract:docs": "api-extractor run --local",
15
+ "test:temp:retry": "SMITHY_NEW_RETRIES_2026=true node ./integ/retry.integ.spec && AWS_NEW_RETRIES_2026=true node ./integ/retry.integ.spec && node ./integ/retry.integ.spec",
15
16
  "test": "yarn g:vitest run",
16
17
  "test:watch": "yarn g:vitest watch",
17
- "test:integration": "yarn g:vitest run -c vitest.config.integ.mts",
18
+ "test:integration": "yarn g:vitest run -c vitest.config.integ.mts && yarn test:temp:retry",
18
19
  "test:integration:watch": "yarn g:vitest watch -c vitest.config.integ.mts"
19
20
  },
20
21
  "main": "./dist-cjs/index.js",
@@ -82,16 +83,17 @@
82
83
  "license": "Apache-2.0",
83
84
  "dependencies": {
84
85
  "@aws-sdk/types": "^3.973.8",
85
- "@aws-sdk/xml-builder": "^3.972.18",
86
- "@smithy/core": "^3.23.15",
86
+ "@aws-sdk/xml-builder": "^3.972.19",
87
+ "@smithy/core": "^3.23.17",
87
88
  "@smithy/node-config-provider": "^4.3.14",
88
89
  "@smithy/property-provider": "^4.2.14",
89
90
  "@smithy/protocol-http": "^5.3.14",
90
91
  "@smithy/signature-v4": "^5.3.14",
91
- "@smithy/smithy-client": "^4.12.11",
92
+ "@smithy/smithy-client": "^4.12.13",
92
93
  "@smithy/types": "^4.14.1",
93
94
  "@smithy/util-base64": "^4.3.2",
94
95
  "@smithy/util-middleware": "^4.2.14",
96
+ "@smithy/util-retry": "^4.3.4",
95
97
  "@smithy/util-utf8": "^4.2.2",
96
98
  "tslib": "^2.6.2"
97
99
  },
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/credential-provider-env",
3
- "version": "3.972.27",
3
+ "version": "3.972.31",
4
4
  "description": "AWS credential provider that sources credentials from known environment variables",
5
5
  "main": "./dist-cjs/index.js",
6
6
  "module": "./dist-es/index.js",
@@ -26,7 +26,7 @@
26
26
  },
27
27
  "license": "Apache-2.0",
28
28
  "dependencies": {
29
- "@aws-sdk/core": "^3.974.1",
29
+ "@aws-sdk/core": "^3.974.5",
30
30
  "@aws-sdk/types": "^3.973.8",
31
31
  "@smithy/property-provider": "^4.2.14",
32
32
  "@smithy/types": "^4.14.1",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/credential-provider-http",
3
- "version": "3.972.29",
3
+ "version": "3.972.33",
4
4
  "description": "AWS credential provider for containers and HTTP sources",
5
5
  "main": "./dist-cjs/index.js",
6
6
  "module": "./dist-es/index.js",
@@ -28,15 +28,15 @@
28
28
  },
29
29
  "license": "Apache-2.0",
30
30
  "dependencies": {
31
- "@aws-sdk/core": "^3.974.1",
31
+ "@aws-sdk/core": "^3.974.5",
32
32
  "@aws-sdk/types": "^3.973.8",
33
33
  "@smithy/fetch-http-handler": "^5.3.17",
34
- "@smithy/node-http-handler": "^4.5.3",
34
+ "@smithy/node-http-handler": "^4.6.1",
35
35
  "@smithy/property-provider": "^4.2.14",
36
36
  "@smithy/protocol-http": "^5.3.14",
37
- "@smithy/smithy-client": "^4.12.11",
37
+ "@smithy/smithy-client": "^4.12.13",
38
38
  "@smithy/types": "^4.14.1",
39
- "@smithy/util-stream": "^4.5.23",
39
+ "@smithy/util-stream": "^4.5.25",
40
40
  "tslib": "^2.6.2"
41
41
  },
42
42
  "devDependencies": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/credential-provider-ini",
3
- "version": "3.972.31",
3
+ "version": "3.972.35",
4
4
  "description": "AWS credential provider that sources credentials from ~/.aws/credentials and ~/.aws/config",
5
5
  "main": "./dist-cjs/index.js",
6
6
  "module": "./dist-es/index.js",
@@ -28,14 +28,14 @@
28
28
  },
29
29
  "license": "Apache-2.0",
30
30
  "dependencies": {
31
- "@aws-sdk/core": "^3.974.1",
32
- "@aws-sdk/credential-provider-env": "^3.972.27",
33
- "@aws-sdk/credential-provider-http": "^3.972.29",
34
- "@aws-sdk/credential-provider-login": "^3.972.31",
35
- "@aws-sdk/credential-provider-process": "^3.972.27",
36
- "@aws-sdk/credential-provider-sso": "^3.972.31",
37
- "@aws-sdk/credential-provider-web-identity": "^3.972.31",
38
- "@aws-sdk/nested-clients": "^3.996.21",
31
+ "@aws-sdk/core": "^3.974.5",
32
+ "@aws-sdk/credential-provider-env": "^3.972.31",
33
+ "@aws-sdk/credential-provider-http": "^3.972.33",
34
+ "@aws-sdk/credential-provider-login": "^3.972.35",
35
+ "@aws-sdk/credential-provider-process": "^3.972.31",
36
+ "@aws-sdk/credential-provider-sso": "^3.972.35",
37
+ "@aws-sdk/credential-provider-web-identity": "^3.972.35",
38
+ "@aws-sdk/nested-clients": "^3.997.3",
39
39
  "@aws-sdk/types": "^3.973.8",
40
40
  "@smithy/credential-provider-imds": "^4.2.14",
41
41
  "@smithy/property-provider": "^4.2.14",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/credential-provider-login",
3
- "version": "3.972.31",
3
+ "version": "3.972.35",
4
4
  "description": "AWS credential provider that sources credentials from aws login cached tokens",
5
5
  "main": "./dist-cjs/index.js",
6
6
  "module": "./dist-es/index.js",
@@ -28,8 +28,8 @@
28
28
  },
29
29
  "license": "Apache-2.0",
30
30
  "dependencies": {
31
- "@aws-sdk/core": "^3.974.1",
32
- "@aws-sdk/nested-clients": "^3.996.21",
31
+ "@aws-sdk/core": "^3.974.5",
32
+ "@aws-sdk/nested-clients": "^3.997.3",
33
33
  "@aws-sdk/types": "^3.973.8",
34
34
  "@smithy/property-provider": "^4.2.14",
35
35
  "@smithy/protocol-http": "^5.3.14",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/credential-provider-node",
3
- "version": "3.972.32",
3
+ "version": "3.972.36",
4
4
  "description": "AWS credential provider that sources credentials from a Node.JS environment. ",
5
5
  "engines": {
6
6
  "node": ">=20.0.0"
@@ -31,12 +31,12 @@
31
31
  },
32
32
  "license": "Apache-2.0",
33
33
  "dependencies": {
34
- "@aws-sdk/credential-provider-env": "^3.972.27",
35
- "@aws-sdk/credential-provider-http": "^3.972.29",
36
- "@aws-sdk/credential-provider-ini": "^3.972.31",
37
- "@aws-sdk/credential-provider-process": "^3.972.27",
38
- "@aws-sdk/credential-provider-sso": "^3.972.31",
39
- "@aws-sdk/credential-provider-web-identity": "^3.972.31",
34
+ "@aws-sdk/credential-provider-env": "^3.972.31",
35
+ "@aws-sdk/credential-provider-http": "^3.972.33",
36
+ "@aws-sdk/credential-provider-ini": "^3.972.35",
37
+ "@aws-sdk/credential-provider-process": "^3.972.31",
38
+ "@aws-sdk/credential-provider-sso": "^3.972.35",
39
+ "@aws-sdk/credential-provider-web-identity": "^3.972.35",
40
40
  "@aws-sdk/types": "^3.973.8",
41
41
  "@smithy/credential-provider-imds": "^4.2.14",
42
42
  "@smithy/property-provider": "^4.2.14",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/credential-provider-process",
3
- "version": "3.972.27",
3
+ "version": "3.972.31",
4
4
  "description": "AWS credential provider that sources credential_process from ~/.aws/credentials and ~/.aws/config",
5
5
  "main": "./dist-cjs/index.js",
6
6
  "module": "./dist-es/index.js",
@@ -26,7 +26,7 @@
26
26
  },
27
27
  "license": "Apache-2.0",
28
28
  "dependencies": {
29
- "@aws-sdk/core": "^3.974.1",
29
+ "@aws-sdk/core": "^3.974.5",
30
30
  "@aws-sdk/types": "^3.973.8",
31
31
  "@smithy/property-provider": "^4.2.14",
32
32
  "@smithy/shared-ini-file-loader": "^4.4.9",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/credential-provider-sso",
3
- "version": "3.972.31",
3
+ "version": "3.972.35",
4
4
  "description": "AWS credential provider that exchanges a resolved SSO login token file for temporary AWS credentials",
5
5
  "main": "./dist-cjs/index.js",
6
6
  "module": "./dist-es/index.js",
@@ -26,9 +26,9 @@
26
26
  },
27
27
  "license": "Apache-2.0",
28
28
  "dependencies": {
29
- "@aws-sdk/core": "^3.974.1",
30
- "@aws-sdk/nested-clients": "^3.996.21",
31
- "@aws-sdk/token-providers": "3.1032.0",
29
+ "@aws-sdk/core": "^3.974.5",
30
+ "@aws-sdk/nested-clients": "^3.997.3",
31
+ "@aws-sdk/token-providers": "3.1036.0",
32
32
  "@aws-sdk/types": "^3.973.8",
33
33
  "@smithy/property-provider": "^4.2.14",
34
34
  "@smithy/shared-ini-file-loader": "^4.4.9",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/credential-provider-web-identity",
3
- "version": "3.972.31",
3
+ "version": "3.972.35",
4
4
  "description": "AWS credential provider that calls STS assumeRole for temporary AWS credentials",
5
5
  "main": "./dist-cjs/index.js",
6
6
  "module": "./dist-es/index.js",
@@ -34,8 +34,8 @@
34
34
  },
35
35
  "license": "Apache-2.0",
36
36
  "dependencies": {
37
- "@aws-sdk/core": "^3.974.1",
38
- "@aws-sdk/nested-clients": "^3.996.21",
37
+ "@aws-sdk/core": "^3.974.5",
38
+ "@aws-sdk/nested-clients": "^3.997.3",
39
39
  "@aws-sdk/types": "^3.973.8",
40
40
  "@smithy/property-provider": "^4.2.14",
41
41
  "@smithy/shared-ini-file-loader": "^4.4.9",
@@ -2,7 +2,7 @@
2
2
 
3
3
  var protocolHttp = require('@smithy/protocol-http');
4
4
  var smithyClient = require('@smithy/smithy-client');
5
- var utilStream = require('@smithy/util-stream');
5
+ var toStream = require('./toStream');
6
6
  var utilArnParser = require('@aws-sdk/util-arn-parser');
7
7
  var protocols = require('@aws-sdk/core/protocols');
8
8
  var schema = require('@smithy/core/schema');
@@ -419,45 +419,29 @@ const THROW_IF_EMPTY_BODY = {
419
419
  UploadPartCopyCommand: true,
420
420
  CompleteMultipartUploadCommand: true,
421
421
  };
422
- const MAX_BYTES_TO_INSPECT = 3000;
423
422
  const throw200ExceptionsMiddleware = (config) => (next, context) => async (args) => {
424
423
  const result = await next(args);
425
424
  const { response } = result;
426
425
  if (!protocolHttp.HttpResponse.isInstance(response)) {
427
426
  return result;
428
427
  }
429
- const { statusCode, body: sourceBody } = response;
428
+ const { statusCode, body } = response;
430
429
  if (statusCode < 200 || statusCode >= 300) {
431
430
  return result;
432
431
  }
433
- const isSplittableStream = typeof sourceBody?.stream === "function" ||
434
- typeof sourceBody?.pipe === "function" ||
435
- typeof sourceBody?.tee === "function";
436
- if (!isSplittableStream) {
437
- return result;
438
- }
439
- let bodyCopy = sourceBody;
440
- let body = sourceBody;
441
- if (sourceBody && typeof sourceBody === "object" && !(sourceBody instanceof Uint8Array)) {
442
- [bodyCopy, body] = await utilStream.splitStream(sourceBody);
443
- }
444
- response.body = body;
445
- const bodyBytes = await collectBody(bodyCopy, {
446
- streamCollector: async (stream) => {
447
- return utilStream.headStream(stream, MAX_BYTES_TO_INSPECT);
448
- },
449
- });
450
- if (typeof bodyCopy?.destroy === "function") {
451
- bodyCopy.destroy();
452
- }
453
- const bodyStringTail = config.utf8Encoder(bodyBytes.subarray(bodyBytes.length - 16));
432
+ const bodyBytes = await collectBody(body, config);
433
+ response.body = toStream.toStream(bodyBytes);
454
434
  if (bodyBytes.length === 0 && THROW_IF_EMPTY_BODY[context.commandName]) {
455
435
  const err = new Error("S3 aborted request");
436
+ err.$metadata = {
437
+ httpStatusCode: 503,
438
+ };
456
439
  err.name = "InternalError";
457
440
  throw err;
458
441
  }
442
+ const bodyStringTail = config.utf8Encoder(bodyBytes.subarray(bodyBytes.length - 16));
459
443
  if (bodyStringTail && bodyStringTail.endsWith("</Error>")) {
460
- response.statusCode = 400;
444
+ response.statusCode = 503;
461
445
  }
462
446
  return result;
463
447
  };
@@ -0,0 +1,11 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.toStream = toStream;
4
+ function toStream(bytes) {
5
+ return new ReadableStream({
6
+ start(controller) {
7
+ controller.enqueue(bytes);
8
+ controller.close();
9
+ },
10
+ });
11
+ }
@@ -0,0 +1,7 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.toStream = toStream;
4
+ const node_stream_1 = require("node:stream");
5
+ function toStream(bytes) {
6
+ return node_stream_1.Readable.from(Buffer.from(bytes));
7
+ }
@@ -1,49 +1,33 @@
1
1
  import { HttpResponse } from "@smithy/protocol-http";
2
- import { headStream, splitStream } from "@smithy/util-stream";
2
+ import { toStream } from "./toStream";
3
3
  const THROW_IF_EMPTY_BODY = {
4
4
  CopyObjectCommand: true,
5
5
  UploadPartCopyCommand: true,
6
6
  CompleteMultipartUploadCommand: true,
7
7
  };
8
- const MAX_BYTES_TO_INSPECT = 3000;
9
8
  export const throw200ExceptionsMiddleware = (config) => (next, context) => async (args) => {
10
9
  const result = await next(args);
11
10
  const { response } = result;
12
11
  if (!HttpResponse.isInstance(response)) {
13
12
  return result;
14
13
  }
15
- const { statusCode, body: sourceBody } = response;
14
+ const { statusCode, body } = response;
16
15
  if (statusCode < 200 || statusCode >= 300) {
17
16
  return result;
18
17
  }
19
- const isSplittableStream = typeof sourceBody?.stream === "function" ||
20
- typeof sourceBody?.pipe === "function" ||
21
- typeof sourceBody?.tee === "function";
22
- if (!isSplittableStream) {
23
- return result;
24
- }
25
- let bodyCopy = sourceBody;
26
- let body = sourceBody;
27
- if (sourceBody && typeof sourceBody === "object" && !(sourceBody instanceof Uint8Array)) {
28
- [bodyCopy, body] = await splitStream(sourceBody);
29
- }
30
- response.body = body;
31
- const bodyBytes = await collectBody(bodyCopy, {
32
- streamCollector: async (stream) => {
33
- return headStream(stream, MAX_BYTES_TO_INSPECT);
34
- },
35
- });
36
- if (typeof bodyCopy?.destroy === "function") {
37
- bodyCopy.destroy();
38
- }
39
- const bodyStringTail = config.utf8Encoder(bodyBytes.subarray(bodyBytes.length - 16));
18
+ const bodyBytes = await collectBody(body, config);
19
+ response.body = toStream(bodyBytes);
40
20
  if (bodyBytes.length === 0 && THROW_IF_EMPTY_BODY[context.commandName]) {
41
21
  const err = new Error("S3 aborted request");
22
+ err.$metadata = {
23
+ httpStatusCode: 503,
24
+ };
42
25
  err.name = "InternalError";
43
26
  throw err;
44
27
  }
28
+ const bodyStringTail = config.utf8Encoder(bodyBytes.subarray(bodyBytes.length - 16));
45
29
  if (bodyStringTail && bodyStringTail.endsWith("</Error>")) {
46
- response.statusCode = 400;
30
+ response.statusCode = 503;
47
31
  }
48
32
  return result;
49
33
  };
@@ -0,0 +1,8 @@
1
+ export function toStream(bytes) {
2
+ return new ReadableStream({
3
+ start(controller) {
4
+ controller.enqueue(bytes);
5
+ controller.close();
6
+ },
7
+ });
8
+ }
@@ -0,0 +1,4 @@
1
+ import { Readable } from "node:stream";
2
+ export function toStream(bytes) {
3
+ return Readable.from(Buffer.from(bytes));
4
+ }
@@ -1,5 +1,6 @@
1
- import type { DeserializeMiddleware, Encoder, Pluggable, RelativeMiddlewareOptions } from "@smithy/types";
1
+ import type { DeserializeMiddleware, Encoder, Pluggable, RelativeMiddlewareOptions, StreamCollector } from "@smithy/types";
2
2
  type PreviouslyResolved = {
3
+ streamCollector: StreamCollector;
3
4
  utf8Encoder: Encoder;
4
5
  };
5
6
  /**
@@ -0,0 +1,4 @@
1
+ /**
2
+ * @internal
3
+ */
4
+ export declare function toStream(bytes: Uint8Array): ReadableStream;
@@ -0,0 +1,5 @@
1
+ import { Readable } from "node:stream";
2
+ /**
3
+ * @internal
4
+ */
5
+ export declare function toStream(bytes: Uint8Array): Readable;
@@ -3,8 +3,10 @@ import {
3
3
  Encoder,
4
4
  Pluggable,
5
5
  RelativeMiddlewareOptions,
6
+ StreamCollector,
6
7
  } from "@smithy/types";
7
8
  type PreviouslyResolved = {
9
+ streamCollector: StreamCollector;
8
10
  utf8Encoder: Encoder;
9
11
  };
10
12
  export declare const throw200ExceptionsMiddleware: (
@@ -0,0 +1 @@
1
+ export declare function toStream(bytes: Uint8Array): ReadableStream;
@@ -0,0 +1,2 @@
1
+ import { Readable } from "node:stream";
2
+ export declare function toStream(bytes: Uint8Array): Readable;
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/middleware-sdk-s3",
3
- "version": "3.972.30",
3
+ "version": "3.972.34",
4
4
  "scripts": {
5
5
  "build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
6
6
  "build:cjs": "node ../../scripts/compilation/inline middleware-sdk-s3",
@@ -9,13 +9,13 @@
9
9
  "build:types": "tsc -p tsconfig.types.json",
10
10
  "build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
11
11
  "clean": "premove dist-cjs dist-es dist-types tsconfig.cjs.tsbuildinfo tsconfig.es.tsbuildinfo tsconfig.types.tsbuildinfo",
12
- "test": "yarn g:vitest run",
13
12
  "test:types": "tsc -p tsconfig.test.json",
14
- "test:integration": "yarn g:vitest run -c vitest.config.integ.mts && yarn test:types",
15
- "test:e2e": "yarn g:vitest run -c vitest.config.e2e.mts --mode development",
16
13
  "extract:docs": "api-extractor run --local",
14
+ "test": "yarn g:vitest run",
17
15
  "test:watch": "yarn g:vitest watch",
16
+ "test:integration": "yarn g:vitest run -c vitest.config.integ.mts && yarn test:types",
18
17
  "test:integration:watch": "yarn g:vitest watch -c vitest.config.integ.mts",
18
+ "test:e2e": "yarn g:vitest run -c vitest.config.e2e.mts --mode development",
19
19
  "test:e2e:watch": "yarn g:vitest watch -c vitest.config.e2e.mts"
20
20
  },
21
21
  "main": "./dist-cjs/index.js",
@@ -28,18 +28,18 @@
28
28
  },
29
29
  "license": "Apache-2.0",
30
30
  "dependencies": {
31
- "@aws-sdk/core": "^3.974.1",
31
+ "@aws-sdk/core": "^3.974.5",
32
32
  "@aws-sdk/types": "^3.973.8",
33
33
  "@aws-sdk/util-arn-parser": "^3.972.3",
34
- "@smithy/core": "^3.23.15",
34
+ "@smithy/core": "^3.23.17",
35
35
  "@smithy/node-config-provider": "^4.3.14",
36
36
  "@smithy/protocol-http": "^5.3.14",
37
37
  "@smithy/signature-v4": "^5.3.14",
38
- "@smithy/smithy-client": "^4.12.11",
38
+ "@smithy/smithy-client": "^4.12.13",
39
39
  "@smithy/types": "^4.14.1",
40
40
  "@smithy/util-config-provider": "^4.2.2",
41
41
  "@smithy/util-middleware": "^4.2.14",
42
- "@smithy/util-stream": "^4.5.23",
42
+ "@smithy/util-stream": "^4.5.25",
43
43
  "@smithy/util-utf8": "^4.2.2",
44
44
  "tslib": "^2.6.2"
45
45
  },
@@ -63,6 +63,13 @@
63
63
  "files": [
64
64
  "dist-*/**"
65
65
  ],
66
+ "browser": {
67
+ "./dist-es/toStream": "./dist-es/toStream.browser"
68
+ },
69
+ "react-native": {
70
+ "./dist-es/toStream": "./dist-es/toStream.browser",
71
+ "./dist-cjs/toStream": "./dist-cjs/toStream.browser"
72
+ },
66
73
  "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/packages-internal/middleware-sdk-s3",
67
74
  "repository": {
68
75
  "type": "git",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/middleware-user-agent",
3
- "version": "3.972.31",
3
+ "version": "3.972.35",
4
4
  "scripts": {
5
5
  "build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
6
6
  "build:cjs": "node ../../scripts/compilation/inline middleware-user-agent",
@@ -25,13 +25,13 @@
25
25
  },
26
26
  "license": "Apache-2.0",
27
27
  "dependencies": {
28
- "@aws-sdk/core": "^3.974.1",
28
+ "@aws-sdk/core": "^3.974.5",
29
29
  "@aws-sdk/types": "^3.973.8",
30
- "@aws-sdk/util-endpoints": "^3.996.7",
31
- "@smithy/core": "^3.23.15",
30
+ "@aws-sdk/util-endpoints": "^3.996.8",
31
+ "@smithy/core": "^3.23.17",
32
32
  "@smithy/protocol-http": "^5.3.14",
33
33
  "@smithy/types": "^4.14.1",
34
- "@smithy/util-retry": "^4.3.2",
34
+ "@smithy/util-retry": "^4.3.4",
35
35
  "tslib": "^2.6.2"
36
36
  },
37
37
  "devDependencies": {