@cdklabs/cdk-construct-connect-datalake 0.0.22 → 0.0.24

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 (393) hide show
  1. package/.jsii +10 -10
  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 +1 -1
  5. package/node_modules/@aws-sdk/client-cloudformation/dist-es/index.js +1 -1
  6. package/node_modules/@aws-sdk/client-cloudformation/dist-types/index.d.ts +1 -1
  7. package/node_modules/@aws-sdk/client-cloudformation/dist-types/runtimeConfig.browser.d.ts +38 -38
  8. package/node_modules/@aws-sdk/client-cloudformation/dist-types/runtimeConfig.d.ts +36 -36
  9. package/node_modules/@aws-sdk/client-cloudformation/dist-types/runtimeConfig.native.d.ts +37 -37
  10. package/node_modules/@aws-sdk/client-cloudformation/dist-types/runtimeConfig.shared.d.ts +2 -2
  11. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/index.d.ts +1 -1
  12. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/runtimeConfig.browser.d.ts +54 -56
  13. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/runtimeConfig.d.ts +57 -57
  14. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/runtimeConfig.native.d.ts +58 -60
  15. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/runtimeConfig.shared.d.ts +3 -3
  16. package/node_modules/@aws-sdk/client-cloudformation/package.json +10 -10
  17. package/node_modules/@aws-sdk/client-connect/README.md +91 -0
  18. package/node_modules/@aws-sdk/client-connect/dist-cjs/index.js +631 -56
  19. package/node_modules/@aws-sdk/client-connect/dist-es/Connect.js +32 -0
  20. package/node_modules/@aws-sdk/client-connect/dist-es/commands/CreateExtractionDefinitionCommand.js +4 -0
  21. package/node_modules/@aws-sdk/client-connect/dist-es/commands/CreateMetricCommand.js +4 -0
  22. package/node_modules/@aws-sdk/client-connect/dist-es/commands/DeleteExtractionDefinitionCommand.js +4 -0
  23. package/node_modules/@aws-sdk/client-connect/dist-es/commands/DeleteMetricCommand.js +4 -0
  24. package/node_modules/@aws-sdk/client-connect/dist-es/commands/DescribeExtractionDefinitionCommand.js +4 -0
  25. package/node_modules/@aws-sdk/client-connect/dist-es/commands/DescribeMetricCommand.js +4 -0
  26. package/node_modules/@aws-sdk/client-connect/dist-es/commands/ListExtractionDefinitionsCommand.js +4 -0
  27. package/node_modules/@aws-sdk/client-connect/dist-es/commands/ListMetricsCommand.js +4 -0
  28. package/node_modules/@aws-sdk/client-connect/dist-es/commands/SearchMetricsCommand.js +4 -0
  29. package/node_modules/@aws-sdk/client-connect/dist-es/commands/StartAssistantContactCommand.js +4 -0
  30. package/node_modules/@aws-sdk/client-connect/dist-es/commands/UpdateExtractionDefinitionCommand.js +4 -0
  31. package/node_modules/@aws-sdk/client-connect/dist-es/commands/UpdateMetricContentCommand.js +4 -0
  32. package/node_modules/@aws-sdk/client-connect/dist-es/commands/UpdateMetricMetadataCommand.js +4 -0
  33. package/node_modules/@aws-sdk/client-connect/dist-es/commands/index.js +13 -0
  34. package/node_modules/@aws-sdk/client-connect/dist-es/index.js +1 -1
  35. package/node_modules/@aws-sdk/client-connect/dist-es/models/enums.js +49 -0
  36. package/node_modules/@aws-sdk/client-connect/dist-es/pagination/ListExtractionDefinitionsPaginator.js +4 -0
  37. package/node_modules/@aws-sdk/client-connect/dist-es/pagination/ListMetricsPaginator.js +4 -0
  38. package/node_modules/@aws-sdk/client-connect/dist-es/pagination/SearchMetricsPaginator.js +4 -0
  39. package/node_modules/@aws-sdk/client-connect/dist-es/pagination/index.js +3 -0
  40. package/node_modules/@aws-sdk/client-connect/dist-es/schemas/schemas_0.js +440 -55
  41. package/node_modules/@aws-sdk/client-connect/dist-types/Connect.d.ts +112 -0
  42. package/node_modules/@aws-sdk/client-connect/dist-types/ConnectClient.d.ts +15 -2
  43. package/node_modules/@aws-sdk/client-connect/dist-types/commands/CreateEvaluationFormCommand.d.ts +1 -1
  44. package/node_modules/@aws-sdk/client-connect/dist-types/commands/CreateExtractionDefinitionCommand.d.ts +111 -0
  45. package/node_modules/@aws-sdk/client-connect/dist-types/commands/CreateMetricCommand.d.ts +137 -0
  46. package/node_modules/@aws-sdk/client-connect/dist-types/commands/CreateRuleCommand.d.ts +9 -2
  47. package/node_modules/@aws-sdk/client-connect/dist-types/commands/CreateTestCaseCommand.d.ts +1 -1
  48. package/node_modules/@aws-sdk/client-connect/dist-types/commands/CreateTrafficDistributionGroupCommand.d.ts +1 -1
  49. package/node_modules/@aws-sdk/client-connect/dist-types/commands/CreateUseCaseCommand.d.ts +1 -1
  50. package/node_modules/@aws-sdk/client-connect/dist-types/commands/CreateUserCommand.d.ts +1 -1
  51. package/node_modules/@aws-sdk/client-connect/dist-types/commands/CreateUserHierarchyGroupCommand.d.ts +1 -2
  52. package/node_modules/@aws-sdk/client-connect/dist-types/commands/DeleteExtractionDefinitionCommand.d.ts +85 -0
  53. package/node_modules/@aws-sdk/client-connect/dist-types/commands/DeleteMetricCommand.d.ts +93 -0
  54. package/node_modules/@aws-sdk/client-connect/dist-types/commands/DescribeContactEvaluationCommand.d.ts +1 -1
  55. package/node_modules/@aws-sdk/client-connect/dist-types/commands/DescribeEvaluationFormCommand.d.ts +1 -1
  56. package/node_modules/@aws-sdk/client-connect/dist-types/commands/DescribeExtractionDefinitionCommand.d.ts +107 -0
  57. package/node_modules/@aws-sdk/client-connect/dist-types/commands/DescribeMetricCommand.d.ts +165 -0
  58. package/node_modules/@aws-sdk/client-connect/dist-types/commands/DescribeRuleCommand.d.ts +9 -2
  59. package/node_modules/@aws-sdk/client-connect/dist-types/commands/GetCurrentMetricDataCommand.d.ts +1 -1
  60. package/node_modules/@aws-sdk/client-connect/dist-types/commands/GetCurrentUserDataCommand.d.ts +1 -1
  61. package/node_modules/@aws-sdk/client-connect/dist-types/commands/GetEffectiveHoursOfOperationsCommand.d.ts +1 -1
  62. package/node_modules/@aws-sdk/client-connect/dist-types/commands/GetEvaluationFormValidationCommand.d.ts +1 -1
  63. package/node_modules/@aws-sdk/client-connect/dist-types/commands/GetFederationTokenCommand.d.ts +1 -1
  64. package/node_modules/@aws-sdk/client-connect/dist-types/commands/ListExtractionDefinitionsCommand.d.ts +98 -0
  65. package/node_modules/@aws-sdk/client-connect/dist-types/commands/ListMetricsCommand.d.ts +103 -0
  66. package/node_modules/@aws-sdk/client-connect/dist-types/commands/ListRulesCommand.d.ts +3 -3
  67. package/node_modules/@aws-sdk/client-connect/dist-types/commands/SearchAgentStatusesCommand.d.ts +1 -1
  68. package/node_modules/@aws-sdk/client-connect/dist-types/commands/SearchContactEvaluationsCommand.d.ts +2 -2
  69. package/node_modules/@aws-sdk/client-connect/dist-types/commands/SearchContactFlowModulesCommand.d.ts +2 -2
  70. package/node_modules/@aws-sdk/client-connect/dist-types/commands/SearchContactFlowsCommand.d.ts +1 -1
  71. package/node_modules/@aws-sdk/client-connect/dist-types/commands/SearchEvaluationFormsCommand.d.ts +1 -1
  72. package/node_modules/@aws-sdk/client-connect/dist-types/commands/SearchMetricsCommand.d.ts +223 -0
  73. package/node_modules/@aws-sdk/client-connect/dist-types/commands/SearchRulesCommand.d.ts +2 -2
  74. package/node_modules/@aws-sdk/client-connect/dist-types/commands/StartAssistantContactCommand.d.ts +129 -0
  75. package/node_modules/@aws-sdk/client-connect/dist-types/commands/StartWebRTCContactCommand.d.ts +28 -1
  76. package/node_modules/@aws-sdk/client-connect/dist-types/commands/TagResourceCommand.d.ts +1 -1
  77. package/node_modules/@aws-sdk/client-connect/dist-types/commands/UpdateEvaluationFormCommand.d.ts +1 -1
  78. package/node_modules/@aws-sdk/client-connect/dist-types/commands/UpdateExtractionDefinitionCommand.d.ts +100 -0
  79. package/node_modules/@aws-sdk/client-connect/dist-types/commands/UpdateMetricContentCommand.d.ts +121 -0
  80. package/node_modules/@aws-sdk/client-connect/dist-types/commands/UpdateMetricMetadataCommand.d.ts +93 -0
  81. package/node_modules/@aws-sdk/client-connect/dist-types/commands/UpdateRuleCommand.d.ts +8 -1
  82. package/node_modules/@aws-sdk/client-connect/dist-types/commands/UpdateViewMetadataCommand.d.ts +2 -1
  83. package/node_modules/@aws-sdk/client-connect/dist-types/commands/UpdateWorkspaceMetadataCommand.d.ts +1 -1
  84. package/node_modules/@aws-sdk/client-connect/dist-types/commands/UpdateWorkspacePageCommand.d.ts +1 -1
  85. package/node_modules/@aws-sdk/client-connect/dist-types/commands/UpdateWorkspaceThemeCommand.d.ts +1 -1
  86. package/node_modules/@aws-sdk/client-connect/dist-types/commands/UpdateWorkspaceVisibilityCommand.d.ts +1 -1
  87. package/node_modules/@aws-sdk/client-connect/dist-types/commands/index.d.ts +13 -0
  88. package/node_modules/@aws-sdk/client-connect/dist-types/index.d.ts +1 -1
  89. package/node_modules/@aws-sdk/client-connect/dist-types/models/enums.d.ts +129 -0
  90. package/node_modules/@aws-sdk/client-connect/dist-types/models/models_0.d.ts +323 -493
  91. package/node_modules/@aws-sdk/client-connect/dist-types/models/models_1.d.ts +3428 -3494
  92. package/node_modules/@aws-sdk/client-connect/dist-types/models/models_2.d.ts +5751 -5545
  93. package/node_modules/@aws-sdk/client-connect/dist-types/models/models_3.d.ts +3477 -3607
  94. package/node_modules/@aws-sdk/client-connect/dist-types/models/models_4.d.ts +1233 -6
  95. package/node_modules/@aws-sdk/client-connect/dist-types/pagination/ListExtractionDefinitionsPaginator.d.ts +7 -0
  96. package/node_modules/@aws-sdk/client-connect/dist-types/pagination/ListMetricsPaginator.d.ts +7 -0
  97. package/node_modules/@aws-sdk/client-connect/dist-types/pagination/SearchMetricsPaginator.d.ts +7 -0
  98. package/node_modules/@aws-sdk/client-connect/dist-types/pagination/index.d.ts +3 -0
  99. package/node_modules/@aws-sdk/client-connect/dist-types/runtimeConfig.browser.d.ts +40 -40
  100. package/node_modules/@aws-sdk/client-connect/dist-types/runtimeConfig.d.ts +36 -36
  101. package/node_modules/@aws-sdk/client-connect/dist-types/runtimeConfig.native.d.ts +38 -38
  102. package/node_modules/@aws-sdk/client-connect/dist-types/runtimeConfig.shared.d.ts +2 -2
  103. package/node_modules/@aws-sdk/client-connect/dist-types/schemas/schemas_0.d.ts +58 -0
  104. package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/Connect.d.ts +239 -0
  105. package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/ConnectClient.d.ts +75 -0
  106. package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/commands/CreateExtractionDefinitionCommand.d.ts +42 -0
  107. package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/commands/CreateMetricCommand.d.ts +38 -0
  108. package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/commands/CreateTestCaseCommand.d.ts +1 -1
  109. package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/commands/CreateTrafficDistributionGroupCommand.d.ts +1 -1
  110. package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/commands/CreateUseCaseCommand.d.ts +1 -1
  111. package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/commands/CreateUserCommand.d.ts +1 -1
  112. package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/commands/CreateUserHierarchyGroupCommand.d.ts +4 -2
  113. package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/commands/DeleteExtractionDefinitionCommand.d.ts +42 -0
  114. package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/commands/DeleteMetricCommand.d.ts +38 -0
  115. package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/commands/DescribeExtractionDefinitionCommand.d.ts +42 -0
  116. package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/commands/DescribeMetricCommand.d.ts +38 -0
  117. package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/commands/GetCurrentMetricDataCommand.d.ts +1 -1
  118. package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/commands/GetCurrentUserDataCommand.d.ts +1 -1
  119. package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/commands/GetEffectiveHoursOfOperationsCommand.d.ts +1 -1
  120. package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/commands/GetEvaluationFormValidationCommand.d.ts +1 -1
  121. package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/commands/GetFederationTokenCommand.d.ts +1 -1
  122. package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/commands/ListExtractionDefinitionsCommand.d.ts +42 -0
  123. package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/commands/ListMetricsCommand.d.ts +38 -0
  124. package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/commands/SearchAgentStatusesCommand.d.ts +1 -1
  125. package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/commands/SearchContactEvaluationsCommand.d.ts +2 -2
  126. package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/commands/SearchContactFlowModulesCommand.d.ts +2 -2
  127. package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/commands/SearchContactFlowsCommand.d.ts +1 -1
  128. package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/commands/SearchMetricsCommand.d.ts +39 -0
  129. package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/commands/StartAssistantContactCommand.d.ts +39 -0
  130. package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/commands/StartWebRTCContactCommand.d.ts +2 -1
  131. package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/commands/UpdateExtractionDefinitionCommand.d.ts +42 -0
  132. package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/commands/UpdateMetricContentCommand.d.ts +39 -0
  133. package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/commands/UpdateMetricMetadataCommand.d.ts +39 -0
  134. package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/commands/UpdateViewMetadataCommand.d.ts +2 -1
  135. package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/commands/UpdateWorkspaceMetadataCommand.d.ts +1 -1
  136. package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/commands/UpdateWorkspacePageCommand.d.ts +1 -1
  137. package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/commands/UpdateWorkspaceThemeCommand.d.ts +1 -1
  138. package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/commands/UpdateWorkspaceVisibilityCommand.d.ts +1 -1
  139. package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/commands/index.d.ts +13 -0
  140. package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/index.d.ts +1 -1
  141. package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/models/enums.d.ts +62 -0
  142. package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/models/models_0.d.ts +83 -106
  143. package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/models/models_1.d.ts +185 -168
  144. package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/models/models_2.d.ts +200 -191
  145. package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/models/models_3.d.ts +265 -303
  146. package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/models/models_4.d.ts +304 -25
  147. package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/pagination/ListExtractionDefinitionsPaginator.d.ts +11 -0
  148. package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/pagination/ListMetricsPaginator.d.ts +8 -0
  149. package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/pagination/SearchMetricsPaginator.d.ts +11 -0
  150. package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/pagination/index.d.ts +3 -0
  151. package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/runtimeConfig.browser.d.ts +56 -58
  152. package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/runtimeConfig.d.ts +58 -58
  153. package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/runtimeConfig.native.d.ts +60 -62
  154. package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/runtimeConfig.shared.d.ts +3 -3
  155. package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/schemas/schemas_0.d.ts +58 -0
  156. package/node_modules/@aws-sdk/client-connect/package.json +10 -10
  157. package/node_modules/@aws-sdk/client-glue/dist-cjs/index.js +18 -18
  158. package/node_modules/@aws-sdk/client-glue/dist-es/index.js +1 -1
  159. package/node_modules/@aws-sdk/client-glue/dist-es/schemas/schemas_0.js +17 -17
  160. package/node_modules/@aws-sdk/client-glue/dist-types/commands/AssociateGlossaryTermsCommand.d.ts +4 -0
  161. package/node_modules/@aws-sdk/client-glue/dist-types/commands/DeleteAttachmentCommand.d.ts +2 -0
  162. package/node_modules/@aws-sdk/client-glue/dist-types/commands/DisassociateGlossaryTermsCommand.d.ts +4 -0
  163. package/node_modules/@aws-sdk/client-glue/dist-types/commands/PutAssetTypeCommand.d.ts +3 -0
  164. package/node_modules/@aws-sdk/client-glue/dist-types/commands/StartMaterializedViewRefreshTaskRunCommand.d.ts +1 -1
  165. package/node_modules/@aws-sdk/client-glue/dist-types/commands/StopMaterializedViewRefreshTaskRunCommand.d.ts +1 -1
  166. package/node_modules/@aws-sdk/client-glue/dist-types/index.d.ts +1 -1
  167. package/node_modules/@aws-sdk/client-glue/dist-types/models/errors.d.ts +12 -0
  168. package/node_modules/@aws-sdk/client-glue/dist-types/models/models_0.d.ts +20 -0
  169. package/node_modules/@aws-sdk/client-glue/dist-types/models/models_1.d.ts +31 -0
  170. package/node_modules/@aws-sdk/client-glue/dist-types/models/models_2.d.ts +5 -3
  171. package/node_modules/@aws-sdk/client-glue/dist-types/models/models_3.d.ts +3 -2
  172. package/node_modules/@aws-sdk/client-glue/dist-types/runtimeConfig.browser.d.ts +40 -40
  173. package/node_modules/@aws-sdk/client-glue/dist-types/runtimeConfig.d.ts +36 -36
  174. package/node_modules/@aws-sdk/client-glue/dist-types/runtimeConfig.native.d.ts +38 -38
  175. package/node_modules/@aws-sdk/client-glue/dist-types/runtimeConfig.shared.d.ts +2 -2
  176. package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/index.d.ts +1 -1
  177. package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/models/models_0.d.ts +4 -0
  178. package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/models/models_1.d.ts +6 -0
  179. package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/runtimeConfig.browser.d.ts +56 -58
  180. package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/runtimeConfig.d.ts +58 -58
  181. package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/runtimeConfig.native.d.ts +60 -62
  182. package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/runtimeConfig.shared.d.ts +3 -3
  183. package/node_modules/@aws-sdk/client-glue/package.json +10 -10
  184. package/node_modules/@aws-sdk/client-lakeformation/dist-cjs/index.js +1 -1
  185. package/node_modules/@aws-sdk/client-lakeformation/dist-es/index.js +1 -1
  186. package/node_modules/@aws-sdk/client-lakeformation/dist-types/index.d.ts +1 -1
  187. package/node_modules/@aws-sdk/client-lakeformation/dist-types/runtimeConfig.browser.d.ts +41 -41
  188. package/node_modules/@aws-sdk/client-lakeformation/dist-types/runtimeConfig.d.ts +37 -37
  189. package/node_modules/@aws-sdk/client-lakeformation/dist-types/runtimeConfig.native.d.ts +39 -39
  190. package/node_modules/@aws-sdk/client-lakeformation/dist-types/runtimeConfig.shared.d.ts +2 -2
  191. package/node_modules/@aws-sdk/client-lakeformation/dist-types/ts3.4/index.d.ts +1 -1
  192. package/node_modules/@aws-sdk/client-lakeformation/dist-types/ts3.4/runtimeConfig.browser.d.ts +57 -59
  193. package/node_modules/@aws-sdk/client-lakeformation/dist-types/ts3.4/runtimeConfig.d.ts +59 -59
  194. package/node_modules/@aws-sdk/client-lakeformation/dist-types/ts3.4/runtimeConfig.native.d.ts +61 -63
  195. package/node_modules/@aws-sdk/client-lakeformation/dist-types/ts3.4/runtimeConfig.shared.d.ts +3 -3
  196. package/node_modules/@aws-sdk/client-lakeformation/package.json +10 -10
  197. package/node_modules/@aws-sdk/client-ram/dist-cjs/index.js +1 -1
  198. package/node_modules/@aws-sdk/client-ram/dist-es/index.js +1 -1
  199. package/node_modules/@aws-sdk/client-ram/dist-types/index.d.ts +1 -1
  200. package/node_modules/@aws-sdk/client-ram/dist-types/runtimeConfig.browser.d.ts +40 -40
  201. package/node_modules/@aws-sdk/client-ram/dist-types/runtimeConfig.d.ts +36 -36
  202. package/node_modules/@aws-sdk/client-ram/dist-types/runtimeConfig.native.d.ts +38 -38
  203. package/node_modules/@aws-sdk/client-ram/dist-types/runtimeConfig.shared.d.ts +2 -2
  204. package/node_modules/@aws-sdk/client-ram/dist-types/ts3.4/index.d.ts +1 -1
  205. package/node_modules/@aws-sdk/client-ram/dist-types/ts3.4/runtimeConfig.browser.d.ts +56 -58
  206. package/node_modules/@aws-sdk/client-ram/dist-types/ts3.4/runtimeConfig.d.ts +58 -58
  207. package/node_modules/@aws-sdk/client-ram/dist-types/ts3.4/runtimeConfig.native.d.ts +60 -62
  208. package/node_modules/@aws-sdk/client-ram/dist-types/ts3.4/runtimeConfig.shared.d.ts +3 -3
  209. package/node_modules/@aws-sdk/client-ram/package.json +10 -10
  210. package/node_modules/@aws-sdk/client-sts/dist-cjs/index.js +1 -1
  211. package/node_modules/@aws-sdk/client-sts/dist-types/runtimeConfig.browser.d.ts +45 -45
  212. package/node_modules/@aws-sdk/client-sts/dist-types/runtimeConfig.d.ts +36 -36
  213. package/node_modules/@aws-sdk/client-sts/dist-types/runtimeConfig.native.d.ts +44 -44
  214. package/node_modules/@aws-sdk/client-sts/dist-types/runtimeConfig.shared.d.ts +3 -3
  215. package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/runtimeConfig.browser.d.ts +72 -74
  216. package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/runtimeConfig.d.ts +70 -70
  217. package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/runtimeConfig.native.d.ts +76 -78
  218. package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/runtimeConfig.shared.d.ts +5 -5
  219. package/node_modules/@aws-sdk/client-sts/package.json +12 -12
  220. package/node_modules/@aws-sdk/core/dist-types/submodules/client/util-endpoints/lib/aws/partitions.d.ts +54 -54
  221. package/node_modules/@aws-sdk/core/dist-types/submodules/client/util-user-agent-browser/defaultUserAgent.d.ts +1 -1
  222. package/node_modules/@aws-sdk/core/dist-types/submodules/client/util-user-agent-browser/defaultUserAgent.native.d.ts +1 -1
  223. package/node_modules/@aws-sdk/core/dist-types/submodules/client/util-user-agent-node/defaultUserAgent.d.ts +1 -1
  224. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/util-endpoints/lib/aws/partitions.d.ts +54 -54
  225. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/util-user-agent-browser/defaultUserAgent.d.ts +1 -4
  226. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/util-user-agent-browser/defaultUserAgent.native.d.ts +1 -4
  227. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/util-user-agent-node/defaultUserAgent.d.ts +1 -4
  228. package/node_modules/@aws-sdk/core/package.json +6 -6
  229. package/node_modules/@aws-sdk/credential-provider-env/package.json +6 -6
  230. package/node_modules/@aws-sdk/credential-provider-http/package.json +8 -8
  231. package/node_modules/@aws-sdk/credential-provider-ini/package.json +13 -13
  232. package/node_modules/@aws-sdk/credential-provider-login/package.json +7 -7
  233. package/node_modules/@aws-sdk/credential-provider-node/package.json +11 -11
  234. package/node_modules/@aws-sdk/credential-provider-process/package.json +6 -6
  235. package/node_modules/@aws-sdk/credential-provider-sso/package.json +8 -8
  236. package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +7 -7
  237. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/cognito-identity/index.js +1 -1
  238. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/index.js +1 -1
  239. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/index.js +1 -1
  240. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/index.js +1 -1
  241. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/index.js +1 -1
  242. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/runtimeConfig.browser.d.ts +42 -42
  243. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/runtimeConfig.d.ts +42 -42
  244. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/runtimeConfig.native.d.ts +41 -41
  245. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/runtimeConfig.shared.d.ts +2 -2
  246. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/runtimeConfig.browser.d.ts +43 -43
  247. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/runtimeConfig.d.ts +43 -43
  248. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/runtimeConfig.native.d.ts +42 -42
  249. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/runtimeConfig.shared.d.ts +2 -2
  250. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/runtimeConfig.browser.d.ts +42 -42
  251. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/runtimeConfig.d.ts +42 -42
  252. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/runtimeConfig.native.d.ts +41 -41
  253. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/runtimeConfig.shared.d.ts +2 -2
  254. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/runtimeConfig.browser.d.ts +42 -42
  255. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/runtimeConfig.d.ts +42 -42
  256. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/runtimeConfig.native.d.ts +41 -41
  257. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/runtimeConfig.shared.d.ts +2 -2
  258. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/runtimeConfig.browser.d.ts +44 -44
  259. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/runtimeConfig.d.ts +35 -35
  260. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/runtimeConfig.native.d.ts +43 -43
  261. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/runtimeConfig.shared.d.ts +2 -2
  262. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/runtimeConfig.browser.d.ts +64 -66
  263. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/runtimeConfig.d.ts +65 -65
  264. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/runtimeConfig.native.d.ts +68 -70
  265. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/runtimeConfig.shared.d.ts +3 -3
  266. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/runtimeConfig.browser.d.ts +67 -69
  267. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/runtimeConfig.d.ts +66 -66
  268. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/runtimeConfig.native.d.ts +71 -73
  269. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/runtimeConfig.shared.d.ts +3 -3
  270. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/runtimeConfig.browser.d.ts +64 -66
  271. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/runtimeConfig.d.ts +65 -65
  272. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/runtimeConfig.native.d.ts +68 -70
  273. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/runtimeConfig.shared.d.ts +3 -3
  274. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/runtimeConfig.browser.d.ts +64 -66
  275. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/runtimeConfig.d.ts +65 -65
  276. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/runtimeConfig.native.d.ts +68 -70
  277. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/runtimeConfig.shared.d.ts +3 -3
  278. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/runtimeConfig.browser.d.ts +68 -70
  279. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/runtimeConfig.d.ts +68 -68
  280. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/runtimeConfig.native.d.ts +72 -74
  281. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/runtimeConfig.shared.d.ts +3 -3
  282. package/node_modules/@aws-sdk/nested-clients/package.json +9 -9
  283. package/node_modules/@aws-sdk/signature-v4-multi-region/package.json +4 -4
  284. package/node_modules/@aws-sdk/token-providers/dist-cjs/index.js +8 -4
  285. package/node_modules/@aws-sdk/token-providers/dist-es/fromSso.js +8 -4
  286. package/node_modules/@aws-sdk/token-providers/package.json +7 -7
  287. package/node_modules/@aws-sdk/types/package.json +3 -3
  288. package/node_modules/@aws-sdk/xml-builder/package.json +3 -3
  289. package/node_modules/@smithy/core/dist-cjs/index.js +3 -1
  290. package/node_modules/@smithy/core/dist-cjs/submodules/cbor/index.js +127 -41
  291. package/node_modules/@smithy/core/dist-cjs/submodules/client/index.js +14 -3
  292. package/node_modules/@smithy/core/dist-cjs/submodules/endpoints/index.browser.js +3 -1
  293. package/node_modules/@smithy/core/dist-cjs/submodules/endpoints/index.js +3 -1
  294. package/node_modules/@smithy/core/dist-cjs/submodules/event-streams/index.browser.js +33 -24
  295. package/node_modules/@smithy/core/dist-cjs/submodules/event-streams/index.js +33 -24
  296. package/node_modules/@smithy/core/dist-cjs/submodules/protocols/index.js +33 -15
  297. package/node_modules/@smithy/core/dist-cjs/submodules/retry/index.browser.js +4 -1
  298. package/node_modules/@smithy/core/dist-cjs/submodules/retry/index.js +4 -1
  299. package/node_modules/@smithy/core/dist-cjs/submodules/schema/index.js +0 -10
  300. package/node_modules/@smithy/core/dist-cjs/submodules/serde/index.browser.js +4 -1
  301. package/node_modules/@smithy/core/dist-cjs/submodules/serde/index.js +4 -1
  302. package/node_modules/@smithy/core/dist-cjs/submodules/serde/index.native.js +4 -1
  303. package/node_modules/@smithy/core/dist-cjs/submodules/transport/index.js +7 -0
  304. package/node_modules/@smithy/core/dist-es/legacy-root-exports/util-identity-and-auth/DefaultIdentityProviderConfig.js +3 -0
  305. package/node_modules/@smithy/core/dist-es/submodules/cbor/SmithyRpcV2CborProtocol.js +1 -2
  306. package/node_modules/@smithy/core/dist-es/submodules/cbor/cbor-decode.js +29 -13
  307. package/node_modules/@smithy/core/dist-es/submodules/cbor/cbor-encode.js +12 -4
  308. package/node_modules/@smithy/core/dist-es/submodules/cbor/codec-v1/CborShapeDeserializer.js +9 -0
  309. package/node_modules/@smithy/core/dist-es/submodules/cbor/codec-v1/CborShapeSerializer.js +7 -0
  310. package/node_modules/@smithy/core/dist-es/submodules/cbor/codec-v2/CborShapeDeserializer2.js +44 -15
  311. package/node_modules/@smithy/core/dist-es/submodules/cbor/codec-v2/CborShapeSerializer2.js +22 -4
  312. package/node_modules/@smithy/core/dist-es/submodules/cbor/parseCborBody.js +5 -0
  313. package/node_modules/@smithy/core/dist-es/submodules/client/smithy-client/extensions/checksum.js +3 -0
  314. package/node_modules/@smithy/core/dist-es/submodules/client/smithy-client/get-value-from-text-node.js +4 -1
  315. package/node_modules/@smithy/core/dist-es/submodules/client/smithy-client/object-mapping.js +6 -1
  316. package/node_modules/@smithy/core/dist-es/submodules/client/smithy-client/serde-json.js +4 -1
  317. package/node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/resolveEndpoint.js +3 -0
  318. package/node_modules/@smithy/core/dist-es/submodules/event-streams/EventStreamSerde.js +11 -4
  319. package/node_modules/@smithy/core/dist-es/submodules/event-streams/eventstream-codec/HeaderMarshaller.js +23 -20
  320. package/node_modules/@smithy/core/dist-es/submodules/protocols/HttpBindingProtocol.js +9 -0
  321. package/node_modules/@smithy/core/dist-es/submodules/protocols/HttpProtocol.js +5 -0
  322. package/node_modules/@smithy/core/dist-es/submodules/protocols/RpcProtocol.js +6 -4
  323. package/node_modules/@smithy/core/dist-es/submodules/protocols/middleware-content-length/contentLengthMiddleware.js +6 -4
  324. package/node_modules/@smithy/core/dist-es/submodules/protocols/protocol-http/extensions/httpExtensionConfiguration.js +8 -5
  325. package/node_modules/@smithy/core/dist-es/submodules/retry/middleware-retry/parseRetryAfterHeader.js +4 -1
  326. package/node_modules/@smithy/core/dist-es/submodules/schema/schemas/ListSchema.js +0 -2
  327. package/node_modules/@smithy/core/dist-es/submodules/schema/schemas/MapSchema.js +0 -2
  328. package/node_modules/@smithy/core/dist-es/submodules/schema/schemas/OperationSchema.js +0 -2
  329. package/node_modules/@smithy/core/dist-es/submodules/schema/schemas/SimpleSchema.js +0 -2
  330. package/node_modules/@smithy/core/dist-es/submodules/schema/schemas/StructureSchema.js +0 -2
  331. package/node_modules/@smithy/core/dist-es/submodules/serde/index.browser.js +1 -0
  332. package/node_modules/@smithy/core/dist-es/submodules/serde/index.js +1 -0
  333. package/node_modules/@smithy/core/dist-es/submodules/serde/index.native.js +1 -0
  334. package/node_modules/@smithy/core/dist-es/submodules/serde/parse-utils.js +3 -0
  335. package/node_modules/@smithy/core/dist-es/submodules/transport/hasOwn.js +3 -0
  336. package/node_modules/@smithy/core/dist-es/submodules/transport/index.js +1 -0
  337. package/node_modules/@smithy/core/dist-es/submodules/transport/toEndpointV1.js +3 -0
  338. package/node_modules/@smithy/core/dist-types/submodules/client/smithy-client/extensions/defaultExtensionConfiguration.d.ts +1 -7
  339. package/node_modules/@smithy/core/dist-types/submodules/config/config-resolver/regionConfig/checkRegion.d.ts +2 -1
  340. package/node_modules/@smithy/core/dist-types/submodules/endpoints/util-endpoints/utils/evaluateCondition.d.ts +1 -1
  341. package/node_modules/@smithy/core/dist-types/submodules/endpoints/util-endpoints/utils/evaluateConditions.d.ts +1 -1
  342. package/node_modules/@smithy/core/dist-types/submodules/endpoints/util-endpoints/utils/evaluateExpression.d.ts +2 -2
  343. package/node_modules/@smithy/core/dist-types/submodules/endpoints/util-endpoints/utils/evaluateRules.d.ts +2 -2
  344. package/node_modules/@smithy/core/dist-types/submodules/endpoints/util-endpoints/utils/getEndpointProperties.d.ts +2 -2
  345. package/node_modules/@smithy/core/dist-types/submodules/endpoints/util-endpoints/utils/getReferenceValue.d.ts +2 -2
  346. package/node_modules/@smithy/core/dist-types/submodules/event-streams/EventStreamSerde.d.ts +14 -2
  347. package/node_modules/@smithy/core/dist-types/submodules/protocols/protocol-http/extensions/httpExtensionConfiguration.d.ts +7 -2
  348. package/node_modules/@smithy/core/dist-types/submodules/retry/util-retry/retries-2026-config.d.ts +2 -2
  349. package/node_modules/@smithy/core/dist-types/submodules/schema/TypeRegistry.d.ts +1 -1
  350. package/node_modules/@smithy/core/dist-types/submodules/serde/index.browser.d.ts +1 -0
  351. package/node_modules/@smithy/core/dist-types/submodules/serde/index.d.ts +1 -0
  352. package/node_modules/@smithy/core/dist-types/submodules/serde/index.native.d.ts +1 -0
  353. package/node_modules/@smithy/core/dist-types/submodules/serde/parse-utils.d.ts +5 -5
  354. package/node_modules/@smithy/core/dist-types/submodules/transport/hasOwn.d.ts +4 -0
  355. package/node_modules/@smithy/core/dist-types/submodules/transport/index.d.ts +1 -0
  356. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/client/smithy-client/extensions/defaultExtensionConfiguration.d.ts +1 -7
  357. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/config/config-resolver/regionConfig/checkRegion.d.ts +2 -1
  358. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/util-endpoints/utils/evaluateCondition.d.ts +1 -1
  359. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/util-endpoints/utils/evaluateConditions.d.ts +1 -1
  360. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/util-endpoints/utils/evaluateExpression.d.ts +2 -2
  361. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/util-endpoints/utils/evaluateRules.d.ts +2 -2
  362. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/util-endpoints/utils/getEndpointProperties.d.ts +2 -2
  363. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/util-endpoints/utils/getReferenceValue.d.ts +2 -2
  364. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/event-streams/EventStreamSerde.d.ts +14 -2
  365. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/protocol-http/extensions/httpExtensionConfiguration.d.ts +7 -2
  366. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/retry/util-retry/retries-2026-config.d.ts +2 -2
  367. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/TypeRegistry.d.ts +1 -1
  368. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/index.browser.d.ts +1 -0
  369. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/index.d.ts +1 -0
  370. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/index.native.d.ts +1 -0
  371. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/parse-utils.d.ts +5 -5
  372. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/transport/hasOwn.d.ts +4 -0
  373. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/transport/index.d.ts +1 -0
  374. package/node_modules/@smithy/core/package.json +3 -11
  375. package/node_modules/@smithy/credential-provider-imds/package.json +4 -12
  376. package/node_modules/@smithy/fetch-http-handler/package.json +5 -13
  377. package/node_modules/@smithy/node-http-handler/dist-cjs/index.js +16 -4
  378. package/node_modules/@smithy/node-http-handler/dist-es/get-transformed-headers.js +3 -0
  379. package/node_modules/@smithy/node-http-handler/dist-es/node-http-handler.js +12 -2
  380. package/node_modules/@smithy/node-http-handler/dist-types/node-http2-handler.d.ts +1 -1
  381. package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http2-handler.d.ts +1 -1
  382. package/node_modules/@smithy/node-http-handler/package.json +5 -13
  383. package/node_modules/@smithy/signature-v4/dist-cjs/index.js +28 -16
  384. package/node_modules/@smithy/signature-v4/dist-es/HeaderFormatter.js +13 -10
  385. package/node_modules/@smithy/signature-v4/dist-es/getCanonicalQuery.js +4 -1
  386. package/node_modules/@smithy/signature-v4/dist-es/getPayloadHash.js +4 -1
  387. package/node_modules/@smithy/signature-v4/dist-es/headerUtil.js +10 -3
  388. package/node_modules/@smithy/signature-v4/dist-es/moveHeadersToQuery.js +4 -1
  389. package/node_modules/@smithy/signature-v4/dist-es/prepareRequest.js +4 -1
  390. package/node_modules/@smithy/signature-v4/package.json +4 -12
  391. package/node_modules/@smithy/types/dist-types/schema/sentinels.d.ts +14 -14
  392. package/node_modules/@smithy/types/package.json +29 -39
  393. package/package.json +9 -9
@@ -1,3 +1,4 @@
1
+ import { hasOwn } from "@smithy/core/transport";
1
2
  import { SerdeContext } from "@smithy/core/protocols";
2
3
  import { NormalizedSchema } from "@smithy/core/schema";
3
4
  import { NumericValue, _parseEpochTimestamp, fromBase64 } from "@smithy/core/serde";
@@ -59,6 +60,8 @@ export class CborShapeDeserializer extends SerdeContext {
59
60
  if (ns.isMapSchema()) {
60
61
  const targetSchema = ns.getValueSchema();
61
62
  for (const key in value) {
63
+ if (!hasOwn(value, key))
64
+ continue;
62
65
  const itemValue = this.readValue(targetSchema, value[key]);
63
66
  newObject[key] = itemValue;
64
67
  }
@@ -69,6 +72,8 @@ export class CborShapeDeserializer extends SerdeContext {
69
72
  if (isUnion) {
70
73
  keys = new Set();
71
74
  for (const k in value) {
75
+ if (!hasOwn(value, k))
76
+ continue;
72
77
  if (k !== "__type") {
73
78
  keys.add(k);
74
79
  }
@@ -85,6 +90,8 @@ export class CborShapeDeserializer extends SerdeContext {
85
90
  if (isUnion && keys?.size === 1) {
86
91
  let newObjectEmpty = true;
87
92
  for (const _ in newObject) {
93
+ if (!hasOwn(newObject, _))
94
+ continue;
88
95
  newObjectEmpty = false;
89
96
  break;
90
97
  }
@@ -95,6 +102,8 @@ export class CborShapeDeserializer extends SerdeContext {
95
102
  }
96
103
  else if (typeof value.__type === "string") {
97
104
  for (const k in value) {
105
+ if (!hasOwn(value, k))
106
+ continue;
98
107
  if (!(k in newObject)) {
99
108
  newObject[k] = value[k];
100
109
  }
@@ -1,3 +1,4 @@
1
+ import { hasOwn } from "@smithy/core/transport";
1
2
  import { SerdeContext } from "@smithy/core/protocols";
2
3
  import { NormalizedSchema } from "@smithy/core/schema";
3
4
  import { fromBase64, generateIdempotencyToken } from "@smithy/core/serde";
@@ -49,6 +50,8 @@ export class CborShapeSerializer extends SerdeContext {
49
50
  if (ns.isMapSchema()) {
50
51
  const sparse = !!ns.getMergedTraits().sparse;
51
52
  for (const key in sourceObject) {
53
+ if (!hasOwn(sourceObject, key))
54
+ continue;
52
55
  const value = this.serialize(ns.getValueSchema(), sourceObject[key]);
53
56
  if (value != null || sparse) {
54
57
  newObject[key] = value;
@@ -69,6 +72,8 @@ export class CborShapeSerializer extends SerdeContext {
69
72
  }
70
73
  else if (typeof sourceObject.__type === "string") {
71
74
  for (const k in sourceObject) {
75
+ if (!hasOwn(sourceObject, k))
76
+ continue;
72
77
  if (!(k in newObject)) {
73
78
  newObject[k] = this.serialize(15, sourceObject[k]);
74
79
  }
@@ -85,6 +90,8 @@ export class CborShapeSerializer extends SerdeContext {
85
90
  return newArray;
86
91
  }
87
92
  for (const key in sourceObject) {
93
+ if (!hasOwn(sourceObject, key))
94
+ continue;
88
95
  newObject[key] = this.serialize(ns.getValueSchema(), sourceObject[key]);
89
96
  }
90
97
  }
@@ -1,3 +1,4 @@
1
+ import { hasOwn } from "@smithy/core/transport";
1
2
  import { SerdeContext } from "@smithy/core/protocols";
2
3
  import { NormalizedSchema } from "@smithy/core/schema";
3
4
  import { NumericValue, _parseEpochTimestamp, nv } from "@smithy/core/serde";
@@ -120,6 +121,8 @@ function readStruct(ns, count, startPos) {
120
121
  if (isUnion) {
121
122
  let resultEmpty = true;
122
123
  for (const _ in result) {
124
+ if (!hasOwn(result, _))
125
+ continue;
123
126
  resultEmpty = false;
124
127
  break;
125
128
  }
@@ -159,23 +162,39 @@ function readTag(ns) {
159
162
  if (tagNumber === 4) {
160
163
  const docSchema = NormalizedSchema.of(15);
161
164
  const pair = readValue(docSchema);
162
- const [exponent, mantissa] = pair;
165
+ const [rawExponent, mantissa] = pair;
163
166
  const normalizer = mantissa < 0 ? -1 : 1;
164
- const mantissaStr = "0".repeat(Math.abs(exponent) + 1) + String(BigInt(normalizer) * BigInt(mantissa));
165
- let numericString;
167
+ const absMantissa = BigInt(normalizer) * BigInt(mantissa);
168
+ const mantissaDigits = String(absMantissa);
166
169
  const sign = mantissa < 0 ? "-" : "";
167
- numericString =
168
- exponent === 0
169
- ? mantissaStr
170
- : mantissaStr.slice(0, mantissaStr.length + exponent) + "." + mantissaStr.slice(exponent);
171
- numericString = numericString.replace(/^0+/g, "");
172
- if (numericString === "") {
173
- numericString = "0";
174
- }
175
- if (numericString[0] === ".") {
176
- numericString = "0" + numericString;
177
- }
178
- numericString = sign + numericString;
170
+ let numericString;
171
+ const isSmallExponent = typeof rawExponent === "number" && Math.abs(rawExponent) <= 2 ** 28;
172
+ if (isSmallExponent) {
173
+ const exponent = rawExponent;
174
+ const mantissaStr = "0".repeat(Math.abs(exponent) + 1) + mantissaDigits;
175
+ numericString =
176
+ exponent === 0
177
+ ? mantissaStr
178
+ : mantissaStr.slice(0, mantissaStr.length + exponent) + "." + mantissaStr.slice(exponent);
179
+ numericString = numericString.replace(/^0+/g, "");
180
+ if (numericString === "") {
181
+ numericString = "0";
182
+ }
183
+ if (numericString[0] === ".") {
184
+ numericString = "0" + numericString;
185
+ }
186
+ numericString = sign + numericString;
187
+ }
188
+ else {
189
+ const bigExponent = BigInt(rawExponent);
190
+ if (mantissaDigits.length === 1) {
191
+ numericString = sign + mantissaDigits + "e" + String(bigExponent);
192
+ }
193
+ else {
194
+ const adjustedExp = bigExponent + BigInt(mantissaDigits.length - 1);
195
+ numericString = sign + mantissaDigits[0] + "." + mantissaDigits.slice(1) + "e" + String(adjustedExp);
196
+ }
197
+ }
179
198
  return nv(numericString);
180
199
  }
181
200
  const docSchema = NormalizedSchema.of(15);
@@ -272,6 +291,8 @@ function readMapIndefinite(ns) {
272
291
  if (isUnion) {
273
292
  let resultEmpty = true;
274
293
  for (const _ in result) {
294
+ if (!hasOwn(result, _))
295
+ continue;
275
296
  resultEmpty = false;
276
297
  break;
277
298
  }
@@ -576,6 +597,8 @@ function transformObject(ns, value) {
576
597
  if (ns.isMapSchema()) {
577
598
  const targetSchema = ns.getValueSchema();
578
599
  for (const key in value) {
600
+ if (!hasOwn(value, key))
601
+ continue;
579
602
  newObject[key] = transformObject(targetSchema, value[key]);
580
603
  }
581
604
  }
@@ -585,6 +608,8 @@ function transformObject(ns, value) {
585
608
  if (isUnion) {
586
609
  keys = new Set();
587
610
  for (const k in value) {
611
+ if (!hasOwn(value, k))
612
+ continue;
588
613
  if (k !== "__type") {
589
614
  keys.add(k);
590
615
  }
@@ -601,6 +626,8 @@ function transformObject(ns, value) {
601
626
  if (isUnion && keys?.size === 1) {
602
627
  let newObjectEmpty = true;
603
628
  for (const _ in newObject) {
629
+ if (!hasOwn(newObject, _))
630
+ continue;
604
631
  newObjectEmpty = false;
605
632
  break;
606
633
  }
@@ -611,6 +638,8 @@ function transformObject(ns, value) {
611
638
  }
612
639
  else if (typeof value.__type === "string") {
613
640
  for (const k in value) {
641
+ if (!hasOwn(value, k))
642
+ continue;
614
643
  if (!(k in newObject)) {
615
644
  newObject[k] = value[k];
616
645
  }
@@ -1,3 +1,4 @@
1
+ import { hasOwn } from "@smithy/core/transport";
1
2
  import { SerdeContext } from "@smithy/core/protocols";
2
3
  import { NormalizedSchema } from "@smithy/core/schema";
3
4
  import { NumericValue, fromBase64, generateIdempotencyToken } from "@smithy/core/serde";
@@ -253,6 +254,8 @@ function writeStruct(ns, value, serdeContext) {
253
254
  }
254
255
  if (typeof value.__type === "string") {
255
256
  for (const k in value) {
257
+ if (!hasOwn(value, k))
258
+ continue;
256
259
  if (!memberNames.includes(k)) {
257
260
  writeString(k);
258
261
  writeUntypedValue(value[k]);
@@ -318,6 +321,8 @@ function writeMap(ns, value, isDocument, serdeContext) {
318
321
  const valueSchema = ns.getValueSchema();
319
322
  const keys = [];
320
323
  for (const k in value) {
324
+ if (!hasOwn(value, k))
325
+ continue;
321
326
  const v = value[k];
322
327
  if (isDocument ? v !== undefined : v != null || sparse) {
323
328
  keys.push(k);
@@ -579,14 +584,27 @@ function writeTag(tagValue, innerValue) {
579
584
  writeUntypedValue(innerValue);
580
585
  }
581
586
  function writeNumericValue(nv) {
582
- const decimalIndex = nv.string.indexOf(".");
583
- const exponent = decimalIndex === -1 ? 0 : decimalIndex - nv.string.length + 1;
584
- const mantissa = BigInt(nv.string.replace(".", ""));
587
+ let str = nv.string;
588
+ let expOffset = BigInt(0);
589
+ const eIndex = str.search(/[eE]/);
590
+ if (eIndex !== -1) {
591
+ expOffset = BigInt(str.slice(eIndex + 1));
592
+ str = str.slice(0, eIndex);
593
+ }
594
+ const decimalIndex = str.indexOf(".");
595
+ const fractionDigits = decimalIndex === -1 ? 0 : str.length - decimalIndex - 1;
596
+ const exponent = expOffset - BigInt(fractionDigits);
597
+ const mantissa = BigInt(str.replace(".", ""));
585
598
  ensure(9);
586
599
  buf[cursor++] = 0b110_00100;
587
600
  encodeHeader(majorList, 2);
588
601
  ensure(9);
589
- writeInteger(exponent);
602
+ if (exponent >= -0x20000000000000n && exponent <= 0x1fffffffffffffn) {
603
+ writeInteger(Number(exponent));
604
+ }
605
+ else {
606
+ writeBigInt(exponent);
607
+ }
590
608
  writeBigInt(mantissa);
591
609
  }
592
610
  function writeTimestamp(date) {
@@ -1,3 +1,4 @@
1
+ import { hasOwn } from "@smithy/core/transport";
1
2
  import { HttpRequest as __HttpRequest, collectBody } from "@smithy/core/protocols";
2
3
  import { calculateBodyLength } from "@smithy/core/serde";
3
4
  import { cbor } from "./cbor";
@@ -51,6 +52,8 @@ export const loadSmithyRpcV2CborErrorCode = (output, data) => {
51
52
  }
52
53
  let codeKey;
53
54
  for (const key in data) {
55
+ if (!hasOwn(data, key))
56
+ continue;
54
57
  if (key.toLowerCase() === "code") {
55
58
  codeKey = key;
56
59
  break;
@@ -83,6 +86,8 @@ export const buildHttpRpcRequest = async (context, headers, path, resolvedHostna
83
86
  }
84
87
  if (endpoint.headers) {
85
88
  for (const name in endpoint.headers) {
89
+ if (!hasOwn(endpoint.headers, name))
90
+ continue;
86
91
  contents.headers[name] = endpoint.headers[name];
87
92
  }
88
93
  }
@@ -1,9 +1,12 @@
1
+ import { hasOwn } from "@smithy/core/transport";
1
2
  import { AlgorithmId, } from "@smithy/types";
2
3
  export { AlgorithmId };
3
4
  const knownAlgorithms = Object.values(AlgorithmId);
4
5
  export const getChecksumConfiguration = (runtimeConfig) => {
5
6
  const checksumAlgorithms = [];
6
7
  for (const id in AlgorithmId) {
8
+ if (!hasOwn(AlgorithmId, id))
9
+ continue;
7
10
  const algorithmId = AlgorithmId[id];
8
11
  if (runtimeConfig[algorithmId] === undefined) {
9
12
  continue;
@@ -1,7 +1,10 @@
1
+ import { hasOwn } from "@smithy/core/transport";
1
2
  export const getValueFromTextNode = (obj) => {
2
3
  const textNodeName = "#text";
3
4
  for (const key in obj) {
4
- if (Object.prototype.hasOwnProperty.call(obj, key) && obj[key][textNodeName] !== undefined) {
5
+ if (!hasOwn(obj, key))
6
+ continue;
7
+ if (obj[key][textNodeName] !== undefined) {
5
8
  obj[key] = obj[key][textNodeName];
6
9
  }
7
10
  else if (typeof obj[key] === "object" && obj[key] !== null) {
@@ -1,3 +1,4 @@
1
+ import { hasOwn } from "@smithy/core/transport";
1
2
  export function map(arg0, arg1, arg2) {
2
3
  let target;
3
4
  let filter;
@@ -17,7 +18,9 @@ export function map(arg0, arg1, arg2) {
17
18
  instructions = arg1;
18
19
  }
19
20
  }
20
- for (const key of Object.keys(instructions)) {
21
+ for (const key in instructions) {
22
+ if (!hasOwn(instructions, key))
23
+ continue;
21
24
  if (!Array.isArray(instructions[key])) {
22
25
  target[key] = instructions[key];
23
26
  continue;
@@ -36,6 +39,8 @@ export const convertMap = (target) => {
36
39
  export const take = (source, instructions) => {
37
40
  const out = {};
38
41
  for (const key in instructions) {
42
+ if (!hasOwn(instructions, key))
43
+ continue;
39
44
  applyInstruction(out, source, instructions, key);
40
45
  }
41
46
  return out;
@@ -1,3 +1,4 @@
1
+ import { hasOwn } from "@smithy/core/transport";
1
2
  export const _json = (obj) => {
2
3
  if (obj == null) {
3
4
  return {};
@@ -7,7 +8,9 @@ export const _json = (obj) => {
7
8
  }
8
9
  if (typeof obj === "object") {
9
10
  const target = {};
10
- for (const key of Object.keys(obj)) {
11
+ for (const key in obj) {
12
+ if (!hasOwn(obj, key))
13
+ continue;
11
14
  if (obj[key] == null) {
12
15
  continue;
13
16
  }
@@ -1,3 +1,4 @@
1
+ import { hasOwn } from "@smithy/core/transport";
1
2
  import { debugId, toDebugString } from "./debug";
2
3
  import { EndpointError } from "./types";
3
4
  import { evaluateRules } from "./utils";
@@ -6,6 +7,8 @@ export const resolveEndpoint = (ruleSetObject, options) => {
6
7
  const { parameters, rules } = ruleSetObject;
7
8
  options.logger?.debug?.(`${debugId} Initial EndpointParams: ${toDebugString(endpointParams)}`);
8
9
  for (const paramKey in parameters) {
10
+ if (!hasOwn(parameters, paramKey))
11
+ continue;
9
12
  const parameter = parameters[paramKey];
10
13
  const endpointParam = endpointParams[paramKey];
11
14
  if (endpointParam == null && parameter.default != null) {
@@ -1,3 +1,4 @@
1
+ import { hasOwn } from "@smithy/core/transport";
1
2
  import { TypeRegistry } from "@smithy/core/schema";
2
3
  import { fromUtf8, toUtf8 } from "@smithy/core/serde";
3
4
  export class EventStreamSerde {
@@ -15,7 +16,7 @@ export class EventStreamSerde {
15
16
  this.defaultContentType = defaultContentType;
16
17
  this.compositeErrorRegistry = compositeErrorRegistry;
17
18
  }
18
- async serializeEventStream({ eventStream, requestSchema, initialRequest, }) {
19
+ async serializeEventStream({ eventStream, requestSchema, initialRequest, initialMessageType, }) {
19
20
  const marshaller = this.marshaller;
20
21
  const eventStreamMember = requestSchema.getEventStreamMember();
21
22
  const unionSchema = requestSchema.getMemberSchema(eventStreamMember);
@@ -26,7 +27,7 @@ export class EventStreamSerde {
26
27
  async *[Symbol.asyncIterator]() {
27
28
  if (initialRequest) {
28
29
  const headers = {
29
- ":event-type": { type: "string", value: "initial-request" },
30
+ ":event-type": { type: "string", value: initialMessageType ?? "initial-request" },
30
31
  ":message-type": { type: "string", value: "event" },
31
32
  ":content-type": { type: "string", value: defaultContentType },
32
33
  };
@@ -52,6 +53,8 @@ export class EventStreamSerde {
52
53
  }
53
54
  let unionMember = "";
54
55
  for (const key in event) {
56
+ if (!hasOwn(event, key))
57
+ continue;
55
58
  if (key !== "__type") {
56
59
  unionMember = key;
57
60
  break;
@@ -70,7 +73,7 @@ export class EventStreamSerde {
70
73
  };
71
74
  });
72
75
  }
73
- async deserializeEventStream({ response, responseSchema, initialResponseContainer, }) {
76
+ async deserializeEventStream({ response, responseSchema, initialResponseContainer, initialMessageType, }) {
74
77
  const marshaller = this.marshaller;
75
78
  const eventStreamMember = responseSchema.getEventStreamMember();
76
79
  const unionSchema = responseSchema.getMemberSchema(eventStreamMember);
@@ -79,13 +82,15 @@ export class EventStreamSerde {
79
82
  const asyncIterable = marshaller.deserialize(response.body, async (event) => {
80
83
  let unionMember = "";
81
84
  for (const key in event) {
85
+ if (!hasOwn(event, key))
86
+ continue;
82
87
  if (key !== "__type") {
83
88
  unionMember = key;
84
89
  break;
85
90
  }
86
91
  }
87
92
  const body = event[unionMember].body;
88
- if (unionMember === "initial-response") {
93
+ if (unionMember === (initialMessageType ?? "initial-response")) {
89
94
  const dataObject = await this.deserializer.read(responseSchema, body);
90
95
  delete dataObject[eventStreamMember];
91
96
  return {
@@ -153,6 +158,8 @@ export class EventStreamSerde {
153
158
  throw new Error("@smithy::core/protocols - initial-response event encountered in event stream but no response schema given.");
154
159
  }
155
160
  for (const key in firstEvent.value) {
161
+ if (!hasOwn(firstEvent.value, key))
162
+ continue;
156
163
  initialResponseContainer[key] = firstEvent.value[key];
157
164
  }
158
165
  }
@@ -1,3 +1,4 @@
1
+ import { hasOwn } from "@smithy/core/transport";
1
2
  import { fromHex, toHex } from "@smithy/core/serde";
2
3
  import { Int64 } from "./Int64";
3
4
  export class HeaderMarshaller {
@@ -9,7 +10,9 @@ export class HeaderMarshaller {
9
10
  }
10
11
  format(headers) {
11
12
  const chunks = [];
12
- for (const headerName of Object.keys(headers)) {
13
+ for (const headerName in headers) {
14
+ if (!hasOwn(headers, headerName))
15
+ continue;
13
16
  const bytes = this.fromUtf8(headerName);
14
17
  chunks.push(Uint8Array.from([bytes.byteLength]), bytes, this.formatHeaderValue(headers[headerName]));
15
18
  }
@@ -24,27 +27,27 @@ export class HeaderMarshaller {
24
27
  formatHeaderValue(header) {
25
28
  switch (header.type) {
26
29
  case "boolean":
27
- return Uint8Array.from([header.value ? HEADER_VALUE_TYPE.boolTrue : HEADER_VALUE_TYPE.boolFalse]);
30
+ return Uint8Array.from([header.value ? 0 : 1]);
28
31
  case "byte":
29
- return Uint8Array.from([HEADER_VALUE_TYPE.byte, header.value]);
32
+ return Uint8Array.from([2, header.value]);
30
33
  case "short":
31
34
  const shortView = new DataView(new ArrayBuffer(3));
32
- shortView.setUint8(0, HEADER_VALUE_TYPE.short);
35
+ shortView.setUint8(0, 3);
33
36
  shortView.setInt16(1, header.value, false);
34
37
  return new Uint8Array(shortView.buffer);
35
38
  case "integer":
36
39
  const intView = new DataView(new ArrayBuffer(5));
37
- intView.setUint8(0, HEADER_VALUE_TYPE.integer);
40
+ intView.setUint8(0, 4);
38
41
  intView.setInt32(1, header.value, false);
39
42
  return new Uint8Array(intView.buffer);
40
43
  case "long":
41
44
  const longBytes = new Uint8Array(9);
42
- longBytes[0] = HEADER_VALUE_TYPE.long;
45
+ longBytes[0] = 5;
43
46
  longBytes.set(header.value.bytes, 1);
44
47
  return longBytes;
45
48
  case "binary":
46
49
  const binView = new DataView(new ArrayBuffer(3 + header.value.byteLength));
47
- binView.setUint8(0, HEADER_VALUE_TYPE.byteArray);
50
+ binView.setUint8(0, 6);
48
51
  binView.setUint16(1, header.value.byteLength, false);
49
52
  const binBytes = new Uint8Array(binView.buffer);
50
53
  binBytes.set(header.value, 3);
@@ -52,14 +55,14 @@ export class HeaderMarshaller {
52
55
  case "string":
53
56
  const utf8Bytes = this.fromUtf8(header.value);
54
57
  const strView = new DataView(new ArrayBuffer(3 + utf8Bytes.byteLength));
55
- strView.setUint8(0, HEADER_VALUE_TYPE.string);
58
+ strView.setUint8(0, 7);
56
59
  strView.setUint16(1, utf8Bytes.byteLength, false);
57
60
  const strBytes = new Uint8Array(strView.buffer);
58
61
  strBytes.set(utf8Bytes, 3);
59
62
  return strBytes;
60
63
  case "timestamp":
61
64
  const tsBytes = new Uint8Array(9);
62
- tsBytes[0] = HEADER_VALUE_TYPE.timestamp;
65
+ tsBytes[0] = 8;
63
66
  tsBytes.set(Int64.fromNumber(header.value.valueOf()).bytes, 1);
64
67
  return tsBytes;
65
68
  case "uuid":
@@ -67,7 +70,7 @@ export class HeaderMarshaller {
67
70
  throw new Error(`Invalid UUID received: ${header.value}`);
68
71
  }
69
72
  const uuidBytes = new Uint8Array(17);
70
- uuidBytes[0] = HEADER_VALUE_TYPE.uuid;
73
+ uuidBytes[0] = 9;
71
74
  uuidBytes.set(fromHex(header.value.replace(/-/g, "")), 1);
72
75
  return uuidBytes;
73
76
  }
@@ -80,46 +83,46 @@ export class HeaderMarshaller {
80
83
  const name = this.toUtf8(new Uint8Array(headers.buffer, headers.byteOffset + position, nameLength));
81
84
  position += nameLength;
82
85
  switch (headers.getUint8(position++)) {
83
- case HEADER_VALUE_TYPE.boolTrue:
86
+ case 0:
84
87
  out[name] = {
85
88
  type: BOOLEAN_TAG,
86
89
  value: true,
87
90
  };
88
91
  break;
89
- case HEADER_VALUE_TYPE.boolFalse:
92
+ case 1:
90
93
  out[name] = {
91
94
  type: BOOLEAN_TAG,
92
95
  value: false,
93
96
  };
94
97
  break;
95
- case HEADER_VALUE_TYPE.byte:
98
+ case 2:
96
99
  out[name] = {
97
100
  type: BYTE_TAG,
98
101
  value: headers.getInt8(position++),
99
102
  };
100
103
  break;
101
- case HEADER_VALUE_TYPE.short:
104
+ case 3:
102
105
  out[name] = {
103
106
  type: SHORT_TAG,
104
107
  value: headers.getInt16(position, false),
105
108
  };
106
109
  position += 2;
107
110
  break;
108
- case HEADER_VALUE_TYPE.integer:
111
+ case 4:
109
112
  out[name] = {
110
113
  type: INT_TAG,
111
114
  value: headers.getInt32(position, false),
112
115
  };
113
116
  position += 4;
114
117
  break;
115
- case HEADER_VALUE_TYPE.long:
118
+ case 5:
116
119
  out[name] = {
117
120
  type: LONG_TAG,
118
121
  value: new Int64(new Uint8Array(headers.buffer, headers.byteOffset + position, 8)),
119
122
  };
120
123
  position += 8;
121
124
  break;
122
- case HEADER_VALUE_TYPE.byteArray:
125
+ case 6:
123
126
  const binaryLength = headers.getUint16(position, false);
124
127
  position += 2;
125
128
  out[name] = {
@@ -128,7 +131,7 @@ export class HeaderMarshaller {
128
131
  };
129
132
  position += binaryLength;
130
133
  break;
131
- case HEADER_VALUE_TYPE.string:
134
+ case 7:
132
135
  const stringLength = headers.getUint16(position, false);
133
136
  position += 2;
134
137
  out[name] = {
@@ -137,14 +140,14 @@ export class HeaderMarshaller {
137
140
  };
138
141
  position += stringLength;
139
142
  break;
140
- case HEADER_VALUE_TYPE.timestamp:
143
+ case 8:
141
144
  out[name] = {
142
145
  type: TIMESTAMP_TAG,
143
146
  value: new Date(new Int64(new Uint8Array(headers.buffer, headers.byteOffset + position, 8)).valueOf()),
144
147
  };
145
148
  position += 8;
146
149
  break;
147
- case HEADER_VALUE_TYPE.uuid:
150
+ case 9:
148
151
  const uuidBytes = new Uint8Array(headers.buffer, headers.byteOffset + position, 16);
149
152
  position += 16;
150
153
  out[name] = {
@@ -1,3 +1,4 @@
1
+ import { hasOwn } from "@smithy/core/transport";
1
2
  import { NormalizedSchema, translateTraits } from "@smithy/core/schema";
2
3
  import { sdkStreamMixin, splitEvery, splitHeader } from "@smithy/core/serde";
3
4
  import { HttpRequest } from "@smithy/core/transport";
@@ -93,6 +94,8 @@ export class HttpBindingProtocol extends HttpProtocol {
93
94
  }
94
95
  else if (typeof memberTraits.httpPrefixHeaders === "string") {
95
96
  for (const key in inputMemberValue) {
97
+ if (!hasOwn(inputMemberValue, key))
98
+ continue;
96
99
  const val = inputMemberValue[key];
97
100
  const amalgam = memberTraits.httpPrefixHeaders + key;
98
101
  serializer.write([memberNs.getValueSchema(), { httpHeader: amalgam }], val);
@@ -139,6 +142,8 @@ export class HttpBindingProtocol extends HttpProtocol {
139
142
  const traits = ns.getMergedTraits();
140
143
  if (traits.httpQueryParams) {
141
144
  for (const key in data) {
145
+ if (!hasOwn(data, key))
146
+ continue;
142
147
  if (!(key in query)) {
143
148
  const val = data[key];
144
149
  const valueSchema = ns.getValueSchema();
@@ -182,6 +187,8 @@ export class HttpBindingProtocol extends HttpProtocol {
182
187
  throw new Error("@smithy/core/protocols - HTTP Protocol error handler failed to throw.");
183
188
  }
184
189
  for (const header in response.headers) {
190
+ if (!hasOwn(response.headers, header))
191
+ continue;
185
192
  const value = response.headers[header];
186
193
  delete response.headers[header];
187
194
  response.headers[header.toLowerCase()] = value;
@@ -269,6 +276,8 @@ export class HttpBindingProtocol extends HttpProtocol {
269
276
  else if (memberTraits.httpPrefixHeaders !== undefined) {
270
277
  dataObject[memberName] = {};
271
278
  for (const header in response.headers) {
279
+ if (!hasOwn(response.headers, header))
280
+ continue;
272
281
  if (header.startsWith(memberTraits.httpPrefixHeaders)) {
273
282
  const value = response.headers[header];
274
283
  const valueSchema = memberSchema.getValueSchema();
@@ -1,3 +1,4 @@
1
+ import { hasOwn } from "@smithy/core/transport";
1
2
  import { NormalizedSchema, TypeRegistry, translateTraits } from "@smithy/core/schema";
2
3
  import { HttpRequest, HttpResponse, isValidHostname } from "@smithy/core/transport";
3
4
  import { SerdeContext } from "./SerdeContext";
@@ -43,6 +44,8 @@ export class HttpProtocol extends SerdeContext {
43
44
  }
44
45
  if (endpoint.headers) {
45
46
  for (const name in endpoint.headers) {
47
+ if (!hasOwn(endpoint.headers, name))
48
+ continue;
46
49
  request.headers[name] = endpoint.headers[name].join(", ");
47
50
  }
48
51
  }
@@ -58,6 +61,8 @@ export class HttpProtocol extends SerdeContext {
58
61
  };
59
62
  if (endpoint.headers) {
60
63
  for (const name in endpoint.headers) {
64
+ if (!hasOwn(endpoint.headers, name))
65
+ continue;
61
66
  request.headers[name] = endpoint.headers[name];
62
67
  }
63
68
  }
@@ -1,3 +1,4 @@
1
+ import { hasOwn } from "@smithy/core/transport";
1
2
  import { NormalizedSchema } from "@smithy/core/schema";
2
3
  import { HttpRequest } from "@smithy/core/transport";
3
4
  import { HttpProtocol } from "./HttpProtocol";
@@ -31,10 +32,9 @@ export class RpcProtocol extends HttpProtocol {
31
32
  if (eventStreamMember) {
32
33
  if (input[eventStreamMember]) {
33
34
  const initialRequest = {};
34
- for (const [memberName, memberSchema] of ns.structIterator()) {
35
- if (memberName !== eventStreamMember && input[memberName]) {
36
- serializer.write(memberSchema, input[memberName]);
37
- initialRequest[memberName] = serializer.flush();
35
+ for (const [memberName] of ns.structIterator()) {
36
+ if (memberName !== eventStreamMember && input[memberName] != null) {
37
+ initialRequest[memberName] = input[memberName];
38
38
  }
39
39
  }
40
40
  payload = await this.serializeEventStream({
@@ -68,6 +68,8 @@ export class RpcProtocol extends HttpProtocol {
68
68
  throw new Error("@smithy/core/protocols - RPC Protocol error handler failed to throw.");
69
69
  }
70
70
  for (const header in response.headers) {
71
+ if (!hasOwn(response.headers, header))
72
+ continue;
71
73
  const value = response.headers[header];
72
74
  delete response.headers[header];
73
75
  response.headers[header.toLowerCase()] = value;