@gemeentenijmegen/webapp 1.1.0 → 1.1.2

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 (728) hide show
  1. package/.jsii +12 -12
  2. package/assets/webapp/auth/auth.lambda/index.js +54 -33
  3. package/assets/webapp/login/login.lambda/index.js +54 -33
  4. package/assets/webapp/logout/logout.lambda/index.js +53 -32
  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/util/Files.js +1 -1
  9. package/node_modules/@aws-sdk/client-dynamodb/README.md +1 -1
  10. package/node_modules/@aws-sdk/client-dynamodb/dist-cjs/index.js +35 -30
  11. package/node_modules/@aws-sdk/client-dynamodb/dist-cjs/runtimeConfig.browser.js +1 -1
  12. package/node_modules/@aws-sdk/client-dynamodb/dist-cjs/runtimeConfig.js +2 -1
  13. package/node_modules/@aws-sdk/client-dynamodb/dist-es/DynamoDBClient.js +12 -10
  14. package/node_modules/@aws-sdk/client-dynamodb/dist-es/models/models_0.js +15 -15
  15. package/node_modules/@aws-sdk/client-dynamodb/dist-es/protocols/Aws_json1_0.js +3 -0
  16. package/node_modules/@aws-sdk/client-dynamodb/dist-es/runtimeConfig.browser.js +2 -2
  17. package/node_modules/@aws-sdk/client-dynamodb/dist-es/runtimeConfig.js +3 -2
  18. package/node_modules/@aws-sdk/client-dynamodb/dist-types/DynamoDBClient.d.ts +3 -3
  19. package/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/CreateGlobalTableCommand.d.ts +10 -0
  20. package/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/CreateTableCommand.d.ts +28 -0
  21. package/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/DeleteTableCommand.d.ts +20 -0
  22. package/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/DescribeGlobalTableCommand.d.ts +10 -0
  23. package/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/DescribeImportCommand.d.ts +4 -0
  24. package/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/DescribeTableCommand.d.ts +20 -0
  25. package/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/ImportTableCommand.d.ts +8 -0
  26. package/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/RestoreTableFromBackupCommand.d.ts +24 -0
  27. package/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/RestoreTableToPointInTimeCommand.d.ts +24 -0
  28. package/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/UpdateGlobalTableCommand.d.ts +10 -0
  29. package/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/UpdateTableCommand.d.ts +32 -0
  30. package/node_modules/@aws-sdk/client-dynamodb/dist-types/models/models_0.d.ts +758 -655
  31. package/node_modules/@aws-sdk/client-dynamodb/dist-types/runtimeConfig.browser.d.ts +2 -1
  32. package/node_modules/@aws-sdk/client-dynamodb/dist-types/runtimeConfig.d.ts +2 -1
  33. package/node_modules/@aws-sdk/client-dynamodb/dist-types/runtimeConfig.native.d.ts +2 -1
  34. package/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/DynamoDBClient.d.ts +7 -1
  35. package/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/models/models_0.d.ts +744 -641
  36. package/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/runtimeConfig.browser.d.ts +9 -3
  37. package/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/runtimeConfig.d.ts +6 -3
  38. package/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/runtimeConfig.native.d.ts +9 -3
  39. package/node_modules/@aws-sdk/client-dynamodb/package.json +38 -38
  40. package/node_modules/@aws-sdk/client-s3/README.md +1 -1
  41. package/node_modules/@aws-sdk/client-s3/dist-cjs/index.js +240 -179
  42. package/node_modules/@aws-sdk/client-s3/dist-cjs/runtimeConfig.browser.js +1 -1
  43. package/node_modules/@aws-sdk/client-s3/dist-cjs/runtimeConfig.js +2 -1
  44. package/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteObjectsCommand.js +0 -1
  45. package/node_modules/@aws-sdk/client-s3/dist-es/commands/GetObjectCommand.js +0 -1
  46. package/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketAccelerateConfigurationCommand.js +0 -1
  47. package/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketAclCommand.js +0 -1
  48. package/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketCorsCommand.js +0 -1
  49. package/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketEncryptionCommand.js +0 -1
  50. package/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketLifecycleConfigurationCommand.js +2 -1
  51. package/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketLoggingCommand.js +0 -1
  52. package/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketOwnershipControlsCommand.js +0 -1
  53. package/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketPolicyCommand.js +0 -1
  54. package/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketReplicationCommand.js +0 -1
  55. package/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketRequestPaymentCommand.js +0 -1
  56. package/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketTaggingCommand.js +0 -1
  57. package/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketVersioningCommand.js +0 -1
  58. package/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketWebsiteCommand.js +0 -1
  59. package/node_modules/@aws-sdk/client-s3/dist-es/commands/PutObjectAclCommand.js +0 -1
  60. package/node_modules/@aws-sdk/client-s3/dist-es/commands/PutObjectCommand.js +0 -1
  61. package/node_modules/@aws-sdk/client-s3/dist-es/commands/PutObjectLegalHoldCommand.js +0 -1
  62. package/node_modules/@aws-sdk/client-s3/dist-es/commands/PutObjectLockConfigurationCommand.js +0 -1
  63. package/node_modules/@aws-sdk/client-s3/dist-es/commands/PutObjectRetentionCommand.js +0 -1
  64. package/node_modules/@aws-sdk/client-s3/dist-es/commands/PutObjectTaggingCommand.js +0 -1
  65. package/node_modules/@aws-sdk/client-s3/dist-es/commands/PutPublicAccessBlockCommand.js +0 -1
  66. package/node_modules/@aws-sdk/client-s3/dist-es/commands/RestoreObjectCommand.js +0 -1
  67. package/node_modules/@aws-sdk/client-s3/dist-es/commands/UploadPartCommand.js +0 -1
  68. package/node_modules/@aws-sdk/client-s3/dist-es/models/models_0.js +4 -28
  69. package/node_modules/@aws-sdk/client-s3/dist-es/models/models_1.js +48 -0
  70. package/node_modules/@aws-sdk/client-s3/dist-es/protocols/Aws_restXml.js +131 -100
  71. package/node_modules/@aws-sdk/client-s3/dist-es/runtimeConfig.browser.js +2 -2
  72. package/node_modules/@aws-sdk/client-s3/dist-es/runtimeConfig.js +3 -2
  73. package/node_modules/@aws-sdk/client-s3/dist-types/commands/AbortMultipartUploadCommand.d.ts +16 -13
  74. package/node_modules/@aws-sdk/client-s3/dist-types/commands/CompleteMultipartUploadCommand.d.ts +47 -42
  75. package/node_modules/@aws-sdk/client-s3/dist-types/commands/CopyObjectCommand.d.ts +77 -57
  76. package/node_modules/@aws-sdk/client-s3/dist-types/commands/CreateBucketCommand.d.ts +60 -45
  77. package/node_modules/@aws-sdk/client-s3/dist-types/commands/CreateMultipartUploadCommand.d.ts +92 -66
  78. package/node_modules/@aws-sdk/client-s3/dist-types/commands/CreateSessionCommand.d.ts +31 -17
  79. package/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketAnalyticsConfigurationCommand.d.ts +1 -1
  80. package/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketCommand.d.ts +10 -3
  81. package/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketCorsCommand.d.ts +1 -1
  82. package/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketEncryptionCommand.d.ts +18 -10
  83. package/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketIntelligentTieringConfigurationCommand.d.ts +1 -1
  84. package/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketInventoryConfigurationCommand.d.ts +1 -1
  85. package/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketLifecycleCommand.d.ts +52 -9
  86. package/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketMetricsConfigurationCommand.d.ts +1 -1
  87. package/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketOwnershipControlsCommand.d.ts +1 -1
  88. package/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketPolicyCommand.d.ts +25 -21
  89. package/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketReplicationCommand.d.ts +1 -1
  90. package/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketTaggingCommand.d.ts +1 -1
  91. package/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketWebsiteCommand.d.ts +1 -1
  92. package/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteObjectCommand.d.ts +44 -50
  93. package/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteObjectTaggingCommand.d.ts +1 -1
  94. package/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteObjectsCommand.d.ts +63 -49
  95. package/node_modules/@aws-sdk/client-s3/dist-types/commands/DeletePublicAccessBlockCommand.d.ts +1 -1
  96. package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketAccelerateConfigurationCommand.d.ts +1 -1
  97. package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketAclCommand.d.ts +1 -1
  98. package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketAnalyticsConfigurationCommand.d.ts +1 -1
  99. package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketCorsCommand.d.ts +1 -1
  100. package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketEncryptionCommand.d.ts +18 -10
  101. package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketIntelligentTieringConfigurationCommand.d.ts +1 -1
  102. package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketInventoryConfigurationCommand.d.ts +1 -1
  103. package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketLifecycleConfigurationCommand.d.ts +63 -18
  104. package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketLocationCommand.d.ts +1 -1
  105. package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketLoggingCommand.d.ts +1 -1
  106. package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketMetricsConfigurationCommand.d.ts +1 -1
  107. package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketNotificationConfigurationCommand.d.ts +1 -1
  108. package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketOwnershipControlsCommand.d.ts +1 -1
  109. package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketPolicyCommand.d.ts +30 -21
  110. package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketPolicyStatusCommand.d.ts +1 -1
  111. package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketReplicationCommand.d.ts +2 -2
  112. package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketRequestPaymentCommand.d.ts +1 -1
  113. package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketTaggingCommand.d.ts +1 -1
  114. package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketVersioningCommand.d.ts +1 -1
  115. package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketWebsiteCommand.d.ts +1 -1
  116. package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectAclCommand.d.ts +1 -1
  117. package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectAttributesCommand.d.ts +62 -44
  118. package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectCommand.d.ts +81 -62
  119. package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectLegalHoldCommand.d.ts +1 -1
  120. package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectLockConfigurationCommand.d.ts +1 -1
  121. package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectRetentionCommand.d.ts +1 -1
  122. package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectTaggingCommand.d.ts +20 -20
  123. package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectTorrentCommand.d.ts +1 -1
  124. package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetPublicAccessBlockCommand.d.ts +1 -1
  125. package/node_modules/@aws-sdk/client-s3/dist-types/commands/HeadBucketCommand.d.ts +32 -16
  126. package/node_modules/@aws-sdk/client-s3/dist-types/commands/HeadObjectCommand.d.ts +61 -39
  127. package/node_modules/@aws-sdk/client-s3/dist-types/commands/ListBucketAnalyticsConfigurationsCommand.d.ts +1 -1
  128. package/node_modules/@aws-sdk/client-s3/dist-types/commands/ListBucketIntelligentTieringConfigurationsCommand.d.ts +1 -1
  129. package/node_modules/@aws-sdk/client-s3/dist-types/commands/ListBucketInventoryConfigurationsCommand.d.ts +1 -1
  130. package/node_modules/@aws-sdk/client-s3/dist-types/commands/ListBucketMetricsConfigurationsCommand.d.ts +1 -1
  131. package/node_modules/@aws-sdk/client-s3/dist-types/commands/ListBucketsCommand.d.ts +14 -3
  132. package/node_modules/@aws-sdk/client-s3/dist-types/commands/ListDirectoryBucketsCommand.d.ts +13 -3
  133. package/node_modules/@aws-sdk/client-s3/dist-types/commands/ListMultipartUploadsCommand.d.ts +82 -65
  134. package/node_modules/@aws-sdk/client-s3/dist-types/commands/ListObjectVersionsCommand.d.ts +1 -1
  135. package/node_modules/@aws-sdk/client-s3/dist-types/commands/ListObjectsCommand.d.ts +1 -1
  136. package/node_modules/@aws-sdk/client-s3/dist-types/commands/ListObjectsV2Command.d.ts +23 -14
  137. package/node_modules/@aws-sdk/client-s3/dist-types/commands/ListPartsCommand.d.ts +22 -17
  138. package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketAccelerateConfigurationCommand.d.ts +1 -1
  139. package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketAclCommand.d.ts +1 -1
  140. package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketAnalyticsConfigurationCommand.d.ts +1 -1
  141. package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketCorsCommand.d.ts +1 -1
  142. package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketEncryptionCommand.d.ts +48 -33
  143. package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketIntelligentTieringConfigurationCommand.d.ts +1 -1
  144. package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketInventoryConfigurationCommand.d.ts +1 -1
  145. package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketLifecycleConfigurationCommand.d.ts +93 -53
  146. package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketLoggingCommand.d.ts +1 -1
  147. package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketMetricsConfigurationCommand.d.ts +1 -1
  148. package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketNotificationConfigurationCommand.d.ts +2 -2
  149. package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketOwnershipControlsCommand.d.ts +2 -2
  150. package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketPolicyCommand.d.ts +30 -21
  151. package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketReplicationCommand.d.ts +4 -5
  152. package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketRequestPaymentCommand.d.ts +1 -1
  153. package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketTaggingCommand.d.ts +1 -1
  154. package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketVersioningCommand.d.ts +3 -6
  155. package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketWebsiteCommand.d.ts +1 -1
  156. package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutObjectAclCommand.d.ts +1 -1
  157. package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutObjectCommand.d.ts +123 -75
  158. package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutObjectLegalHoldCommand.d.ts +1 -1
  159. package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutObjectLockConfigurationCommand.d.ts +3 -3
  160. package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutObjectRetentionCommand.d.ts +2 -2
  161. package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutObjectTaggingCommand.d.ts +1 -1
  162. package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutPublicAccessBlockCommand.d.ts +1 -1
  163. package/node_modules/@aws-sdk/client-s3/dist-types/commands/RestoreObjectCommand.d.ts +1 -5
  164. package/node_modules/@aws-sdk/client-s3/dist-types/commands/SelectObjectContentCommand.d.ts +1 -5
  165. package/node_modules/@aws-sdk/client-s3/dist-types/commands/UploadPartCommand.d.ts +52 -41
  166. package/node_modules/@aws-sdk/client-s3/dist-types/commands/UploadPartCopyCommand.d.ts +66 -52
  167. package/node_modules/@aws-sdk/client-s3/dist-types/commands/WriteGetObjectResponseCommand.d.ts +1 -1
  168. package/node_modules/@aws-sdk/client-s3/dist-types/models/models_0.d.ts +1835 -1569
  169. package/node_modules/@aws-sdk/client-s3/dist-types/models/models_1.d.ts +613 -459
  170. package/node_modules/@aws-sdk/client-s3/dist-types/runtimeConfig.browser.d.ts +2 -1
  171. package/node_modules/@aws-sdk/client-s3/dist-types/runtimeConfig.d.ts +2 -1
  172. package/node_modules/@aws-sdk/client-s3/dist-types/runtimeConfig.native.d.ts +2 -1
  173. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketLifecycleConfigurationCommand.d.ts +7 -3
  174. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketNotificationConfigurationCommand.d.ts +1 -1
  175. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketOwnershipControlsCommand.d.ts +1 -1
  176. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/models/models_0.d.ts +812 -882
  177. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/models/models_1.d.ts +313 -275
  178. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/runtimeConfig.browser.d.ts +9 -3
  179. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/runtimeConfig.d.ts +8 -3
  180. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/runtimeConfig.native.d.ts +9 -3
  181. package/node_modules/@aws-sdk/client-s3/package.json +58 -59
  182. package/node_modules/@aws-sdk/client-secrets-manager/README.md +1 -1
  183. package/node_modules/@aws-sdk/client-secrets-manager/dist-cjs/runtimeConfig.browser.js +1 -1
  184. package/node_modules/@aws-sdk/client-secrets-manager/dist-cjs/runtimeConfig.js +2 -1
  185. package/node_modules/@aws-sdk/client-secrets-manager/dist-es/runtimeConfig.browser.js +2 -2
  186. package/node_modules/@aws-sdk/client-secrets-manager/dist-es/runtimeConfig.js +3 -2
  187. package/node_modules/@aws-sdk/client-secrets-manager/dist-types/models/models_0.d.ts +184 -184
  188. package/node_modules/@aws-sdk/client-secrets-manager/dist-types/runtimeConfig.browser.d.ts +2 -1
  189. package/node_modules/@aws-sdk/client-secrets-manager/dist-types/runtimeConfig.d.ts +2 -1
  190. package/node_modules/@aws-sdk/client-secrets-manager/dist-types/runtimeConfig.native.d.ts +2 -1
  191. package/node_modules/@aws-sdk/client-secrets-manager/dist-types/ts3.4/models/models_0.d.ts +184 -184
  192. package/node_modules/@aws-sdk/client-secrets-manager/dist-types/ts3.4/runtimeConfig.browser.d.ts +9 -3
  193. package/node_modules/@aws-sdk/client-secrets-manager/dist-types/ts3.4/runtimeConfig.d.ts +6 -3
  194. package/node_modules/@aws-sdk/client-secrets-manager/dist-types/ts3.4/runtimeConfig.native.d.ts +9 -3
  195. package/node_modules/@aws-sdk/client-secrets-manager/package.json +36 -36
  196. package/node_modules/@aws-sdk/client-ssm/README.md +40 -8
  197. package/node_modules/@aws-sdk/client-ssm/dist-cjs/index.js +834 -437
  198. package/node_modules/@aws-sdk/client-ssm/dist-cjs/runtimeConfig.browser.js +1 -1
  199. package/node_modules/@aws-sdk/client-ssm/dist-cjs/runtimeConfig.js +2 -1
  200. package/node_modules/@aws-sdk/client-ssm/dist-es/SSM.js +8 -0
  201. package/node_modules/@aws-sdk/client-ssm/dist-es/commands/GetExecutionPreviewCommand.js +22 -0
  202. package/node_modules/@aws-sdk/client-ssm/dist-es/commands/ListNodesCommand.js +23 -0
  203. package/node_modules/@aws-sdk/client-ssm/dist-es/commands/ListNodesSummaryCommand.js +22 -0
  204. package/node_modules/@aws-sdk/client-ssm/dist-es/commands/SendCommandCommand.js +1 -1
  205. package/node_modules/@aws-sdk/client-ssm/dist-es/commands/StartExecutionPreviewCommand.js +22 -0
  206. package/node_modules/@aws-sdk/client-ssm/dist-es/commands/index.js +4 -0
  207. package/node_modules/@aws-sdk/client-ssm/dist-es/models/models_1.js +99 -144
  208. package/node_modules/@aws-sdk/client-ssm/dist-es/models/models_2.js +167 -1
  209. package/node_modules/@aws-sdk/client-ssm/dist-es/pagination/ListNodesPaginator.js +4 -0
  210. package/node_modules/@aws-sdk/client-ssm/dist-es/pagination/ListNodesSummaryPaginator.js +4 -0
  211. package/node_modules/@aws-sdk/client-ssm/dist-es/pagination/index.js +2 -0
  212. package/node_modules/@aws-sdk/client-ssm/dist-es/protocols/Aws_json1_1.js +159 -3
  213. package/node_modules/@aws-sdk/client-ssm/dist-es/runtimeConfig.browser.js +2 -2
  214. package/node_modules/@aws-sdk/client-ssm/dist-es/runtimeConfig.js +3 -2
  215. package/node_modules/@aws-sdk/client-ssm/dist-types/SSM.d.ts +29 -0
  216. package/node_modules/@aws-sdk/client-ssm/dist-types/SSMClient.d.ts +6 -2
  217. package/node_modules/@aws-sdk/client-ssm/dist-types/commands/CreateResourceDataSyncCommand.d.ts +1 -1
  218. package/node_modules/@aws-sdk/client-ssm/dist-types/commands/DeleteActivationCommand.d.ts +1 -1
  219. package/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeActivationsCommand.d.ts +1 -1
  220. package/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeInstancePatchStatesForPatchGroupCommand.d.ts +1 -1
  221. package/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeInstancePatchesCommand.d.ts +1 -1
  222. package/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeInstancePropertiesCommand.d.ts +1 -1
  223. package/node_modules/@aws-sdk/client-ssm/dist-types/commands/GetExecutionPreviewCommand.d.ts +98 -0
  224. package/node_modules/@aws-sdk/client-ssm/dist-types/commands/GetInventoryCommand.d.ts +3 -4
  225. package/node_modules/@aws-sdk/client-ssm/dist-types/commands/GetOpsSummaryCommand.d.ts +3 -4
  226. package/node_modules/@aws-sdk/client-ssm/dist-types/commands/ListComplianceItemsCommand.d.ts +1 -1
  227. package/node_modules/@aws-sdk/client-ssm/dist-types/commands/ListComplianceSummariesCommand.d.ts +1 -1
  228. package/node_modules/@aws-sdk/client-ssm/dist-types/commands/ListInventoryEntriesCommand.d.ts +1 -1
  229. package/node_modules/@aws-sdk/client-ssm/dist-types/commands/ListNodesCommand.d.ts +123 -0
  230. package/node_modules/@aws-sdk/client-ssm/dist-types/commands/ListNodesSummaryCommand.d.ts +123 -0
  231. package/node_modules/@aws-sdk/client-ssm/dist-types/commands/ListResourceComplianceSummariesCommand.d.ts +1 -1
  232. package/node_modules/@aws-sdk/client-ssm/dist-types/commands/ResetServiceSettingCommand.d.ts +2 -1
  233. package/node_modules/@aws-sdk/client-ssm/dist-types/commands/ResumeSessionCommand.d.ts +1 -1
  234. package/node_modules/@aws-sdk/client-ssm/dist-types/commands/SendAutomationSignalCommand.d.ts +1 -1
  235. package/node_modules/@aws-sdk/client-ssm/dist-types/commands/SendCommandCommand.d.ts +1 -1
  236. package/node_modules/@aws-sdk/client-ssm/dist-types/commands/StartAssociationsOnceCommand.d.ts +1 -1
  237. package/node_modules/@aws-sdk/client-ssm/dist-types/commands/StartAutomationExecutionCommand.d.ts +1 -1
  238. package/node_modules/@aws-sdk/client-ssm/dist-types/commands/StartExecutionPreviewCommand.d.ts +141 -0
  239. package/node_modules/@aws-sdk/client-ssm/dist-types/commands/index.d.ts +4 -0
  240. package/node_modules/@aws-sdk/client-ssm/dist-types/models/models_0.d.ts +711 -706
  241. package/node_modules/@aws-sdk/client-ssm/dist-types/models/models_1.d.ts +2303 -2337
  242. package/node_modules/@aws-sdk/client-ssm/dist-types/models/models_2.d.ts +961 -196
  243. package/node_modules/@aws-sdk/client-ssm/dist-types/pagination/ListNodesPaginator.d.ts +7 -0
  244. package/node_modules/@aws-sdk/client-ssm/dist-types/pagination/ListNodesSummaryPaginator.d.ts +7 -0
  245. package/node_modules/@aws-sdk/client-ssm/dist-types/pagination/index.d.ts +2 -0
  246. package/node_modules/@aws-sdk/client-ssm/dist-types/protocols/Aws_json1_1.d.ts +36 -0
  247. package/node_modules/@aws-sdk/client-ssm/dist-types/runtimeConfig.browser.d.ts +2 -1
  248. package/node_modules/@aws-sdk/client-ssm/dist-types/runtimeConfig.d.ts +2 -1
  249. package/node_modules/@aws-sdk/client-ssm/dist-types/runtimeConfig.native.d.ts +2 -1
  250. package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/SSM.d.ts +69 -0
  251. package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/SSMClient.d.ts +24 -0
  252. package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/GetExecutionPreviewCommand.d.ts +51 -0
  253. package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/ListNodesCommand.d.ts +47 -0
  254. package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/ListNodesSummaryCommand.d.ts +48 -0
  255. package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/ResetServiceSettingCommand.d.ts +2 -4
  256. package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/ResumeSessionCommand.d.ts +1 -1
  257. package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/SendAutomationSignalCommand.d.ts +1 -1
  258. package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/SendCommandCommand.d.ts +1 -1
  259. package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/StartAssociationsOnceCommand.d.ts +1 -1
  260. package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/StartAutomationExecutionCommand.d.ts +1 -1
  261. package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/StartExecutionPreviewCommand.d.ts +51 -0
  262. package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/index.d.ts +4 -0
  263. package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/models/models_0.d.ts +706 -702
  264. package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/models/models_1.d.ts +1010 -1004
  265. package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/models/models_2.d.ts +436 -198
  266. package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/pagination/ListNodesPaginator.d.ts +11 -0
  267. package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/pagination/ListNodesSummaryPaginator.d.ts +11 -0
  268. package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/pagination/index.d.ts +2 -0
  269. package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +48 -0
  270. package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/runtimeConfig.browser.d.ts +9 -3
  271. package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/runtimeConfig.d.ts +6 -3
  272. package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/runtimeConfig.native.d.ts +9 -3
  273. package/node_modules/@aws-sdk/client-ssm/package.json +37 -37
  274. package/node_modules/@aws-sdk/client-sso/README.md +1 -1
  275. package/node_modules/@aws-sdk/client-sso/dist-cjs/runtimeConfig.browser.js +1 -1
  276. package/node_modules/@aws-sdk/client-sso/dist-cjs/runtimeConfig.js +2 -1
  277. package/node_modules/@aws-sdk/client-sso/dist-es/runtimeConfig.browser.js +2 -2
  278. package/node_modules/@aws-sdk/client-sso/dist-es/runtimeConfig.js +3 -2
  279. package/node_modules/@aws-sdk/client-sso/dist-types/models/models_0.d.ts +18 -18
  280. package/node_modules/@aws-sdk/client-sso/dist-types/runtimeConfig.browser.d.ts +2 -1
  281. package/node_modules/@aws-sdk/client-sso/dist-types/runtimeConfig.d.ts +2 -1
  282. package/node_modules/@aws-sdk/client-sso/dist-types/runtimeConfig.native.d.ts +2 -1
  283. package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/models/models_0.d.ts +18 -18
  284. package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/runtimeConfig.browser.d.ts +9 -3
  285. package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/runtimeConfig.d.ts +6 -3
  286. package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/runtimeConfig.native.d.ts +9 -3
  287. package/node_modules/@aws-sdk/client-sso/package.json +32 -32
  288. package/node_modules/@aws-sdk/client-sso-oidc/README.md +1 -1
  289. package/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/runtimeConfig.browser.js +1 -1
  290. package/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/runtimeConfig.js +2 -1
  291. package/node_modules/@aws-sdk/client-sso-oidc/dist-es/runtimeConfig.browser.js +2 -2
  292. package/node_modules/@aws-sdk/client-sso-oidc/dist-es/runtimeConfig.js +3 -2
  293. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/models/models_0.d.ts +74 -74
  294. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/runtimeConfig.browser.d.ts +2 -1
  295. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/runtimeConfig.d.ts +2 -1
  296. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/runtimeConfig.native.d.ts +2 -1
  297. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/models/models_0.d.ts +74 -74
  298. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/runtimeConfig.browser.d.ts +9 -3
  299. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/runtimeConfig.d.ts +6 -3
  300. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/runtimeConfig.native.d.ts +9 -3
  301. package/node_modules/@aws-sdk/client-sso-oidc/package.json +34 -34
  302. package/node_modules/@aws-sdk/client-sts/README.md +9 -1
  303. package/node_modules/@aws-sdk/client-sts/dist-cjs/index.js +99 -14
  304. package/node_modules/@aws-sdk/client-sts/dist-cjs/runtimeConfig.browser.js +1 -1
  305. package/node_modules/@aws-sdk/client-sts/dist-cjs/runtimeConfig.js +2 -1
  306. package/node_modules/@aws-sdk/client-sts/dist-es/STS.js +2 -0
  307. package/node_modules/@aws-sdk/client-sts/dist-es/commands/AssumeRootCommand.js +23 -0
  308. package/node_modules/@aws-sdk/client-sts/dist-es/commands/index.js +1 -0
  309. package/node_modules/@aws-sdk/client-sts/dist-es/defaultStsRoleAssumers.js +10 -2
  310. package/node_modules/@aws-sdk/client-sts/dist-es/models/models_0.js +4 -0
  311. package/node_modules/@aws-sdk/client-sts/dist-es/protocols/Aws_query.js +53 -0
  312. package/node_modules/@aws-sdk/client-sts/dist-es/runtimeConfig.browser.js +2 -2
  313. package/node_modules/@aws-sdk/client-sts/dist-es/runtimeConfig.js +3 -2
  314. package/node_modules/@aws-sdk/client-sts/dist-types/STS.d.ts +7 -0
  315. package/node_modules/@aws-sdk/client-sts/dist-types/STSClient.d.ts +3 -2
  316. package/node_modules/@aws-sdk/client-sts/dist-types/commands/AssumeRoleCommand.d.ts +13 -13
  317. package/node_modules/@aws-sdk/client-sts/dist-types/commands/AssumeRoleWithSAMLCommand.d.ts +8 -8
  318. package/node_modules/@aws-sdk/client-sts/dist-types/commands/AssumeRoleWithWebIdentityCommand.d.ts +15 -30
  319. package/node_modules/@aws-sdk/client-sts/dist-types/commands/AssumeRootCommand.d.ts +129 -0
  320. package/node_modules/@aws-sdk/client-sts/dist-types/commands/DecodeAuthorizationMessageCommand.d.ts +2 -2
  321. package/node_modules/@aws-sdk/client-sts/dist-types/commands/GetFederationTokenCommand.d.ts +8 -8
  322. package/node_modules/@aws-sdk/client-sts/dist-types/commands/GetSessionTokenCommand.d.ts +6 -6
  323. package/node_modules/@aws-sdk/client-sts/dist-types/commands/index.d.ts +1 -0
  324. package/node_modules/@aws-sdk/client-sts/dist-types/models/models_0.d.ts +202 -88
  325. package/node_modules/@aws-sdk/client-sts/dist-types/protocols/Aws_query.d.ts +9 -0
  326. package/node_modules/@aws-sdk/client-sts/dist-types/runtimeConfig.browser.d.ts +2 -1
  327. package/node_modules/@aws-sdk/client-sts/dist-types/runtimeConfig.d.ts +2 -1
  328. package/node_modules/@aws-sdk/client-sts/dist-types/runtimeConfig.native.d.ts +2 -1
  329. package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/STS.d.ts +17 -0
  330. package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/STSClient.d.ts +6 -0
  331. package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/commands/AssumeRootCommand.d.ts +47 -0
  332. package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/commands/index.d.ts +1 -0
  333. package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/models/models_0.d.ts +68 -56
  334. package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/protocols/Aws_query.d.ts +12 -0
  335. package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/runtimeConfig.browser.d.ts +9 -3
  336. package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/runtimeConfig.d.ts +6 -3
  337. package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/runtimeConfig.native.d.ts +9 -3
  338. package/node_modules/@aws-sdk/client-sts/package.json +36 -36
  339. package/node_modules/@aws-sdk/core/dist-cjs/submodules/account-id-endpoint/index.js +3 -3
  340. package/node_modules/@aws-sdk/core/dist-cjs/submodules/client/index.js +36 -5
  341. package/node_modules/@aws-sdk/core/dist-cjs/submodules/httpAuthSchemes/index.js +6 -1
  342. package/node_modules/@aws-sdk/core/dist-es/submodules/account-id-endpoint/AccountIdEndpointModeConfigResolver.js +1 -1
  343. package/node_modules/@aws-sdk/core/dist-es/submodules/client/emitWarningIfUnsupportedVersion.js +5 -3
  344. package/node_modules/@aws-sdk/core/dist-es/submodules/client/index.js +2 -0
  345. package/node_modules/@aws-sdk/core/dist-es/submodules/client/setCredentialFeature.js +7 -0
  346. package/node_modules/@aws-sdk/core/dist-es/submodules/client/setFeature.js +11 -0
  347. package/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/aws_sdk/resolveAwsSdkSigV4Config.js +6 -1
  348. package/node_modules/@aws-sdk/core/dist-types/submodules/client/emitWarningIfUnsupportedVersion.d.ts +3 -0
  349. package/node_modules/@aws-sdk/core/dist-types/submodules/client/index.d.ts +2 -0
  350. package/node_modules/@aws-sdk/core/dist-types/submodules/client/setCredentialFeature.d.ts +7 -0
  351. package/node_modules/@aws-sdk/core/dist-types/submodules/client/setFeature.d.ts +12 -0
  352. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/emitWarningIfUnsupportedVersion.d.ts +3 -0
  353. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/index.d.ts +2 -0
  354. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/setCredentialFeature.d.ts +11 -0
  355. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/setFeature.d.ts +6 -0
  356. package/node_modules/@aws-sdk/core/package.json +14 -11
  357. package/node_modules/@aws-sdk/credential-provider-env/dist-cjs/index.js +4 -1
  358. package/node_modules/@aws-sdk/credential-provider-env/dist-es/fromEnv.js +4 -1
  359. package/node_modules/@aws-sdk/credential-provider-env/package.json +7 -5
  360. package/node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/fromHttp.js +2 -1
  361. package/node_modules/@aws-sdk/credential-provider-http/dist-es/fromHttp/fromHttp.js +2 -1
  362. package/node_modules/@aws-sdk/credential-provider-http/package.json +12 -10
  363. package/node_modules/@aws-sdk/credential-provider-ini/dist-cjs/index.js +29 -13
  364. package/node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveAssumeRoleCredentials.js +3 -2
  365. package/node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveCredentialSource.js +5 -3
  366. package/node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveProcessCredentials.js +2 -1
  367. package/node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveProfileData.js +1 -1
  368. package/node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveSsoCredentials.js +10 -2
  369. package/node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveStaticCredentials.js +5 -3
  370. package/node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveWebIdentityCredentials.js +2 -1
  371. package/node_modules/@aws-sdk/credential-provider-ini/dist-types/resolveAssumeRoleCredentials.d.ts +2 -2
  372. package/node_modules/@aws-sdk/credential-provider-ini/dist-types/resolveSsoCredentials.d.ts +2 -2
  373. package/node_modules/@aws-sdk/credential-provider-ini/dist-types/ts3.4/resolveAssumeRoleCredentials.d.ts +2 -2
  374. package/node_modules/@aws-sdk/credential-provider-ini/dist-types/ts3.4/resolveSsoCredentials.d.ts +3 -2
  375. package/node_modules/@aws-sdk/credential-provider-ini/package.json +15 -13
  376. package/node_modules/@aws-sdk/credential-provider-node/package.json +15 -14
  377. package/node_modules/@aws-sdk/credential-provider-process/dist-cjs/index.js +4 -1
  378. package/node_modules/@aws-sdk/credential-provider-process/dist-es/getValidatedProcessCredentials.js +4 -1
  379. package/node_modules/@aws-sdk/credential-provider-process/package.json +8 -6
  380. package/node_modules/@aws-sdk/credential-provider-sso/dist-cjs/index.js +8 -1
  381. package/node_modules/@aws-sdk/credential-provider-sso/dist-es/resolveSSOCredentials.js +9 -1
  382. package/node_modules/@aws-sdk/credential-provider-sso/package.json +10 -8
  383. package/node_modules/@aws-sdk/credential-provider-web-identity/dist-cjs/fromTokenFile.js +6 -1
  384. package/node_modules/@aws-sdk/credential-provider-web-identity/dist-es/fromTokenFile.js +6 -1
  385. package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +10 -8
  386. package/node_modules/@aws-sdk/endpoint-cache/package.json +3 -2
  387. package/node_modules/@aws-sdk/middleware-bucket-endpoint/package.json +8 -7
  388. package/node_modules/@aws-sdk/middleware-endpoint-discovery/package.json +10 -8
  389. package/node_modules/@aws-sdk/middleware-expect-continue/package.json +8 -6
  390. package/node_modules/@aws-sdk/middleware-flexible-checksums/dist-cjs/getCrc32ChecksumAlgorithmFunction.browser.js +6 -0
  391. package/node_modules/@aws-sdk/middleware-flexible-checksums/dist-cjs/getCrc32ChecksumAlgorithmFunction.js +28 -0
  392. package/node_modules/@aws-sdk/middleware-flexible-checksums/dist-cjs/index.js +35 -10
  393. package/node_modules/@aws-sdk/middleware-flexible-checksums/dist-es/flexibleChecksumsMiddleware.js +18 -2
  394. package/node_modules/@aws-sdk/middleware-flexible-checksums/dist-es/getChecksum.js +1 -5
  395. package/node_modules/@aws-sdk/middleware-flexible-checksums/dist-es/getCrc32ChecksumAlgorithmFunction.browser.js +2 -0
  396. package/node_modules/@aws-sdk/middleware-flexible-checksums/dist-es/getCrc32ChecksumAlgorithmFunction.js +23 -0
  397. package/node_modules/@aws-sdk/middleware-flexible-checksums/dist-es/selectChecksumAlgorithmFunction.js +2 -2
  398. package/node_modules/@aws-sdk/middleware-flexible-checksums/dist-es/validateChecksumFromResponse.js +14 -2
  399. package/node_modules/@aws-sdk/middleware-flexible-checksums/dist-types/flexibleChecksumsMiddleware.d.ts +0 -3
  400. package/node_modules/@aws-sdk/middleware-flexible-checksums/dist-types/getChecksum.d.ts +2 -3
  401. package/node_modules/@aws-sdk/middleware-flexible-checksums/dist-types/getCrc32ChecksumAlgorithmFunction.browser.d.ts +2 -0
  402. package/node_modules/@aws-sdk/middleware-flexible-checksums/dist-types/getCrc32ChecksumAlgorithmFunction.d.ts +10 -0
  403. package/node_modules/@aws-sdk/middleware-flexible-checksums/dist-types/ts3.4/flexibleChecksumsMiddleware.d.ts +0 -1
  404. package/node_modules/@aws-sdk/middleware-flexible-checksums/dist-types/ts3.4/getChecksum.d.ts +2 -8
  405. package/node_modules/@aws-sdk/middleware-flexible-checksums/dist-types/ts3.4/getCrc32ChecksumAlgorithmFunction.browser.d.ts +2 -0
  406. package/node_modules/@aws-sdk/middleware-flexible-checksums/dist-types/ts3.4/getCrc32ChecksumAlgorithmFunction.d.ts +12 -0
  407. package/node_modules/@aws-sdk/middleware-flexible-checksums/package.json +17 -9
  408. package/node_modules/@aws-sdk/middleware-host-header/package.json +8 -6
  409. package/node_modules/@aws-sdk/middleware-location-constraint/package.json +7 -5
  410. package/node_modules/@aws-sdk/middleware-logger/package.json +7 -5
  411. package/node_modules/@aws-sdk/middleware-recursion-detection/package.json +8 -6
  412. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-cjs/index.js +18 -15
  413. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/region-redirect-middleware.js +13 -13
  414. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/s3-express/functions/s3ExpressMiddleware.js +2 -0
  415. package/node_modules/@aws-sdk/middleware-sdk-s3/package.json +20 -16
  416. package/node_modules/@aws-sdk/middleware-ssec/package.json +7 -5
  417. package/node_modules/@aws-sdk/middleware-user-agent/dist-cjs/index.js +112 -4
  418. package/node_modules/@aws-sdk/middleware-user-agent/dist-es/check-features.js +49 -0
  419. package/node_modules/@aws-sdk/middleware-user-agent/dist-es/configurations.js +22 -0
  420. package/node_modules/@aws-sdk/middleware-user-agent/dist-es/encode-features.js +18 -0
  421. package/node_modules/@aws-sdk/middleware-user-agent/dist-es/user-agent-middleware.js +11 -1
  422. package/node_modules/@aws-sdk/middleware-user-agent/dist-types/check-features.d.ts +18 -0
  423. package/node_modules/@aws-sdk/middleware-user-agent/dist-types/configurations.d.ts +14 -1
  424. package/node_modules/@aws-sdk/middleware-user-agent/dist-types/encode-features.d.ts +5 -0
  425. package/node_modules/@aws-sdk/middleware-user-agent/dist-types/ts3.4/check-features.d.ts +20 -0
  426. package/node_modules/@aws-sdk/middleware-user-agent/dist-types/ts3.4/configurations.d.ts +5 -1
  427. package/node_modules/@aws-sdk/middleware-user-agent/dist-types/ts3.4/encode-features.d.ts +2 -0
  428. package/node_modules/@aws-sdk/middleware-user-agent/dist-types/ts3.4/user-agent-middleware.d.ts +2 -1
  429. package/node_modules/@aws-sdk/middleware-user-agent/dist-types/user-agent-middleware.d.ts +2 -1
  430. package/node_modules/@aws-sdk/middleware-user-agent/package.json +12 -8
  431. package/node_modules/@aws-sdk/region-config-resolver/package.json +7 -6
  432. package/node_modules/@aws-sdk/s3-request-presigner/README.md +23 -41
  433. package/node_modules/@aws-sdk/s3-request-presigner/dist-cjs/index.js +24 -6
  434. package/node_modules/@aws-sdk/s3-request-presigner/dist-es/presigner.js +8 -4
  435. package/node_modules/@aws-sdk/s3-request-presigner/dist-types/presigner.d.ts +2 -2
  436. package/node_modules/@aws-sdk/s3-request-presigner/dist-types/ts3.4/presigner.d.ts +2 -0
  437. package/node_modules/@aws-sdk/s3-request-presigner/package.json +12 -11
  438. package/node_modules/@aws-sdk/signature-v4-multi-region/package.json +8 -7
  439. package/node_modules/@aws-sdk/token-providers/package.json +8 -7
  440. package/node_modules/@aws-sdk/types/dist-es/feature-ids.js +1 -0
  441. package/node_modules/@aws-sdk/types/dist-es/index.js +1 -0
  442. package/node_modules/@aws-sdk/types/dist-types/feature-ids.d.ts +59 -0
  443. package/node_modules/@aws-sdk/types/dist-types/identity/AwsCredentialIdentity.d.ts +5 -0
  444. package/node_modules/@aws-sdk/types/dist-types/index.d.ts +1 -0
  445. package/node_modules/@aws-sdk/types/dist-types/middleware.d.ts +12 -0
  446. package/node_modules/@aws-sdk/types/dist-types/ts3.4/feature-ids.d.ts +54 -0
  447. package/node_modules/@aws-sdk/types/dist-types/ts3.4/identity/AwsCredentialIdentity.d.ts +5 -0
  448. package/node_modules/@aws-sdk/types/dist-types/ts3.4/index.d.ts +1 -0
  449. package/node_modules/@aws-sdk/types/dist-types/ts3.4/middleware.d.ts +7 -0
  450. package/node_modules/@aws-sdk/types/package.json +2 -2
  451. package/node_modules/@aws-sdk/util-arn-parser/dist-cjs/index.js +1 -0
  452. package/node_modules/@aws-sdk/util-arn-parser/package.json +3 -2
  453. package/node_modules/@aws-sdk/util-endpoints/package.json +8 -6
  454. package/node_modules/@aws-sdk/util-format-url/package.json +6 -5
  455. package/node_modules/@aws-sdk/util-locate-window/dist-cjs/index.js +1 -0
  456. package/node_modules/@aws-sdk/util-locate-window/package.json +3 -2
  457. package/node_modules/@aws-sdk/util-user-agent-browser/dist-cjs/index.js +9 -4
  458. package/node_modules/@aws-sdk/util-user-agent-browser/dist-cjs/index.native.js +9 -4
  459. package/node_modules/@aws-sdk/util-user-agent-browser/dist-es/index.js +7 -2
  460. package/node_modules/@aws-sdk/util-user-agent-browser/dist-es/index.native.js +7 -2
  461. package/node_modules/@aws-sdk/util-user-agent-browser/dist-types/index.d.ts +9 -1
  462. package/node_modules/@aws-sdk/util-user-agent-browser/dist-types/index.native.d.ts +9 -1
  463. package/node_modules/@aws-sdk/util-user-agent-browser/dist-types/ts3.4/index.d.ts +12 -1
  464. package/node_modules/@aws-sdk/util-user-agent-browser/dist-types/ts3.4/index.native.d.ts +12 -1
  465. package/node_modules/@aws-sdk/util-user-agent-browser/package.json +5 -4
  466. package/node_modules/@aws-sdk/util-user-agent-node/dist-cjs/index.js +46 -39
  467. package/node_modules/@aws-sdk/util-user-agent-node/dist-es/defaultUserAgent.js +29 -0
  468. package/node_modules/@aws-sdk/util-user-agent-node/dist-es/index.js +2 -39
  469. package/node_modules/@aws-sdk/util-user-agent-node/dist-es/nodeAppIdConfigOptions.js +8 -0
  470. package/node_modules/@aws-sdk/util-user-agent-node/dist-types/defaultUserAgent.d.ts +23 -0
  471. package/node_modules/@aws-sdk/util-user-agent-node/dist-types/index.d.ts +2 -20
  472. package/node_modules/@aws-sdk/util-user-agent-node/dist-types/nodeAppIdConfigOptions.d.ts +13 -0
  473. package/node_modules/@aws-sdk/util-user-agent-node/dist-types/ts3.4/defaultUserAgent.d.ts +21 -0
  474. package/node_modules/@aws-sdk/util-user-agent-node/dist-types/ts3.4/index.d.ts +2 -12
  475. package/node_modules/@aws-sdk/util-user-agent-node/dist-types/ts3.4/nodeAppIdConfigOptions.d.ts +6 -0
  476. package/node_modules/@aws-sdk/util-user-agent-node/package.json +7 -5
  477. package/node_modules/@aws-sdk/xml-builder/package.json +4 -3
  478. package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/.jsii +5 -5
  479. package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/lib/index.js +1 -1
  480. package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-cdk/integ-tests-alpha/.jsii +2 -2
  481. package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-cdk/integ-tests-alpha/.jsii.tabl.json.gz +0 -0
  482. package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-cdk/integ-tests-alpha/lib/assertions/api-call-base.js +1 -1
  483. package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-cdk/integ-tests-alpha/lib/assertions/assertions.js +1 -1
  484. package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-cdk/integ-tests-alpha/lib/assertions/common.js +2 -2
  485. package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-cdk/integ-tests-alpha/lib/assertions/http-call.js +1 -1
  486. package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-cdk/integ-tests-alpha/lib/assertions/match.js +1 -1
  487. package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-cdk/integ-tests-alpha/lib/assertions/providers/provider.js +1 -1
  488. package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-cdk/integ-tests-alpha/lib/assertions/sdk.js +2 -2
  489. package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-cdk/integ-tests-alpha/lib/assertions/waiter-state-machine.js +1 -1
  490. package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-cdk/integ-tests-alpha/lib/test-case.js +3 -3
  491. package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-cdk/integ-tests-alpha/package.json +7 -7
  492. package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core/.jsii +325 -18
  493. package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core/index.d.ts +2 -0
  494. package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core/index.js +3 -1
  495. package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core/lib/apigateway-defaults.js +2 -2
  496. package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core/lib/cloudfront-distribution-helper.js +2 -2
  497. package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core/lib/kendra-defaults.js +2 -2
  498. package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core/lib/kendra-helper.js +2 -2
  499. package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core/lib/pipes-defaults.d.ts +15 -0
  500. package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core/lib/pipes-defaults.js +33 -0
  501. package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core/lib/pipes-helper.d.ts +56 -0
  502. package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core/lib/pipes-helper.js +197 -0
  503. package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core/lib/step-function-helper.d.ts +2 -1
  504. package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core/lib/step-function-helper.js +10 -4
  505. package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core/lib/utils.d.ts +9 -0
  506. package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core/lib/utils.js +28 -2
  507. package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core/package.json +4 -4
  508. package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core/test/pipes-helper.test.d.ts +13 -0
  509. package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core/test/pipes-helper.test.js +695 -0
  510. package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core/test/step-function-helper.test.js +35 -1
  511. package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core/test/test-helper.d.ts +1 -0
  512. package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core/test/test-helper.js +8 -3
  513. package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core/test/utils.test.js +16 -1
  514. package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/constructs/.jsii +85 -45
  515. package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/constructs/API.md +841 -255
  516. package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/constructs/Dockerfile +2 -2
  517. package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/constructs/README.md +5 -1
  518. package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/constructs/lib/construct.d.ts +20 -3
  519. package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/constructs/lib/construct.js +36 -30
  520. package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/constructs/lib/dependency.d.ts +0 -4
  521. package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/constructs/lib/dependency.js +5 -9
  522. package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/constructs/lib/private/stack-trace.js +1 -1
  523. package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/constructs/lib/private/uniqueid.js +1 -1
  524. package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/constructs/package.json +35 -31
  525. package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/package.json +6 -6
  526. package/node_modules/@gemeentenijmegen/apiclient/package.json +8 -8
  527. package/node_modules/@gemeentenijmegen/apigateway-http/package.json +5 -5
  528. package/node_modules/@gemeentenijmegen/session/package.json +6 -6
  529. package/node_modules/@gemeentenijmegen/utils/package.json +8 -8
  530. package/node_modules/@smithy/abort-controller/package.json +4 -3
  531. package/node_modules/@smithy/chunked-blob-reader/dist-cjs/index.js +8 -23
  532. package/node_modules/@smithy/chunked-blob-reader/dist-es/index.js +8 -22
  533. package/node_modules/@smithy/chunked-blob-reader/dist-types/index.d.ts +1 -0
  534. package/node_modules/@smithy/chunked-blob-reader/dist-types/ts3.4/index.d.ts +1 -0
  535. package/node_modules/@smithy/chunked-blob-reader/package.json +2 -2
  536. package/node_modules/@smithy/chunked-blob-reader-native/package.json +2 -2
  537. package/node_modules/@smithy/config-resolver/package.json +7 -6
  538. package/node_modules/@smithy/core/dist-cjs/index.js +79 -158
  539. package/node_modules/@smithy/core/dist-cjs/submodules/cbor/index.js +34 -9
  540. package/node_modules/@smithy/core/dist-cjs/submodules/protocols/index.js +164 -0
  541. package/node_modules/@smithy/core/dist-es/index.js +4 -3
  542. package/node_modules/@smithy/core/dist-es/middleware-http-auth-scheme/getHttpAuthSchemeEndpointRuleSetPlugin.js +1 -2
  543. package/node_modules/@smithy/core/dist-es/middleware-http-signing/getHttpSigningMiddleware.js +1 -2
  544. package/node_modules/@smithy/core/dist-es/protocols/requestBuilder.js +1 -67
  545. package/node_modules/@smithy/core/dist-es/setFeature.js +11 -0
  546. package/node_modules/@smithy/core/dist-es/submodules/cbor/cbor-decode.js +2 -2
  547. package/node_modules/@smithy/core/dist-es/submodules/cbor/cbor-encode.js +11 -1
  548. package/node_modules/@smithy/core/dist-es/submodules/cbor/cbor-types.js +5 -0
  549. package/node_modules/@smithy/core/dist-es/submodules/cbor/cbor.js +8 -2
  550. package/node_modules/@smithy/core/dist-es/submodules/cbor/index.js +1 -0
  551. package/node_modules/@smithy/core/dist-es/submodules/cbor/parseCborBody.js +4 -3
  552. package/node_modules/@smithy/core/dist-es/submodules/protocols/collect-stream-body.js +11 -0
  553. package/node_modules/@smithy/core/dist-es/submodules/protocols/extended-encode-uri-component.js +5 -0
  554. package/node_modules/@smithy/core/dist-es/submodules/protocols/index.js +4 -0
  555. package/node_modules/@smithy/core/dist-es/submodules/protocols/requestBuilder.js +67 -0
  556. package/node_modules/@smithy/core/dist-es/submodules/protocols/resolve-path.js +19 -0
  557. package/node_modules/@smithy/core/dist-types/index.d.ts +4 -3
  558. package/node_modules/@smithy/core/dist-types/protocols/requestBuilder.d.ts +2 -48
  559. package/node_modules/@smithy/core/dist-types/setFeature.d.ts +12 -0
  560. package/node_modules/@smithy/core/dist-types/submodules/cbor/cbor-types.d.ts +23 -0
  561. package/node_modules/@smithy/core/dist-types/submodules/cbor/index.d.ts +1 -0
  562. package/node_modules/@smithy/core/dist-types/submodules/cbor/parseCborBody.d.ts +4 -2
  563. package/node_modules/@smithy/core/dist-types/submodules/protocols/collect-stream-body.d.ts +10 -0
  564. package/node_modules/@smithy/core/dist-types/submodules/protocols/extended-encode-uri-component.d.ts +7 -0
  565. package/node_modules/@smithy/core/dist-types/submodules/protocols/index.d.ts +4 -0
  566. package/node_modules/@smithy/core/dist-types/submodules/protocols/requestBuilder.d.ts +51 -0
  567. package/node_modules/@smithy/core/dist-types/submodules/protocols/resolve-path.d.ts +4 -0
  568. package/node_modules/@smithy/core/dist-types/ts3.4/index.d.ts +4 -3
  569. package/node_modules/@smithy/core/dist-types/ts3.4/protocols/requestBuilder.d.ts +2 -48
  570. package/node_modules/@smithy/core/dist-types/ts3.4/setFeature.d.ts +12 -0
  571. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/cbor-types.d.ts +23 -0
  572. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/index.d.ts +1 -0
  573. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/parseCborBody.d.ts +4 -2
  574. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/collect-stream-body.d.ts +10 -0
  575. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/extended-encode-uri-component.d.ts +7 -0
  576. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/index.d.ts +4 -0
  577. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/requestBuilder.d.ts +51 -0
  578. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/resolve-path.d.ts +4 -0
  579. package/node_modules/@smithy/core/package.json +19 -11
  580. package/node_modules/@smithy/core/protocols.d.ts +7 -0
  581. package/node_modules/@smithy/core/protocols.js +6 -0
  582. package/node_modules/@smithy/credential-provider-imds/package.json +7 -7
  583. package/node_modules/@smithy/eventstream-codec/package.json +4 -3
  584. package/node_modules/@smithy/eventstream-serde-browser/package.json +3 -3
  585. package/node_modules/@smithy/eventstream-serde-config-resolver/package.json +5 -4
  586. package/node_modules/@smithy/eventstream-serde-node/package.json +3 -3
  587. package/node_modules/@smithy/eventstream-serde-universal/package.json +5 -4
  588. package/node_modules/@smithy/fetch-http-handler/dist-cjs/index.js +12 -30
  589. package/node_modules/@smithy/fetch-http-handler/dist-es/create-request.js +3 -0
  590. package/node_modules/@smithy/fetch-http-handler/dist-es/fetch-http-handler.js +3 -2
  591. package/node_modules/@smithy/fetch-http-handler/dist-es/stream-collector.js +3 -26
  592. package/node_modules/@smithy/fetch-http-handler/dist-types/create-request.d.ts +6 -0
  593. package/node_modules/@smithy/fetch-http-handler/dist-types/fetch-http-handler.d.ts +6 -0
  594. package/node_modules/@smithy/fetch-http-handler/dist-types/ts3.4/create-request.d.ts +6 -0
  595. package/node_modules/@smithy/fetch-http-handler/dist-types/ts3.4/fetch-http-handler.d.ts +6 -0
  596. package/node_modules/@smithy/fetch-http-handler/package.json +9 -6
  597. package/node_modules/@smithy/hash-blob-browser/package.json +6 -5
  598. package/node_modules/@smithy/hash-node/package.json +4 -3
  599. package/node_modules/@smithy/hash-stream-node/package.json +4 -3
  600. package/node_modules/@smithy/invalid-dependency/package.json +4 -3
  601. package/node_modules/@smithy/md5-js/package.json +4 -3
  602. package/node_modules/@smithy/middleware-content-length/package.json +5 -4
  603. package/node_modules/@smithy/middleware-endpoint/dist-cjs/index.js +4 -0
  604. package/node_modules/@smithy/middleware-endpoint/dist-es/endpointMiddleware.js +4 -0
  605. package/node_modules/@smithy/middleware-endpoint/package.json +11 -9
  606. package/node_modules/@smithy/middleware-retry/package.json +12 -10
  607. package/node_modules/@smithy/middleware-serde/package.json +6 -4
  608. package/node_modules/@smithy/middleware-stack/package.json +4 -3
  609. package/node_modules/@smithy/node-config-provider/package.json +6 -5
  610. package/node_modules/@smithy/node-http-handler/dist-cjs/index.js +20 -14
  611. package/node_modules/@smithy/node-http-handler/dist-cjs/timing.js +1 -0
  612. package/node_modules/@smithy/node-http-handler/dist-es/node-http-handler.js +5 -4
  613. package/node_modules/@smithy/node-http-handler/dist-es/node-http2-connection-manager.js +1 -1
  614. package/node_modules/@smithy/node-http-handler/dist-es/server.mock.js +9 -2
  615. package/node_modules/@smithy/node-http-handler/dist-es/set-connection-timeout.js +5 -4
  616. package/node_modules/@smithy/node-http-handler/dist-es/set-socket-keep-alive.js +2 -1
  617. package/node_modules/@smithy/node-http-handler/dist-es/set-socket-timeout.js +2 -1
  618. package/node_modules/@smithy/node-http-handler/dist-es/timing.js +4 -0
  619. package/node_modules/@smithy/node-http-handler/dist-es/write-request-body.js +4 -3
  620. package/node_modules/@smithy/node-http-handler/dist-types/timing.d.ts +8 -0
  621. package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/timing.d.ts +8 -0
  622. package/node_modules/@smithy/node-http-handler/package.json +7 -6
  623. package/node_modules/@smithy/property-provider/package.json +4 -3
  624. package/node_modules/@smithy/protocol-http/package.json +4 -3
  625. package/node_modules/@smithy/querystring-builder/package.json +2 -2
  626. package/node_modules/@smithy/querystring-parser/package.json +4 -3
  627. package/node_modules/@smithy/service-error-classification/package.json +4 -3
  628. package/node_modules/@smithy/shared-ini-file-loader/package.json +4 -3
  629. package/node_modules/@smithy/signature-v4/package.json +6 -5
  630. package/node_modules/@smithy/smithy-client/dist-cjs/index.js +59 -36
  631. package/node_modules/@smithy/smithy-client/dist-cjs/quote-header.js +1 -0
  632. package/node_modules/@smithy/smithy-client/dist-cjs/split-header.js +1 -0
  633. package/node_modules/@smithy/smithy-client/dist-es/collect-stream-body.js +1 -11
  634. package/node_modules/@smithy/smithy-client/dist-es/extended-encode-uri-component.js +1 -5
  635. package/node_modules/@smithy/smithy-client/dist-es/index.js +2 -0
  636. package/node_modules/@smithy/smithy-client/dist-es/quote-header.js +6 -0
  637. package/node_modules/@smithy/smithy-client/dist-es/resolve-path.js +1 -19
  638. package/node_modules/@smithy/smithy-client/dist-es/split-header.js +37 -0
  639. package/node_modules/@smithy/smithy-client/dist-types/collect-stream-body.d.ts +2 -7
  640. package/node_modules/@smithy/smithy-client/dist-types/extended-encode-uri-component.d.ts +2 -4
  641. package/node_modules/@smithy/smithy-client/dist-types/index.d.ts +2 -0
  642. package/node_modules/@smithy/smithy-client/dist-types/quote-header.d.ts +6 -0
  643. package/node_modules/@smithy/smithy-client/dist-types/resolve-path.d.ts +2 -1
  644. package/node_modules/@smithy/smithy-client/dist-types/split-header.d.ts +5 -0
  645. package/node_modules/@smithy/smithy-client/dist-types/ts3.4/collect-stream-body.d.ts +2 -7
  646. package/node_modules/@smithy/smithy-client/dist-types/ts3.4/extended-encode-uri-component.d.ts +2 -4
  647. package/node_modules/@smithy/smithy-client/dist-types/ts3.4/index.d.ts +2 -0
  648. package/node_modules/@smithy/smithy-client/dist-types/ts3.4/quote-header.d.ts +6 -0
  649. package/node_modules/@smithy/smithy-client/dist-types/ts3.4/resolve-path.d.ts +2 -1
  650. package/node_modules/@smithy/smithy-client/dist-types/ts3.4/split-header.d.ts +5 -0
  651. package/node_modules/@smithy/smithy-client/package.json +9 -7
  652. package/node_modules/@smithy/types/dist-cjs/feature-ids.js +1 -0
  653. package/node_modules/@smithy/types/dist-es/feature-ids.js +1 -0
  654. package/node_modules/@smithy/types/dist-es/index.js +1 -0
  655. package/node_modules/@smithy/types/dist-types/feature-ids.d.ts +16 -0
  656. package/node_modules/@smithy/types/dist-types/http.d.ts +1 -0
  657. package/node_modules/@smithy/types/dist-types/index.d.ts +1 -0
  658. package/node_modules/@smithy/types/dist-types/middleware.d.ts +30 -6
  659. package/node_modules/@smithy/types/dist-types/transform/no-undefined.d.ts +3 -2
  660. package/node_modules/@smithy/types/dist-types/ts3.4/feature-ids.d.ts +16 -0
  661. package/node_modules/@smithy/types/dist-types/ts3.4/http.d.ts +1 -0
  662. package/node_modules/@smithy/types/dist-types/ts3.4/index.d.ts +1 -0
  663. package/node_modules/@smithy/types/dist-types/ts3.4/middleware.d.ts +26 -2
  664. package/node_modules/@smithy/types/dist-types/ts3.4/transform/no-undefined.d.ts +3 -2
  665. package/node_modules/@smithy/types/package.json +1 -1
  666. package/node_modules/@smithy/url-parser/package.json +5 -4
  667. package/node_modules/@smithy/util-defaults-mode-browser/package.json +6 -5
  668. package/node_modules/@smithy/util-defaults-mode-node/package.json +9 -8
  669. package/node_modules/@smithy/util-endpoints/package.json +7 -5
  670. package/node_modules/@smithy/util-middleware/package.json +4 -3
  671. package/node_modules/@smithy/util-retry/dist-cjs/index.js +5 -1
  672. package/node_modules/@smithy/util-retry/dist-es/DefaultRateLimiter.js +2 -1
  673. package/node_modules/@smithy/util-retry/dist-types/DefaultRateLimiter.d.ts +4 -0
  674. package/node_modules/@smithy/util-retry/dist-types/ts3.4/DefaultRateLimiter.d.ts +4 -0
  675. package/node_modules/@smithy/util-retry/package.json +5 -4
  676. package/node_modules/@smithy/util-stream/dist-cjs/checksum/ChecksumStream.browser.js +7 -0
  677. package/node_modules/@smithy/util-stream/dist-cjs/checksum/ChecksumStream.js +49 -0
  678. package/node_modules/@smithy/util-stream/dist-cjs/checksum/createChecksumStream.browser.js +40 -0
  679. package/node_modules/@smithy/util-stream/dist-cjs/checksum/createChecksumStream.js +13 -0
  680. package/node_modules/@smithy/util-stream/dist-cjs/index.js +6 -1
  681. package/node_modules/@smithy/util-stream/dist-cjs/sdk-stream-mixin.js +1 -2
  682. package/node_modules/@smithy/util-stream/dist-cjs/splitStream.js +1 -1
  683. package/node_modules/@smithy/util-stream/dist-cjs/stream-type-check.js +6 -1
  684. package/node_modules/@smithy/util-stream/dist-es/checksum/ChecksumStream.browser.js +3 -0
  685. package/node_modules/@smithy/util-stream/dist-es/checksum/ChecksumStream.js +44 -0
  686. package/node_modules/@smithy/util-stream/dist-es/checksum/createChecksumStream.browser.js +35 -0
  687. package/node_modules/@smithy/util-stream/dist-es/checksum/createChecksumStream.js +9 -0
  688. package/node_modules/@smithy/util-stream/dist-es/index.js +2 -0
  689. package/node_modules/@smithy/util-stream/dist-es/sdk-stream-mixin.js +0 -1
  690. package/node_modules/@smithy/util-stream/dist-es/splitStream.js +2 -2
  691. package/node_modules/@smithy/util-stream/dist-es/stream-type-check.js +3 -0
  692. package/node_modules/@smithy/util-stream/dist-types/checksum/ChecksumStream.browser.d.ts +37 -0
  693. package/node_modules/@smithy/util-stream/dist-types/checksum/ChecksumStream.d.ts +61 -0
  694. package/node_modules/@smithy/util-stream/dist-types/checksum/createChecksumStream.browser.d.ts +15 -0
  695. package/node_modules/@smithy/util-stream/dist-types/checksum/createChecksumStream.d.ts +12 -0
  696. package/node_modules/@smithy/util-stream/dist-types/index.d.ts +2 -0
  697. package/node_modules/@smithy/util-stream/dist-types/stream-type-check.d.ts +4 -0
  698. package/node_modules/@smithy/util-stream/dist-types/ts3.4/checksum/ChecksumStream.browser.d.ts +37 -0
  699. package/node_modules/@smithy/util-stream/dist-types/ts3.4/checksum/ChecksumStream.d.ts +60 -0
  700. package/node_modules/@smithy/util-stream/dist-types/ts3.4/checksum/createChecksumStream.browser.d.ts +15 -0
  701. package/node_modules/@smithy/util-stream/dist-types/ts3.4/checksum/createChecksumStream.d.ts +12 -0
  702. package/node_modules/@smithy/util-stream/dist-types/ts3.4/index.d.ts +2 -0
  703. package/node_modules/@smithy/util-stream/dist-types/ts3.4/stream-type-check.d.ts +4 -0
  704. package/node_modules/@smithy/util-stream/package.json +16 -6
  705. package/node_modules/@smithy/util-waiter/package.json +5 -4
  706. package/node_modules/@types/uuid/LICENSE +21 -0
  707. package/node_modules/@types/uuid/README.md +15 -0
  708. package/node_modules/@types/uuid/index.d.mts +12 -0
  709. package/node_modules/@types/uuid/index.d.ts +86 -0
  710. package/node_modules/@types/uuid/package.json +54 -0
  711. package/node_modules/cookie/index.js +118 -57
  712. package/node_modules/cookie/package.json +3 -3
  713. package/node_modules/form-data/Readme.md +4 -4
  714. package/node_modules/form-data/lib/form_data.js +1 -1
  715. package/node_modules/form-data/package.json +9 -6
  716. package/node_modules/tslib/modules/index.d.ts +1 -0
  717. package/node_modules/tslib/modules/index.js +2 -0
  718. package/node_modules/tslib/package.json +1 -1
  719. package/node_modules/tslib/tslib.d.ts +7 -0
  720. package/node_modules/tslib/tslib.es6.js +24 -1
  721. package/node_modules/tslib/tslib.es6.mjs +24 -1
  722. package/node_modules/tslib/tslib.js +56 -1
  723. package/package.json +18 -18
  724. package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/constructs/.gitattributes +0 -28
  725. package/node_modules/cookie/HISTORY.md +0 -147
  726. package/node_modules/form-data/README.md.bak +0 -358
  727. /package/node_modules/{@aws-sdk/endpoint-cache/dist-cjs/Endpoint.js → @smithy/core/dist-cjs/setFeature.js} +0 -0
  728. /package/node_modules/{@aws-sdk/endpoint-cache/dist-cjs/EndpointCache.js → @smithy/fetch-http-handler/dist-cjs/create-request.js} +0 -0
package/package.json CHANGED
@@ -40,11 +40,11 @@
40
40
  "organization": false
41
41
  },
42
42
  "devDependencies": {
43
- "@aws-sdk/types": "^3.654.0",
44
- "@axe-core/playwright": "^4.10.0",
45
- "@gemeentenijmegen/projen-project-type": "^1.8.1",
43
+ "@aws-sdk/types": "^3.696.0",
44
+ "@axe-core/playwright": "^4.10.1",
45
+ "@gemeentenijmegen/projen-project-type": "^1.8.3",
46
46
  "@glen/jest-raw-loader": "^2.0.0",
47
- "@playwright/test": "^1.47.2",
47
+ "@playwright/test": "^1.49.0",
48
48
  "@types/aws-lambda": "^8.10.145",
49
49
  "@types/jest": "^27",
50
50
  "@types/mustache": "^4.2.5",
@@ -60,15 +60,15 @@
60
60
  "esbuild": "^0.24.0",
61
61
  "eslint": "^8",
62
62
  "eslint-import-resolver-typescript": "^3.6.3",
63
- "eslint-plugin-import": "^2.30.0",
63
+ "eslint-plugin-import": "^2.31.0",
64
64
  "jest": "^27",
65
65
  "jest-junit": "^15",
66
66
  "jsii": "~5.5.0",
67
- "jsii-diff": "^1.103.1",
67
+ "jsii-diff": "^1.105.0",
68
68
  "jsii-docgen": "^10.5.0",
69
- "jsii-pacmak": "^1.103.1",
69
+ "jsii-pacmak": "^1.105.0",
70
70
  "jsii-rosetta": "~5.5.0",
71
- "projen": "^0.88.0",
71
+ "projen": "^0.88.9",
72
72
  "ts-jest": "^27",
73
73
  "typescript": "^5.6.2"
74
74
  },
@@ -78,17 +78,17 @@
78
78
  },
79
79
  "dependencies": {
80
80
  "@aws-lambda-powertools/logger": "^1.17.0",
81
- "@aws-sdk/client-dynamodb": "^3.658.1",
82
- "@aws-sdk/client-secrets-manager": "^3.658.1",
83
- "@aws-solutions-constructs/aws-lambda-dynamodb": "^2.71.0",
84
- "@gemeentenijmegen/apiclient": "^0.0.18",
85
- "@gemeentenijmegen/apigateway-http": "^0.0.16",
86
- "@gemeentenijmegen/aws-constructs": "^0.0.21",
87
- "@gemeentenijmegen/session": "^0.0.16",
88
- "@gemeentenijmegen/utils": "^0.0.17",
81
+ "@aws-sdk/client-dynamodb": "^3.696.0",
82
+ "@aws-sdk/client-secrets-manager": "^3.696.0",
83
+ "@aws-solutions-constructs/aws-lambda-dynamodb": "^2.74.0",
84
+ "@gemeentenijmegen/apiclient": "^0.0.20",
85
+ "@gemeentenijmegen/apigateway-http": "^0.0.17",
86
+ "@gemeentenijmegen/aws-constructs": "^0.0.23",
87
+ "@gemeentenijmegen/session": "^0.0.18",
88
+ "@gemeentenijmegen/utils": "^0.0.19",
89
89
  "axios": "^1.7.7",
90
90
  "cdk-remote-stack": "^2.1.0",
91
- "cookie": "^0.6.0",
91
+ "cookie": "^0.7.2",
92
92
  "dotenv": "^16.4.5",
93
93
  "mustache": "^4.2.0",
94
94
  "openid-client": "^5.7.0"
@@ -117,7 +117,7 @@
117
117
  "publishConfig": {
118
118
  "access": "public"
119
119
  },
120
- "version": "1.1.0",
120
+ "version": "1.1.2",
121
121
  "jest": {
122
122
  "coverageProvider": "v8",
123
123
  "setupFiles": [
@@ -1,28 +0,0 @@
1
- # ~~ Generated by projen. To modify, edit .projenrc.ts and run "npx projen".
2
-
3
- *.snap linguist-generated
4
- /.eslintrc.json linguist-generated
5
- /.gitattributes linguist-generated
6
- /.github/pull_request_template.md linguist-generated
7
- /.github/workflows/auto-approve.yml linguist-generated
8
- /.github/workflows/build.yml linguist-generated
9
- /.github/workflows/pull-request-lint.yml linguist-generated
10
- /.github/workflows/release-3.x.yml linguist-generated
11
- /.github/workflows/release.yml linguist-generated
12
- /.github/workflows/upgrade-10.x.yml linguist-generated
13
- /.github/workflows/upgrade-3.x.yml linguist-generated
14
- /.github/workflows/upgrade-cdklabs-projen-project-types-10.x.yml linguist-generated
15
- /.github/workflows/upgrade-cdklabs-projen-project-types-3.x.yml linguist-generated
16
- /.gitignore linguist-generated
17
- /.mergify.yml linguist-generated
18
- /.npmignore linguist-generated
19
- /.npmrc linguist-generated
20
- /.projen/** linguist-generated
21
- /.projen/deps.json linguist-generated
22
- /.projen/files.json linguist-generated
23
- /.projen/tasks.json linguist-generated
24
- /API.md linguist-generated
25
- /LICENSE linguist-generated
26
- /package.json linguist-generated
27
- /tsconfig.dev.json linguist-generated
28
- /yarn.lock linguist-generated
@@ -1,147 +0,0 @@
1
- 0.6.0 / 2023-11-06
2
- ==================
3
-
4
- * Add `partitioned` option
5
-
6
- 0.5.0 / 2022-04-11
7
- ==================
8
-
9
- * Add `priority` option
10
- * Fix `expires` option to reject invalid dates
11
- * perf: improve default decode speed
12
- * perf: remove slow string split in parse
13
-
14
- 0.4.2 / 2022-02-02
15
- ==================
16
-
17
- * perf: read value only when assigning in parse
18
- * perf: remove unnecessary regexp in parse
19
-
20
- 0.4.1 / 2020-04-21
21
- ==================
22
-
23
- * Fix `maxAge` option to reject invalid values
24
-
25
- 0.4.0 / 2019-05-15
26
- ==================
27
-
28
- * Add `SameSite=None` support
29
-
30
- 0.3.1 / 2016-05-26
31
- ==================
32
-
33
- * Fix `sameSite: true` to work with draft-7 clients
34
- - `true` now sends `SameSite=Strict` instead of `SameSite`
35
-
36
- 0.3.0 / 2016-05-26
37
- ==================
38
-
39
- * Add `sameSite` option
40
- - Replaces `firstPartyOnly` option, never implemented by browsers
41
- * Improve error message when `encode` is not a function
42
- * Improve error message when `expires` is not a `Date`
43
-
44
- 0.2.4 / 2016-05-20
45
- ==================
46
-
47
- * perf: enable strict mode
48
- * perf: use for loop in parse
49
- * perf: use string concatenation for serialization
50
-
51
- 0.2.3 / 2015-10-25
52
- ==================
53
-
54
- * Fix cookie `Max-Age` to never be a floating point number
55
-
56
- 0.2.2 / 2015-09-17
57
- ==================
58
-
59
- * Fix regression when setting empty cookie value
60
- - Ease the new restriction, which is just basic header-level validation
61
- * Fix typo in invalid value errors
62
-
63
- 0.2.1 / 2015-09-17
64
- ==================
65
-
66
- * Throw on invalid values provided to `serialize`
67
- - Ensures the resulting string is a valid HTTP header value
68
-
69
- 0.2.0 / 2015-08-13
70
- ==================
71
-
72
- * Add `firstPartyOnly` option
73
- * Throw better error for invalid argument to parse
74
- * perf: hoist regular expression
75
-
76
- 0.1.5 / 2015-09-17
77
- ==================
78
-
79
- * Fix regression when setting empty cookie value
80
- - Ease the new restriction, which is just basic header-level validation
81
- * Fix typo in invalid value errors
82
-
83
- 0.1.4 / 2015-09-17
84
- ==================
85
-
86
- * Throw better error for invalid argument to parse
87
- * Throw on invalid values provided to `serialize`
88
- - Ensures the resulting string is a valid HTTP header value
89
-
90
- 0.1.3 / 2015-05-19
91
- ==================
92
-
93
- * Reduce the scope of try-catch deopt
94
- * Remove argument reassignments
95
-
96
- 0.1.2 / 2014-04-16
97
- ==================
98
-
99
- * Remove unnecessary files from npm package
100
-
101
- 0.1.1 / 2014-02-23
102
- ==================
103
-
104
- * Fix bad parse when cookie value contained a comma
105
- * Fix support for `maxAge` of `0`
106
-
107
- 0.1.0 / 2013-05-01
108
- ==================
109
-
110
- * Add `decode` option
111
- * Add `encode` option
112
-
113
- 0.0.6 / 2013-04-08
114
- ==================
115
-
116
- * Ignore cookie parts missing `=`
117
-
118
- 0.0.5 / 2012-10-29
119
- ==================
120
-
121
- * Return raw cookie value if value unescape errors
122
-
123
- 0.0.4 / 2012-06-21
124
- ==================
125
-
126
- * Use encode/decodeURIComponent for cookie encoding/decoding
127
- - Improve server/client interoperability
128
-
129
- 0.0.3 / 2012-06-06
130
- ==================
131
-
132
- * Only escape special characters per the cookie RFC
133
-
134
- 0.0.2 / 2012-06-01
135
- ==================
136
-
137
- * Fix `maxAge` option to not throw error
138
-
139
- 0.0.1 / 2012-05-28
140
- ==================
141
-
142
- * Add more tests
143
-
144
- 0.0.0 / 2012-05-28
145
- ==================
146
-
147
- * Initial release
@@ -1,358 +0,0 @@
1
- # Form-Data [![NPM Module](https://img.shields.io/npm/v/form-data.svg)](https://www.npmjs.com/package/form-data) [![Join the chat at https://gitter.im/form-data/form-data](http://form-data.github.io/images/gitterbadge.svg)](https://gitter.im/form-data/form-data)
2
-
3
- A library to create readable ```"multipart/form-data"``` streams. Can be used to submit forms and file uploads to other web applications.
4
-
5
- The API of this library is inspired by the [XMLHttpRequest-2 FormData Interface][xhr2-fd].
6
-
7
- [xhr2-fd]: http://dev.w3.org/2006/webapi/XMLHttpRequest-2/Overview.html#the-formdata-interface
8
-
9
- [![Linux Build](https://img.shields.io/travis/form-data/form-data/v4.0.0.svg?label=linux:6.x-12.x)](https://travis-ci.org/form-data/form-data)
10
- [![MacOS Build](https://img.shields.io/travis/form-data/form-data/v4.0.0.svg?label=macos:6.x-12.x)](https://travis-ci.org/form-data/form-data)
11
- [![Windows Build](https://img.shields.io/travis/form-data/form-data/v4.0.0.svg?label=windows:6.x-12.x)](https://travis-ci.org/form-data/form-data)
12
-
13
- [![Coverage Status](https://img.shields.io/coveralls/form-data/form-data/v4.0.0.svg?label=code+coverage)](https://coveralls.io/github/form-data/form-data?branch=master)
14
- [![Dependency Status](https://img.shields.io/david/form-data/form-data.svg)](https://david-dm.org/form-data/form-data)
15
-
16
- ## Install
17
-
18
- ```
19
- npm install --save form-data
20
- ```
21
-
22
- ## Usage
23
-
24
- In this example we are constructing a form with 3 fields that contain a string,
25
- a buffer and a file stream.
26
-
27
- ``` javascript
28
- var FormData = require('form-data');
29
- var fs = require('fs');
30
-
31
- var form = new FormData();
32
- form.append('my_field', 'my value');
33
- form.append('my_buffer', new Buffer(10));
34
- form.append('my_file', fs.createReadStream('/foo/bar.jpg'));
35
- ```
36
-
37
- Also you can use http-response stream:
38
-
39
- ``` javascript
40
- var FormData = require('form-data');
41
- var http = require('http');
42
-
43
- var form = new FormData();
44
-
45
- http.request('http://nodejs.org/images/logo.png', function(response) {
46
- form.append('my_field', 'my value');
47
- form.append('my_buffer', new Buffer(10));
48
- form.append('my_logo', response);
49
- });
50
- ```
51
-
52
- Or @mikeal's [request](https://github.com/request/request) stream:
53
-
54
- ``` javascript
55
- var FormData = require('form-data');
56
- var request = require('request');
57
-
58
- var form = new FormData();
59
-
60
- form.append('my_field', 'my value');
61
- form.append('my_buffer', new Buffer(10));
62
- form.append('my_logo', request('http://nodejs.org/images/logo.png'));
63
- ```
64
-
65
- In order to submit this form to a web application, call ```submit(url, [callback])``` method:
66
-
67
- ``` javascript
68
- form.submit('http://example.org/', function(err, res) {
69
- // res – response object (http.IncomingMessage) //
70
- res.resume();
71
- });
72
-
73
- ```
74
-
75
- For more advanced request manipulations ```submit()``` method returns ```http.ClientRequest``` object, or you can choose from one of the alternative submission methods.
76
-
77
- ### Custom options
78
-
79
- You can provide custom options, such as `maxDataSize`:
80
-
81
- ``` javascript
82
- var FormData = require('form-data');
83
-
84
- var form = new FormData({ maxDataSize: 20971520 });
85
- form.append('my_field', 'my value');
86
- form.append('my_buffer', /* something big */);
87
- ```
88
-
89
- List of available options could be found in [combined-stream](https://github.com/felixge/node-combined-stream/blob/master/lib/combined_stream.js#L7-L15)
90
-
91
- ### Alternative submission methods
92
-
93
- You can use node's http client interface:
94
-
95
- ``` javascript
96
- var http = require('http');
97
-
98
- var request = http.request({
99
- method: 'post',
100
- host: 'example.org',
101
- path: '/upload',
102
- headers: form.getHeaders()
103
- });
104
-
105
- form.pipe(request);
106
-
107
- request.on('response', function(res) {
108
- console.log(res.statusCode);
109
- });
110
- ```
111
-
112
- Or if you would prefer the `'Content-Length'` header to be set for you:
113
-
114
- ``` javascript
115
- form.submit('example.org/upload', function(err, res) {
116
- console.log(res.statusCode);
117
- });
118
- ```
119
-
120
- To use custom headers and pre-known length in parts:
121
-
122
- ``` javascript
123
- var CRLF = '\r\n';
124
- var form = new FormData();
125
-
126
- var options = {
127
- header: CRLF + '--' + form.getBoundary() + CRLF + 'X-Custom-Header: 123' + CRLF + CRLF,
128
- knownLength: 1
129
- };
130
-
131
- form.append('my_buffer', buffer, options);
132
-
133
- form.submit('http://example.com/', function(err, res) {
134
- if (err) throw err;
135
- console.log('Done');
136
- });
137
- ```
138
-
139
- Form-Data can recognize and fetch all the required information from common types of streams (```fs.readStream```, ```http.response``` and ```mikeal's request```), for some other types of streams you'd need to provide "file"-related information manually:
140
-
141
- ``` javascript
142
- someModule.stream(function(err, stdout, stderr) {
143
- if (err) throw err;
144
-
145
- var form = new FormData();
146
-
147
- form.append('file', stdout, {
148
- filename: 'unicycle.jpg', // ... or:
149
- filepath: 'photos/toys/unicycle.jpg',
150
- contentType: 'image/jpeg',
151
- knownLength: 19806
152
- });
153
-
154
- form.submit('http://example.com/', function(err, res) {
155
- if (err) throw err;
156
- console.log('Done');
157
- });
158
- });
159
- ```
160
-
161
- The `filepath` property overrides `filename` and may contain a relative path. This is typically used when uploading [multiple files from a directory](https://wicg.github.io/entries-api/#dom-htmlinputelement-webkitdirectory).
162
-
163
- For edge cases, like POST request to URL with query string or to pass HTTP auth credentials, object can be passed to `form.submit()` as first parameter:
164
-
165
- ``` javascript
166
- form.submit({
167
- host: 'example.com',
168
- path: '/probably.php?extra=params',
169
- auth: 'username:password'
170
- }, function(err, res) {
171
- console.log(res.statusCode);
172
- });
173
- ```
174
-
175
- In case you need to also send custom HTTP headers with the POST request, you can use the `headers` key in first parameter of `form.submit()`:
176
-
177
- ``` javascript
178
- form.submit({
179
- host: 'example.com',
180
- path: '/surelynot.php',
181
- headers: {'x-test-header': 'test-header-value'}
182
- }, function(err, res) {
183
- console.log(res.statusCode);
184
- });
185
- ```
186
-
187
- ### Methods
188
-
189
- - [_Void_ append( **String** _field_, **Mixed** _value_ [, **Mixed** _options_] )](https://github.com/form-data/form-data#void-append-string-field-mixed-value--mixed-options-).
190
- - [_Headers_ getHeaders( [**Headers** _userHeaders_] )](https://github.com/form-data/form-data#array-getheaders-array-userheaders-)
191
- - [_String_ getBoundary()](https://github.com/form-data/form-data#string-getboundary)
192
- - [_Void_ setBoundary()](https://github.com/form-data/form-data#void-setboundary)
193
- - [_Buffer_ getBuffer()](https://github.com/form-data/form-data#buffer-getbuffer)
194
- - [_Integer_ getLengthSync()](https://github.com/form-data/form-data#integer-getlengthsync)
195
- - [_Integer_ getLength( **function** _callback_ )](https://github.com/form-data/form-data#integer-getlength-function-callback-)
196
- - [_Boolean_ hasKnownLength()](https://github.com/form-data/form-data#boolean-hasknownlength)
197
- - [_Request_ submit( _params_, **function** _callback_ )](https://github.com/form-data/form-data#request-submit-params-function-callback-)
198
- - [_String_ toString()](https://github.com/form-data/form-data#string-tostring)
199
-
200
- #### _Void_ append( **String** _field_, **Mixed** _value_ [, **Mixed** _options_] )
201
- Append data to the form. You can submit about any format (string, integer, boolean, buffer, etc.). However, Arrays are not supported and need to be turned into strings by the user.
202
- ```javascript
203
- var form = new FormData();
204
- form.append( 'my_string', 'my value' );
205
- form.append( 'my_integer', 1 );
206
- form.append( 'my_boolean', true );
207
- form.append( 'my_buffer', new Buffer(10) );
208
- form.append( 'my_array_as_json', JSON.stringify( ['bird','cute'] ) )
209
- ```
210
-
211
- You may provide a string for options, or an object.
212
- ```javascript
213
- // Set filename by providing a string for options
214
- form.append( 'my_file', fs.createReadStream('/foo/bar.jpg'), 'bar.jpg' );
215
-
216
- // provide an object.
217
- form.append( 'my_file', fs.createReadStream('/foo/bar.jpg'), {filename: 'bar.jpg', contentType: 'image/jpeg', knownLength: 19806} );
218
- ```
219
-
220
- #### _Headers_ getHeaders( [**Headers** _userHeaders_] )
221
- This method adds the correct `content-type` header to the provided array of `userHeaders`.
222
-
223
- #### _String_ getBoundary()
224
- Return the boundary of the formData. By default, the boundary consists of 26 `-` followed by 24 numbers
225
- for example:
226
- ```javascript
227
- --------------------------515890814546601021194782
228
- ```
229
-
230
- #### _Void_ setBoundary(String _boundary_)
231
- Set the boundary string, overriding the default behavior described above.
232
-
233
- _Note: The boundary must be unique and may not appear in the data._
234
-
235
- #### _Buffer_ getBuffer()
236
- Return the full formdata request package, as a Buffer. You can insert this Buffer in e.g. Axios to send multipart data.
237
- ```javascript
238
- var form = new FormData();
239
- form.append( 'my_buffer', Buffer.from([0x4a,0x42,0x20,0x52,0x6f,0x63,0x6b,0x73]) );
240
- form.append( 'my_file', fs.readFileSync('/foo/bar.jpg') );
241
-
242
- axios.post( 'https://example.com/path/to/api',
243
- form.getBuffer(),
244
- form.getHeaders()
245
- )
246
- ```
247
- **Note:** Because the output is of type Buffer, you can only append types that are accepted by Buffer: *string, Buffer, ArrayBuffer, Array, or Array-like Object*. A ReadStream for example will result in an error.
248
-
249
- #### _Integer_ getLengthSync()
250
- Same as `getLength` but synchronous.
251
-
252
- _Note: getLengthSync __doesn't__ calculate streams length._
253
-
254
- #### _Integer_ getLength( **function** _callback_ )
255
- Returns the `Content-Length` async. The callback is used to handle errors and continue once the length has been calculated
256
- ```javascript
257
- this.getLength(function(err, length) {
258
- if (err) {
259
- this._error(err);
260
- return;
261
- }
262
-
263
- // add content length
264
- request.setHeader('Content-Length', length);
265
-
266
- ...
267
- }.bind(this));
268
- ```
269
-
270
- #### _Boolean_ hasKnownLength()
271
- Checks if the length of added values is known.
272
-
273
- #### _Request_ submit( _params_, **function** _callback_ )
274
- Submit the form to a web application.
275
- ```javascript
276
- var form = new FormData();
277
- form.append( 'my_string', 'Hello World' );
278
-
279
- form.submit( 'http://example.com/', function(err, res) {
280
- // res – response object (http.IncomingMessage) //
281
- res.resume();
282
- } );
283
- ```
284
-
285
- #### _String_ toString()
286
- Returns the form data as a string. Don't use this if you are sending files or buffers, use `getBuffer()` instead.
287
-
288
- ### Integration with other libraries
289
-
290
- #### Request
291
-
292
- Form submission using [request](https://github.com/request/request):
293
-
294
- ```javascript
295
- var formData = {
296
- my_field: 'my_value',
297
- my_file: fs.createReadStream(__dirname + '/unicycle.jpg'),
298
- };
299
-
300
- request.post({url:'http://service.com/upload', formData: formData}, function(err, httpResponse, body) {
301
- if (err) {
302
- return console.error('upload failed:', err);
303
- }
304
- console.log('Upload successful! Server responded with:', body);
305
- });
306
- ```
307
-
308
- For more details see [request readme](https://github.com/request/request#multipartform-data-multipart-form-uploads).
309
-
310
- #### node-fetch
311
-
312
- You can also submit a form using [node-fetch](https://github.com/bitinn/node-fetch):
313
-
314
- ```javascript
315
- var form = new FormData();
316
-
317
- form.append('a', 1);
318
-
319
- fetch('http://example.com', { method: 'POST', body: form })
320
- .then(function(res) {
321
- return res.json();
322
- }).then(function(json) {
323
- console.log(json);
324
- });
325
- ```
326
-
327
- #### axios
328
-
329
- In Node.js you can post a file using [axios](https://github.com/axios/axios):
330
- ```javascript
331
- const form = new FormData();
332
- const stream = fs.createReadStream(PATH_TO_FILE);
333
-
334
- form.append('image', stream);
335
-
336
- // In Node.js environment you need to set boundary in the header field 'Content-Type' by calling method `getHeaders`
337
- const formHeaders = form.getHeaders();
338
-
339
- axios.post('http://example.com', form, {
340
- headers: {
341
- ...formHeaders,
342
- },
343
- })
344
- .then(response => response)
345
- .catch(error => error)
346
- ```
347
-
348
- ## Notes
349
-
350
- - ```getLengthSync()``` method DOESN'T calculate length for streams, use ```knownLength``` options as workaround.
351
- - ```getLength(cb)``` will send an error as first parameter of callback if stream length cannot be calculated (e.g. send in custom streams w/o using ```knownLength```).
352
- - ```submit``` will not add `content-length` if form length is unknown or not calculable.
353
- - Starting version `2.x` FormData has dropped support for `node@0.10.x`.
354
- - Starting version `3.x` FormData has dropped support for `node@4.x`.
355
-
356
- ## License
357
-
358
- Form-Data is released under the [MIT](License) license.