@cdklabs/cdk-construct-connect-datalake 0.0.14 → 0.0.16

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 (696) hide show
  1. package/.jsii +9 -9
  2. package/lib/index.js +1 -1
  3. package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/auth/httpAuthSchemeProvider.js +9 -15
  4. package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/endpoint/bdd.js +2 -5
  5. package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/endpoint/endpointResolver.js +7 -11
  6. package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/index.js +449 -469
  7. package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/models/CloudFormationServiceException.js +4 -8
  8. package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/models/errors.js +59 -91
  9. package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/runtimeConfig.browser.js +22 -26
  10. package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/runtimeConfig.js +30 -34
  11. package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/runtimeConfig.native.js +4 -7
  12. package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/runtimeConfig.shared.js +20 -24
  13. package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/schemas/schemas_0.js +814 -533
  14. package/node_modules/@aws-sdk/client-cloudformation/package.json +8 -8
  15. package/node_modules/@aws-sdk/client-connect/README.md +14 -0
  16. package/node_modules/@aws-sdk/client-connect/dist-cjs/auth/httpAuthSchemeProvider.js +9 -15
  17. package/node_modules/@aws-sdk/client-connect/dist-cjs/endpoint/bdd.js +2 -5
  18. package/node_modules/@aws-sdk/client-connect/dist-cjs/endpoint/endpointResolver.js +7 -11
  19. package/node_modules/@aws-sdk/client-connect/dist-cjs/index.js +1289 -1256
  20. package/node_modules/@aws-sdk/client-connect/dist-cjs/models/ConnectServiceException.js +4 -8
  21. package/node_modules/@aws-sdk/client-connect/dist-cjs/models/errors.js +57 -88
  22. package/node_modules/@aws-sdk/client-connect/dist-cjs/runtimeConfig.browser.js +22 -26
  23. package/node_modules/@aws-sdk/client-connect/dist-cjs/runtimeConfig.js +30 -34
  24. package/node_modules/@aws-sdk/client-connect/dist-cjs/runtimeConfig.native.js +4 -7
  25. package/node_modules/@aws-sdk/client-connect/dist-cjs/runtimeConfig.shared.js +20 -24
  26. package/node_modules/@aws-sdk/client-connect/dist-cjs/schemas/schemas_0.js +3630 -2290
  27. package/node_modules/@aws-sdk/client-connect/dist-es/Connect.js +4 -0
  28. package/node_modules/@aws-sdk/client-connect/dist-es/commands/GetEvaluationFormValidationCommand.js +16 -0
  29. package/node_modules/@aws-sdk/client-connect/dist-es/commands/StartEvaluationFormValidationCommand.js +16 -0
  30. package/node_modules/@aws-sdk/client-connect/dist-es/commands/index.js +2 -0
  31. package/node_modules/@aws-sdk/client-connect/dist-es/index.js +1 -0
  32. package/node_modules/@aws-sdk/client-connect/dist-es/models/enums.js +20 -0
  33. package/node_modules/@aws-sdk/client-connect/dist-es/models/models_4.js +1 -0
  34. package/node_modules/@aws-sdk/client-connect/dist-es/schemas/schemas_0.js +183 -48
  35. package/node_modules/@aws-sdk/client-connect/dist-types/Connect.d.ts +14 -0
  36. package/node_modules/@aws-sdk/client-connect/dist-types/ConnectClient.d.ts +4 -2
  37. package/node_modules/@aws-sdk/client-connect/dist-types/commands/CreateEvaluationFormCommand.d.ts +65 -1
  38. package/node_modules/@aws-sdk/client-connect/dist-types/commands/CreateViewCommand.d.ts +2 -1
  39. package/node_modules/@aws-sdk/client-connect/dist-types/commands/CreateViewVersionCommand.d.ts +1 -1
  40. package/node_modules/@aws-sdk/client-connect/dist-types/commands/CreateVocabularyCommand.d.ts +1 -2
  41. package/node_modules/@aws-sdk/client-connect/dist-types/commands/DescribeContactCommand.d.ts +1 -1
  42. package/node_modules/@aws-sdk/client-connect/dist-types/commands/DescribeContactEvaluationCommand.d.ts +72 -2
  43. package/node_modules/@aws-sdk/client-connect/dist-types/commands/DescribeEvaluationFormCommand.d.ts +68 -2
  44. package/node_modules/@aws-sdk/client-connect/dist-types/commands/GetEvaluationFormValidationCommand.d.ts +112 -0
  45. package/node_modules/@aws-sdk/client-connect/dist-types/commands/GetMetricDataV2Command.d.ts +1 -2
  46. package/node_modules/@aws-sdk/client-connect/dist-types/commands/ListContactEvaluationsCommand.d.ts +3 -0
  47. package/node_modules/@aws-sdk/client-connect/dist-types/commands/SearchContactEvaluationsCommand.d.ts +37 -0
  48. package/node_modules/@aws-sdk/client-connect/dist-types/commands/SearchContactsCommand.d.ts +1 -1
  49. package/node_modules/@aws-sdk/client-connect/dist-types/commands/SearchEvaluationFormsCommand.d.ts +1 -2
  50. package/node_modules/@aws-sdk/client-connect/dist-types/commands/SearchHoursOfOperationOverridesCommand.d.ts +1 -2
  51. package/node_modules/@aws-sdk/client-connect/dist-types/commands/SearchHoursOfOperationsCommand.d.ts +1 -2
  52. package/node_modules/@aws-sdk/client-connect/dist-types/commands/SearchNotificationsCommand.d.ts +1 -2
  53. package/node_modules/@aws-sdk/client-connect/dist-types/commands/SearchPredefinedAttributesCommand.d.ts +1 -2
  54. package/node_modules/@aws-sdk/client-connect/dist-types/commands/StartEvaluationFormValidationCommand.d.ts +102 -0
  55. package/node_modules/@aws-sdk/client-connect/dist-types/commands/UpdateContactRoutingDataCommand.d.ts +2 -1
  56. package/node_modules/@aws-sdk/client-connect/dist-types/commands/UpdateEvaluationFormCommand.d.ts +67 -2
  57. package/node_modules/@aws-sdk/client-connect/dist-types/commands/index.d.ts +2 -0
  58. package/node_modules/@aws-sdk/client-connect/dist-types/index.d.ts +1 -0
  59. package/node_modules/@aws-sdk/client-connect/dist-types/models/enums.d.ts +60 -0
  60. package/node_modules/@aws-sdk/client-connect/dist-types/models/models_0.d.ts +127 -103
  61. package/node_modules/@aws-sdk/client-connect/dist-types/models/models_1.d.ts +217 -1947
  62. package/node_modules/@aws-sdk/client-connect/dist-types/models/models_2.d.ts +2078 -384
  63. package/node_modules/@aws-sdk/client-connect/dist-types/models/models_3.d.ts +1479 -1769
  64. package/node_modules/@aws-sdk/client-connect/dist-types/models/models_4.d.ts +707 -0
  65. package/node_modules/@aws-sdk/client-connect/dist-types/schemas/schemas_0.d.ts +16 -0
  66. package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/Connect.d.ts +34 -0
  67. package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/ConnectClient.d.ts +12 -0
  68. package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/commands/CreateViewCommand.d.ts +2 -1
  69. package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/commands/CreateViewVersionCommand.d.ts +1 -1
  70. package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/commands/CreateVocabularyCommand.d.ts +4 -2
  71. package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/commands/DescribeContactCommand.d.ts +1 -1
  72. package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/commands/DescribeContactEvaluationCommand.d.ts +1 -1
  73. package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/commands/DescribeEvaluationFormCommand.d.ts +1 -1
  74. package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/commands/GetEvaluationFormValidationCommand.d.ts +53 -0
  75. package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/commands/GetMetricDataV2Command.d.ts +4 -2
  76. package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/commands/SearchContactsCommand.d.ts +1 -1
  77. package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/commands/SearchEvaluationFormsCommand.d.ts +4 -2
  78. package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/commands/SearchHoursOfOperationOverridesCommand.d.ts +4 -2
  79. package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/commands/SearchHoursOfOperationsCommand.d.ts +4 -2
  80. package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/commands/SearchNotificationsCommand.d.ts +4 -2
  81. package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/commands/SearchPredefinedAttributesCommand.d.ts +4 -2
  82. package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/commands/StartEvaluationFormValidationCommand.d.ts +53 -0
  83. package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/commands/UpdateContactRoutingDataCommand.d.ts +2 -4
  84. package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/commands/UpdateEvaluationFormCommand.d.ts +2 -4
  85. package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/commands/index.d.ts +2 -0
  86. package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/index.d.ts +1 -0
  87. package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/models/enums.d.ts +30 -0
  88. package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/models/models_0.d.ts +30 -23
  89. package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/models/models_1.d.ts +50 -45
  90. package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/models/models_2.d.ts +75 -81
  91. package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/models/models_3.d.ts +96 -175
  92. package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/models/models_4.d.ts +197 -0
  93. package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/schemas/schemas_0.d.ts +16 -0
  94. package/node_modules/@aws-sdk/client-connect/package.json +8 -8
  95. package/node_modules/@aws-sdk/client-glue/README.md +196 -0
  96. package/node_modules/@aws-sdk/client-glue/dist-cjs/auth/httpAuthSchemeProvider.js +9 -15
  97. package/node_modules/@aws-sdk/client-glue/dist-cjs/endpoint/bdd.js +2 -5
  98. package/node_modules/@aws-sdk/client-glue/dist-cjs/endpoint/endpointResolver.js +7 -11
  99. package/node_modules/@aws-sdk/client-glue/dist-cjs/index.js +1317 -907
  100. package/node_modules/@aws-sdk/client-glue/dist-cjs/models/GlueServiceException.js +4 -8
  101. package/node_modules/@aws-sdk/client-glue/dist-cjs/models/errors.js +131 -183
  102. package/node_modules/@aws-sdk/client-glue/dist-cjs/runtimeConfig.browser.js +22 -26
  103. package/node_modules/@aws-sdk/client-glue/dist-cjs/runtimeConfig.js +30 -34
  104. package/node_modules/@aws-sdk/client-glue/dist-cjs/runtimeConfig.native.js +4 -7
  105. package/node_modules/@aws-sdk/client-glue/dist-cjs/runtimeConfig.shared.js +20 -24
  106. package/node_modules/@aws-sdk/client-glue/dist-cjs/schemas/schemas_0.js +3528 -1827
  107. package/node_modules/@aws-sdk/client-glue/dist-es/Glue.js +68 -0
  108. package/node_modules/@aws-sdk/client-glue/dist-es/commands/AssociateGlossaryTermsCommand.js +16 -0
  109. package/node_modules/@aws-sdk/client-glue/dist-es/commands/BatchGetIterableFormsCommand.js +16 -0
  110. package/node_modules/@aws-sdk/client-glue/dist-es/commands/CreateGlossaryCommand.js +16 -0
  111. package/node_modules/@aws-sdk/client-glue/dist-es/commands/CreateGlossaryTermCommand.js +16 -0
  112. package/node_modules/@aws-sdk/client-glue/dist-es/commands/DeleteAssetCommand.js +16 -0
  113. package/node_modules/@aws-sdk/client-glue/dist-es/commands/DeleteAssetTypeCommand.js +16 -0
  114. package/node_modules/@aws-sdk/client-glue/dist-es/commands/DeleteAttachmentCommand.js +16 -0
  115. package/node_modules/@aws-sdk/client-glue/dist-es/commands/DeleteFormTypeCommand.js +16 -0
  116. package/node_modules/@aws-sdk/client-glue/dist-es/commands/DeleteGlossaryCommand.js +16 -0
  117. package/node_modules/@aws-sdk/client-glue/dist-es/commands/DeleteGlossaryTermCommand.js +16 -0
  118. package/node_modules/@aws-sdk/client-glue/dist-es/commands/DisassociateGlossaryTermsCommand.js +16 -0
  119. package/node_modules/@aws-sdk/client-glue/dist-es/commands/GetAssetCommand.js +16 -0
  120. package/node_modules/@aws-sdk/client-glue/dist-es/commands/GetAssetTypeCommand.js +16 -0
  121. package/node_modules/@aws-sdk/client-glue/dist-es/commands/GetFormTypeCommand.js +16 -0
  122. package/node_modules/@aws-sdk/client-glue/dist-es/commands/GetGlossaryCommand.js +16 -0
  123. package/node_modules/@aws-sdk/client-glue/dist-es/commands/GetGlossaryTermCommand.js +16 -0
  124. package/node_modules/@aws-sdk/client-glue/dist-es/commands/ListAssetTypesCommand.js +16 -0
  125. package/node_modules/@aws-sdk/client-glue/dist-es/commands/ListFormTypesCommand.js +16 -0
  126. package/node_modules/@aws-sdk/client-glue/dist-es/commands/ListGlossariesCommand.js +16 -0
  127. package/node_modules/@aws-sdk/client-glue/dist-es/commands/ListGlossaryTermsCommand.js +16 -0
  128. package/node_modules/@aws-sdk/client-glue/dist-es/commands/ListIterableFormsCommand.js +16 -0
  129. package/node_modules/@aws-sdk/client-glue/dist-es/commands/PutAssetCommand.js +16 -0
  130. package/node_modules/@aws-sdk/client-glue/dist-es/commands/PutAssetTypeCommand.js +16 -0
  131. package/node_modules/@aws-sdk/client-glue/dist-es/commands/PutAttachmentCommand.js +16 -0
  132. package/node_modules/@aws-sdk/client-glue/dist-es/commands/PutFormTypeCommand.js +16 -0
  133. package/node_modules/@aws-sdk/client-glue/dist-es/commands/SearchAssetsCommand.js +16 -0
  134. package/node_modules/@aws-sdk/client-glue/dist-es/commands/UpdateGlossaryCommand.js +16 -0
  135. package/node_modules/@aws-sdk/client-glue/dist-es/commands/UpdateGlossaryTermCommand.js +16 -0
  136. package/node_modules/@aws-sdk/client-glue/dist-es/commands/index.js +28 -0
  137. package/node_modules/@aws-sdk/client-glue/dist-es/models/enums.js +12 -0
  138. package/node_modules/@aws-sdk/client-glue/dist-es/models/errors.js +38 -38
  139. package/node_modules/@aws-sdk/client-glue/dist-es/pagination/ListAssetTypesPaginator.js +4 -0
  140. package/node_modules/@aws-sdk/client-glue/dist-es/pagination/ListFormTypesPaginator.js +4 -0
  141. package/node_modules/@aws-sdk/client-glue/dist-es/pagination/ListGlossariesPaginator.js +4 -0
  142. package/node_modules/@aws-sdk/client-glue/dist-es/pagination/ListGlossaryTermsPaginator.js +4 -0
  143. package/node_modules/@aws-sdk/client-glue/dist-es/pagination/ListIterableFormsPaginator.js +4 -0
  144. package/node_modules/@aws-sdk/client-glue/dist-es/pagination/SearchAssetsPaginator.js +4 -0
  145. package/node_modules/@aws-sdk/client-glue/dist-es/pagination/index.js +6 -0
  146. package/node_modules/@aws-sdk/client-glue/dist-es/schemas/schemas_0.js +672 -31
  147. package/node_modules/@aws-sdk/client-glue/dist-types/Glue.d.ts +242 -0
  148. package/node_modules/@aws-sdk/client-glue/dist-types/GlueClient.d.ts +30 -2
  149. package/node_modules/@aws-sdk/client-glue/dist-types/commands/AssociateGlossaryTermsCommand.d.ts +101 -0
  150. package/node_modules/@aws-sdk/client-glue/dist-types/commands/BatchGetIterableFormsCommand.d.ts +122 -0
  151. package/node_modules/@aws-sdk/client-glue/dist-types/commands/CreateCrawlerCommand.d.ts +2 -1
  152. package/node_modules/@aws-sdk/client-glue/dist-types/commands/CreateCustomEntityTypeCommand.d.ts +1 -1
  153. package/node_modules/@aws-sdk/client-glue/dist-types/commands/CreateDatabaseCommand.d.ts +1 -1
  154. package/node_modules/@aws-sdk/client-glue/dist-types/commands/CreateGlossaryCommand.d.ts +98 -0
  155. package/node_modules/@aws-sdk/client-glue/dist-types/commands/CreateGlossaryTermCommand.d.ts +105 -0
  156. package/node_modules/@aws-sdk/client-glue/dist-types/commands/DeleteAssetCommand.d.ts +89 -0
  157. package/node_modules/@aws-sdk/client-glue/dist-types/commands/DeleteAssetTypeCommand.d.ts +89 -0
  158. package/node_modules/@aws-sdk/client-glue/dist-types/commands/DeleteAttachmentCommand.d.ts +97 -0
  159. package/node_modules/@aws-sdk/client-glue/dist-types/commands/DeleteFormTypeCommand.d.ts +92 -0
  160. package/node_modules/@aws-sdk/client-glue/dist-types/commands/DeleteGlossaryCommand.d.ts +92 -0
  161. package/node_modules/@aws-sdk/client-glue/dist-types/commands/DeleteGlossaryTermCommand.d.ts +89 -0
  162. package/node_modules/@aws-sdk/client-glue/dist-types/commands/DisassociateGlossaryTermsCommand.d.ts +101 -0
  163. package/node_modules/@aws-sdk/client-glue/dist-types/commands/GetAssetCommand.d.ts +116 -0
  164. package/node_modules/@aws-sdk/client-glue/dist-types/commands/GetAssetTypeCommand.d.ts +97 -0
  165. package/node_modules/@aws-sdk/client-glue/dist-types/commands/GetDataQualityRulesetEvaluationRunCommand.d.ts +1 -1
  166. package/node_modules/@aws-sdk/client-glue/dist-types/commands/GetDevEndpointCommand.d.ts +1 -1
  167. package/node_modules/@aws-sdk/client-glue/dist-types/commands/GetDevEndpointsCommand.d.ts +1 -1
  168. package/node_modules/@aws-sdk/client-glue/dist-types/commands/GetEntityRecordsCommand.d.ts +1 -1
  169. package/node_modules/@aws-sdk/client-glue/dist-types/commands/GetFormTypeCommand.d.ts +93 -0
  170. package/node_modules/@aws-sdk/client-glue/dist-types/commands/GetGlossaryCommand.d.ts +90 -0
  171. package/node_modules/@aws-sdk/client-glue/dist-types/commands/GetGlossaryTermCommand.d.ts +92 -0
  172. package/node_modules/@aws-sdk/client-glue/dist-types/commands/GetGlueIdentityCenterConfigurationCommand.d.ts +1 -1
  173. package/node_modules/@aws-sdk/client-glue/dist-types/commands/GetIntegrationResourcePropertyCommand.d.ts +1 -1
  174. package/node_modules/@aws-sdk/client-glue/dist-types/commands/GetIntegrationTablePropertiesCommand.d.ts +1 -1
  175. package/node_modules/@aws-sdk/client-glue/dist-types/commands/GetJobBookmarkCommand.d.ts +1 -1
  176. package/node_modules/@aws-sdk/client-glue/dist-types/commands/GetJobCommand.d.ts +1 -1
  177. package/node_modules/@aws-sdk/client-glue/dist-types/commands/GetJobRunCommand.d.ts +1 -1
  178. package/node_modules/@aws-sdk/client-glue/dist-types/commands/GetJobRunsCommand.d.ts +1 -1
  179. package/node_modules/@aws-sdk/client-glue/dist-types/commands/GetJobsCommand.d.ts +1 -1
  180. package/node_modules/@aws-sdk/client-glue/dist-types/commands/GetMappingCommand.d.ts +1 -1
  181. package/node_modules/@aws-sdk/client-glue/dist-types/commands/GetMaterializedViewRefreshTaskRunCommand.d.ts +1 -1
  182. package/node_modules/@aws-sdk/client-glue/dist-types/commands/ListAssetTypesCommand.d.ts +95 -0
  183. package/node_modules/@aws-sdk/client-glue/dist-types/commands/ListFormTypesCommand.d.ts +95 -0
  184. package/node_modules/@aws-sdk/client-glue/dist-types/commands/ListGlossariesCommand.d.ts +96 -0
  185. package/node_modules/@aws-sdk/client-glue/dist-types/commands/ListGlossaryTermsCommand.d.ts +97 -0
  186. package/node_modules/@aws-sdk/client-glue/dist-types/commands/ListIterableFormsCommand.d.ts +104 -0
  187. package/node_modules/@aws-sdk/client-glue/dist-types/commands/PutAssetCommand.d.ts +113 -0
  188. package/node_modules/@aws-sdk/client-glue/dist-types/commands/PutAssetTypeCommand.d.ts +103 -0
  189. package/node_modules/@aws-sdk/client-glue/dist-types/commands/PutAttachmentCommand.d.ts +104 -0
  190. package/node_modules/@aws-sdk/client-glue/dist-types/commands/PutFormTypeCommand.d.ts +95 -0
  191. package/node_modules/@aws-sdk/client-glue/dist-types/commands/SearchAssetsCommand.d.ts +149 -0
  192. package/node_modules/@aws-sdk/client-glue/dist-types/commands/StartCrawlerScheduleCommand.d.ts +1 -1
  193. package/node_modules/@aws-sdk/client-glue/dist-types/commands/StartDataQualityRuleRecommendationRunCommand.d.ts +1 -1
  194. package/node_modules/@aws-sdk/client-glue/dist-types/commands/StartDataQualityRulesetEvaluationRunCommand.d.ts +1 -1
  195. package/node_modules/@aws-sdk/client-glue/dist-types/commands/StartExportLabelsTaskRunCommand.d.ts +1 -1
  196. package/node_modules/@aws-sdk/client-glue/dist-types/commands/StartImportLabelsTaskRunCommand.d.ts +1 -1
  197. package/node_modules/@aws-sdk/client-glue/dist-types/commands/StartJobRunCommand.d.ts +1 -1
  198. package/node_modules/@aws-sdk/client-glue/dist-types/commands/StartMLEvaluationTaskRunCommand.d.ts +1 -1
  199. package/node_modules/@aws-sdk/client-glue/dist-types/commands/StartMLLabelingSetGenerationTaskRunCommand.d.ts +1 -1
  200. package/node_modules/@aws-sdk/client-glue/dist-types/commands/StartMaterializedViewRefreshTaskRunCommand.d.ts +1 -1
  201. package/node_modules/@aws-sdk/client-glue/dist-types/commands/StartTriggerCommand.d.ts +1 -1
  202. package/node_modules/@aws-sdk/client-glue/dist-types/commands/StartWorkflowRunCommand.d.ts +1 -1
  203. package/node_modules/@aws-sdk/client-glue/dist-types/commands/StopColumnStatisticsTaskRunCommand.d.ts +1 -1
  204. package/node_modules/@aws-sdk/client-glue/dist-types/commands/StopColumnStatisticsTaskRunScheduleCommand.d.ts +1 -1
  205. package/node_modules/@aws-sdk/client-glue/dist-types/commands/StopCrawlerCommand.d.ts +1 -1
  206. package/node_modules/@aws-sdk/client-glue/dist-types/commands/StopCrawlerScheduleCommand.d.ts +1 -1
  207. package/node_modules/@aws-sdk/client-glue/dist-types/commands/StopMaterializedViewRefreshTaskRunCommand.d.ts +1 -1
  208. package/node_modules/@aws-sdk/client-glue/dist-types/commands/StopSessionCommand.d.ts +1 -1
  209. package/node_modules/@aws-sdk/client-glue/dist-types/commands/StopTriggerCommand.d.ts +1 -1
  210. package/node_modules/@aws-sdk/client-glue/dist-types/commands/StopWorkflowRunCommand.d.ts +1 -1
  211. package/node_modules/@aws-sdk/client-glue/dist-types/commands/TagResourceCommand.d.ts +1 -1
  212. package/node_modules/@aws-sdk/client-glue/dist-types/commands/TestConnectionCommand.d.ts +1 -1
  213. package/node_modules/@aws-sdk/client-glue/dist-types/commands/UntagResourceCommand.d.ts +1 -1
  214. package/node_modules/@aws-sdk/client-glue/dist-types/commands/UpdateBlueprintCommand.d.ts +1 -1
  215. package/node_modules/@aws-sdk/client-glue/dist-types/commands/UpdateCatalogCommand.d.ts +1 -1
  216. package/node_modules/@aws-sdk/client-glue/dist-types/commands/UpdateClassifierCommand.d.ts +1 -1
  217. package/node_modules/@aws-sdk/client-glue/dist-types/commands/UpdateColumnStatisticsForPartitionCommand.d.ts +1 -1
  218. package/node_modules/@aws-sdk/client-glue/dist-types/commands/UpdateColumnStatisticsForTableCommand.d.ts +1 -1
  219. package/node_modules/@aws-sdk/client-glue/dist-types/commands/UpdateColumnStatisticsTaskSettingsCommand.d.ts +1 -1
  220. package/node_modules/@aws-sdk/client-glue/dist-types/commands/UpdateConnectionCommand.d.ts +1 -1
  221. package/node_modules/@aws-sdk/client-glue/dist-types/commands/UpdateCrawlerCommand.d.ts +1 -1
  222. package/node_modules/@aws-sdk/client-glue/dist-types/commands/UpdateCrawlerScheduleCommand.d.ts +1 -2
  223. package/node_modules/@aws-sdk/client-glue/dist-types/commands/UpdateGlossaryCommand.d.ts +102 -0
  224. package/node_modules/@aws-sdk/client-glue/dist-types/commands/UpdateGlossaryTermCommand.d.ts +105 -0
  225. package/node_modules/@aws-sdk/client-glue/dist-types/commands/index.d.ts +28 -0
  226. package/node_modules/@aws-sdk/client-glue/dist-types/models/enums.d.ts +28 -0
  227. package/node_modules/@aws-sdk/client-glue/dist-types/models/errors.d.ts +48 -48
  228. package/node_modules/@aws-sdk/client-glue/dist-types/models/models_0.d.ts +165 -174
  229. package/node_modules/@aws-sdk/client-glue/dist-types/models/models_1.d.ts +565 -755
  230. package/node_modules/@aws-sdk/client-glue/dist-types/models/models_2.d.ts +2302 -2039
  231. package/node_modules/@aws-sdk/client-glue/dist-types/models/models_3.d.ts +1413 -4
  232. package/node_modules/@aws-sdk/client-glue/dist-types/pagination/ListAssetTypesPaginator.d.ts +7 -0
  233. package/node_modules/@aws-sdk/client-glue/dist-types/pagination/ListFormTypesPaginator.d.ts +7 -0
  234. package/node_modules/@aws-sdk/client-glue/dist-types/pagination/ListGlossariesPaginator.d.ts +7 -0
  235. package/node_modules/@aws-sdk/client-glue/dist-types/pagination/ListGlossaryTermsPaginator.d.ts +7 -0
  236. package/node_modules/@aws-sdk/client-glue/dist-types/pagination/ListIterableFormsPaginator.d.ts +7 -0
  237. package/node_modules/@aws-sdk/client-glue/dist-types/pagination/SearchAssetsPaginator.d.ts +7 -0
  238. package/node_modules/@aws-sdk/client-glue/dist-types/pagination/index.d.ts +6 -0
  239. package/node_modules/@aws-sdk/client-glue/dist-types/schemas/schemas_0.d.ts +101 -0
  240. package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/Glue.d.ts +522 -0
  241. package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/GlueClient.d.ts +168 -0
  242. package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/commands/AssociateGlossaryTermsCommand.d.ts +53 -0
  243. package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/commands/BatchGetIterableFormsCommand.d.ts +53 -0
  244. package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/commands/CreateCrawlerCommand.d.ts +2 -4
  245. package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/commands/CreateCustomEntityTypeCommand.d.ts +1 -1
  246. package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/commands/CreateDatabaseCommand.d.ts +1 -1
  247. package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/commands/CreateGlossaryCommand.d.ts +52 -0
  248. package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/commands/CreateGlossaryTermCommand.d.ts +53 -0
  249. package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/commands/DeleteAssetCommand.d.ts +49 -0
  250. package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/commands/DeleteAssetTypeCommand.d.ts +52 -0
  251. package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/commands/DeleteAttachmentCommand.d.ts +52 -0
  252. package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/commands/DeleteFormTypeCommand.d.ts +52 -0
  253. package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/commands/DeleteGlossaryCommand.d.ts +52 -0
  254. package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/commands/DeleteGlossaryTermCommand.d.ts +53 -0
  255. package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/commands/DisassociateGlossaryTermsCommand.d.ts +53 -0
  256. package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/commands/GetAssetCommand.d.ts +45 -0
  257. package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/commands/GetAssetTypeCommand.d.ts +49 -0
  258. package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/commands/GetDataQualityRulesetEvaluationRunCommand.d.ts +1 -1
  259. package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/commands/GetDevEndpointCommand.d.ts +1 -1
  260. package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/commands/GetDevEndpointsCommand.d.ts +1 -1
  261. package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/commands/GetEntityRecordsCommand.d.ts +1 -1
  262. package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/commands/GetFormTypeCommand.d.ts +49 -0
  263. package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/commands/GetGlossaryCommand.d.ts +49 -0
  264. package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/commands/GetGlossaryTermCommand.d.ts +52 -0
  265. package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/commands/GetGlueIdentityCenterConfigurationCommand.d.ts +1 -1
  266. package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/commands/GetIntegrationResourcePropertyCommand.d.ts +1 -1
  267. package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/commands/GetIntegrationTablePropertiesCommand.d.ts +1 -1
  268. package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/commands/GetJobBookmarkCommand.d.ts +1 -1
  269. package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/commands/GetJobCommand.d.ts +1 -1
  270. package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/commands/GetJobRunCommand.d.ts +1 -1
  271. package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/commands/GetJobRunsCommand.d.ts +1 -1
  272. package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/commands/GetJobsCommand.d.ts +1 -1
  273. package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/commands/GetMappingCommand.d.ts +1 -1
  274. package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/commands/GetMaterializedViewRefreshTaskRunCommand.d.ts +1 -1
  275. package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/commands/ListAssetTypesCommand.d.ts +52 -0
  276. package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/commands/ListFormTypesCommand.d.ts +52 -0
  277. package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/commands/ListGlossariesCommand.d.ts +52 -0
  278. package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/commands/ListGlossaryTermsCommand.d.ts +53 -0
  279. package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/commands/ListIterableFormsCommand.d.ts +53 -0
  280. package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/commands/PutAssetCommand.d.ts +45 -0
  281. package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/commands/PutAssetTypeCommand.d.ts +49 -0
  282. package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/commands/PutAttachmentCommand.d.ts +52 -0
  283. package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/commands/PutFormTypeCommand.d.ts +49 -0
  284. package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/commands/SearchAssetsCommand.d.ts +50 -0
  285. package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/commands/StartCrawlerScheduleCommand.d.ts +1 -1
  286. package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/commands/StartDataQualityRuleRecommendationRunCommand.d.ts +1 -1
  287. package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/commands/StartDataQualityRulesetEvaluationRunCommand.d.ts +1 -1
  288. package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/commands/StartExportLabelsTaskRunCommand.d.ts +1 -1
  289. package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/commands/StartImportLabelsTaskRunCommand.d.ts +1 -1
  290. package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/commands/StartJobRunCommand.d.ts +1 -1
  291. package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/commands/StartMLEvaluationTaskRunCommand.d.ts +1 -1
  292. package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/commands/StartMLLabelingSetGenerationTaskRunCommand.d.ts +1 -1
  293. package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/commands/StartMaterializedViewRefreshTaskRunCommand.d.ts +1 -1
  294. package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/commands/StartTriggerCommand.d.ts +1 -1
  295. package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/commands/StartWorkflowRunCommand.d.ts +1 -1
  296. package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/commands/StopColumnStatisticsTaskRunCommand.d.ts +1 -1
  297. package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/commands/StopColumnStatisticsTaskRunScheduleCommand.d.ts +1 -1
  298. package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/commands/StopCrawlerCommand.d.ts +1 -1
  299. package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/commands/StopCrawlerScheduleCommand.d.ts +1 -1
  300. package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/commands/StopMaterializedViewRefreshTaskRunCommand.d.ts +1 -1
  301. package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/commands/StopSessionCommand.d.ts +1 -1
  302. package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/commands/StopTriggerCommand.d.ts +1 -1
  303. package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/commands/StopWorkflowRunCommand.d.ts +1 -1
  304. package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/commands/TagResourceCommand.d.ts +1 -1
  305. package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/commands/TestConnectionCommand.d.ts +1 -1
  306. package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +1 -1
  307. package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/commands/UpdateBlueprintCommand.d.ts +1 -1
  308. package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/commands/UpdateCatalogCommand.d.ts +1 -1
  309. package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/commands/UpdateClassifierCommand.d.ts +1 -1
  310. package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/commands/UpdateColumnStatisticsForPartitionCommand.d.ts +1 -1
  311. package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/commands/UpdateColumnStatisticsForTableCommand.d.ts +1 -1
  312. package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/commands/UpdateColumnStatisticsTaskSettingsCommand.d.ts +1 -1
  313. package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/commands/UpdateConnectionCommand.d.ts +1 -1
  314. package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/commands/UpdateCrawlerCommand.d.ts +1 -1
  315. package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/commands/UpdateCrawlerScheduleCommand.d.ts +4 -2
  316. package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/commands/UpdateGlossaryCommand.d.ts +52 -0
  317. package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/commands/UpdateGlossaryTermCommand.d.ts +53 -0
  318. package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/commands/index.d.ts +28 -0
  319. package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/models/enums.d.ts +16 -0
  320. package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/models/errors.d.ts +26 -26
  321. package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/models/models_0.d.ts +41 -40
  322. package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/models/models_1.d.ts +130 -181
  323. package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/models/models_2.d.ts +396 -293
  324. package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/models/models_3.d.ts +373 -1
  325. package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/pagination/ListAssetTypesPaginator.d.ts +11 -0
  326. package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/pagination/ListFormTypesPaginator.d.ts +11 -0
  327. package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/pagination/ListGlossariesPaginator.d.ts +11 -0
  328. package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/pagination/ListGlossaryTermsPaginator.d.ts +11 -0
  329. package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/pagination/ListIterableFormsPaginator.d.ts +11 -0
  330. package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/pagination/SearchAssetsPaginator.d.ts +11 -0
  331. package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/pagination/index.d.ts +6 -0
  332. package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/schemas/schemas_0.d.ts +101 -0
  333. package/node_modules/@aws-sdk/client-glue/package.json +8 -8
  334. package/node_modules/@aws-sdk/client-lakeformation/dist-cjs/auth/httpAuthSchemeProvider.js +9 -15
  335. package/node_modules/@aws-sdk/client-lakeformation/dist-cjs/endpoint/bdd.js +2 -5
  336. package/node_modules/@aws-sdk/client-lakeformation/dist-cjs/endpoint/endpointResolver.js +7 -11
  337. package/node_modules/@aws-sdk/client-lakeformation/dist-cjs/index.js +236 -256
  338. package/node_modules/@aws-sdk/client-lakeformation/dist-cjs/models/LakeFormationServiceException.js +4 -8
  339. package/node_modules/@aws-sdk/client-lakeformation/dist-cjs/models/errors.js +39 -61
  340. package/node_modules/@aws-sdk/client-lakeformation/dist-cjs/runtimeConfig.browser.js +22 -26
  341. package/node_modules/@aws-sdk/client-lakeformation/dist-cjs/runtimeConfig.js +30 -34
  342. package/node_modules/@aws-sdk/client-lakeformation/dist-cjs/runtimeConfig.native.js +4 -7
  343. package/node_modules/@aws-sdk/client-lakeformation/dist-cjs/runtimeConfig.shared.js +21 -25
  344. package/node_modules/@aws-sdk/client-lakeformation/dist-cjs/schemas/schemas_0.js +544 -356
  345. package/node_modules/@aws-sdk/client-lakeformation/package.json +8 -8
  346. package/node_modules/@aws-sdk/client-ram/dist-cjs/auth/httpAuthSchemeProvider.js +9 -15
  347. package/node_modules/@aws-sdk/client-ram/dist-cjs/endpoint/bdd.js +2 -5
  348. package/node_modules/@aws-sdk/client-ram/dist-cjs/endpoint/endpointResolver.js +7 -11
  349. package/node_modules/@aws-sdk/client-ram/dist-cjs/index.js +159 -179
  350. package/node_modules/@aws-sdk/client-ram/dist-cjs/models/RAMServiceException.js +4 -8
  351. package/node_modules/@aws-sdk/client-ram/dist-cjs/models/errors.js +57 -88
  352. package/node_modules/@aws-sdk/client-ram/dist-cjs/runtimeConfig.browser.js +22 -26
  353. package/node_modules/@aws-sdk/client-ram/dist-cjs/runtimeConfig.js +30 -34
  354. package/node_modules/@aws-sdk/client-ram/dist-cjs/runtimeConfig.native.js +4 -7
  355. package/node_modules/@aws-sdk/client-ram/dist-cjs/runtimeConfig.shared.js +20 -24
  356. package/node_modules/@aws-sdk/client-ram/dist-cjs/schemas/schemas_0.js +318 -210
  357. package/node_modules/@aws-sdk/client-ram/package.json +8 -8
  358. package/node_modules/@aws-sdk/client-sts/dist-cjs/auth/httpAuthSchemeProvider.js +15 -19
  359. package/node_modules/@aws-sdk/client-sts/dist-cjs/endpoint/bdd.js +2 -5
  360. package/node_modules/@aws-sdk/client-sts/dist-cjs/endpoint/endpointResolver.js +7 -11
  361. package/node_modules/@aws-sdk/client-sts/dist-cjs/index.js +77 -97
  362. package/node_modules/@aws-sdk/client-sts/dist-cjs/models/STSServiceException.js +4 -8
  363. package/node_modules/@aws-sdk/client-sts/dist-cjs/models/errors.js +25 -40
  364. package/node_modules/@aws-sdk/client-sts/dist-cjs/runtimeConfig.browser.js +22 -26
  365. package/node_modules/@aws-sdk/client-sts/dist-cjs/runtimeConfig.js +36 -40
  366. package/node_modules/@aws-sdk/client-sts/dist-cjs/runtimeConfig.native.js +4 -7
  367. package/node_modules/@aws-sdk/client-sts/dist-cjs/runtimeConfig.shared.js +25 -29
  368. package/node_modules/@aws-sdk/client-sts/dist-cjs/schemas/schemas_0.js +122 -85
  369. package/node_modules/@aws-sdk/client-sts/package.json +15 -15
  370. package/node_modules/@aws-sdk/core/account-id-endpoint.d.ts +1 -3
  371. package/node_modules/@aws-sdk/core/client.d.ts +1 -3
  372. package/node_modules/@aws-sdk/core/dist-cjs/index.js +45 -50
  373. package/node_modules/@aws-sdk/core/dist-cjs/submodules/account-id-endpoint/index.js +2 -4
  374. package/node_modules/@aws-sdk/core/dist-cjs/submodules/client/index.js +327 -52
  375. package/node_modules/@aws-sdk/core/dist-cjs/submodules/httpAuthSchemes/index.js +19 -21
  376. package/node_modules/@aws-sdk/core/dist-cjs/submodules/protocols/index.js +107 -109
  377. package/node_modules/@aws-sdk/core/dist-cjs/submodules/util/index.js +2 -4
  378. package/node_modules/@aws-sdk/core/dist-es/submodules/client/util-endpoints/lib/aws/partitions.js +276 -1
  379. package/node_modules/@aws-sdk/core/httpAuthSchemes.d.ts +1 -3
  380. package/node_modules/@aws-sdk/core/package.json +13 -19
  381. package/node_modules/@aws-sdk/core/protocols.d.ts +1 -3
  382. package/node_modules/@aws-sdk/core/util.d.ts +1 -3
  383. package/node_modules/@aws-sdk/credential-provider-env/dist-cjs/index.js +4 -6
  384. package/node_modules/@aws-sdk/credential-provider-env/package.json +8 -8
  385. package/node_modules/@aws-sdk/credential-provider-http/dist-cjs/index.js +169 -3
  386. package/node_modules/@aws-sdk/credential-provider-http/package.json +11 -13
  387. package/node_modules/@aws-sdk/credential-provider-ini/dist-cjs/index.js +47 -41
  388. package/node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveProcessCredentials.js +8 -4
  389. package/node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveWebIdentityCredentials.js +14 -10
  390. package/node_modules/@aws-sdk/credential-provider-ini/package.json +16 -16
  391. package/node_modules/@aws-sdk/credential-provider-login/dist-cjs/index.js +31 -33
  392. package/node_modules/@aws-sdk/credential-provider-login/package.json +9 -9
  393. package/node_modules/@aws-sdk/credential-provider-node/dist-cjs/index.js +16 -18
  394. package/node_modules/@aws-sdk/credential-provider-node/package.json +14 -14
  395. package/node_modules/@aws-sdk/credential-provider-process/dist-cjs/index.js +11 -13
  396. package/node_modules/@aws-sdk/credential-provider-process/package.json +8 -8
  397. package/node_modules/@aws-sdk/credential-provider-sso/dist-cjs/index.js +22 -24
  398. package/node_modules/@aws-sdk/credential-provider-sso/dist-cjs/loadSso-BGYXHf8s.js +3 -0
  399. package/node_modules/@aws-sdk/credential-provider-sso/package.json +10 -10
  400. package/node_modules/@aws-sdk/credential-provider-web-identity/dist-cjs/index.js +55 -24
  401. package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +10 -11
  402. package/node_modules/@aws-sdk/nested-clients/cognito-identity.d.ts +1 -3
  403. package/node_modules/@aws-sdk/nested-clients/dist-cjs/index.js +0 -1
  404. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/cognito-identity/index.js +82 -84
  405. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/index.js +158 -119
  406. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/index.js +80 -82
  407. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/index.js +80 -82
  408. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/index.js +99 -101
  409. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/commands/CreateOAuth2TokenCommand.js +4 -1
  410. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/endpoint/bdd.js +70 -35
  411. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/endpoint/endpointResolver.js +1 -1
  412. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/models/enums.js +3 -0
  413. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/runtimeConfig.browser.d.ts +1 -1
  414. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/runtimeConfig.d.ts +1 -1
  415. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/runtimeConfig.native.d.ts +1 -1
  416. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/endpoint/EndpointParameters.d.ts +1 -0
  417. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/models/enums.d.ts +12 -0
  418. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/runtimeConfig.browser.d.ts +1 -1
  419. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/runtimeConfig.d.ts +1 -1
  420. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/runtimeConfig.native.d.ts +1 -1
  421. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/runtimeConfig.browser.d.ts +1 -1
  422. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/runtimeConfig.d.ts +1 -1
  423. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/runtimeConfig.native.d.ts +1 -1
  424. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/runtimeConfig.browser.d.ts +1 -1
  425. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/runtimeConfig.d.ts +1 -1
  426. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/runtimeConfig.native.d.ts +1 -1
  427. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/runtimeConfig.browser.d.ts +1 -1
  428. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/runtimeConfig.d.ts +1 -1
  429. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/runtimeConfig.native.d.ts +1 -1
  430. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/runtimeConfig.browser.d.ts +7 -1
  431. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/runtimeConfig.d.ts +7 -1
  432. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/runtimeConfig.native.d.ts +7 -1
  433. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/endpoint/EndpointParameters.d.ts +1 -0
  434. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/models/enums.d.ts +3 -0
  435. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/runtimeConfig.browser.d.ts +7 -1
  436. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/runtimeConfig.d.ts +7 -1
  437. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/runtimeConfig.native.d.ts +7 -1
  438. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/runtimeConfig.browser.d.ts +7 -1
  439. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/runtimeConfig.d.ts +7 -1
  440. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/runtimeConfig.native.d.ts +7 -1
  441. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/runtimeConfig.browser.d.ts +7 -1
  442. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/runtimeConfig.d.ts +7 -1
  443. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/runtimeConfig.native.d.ts +7 -1
  444. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/runtimeConfig.browser.d.ts +7 -1
  445. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/runtimeConfig.d.ts +7 -1
  446. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/runtimeConfig.native.d.ts +7 -1
  447. package/node_modules/@aws-sdk/nested-clients/package.json +13 -12
  448. package/node_modules/@aws-sdk/nested-clients/signin.d.ts +1 -3
  449. package/node_modules/@aws-sdk/nested-clients/sso-oidc.d.ts +1 -3
  450. package/node_modules/@aws-sdk/nested-clients/sso.d.ts +1 -3
  451. package/node_modules/@aws-sdk/nested-clients/sts.d.ts +1 -3
  452. package/node_modules/@aws-sdk/signature-v4-multi-region/dist-cjs/index.js +4 -6
  453. package/node_modules/@aws-sdk/signature-v4-multi-region/package.json +7 -7
  454. package/node_modules/@aws-sdk/token-providers/dist-cjs/index.js +26 -28
  455. package/node_modules/@aws-sdk/token-providers/package.json +9 -9
  456. package/node_modules/@aws-sdk/types/dist-cjs/index.js +7 -8
  457. package/node_modules/@aws-sdk/types/package.json +5 -5
  458. package/node_modules/@aws-sdk/util-locate-window/dist-cjs/index.js +0 -2
  459. package/node_modules/@aws-sdk/util-locate-window/package.json +4 -4
  460. package/node_modules/@aws-sdk/xml-builder/dist-cjs/index.js +236 -5
  461. package/node_modules/@aws-sdk/xml-builder/dist-es/xml-parser.browser.js +1 -1
  462. package/node_modules/@aws-sdk/xml-builder/dist-es/xml-parser.js +233 -43
  463. package/node_modules/@aws-sdk/xml-builder/dist-types/ts3.4/xml-parser.d.ts +1 -1
  464. package/node_modules/@aws-sdk/xml-builder/dist-types/xml-parser.d.ts +2 -1
  465. package/node_modules/@aws-sdk/xml-builder/package.json +9 -10
  466. package/node_modules/@smithy/core/dist-cjs/submodules/cbor/index.js +518 -371
  467. package/node_modules/@smithy/core/dist-cjs/submodules/checksum/index.browser.js +355 -145
  468. package/node_modules/@smithy/core/dist-cjs/submodules/checksum/index.js +456 -142
  469. package/node_modules/@smithy/core/dist-cjs/submodules/checksum/index.native.js +355 -145
  470. package/node_modules/@smithy/core/dist-cjs/submodules/client/index.js +1 -1
  471. package/node_modules/@smithy/core/dist-cjs/submodules/protocols/index.js +15 -4
  472. package/node_modules/@smithy/core/dist-cjs/submodules/serde/index.browser.js +30 -36
  473. package/node_modules/@smithy/core/dist-cjs/submodules/serde/index.js +54 -110
  474. package/node_modules/@smithy/core/dist-cjs/submodules/serde/index.native.js +30 -36
  475. package/node_modules/@smithy/core/dist-es/submodules/cbor/cbor-decode.js +326 -269
  476. package/node_modules/@smithy/core/dist-es/submodules/cbor/cbor-encode.js +192 -103
  477. package/node_modules/@smithy/core/dist-es/submodules/cbor/cbor.js +4 -2
  478. package/node_modules/@smithy/core/dist-es/submodules/checksum/crc32/Crc32Js.js +27 -0
  479. package/node_modules/@smithy/core/dist-es/submodules/checksum/crc32/Crc32Node.js +21 -0
  480. package/node_modules/@smithy/core/dist-es/submodules/checksum/index.browser.js +7 -1
  481. package/node_modules/@smithy/core/dist-es/submodules/checksum/index.js +7 -1
  482. package/node_modules/@smithy/core/dist-es/submodules/checksum/index.native.js +7 -1
  483. package/node_modules/@smithy/core/dist-es/submodules/checksum/md5/Md5Js.js +92 -0
  484. package/node_modules/@smithy/core/dist-es/submodules/checksum/md5/Md5Node.js +29 -0
  485. package/node_modules/@smithy/core/dist-es/submodules/checksum/sha256/Sha256Js.js +179 -0
  486. package/node_modules/@smithy/core/dist-es/submodules/checksum/sha256/Sha256Node.js +59 -0
  487. package/node_modules/@smithy/core/dist-es/submodules/checksum/sha256/Sha256WebCrypto.js +71 -0
  488. package/node_modules/@smithy/core/dist-es/submodules/client/smithy-client/get-value-from-text-node.js +1 -1
  489. package/node_modules/@smithy/core/dist-es/submodules/protocols/HttpProtocol.js +14 -3
  490. package/node_modules/@smithy/core/dist-es/submodules/serde/concatBytes.js +15 -0
  491. package/node_modules/@smithy/core/dist-es/submodules/serde/index.browser.js +2 -0
  492. package/node_modules/@smithy/core/dist-es/submodules/serde/index.js +2 -0
  493. package/node_modules/@smithy/core/dist-es/submodules/serde/index.native.js +2 -0
  494. package/node_modules/@smithy/core/dist-es/submodules/serde/util-stream/checksum/ChecksumStream.js +4 -0
  495. package/node_modules/@smithy/core/dist-es/submodules/serde/util-stream/headStream.js +2 -1
  496. package/node_modules/@smithy/core/dist-es/submodules/serde/util-stream/stream-collector.browser.js +12 -38
  497. package/node_modules/@smithy/core/dist-es/submodules/serde/util-stream/stream-collector.js +18 -33
  498. package/node_modules/@smithy/core/dist-es/submodules/serde/util-utf8/toUint8Array.browser.js +3 -0
  499. package/node_modules/@smithy/core/dist-es/submodules/serde/util-utf8/toUint8Array.js +3 -0
  500. package/node_modules/@smithy/core/dist-types/submodules/cbor/cbor-decode.d.ts +4 -0
  501. package/node_modules/@smithy/core/dist-types/submodules/cbor/cbor-encode.d.ts +8 -4
  502. package/node_modules/@smithy/core/dist-types/submodules/checksum/crc32/Crc32Js.d.ts +13 -0
  503. package/node_modules/@smithy/core/dist-types/submodules/checksum/crc32/Crc32Node.d.ts +13 -0
  504. package/node_modules/@smithy/core/dist-types/submodules/checksum/index.browser.d.ts +7 -1
  505. package/node_modules/@smithy/core/dist-types/submodules/checksum/index.d.ts +7 -1
  506. package/node_modules/@smithy/core/dist-types/submodules/checksum/index.native.d.ts +7 -1
  507. package/node_modules/@smithy/core/dist-types/submodules/checksum/md5/Md5Js.d.ts +19 -0
  508. package/node_modules/@smithy/core/dist-types/submodules/checksum/md5/Md5Node.d.ts +17 -0
  509. package/node_modules/@smithy/core/dist-types/submodules/checksum/sha256/Sha256Js.d.ts +28 -0
  510. package/node_modules/@smithy/core/dist-types/submodules/checksum/sha256/Sha256Node.d.ts +13 -0
  511. package/node_modules/@smithy/core/dist-types/submodules/checksum/sha256/Sha256WebCrypto.d.ts +22 -0
  512. package/node_modules/@smithy/core/dist-types/submodules/protocols/HttpProtocol.d.ts +6 -0
  513. package/node_modules/@smithy/core/dist-types/submodules/serde/concatBytes.d.ts +6 -0
  514. package/node_modules/@smithy/core/dist-types/submodules/serde/index.browser.d.ts +2 -0
  515. package/node_modules/@smithy/core/dist-types/submodules/serde/index.d.ts +2 -0
  516. package/node_modules/@smithy/core/dist-types/submodules/serde/index.native.d.ts +2 -0
  517. package/node_modules/@smithy/core/dist-types/submodules/serde/util-stream/checksum/ChecksumStream.d.ts +9 -0
  518. package/node_modules/@smithy/core/dist-types/submodules/serde/util-stream/stream-collector.browser.d.ts +8 -2
  519. package/node_modules/@smithy/core/dist-types/submodules/serde/util-stream/stream-collector.d.ts +4 -1
  520. package/node_modules/@smithy/core/package.json +4 -3
  521. package/node_modules/@smithy/credential-provider-imds/package.json +2 -2
  522. package/node_modules/@smithy/fetch-http-handler/dist-cjs/index.js +2 -55
  523. package/node_modules/@smithy/fetch-http-handler/dist-es/index.js +2 -2
  524. package/node_modules/@smithy/fetch-http-handler/dist-types/index.d.ts +2 -2
  525. package/node_modules/@smithy/fetch-http-handler/package.json +2 -2
  526. package/node_modules/@smithy/node-http-handler/dist-cjs/index.js +3 -51
  527. package/node_modules/@smithy/node-http-handler/dist-es/index.js +3 -3
  528. package/node_modules/@smithy/node-http-handler/dist-types/index.d.ts +3 -3
  529. package/node_modules/@smithy/node-http-handler/package.json +2 -2
  530. package/node_modules/@smithy/signature-v4/package.json +2 -2
  531. package/node_modules/{js-yaml → aws-lambda/node_modules/js-yaml}/README.md +3 -0
  532. package/node_modules/{js-yaml → aws-lambda/node_modules/js-yaml}/dist/js-yaml.js +7 -1
  533. package/node_modules/aws-lambda/node_modules/js-yaml/dist/js-yaml.min.js +1 -0
  534. package/node_modules/{js-yaml → aws-lambda/node_modules/js-yaml}/lib/js-yaml/loader.js +6 -0
  535. package/node_modules/{js-yaml → aws-lambda/node_modules/js-yaml}/package.json +4 -1
  536. package/package.json +11 -11
  537. package/node_modules/@aws-sdk/core/dist-cjs/submodules/client/index.browser.js +0 -595
  538. package/node_modules/@aws-sdk/core/dist-cjs/submodules/client/index.native.js +0 -588
  539. package/node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/checkUrl.js +0 -46
  540. package/node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/fromHttp.browser.js +0 -31
  541. package/node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/fromHttp.js +0 -76
  542. package/node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/requestHelpers.js +0 -53
  543. package/node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/retry-wrapper.js +0 -17
  544. package/node_modules/@aws-sdk/credential-provider-http/dist-cjs/index.browser.js +0 -5
  545. package/node_modules/@aws-sdk/credential-provider-sso/dist-cjs/loadSso-BKDNrsal.js +0 -8
  546. package/node_modules/@aws-sdk/credential-provider-web-identity/dist-cjs/fromTokenFile.js +0 -33
  547. package/node_modules/@aws-sdk/credential-provider-web-identity/dist-cjs/fromWebToken.js +0 -29
  548. package/node_modules/@aws-sdk/xml-builder/dist-cjs/xml-external/nodable_entities.js +0 -336
  549. package/node_modules/@aws-sdk/xml-builder/dist-cjs/xml-parser.browser.js +0 -60
  550. package/node_modules/@aws-sdk/xml-builder/dist-cjs/xml-parser.js +0 -47
  551. package/node_modules/@aws-sdk/xml-builder/dist-es/xml-external/nodable_entities.js +0 -332
  552. package/node_modules/@aws-sdk/xml-builder/dist-types/ts3.4/xml-external/nodable_entities.d.ts +0 -66
  553. package/node_modules/@aws-sdk/xml-builder/dist-types/xml-external/nodable_entities.d.ts +0 -65
  554. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/CHANGELOG.md +0 -827
  555. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/LICENSE +0 -21
  556. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/README.md +0 -202
  557. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/lib/fxbuilder.min.js +0 -2
  558. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/lib/fxbuilder.min.js.map +0 -1
  559. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/lib/fxp.cjs +0 -1
  560. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/lib/fxp.d.cts +0 -770
  561. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/lib/fxp.min.js +0 -2
  562. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/lib/fxp.min.js.map +0 -1
  563. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/lib/fxparser.min.js +0 -2
  564. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/lib/fxparser.min.js.map +0 -1
  565. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/lib/fxvalidator.min.js +0 -2
  566. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/lib/fxvalidator.min.js.map +0 -1
  567. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/package.json +0 -93
  568. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/cli/cli.js +0 -97
  569. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/cli/man.js +0 -17
  570. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/cli/read.js +0 -43
  571. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/fxp.d.ts +0 -739
  572. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/fxp.js +0 -14
  573. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/ignoreAttributes.js +0 -18
  574. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/util.js +0 -61
  575. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/v6/CharsSymbol.js +0 -16
  576. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/v6/EntitiesParser.js +0 -106
  577. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/v6/OptionsBuilder.js +0 -61
  578. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/v6/OutputBuilders/BaseOutputBuilder.js +0 -69
  579. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/v6/OutputBuilders/JsArrBuilder.js +0 -103
  580. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/v6/OutputBuilders/JsMinArrBuilder.js +0 -100
  581. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/v6/OutputBuilders/JsObjBuilder.js +0 -154
  582. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/v6/OutputBuilders/ParserOptionsBuilder.js +0 -94
  583. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/v6/Report.js +0 -0
  584. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/v6/TagPath.js +0 -81
  585. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/v6/TagPathMatcher.js +0 -13
  586. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/v6/XMLParser.js +0 -83
  587. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/v6/Xml2JsParser.js +0 -235
  588. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/v6/XmlPartReader.js +0 -210
  589. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/v6/XmlSpecialTagsReader.js +0 -111
  590. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/v6/inputSource/BufferSource.js +0 -116
  591. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/v6/inputSource/StringSource.js +0 -121
  592. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/v6/valueParsers/EntitiesParser.js +0 -105
  593. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/v6/valueParsers/booleanParser.js +0 -22
  594. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/v6/valueParsers/booleanParserExt.js +0 -19
  595. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/v6/valueParsers/currency.js +0 -38
  596. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/v6/valueParsers/join.js +0 -13
  597. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/v6/valueParsers/number.js +0 -14
  598. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/v6/valueParsers/trim.js +0 -6
  599. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/validator.js +0 -425
  600. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/xmlbuilder/json2xml.js +0 -6
  601. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/xmlparser/DocTypeReader.js +0 -407
  602. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/xmlparser/OptionsBuilder.js +0 -163
  603. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/xmlparser/OrderedObjParser.js +0 -840
  604. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/xmlparser/XMLParser.js +0 -71
  605. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/xmlparser/node2json.js +0 -177
  606. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/xmlparser/xmlNode.js +0 -40
  607. package/node_modules/@aws-sdk/xml-builder/node_modules/strnum/CHANGELOG.md +0 -51
  608. package/node_modules/@aws-sdk/xml-builder/node_modules/strnum/LICENSE +0 -21
  609. package/node_modules/@aws-sdk/xml-builder/node_modules/strnum/README.md +0 -113
  610. package/node_modules/@aws-sdk/xml-builder/node_modules/strnum/package.json +0 -35
  611. package/node_modules/@aws-sdk/xml-builder/node_modules/strnum/strnum.js +0 -171
  612. package/node_modules/@nodable/entities/README.md +0 -41
  613. package/node_modules/@nodable/entities/package.json +0 -57
  614. package/node_modules/@nodable/entities/src/EntityDecoder.js +0 -644
  615. package/node_modules/@nodable/entities/src/EntityEncoder.js +0 -194
  616. package/node_modules/@nodable/entities/src/entities.js +0 -1159
  617. package/node_modules/@nodable/entities/src/entityTries.js +0 -49
  618. package/node_modules/@nodable/entities/src/index.d.ts +0 -341
  619. package/node_modules/@nodable/entities/src/index.js +0 -29
  620. package/node_modules/@smithy/core/dist-es/submodules/checksum/md5-js/constants.js +0 -3
  621. package/node_modules/@smithy/core/dist-es/submodules/checksum/md5-js/md5.js +0 -168
  622. package/node_modules/@smithy/core/dist-types/submodules/checksum/md5-js/constants.d.ts +0 -12
  623. package/node_modules/@smithy/core/dist-types/submodules/checksum/md5-js/md5.d.ts +0 -16
  624. package/node_modules/@smithy/fetch-http-handler/dist-es/stream-collector.js +0 -53
  625. package/node_modules/@smithy/fetch-http-handler/dist-types/stream-collector.d.ts +0 -2
  626. package/node_modules/@smithy/node-http-handler/dist-es/stream-collector/collector.js +0 -8
  627. package/node_modules/@smithy/node-http-handler/dist-es/stream-collector/index.js +0 -41
  628. package/node_modules/@smithy/node-http-handler/dist-types/stream-collector/collector.d.ts +0 -5
  629. package/node_modules/@smithy/node-http-handler/dist-types/stream-collector/index.d.ts +0 -7
  630. package/node_modules/anynum/LICENSE +0 -21
  631. package/node_modules/anynum/README.md +0 -142
  632. package/node_modules/anynum/anynum.js +0 -135
  633. package/node_modules/anynum/digitTable.js +0 -116
  634. package/node_modules/anynum/package.json +0 -42
  635. package/node_modules/fast-xml-builder/CHANGELOG.md +0 -40
  636. package/node_modules/fast-xml-builder/LICENSE +0 -21
  637. package/node_modules/fast-xml-builder/README.md +0 -74
  638. package/node_modules/fast-xml-builder/lib/fxb.cjs +0 -1
  639. package/node_modules/fast-xml-builder/lib/fxb.d.cts +0 -270
  640. package/node_modules/fast-xml-builder/lib/fxb.min.js +0 -2
  641. package/node_modules/fast-xml-builder/lib/fxb.min.js.map +0 -1
  642. package/node_modules/fast-xml-builder/package.json +0 -81
  643. package/node_modules/fast-xml-builder/src/fxb.d.ts +0 -270
  644. package/node_modules/fast-xml-builder/src/fxb.js +0 -599
  645. package/node_modules/fast-xml-builder/src/ignoreAttributes.js +0 -18
  646. package/node_modules/fast-xml-builder/src/orderedJs2Xml.js +0 -359
  647. package/node_modules/fast-xml-builder/src/prettifyJs2Xml.js +0 -0
  648. package/node_modules/fast-xml-builder/src/util.js +0 -16
  649. package/node_modules/js-yaml/dist/js-yaml.min.js +0 -1
  650. package/node_modules/path-expression-matcher/LICENSE +0 -21
  651. package/node_modules/path-expression-matcher/README.md +0 -872
  652. package/node_modules/path-expression-matcher/lib/pem.cjs +0 -1
  653. package/node_modules/path-expression-matcher/lib/pem.d.cts +0 -634
  654. package/node_modules/path-expression-matcher/lib/pem.min.js +0 -2
  655. package/node_modules/path-expression-matcher/lib/pem.min.js.map +0 -1
  656. package/node_modules/path-expression-matcher/package.json +0 -78
  657. package/node_modules/path-expression-matcher/src/Expression.js +0 -232
  658. package/node_modules/path-expression-matcher/src/ExpressionSet.js +0 -209
  659. package/node_modules/path-expression-matcher/src/Matcher.js +0 -570
  660. package/node_modules/path-expression-matcher/src/index.d.ts +0 -523
  661. package/node_modules/path-expression-matcher/src/index.js +0 -29
  662. package/node_modules/xml-naming/README.md +0 -189
  663. package/node_modules/xml-naming/package.json +0 -54
  664. package/node_modules/xml-naming/src/index.d.ts +0 -74
  665. package/node_modules/xml-naming/src/index.js +0 -270
  666. /package/node_modules/{js-yaml → aws-lambda/node_modules/js-yaml}/LICENSE +0 -0
  667. /package/node_modules/{js-yaml → aws-lambda/node_modules/js-yaml}/bin/js-yaml.js +0 -0
  668. /package/node_modules/{js-yaml → aws-lambda/node_modules/js-yaml}/index.js +0 -0
  669. /package/node_modules/{js-yaml → aws-lambda/node_modules/js-yaml}/lib/js-yaml/common.js +0 -0
  670. /package/node_modules/{js-yaml → aws-lambda/node_modules/js-yaml}/lib/js-yaml/dumper.js +0 -0
  671. /package/node_modules/{js-yaml → aws-lambda/node_modules/js-yaml}/lib/js-yaml/exception.js +0 -0
  672. /package/node_modules/{js-yaml → aws-lambda/node_modules/js-yaml}/lib/js-yaml/mark.js +0 -0
  673. /package/node_modules/{js-yaml → aws-lambda/node_modules/js-yaml}/lib/js-yaml/schema/core.js +0 -0
  674. /package/node_modules/{js-yaml → aws-lambda/node_modules/js-yaml}/lib/js-yaml/schema/default_full.js +0 -0
  675. /package/node_modules/{js-yaml → aws-lambda/node_modules/js-yaml}/lib/js-yaml/schema/default_safe.js +0 -0
  676. /package/node_modules/{js-yaml → aws-lambda/node_modules/js-yaml}/lib/js-yaml/schema/failsafe.js +0 -0
  677. /package/node_modules/{js-yaml → aws-lambda/node_modules/js-yaml}/lib/js-yaml/schema/json.js +0 -0
  678. /package/node_modules/{js-yaml → aws-lambda/node_modules/js-yaml}/lib/js-yaml/schema.js +0 -0
  679. /package/node_modules/{js-yaml → aws-lambda/node_modules/js-yaml}/lib/js-yaml/type/binary.js +0 -0
  680. /package/node_modules/{js-yaml → aws-lambda/node_modules/js-yaml}/lib/js-yaml/type/bool.js +0 -0
  681. /package/node_modules/{js-yaml → aws-lambda/node_modules/js-yaml}/lib/js-yaml/type/float.js +0 -0
  682. /package/node_modules/{js-yaml → aws-lambda/node_modules/js-yaml}/lib/js-yaml/type/int.js +0 -0
  683. /package/node_modules/{js-yaml → aws-lambda/node_modules/js-yaml}/lib/js-yaml/type/js/function.js +0 -0
  684. /package/node_modules/{js-yaml → aws-lambda/node_modules/js-yaml}/lib/js-yaml/type/js/regexp.js +0 -0
  685. /package/node_modules/{js-yaml → aws-lambda/node_modules/js-yaml}/lib/js-yaml/type/js/undefined.js +0 -0
  686. /package/node_modules/{js-yaml → aws-lambda/node_modules/js-yaml}/lib/js-yaml/type/map.js +0 -0
  687. /package/node_modules/{js-yaml → aws-lambda/node_modules/js-yaml}/lib/js-yaml/type/merge.js +0 -0
  688. /package/node_modules/{js-yaml → aws-lambda/node_modules/js-yaml}/lib/js-yaml/type/null.js +0 -0
  689. /package/node_modules/{js-yaml → aws-lambda/node_modules/js-yaml}/lib/js-yaml/type/omap.js +0 -0
  690. /package/node_modules/{js-yaml → aws-lambda/node_modules/js-yaml}/lib/js-yaml/type/pairs.js +0 -0
  691. /package/node_modules/{js-yaml → aws-lambda/node_modules/js-yaml}/lib/js-yaml/type/seq.js +0 -0
  692. /package/node_modules/{js-yaml → aws-lambda/node_modules/js-yaml}/lib/js-yaml/type/set.js +0 -0
  693. /package/node_modules/{js-yaml → aws-lambda/node_modules/js-yaml}/lib/js-yaml/type/str.js +0 -0
  694. /package/node_modules/{js-yaml → aws-lambda/node_modules/js-yaml}/lib/js-yaml/type/timestamp.js +0 -0
  695. /package/node_modules/{js-yaml → aws-lambda/node_modules/js-yaml}/lib/js-yaml/type.js +0 -0
  696. /package/node_modules/{js-yaml → aws-lambda/node_modules/js-yaml}/lib/js-yaml.js +0 -0
@@ -1,13 +1,14 @@
1
- import { nv, toUtf8 } from "@smithy/core/serde";
1
+ import { nv } from "@smithy/core/serde";
2
2
  import { alloc, extendedFloat16, extendedFloat32, extendedFloat64, extendedOneByte, majorList, majorMap, majorNegativeInt64, majorTag, majorUint64, majorUnstructuredByteString, majorUtf8String, minorIndefinite, specialFalse, specialNull, specialTrue, specialUndefined, tag, } from "./cbor-types";
3
- const USE_TEXT_DECODER = typeof TextDecoder !== "undefined";
4
3
  const USE_BUFFER = typeof Buffer !== "undefined";
4
+ const textDecoder = new TextDecoder();
5
5
  let payload = alloc(0);
6
+ let isBuffer = false;
6
7
  let dataView = new DataView(payload.buffer, payload.byteOffset, payload.byteLength);
7
- const textDecoder = USE_TEXT_DECODER ? new TextDecoder() : null;
8
8
  let _offset = 0;
9
9
  export function setPayload(bytes) {
10
10
  payload = bytes;
11
+ isBuffer = USE_BUFFER && payload instanceof Buffer;
11
12
  dataView = new DataView(payload.buffer, payload.byteOffset, payload.byteLength);
12
13
  }
13
14
  export function decode(at, to) {
@@ -16,10 +17,13 @@ export function decode(at, to) {
16
17
  }
17
18
  const major = (payload[at] & 0b1110_0000) >> 5;
18
19
  const minor = payload[at] & 0b0001_1111;
20
+ if (minor === minorIndefinite && 2 <= major && major <= 5) {
21
+ return decodeIndefinite(at, to);
22
+ }
19
23
  switch (major) {
20
24
  case majorUint64:
21
25
  case majorNegativeInt64:
22
- case majorTag:
26
+ case majorTag: {
23
27
  let unsignedInt;
24
28
  let offset;
25
29
  if (minor < 24) {
@@ -29,31 +33,43 @@ export function decode(at, to) {
29
33
  else {
30
34
  switch (minor) {
31
35
  case extendedOneByte:
32
- case extendedFloat16:
33
- case extendedFloat32:
34
- case extendedFloat64:
35
- const countLength = minorValueToArgumentLength[minor];
36
- const countOffset = (countLength + 1);
37
- offset = countOffset;
38
- if (to - at < countOffset) {
39
- throw new Error(`countLength ${countLength} greater than remaining buf len.`);
36
+ if (to - at < 2) {
37
+ overflow(1);
40
38
  }
41
- const countIndex = at + 1;
42
- if (countLength === 1) {
43
- unsignedInt = payload[countIndex];
39
+ unsignedInt = payload[at + 1];
40
+ offset = 2;
41
+ break;
42
+ case extendedFloat16:
43
+ if (to - at < 3) {
44
+ overflow(2);
44
45
  }
45
- else if (countLength === 2) {
46
- unsignedInt = dataView.getUint16(countIndex);
46
+ unsignedInt = dataView.getUint16(at + 1);
47
+ offset = 3;
48
+ break;
49
+ case extendedFloat32:
50
+ if (to - at < 5) {
51
+ overflow(4);
47
52
  }
48
- else if (countLength === 4) {
49
- unsignedInt = dataView.getUint32(countIndex);
53
+ unsignedInt = dataView.getUint32(at + 1);
54
+ offset = 5;
55
+ break;
56
+ case extendedFloat64:
57
+ if (to - at < 9) {
58
+ overflow(8);
50
59
  }
51
- else {
52
- unsignedInt = dataView.getBigUint64(countIndex);
60
+ {
61
+ const hi = dataView.getUint32(at + 1);
62
+ if (hi < 0x00200000) {
63
+ unsignedInt = hi * 4294967296 + dataView.getUint32(at + 5);
64
+ }
65
+ else {
66
+ unsignedInt = dataView.getBigUint64(at + 1);
67
+ }
53
68
  }
69
+ offset = 9;
54
70
  break;
55
71
  default:
56
- throw new Error(`unexpected minor value ${minor}.`);
72
+ unexpectedMinor(minor);
57
73
  }
58
74
  }
59
75
  if (major === majorUint64) {
@@ -72,234 +88,98 @@ export function decode(at, to) {
72
88
  return castBigInt(negativeInt);
73
89
  }
74
90
  else {
75
- if (minor === 2 || minor === 3) {
76
- const length = decodeCount(at + offset, to);
77
- let b = BigInt(0);
78
- const start = at + offset + _offset;
79
- for (let i = start; i < start + length; ++i) {
80
- b = (b << BigInt(8)) | BigInt(payload[i]);
81
- }
82
- _offset = offset + _offset + length;
83
- return minor === 3 ? -b - BigInt(1) : b;
84
- }
85
- else if (minor === 4) {
86
- const decimalFraction = decode(at + offset, to);
87
- const [exponent, mantissa] = decimalFraction;
88
- const normalizer = mantissa < 0 ? -1 : 1;
89
- const mantissaStr = "0".repeat(Math.abs(exponent) + 1) + String(BigInt(normalizer) * BigInt(mantissa));
90
- let numericString;
91
- const sign = mantissa < 0 ? "-" : "";
92
- numericString =
93
- exponent === 0
94
- ? mantissaStr
95
- : mantissaStr.slice(0, mantissaStr.length + exponent) + "." + mantissaStr.slice(exponent);
96
- numericString = numericString.replace(/^0+/g, "");
97
- if (numericString === "") {
98
- numericString = "0";
99
- }
100
- if (numericString[0] === ".") {
101
- numericString = "0" + numericString;
102
- }
103
- numericString = sign + numericString;
104
- _offset = offset + _offset;
105
- return nv(numericString);
106
- }
107
- else {
108
- const value = decode(at + offset, to);
109
- const valueOffset = _offset;
110
- _offset = offset + valueOffset;
111
- return tag({ tag: castBigInt(unsignedInt), value });
112
- }
91
+ return decodeTagValue(at, to, minor, unsignedInt, offset);
113
92
  }
93
+ }
114
94
  case majorUtf8String:
95
+ return decodeUtf8String(at, to);
115
96
  case majorMap:
97
+ return decodeMap(at, to);
116
98
  case majorList:
99
+ return decodeList(at, to);
117
100
  case majorUnstructuredByteString:
118
- if (minor === minorIndefinite) {
119
- switch (major) {
120
- case majorUtf8String:
121
- return decodeUtf8StringIndefinite(at, to);
122
- case majorMap:
123
- return decodeMapIndefinite(at, to);
124
- case majorList:
125
- return decodeListIndefinite(at, to);
126
- case majorUnstructuredByteString:
127
- return decodeUnstructuredByteStringIndefinite(at, to);
128
- }
129
- }
130
- else {
131
- switch (major) {
132
- case majorUtf8String:
133
- return decodeUtf8String(at, to);
134
- case majorMap:
135
- return decodeMap(at, to);
136
- case majorList:
137
- return decodeList(at, to);
138
- case majorUnstructuredByteString:
139
- return decodeUnstructuredByteString(at, to);
140
- }
141
- }
101
+ return decodeUnstructuredByteString(at, to);
142
102
  default:
143
103
  return decodeSpecial(at, to);
144
104
  }
145
105
  }
146
- function bytesToUtf8(bytes, at, to) {
147
- if (USE_BUFFER && bytes.constructor?.name === "Buffer") {
148
- return bytes.toString("utf-8", at, to);
149
- }
150
- if (textDecoder) {
151
- return textDecoder.decode(bytes.subarray(at, to));
152
- }
153
- return toUtf8(bytes.subarray(at, to));
154
- }
155
- function demote(bigInteger) {
156
- const num = Number(bigInteger);
157
- if (num < Number.MIN_SAFE_INTEGER || Number.MAX_SAFE_INTEGER < num) {
158
- console.warn(new Error(`@smithy/core/cbor - truncating BigInt(${bigInteger}) to ${num} with loss of precision.`));
106
+ function decodeIndefinite(at, to) {
107
+ const major = (payload[at] & 0b1110_0000) >> 5;
108
+ const minor = payload[at] & 0b0001_1111;
109
+ if (minor === minorIndefinite) {
110
+ switch (major) {
111
+ case majorUtf8String:
112
+ return decodeUtf8StringIndefinite(at, to);
113
+ case majorMap:
114
+ return decodeMapIndefinite(at, to);
115
+ case majorList:
116
+ return decodeListIndefinite(at, to);
117
+ case majorUnstructuredByteString:
118
+ return decodeUnstructuredByteStringIndefinite(at, to);
119
+ default:
120
+ }
159
121
  }
160
- return num;
161
122
  }
162
- const minorValueToArgumentLength = {
163
- [extendedOneByte]: 1,
164
- [extendedFloat16]: 2,
165
- [extendedFloat32]: 4,
166
- [extendedFloat64]: 8,
167
- };
168
123
  export function bytesToFloat16(a, b) {
169
124
  const sign = a >> 7;
170
125
  const exponent = (a & 0b0111_1100) >> 2;
171
126
  const fraction = ((a & 0b0000_0011) << 8) | b;
172
127
  const scalar = sign === 0 ? 1 : -1;
173
- let exponentComponent;
174
- let summation;
175
128
  if (exponent === 0b00000) {
176
- if (fraction === 0b00000_00000) {
129
+ if (fraction === 0) {
177
130
  return 0;
178
131
  }
179
- else {
180
- exponentComponent = Math.pow(2, 1 - 15);
181
- summation = 0;
182
- }
132
+ return scalar * (Math.pow(2, 1 - 15) * (fraction / 1024));
183
133
  }
184
134
  else if (exponent === 0b11111) {
185
- if (fraction === 0b00000_00000) {
135
+ if (fraction === 0) {
186
136
  return scalar * Infinity;
187
137
  }
188
- else {
189
- return NaN;
190
- }
191
- }
192
- else {
193
- exponentComponent = Math.pow(2, exponent - 15);
194
- summation = 1;
138
+ return NaN;
195
139
  }
196
- summation += fraction / 1024;
197
- return scalar * (exponentComponent * summation);
140
+ return scalar * (Math.pow(2, exponent - 15) * (1 + fraction / 1024));
198
141
  }
199
- function decodeCount(at, to) {
200
- const minor = payload[at] & 0b0001_1111;
201
- if (minor < 24) {
202
- _offset = 1;
203
- return minor;
204
- }
205
- if (minor === extendedOneByte ||
206
- minor === extendedFloat16 ||
207
- minor === extendedFloat32 ||
208
- minor === extendedFloat64) {
209
- const countLength = minorValueToArgumentLength[minor];
210
- _offset = (countLength + 1);
211
- if (to - at < _offset) {
212
- throw new Error(`countLength ${countLength} greater than remaining buf len.`);
213
- }
214
- const countIndex = at + 1;
215
- if (countLength === 1) {
216
- return payload[countIndex];
217
- }
218
- else if (countLength === 2) {
219
- return dataView.getUint16(countIndex);
220
- }
221
- else if (countLength === 4) {
222
- return dataView.getUint32(countIndex);
223
- }
224
- return demote(dataView.getBigUint64(countIndex));
142
+ function decodeMap(at, to) {
143
+ const mapDataLength = decodeCount(at, to);
144
+ if (mapDataLength < 15) {
145
+ return decodeMapSmall(at, to, mapDataLength);
225
146
  }
226
- throw new Error(`unexpected minor value ${minor}.`);
147
+ return decodeMapLarge(at, to, mapDataLength);
227
148
  }
228
- function decodeUtf8String(at, to) {
229
- const length = decodeCount(at, to);
149
+ function decodeMapLarge(at, to, mapDataLength) {
230
150
  const offset = _offset;
231
151
  at += offset;
232
- if (to - at < length) {
233
- throw new Error(`string len ${length} greater than remaining buf len.`);
234
- }
235
- const value = bytesToUtf8(payload, at, at + length);
236
- _offset = offset + length;
237
- return value;
238
- }
239
- function decodeUtf8StringIndefinite(at, to) {
240
- at += 1;
241
- const vector = [];
242
- for (const base = at; at < to;) {
243
- if (payload[at] === 0b1111_1111) {
244
- const data = alloc(vector.length);
245
- data.set(vector, 0);
246
- _offset = at - base + 2;
247
- return bytesToUtf8(data, 0, data.length);
248
- }
249
- const major = (payload[at] & 0b1110_0000) >> 5;
250
- const minor = payload[at] & 0b0001_1111;
251
- if (major !== majorUtf8String) {
252
- throw new Error(`unexpected major type ${major} in indefinite string.`);
253
- }
254
- if (minor === minorIndefinite) {
255
- throw new Error("nested indefinite string.");
152
+ const base = at;
153
+ const map = Object.create(null);
154
+ for (let i = 0; i < mapDataLength; ++i) {
155
+ const key = decodeUtf8String(at, to);
156
+ at += _offset;
157
+ const valMajor = (payload[at] & 0b1110_0000) >> 5;
158
+ if (valMajor === majorUtf8String) {
159
+ map[key] = decodeUtf8String(at, to);
256
160
  }
257
- const bytes = decodeUnstructuredByteString(at, to);
258
- const length = _offset;
259
- at += length;
260
- for (let i = 0; i < bytes.length; ++i) {
261
- vector.push(bytes[i]);
161
+ else {
162
+ map[key] = decode(at, to);
262
163
  }
164
+ at += _offset;
263
165
  }
264
- throw new Error("expected break marker.");
166
+ _offset = offset + (at - base);
167
+ Object.setPrototypeOf(map, Object.prototype);
168
+ return map;
265
169
  }
266
- function decodeUnstructuredByteString(at, to) {
267
- const length = decodeCount(at, to);
170
+ function decodeMapSmall(at, to, mapDataLength) {
268
171
  const offset = _offset;
269
172
  at += offset;
270
- if (to - at < length) {
271
- throw new Error(`unstructured byte string len ${length} greater than remaining buf len.`);
272
- }
273
- const value = payload.subarray(at, at + length);
274
- _offset = offset + length;
275
- return value;
276
- }
277
- function decodeUnstructuredByteStringIndefinite(at, to) {
278
- at += 1;
279
- const vector = [];
280
- for (const base = at; at < to;) {
281
- if (payload[at] === 0b1111_1111) {
282
- const data = alloc(vector.length);
283
- data.set(vector, 0);
284
- _offset = at - base + 2;
285
- return data;
286
- }
287
- const major = (payload[at] & 0b1110_0000) >> 5;
288
- const minor = payload[at] & 0b0001_1111;
289
- if (major !== majorUnstructuredByteString) {
290
- throw new Error(`unexpected major type ${major} in indefinite string.`);
291
- }
292
- if (minor === minorIndefinite) {
293
- throw new Error("nested indefinite string.");
294
- }
295
- const bytes = decodeUnstructuredByteString(at, to);
296
- const length = _offset;
297
- at += length;
298
- for (let i = 0; i < bytes.length; ++i) {
299
- vector.push(bytes[i]);
300
- }
173
+ const base = at;
174
+ const map = {};
175
+ for (let i = 0; i < mapDataLength; ++i) {
176
+ const key = decodeUtf8String(at, to);
177
+ at += _offset;
178
+ map[key] = decode(at, to);
179
+ at += _offset;
301
180
  }
302
- throw new Error("expected break marker.");
181
+ _offset = offset + (at - base);
182
+ return map;
303
183
  }
304
184
  function decodeList(at, to) {
305
185
  const listDataLength = decodeCount(at, to);
@@ -308,75 +188,115 @@ function decodeList(at, to) {
308
188
  const base = at;
309
189
  const list = Array(listDataLength);
310
190
  for (let i = 0; i < listDataLength; ++i) {
311
- const item = decode(at, to);
312
- const itemOffset = _offset;
313
- list[i] = item;
314
- at += itemOffset;
191
+ list[i] = decode(at, to);
192
+ at += _offset;
315
193
  }
316
194
  _offset = offset + (at - base);
317
195
  return list;
318
196
  }
319
- function decodeListIndefinite(at, to) {
320
- at += 1;
321
- const list = [];
322
- for (const base = at; at < to;) {
323
- if (payload[at] === 0b1111_1111) {
324
- _offset = at - base + 2;
325
- return list;
197
+ function decodeUtf8String(at, to) {
198
+ const length = decodeCount(at, to);
199
+ const offset = _offset;
200
+ at += offset;
201
+ if (to - at < length) {
202
+ overflow(length);
203
+ }
204
+ _offset = offset + length;
205
+ if (length < 24) {
206
+ return decodeUtf8StringCached(at, length);
207
+ }
208
+ if (isBuffer) {
209
+ return payload.toString("utf-8", at, at + length);
210
+ }
211
+ return textDecoder.decode(payload.subarray(at, at + length));
212
+ }
213
+ const stringCache = new Array(2048);
214
+ const stringCacheEpochs = new Uint16Array(2048);
215
+ let cacheEpoch = 0;
216
+ export function advanceDecodingEpoch() {
217
+ cacheEpoch = (cacheEpoch + 1) & 0b1111_1111_1111_1111;
218
+ }
219
+ function decodeUtf8StringCached(at, length) {
220
+ let h = length;
221
+ for (let i = 0; i < length; ++i) {
222
+ h = (h * 31 + payload[at + i]) | 0;
223
+ }
224
+ const slot = (h >>> 0) & 2047;
225
+ const cached = stringCache[slot];
226
+ if (cached !== undefined) {
227
+ if (cached.length === length) {
228
+ let match = true;
229
+ for (let i = 0; i < length; ++i) {
230
+ if (cached.charCodeAt(i) !== payload[at + i]) {
231
+ match = false;
232
+ break;
233
+ }
234
+ }
235
+ if (match) {
236
+ stringCacheEpochs[slot] = cacheEpoch;
237
+ return cached;
238
+ }
326
239
  }
327
- const item = decode(at, to);
328
- const n = _offset;
329
- at += n;
330
- list.push(item);
331
240
  }
332
- throw new Error("expected break marker.");
241
+ const result = isBuffer
242
+ ? payload.toString("utf-8", at, at + length)
243
+ : textDecoder.decode(payload.subarray(at, at + length));
244
+ if (stringCacheEpochs[slot] !== cacheEpoch) {
245
+ stringCache[slot] = result;
246
+ stringCacheEpochs[slot] = cacheEpoch;
247
+ }
248
+ return result;
333
249
  }
334
- function decodeMap(at, to) {
335
- const mapDataLength = decodeCount(at, to);
250
+ function decodeUnstructuredByteString(at, to) {
251
+ const length = decodeCount(at, to);
336
252
  const offset = _offset;
337
253
  at += offset;
338
- const base = at;
339
- const map = {};
340
- for (let i = 0; i < mapDataLength; ++i) {
341
- if (at >= to) {
342
- throw new Error("unexpected end of map payload.");
343
- }
344
- const major = (payload[at] & 0b1110_0000) >> 5;
345
- if (major !== majorUtf8String) {
346
- throw new Error(`unexpected major type ${major} for map key at index ${at}.`);
347
- }
348
- const key = decode(at, to);
349
- at += _offset;
350
- const value = decode(at, to);
351
- at += _offset;
352
- map[key] = value;
254
+ if (to - at < length) {
255
+ overflow(length);
353
256
  }
354
- _offset = offset + (at - base);
355
- return map;
257
+ const value = payload.subarray(at, at + length);
258
+ _offset = offset + length;
259
+ return value;
356
260
  }
357
- function decodeMapIndefinite(at, to) {
358
- at += 1;
359
- const base = at;
360
- const map = {};
361
- for (; at < to;) {
362
- if (at >= to) {
363
- throw new Error("unexpected end of map payload.");
261
+ function decodeTagValue(at, to, minor, unsignedInt, offset) {
262
+ if (minor === 2 || minor === 3) {
263
+ const length = decodeCount(at + offset, to);
264
+ let b = BigInt(0);
265
+ const start = at + offset + _offset;
266
+ for (let i = start; i < start + length; ++i) {
267
+ b = (b << BigInt(8)) | BigInt(payload[i]);
364
268
  }
365
- if (payload[at] === 0b1111_1111) {
366
- _offset = at - base + 2;
367
- return map;
269
+ _offset = offset + _offset + length;
270
+ return minor === 3 ? -b - BigInt(1) : b;
271
+ }
272
+ else if (minor === 4) {
273
+ const decimalFraction = decode(at + offset, to);
274
+ const [exponent, mantissa] = decimalFraction;
275
+ const normalizer = mantissa < 0 ? -1 : 1;
276
+ const mantissaStr = "0".repeat(Math.abs(exponent) + 1) + String(BigInt(normalizer) * BigInt(mantissa));
277
+ let numericString;
278
+ const sign = mantissa < 0 ? "-" : "";
279
+ numericString =
280
+ exponent === 0
281
+ ? mantissaStr
282
+ : mantissaStr.slice(0, mantissaStr.length + exponent) + "." + mantissaStr.slice(exponent);
283
+ numericString = numericString.replace(/^0+/g, "");
284
+ if (numericString === "") {
285
+ numericString = "0";
368
286
  }
369
- const major = (payload[at] & 0b1110_0000) >> 5;
370
- if (major !== majorUtf8String) {
371
- throw new Error(`unexpected major type ${major} for map key.`);
287
+ if (numericString[0] === ".") {
288
+ numericString = "0" + numericString;
372
289
  }
373
- const key = decode(at, to);
374
- at += _offset;
375
- const value = decode(at, to);
376
- at += _offset;
377
- map[key] = value;
290
+ numericString = sign + numericString;
291
+ _offset = offset + _offset;
292
+ return nv(numericString);
293
+ }
294
+ else {
295
+ const value = decode(at + offset, to);
296
+ const valueOffset = _offset;
297
+ _offset = offset + valueOffset;
298
+ return tag({ tag: castBigInt(unsignedInt), value });
378
299
  }
379
- throw new Error("expected break marker.");
380
300
  }
381
301
  function decodeSpecial(at, to) {
382
302
  const minor = payload[at] & 0b0001_1111;
@@ -410,8 +330,129 @@ function decodeSpecial(at, to) {
410
330
  _offset = 9;
411
331
  return dataView.getFloat64(at + 1);
412
332
  default:
413
- throw new Error(`unexpected minor value ${minor}.`);
333
+ unexpectedMinor(minor);
334
+ }
335
+ }
336
+ function decodeCount(at, to) {
337
+ const minor = payload[at] & 0b0001_1111;
338
+ if (minor < 24) {
339
+ _offset = 1;
340
+ return minor;
341
+ }
342
+ switch (minor) {
343
+ case extendedOneByte:
344
+ if (to - at < 2) {
345
+ overflow(1);
346
+ }
347
+ _offset = 2;
348
+ return payload[at + 1];
349
+ case extendedFloat16:
350
+ if (to - at < 3) {
351
+ overflow(2);
352
+ }
353
+ _offset = 3;
354
+ return dataView.getUint16(at + 1);
355
+ case extendedFloat32:
356
+ if (to - at < 5) {
357
+ overflow(4);
358
+ }
359
+ _offset = 5;
360
+ return dataView.getUint32(at + 1);
361
+ case extendedFloat64:
362
+ if (to - at < 9) {
363
+ overflow(8);
364
+ }
365
+ _offset = 9;
366
+ return demote(dataView.getBigUint64(at + 1));
367
+ default:
368
+ unexpectedMinor(minor);
369
+ }
370
+ }
371
+ function decodeMapIndefinite(at, to) {
372
+ at += 1;
373
+ const base = at;
374
+ const map = {};
375
+ for (; at < to;) {
376
+ if (payload[at] === 0b1111_1111) {
377
+ _offset = at - base + 2;
378
+ return map;
379
+ }
380
+ const key = decodeUtf8String(at, to);
381
+ at += _offset;
382
+ map[key] = decode(at, to);
383
+ at += _offset;
384
+ }
385
+ throw new Error("expected break marker.");
386
+ }
387
+ function decodeListIndefinite(at, to) {
388
+ at += 1;
389
+ const list = [];
390
+ for (const base = at; at < to;) {
391
+ if (payload[at] === 0b1111_1111) {
392
+ _offset = at - base + 2;
393
+ return list;
394
+ }
395
+ list.push(decode(at, to));
396
+ at += _offset;
397
+ }
398
+ throw new Error("expected break marker.");
399
+ }
400
+ function decodeUtf8StringIndefinite(at, to) {
401
+ at += 1;
402
+ const vector = [];
403
+ for (const base = at; at < to;) {
404
+ if (payload[at] === 0b1111_1111) {
405
+ const data = alloc(vector.length);
406
+ data.set(vector, 0);
407
+ _offset = at - base + 2;
408
+ if (USE_BUFFER) {
409
+ return data.toString("utf-8", 0, data.length);
410
+ }
411
+ return textDecoder.decode(data);
412
+ }
413
+ const major = (payload[at] & 0b1110_0000) >> 5;
414
+ const minor = payload[at] & 0b0001_1111;
415
+ if (major !== majorUtf8String) {
416
+ unexpectedMajorInIndefiniteString(major);
417
+ }
418
+ if (minor === minorIndefinite) {
419
+ throw new Error("nested indefinite string.");
420
+ }
421
+ const bytes = decodeUnstructuredByteString(at, to);
422
+ const length = _offset;
423
+ at += length;
424
+ for (let i = 0; i < bytes.length; ++i) {
425
+ vector.push(bytes[i]);
426
+ }
427
+ }
428
+ throw new Error("expected break marker.");
429
+ }
430
+ function decodeUnstructuredByteStringIndefinite(at, to) {
431
+ at += 1;
432
+ const vector = [];
433
+ for (const base = at; at < to;) {
434
+ if (payload[at] === 0b1111_1111) {
435
+ const data = alloc(vector.length);
436
+ data.set(vector, 0);
437
+ _offset = at - base + 2;
438
+ return data;
439
+ }
440
+ const major = (payload[at] & 0b1110_0000) >> 5;
441
+ const minor = payload[at] & 0b0001_1111;
442
+ if (major !== majorUnstructuredByteString) {
443
+ unexpectedMajorInIndefiniteString(major);
444
+ }
445
+ if (minor === minorIndefinite) {
446
+ throw new Error("nested indefinite string.");
447
+ }
448
+ const bytes = decodeUnstructuredByteString(at, to);
449
+ const length = _offset;
450
+ at += length;
451
+ for (let i = 0; i < bytes.length; ++i) {
452
+ vector.push(bytes[i]);
453
+ }
414
454
  }
455
+ throw new Error("expected break marker.");
415
456
  }
416
457
  function castBigInt(bigInt) {
417
458
  if (typeof bigInt === "number") {
@@ -423,3 +464,19 @@ function castBigInt(bigInt) {
423
464
  }
424
465
  return bigInt;
425
466
  }
467
+ function demote(bigInteger) {
468
+ const num = Number(bigInteger);
469
+ if (num < Number.MIN_SAFE_INTEGER || Number.MAX_SAFE_INTEGER < num) {
470
+ console.warn(new Error(`@smithy/core/cbor - truncating BigInt(${bigInteger}) to ${num} with loss of precision.`));
471
+ }
472
+ return num;
473
+ }
474
+ function overflow(n) {
475
+ throw new Error(`length ${n} greater than remaining buf len.`);
476
+ }
477
+ function unexpectedMinor(minor) {
478
+ throw new Error(`unexpected minor value ${minor}.`);
479
+ }
480
+ function unexpectedMajorInIndefiniteString(major) {
481
+ throw new Error(`unexpected major type ${major} in indefinite string.`);
482
+ }