@gemeentenijmegen/webapp 1.1.6 → 1.1.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (345) hide show
  1. package/.jsii +13 -13
  2. package/assets/webapp/auth/auth.lambda/index.js +10 -10
  3. package/assets/webapp/login/login.lambda/index.js +10 -10
  4. package/assets/webapp/logout/logout.lambda/index.js +10 -10
  5. package/lib/webapp/Criticality.js +1 -1
  6. package/lib/webapp/Webapp.js +1 -1
  7. package/lib/webapp/Webpage.js +1 -1
  8. package/lib/webapp/auth/auth-function.js +2 -2
  9. package/lib/webapp/login/login-function.js +2 -2
  10. package/lib/webapp/logout/logout-function.js +2 -2
  11. package/lib/webapp/util/Files.js +1 -1
  12. package/node_modules/@aws-sdk/client-dynamodb/dist-cjs/auth/httpAuthSchemeProvider.js +3 -1
  13. package/node_modules/@aws-sdk/client-dynamodb/dist-cjs/endpoint/ruleset.js +1 -1
  14. package/node_modules/@aws-sdk/client-dynamodb/dist-cjs/index.js +11 -1
  15. package/node_modules/@aws-sdk/client-dynamodb/dist-cjs/runtimeConfig.js +1 -0
  16. package/node_modules/@aws-sdk/client-dynamodb/dist-es/auth/httpAuthSchemeProvider.js +3 -1
  17. package/node_modules/@aws-sdk/client-dynamodb/dist-es/commands/TransactWriteItemsCommand.js +7 -1
  18. package/node_modules/@aws-sdk/client-dynamodb/dist-es/endpoint/ruleset.js +1 -1
  19. package/node_modules/@aws-sdk/client-dynamodb/dist-es/runtimeConfig.js +2 -1
  20. package/node_modules/@aws-sdk/client-dynamodb/dist-types/auth/httpAuthSchemeProvider.d.ts +15 -1
  21. package/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/BatchExecuteStatementCommand.d.ts +2 -3
  22. package/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/BatchGetItemCommand.d.ts +6 -1
  23. package/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/BatchWriteItemCommand.d.ts +1 -1
  24. package/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/DeleteItemCommand.d.ts +2 -2
  25. package/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/DescribeContinuousBackupsCommand.d.ts +2 -1
  26. package/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/ExecuteStatementCommand.d.ts +2 -2
  27. package/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/ExecuteTransactionCommand.d.ts +1 -1
  28. package/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/GetItemCommand.d.ts +1 -1
  29. package/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/PutItemCommand.d.ts +2 -2
  30. package/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/QueryCommand.d.ts +1 -1
  31. package/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/RestoreTableToPointInTimeCommand.d.ts +3 -2
  32. package/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/ScanCommand.d.ts +1 -1
  33. package/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/TagResourceCommand.d.ts +11 -2
  34. package/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/TransactGetItemsCommand.d.ts +1 -1
  35. package/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/TransactWriteItemsCommand.d.ts +1 -1
  36. package/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/UntagResourceCommand.d.ts +11 -2
  37. package/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/UpdateContinuousBackupsCommand.d.ts +2 -1
  38. package/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/UpdateItemCommand.d.ts +2 -2
  39. package/node_modules/@aws-sdk/client-dynamodb/dist-types/models/models_0.d.ts +73 -41
  40. package/node_modules/@aws-sdk/client-dynamodb/dist-types/runtimeConfig.browser.d.ts +1 -0
  41. package/node_modules/@aws-sdk/client-dynamodb/dist-types/runtimeConfig.d.ts +1 -0
  42. package/node_modules/@aws-sdk/client-dynamodb/dist-types/runtimeConfig.native.d.ts +1 -0
  43. package/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +3 -0
  44. package/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
  45. package/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/runtimeConfig.d.ts +1 -0
  46. package/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
  47. package/node_modules/@aws-sdk/client-dynamodb/package.json +13 -13
  48. package/node_modules/@aws-sdk/client-s3/dist-cjs/auth/httpAuthSchemeProvider.js +3 -1
  49. package/node_modules/@aws-sdk/client-s3/dist-cjs/index.js +20 -20
  50. package/node_modules/@aws-sdk/client-s3/dist-cjs/runtimeConfig.js +1 -0
  51. package/node_modules/@aws-sdk/client-s3/dist-es/auth/httpAuthSchemeProvider.js +3 -1
  52. package/node_modules/@aws-sdk/client-s3/dist-es/protocols/Aws_restXml.js +20 -20
  53. package/node_modules/@aws-sdk/client-s3/dist-es/runtimeConfig.js +2 -1
  54. package/node_modules/@aws-sdk/client-s3/dist-types/auth/httpAuthSchemeProvider.d.ts +15 -1
  55. package/node_modules/@aws-sdk/client-s3/dist-types/runtimeConfig.browser.d.ts +1 -0
  56. package/node_modules/@aws-sdk/client-s3/dist-types/runtimeConfig.d.ts +1 -0
  57. package/node_modules/@aws-sdk/client-s3/dist-types/runtimeConfig.native.d.ts +1 -0
  58. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +3 -0
  59. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
  60. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/runtimeConfig.d.ts +1 -0
  61. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
  62. package/node_modules/@aws-sdk/client-s3/package.json +17 -17
  63. package/node_modules/@aws-sdk/client-secrets-manager/dist-cjs/auth/httpAuthSchemeProvider.js +3 -1
  64. package/node_modules/@aws-sdk/client-secrets-manager/dist-cjs/runtimeConfig.js +1 -0
  65. package/node_modules/@aws-sdk/client-secrets-manager/dist-es/auth/httpAuthSchemeProvider.js +3 -1
  66. package/node_modules/@aws-sdk/client-secrets-manager/dist-es/runtimeConfig.js +2 -1
  67. package/node_modules/@aws-sdk/client-secrets-manager/dist-types/auth/httpAuthSchemeProvider.d.ts +15 -1
  68. package/node_modules/@aws-sdk/client-secrets-manager/dist-types/runtimeConfig.browser.d.ts +1 -0
  69. package/node_modules/@aws-sdk/client-secrets-manager/dist-types/runtimeConfig.d.ts +1 -0
  70. package/node_modules/@aws-sdk/client-secrets-manager/dist-types/runtimeConfig.native.d.ts +1 -0
  71. package/node_modules/@aws-sdk/client-secrets-manager/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +3 -0
  72. package/node_modules/@aws-sdk/client-secrets-manager/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
  73. package/node_modules/@aws-sdk/client-secrets-manager/dist-types/ts3.4/runtimeConfig.d.ts +1 -0
  74. package/node_modules/@aws-sdk/client-secrets-manager/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
  75. package/node_modules/@aws-sdk/client-secrets-manager/package.json +13 -13
  76. package/node_modules/@aws-sdk/client-ssm/README.md +16 -0
  77. package/node_modules/@aws-sdk/client-ssm/dist-cjs/auth/httpAuthSchemeProvider.js +3 -1
  78. package/node_modules/@aws-sdk/client-ssm/dist-cjs/index.js +333 -71
  79. package/node_modules/@aws-sdk/client-ssm/dist-cjs/runtimeConfig.js +1 -0
  80. package/node_modules/@aws-sdk/client-ssm/dist-es/SSM.js +4 -0
  81. package/node_modules/@aws-sdk/client-ssm/dist-es/auth/httpAuthSchemeProvider.js +3 -1
  82. package/node_modules/@aws-sdk/client-ssm/dist-es/commands/GetAccessTokenCommand.js +23 -0
  83. package/node_modules/@aws-sdk/client-ssm/dist-es/commands/RegisterTargetWithMaintenanceWindowCommand.js +1 -1
  84. package/node_modules/@aws-sdk/client-ssm/dist-es/commands/RegisterTaskWithMaintenanceWindowCommand.js +1 -1
  85. package/node_modules/@aws-sdk/client-ssm/dist-es/commands/StartAccessRequestCommand.js +22 -0
  86. package/node_modules/@aws-sdk/client-ssm/dist-es/commands/index.js +2 -0
  87. package/node_modules/@aws-sdk/client-ssm/dist-es/models/models_0.js +24 -4
  88. package/node_modules/@aws-sdk/client-ssm/dist-es/models/models_1.js +57 -27
  89. package/node_modules/@aws-sdk/client-ssm/dist-es/models/models_2.js +50 -16
  90. package/node_modules/@aws-sdk/client-ssm/dist-es/protocols/Aws_json1_1.js +94 -6
  91. package/node_modules/@aws-sdk/client-ssm/dist-es/runtimeConfig.js +2 -1
  92. package/node_modules/@aws-sdk/client-ssm/dist-types/SSM.d.ts +14 -0
  93. package/node_modules/@aws-sdk/client-ssm/dist-types/SSMClient.d.ts +4 -2
  94. package/node_modules/@aws-sdk/client-ssm/dist-types/auth/httpAuthSchemeProvider.d.ts +15 -1
  95. package/node_modules/@aws-sdk/client-ssm/dist-types/commands/CreateDocumentCommand.d.ts +2 -2
  96. package/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeAutomationExecutionsCommand.d.ts +1 -1
  97. package/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeDocumentCommand.d.ts +1 -1
  98. package/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeMaintenanceWindowScheduleCommand.d.ts +1 -2
  99. package/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeOpsItemsCommand.d.ts +2 -2
  100. package/node_modules/@aws-sdk/client-ssm/dist-types/commands/GetAccessTokenCommand.d.ts +94 -0
  101. package/node_modules/@aws-sdk/client-ssm/dist-types/commands/GetAutomationExecutionCommand.d.ts +1 -1
  102. package/node_modules/@aws-sdk/client-ssm/dist-types/commands/GetDocumentCommand.d.ts +1 -1
  103. package/node_modules/@aws-sdk/client-ssm/dist-types/commands/GetOpsItemCommand.d.ts +1 -1
  104. package/node_modules/@aws-sdk/client-ssm/dist-types/commands/ListDocumentsCommand.d.ts +1 -1
  105. package/node_modules/@aws-sdk/client-ssm/dist-types/commands/RegisterTargetWithMaintenanceWindowCommand.d.ts +1 -1
  106. package/node_modules/@aws-sdk/client-ssm/dist-types/commands/RegisterTaskWithMaintenanceWindowCommand.d.ts +1 -1
  107. package/node_modules/@aws-sdk/client-ssm/dist-types/commands/RemoveTagsFromResourceCommand.d.ts +1 -1
  108. package/node_modules/@aws-sdk/client-ssm/dist-types/commands/SendAutomationSignalCommand.d.ts +1 -1
  109. package/node_modules/@aws-sdk/client-ssm/dist-types/commands/StartAccessRequestCommand.d.ts +105 -0
  110. package/node_modules/@aws-sdk/client-ssm/dist-types/commands/UpdateDocumentCommand.d.ts +1 -1
  111. package/node_modules/@aws-sdk/client-ssm/dist-types/commands/UpdateOpsItemCommand.d.ts +1 -1
  112. package/node_modules/@aws-sdk/client-ssm/dist-types/commands/index.d.ts +2 -0
  113. package/node_modules/@aws-sdk/client-ssm/dist-types/models/models_0.d.ts +31 -51
  114. package/node_modules/@aws-sdk/client-ssm/dist-types/models/models_1.d.ts +163 -348
  115. package/node_modules/@aws-sdk/client-ssm/dist-types/models/models_2.d.ts +413 -21
  116. package/node_modules/@aws-sdk/client-ssm/dist-types/protocols/Aws_json1_1.d.ts +18 -0
  117. package/node_modules/@aws-sdk/client-ssm/dist-types/runtimeConfig.browser.d.ts +1 -0
  118. package/node_modules/@aws-sdk/client-ssm/dist-types/runtimeConfig.d.ts +1 -0
  119. package/node_modules/@aws-sdk/client-ssm/dist-types/runtimeConfig.native.d.ts +1 -0
  120. package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/SSM.d.ts +34 -0
  121. package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/SSMClient.d.ts +12 -0
  122. package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +3 -0
  123. package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DescribeMaintenanceWindowScheduleCommand.d.ts +4 -2
  124. package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/GetAccessTokenCommand.d.ts +50 -0
  125. package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/RegisterTargetWithMaintenanceWindowCommand.d.ts +1 -1
  126. package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/RegisterTaskWithMaintenanceWindowCommand.d.ts +1 -1
  127. package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/RemoveTagsFromResourceCommand.d.ts +1 -1
  128. package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/StartAccessRequestCommand.d.ts +51 -0
  129. package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/index.d.ts +2 -0
  130. package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/models/models_0.d.ts +20 -14
  131. package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/models/models_1.d.ts +61 -58
  132. package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/models/models_2.d.ts +81 -9
  133. package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +24 -0
  134. package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
  135. package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/runtimeConfig.d.ts +1 -0
  136. package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
  137. package/node_modules/@aws-sdk/client-ssm/package.json +13 -13
  138. package/node_modules/@aws-sdk/client-sso/dist-cjs/auth/httpAuthSchemeProvider.js +3 -1
  139. package/node_modules/@aws-sdk/client-sso/dist-cjs/runtimeConfig.js +1 -0
  140. package/node_modules/@aws-sdk/client-sso/dist-es/auth/httpAuthSchemeProvider.js +3 -1
  141. package/node_modules/@aws-sdk/client-sso/dist-es/runtimeConfig.js +2 -1
  142. package/node_modules/@aws-sdk/client-sso/dist-types/auth/httpAuthSchemeProvider.d.ts +15 -1
  143. package/node_modules/@aws-sdk/client-sso/dist-types/runtimeConfig.browser.d.ts +1 -0
  144. package/node_modules/@aws-sdk/client-sso/dist-types/runtimeConfig.d.ts +1 -0
  145. package/node_modules/@aws-sdk/client-sso/dist-types/runtimeConfig.native.d.ts +1 -0
  146. package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +3 -0
  147. package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
  148. package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/runtimeConfig.d.ts +1 -0
  149. package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
  150. package/node_modules/@aws-sdk/client-sso/package.json +12 -12
  151. package/node_modules/@aws-sdk/core/dist-cjs/submodules/httpAuthSchemes/index.js +33 -0
  152. package/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/aws_sdk/NODE_AUTH_SCHEME_PREFERENCE_OPTIONS.js +16 -0
  153. package/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/aws_sdk/index.js +1 -0
  154. package/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/utils/getArrayForCommaSeparatedString.js +1 -0
  155. package/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/aws_sdk/NODE_AUTH_SCHEME_PREFERENCE_OPTIONS.d.ts +5 -0
  156. package/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/aws_sdk/index.d.ts +1 -0
  157. package/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/utils/getArrayForCommaSeparatedString.d.ts +8 -0
  158. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/aws_sdk/NODE_AUTH_SCHEME_PREFERENCE_OPTIONS.d.ts +4 -0
  159. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/aws_sdk/index.d.ts +1 -0
  160. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/utils/getArrayForCommaSeparatedString.d.ts +1 -0
  161. package/node_modules/@aws-sdk/core/package.json +4 -4
  162. package/node_modules/@aws-sdk/credential-provider-env/package.json +2 -2
  163. package/node_modules/@aws-sdk/credential-provider-http/package.json +3 -3
  164. package/node_modules/@aws-sdk/credential-provider-ini/package.json +8 -8
  165. package/node_modules/@aws-sdk/credential-provider-node/package.json +7 -7
  166. package/node_modules/@aws-sdk/credential-provider-process/package.json +2 -2
  167. package/node_modules/@aws-sdk/credential-provider-sso/package.json +4 -4
  168. package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +3 -3
  169. package/node_modules/@aws-sdk/middleware-flexible-checksums/package.json +2 -2
  170. package/node_modules/@aws-sdk/middleware-sdk-s3/package.json +5 -5
  171. package/node_modules/@aws-sdk/middleware-user-agent/package.json +4 -4
  172. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/auth/httpAuthSchemeProvider.js +3 -1
  173. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/runtimeConfig.js +1 -0
  174. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/auth/httpAuthSchemeProvider.js +3 -1
  175. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/runtimeConfig.js +1 -0
  176. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/auth/httpAuthSchemeProvider.js +3 -1
  177. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/runtimeConfig.js +2 -1
  178. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/auth/httpAuthSchemeProvider.js +3 -1
  179. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/runtimeConfig.js +2 -1
  180. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/auth/httpAuthSchemeProvider.d.ts +15 -1
  181. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/runtimeConfig.browser.d.ts +1 -0
  182. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/runtimeConfig.d.ts +1 -0
  183. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/runtimeConfig.native.d.ts +1 -0
  184. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/auth/httpAuthSchemeProvider.d.ts +15 -1
  185. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/runtimeConfig.browser.d.ts +1 -0
  186. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/runtimeConfig.d.ts +1 -0
  187. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/runtimeConfig.native.d.ts +1 -0
  188. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/auth/httpAuthSchemeProvider.d.ts +3 -0
  189. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/runtimeConfig.browser.d.ts +4 -0
  190. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/runtimeConfig.d.ts +1 -0
  191. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/runtimeConfig.native.d.ts +4 -0
  192. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/auth/httpAuthSchemeProvider.d.ts +3 -0
  193. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/runtimeConfig.browser.d.ts +4 -0
  194. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/runtimeConfig.d.ts +1 -0
  195. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/runtimeConfig.native.d.ts +4 -0
  196. package/node_modules/@aws-sdk/nested-clients/package.json +12 -12
  197. package/node_modules/@aws-sdk/s3-request-presigner/package.json +5 -5
  198. package/node_modules/@aws-sdk/signature-v4-multi-region/README.md +8 -2
  199. package/node_modules/@aws-sdk/signature-v4-multi-region/dist-cjs/index.js +55 -22
  200. package/node_modules/@aws-sdk/signature-v4-multi-region/dist-es/SignatureV4MultiRegion.js +62 -25
  201. package/node_modules/@aws-sdk/signature-v4-multi-region/dist-types/SignatureV4MultiRegion.d.ts +5 -1
  202. package/node_modules/@aws-sdk/signature-v4-multi-region/package.json +6 -3
  203. package/node_modules/@aws-sdk/token-providers/package.json +2 -2
  204. package/node_modules/@aws-sdk/util-endpoints/dist-cjs/index.js +19 -0
  205. package/node_modules/@aws-sdk/util-endpoints/dist-cjs/lib/aws/partitions.json +19 -0
  206. package/node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/partitions.json +19 -0
  207. package/node_modules/@aws-sdk/util-endpoints/package.json +1 -1
  208. package/node_modules/@aws-sdk/util-user-agent-node/package.json +2 -2
  209. package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/.jsii +18 -5
  210. package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/lib/index.js +1 -1
  211. package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core/.jsii +211 -11
  212. package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core/index.d.ts +1 -0
  213. package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core/index.js +2 -1
  214. package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core/lib/bedrock-inference-helper.d.ts +38 -0
  215. package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core/lib/bedrock-inference-helper.js +110 -0
  216. package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core/lib/dynamodb-table-defaults.d.ts +19 -3
  217. package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core/lib/dynamodb-table-defaults.js +26 -23
  218. package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core/lib/dynamodb-table-helper.js +3 -3
  219. package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core/lib/utils.d.ts +1 -0
  220. package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core/lib/utils.js +5 -1
  221. package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core/lib/vpc-helper.d.ts +2 -0
  222. package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core/lib/vpc-helper.js +13 -1
  223. package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core/package.json +3 -3
  224. package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core/test/bedrock-inference-helper.test.d.ts +13 -0
  225. package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core/test/bedrock-inference-helper.test.js +211 -0
  226. package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core/test/dynamo-table.test.js +89 -9
  227. package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/package.json +6 -6
  228. package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/test/integ.lamddb-deployFunctionWithExistingVpc.js.snapshot/cdk.out +1 -1
  229. package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/test/integ.lamddb-deployFunctionWithExistingVpc.js.snapshot/integ.json +3 -2
  230. package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/test/integ.lamddb-deployFunctionWithExistingVpc.js.snapshot/lamddb-deployFunctionWithExistingVpc.assets.json +6 -3
  231. package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/test/integ.lamddb-deployFunctionWithExistingVpc.js.snapshot/lamddb-deployFunctionWithExistingVpc.template.json +3 -0
  232. package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/test/integ.lamddb-deployFunctionWithExistingVpc.js.snapshot/lamddbdeployFunctionWithExistingVpcIntegDefaultTestDeployAssertEE08E38E.assets.json +2 -1
  233. package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/test/integ.lamddb-deployFunctionWithExistingVpc.js.snapshot/manifest.json +3 -3
  234. package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/test/integ.lamddb-deployFunctionWithExistingVpc.js.snapshot/tree.json +1 -1
  235. package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/test/integ.lamddb-deployFunctionWithVpc.js.snapshot/cdk.out +1 -1
  236. package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/test/integ.lamddb-deployFunctionWithVpc.js.snapshot/integ.json +3 -2
  237. package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/test/integ.lamddb-deployFunctionWithVpc.js.snapshot/lamddb-deployFunctionWithVpc.assets.json +6 -3
  238. package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/test/integ.lamddb-deployFunctionWithVpc.js.snapshot/lamddb-deployFunctionWithVpc.template.json +3 -0
  239. package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/test/integ.lamddb-deployFunctionWithVpc.js.snapshot/lamddbdeployFunctionWithVpcIntegDefaultTestDeployAssert0AB8275C.assets.json +2 -1
  240. package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/test/integ.lamddb-deployFunctionWithVpc.js.snapshot/manifest.json +3 -3
  241. package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/test/integ.lamddb-deployFunctionWithVpc.js.snapshot/tree.json +1 -1
  242. package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/test/integ.lamddb-point-in-time-recovery.d.ts +13 -0
  243. package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/test/integ.lamddb-point-in-time-recovery.js +44 -0
  244. package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/test/integ.lamddb-point-in-time-recovery.js.snapshot/asset.a0c6248ec595d3ceec1177aa5ac5b494fdf4c66f1b88aa48086befd44f193d8c/index.js +21 -0
  245. package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/test/integ.lamddb-point-in-time-recovery.js.snapshot/cdk.out +1 -0
  246. package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/test/integ.lamddb-point-in-time-recovery.js.snapshot/integ.json +13 -0
  247. package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/test/integ.lamddb-point-in-time-recovery.js.snapshot/lamddb-point-in-time-recovery.assets.json +34 -0
  248. package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/test/integ.lamddb-point-in-time-recovery.js.snapshot/lamddb-point-in-time-recovery.template.json +253 -0
  249. package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/test/integ.lamddb-point-in-time-recovery.js.snapshot/lamddbpointintimerecoveryIntegDefaultTestDeployAssertB0CCD339.assets.json +20 -0
  250. package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/test/integ.lamddb-point-in-time-recovery.js.snapshot/lamddbpointintimerecoveryIntegDefaultTestDeployAssertB0CCD339.template.json +36 -0
  251. package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/test/integ.lamddb-point-in-time-recovery.js.snapshot/manifest.json +314 -0
  252. package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/test/integ.lamddb-point-in-time-recovery.js.snapshot/tree.json +1 -0
  253. package/node_modules/@gemeentenijmegen/apiclient/node_modules/@gemeentenijmegen/utils/package.json +7 -7
  254. package/node_modules/@gemeentenijmegen/apiclient/package.json +9 -9
  255. package/node_modules/@gemeentenijmegen/apigateway-http/README.md +15 -3
  256. package/node_modules/@gemeentenijmegen/apigateway-http/lib/V1/Response.d.ts +19 -0
  257. package/node_modules/@gemeentenijmegen/apigateway-http/lib/V1/Response.js +85 -0
  258. package/node_modules/@gemeentenijmegen/apigateway-http/lib/V2/Response.d.ts +1 -0
  259. package/node_modules/@gemeentenijmegen/apigateway-http/lib/V2/Response.js +10 -10
  260. package/node_modules/@gemeentenijmegen/apigateway-http/package.json +6 -6
  261. package/node_modules/@gemeentenijmegen/session/package.json +4 -4
  262. package/node_modules/@gemeentenijmegen/utils/lib/Storage.d.ts +8 -0
  263. package/node_modules/@gemeentenijmegen/utils/lib/Storage.js +39 -3
  264. package/node_modules/@gemeentenijmegen/utils/package.json +8 -7
  265. package/node_modules/@smithy/core/dist-cjs/index.js +27 -1
  266. package/node_modules/@smithy/core/dist-cjs/middleware-http-auth-scheme/resolveAuthOptions.js +1 -0
  267. package/node_modules/@smithy/core/dist-cjs/submodules/cbor/index.js +4 -1
  268. package/node_modules/@smithy/core/dist-es/middleware-http-auth-scheme/httpAuthSchemeMiddleware.js +4 -1
  269. package/node_modules/@smithy/core/dist-es/middleware-http-auth-scheme/resolveAuthOptions.js +20 -0
  270. package/node_modules/@smithy/core/dist-es/submodules/cbor/parseCborBody.js +3 -1
  271. package/node_modules/@smithy/core/dist-types/middleware-http-auth-scheme/httpAuthSchemeMiddleware.d.ts +2 -1
  272. package/node_modules/@smithy/core/dist-types/middleware-http-auth-scheme/resolveAuthOptions.d.ts +10 -0
  273. package/node_modules/@smithy/core/dist-types/ts3.4/middleware-http-auth-scheme/httpAuthSchemeMiddleware.d.ts +2 -1
  274. package/node_modules/@smithy/core/dist-types/ts3.4/middleware-http-auth-scheme/resolveAuthOptions.d.ts +10 -0
  275. package/node_modules/@smithy/core/package.json +1 -1
  276. package/node_modules/@smithy/middleware-endpoint/package.json +2 -2
  277. package/node_modules/@smithy/middleware-retry/package.json +4 -4
  278. package/node_modules/@smithy/service-error-classification/dist-cjs/index.js +22 -1
  279. package/node_modules/@smithy/service-error-classification/dist-es/index.js +15 -0
  280. package/node_modules/@smithy/service-error-classification/dist-types/index.d.ts +5 -0
  281. package/node_modules/@smithy/service-error-classification/dist-types/ts3.4/index.d.ts +5 -0
  282. package/node_modules/@smithy/service-error-classification/package.json +1 -1
  283. package/node_modules/@smithy/signature-v4/dist-cjs/SignatureV4Base.js +1 -0
  284. package/node_modules/@smithy/signature-v4/dist-cjs/index.js +196 -92
  285. package/node_modules/@smithy/signature-v4/dist-cjs/signature-v4a-container.js +1 -0
  286. package/node_modules/@smithy/signature-v4/dist-es/SignatureV4.js +17 -73
  287. package/node_modules/@smithy/signature-v4/dist-es/SignatureV4Base.js +73 -0
  288. package/node_modules/@smithy/signature-v4/dist-es/index.js +4 -0
  289. package/node_modules/@smithy/signature-v4/dist-es/signature-v4a-container.js +3 -0
  290. package/node_modules/@smithy/signature-v4/dist-types/SignatureV4.d.ts +3 -59
  291. package/node_modules/@smithy/signature-v4/dist-types/SignatureV4Base.d.ts +69 -0
  292. package/node_modules/@smithy/signature-v4/dist-types/index.d.ts +4 -0
  293. package/node_modules/@smithy/signature-v4/dist-types/signature-v4a-container.d.ts +24 -0
  294. package/node_modules/@smithy/signature-v4/dist-types/ts3.4/SignatureV4.d.ts +3 -59
  295. package/node_modules/@smithy/signature-v4/dist-types/ts3.4/SignatureV4Base.d.ts +69 -0
  296. package/node_modules/@smithy/signature-v4/dist-types/ts3.4/index.d.ts +4 -0
  297. package/node_modules/@smithy/signature-v4/dist-types/ts3.4/signature-v4a-container.d.ts +24 -0
  298. package/node_modules/@smithy/signature-v4/package.json +1 -1
  299. package/node_modules/@smithy/smithy-client/package.json +3 -3
  300. package/node_modules/@smithy/util-defaults-mode-browser/package.json +2 -2
  301. package/node_modules/@smithy/util-defaults-mode-node/package.json +2 -2
  302. package/node_modules/@smithy/util-retry/package.json +2 -2
  303. package/node_modules/@types/aws-lambda/README.md +1 -1
  304. package/node_modules/@types/aws-lambda/handler.d.ts +95 -0
  305. package/node_modules/@types/aws-lambda/package.json +3 -3
  306. package/node_modules/axios/CHANGELOG.md +27 -0
  307. package/node_modules/axios/README.md +5 -5
  308. package/node_modules/axios/dist/axios.js +32 -16
  309. package/node_modules/axios/dist/axios.js.map +1 -1
  310. package/node_modules/axios/dist/axios.min.js +2 -2
  311. package/node_modules/axios/dist/axios.min.js.map +1 -1
  312. package/node_modules/axios/dist/browser/axios.cjs +31 -13
  313. package/node_modules/axios/dist/browser/axios.cjs.map +1 -1
  314. package/node_modules/axios/dist/esm/axios.js +31 -13
  315. package/node_modules/axios/dist/esm/axios.js.map +1 -1
  316. package/node_modules/axios/dist/esm/axios.min.js +2 -2
  317. package/node_modules/axios/dist/esm/axios.min.js.map +1 -1
  318. package/node_modules/axios/dist/node/axios.cjs +32 -14
  319. package/node_modules/axios/dist/node/axios.cjs.map +1 -1
  320. package/node_modules/axios/index.d.cts +2 -2
  321. package/node_modules/axios/index.d.ts +4 -2
  322. package/node_modules/axios/lib/adapters/fetch.js +1 -1
  323. package/node_modules/axios/lib/core/Axios.js +1 -1
  324. package/node_modules/axios/lib/core/AxiosHeaders.js +15 -3
  325. package/node_modules/axios/lib/env/data.js +1 -1
  326. package/node_modules/axios/lib/helpers/formDataToStream.js +1 -1
  327. package/node_modules/axios/lib/utils.js +12 -6
  328. package/node_modules/axios/package.json +4 -4
  329. package/node_modules/dotenv/CHANGELOG.md +18 -2
  330. package/node_modules/dotenv/README-es.md +7 -25
  331. package/node_modules/dotenv/README.md +23 -22
  332. package/node_modules/dotenv/lib/main.js +4 -5
  333. package/node_modules/dotenv/package.json +2 -1
  334. package/package.json +18 -18
  335. /package/node_modules/{mime-db → form-data/node_modules/mime-db}/HISTORY.md +0 -0
  336. /package/node_modules/{mime-db → form-data/node_modules/mime-db}/LICENSE +0 -0
  337. /package/node_modules/{mime-db → form-data/node_modules/mime-db}/README.md +0 -0
  338. /package/node_modules/{mime-db → form-data/node_modules/mime-db}/db.json +0 -0
  339. /package/node_modules/{mime-db → form-data/node_modules/mime-db}/index.js +0 -0
  340. /package/node_modules/{mime-db → form-data/node_modules/mime-db}/package.json +0 -0
  341. /package/node_modules/{mime-types → form-data/node_modules/mime-types}/HISTORY.md +0 -0
  342. /package/node_modules/{mime-types → form-data/node_modules/mime-types}/LICENSE +0 -0
  343. /package/node_modules/{mime-types → form-data/node_modules/mime-types}/README.md +0 -0
  344. /package/node_modules/{mime-types → form-data/node_modules/mime-types}/index.js +0 -0
  345. /package/node_modules/{mime-types → form-data/node_modules/mime-types}/package.json +0 -0
@@ -1,61 +1,9 @@
1
- import { AwsCredentialIdentity, ChecksumConstructor, EventSigner, EventSigningArguments, FormattedEvent, HashConstructor, HttpRequest, MessageSigner, Provider, RequestPresigner, RequestPresigningArguments, RequestSigner, RequestSigningArguments, SignableMessage, SignedMessage, SigningArguments, StringSigner } from "@smithy/types";
1
+ import { EventSigner, EventSigningArguments, FormattedEvent, HttpRequest, MessageSigner, RequestPresigner, RequestPresigningArguments, RequestSigner, RequestSigningArguments, SignableMessage, SignedMessage, SigningArguments, StringSigner } from "@smithy/types";
2
+ import { SignatureV4Base, SignatureV4CryptoInit, SignatureV4Init } from "./SignatureV4Base";
2
3
  /**
3
4
  * @public
4
5
  */
5
- export interface SignatureV4Init {
6
- /**
7
- * The service signing name.
8
- */
9
- service: string;
10
- /**
11
- * The region name or a function that returns a promise that will be
12
- * resolved with the region name.
13
- */
14
- region: string | Provider<string>;
15
- /**
16
- * The credentials with which the request should be signed or a function
17
- * that returns a promise that will be resolved with credentials.
18
- */
19
- credentials: AwsCredentialIdentity | Provider<AwsCredentialIdentity>;
20
- /**
21
- * A constructor function for a hash object that will calculate SHA-256 HMAC
22
- * checksums.
23
- */
24
- sha256: ChecksumConstructor | HashConstructor;
25
- /**
26
- * Whether to uri-escape the request URI path as part of computing the
27
- * canonical request string. This is required for every AWS service, except
28
- * Amazon S3, as of late 2017.
29
- *
30
- * @default [true]
31
- */
32
- uriEscapePath?: boolean;
33
- /**
34
- * Whether to calculate a checksum of the request body and include it as
35
- * either a request header (when signing) or as a query string parameter
36
- * (when presigning). This is required for AWS Glacier and Amazon S3 and optional for
37
- * every other AWS service as of late 2017.
38
- *
39
- * @default [true]
40
- */
41
- applyChecksum?: boolean;
42
- }
43
- /**
44
- * @public
45
- */
46
- export interface SignatureV4CryptoInit {
47
- sha256: ChecksumConstructor | HashConstructor;
48
- }
49
- /**
50
- * @public
51
- */
52
- export declare class SignatureV4 implements RequestPresigner, RequestSigner, StringSigner, EventSigner, MessageSigner {
53
- private readonly service;
54
- private readonly regionProvider;
55
- private readonly credentialProvider;
56
- private readonly sha256;
57
- private readonly uriEscapePath;
58
- private readonly applyChecksum;
6
+ export declare class SignatureV4 extends SignatureV4Base implements RequestPresigner, RequestSigner, StringSigner, EventSigner, MessageSigner {
59
7
  private readonly headerFormatter;
60
8
  constructor({ applyChecksum, credentials, region, service, sha256, uriEscapePath, }: SignatureV4Init & SignatureV4CryptoInit);
61
9
  presign(originalRequest: HttpRequest, options?: RequestPresigningArguments): Promise<HttpRequest>;
@@ -67,10 +15,6 @@ export declare class SignatureV4 implements RequestPresigner, RequestSigner, Str
67
15
  signMessage(signableMessage: SignableMessage, { signingDate, signingRegion, signingService }: SigningArguments): Promise<SignedMessage>;
68
16
  private signString;
69
17
  private signRequest;
70
- private createCanonicalRequest;
71
- private createStringToSign;
72
- private getCanonicalPath;
73
18
  private getSignature;
74
19
  private getSigningKey;
75
- private validateResolvedCredentials;
76
20
  }
@@ -0,0 +1,69 @@
1
+ import { AwsCredentialIdentity, ChecksumConstructor, DateInput, HashConstructor, HeaderBag, HttpRequest, Provider } from "@smithy/types";
2
+ /**
3
+ * @public
4
+ */
5
+ export interface SignatureV4Init {
6
+ /**
7
+ * The service signing name.
8
+ */
9
+ service: string;
10
+ /**
11
+ * The region name or a function that returns a promise that will be
12
+ * resolved with the region name.
13
+ */
14
+ region: string | Provider<string>;
15
+ /**
16
+ * The credentials with which the request should be signed or a function
17
+ * that returns a promise that will be resolved with credentials.
18
+ */
19
+ credentials: AwsCredentialIdentity | Provider<AwsCredentialIdentity>;
20
+ /**
21
+ * A constructor function for a hash object that will calculate SHA-256 HMAC
22
+ * checksums.
23
+ */
24
+ sha256?: ChecksumConstructor | HashConstructor;
25
+ /**
26
+ * Whether to uri-escape the request URI path as part of computing the
27
+ * canonical request string. This is required for every AWS service, except
28
+ * Amazon S3, as of late 2017.
29
+ *
30
+ * @default [true]
31
+ */
32
+ uriEscapePath?: boolean;
33
+ /**
34
+ * Whether to calculate a checksum of the request body and include it as
35
+ * either a request header (when signing) or as a query string parameter
36
+ * (when presigning). This is required for AWS Glacier and Amazon S3 and optional for
37
+ * every other AWS service as of late 2017.
38
+ *
39
+ * @default [true]
40
+ */
41
+ applyChecksum?: boolean;
42
+ }
43
+ /**
44
+ * @public
45
+ */
46
+ export interface SignatureV4CryptoInit {
47
+ sha256: ChecksumConstructor | HashConstructor;
48
+ }
49
+ /**
50
+ * @internal
51
+ */
52
+ export declare abstract class SignatureV4Base {
53
+ protected readonly service: string;
54
+ protected readonly regionProvider: Provider<string>;
55
+ protected readonly credentialProvider: Provider<AwsCredentialIdentity>;
56
+ protected readonly sha256: ChecksumConstructor | HashConstructor;
57
+ private readonly uriEscapePath;
58
+ protected readonly applyChecksum: boolean;
59
+ protected constructor({ applyChecksum, credentials, region, service, sha256, uriEscapePath, }: SignatureV4Init & SignatureV4CryptoInit);
60
+ protected createCanonicalRequest(request: HttpRequest, canonicalHeaders: HeaderBag, payloadHash: string): string;
61
+ protected createStringToSign(longDate: string, credentialScope: string, canonicalRequest: string, algorithmIdentifier: string): Promise<string>;
62
+ private getCanonicalPath;
63
+ protected validateResolvedCredentials(credentials: unknown): void;
64
+ protected formatDate(now: DateInput): {
65
+ longDate: string;
66
+ shortDate: string;
67
+ };
68
+ protected getCanonicalHeaderList(headers: object): string;
69
+ }
@@ -1,7 +1,11 @@
1
1
  export * from "./SignatureV4";
2
+ export * from "./constants";
2
3
  export { getCanonicalHeaders } from "./getCanonicalHeaders";
3
4
  export { getCanonicalQuery } from "./getCanonicalQuery";
4
5
  export { getPayloadHash } from "./getPayloadHash";
5
6
  export { moveHeadersToQuery } from "./moveHeadersToQuery";
6
7
  export { prepareRequest } from "./prepareRequest";
7
8
  export * from "./credentialDerivation";
9
+ export { SignatureV4Init, SignatureV4CryptoInit, SignatureV4Base } from "./SignatureV4Base";
10
+ export { hasHeader } from "./headerUtil";
11
+ export * from "./signature-v4a-container";
@@ -0,0 +1,24 @@
1
+ import type { RequestSigner } from "@smithy/types";
2
+ /**
3
+ * @public
4
+ */
5
+ export type OptionalSigV4aSigner = {
6
+ /**
7
+ * This constructor is not typed so as not to require a type import
8
+ * from the signature-v4a package.
9
+ *
10
+ * The true type is SignatureV4a from @smithy/signature-v4a.
11
+ */
12
+ new (options: any): RequestSigner;
13
+ };
14
+ /**
15
+ * @public
16
+ *
17
+ * \@smithy/signature-v4a will install the constructor in this
18
+ * container if it's installed.
19
+ *
20
+ * This avoids a runtime-require being interpreted statically by bundlers.
21
+ */
22
+ export declare const signatureV4aContainer: {
23
+ SignatureV4a: null | OptionalSigV4aSigner;
24
+ };
@@ -1,61 +1,9 @@
1
- import { AwsCredentialIdentity, ChecksumConstructor, EventSigner, EventSigningArguments, FormattedEvent, HashConstructor, HttpRequest, MessageSigner, Provider, RequestPresigner, RequestPresigningArguments, RequestSigner, RequestSigningArguments, SignableMessage, SignedMessage, SigningArguments, StringSigner } from "@smithy/types";
1
+ import { EventSigner, EventSigningArguments, FormattedEvent, HttpRequest, MessageSigner, RequestPresigner, RequestPresigningArguments, RequestSigner, RequestSigningArguments, SignableMessage, SignedMessage, SigningArguments, StringSigner } from "@smithy/types";
2
+ import { SignatureV4Base, SignatureV4CryptoInit, SignatureV4Init } from "./SignatureV4Base";
2
3
  /**
3
4
  * @public
4
5
  */
5
- export interface SignatureV4Init {
6
- /**
7
- * The service signing name.
8
- */
9
- service: string;
10
- /**
11
- * The region name or a function that returns a promise that will be
12
- * resolved with the region name.
13
- */
14
- region: string | Provider<string>;
15
- /**
16
- * The credentials with which the request should be signed or a function
17
- * that returns a promise that will be resolved with credentials.
18
- */
19
- credentials: AwsCredentialIdentity | Provider<AwsCredentialIdentity>;
20
- /**
21
- * A constructor function for a hash object that will calculate SHA-256 HMAC
22
- * checksums.
23
- */
24
- sha256: ChecksumConstructor | HashConstructor;
25
- /**
26
- * Whether to uri-escape the request URI path as part of computing the
27
- * canonical request string. This is required for every AWS service, except
28
- * Amazon S3, as of late 2017.
29
- *
30
- * @default [true]
31
- */
32
- uriEscapePath?: boolean;
33
- /**
34
- * Whether to calculate a checksum of the request body and include it as
35
- * either a request header (when signing) or as a query string parameter
36
- * (when presigning). This is required for AWS Glacier and Amazon S3 and optional for
37
- * every other AWS service as of late 2017.
38
- *
39
- * @default [true]
40
- */
41
- applyChecksum?: boolean;
42
- }
43
- /**
44
- * @public
45
- */
46
- export interface SignatureV4CryptoInit {
47
- sha256: ChecksumConstructor | HashConstructor;
48
- }
49
- /**
50
- * @public
51
- */
52
- export declare class SignatureV4 implements RequestPresigner, RequestSigner, StringSigner, EventSigner, MessageSigner {
53
- private readonly service;
54
- private readonly regionProvider;
55
- private readonly credentialProvider;
56
- private readonly sha256;
57
- private readonly uriEscapePath;
58
- private readonly applyChecksum;
6
+ export declare class SignatureV4 extends SignatureV4Base implements RequestPresigner, RequestSigner, StringSigner, EventSigner, MessageSigner {
59
7
  private readonly headerFormatter;
60
8
  constructor({ applyChecksum, credentials, region, service, sha256, uriEscapePath, }: SignatureV4Init & SignatureV4CryptoInit);
61
9
  presign(originalRequest: HttpRequest, options?: RequestPresigningArguments): Promise<HttpRequest>;
@@ -67,10 +15,6 @@ export declare class SignatureV4 implements RequestPresigner, RequestSigner, Str
67
15
  signMessage(signableMessage: SignableMessage, { signingDate, signingRegion, signingService }: SigningArguments): Promise<SignedMessage>;
68
16
  private signString;
69
17
  private signRequest;
70
- private createCanonicalRequest;
71
- private createStringToSign;
72
- private getCanonicalPath;
73
18
  private getSignature;
74
19
  private getSigningKey;
75
- private validateResolvedCredentials;
76
20
  }
@@ -0,0 +1,69 @@
1
+ import { AwsCredentialIdentity, ChecksumConstructor, DateInput, HashConstructor, HeaderBag, HttpRequest, Provider } from "@smithy/types";
2
+ /**
3
+ * @public
4
+ */
5
+ export interface SignatureV4Init {
6
+ /**
7
+ * The service signing name.
8
+ */
9
+ service: string;
10
+ /**
11
+ * The region name or a function that returns a promise that will be
12
+ * resolved with the region name.
13
+ */
14
+ region: string | Provider<string>;
15
+ /**
16
+ * The credentials with which the request should be signed or a function
17
+ * that returns a promise that will be resolved with credentials.
18
+ */
19
+ credentials: AwsCredentialIdentity | Provider<AwsCredentialIdentity>;
20
+ /**
21
+ * A constructor function for a hash object that will calculate SHA-256 HMAC
22
+ * checksums.
23
+ */
24
+ sha256?: ChecksumConstructor | HashConstructor;
25
+ /**
26
+ * Whether to uri-escape the request URI path as part of computing the
27
+ * canonical request string. This is required for every AWS service, except
28
+ * Amazon S3, as of late 2017.
29
+ *
30
+ * @default [true]
31
+ */
32
+ uriEscapePath?: boolean;
33
+ /**
34
+ * Whether to calculate a checksum of the request body and include it as
35
+ * either a request header (when signing) or as a query string parameter
36
+ * (when presigning). This is required for AWS Glacier and Amazon S3 and optional for
37
+ * every other AWS service as of late 2017.
38
+ *
39
+ * @default [true]
40
+ */
41
+ applyChecksum?: boolean;
42
+ }
43
+ /**
44
+ * @public
45
+ */
46
+ export interface SignatureV4CryptoInit {
47
+ sha256: ChecksumConstructor | HashConstructor;
48
+ }
49
+ /**
50
+ * @internal
51
+ */
52
+ export declare abstract class SignatureV4Base {
53
+ protected readonly service: string;
54
+ protected readonly regionProvider: Provider<string>;
55
+ protected readonly credentialProvider: Provider<AwsCredentialIdentity>;
56
+ protected readonly sha256: ChecksumConstructor | HashConstructor;
57
+ private readonly uriEscapePath;
58
+ protected readonly applyChecksum: boolean;
59
+ protected constructor({ applyChecksum, credentials, region, service, sha256, uriEscapePath, }: SignatureV4Init & SignatureV4CryptoInit);
60
+ protected createCanonicalRequest(request: HttpRequest, canonicalHeaders: HeaderBag, payloadHash: string): string;
61
+ protected createStringToSign(longDate: string, credentialScope: string, canonicalRequest: string, algorithmIdentifier: string): Promise<string>;
62
+ private getCanonicalPath;
63
+ protected validateResolvedCredentials(credentials: unknown): void;
64
+ protected formatDate(now: DateInput): {
65
+ longDate: string;
66
+ shortDate: string;
67
+ };
68
+ protected getCanonicalHeaderList(headers: object): string;
69
+ }
@@ -1,7 +1,11 @@
1
1
  export * from "./SignatureV4";
2
+ export * from "./constants";
2
3
  export { getCanonicalHeaders } from "./getCanonicalHeaders";
3
4
  export { getCanonicalQuery } from "./getCanonicalQuery";
4
5
  export { getPayloadHash } from "./getPayloadHash";
5
6
  export { moveHeadersToQuery } from "./moveHeadersToQuery";
6
7
  export { prepareRequest } from "./prepareRequest";
7
8
  export * from "./credentialDerivation";
9
+ export { SignatureV4Init, SignatureV4CryptoInit, SignatureV4Base } from "./SignatureV4Base";
10
+ export { hasHeader } from "./headerUtil";
11
+ export * from "./signature-v4a-container";
@@ -0,0 +1,24 @@
1
+ import { RequestSigner } from "@smithy/types";
2
+ /**
3
+ * @public
4
+ */
5
+ export type OptionalSigV4aSigner = {
6
+ /**
7
+ * This constructor is not typed so as not to require a type import
8
+ * from the signature-v4a package.
9
+ *
10
+ * The true type is SignatureV4a from @smithy/signature-v4a.
11
+ */
12
+ new (options: any): RequestSigner;
13
+ };
14
+ /**
15
+ * @public
16
+ *
17
+ * \@smithy/signature-v4a will install the constructor in this
18
+ * container if it's installed.
19
+ *
20
+ * This avoids a runtime-require being interpreted statically by bundlers.
21
+ */
22
+ export declare const signatureV4aContainer: {
23
+ SignatureV4a: null | OptionalSigV4aSigner;
24
+ };
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smithy/signature-v4",
3
- "version": "5.0.2",
3
+ "version": "5.1.0",
4
4
  "description": "A standalone implementation of the AWS Signature V4 request signing algorithm",
5
5
  "main": "./dist-cjs/index.js",
6
6
  "module": "./dist-es/index.js",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smithy/smithy-client",
3
- "version": "4.2.0",
3
+ "version": "4.2.2",
4
4
  "scripts": {
5
5
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
6
6
  "build:cjs": "node ../../scripts/inline smithy-client",
@@ -24,8 +24,8 @@
24
24
  },
25
25
  "license": "Apache-2.0",
26
26
  "dependencies": {
27
- "@smithy/core": "^3.2.0",
28
- "@smithy/middleware-endpoint": "^4.1.0",
27
+ "@smithy/core": "^3.3.1",
28
+ "@smithy/middleware-endpoint": "^4.1.2",
29
29
  "@smithy/middleware-stack": "^4.0.2",
30
30
  "@smithy/protocol-http": "^5.1.0",
31
31
  "@smithy/types": "^4.2.0",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smithy/util-defaults-mode-browser",
3
- "version": "4.0.8",
3
+ "version": "4.0.10",
4
4
  "scripts": {
5
5
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
6
6
  "build:cjs": "node ../../scripts/inline util-defaults-mode-browser",
@@ -24,7 +24,7 @@
24
24
  "license": "Apache-2.0",
25
25
  "dependencies": {
26
26
  "@smithy/property-provider": "^4.0.2",
27
- "@smithy/smithy-client": "^4.2.0",
27
+ "@smithy/smithy-client": "^4.2.2",
28
28
  "@smithy/types": "^4.2.0",
29
29
  "bowser": "^2.11.0",
30
30
  "tslib": "^2.6.2"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smithy/util-defaults-mode-node",
3
- "version": "4.0.8",
3
+ "version": "4.0.10",
4
4
  "scripts": {
5
5
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
6
6
  "build:cjs": "node ../../scripts/inline util-defaults-mode-node",
@@ -27,7 +27,7 @@
27
27
  "@smithy/credential-provider-imds": "^4.0.2",
28
28
  "@smithy/node-config-provider": "^4.0.2",
29
29
  "@smithy/property-provider": "^4.0.2",
30
- "@smithy/smithy-client": "^4.2.0",
30
+ "@smithy/smithy-client": "^4.2.2",
31
31
  "@smithy/types": "^4.2.0",
32
32
  "tslib": "^2.6.2"
33
33
  },
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smithy/util-retry",
3
- "version": "4.0.2",
3
+ "version": "4.0.3",
4
4
  "description": "Shared retry utilities to be used in middleware packages.",
5
5
  "main": "./dist-cjs/index.js",
6
6
  "module": "./dist-es/index.js",
@@ -28,7 +28,7 @@
28
28
  },
29
29
  "license": "Apache-2.0",
30
30
  "dependencies": {
31
- "@smithy/service-error-classification": "^4.0.2",
31
+ "@smithy/service-error-classification": "^4.0.3",
32
32
  "@smithy/types": "^4.2.0",
33
33
  "tslib": "^2.6.2"
34
34
  },
@@ -8,7 +8,7 @@ This package contains type definitions for aws-lambda (http://docs.aws.amazon.co
8
8
  Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/aws-lambda.
9
9
 
10
10
  ### Additional Details
11
- * Last updated: Mon, 24 Mar 2025 03:15:36 GMT
11
+ * Last updated: Wed, 09 Apr 2025 18:39:53 GMT
12
12
  * Dependencies: none
13
13
 
14
14
  # Credits
@@ -1,3 +1,4 @@
1
+ import type { Writable } from "node:stream";
1
2
  /**
2
3
  * The interface that AWS Lambda will invoke your handler with.
3
4
  * There are more specialized types for many cases where AWS services
@@ -170,3 +171,97 @@ export interface ClientContextEnv {
170
171
  * Pass `null` or `undefined` for the `error` parameter to use this parameter.
171
172
  */
172
173
  export type Callback<TResult = any> = (error?: Error | string | null, result?: TResult) => void;
174
+
175
+ /**
176
+ * Interface for using response streaming from AWS Lambda.
177
+ * To indicate to the runtime that Lambda should stream your function’s responses, you must wrap your function handler with the `awslambda.streamifyResponse()` decorator.
178
+ *
179
+ * The `streamifyResponse` decorator accepts the following additional parameter, `responseStream`, besides the default node handler parameters, `event`, and `context`.
180
+ * The new `responseStream` object provides a stream object that your function can write data to. Data written to this stream is sent immediately to the client. You can optionally set the Content-Type header of the response to pass additional metadata to your client about the contents of the stream.
181
+ *
182
+ * {@link https://aws.amazon.com/blogs/compute/introducing-aws-lambda-response-streaming/ AWS blog post}
183
+ * {@link https://docs.aws.amazon.com/lambda/latest/dg/config-rs-write-functions.html AWS documentation}
184
+ *
185
+ * @example <caption>Writing to the response stream</caption>
186
+ * import 'aws-lambda';
187
+ *
188
+ * export const handler = awslambda.streamifyResponse(
189
+ * async (event, responseStream, context) => {
190
+ * responseStream.setContentType("text/plain");
191
+ * responseStream.write("Hello, world!");
192
+ * responseStream.end();
193
+ * }
194
+ * );
195
+ *
196
+ * @example <caption>Using pipeline</caption>
197
+ * import 'aws-lambda';
198
+ * import { Readable } from 'stream';
199
+ * import { pipeline } from 'stream/promises';
200
+ * import zlib from 'zlib';
201
+ *
202
+ * export const handler = awslambda.streamifyResponse(
203
+ * async (event, responseStream, context) => {
204
+ * // As an example, convert event to a readable stream.
205
+ * const requestStream = Readable.from(Buffer.from(JSON.stringify(event)));
206
+ *
207
+ * await pipeline(requestStream, zlib.createGzip(), responseStream);
208
+ * }
209
+ * );
210
+ */
211
+ export type StreamifyHandler<TEvent = any, TResult = any> = (
212
+ event: TEvent,
213
+ responseStream: awslambda.HttpResponseStream,
214
+ context: Context,
215
+ ) => TResult | Promise<TResult>;
216
+
217
+ declare global {
218
+ namespace awslambda {
219
+ class HttpResponseStream extends Writable {
220
+ static from(
221
+ writable: Writable,
222
+ metadata: Record<string, unknown>,
223
+ ): HttpResponseStream;
224
+ setContentType: (contentType: string) => void;
225
+ }
226
+
227
+ /**
228
+ * Decorator for using response streaming from AWS Lambda.
229
+ * To indicate to the runtime that Lambda should stream your function’s responses, you must wrap your function handler with the `awslambda.streamifyResponse()` decorator.
230
+ *
231
+ * The `streamifyResponse` decorator accepts the following additional parameter, `responseStream`, besides the default node handler parameters, `event`, and `context`.
232
+ * The new `responseStream` object provides a stream object that your function can write data to. Data written to this stream is sent immediately to the client. You can optionally set the Content-Type header of the response to pass additional metadata to your client about the contents of the stream.
233
+ *
234
+ * {@link https://aws.amazon.com/blogs/compute/introducing-aws-lambda-response-streaming/ AWS blog post}
235
+ * {@link https://docs.aws.amazon.com/lambda/latest/dg/config-rs-write-functions.html AWS documentation}
236
+ *
237
+ * @example <caption>Writing to the response stream</caption>
238
+ * import 'aws-lambda';
239
+ *
240
+ * export const handler = awslambda.streamifyResponse(
241
+ * async (event, responseStream, context) => {
242
+ * responseStream.setContentType("text/plain");
243
+ * responseStream.write("Hello, world!");
244
+ * responseStream.end();
245
+ * }
246
+ * );
247
+ *
248
+ * @example <caption>Using pipeline</caption>
249
+ * import 'aws-lambda';
250
+ * import { Readable } from 'stream';
251
+ * import { pipeline } from 'stream/promises';
252
+ * import zlib from 'zlib';
253
+ *
254
+ * export const handler = awslambda.streamifyResponse(
255
+ * async (event, responseStream, context) => {
256
+ * // As an example, convert event to a readable stream.
257
+ * const requestStream = Readable.from(Buffer.from(JSON.stringify(event)));
258
+ *
259
+ * await pipeline(requestStream, zlib.createGzip(), responseStream);
260
+ * }
261
+ * );
262
+ */
263
+ function streamifyResponse<TEvent = any, TResult = void>(
264
+ handler: StreamifyHandler<TEvent, TResult>,
265
+ ): StreamifyHandler<TEvent, TResult>;
266
+ }
267
+ }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/aws-lambda",
3
- "version": "8.10.148",
3
+ "version": "8.10.149",
4
4
  "description": "TypeScript definitions for aws-lambda",
5
5
  "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/aws-lambda",
6
6
  "license": "MIT",
@@ -221,6 +221,6 @@
221
221
  "scripts": {},
222
222
  "dependencies": {},
223
223
  "peerDependencies": {},
224
- "typesPublisherContentHash": "445bcab95e49fae717dfd2598a5cd61d1effd5a65921e972b2e21ae322d68df9",
225
- "typeScriptVersion": "5.0"
224
+ "typesPublisherContentHash": "c81874d4cc10b4be40e344a39f04f615284abe3e369bde369e03adb59a3722d4",
225
+ "typeScriptVersion": "5.1"
226
226
  }
@@ -1,5 +1,32 @@
1
1
  # Changelog
2
2
 
3
+ # [1.9.0](https://github.com/axios/axios/compare/v1.8.4...v1.9.0) (2025-04-24)
4
+
5
+
6
+ ### Bug Fixes
7
+
8
+ * **core:** fix the Axios constructor implementation to treat the config argument as optional; ([#6881](https://github.com/axios/axios/issues/6881)) ([6c5d4cd](https://github.com/axios/axios/commit/6c5d4cd69286868059c5e52d45085cb9a894a983))
9
+ * **fetch:** fixed ERR_NETWORK mapping for Safari browsers; ([#6767](https://github.com/axios/axios/issues/6767)) ([dfe8411](https://github.com/axios/axios/commit/dfe8411c9a082c3d068bdd1f8d6e73054f387f45))
10
+ * **headers:** allow iterable objects to be a data source for the set method; ([#6873](https://github.com/axios/axios/issues/6873)) ([1b1f9cc](https://github.com/axios/axios/commit/1b1f9ccdc15f1ea745160ec9a5223de9db4673bc))
11
+ * **headers:** fix `getSetCookie` by using 'get' method for caseless access; ([#6874](https://github.com/axios/axios/issues/6874)) ([d4f7df4](https://github.com/axios/axios/commit/d4f7df4b304af8b373488fdf8e830793ff843eb9))
12
+ * **headers:** fixed support for setting multiple header values from an iterated source; ([#6885](https://github.com/axios/axios/issues/6885)) ([f7a3b5e](https://github.com/axios/axios/commit/f7a3b5e0f7e5e127b97defa92a132fbf1b55cf15))
13
+ * **http:** send minimal end multipart boundary ([#6661](https://github.com/axios/axios/issues/6661)) ([987d2e2](https://github.com/axios/axios/commit/987d2e2dd3b362757550f36eab875e60640b6ddc))
14
+ * **types:** fix autocomplete for adapter config ([#6855](https://github.com/axios/axios/issues/6855)) ([e61a893](https://github.com/axios/axios/commit/e61a8934d8f94dd429a2f309b48c67307c700df0))
15
+
16
+
17
+ ### Features
18
+
19
+ * **AxiosHeaders:** add getSetCookie method to retrieve set-cookie headers values ([#5707](https://github.com/axios/axios/issues/5707)) ([80ea756](https://github.com/axios/axios/commit/80ea756e72bcf53110fa792f5d7ab76e8b11c996))
20
+
21
+ ### Contributors to this release
22
+
23
+ - <img src="https://avatars.githubusercontent.com/u/12586868?v&#x3D;4&amp;s&#x3D;18" alt="avatar" width="18"/> [Dmitriy Mozgovoy](https://github.com/DigitalBrainJS "+200/-34 (#6890 #6889 #6888 #6885 #6881 #6767 #6874 #6873 )")
24
+ - <img src="https://avatars.githubusercontent.com/u/4814473?v&#x3D;4&amp;s&#x3D;18" alt="avatar" width="18"/> [Jay](https://github.com/jasonsaayman "+26/-1 ()")
25
+ - <img src="https://avatars.githubusercontent.com/u/22686401?v&#x3D;4&amp;s&#x3D;18" alt="avatar" width="18"/> [Willian Agostini](https://github.com/WillianAgostini "+21/-0 (#5707 )")
26
+ - <img src="https://avatars.githubusercontent.com/u/2500247?v&#x3D;4&amp;s&#x3D;18" alt="avatar" width="18"/> [George Cheng](https://github.com/Gerhut "+3/-3 (#5096 )")
27
+ - <img src="https://avatars.githubusercontent.com/u/30260221?v&#x3D;4&amp;s&#x3D;18" alt="avatar" width="18"/> [FatahChan](https://github.com/FatahChan "+2/-2 (#6855 )")
28
+ - <img src="https://avatars.githubusercontent.com/u/49002?v&#x3D;4&amp;s&#x3D;18" alt="avatar" width="18"/> [Ionuț G. Stan](https://github.com/igstan "+1/-1 (#6661 )")
29
+
3
30
  ## [1.8.4](https://github.com/axios/axios/compare/v1.8.3...v1.8.4) (2025-03-19)
4
31
 
5
32