@cdklabs/cdk-construct-connect-datalake 0.0.19 → 0.0.21

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 (355) hide show
  1. package/.jsii +9 -9
  2. package/.jsii.tabl.json +1 -1
  3. package/lib/index.js +1 -1
  4. package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/index.js +2 -1
  5. package/node_modules/@aws-sdk/client-cloudformation/dist-es/models/enums.js +1 -0
  6. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/DescribeChangeSetCommand.d.ts +1 -1
  7. package/node_modules/@aws-sdk/client-cloudformation/dist-types/models/enums.d.ts +1 -0
  8. package/node_modules/@aws-sdk/client-cloudformation/dist-types/models/models_0.d.ts +7 -3
  9. package/node_modules/@aws-sdk/client-cloudformation/dist-types/runtimeConfig.browser.d.ts +2 -0
  10. package/node_modules/@aws-sdk/client-cloudformation/dist-types/runtimeConfig.d.ts +2 -0
  11. package/node_modules/@aws-sdk/client-cloudformation/dist-types/runtimeConfig.native.d.ts +2 -0
  12. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/models/enums.d.ts +1 -0
  13. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/runtimeConfig.browser.d.ts +2 -0
  14. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/runtimeConfig.d.ts +2 -0
  15. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/runtimeConfig.native.d.ts +2 -0
  16. package/node_modules/@aws-sdk/client-cloudformation/package.json +6 -6
  17. package/node_modules/@aws-sdk/client-connect/dist-cjs/index.js +1 -1
  18. package/node_modules/@aws-sdk/client-connect/dist-types/commands/AssociateContactWithUserCommand.d.ts +5 -1
  19. package/node_modules/@aws-sdk/client-connect/dist-types/models/models_0.d.ts +11 -3
  20. package/node_modules/@aws-sdk/client-connect/dist-types/models/models_2.d.ts +3 -1
  21. package/node_modules/@aws-sdk/client-connect/dist-types/models/models_3.d.ts +9 -2
  22. package/node_modules/@aws-sdk/client-connect/dist-types/runtimeConfig.browser.d.ts +2 -0
  23. package/node_modules/@aws-sdk/client-connect/dist-types/runtimeConfig.d.ts +2 -0
  24. package/node_modules/@aws-sdk/client-connect/dist-types/runtimeConfig.native.d.ts +2 -0
  25. package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/runtimeConfig.browser.d.ts +2 -0
  26. package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/runtimeConfig.d.ts +2 -0
  27. package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/runtimeConfig.native.d.ts +2 -0
  28. package/node_modules/@aws-sdk/client-connect/package.json +6 -6
  29. package/node_modules/@aws-sdk/client-glue/README.md +7 -0
  30. package/node_modules/@aws-sdk/client-glue/dist-cjs/index.js +295 -118
  31. package/node_modules/@aws-sdk/client-glue/dist-es/Glue.js +2 -0
  32. package/node_modules/@aws-sdk/client-glue/dist-es/commands/BatchGetDataQualityRulesetEvaluationRunCommand.js +4 -0
  33. package/node_modules/@aws-sdk/client-glue/dist-es/commands/index.js +1 -0
  34. package/node_modules/@aws-sdk/client-glue/dist-es/models/enums.js +30 -13
  35. package/node_modules/@aws-sdk/client-glue/dist-es/schemas/schemas_0.js +243 -104
  36. package/node_modules/@aws-sdk/client-glue/dist-types/Glue.d.ts +7 -0
  37. package/node_modules/@aws-sdk/client-glue/dist-types/GlueClient.d.ts +3 -2
  38. package/node_modules/@aws-sdk/client-glue/dist-types/commands/BatchGetDataQualityResultCommand.d.ts +11 -0
  39. package/node_modules/@aws-sdk/client-glue/dist-types/commands/BatchGetDataQualityRulesetEvaluationRunCommand.d.ts +202 -0
  40. package/node_modules/@aws-sdk/client-glue/dist-types/commands/CreateClassifierCommand.d.ts +1 -1
  41. package/node_modules/@aws-sdk/client-glue/dist-types/commands/CreateColumnStatisticsTaskSettingsCommand.d.ts +1 -1
  42. package/node_modules/@aws-sdk/client-glue/dist-types/commands/CreateConnectionCommand.d.ts +1 -1
  43. package/node_modules/@aws-sdk/client-glue/dist-types/commands/CreateCrawlerCommand.d.ts +1 -2
  44. package/node_modules/@aws-sdk/client-glue/dist-types/commands/DescribeConnectionTypeCommand.d.ts +68 -0
  45. package/node_modules/@aws-sdk/client-glue/dist-types/commands/GetDataCatalogEncryptionSettingsCommand.d.ts +2 -1
  46. package/node_modules/@aws-sdk/client-glue/dist-types/commands/GetDataQualityModelCommand.d.ts +1 -1
  47. package/node_modules/@aws-sdk/client-glue/dist-types/commands/GetDataQualityModelResultCommand.d.ts +1 -1
  48. package/node_modules/@aws-sdk/client-glue/dist-types/commands/GetDataQualityResultCommand.d.ts +12 -1
  49. package/node_modules/@aws-sdk/client-glue/dist-types/commands/GetDataQualityRuleRecommendationRunCommand.d.ts +4 -1
  50. package/node_modules/@aws-sdk/client-glue/dist-types/commands/GetDataQualityRulesetCommand.d.ts +1 -1
  51. package/node_modules/@aws-sdk/client-glue/dist-types/commands/GetDataQualityRulesetEvaluationRunCommand.d.ts +48 -0
  52. package/node_modules/@aws-sdk/client-glue/dist-types/commands/GetDataflowGraphCommand.d.ts +1 -1
  53. package/node_modules/@aws-sdk/client-glue/dist-types/commands/ListDataQualityRuleRecommendationRunsCommand.d.ts +4 -0
  54. package/node_modules/@aws-sdk/client-glue/dist-types/commands/ListDataQualityStatisticsCommand.d.ts +9 -0
  55. package/node_modules/@aws-sdk/client-glue/dist-types/commands/RegisterConnectionTypeCommand.d.ts +67 -0
  56. package/node_modules/@aws-sdk/client-glue/dist-types/commands/SearchAssetsCommand.d.ts +1 -2
  57. package/node_modules/@aws-sdk/client-glue/dist-types/commands/SearchTablesCommand.d.ts +1 -2
  58. package/node_modules/@aws-sdk/client-glue/dist-types/commands/StartBlueprintRunCommand.d.ts +1 -1
  59. package/node_modules/@aws-sdk/client-glue/dist-types/commands/StartColumnStatisticsTaskRunCommand.d.ts +1 -1
  60. package/node_modules/@aws-sdk/client-glue/dist-types/commands/StartColumnStatisticsTaskRunScheduleCommand.d.ts +1 -1
  61. package/node_modules/@aws-sdk/client-glue/dist-types/commands/StartCrawlerCommand.d.ts +1 -1
  62. package/node_modules/@aws-sdk/client-glue/dist-types/commands/StartDataQualityRuleRecommendationRunCommand.d.ts +3 -0
  63. package/node_modules/@aws-sdk/client-glue/dist-types/commands/StartDataQualityRulesetEvaluationRunCommand.d.ts +48 -0
  64. package/node_modules/@aws-sdk/client-glue/dist-types/commands/index.d.ts +1 -0
  65. package/node_modules/@aws-sdk/client-glue/dist-types/models/enums.d.ts +78 -29
  66. package/node_modules/@aws-sdk/client-glue/dist-types/models/models_0.d.ts +305 -439
  67. package/node_modules/@aws-sdk/client-glue/dist-types/models/models_1.d.ts +3890 -3703
  68. package/node_modules/@aws-sdk/client-glue/dist-types/models/models_2.d.ts +416 -308
  69. package/node_modules/@aws-sdk/client-glue/dist-types/models/models_3.d.ts +301 -4
  70. package/node_modules/@aws-sdk/client-glue/dist-types/runtimeConfig.browser.d.ts +2 -0
  71. package/node_modules/@aws-sdk/client-glue/dist-types/runtimeConfig.d.ts +2 -0
  72. package/node_modules/@aws-sdk/client-glue/dist-types/runtimeConfig.native.d.ts +2 -0
  73. package/node_modules/@aws-sdk/client-glue/dist-types/schemas/schemas_0.d.ts +16 -0
  74. package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/Glue.d.ts +17 -0
  75. package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/GlueClient.d.ts +6 -0
  76. package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/commands/BatchGetDataQualityRulesetEvaluationRunCommand.d.ts +42 -0
  77. package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/commands/CreateClassifierCommand.d.ts +1 -1
  78. package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/commands/CreateColumnStatisticsTaskSettingsCommand.d.ts +1 -1
  79. package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/commands/CreateConnectionCommand.d.ts +1 -1
  80. package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/commands/CreateCrawlerCommand.d.ts +1 -2
  81. package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/commands/GetDataCatalogEncryptionSettingsCommand.d.ts +2 -4
  82. package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/commands/GetDataQualityModelCommand.d.ts +1 -1
  83. package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/commands/GetDataQualityModelResultCommand.d.ts +1 -1
  84. package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/commands/GetDataQualityResultCommand.d.ts +1 -1
  85. package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/commands/GetDataQualityRuleRecommendationRunCommand.d.ts +1 -1
  86. package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/commands/GetDataQualityRulesetCommand.d.ts +1 -1
  87. package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/commands/GetDataflowGraphCommand.d.ts +1 -1
  88. package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/commands/SearchAssetsCommand.d.ts +1 -2
  89. package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/commands/SearchTablesCommand.d.ts +1 -2
  90. package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/commands/StartBlueprintRunCommand.d.ts +1 -1
  91. package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/commands/StartColumnStatisticsTaskRunCommand.d.ts +1 -1
  92. package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/commands/StartColumnStatisticsTaskRunScheduleCommand.d.ts +1 -1
  93. package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/commands/StartCrawlerCommand.d.ts +1 -1
  94. package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/commands/index.d.ts +1 -0
  95. package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/models/enums.d.ts +38 -16
  96. package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/models/models_0.d.ts +74 -76
  97. package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/models/models_1.d.ts +113 -101
  98. package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/models/models_2.d.ts +109 -79
  99. package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/models/models_3.d.ts +77 -4
  100. package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/runtimeConfig.browser.d.ts +2 -0
  101. package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/runtimeConfig.d.ts +2 -0
  102. package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/runtimeConfig.native.d.ts +2 -0
  103. package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/schemas/schemas_0.d.ts +16 -0
  104. package/node_modules/@aws-sdk/client-glue/package.json +6 -6
  105. package/node_modules/@aws-sdk/client-lakeformation/dist-cjs/index.js +1 -1
  106. package/node_modules/@aws-sdk/client-lakeformation/dist-types/runtimeConfig.browser.d.ts +2 -0
  107. package/node_modules/@aws-sdk/client-lakeformation/dist-types/runtimeConfig.d.ts +2 -0
  108. package/node_modules/@aws-sdk/client-lakeformation/dist-types/runtimeConfig.native.d.ts +2 -0
  109. package/node_modules/@aws-sdk/client-lakeformation/dist-types/ts3.4/runtimeConfig.browser.d.ts +2 -0
  110. package/node_modules/@aws-sdk/client-lakeformation/dist-types/ts3.4/runtimeConfig.d.ts +2 -0
  111. package/node_modules/@aws-sdk/client-lakeformation/dist-types/ts3.4/runtimeConfig.native.d.ts +2 -0
  112. package/node_modules/@aws-sdk/client-lakeformation/package.json +6 -6
  113. package/node_modules/@aws-sdk/client-ram/dist-cjs/index.js +1 -1
  114. package/node_modules/@aws-sdk/client-ram/dist-types/runtimeConfig.browser.d.ts +2 -0
  115. package/node_modules/@aws-sdk/client-ram/dist-types/runtimeConfig.d.ts +2 -0
  116. package/node_modules/@aws-sdk/client-ram/dist-types/runtimeConfig.native.d.ts +2 -0
  117. package/node_modules/@aws-sdk/client-ram/dist-types/ts3.4/runtimeConfig.browser.d.ts +2 -0
  118. package/node_modules/@aws-sdk/client-ram/dist-types/ts3.4/runtimeConfig.d.ts +2 -0
  119. package/node_modules/@aws-sdk/client-ram/dist-types/ts3.4/runtimeConfig.native.d.ts +2 -0
  120. package/node_modules/@aws-sdk/client-ram/package.json +6 -6
  121. package/node_modules/@aws-sdk/client-sts/dist-cjs/index.js +1 -1
  122. package/node_modules/@aws-sdk/client-sts/dist-types/runtimeConfig.browser.d.ts +2 -0
  123. package/node_modules/@aws-sdk/client-sts/dist-types/runtimeConfig.d.ts +2 -0
  124. package/node_modules/@aws-sdk/client-sts/dist-types/runtimeConfig.native.d.ts +2 -0
  125. package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/runtimeConfig.browser.d.ts +2 -0
  126. package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/runtimeConfig.d.ts +2 -0
  127. package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/runtimeConfig.native.d.ts +2 -0
  128. package/node_modules/@aws-sdk/client-sts/package.json +8 -8
  129. package/node_modules/@aws-sdk/core/dist-cjs/submodules/httpAuthSchemes/index.js +66 -28
  130. package/node_modules/@aws-sdk/core/dist-cjs/submodules/protocols/index.js +989 -72
  131. package/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/aws_sdk/AwsSdkSigV4ASigner.js +7 -2
  132. package/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/aws_sdk/AwsSdkSigV4Signer.js +28 -14
  133. package/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/aws_sdk/clock-skew-defaults.browser.js +1 -0
  134. package/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/aws_sdk/clock-skew-defaults.js +3 -0
  135. package/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/aws_sdk/clock-skew-node-config.js +8 -0
  136. package/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/aws_sdk/index.js +1 -1
  137. package/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/aws_sdk/resolveAwsSdkSigV4Config.js +3 -3
  138. package/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/index.browser.js +9 -0
  139. package/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/index.js +5 -1
  140. package/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/utils/getDateHeader.js +1 -0
  141. package/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/utils/getUpdatedSystemClockOffset.js +12 -6
  142. package/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/utils/index.js +2 -1
  143. package/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/utils/isClockSkewed.js +1 -1
  144. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/index.js +8 -5
  145. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/AwsJsonRpcProtocol.js +1 -1
  146. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/AwsRestJsonProtocol.js +1 -1
  147. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/JsonSettings.js +1 -0
  148. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/{JsonCodec.js → codec-v1/JsonCodec.js} +1 -1
  149. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/codec-v1/JsonSettings.js +1 -0
  150. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/{JsonShapeDeserializer.js → codec-v1/JsonShapeDeserializer.js} +14 -5
  151. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/{JsonShapeSerializer.js → codec-v1/JsonShapeSerializer.js} +12 -2
  152. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/codec-v2/JsonBytesStringAdapter.js +103 -0
  153. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/codec-v2/JsonCodec2.js +20 -0
  154. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/codec-v2/JsonShapeDeserializer2.js +200 -0
  155. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/codec-v2/JsonShapeSerializer2.js +489 -0
  156. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/detectBufferParsing.js +18 -0
  157. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/jsonReviver.js +22 -3
  158. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/needsReviver.js +41 -0
  159. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/parseJsonBody.js +33 -13
  160. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/writeKey.js +3 -0
  161. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/xml/XmlShapeDeserializer.js +4 -0
  162. package/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/aws_sdk/AwsSdkSigV4Signer.d.ts +2 -1
  163. package/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/aws_sdk/clock-skew-defaults.browser.d.ts +6 -0
  164. package/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/aws_sdk/clock-skew-defaults.d.ts +7 -0
  165. package/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/aws_sdk/clock-skew-node-config.d.ts +13 -0
  166. package/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/aws_sdk/index.d.ts +1 -1
  167. package/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/aws_sdk/resolveAwsSdkSigV4Config.d.ts +22 -6
  168. package/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/index.browser.d.ts +11 -0
  169. package/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/index.d.ts +7 -1
  170. package/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/utils/getDateHeader.d.ts +4 -0
  171. package/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/utils/getUpdatedSystemClockOffset.d.ts +22 -6
  172. package/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/utils/index.d.ts +2 -1
  173. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/index.d.ts +9 -6
  174. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/AwsJson1_0Protocol.d.ts +1 -1
  175. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/AwsJson1_1Protocol.d.ts +1 -1
  176. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/AwsJsonRpcProtocol.d.ts +1 -1
  177. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/AwsRestJsonProtocol.d.ts +1 -1
  178. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/JsonSettings.d.ts +7 -0
  179. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/{JsonCodec.d.ts → codec-v1/JsonCodec.d.ts} +4 -8
  180. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/codec-v1/JsonSettings.d.ts +7 -0
  181. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/{JsonShapeDeserializer.d.ts → codec-v1/JsonShapeDeserializer.d.ts} +3 -2
  182. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/{JsonShapeSerializer.d.ts → codec-v1/JsonShapeSerializer.d.ts} +3 -2
  183. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/codec-v2/JsonBytesStringAdapter.d.ts +51 -0
  184. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/codec-v2/JsonCodec2.d.ts +13 -0
  185. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/codec-v2/JsonShapeDeserializer2.d.ts +30 -0
  186. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/codec-v2/JsonShapeSerializer2.d.ts +60 -0
  187. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/detectBufferParsing.d.ts +1 -0
  188. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/needsReviver.d.ts +11 -0
  189. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/parseJsonBody.d.ts +7 -2
  190. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/writeKey.d.ts +4 -0
  191. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/aws_sdk/AwsSdkSigV4Signer.d.ts +2 -0
  192. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/aws_sdk/clock-skew-defaults.browser.d.ts +1 -0
  193. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/aws_sdk/clock-skew-defaults.d.ts +1 -0
  194. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/aws_sdk/clock-skew-node-config.d.ts +4 -0
  195. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/aws_sdk/index.d.ts +1 -1
  196. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/aws_sdk/resolveAwsSdkSigV4Config.d.ts +7 -6
  197. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/index.browser.d.ts +32 -0
  198. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/index.d.ts +10 -2
  199. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/utils/getDateHeader.d.ts +1 -0
  200. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/utils/getUpdatedSystemClockOffset.d.ts +2 -0
  201. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/utils/index.d.ts +2 -1
  202. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/index.d.ts +9 -6
  203. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/AwsJson1_0Protocol.d.ts +1 -1
  204. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/AwsJson1_1Protocol.d.ts +1 -1
  205. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/AwsJsonRpcProtocol.d.ts +1 -1
  206. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/AwsRestJsonProtocol.d.ts +1 -1
  207. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/JsonSettings.d.ts +4 -0
  208. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/{JsonCodec.d.ts → codec-v1/JsonCodec.d.ts} +3 -5
  209. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/codec-v1/JsonSettings.d.ts +4 -0
  210. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/{JsonShapeDeserializer.d.ts → codec-v1/JsonShapeDeserializer.d.ts} +2 -2
  211. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/{JsonShapeSerializer.d.ts → codec-v1/JsonShapeSerializer.d.ts} +2 -2
  212. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/codec-v2/JsonBytesStringAdapter.d.ts +27 -0
  213. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/codec-v2/JsonCodec2.d.ts +9 -0
  214. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/codec-v2/JsonShapeDeserializer2.d.ts +15 -0
  215. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/codec-v2/JsonShapeSerializer2.d.ts +39 -0
  216. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/detectBufferParsing.d.ts +1 -0
  217. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/needsReviver.d.ts +2 -0
  218. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/parseJsonBody.d.ts +7 -2
  219. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/writeKey.d.ts +1 -0
  220. package/node_modules/@aws-sdk/core/package.json +11 -6
  221. package/node_modules/@aws-sdk/credential-provider-env/package.json +3 -3
  222. package/node_modules/@aws-sdk/credential-provider-http/package.json +5 -5
  223. package/node_modules/@aws-sdk/credential-provider-ini/package.json +11 -11
  224. package/node_modules/@aws-sdk/credential-provider-login/package.json +4 -4
  225. package/node_modules/@aws-sdk/credential-provider-node/package.json +9 -9
  226. package/node_modules/@aws-sdk/credential-provider-process/package.json +3 -3
  227. package/node_modules/@aws-sdk/credential-provider-sso/package.json +5 -5
  228. package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +4 -4
  229. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/cognito-identity/index.js +1 -1
  230. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/index.js +1 -1
  231. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/index.js +1 -1
  232. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/index.js +1 -1
  233. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/index.js +1 -1
  234. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/runtimeConfig.browser.d.ts +2 -0
  235. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/runtimeConfig.d.ts +2 -0
  236. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/runtimeConfig.native.d.ts +2 -0
  237. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/runtimeConfig.browser.d.ts +2 -0
  238. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/runtimeConfig.d.ts +2 -0
  239. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/runtimeConfig.native.d.ts +2 -0
  240. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/runtimeConfig.browser.d.ts +2 -0
  241. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/runtimeConfig.d.ts +2 -0
  242. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/runtimeConfig.native.d.ts +2 -0
  243. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/runtimeConfig.browser.d.ts +2 -0
  244. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/runtimeConfig.d.ts +2 -0
  245. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/runtimeConfig.native.d.ts +2 -0
  246. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/runtimeConfig.browser.d.ts +2 -0
  247. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/runtimeConfig.d.ts +2 -0
  248. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/runtimeConfig.native.d.ts +2 -0
  249. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/runtimeConfig.browser.d.ts +2 -0
  250. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/runtimeConfig.d.ts +2 -0
  251. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/runtimeConfig.native.d.ts +2 -0
  252. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/runtimeConfig.browser.d.ts +2 -0
  253. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/runtimeConfig.d.ts +2 -0
  254. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/runtimeConfig.native.d.ts +2 -0
  255. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/runtimeConfig.browser.d.ts +2 -0
  256. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/runtimeConfig.d.ts +2 -0
  257. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/runtimeConfig.native.d.ts +2 -0
  258. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/runtimeConfig.browser.d.ts +2 -0
  259. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/runtimeConfig.d.ts +2 -0
  260. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/runtimeConfig.native.d.ts +2 -0
  261. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/runtimeConfig.browser.d.ts +2 -0
  262. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/runtimeConfig.d.ts +2 -0
  263. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/runtimeConfig.native.d.ts +2 -0
  264. package/node_modules/@aws-sdk/nested-clients/package.json +6 -6
  265. package/node_modules/@aws-sdk/signature-v4-multi-region/package.json +2 -2
  266. package/node_modules/@aws-sdk/token-providers/package.json +4 -4
  267. package/node_modules/@aws-sdk/xml-builder/dist-cjs/index.js +14 -4
  268. package/node_modules/@aws-sdk/xml-builder/dist-es/xml-parser.js +14 -4
  269. package/node_modules/@aws-sdk/xml-builder/package.json +1 -1
  270. package/node_modules/@smithy/core/dist-cjs/submodules/cbor/index.js +1562 -338
  271. package/node_modules/@smithy/core/dist-cjs/submodules/event-streams/index.browser.js +34 -11
  272. package/node_modules/@smithy/core/dist-cjs/submodules/event-streams/index.js +34 -11
  273. package/node_modules/@smithy/core/dist-cjs/submodules/protocols/index.js +1 -0
  274. package/node_modules/@smithy/core/dist-cjs/submodules/retry/index.browser.js +1 -0
  275. package/node_modules/@smithy/core/dist-cjs/submodules/retry/index.js +1 -0
  276. package/node_modules/@smithy/core/dist-cjs/submodules/serde/index.browser.js +2 -2
  277. package/node_modules/@smithy/core/dist-cjs/submodules/serde/index.js +2 -2
  278. package/node_modules/@smithy/core/dist-cjs/submodules/serde/index.native.js +2 -2
  279. package/node_modules/@smithy/core/dist-es/submodules/cbor/CborCodec.js +4 -205
  280. package/node_modules/@smithy/core/dist-es/submodules/cbor/cbor-decode.js +1 -1
  281. package/node_modules/@smithy/core/dist-es/submodules/cbor/cbor-encode.js +1 -1
  282. package/node_modules/@smithy/core/dist-es/submodules/cbor/codec-v1/CborShapeDeserializer.js +113 -0
  283. package/node_modules/@smithy/core/dist-es/submodules/cbor/codec-v1/CborShapeSerializer.js +103 -0
  284. package/node_modules/@smithy/core/dist-es/submodules/cbor/codec-v2/CborShapeDeserializer2.js +621 -0
  285. package/node_modules/@smithy/core/dist-es/submodules/cbor/codec-v2/CborShapeSerializer2.js +602 -0
  286. package/node_modules/@smithy/core/dist-es/submodules/cbor/index.js +5 -1
  287. package/node_modules/@smithy/core/dist-es/submodules/event-streams/EventStreamSerde.js +34 -11
  288. package/node_modules/@smithy/core/dist-es/submodules/protocols/HttpProtocol.js +1 -0
  289. package/node_modules/@smithy/core/dist-es/submodules/retry/service-error-classification/constants.js +1 -0
  290. package/node_modules/@smithy/core/dist-es/submodules/serde/value/NumericValue.js +2 -2
  291. package/node_modules/@smithy/core/dist-types/submodules/cbor/CborCodec.d.ts +5 -27
  292. package/node_modules/@smithy/core/dist-types/submodules/cbor/SmithyRpcV2CborProtocol.d.ts +2 -2
  293. package/node_modules/@smithy/core/dist-types/submodules/cbor/codec-v1/CborShapeDeserializer.d.ts +13 -0
  294. package/node_modules/@smithy/core/dist-types/submodules/cbor/codec-v1/CborShapeSerializer.d.ts +15 -0
  295. package/node_modules/@smithy/core/dist-types/submodules/cbor/codec-v2/CborShapeDeserializer2.d.ts +18 -0
  296. package/node_modules/@smithy/core/dist-types/submodules/cbor/codec-v2/CborShapeSerializer2.d.ts +35 -0
  297. package/node_modules/@smithy/core/dist-types/submodules/cbor/index.d.ts +5 -1
  298. package/node_modules/@smithy/core/dist-types/submodules/event-streams/EventStreamSerde.d.ts +10 -2
  299. package/node_modules/@smithy/core/dist-types/submodules/retry/service-error-classification/constants.d.ts +1 -0
  300. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/CborCodec.d.ts +5 -27
  301. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/SmithyRpcV2CborProtocol.d.ts +2 -2
  302. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/codec-v1/CborShapeDeserializer.d.ts +13 -0
  303. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/codec-v1/CborShapeSerializer.d.ts +15 -0
  304. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/codec-v2/CborShapeDeserializer2.d.ts +18 -0
  305. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/codec-v2/CborShapeSerializer2.d.ts +35 -0
  306. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/index.d.ts +5 -1
  307. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/event-streams/EventStreamSerde.d.ts +10 -2
  308. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/retry/service-error-classification/constants.d.ts +1 -0
  309. package/node_modules/@smithy/core/package.json +2 -1
  310. package/node_modules/@smithy/credential-provider-imds/package.json +2 -2
  311. package/node_modules/@smithy/fetch-http-handler/package.json +2 -2
  312. package/node_modules/@smithy/node-http-handler/package.json +2 -2
  313. package/node_modules/@smithy/signature-v4/package.json +2 -2
  314. package/node_modules/{js-yaml → aws-lambda/node_modules/js-yaml}/dist/js-yaml.js +4 -4
  315. package/node_modules/{js-yaml → aws-lambda/node_modules/js-yaml}/dist/js-yaml.min.js +1 -1
  316. package/node_modules/{js-yaml → aws-lambda/node_modules/js-yaml}/lib/js-yaml/type/omap.js +3 -3
  317. package/node_modules/{js-yaml → aws-lambda/node_modules/js-yaml}/package.json +1 -1
  318. package/node_modules/xml2js/node_modules/sax/lib/sax.js +27 -9
  319. package/node_modules/xml2js/node_modules/sax/package.json +1 -1
  320. package/package.json +12 -12
  321. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/experimental/SinglePassJsonShapeSerializer.js +0 -135
  322. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/experimental/SinglePassJsonShapeSerializer.d.ts +0 -27
  323. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/experimental/SinglePassJsonShapeSerializer.d.ts +0 -17
  324. /package/node_modules/{js-yaml → aws-lambda/node_modules/js-yaml}/LICENSE +0 -0
  325. /package/node_modules/{js-yaml → aws-lambda/node_modules/js-yaml}/README.md +0 -0
  326. /package/node_modules/{js-yaml → aws-lambda/node_modules/js-yaml}/bin/js-yaml.js +0 -0
  327. /package/node_modules/{js-yaml → aws-lambda/node_modules/js-yaml}/index.js +0 -0
  328. /package/node_modules/{js-yaml → aws-lambda/node_modules/js-yaml}/lib/js-yaml/common.js +0 -0
  329. /package/node_modules/{js-yaml → aws-lambda/node_modules/js-yaml}/lib/js-yaml/dumper.js +0 -0
  330. /package/node_modules/{js-yaml → aws-lambda/node_modules/js-yaml}/lib/js-yaml/exception.js +0 -0
  331. /package/node_modules/{js-yaml → aws-lambda/node_modules/js-yaml}/lib/js-yaml/loader.js +0 -0
  332. /package/node_modules/{js-yaml → aws-lambda/node_modules/js-yaml}/lib/js-yaml/mark.js +0 -0
  333. /package/node_modules/{js-yaml → aws-lambda/node_modules/js-yaml}/lib/js-yaml/schema/core.js +0 -0
  334. /package/node_modules/{js-yaml → aws-lambda/node_modules/js-yaml}/lib/js-yaml/schema/default_full.js +0 -0
  335. /package/node_modules/{js-yaml → aws-lambda/node_modules/js-yaml}/lib/js-yaml/schema/default_safe.js +0 -0
  336. /package/node_modules/{js-yaml → aws-lambda/node_modules/js-yaml}/lib/js-yaml/schema/failsafe.js +0 -0
  337. /package/node_modules/{js-yaml → aws-lambda/node_modules/js-yaml}/lib/js-yaml/schema/json.js +0 -0
  338. /package/node_modules/{js-yaml → aws-lambda/node_modules/js-yaml}/lib/js-yaml/schema.js +0 -0
  339. /package/node_modules/{js-yaml → aws-lambda/node_modules/js-yaml}/lib/js-yaml/type/binary.js +0 -0
  340. /package/node_modules/{js-yaml → aws-lambda/node_modules/js-yaml}/lib/js-yaml/type/bool.js +0 -0
  341. /package/node_modules/{js-yaml → aws-lambda/node_modules/js-yaml}/lib/js-yaml/type/float.js +0 -0
  342. /package/node_modules/{js-yaml → aws-lambda/node_modules/js-yaml}/lib/js-yaml/type/int.js +0 -0
  343. /package/node_modules/{js-yaml → aws-lambda/node_modules/js-yaml}/lib/js-yaml/type/js/function.js +0 -0
  344. /package/node_modules/{js-yaml → aws-lambda/node_modules/js-yaml}/lib/js-yaml/type/js/regexp.js +0 -0
  345. /package/node_modules/{js-yaml → aws-lambda/node_modules/js-yaml}/lib/js-yaml/type/js/undefined.js +0 -0
  346. /package/node_modules/{js-yaml → aws-lambda/node_modules/js-yaml}/lib/js-yaml/type/map.js +0 -0
  347. /package/node_modules/{js-yaml → aws-lambda/node_modules/js-yaml}/lib/js-yaml/type/merge.js +0 -0
  348. /package/node_modules/{js-yaml → aws-lambda/node_modules/js-yaml}/lib/js-yaml/type/null.js +0 -0
  349. /package/node_modules/{js-yaml → aws-lambda/node_modules/js-yaml}/lib/js-yaml/type/pairs.js +0 -0
  350. /package/node_modules/{js-yaml → aws-lambda/node_modules/js-yaml}/lib/js-yaml/type/seq.js +0 -0
  351. /package/node_modules/{js-yaml → aws-lambda/node_modules/js-yaml}/lib/js-yaml/type/set.js +0 -0
  352. /package/node_modules/{js-yaml → aws-lambda/node_modules/js-yaml}/lib/js-yaml/type/str.js +0 -0
  353. /package/node_modules/{js-yaml → aws-lambda/node_modules/js-yaml}/lib/js-yaml/type/timestamp.js +0 -0
  354. /package/node_modules/{js-yaml → aws-lambda/node_modules/js-yaml}/lib/js-yaml/type.js +0 -0
  355. /package/node_modules/{js-yaml → aws-lambda/node_modules/js-yaml}/lib/js-yaml.js +0 -0
@@ -1,4 +1,4 @@
1
- const format = /^-?\d*(\.\d+)?$/;
1
+ const format = /^-?((0|[1-9]\d*)(\.\d+)?|\.\d+)([eE][+-]?\d+)?$/;
2
2
  export class NumericValue {
3
3
  string;
4
4
  type;
@@ -6,7 +6,7 @@ export class NumericValue {
6
6
  this.string = string;
7
7
  this.type = type;
8
8
  if (!format.test(string)) {
9
- throw new Error(`@smithy/core/serde - NumericValue must only contain [0-9], at most one decimal point ".", and an optional negation prefix "-".`);
9
+ throw new Error(`@smithy/core/serde - NumericValue string must conform to the Smithy bigDecimal format. Received: "${string}"`);
10
10
  }
11
11
  }
12
12
  toString() {
@@ -1,33 +1,11 @@
1
1
  import { SerdeContext } from "@smithy/core/protocols";
2
- import type { Codec, Schema, ShapeDeserializer, ShapeSerializer } from "@smithy/types";
2
+ import type { Codec } from "@smithy/types";
3
+ import { CborShapeSerializer2 } from "./codec-v2/CborShapeSerializer2";
4
+ import { CborShapeDeserializer2 } from "./codec-v2/CborShapeDeserializer2";
3
5
  /**
4
6
  * @public
5
7
  */
6
8
  export declare class CborCodec extends SerdeContext implements Codec<Uint8Array, Uint8Array> {
7
- createSerializer(): CborShapeSerializer;
8
- createDeserializer(): CborShapeDeserializer;
9
- }
10
- /**
11
- * @public
12
- */
13
- export declare class CborShapeSerializer extends SerdeContext implements ShapeSerializer {
14
- private value;
15
- write(schema: Schema, value: unknown): void;
16
- /**
17
- * Recursive serializer transform that copies and prepares the user input object
18
- * for CBOR serialization.
19
- */
20
- serialize(schema: Schema, source: unknown): any;
21
- flush(): Uint8Array;
22
- }
23
- /**
24
- * @public
25
- */
26
- export declare class CborShapeDeserializer extends SerdeContext implements ShapeDeserializer {
27
- read(schema: Schema, bytes: Uint8Array): any;
28
- /**
29
- * Public because it's called by the protocol implementation to deserialize errors.
30
- * @internal
31
- */
32
- readValue(_schema: Schema, value: any): any;
9
+ createSerializer(): CborShapeSerializer2;
10
+ createDeserializer(): CborShapeDeserializer2;
33
11
  }
@@ -13,8 +13,8 @@ export declare class SmithyRpcV2CborProtocol extends RpcProtocol {
13
13
  */
14
14
  protected compositeErrorRegistry: TypeRegistry;
15
15
  private codec;
16
- protected serializer: import("./CborCodec").CborShapeSerializer;
17
- protected deserializer: import("./CborCodec").CborShapeDeserializer;
16
+ protected serializer: import(".").CborShapeSerializer2;
17
+ protected deserializer: import(".").CborShapeDeserializer2;
18
18
  constructor({ defaultNamespace, errorTypeRegistries, }: {
19
19
  defaultNamespace: string;
20
20
  errorTypeRegistries?: TypeRegistry[];
@@ -0,0 +1,13 @@
1
+ import { SerdeContext } from "@smithy/core/protocols";
2
+ import type { Schema, ShapeDeserializer } from "@smithy/types";
3
+ /**
4
+ * @public
5
+ */
6
+ export declare class CborShapeDeserializer extends SerdeContext implements ShapeDeserializer {
7
+ read(schema: Schema, bytes: Uint8Array): any;
8
+ /**
9
+ * Public because it's called by the protocol implementation to deserialize errors.
10
+ * @internal
11
+ */
12
+ readValue(_schema: Schema, value: any): any;
13
+ }
@@ -0,0 +1,15 @@
1
+ import { SerdeContext } from "@smithy/core/protocols";
2
+ import type { Schema, ShapeSerializer } from "@smithy/types";
3
+ /**
4
+ * @public
5
+ */
6
+ export declare class CborShapeSerializer extends SerdeContext implements ShapeSerializer {
7
+ private value;
8
+ write(schema: Schema, value: unknown): void;
9
+ /**
10
+ * Recursive serializer transform that copies and prepares the user input object
11
+ * for CBOR serialization.
12
+ */
13
+ serialize(schema: Schema, source: unknown): any;
14
+ flush(): Uint8Array;
15
+ }
@@ -0,0 +1,18 @@
1
+ import { SerdeContext } from "@smithy/core/protocols";
2
+ import type { Schema, ShapeDeserializer } from "@smithy/types";
3
+ /**
4
+ * Single-pass CBOR deserializer that reads bytes and applies Smithy schema
5
+ * transformations in one traversal using module-level state.
6
+ *
7
+ * @internal
8
+ */
9
+ export declare class CborShapeDeserializer2 extends SerdeContext implements ShapeDeserializer<Uint8Array> {
10
+ read(schema: Schema, bytes: Uint8Array): any;
11
+ /**
12
+ * Deserialize a pre-decoded JS object per schema.
13
+ * Used by protocol error handling which passes pre-decoded objects.
14
+ *
15
+ * @internal
16
+ */
17
+ readValue(_schema: Schema, value: any): any;
18
+ }
@@ -0,0 +1,35 @@
1
+ import { SerdeContext } from "@smithy/core/protocols";
2
+ import { NormalizedSchema } from "@smithy/core/schema";
3
+ import type { Schema, ShapeSerializer } from "@smithy/types";
4
+ /**
5
+ * Single-pass CBOR serializer that walks the Smithy schema and writes CBOR bytes
6
+ * directly to a module-level buffer in one traversal. Eliminates the intermediate
7
+ * JS object tree that the multi-pass CborShapeSerializer builds.
8
+ *
9
+ * @internal
10
+ */
11
+ export declare class CborShapeSerializer2 extends SerdeContext implements ShapeSerializer<Uint8Array> {
12
+ write(schema: Schema, value: unknown): void;
13
+ flush(): Uint8Array;
14
+ }
15
+ /**
16
+ * Advance the encoding epoch. Call between serialization batches
17
+ * to allow stale cache entries to be evicted.
18
+ *
19
+ * @internal
20
+ */
21
+ export declare function advanceSinglePassEncodingEpoch(): void;
22
+ /**
23
+ * Cached CBOR struct iteration data: parallel arrays for direct indexed access.
24
+ */
25
+ export interface CborStructCache {
26
+ memberNames: string[];
27
+ memberSchemas: NormalizedSchema[];
28
+ encodedKeys: Uint8Array[];
29
+ }
30
+ /**
31
+ * Builds or retrieves the CBOR-specific struct cache for a given NormalizedSchema.
32
+ * On first call, iterates structIterator() to populate NormalizedSchema's own cache,
33
+ * then builds pre-encoded CBOR key bytes for each member.
34
+ */
35
+ export declare function loadCborStructIterator(ns: NormalizedSchema): CborStructCache;
@@ -2,4 +2,8 @@ export { cbor } from "./cbor";
2
2
  export { tag, tagSymbol } from "./cbor-types";
3
3
  export { buildHttpRpcRequest, checkCborResponse, dateToTag, loadSmithyRpcV2CborErrorCode, parseCborBody, parseCborErrorBody, } from "./parseCborBody";
4
4
  export { SmithyRpcV2CborProtocol } from "./SmithyRpcV2CborProtocol";
5
- export { CborCodec, CborShapeDeserializer, CborShapeSerializer } from "./CborCodec";
5
+ export { CborCodec } from "./CborCodec";
6
+ export { CborShapeSerializer } from "./codec-v1/CborShapeSerializer";
7
+ export { CborShapeDeserializer } from "./codec-v1/CborShapeDeserializer";
8
+ export { CborShapeSerializer2 } from "./codec-v2/CborShapeSerializer2";
9
+ export { CborShapeDeserializer2 } from "./codec-v2/CborShapeDeserializer2";
@@ -1,4 +1,4 @@
1
- import type { NormalizedSchema } from "@smithy/core/schema";
1
+ import { type NormalizedSchema, TypeRegistry } from "@smithy/core/schema";
2
2
  import type { EventStreamMarshaller, HttpRequest as IHttpRequest, HttpResponse as IHttpResponse, SerdeFunctions, ShapeDeserializer, ShapeSerializer } from "@smithy/types";
3
3
  /**
4
4
  * Separated module for async mixin of EventStream serde capability.
@@ -12,15 +12,17 @@ export declare class EventStreamSerde {
12
12
  private readonly deserializer;
13
13
  private readonly serdeContext?;
14
14
  private readonly defaultContentType;
15
+ private readonly compositeErrorRegistry?;
15
16
  /**
16
17
  * Properties are injected by the HttpProtocol.
17
18
  */
18
- constructor({ marshaller, serializer, deserializer, serdeContext, defaultContentType, }: {
19
+ constructor({ marshaller, serializer, deserializer, serdeContext, defaultContentType, compositeErrorRegistry, }: {
19
20
  marshaller: EventStreamMarshaller;
20
21
  serializer: ShapeSerializer<string | Uint8Array>;
21
22
  deserializer: ShapeDeserializer<string | Uint8Array>;
22
23
  serdeContext?: SerdeFunctions;
23
24
  defaultContentType: string;
25
+ compositeErrorRegistry?: TypeRegistry;
24
26
  });
25
27
  /**
26
28
  * @param eventStream - the iterable provided by the caller.
@@ -49,6 +51,12 @@ export declare class EventStreamSerde {
49
51
  [key: string]: any;
50
52
  $unknown?: unknown;
51
53
  }>>;
54
+ /**
55
+ * Reads and returns an event member. For error schemas, resolves the registered
56
+ * error constructor from the TypeRegistry and wraps the deserialized value
57
+ * so that it can be thrown as a typed exception instance by the caller.
58
+ */
59
+ private readEventMember;
52
60
  /**
53
61
  * @param unionMember - member name within the structure that contains an event stream union.
54
62
  * @param unionSchema - schema of the union.
@@ -4,6 +4,7 @@
4
4
  *
5
5
  * These errors are retryable, assuming the SDK has enabled clock skew
6
6
  * correction.
7
+ *
7
8
  */
8
9
  export declare const CLOCK_SKEW_ERROR_CODES: string[];
9
10
  /**
@@ -1,33 +1,11 @@
1
1
  import { SerdeContext } from "@smithy/core/protocols";
2
- import { Codec, Schema, ShapeDeserializer, ShapeSerializer } from "@smithy/types";
2
+ import { Codec } from "@smithy/types";
3
+ import { CborShapeSerializer2 } from "./codec-v2/CborShapeSerializer2";
4
+ import { CborShapeDeserializer2 } from "./codec-v2/CborShapeDeserializer2";
3
5
  /**
4
6
  * @public
5
7
  */
6
8
  export declare class CborCodec extends SerdeContext implements Codec<Uint8Array, Uint8Array> {
7
- createSerializer(): CborShapeSerializer;
8
- createDeserializer(): CborShapeDeserializer;
9
- }
10
- /**
11
- * @public
12
- */
13
- export declare class CborShapeSerializer extends SerdeContext implements ShapeSerializer {
14
- private value;
15
- write(schema: Schema, value: unknown): void;
16
- /**
17
- * Recursive serializer transform that copies and prepares the user input object
18
- * for CBOR serialization.
19
- */
20
- serialize(schema: Schema, source: unknown): any;
21
- flush(): Uint8Array;
22
- }
23
- /**
24
- * @public
25
- */
26
- export declare class CborShapeDeserializer extends SerdeContext implements ShapeDeserializer {
27
- read(schema: Schema, bytes: Uint8Array): any;
28
- /**
29
- * Public because it's called by the protocol implementation to deserialize errors.
30
- * @internal
31
- */
32
- readValue(_schema: Schema, value: any): any;
9
+ createSerializer(): CborShapeSerializer2;
10
+ createDeserializer(): CborShapeDeserializer2;
33
11
  }
@@ -13,8 +13,8 @@ export declare class SmithyRpcV2CborProtocol extends RpcProtocol {
13
13
  */
14
14
  protected compositeErrorRegistry: TypeRegistry;
15
15
  private codec;
16
- protected serializer: import("./CborCodec").CborShapeSerializer;
17
- protected deserializer: import("./CborCodec").CborShapeDeserializer;
16
+ protected serializer: import(".").CborShapeSerializer2;
17
+ protected deserializer: import(".").CborShapeDeserializer2;
18
18
  constructor({ defaultNamespace, errorTypeRegistries, }: {
19
19
  defaultNamespace: string;
20
20
  errorTypeRegistries?: TypeRegistry[];
@@ -0,0 +1,13 @@
1
+ import { SerdeContext } from "@smithy/core/protocols";
2
+ import { Schema, ShapeDeserializer } from "@smithy/types";
3
+ /**
4
+ * @public
5
+ */
6
+ export declare class CborShapeDeserializer extends SerdeContext implements ShapeDeserializer {
7
+ read(schema: Schema, bytes: Uint8Array): any;
8
+ /**
9
+ * Public because it's called by the protocol implementation to deserialize errors.
10
+ * @internal
11
+ */
12
+ readValue(_schema: Schema, value: any): any;
13
+ }
@@ -0,0 +1,15 @@
1
+ import { SerdeContext } from "@smithy/core/protocols";
2
+ import { Schema, ShapeSerializer } from "@smithy/types";
3
+ /**
4
+ * @public
5
+ */
6
+ export declare class CborShapeSerializer extends SerdeContext implements ShapeSerializer {
7
+ private value;
8
+ write(schema: Schema, value: unknown): void;
9
+ /**
10
+ * Recursive serializer transform that copies and prepares the user input object
11
+ * for CBOR serialization.
12
+ */
13
+ serialize(schema: Schema, source: unknown): any;
14
+ flush(): Uint8Array;
15
+ }
@@ -0,0 +1,18 @@
1
+ import { SerdeContext } from "@smithy/core/protocols";
2
+ import { Schema, ShapeDeserializer } from "@smithy/types";
3
+ /**
4
+ * Single-pass CBOR deserializer that reads bytes and applies Smithy schema
5
+ * transformations in one traversal using module-level state.
6
+ *
7
+ * @internal
8
+ */
9
+ export declare class CborShapeDeserializer2 extends SerdeContext implements ShapeDeserializer<Uint8Array> {
10
+ read(schema: Schema, bytes: Uint8Array): any;
11
+ /**
12
+ * Deserialize a pre-decoded JS object per schema.
13
+ * Used by protocol error handling which passes pre-decoded objects.
14
+ *
15
+ * @internal
16
+ */
17
+ readValue(_schema: Schema, value: any): any;
18
+ }
@@ -0,0 +1,35 @@
1
+ import { SerdeContext } from "@smithy/core/protocols";
2
+ import { NormalizedSchema } from "@smithy/core/schema";
3
+ import { Schema, ShapeSerializer } from "@smithy/types";
4
+ /**
5
+ * Single-pass CBOR serializer that walks the Smithy schema and writes CBOR bytes
6
+ * directly to a module-level buffer in one traversal. Eliminates the intermediate
7
+ * JS object tree that the multi-pass CborShapeSerializer builds.
8
+ *
9
+ * @internal
10
+ */
11
+ export declare class CborShapeSerializer2 extends SerdeContext implements ShapeSerializer<Uint8Array> {
12
+ write(schema: Schema, value: unknown): void;
13
+ flush(): Uint8Array;
14
+ }
15
+ /**
16
+ * Advance the encoding epoch. Call between serialization batches
17
+ * to allow stale cache entries to be evicted.
18
+ *
19
+ * @internal
20
+ */
21
+ export declare function advanceSinglePassEncodingEpoch(): void;
22
+ /**
23
+ * Cached CBOR struct iteration data: parallel arrays for direct indexed access.
24
+ */
25
+ export interface CborStructCache {
26
+ memberNames: string[];
27
+ memberSchemas: NormalizedSchema[];
28
+ encodedKeys: Uint8Array[];
29
+ }
30
+ /**
31
+ * Builds or retrieves the CBOR-specific struct cache for a given NormalizedSchema.
32
+ * On first call, iterates structIterator() to populate NormalizedSchema's own cache,
33
+ * then builds pre-encoded CBOR key bytes for each member.
34
+ */
35
+ export declare function loadCborStructIterator(ns: NormalizedSchema): CborStructCache;
@@ -2,4 +2,8 @@ export { cbor } from "./cbor";
2
2
  export { tag, tagSymbol } from "./cbor-types";
3
3
  export { buildHttpRpcRequest, checkCborResponse, dateToTag, loadSmithyRpcV2CborErrorCode, parseCborBody, parseCborErrorBody, } from "./parseCborBody";
4
4
  export { SmithyRpcV2CborProtocol } from "./SmithyRpcV2CborProtocol";
5
- export { CborCodec, CborShapeDeserializer, CborShapeSerializer } from "./CborCodec";
5
+ export { CborCodec } from "./CborCodec";
6
+ export { CborShapeSerializer } from "./codec-v1/CborShapeSerializer";
7
+ export { CborShapeDeserializer } from "./codec-v1/CborShapeDeserializer";
8
+ export { CborShapeSerializer2 } from "./codec-v2/CborShapeSerializer2";
9
+ export { CborShapeDeserializer2 } from "./codec-v2/CborShapeDeserializer2";
@@ -1,4 +1,4 @@
1
- import { NormalizedSchema } from "@smithy/core/schema";
1
+ import { NormalizedSchema, TypeRegistry } from "@smithy/core/schema";
2
2
  import { EventStreamMarshaller, HttpRequest as IHttpRequest, HttpResponse as IHttpResponse, SerdeFunctions, ShapeDeserializer, ShapeSerializer } from "@smithy/types";
3
3
  /**
4
4
  * Separated module for async mixin of EventStream serde capability.
@@ -12,15 +12,17 @@ export declare class EventStreamSerde {
12
12
  private readonly deserializer;
13
13
  private readonly serdeContext?;
14
14
  private readonly defaultContentType;
15
+ private readonly compositeErrorRegistry?;
15
16
  /**
16
17
  * Properties are injected by the HttpProtocol.
17
18
  */
18
- constructor({ marshaller, serializer, deserializer, serdeContext, defaultContentType, }: {
19
+ constructor({ marshaller, serializer, deserializer, serdeContext, defaultContentType, compositeErrorRegistry, }: {
19
20
  marshaller: EventStreamMarshaller;
20
21
  serializer: ShapeSerializer<string | Uint8Array>;
21
22
  deserializer: ShapeDeserializer<string | Uint8Array>;
22
23
  serdeContext?: SerdeFunctions;
23
24
  defaultContentType: string;
25
+ compositeErrorRegistry?: TypeRegistry;
24
26
  });
25
27
  /**
26
28
  * @param eventStream - the iterable provided by the caller.
@@ -49,6 +51,12 @@ export declare class EventStreamSerde {
49
51
  [key: string]: any;
50
52
  $unknown?: unknown;
51
53
  }>>;
54
+ /**
55
+ * Reads and returns an event member. For error schemas, resolves the registered
56
+ * error constructor from the TypeRegistry and wraps the deserialized value
57
+ * so that it can be thrown as a typed exception instance by the caller.
58
+ */
59
+ private readEventMember;
52
60
  /**
53
61
  * @param unionMember - member name within the structure that contains an event stream union.
54
62
  * @param unionSchema - schema of the union.
@@ -4,6 +4,7 @@
4
4
  *
5
5
  * These errors are retryable, assuming the SDK has enabled clock skew
6
6
  * correction.
7
+ *
7
8
  */
8
9
  export declare const CLOCK_SKEW_ERROR_CODES: string[];
9
10
  /**
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smithy/core",
3
- "version": "3.29.6",
3
+ "version": "3.31.1",
4
4
  "homepage": "https://github.com/smithy-lang/smithy-typescript/tree/main/packages/core",
5
5
  "license": "Apache-2.0",
6
6
  "author": {
@@ -220,6 +220,7 @@
220
220
  "scripts": {
221
221
  "benchmark:cbor": "node ./scripts/cbor-perf.mjs",
222
222
  "benchmark:checksum": "node ./scripts/checksum-perf.mjs",
223
+ "benchmark:schema:cbor": "node ./scripts/cbor-shape-perf.mjs",
223
224
  "build": "concurrently 'yarn:build:types' 'yarn:build:es:cjs'",
224
225
  "build:es:cjs": "node ../../scripts/compilation/es_cjs.js",
225
226
  "build:types": "premove dist-types && yarn g:tsc -p tsconfig.types.json",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smithy/credential-provider-imds",
3
- "version": "4.4.11",
3
+ "version": "4.4.16",
4
4
  "description": "AWS credential provider that sources credentials from the EC2 instance metadata service and ECS container metadata service",
5
5
  "keywords": [
6
6
  "aws",
@@ -45,7 +45,7 @@
45
45
  "test:watch": "yarn g:vitest watch"
46
46
  },
47
47
  "dependencies": {
48
- "@smithy/core": "^3.29.6",
48
+ "@smithy/core": "^3.31.1",
49
49
  "@smithy/types": "^4.16.1",
50
50
  "tslib": "^2.6.2"
51
51
  },
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smithy/fetch-http-handler",
3
- "version": "5.6.8",
3
+ "version": "5.6.13",
4
4
  "description": "Provides a way to make requests",
5
5
  "homepage": "https://github.com/smithy-lang/smithy-typescript/tree/main/packages/fetch-http-handler",
6
6
  "license": "Apache-2.0",
@@ -44,7 +44,7 @@
44
44
  "test:browser:watch": "yarn g:vitest watch -c vitest.config.browser.mts"
45
45
  },
46
46
  "dependencies": {
47
- "@smithy/core": "^3.29.6",
47
+ "@smithy/core": "^3.31.1",
48
48
  "@smithy/types": "^4.16.1",
49
49
  "tslib": "^2.6.2"
50
50
  },
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smithy/node-http-handler",
3
- "version": "4.9.8",
3
+ "version": "4.9.13",
4
4
  "description": "Provides a way to make requests",
5
5
  "homepage": "https://github.com/smithy-lang/smithy-typescript/tree/main/packages/node-http-handler",
6
6
  "license": "Apache-2.0",
@@ -43,7 +43,7 @@
43
43
  "test:watch": "yarn g:vitest watch"
44
44
  },
45
45
  "dependencies": {
46
- "@smithy/core": "^3.29.6",
46
+ "@smithy/core": "^3.31.1",
47
47
  "@smithy/types": "^4.16.1",
48
48
  "tslib": "^2.6.2"
49
49
  },
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smithy/signature-v4",
3
- "version": "5.6.7",
3
+ "version": "5.6.12",
4
4
  "description": "A standalone implementation of the AWS Signature V4 request signing algorithm",
5
5
  "homepage": "https://github.com/smithy-lang/smithy-typescript/tree/main/packages/signature-v4",
6
6
  "license": "Apache-2.0",
@@ -42,7 +42,7 @@
42
42
  "test:watch": "yarn g:vitest watch"
43
43
  },
44
44
  "dependencies": {
45
- "@smithy/core": "^3.29.6",
45
+ "@smithy/core": "^3.31.1",
46
46
  "@smithy/types": "^4.16.1",
47
47
  "tslib": "^2.6.2"
48
48
  },
@@ -1,4 +1,4 @@
1
- /*! js-yaml 3.15.0 https://github.com/nodeca/js-yaml */(function(f){if(typeof exports==="object"&&typeof module!=="undefined"){module.exports=f()}else if(typeof define==="function"&&define.amd){define([],f)}else{var g;if(typeof window!=="undefined"){g=window}else if(typeof global!=="undefined"){g=global}else if(typeof self!=="undefined"){g=self}else{g=this}g.jsyaml = f()}})(function(){var define,module,exports;return (function(){function r(e,n,t){function o(i,f){if(!n[i]){if(!e[i]){var c="function"==typeof require&&require;if(!f&&c)return c(i,!0);if(u)return u(i,!0);var a=new Error("Cannot find module '"+i+"'");throw a.code="MODULE_NOT_FOUND",a}var p=n[i]={exports:{}};e[i][0].call(p.exports,function(r){var n=e[i][1][r];return o(n||r)},p,p.exports,r,e,n,t)}return n[i].exports}for(var u="function"==typeof require&&require,i=0;i<t.length;i++)o(t[i]);return o}return r})()({1:[function(require,module,exports){
1
+ /*! js-yaml 3.15.1 https://github.com/nodeca/js-yaml */(function(f){if(typeof exports==="object"&&typeof module!=="undefined"){module.exports=f()}else if(typeof define==="function"&&define.amd){define([],f)}else{var g;if(typeof window!=="undefined"){g=window}else if(typeof global!=="undefined"){g=global}else if(typeof self!=="undefined"){g=self}else{g=this}g.jsyaml = f()}})(function(){var define,module,exports;return (function(){function r(e,n,t){function o(i,f){if(!n[i]){if(!e[i]){var c="function"==typeof require&&require;if(!f&&c)return c(i,!0);if(u)return u(i,!0);var a=new Error("Cannot find module '"+i+"'");throw a.code="MODULE_NOT_FOUND",a}var p=n[i]={exports:{}};e[i][0].call(p.exports,function(r){var n=e[i][1][r];return o(n||r)},p,p.exports,r,e,n,t)}return n[i].exports}for(var u="function"==typeof require&&require,i=0;i<t.length;i++)o(t[i]);return o}return r})()({1:[function(require,module,exports){
2
2
  'use strict';
3
3
 
4
4
 
@@ -3767,7 +3767,7 @@ var _toString = Object.prototype.toString;
3767
3767
  function resolveYamlOmap(data) {
3768
3768
  if (data === null) return true;
3769
3769
 
3770
- var objectKeys = [], index, length, pair, pairKey, pairHasKey,
3770
+ var objectKeys = {}, index, length, pair, pairKey, pairHasKey,
3771
3771
  object = data;
3772
3772
 
3773
3773
  for (index = 0, length = object.length; index < length; index += 1) {
@@ -3785,8 +3785,8 @@ function resolveYamlOmap(data) {
3785
3785
 
3786
3786
  if (!pairHasKey) return false;
3787
3787
 
3788
- if (objectKeys.indexOf(pairKey) === -1) objectKeys.push(pairKey);
3789
- else return false;
3788
+ if (_hasOwnProperty.call(objectKeys, pairKey)) return false;
3789
+ Object.defineProperty(objectKeys, pairKey, { value: true });
3790
3790
  }
3791
3791
 
3792
3792
  return true;