@gemeentenijmegen/webapp 1.1.9 → 1.1.11

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 (646) hide show
  1. package/.jsii +12 -12
  2. package/assets/webapp/auth/auth.lambda/index.js +47 -66
  3. package/assets/webapp/login/login.lambda/index.js +2 -21
  4. package/assets/webapp/logout/logout.lambda/index.js +2 -2
  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/dist-cjs/endpoint/ruleset.js +1 -1
  10. package/node_modules/@aws-sdk/client-dynamodb/dist-cjs/index.js +98 -22
  11. package/node_modules/@aws-sdk/client-dynamodb/dist-es/endpoint/ruleset.js +1 -1
  12. package/node_modules/@aws-sdk/client-dynamodb/dist-es/models/index.js +1 -0
  13. package/node_modules/@aws-sdk/client-dynamodb/dist-es/models/models_0.js +44 -12
  14. package/node_modules/@aws-sdk/client-dynamodb/dist-es/models/models_1.js +1 -0
  15. package/node_modules/@aws-sdk/client-dynamodb/dist-es/protocols/Aws_json1_0.js +18 -4
  16. package/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/BatchExecuteStatementCommand.d.ts +8 -3
  17. package/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/BatchGetItemCommand.d.ts +14 -7
  18. package/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/BatchWriteItemCommand.d.ts +18 -7
  19. package/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/CreateBackupCommand.d.ts +14 -11
  20. package/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/CreateGlobalTableCommand.d.ts +16 -13
  21. package/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/CreateTableCommand.d.ts +26 -16
  22. package/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/DeleteBackupCommand.d.ts +12 -10
  23. package/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/DeleteItemCommand.d.ts +16 -8
  24. package/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/DeleteResourcePolicyCommand.d.ts +18 -13
  25. package/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/DeleteTableCommand.d.ts +26 -20
  26. package/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/DescribeContinuousBackupsCommand.d.ts +2 -1
  27. package/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/DescribeContributorInsightsCommand.d.ts +1 -0
  28. package/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/DescribeExportCommand.d.ts +12 -10
  29. package/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/DescribeGlobalTableCommand.d.ts +2 -2
  30. package/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/DescribeGlobalTableSettingsCommand.d.ts +1 -1
  31. package/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/DescribeImportCommand.d.ts +1 -3
  32. package/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/DescribeTableCommand.d.ts +10 -8
  33. package/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/DescribeTableReplicaAutoScalingCommand.d.ts +2 -6
  34. package/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/DisableKinesisStreamingDestinationCommand.d.ts +16 -12
  35. package/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/EnableKinesisStreamingDestinationCommand.d.ts +16 -12
  36. package/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/ExecuteStatementCommand.d.ts +14 -7
  37. package/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/ExecuteTransactionCommand.d.ts +42 -42
  38. package/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/ExportTableToPointInTimeCommand.d.ts +14 -11
  39. package/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/GetItemCommand.d.ts +14 -7
  40. package/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/GetResourcePolicyCommand.d.ts +2 -1
  41. package/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/ImportTableCommand.d.ts +19 -17
  42. package/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/ListContributorInsightsCommand.d.ts +1 -0
  43. package/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/ListExportsCommand.d.ts +12 -10
  44. package/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/ListImportsCommand.d.ts +12 -10
  45. package/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/PutItemCommand.d.ts +16 -8
  46. package/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/PutResourcePolicyCommand.d.ts +18 -13
  47. package/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/QueryCommand.d.ts +14 -7
  48. package/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/RestoreTableFromBackupCommand.d.ts +22 -14
  49. package/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/RestoreTableToPointInTimeCommand.d.ts +24 -15
  50. package/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/ScanCommand.d.ts +14 -7
  51. package/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/TagResourceCommand.d.ts +16 -12
  52. package/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/TransactGetItemsCommand.d.ts +21 -15
  53. package/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/TransactWriteItemsCommand.d.ts +44 -43
  54. package/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/UntagResourceCommand.d.ts +16 -12
  55. package/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/UpdateContinuousBackupsCommand.d.ts +3 -2
  56. package/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/UpdateContributorInsightsCommand.d.ts +2 -0
  57. package/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/UpdateGlobalTableCommand.d.ts +6 -6
  58. package/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/UpdateGlobalTableSettingsCommand.d.ts +17 -13
  59. package/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/UpdateItemCommand.d.ts +16 -8
  60. package/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/UpdateKinesisStreamingDestinationCommand.d.ts +16 -12
  61. package/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/UpdateTableCommand.d.ts +36 -20
  62. package/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/UpdateTableReplicaAutoScalingCommand.d.ts +18 -18
  63. package/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/UpdateTimeToLiveCommand.d.ts +16 -12
  64. package/node_modules/@aws-sdk/client-dynamodb/dist-types/endpoint/EndpointParameters.d.ts +1 -1
  65. package/node_modules/@aws-sdk/client-dynamodb/dist-types/models/index.d.ts +1 -0
  66. package/node_modules/@aws-sdk/client-dynamodb/dist-types/models/models_0.d.ts +391 -191
  67. package/node_modules/@aws-sdk/client-dynamodb/dist-types/models/models_1.d.ts +73 -0
  68. package/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/commands/TransactWriteItemsCommand.d.ts +2 -4
  69. package/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +4 -1
  70. package/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/models/index.d.ts +1 -0
  71. package/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/models/models_0.d.ts +61 -16
  72. package/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/models/models_1.d.ts +11 -0
  73. package/node_modules/@aws-sdk/client-dynamodb/package.json +35 -35
  74. package/node_modules/@aws-sdk/client-s3/README.md +48 -0
  75. package/node_modules/@aws-sdk/client-s3/dist-cjs/index.js +739 -139
  76. package/node_modules/@aws-sdk/client-s3/dist-es/S3.js +12 -0
  77. package/node_modules/@aws-sdk/client-s3/dist-es/commands/CreateBucketMetadataConfigurationCommand.js +31 -0
  78. package/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketMetadataConfigurationCommand.js +26 -0
  79. package/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketMetadataConfigurationCommand.js +28 -0
  80. package/node_modules/@aws-sdk/client-s3/dist-es/commands/ListPartsCommand.js +1 -1
  81. package/node_modules/@aws-sdk/client-s3/dist-es/commands/RenameObjectCommand.js +28 -0
  82. package/node_modules/@aws-sdk/client-s3/dist-es/commands/UpdateBucketMetadataInventoryTableConfigurationCommand.js +31 -0
  83. package/node_modules/@aws-sdk/client-s3/dist-es/commands/UpdateBucketMetadataJournalTableConfigurationCommand.js +31 -0
  84. package/node_modules/@aws-sdk/client-s3/dist-es/commands/index.js +6 -0
  85. package/node_modules/@aws-sdk/client-s3/dist-es/models/models_0.js +18 -23
  86. package/node_modules/@aws-sdk/client-s3/dist-es/models/models_1.js +36 -0
  87. package/node_modules/@aws-sdk/client-s3/dist-es/protocols/Aws_restXml.js +422 -20
  88. package/node_modules/@aws-sdk/client-s3/dist-types/S3.d.ts +42 -0
  89. package/node_modules/@aws-sdk/client-s3/dist-types/S3Client.d.ts +8 -2
  90. package/node_modules/@aws-sdk/client-s3/dist-types/commands/AbortMultipartUploadCommand.d.ts +17 -22
  91. package/node_modules/@aws-sdk/client-s3/dist-types/commands/CompleteMultipartUploadCommand.d.ts +47 -58
  92. package/node_modules/@aws-sdk/client-s3/dist-types/commands/CopyObjectCommand.d.ts +107 -110
  93. package/node_modules/@aws-sdk/client-s3/dist-types/commands/CreateBucketCommand.d.ts +93 -83
  94. package/node_modules/@aws-sdk/client-s3/dist-types/commands/CreateBucketMetadataConfigurationCommand.d.ts +182 -0
  95. package/node_modules/@aws-sdk/client-s3/dist-types/commands/CreateBucketMetadataTableConfigurationCommand.d.ts +25 -12
  96. package/node_modules/@aws-sdk/client-s3/dist-types/commands/CreateMultipartUploadCommand.d.ts +99 -116
  97. package/node_modules/@aws-sdk/client-s3/dist-types/commands/CreateSessionCommand.d.ts +47 -52
  98. package/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketAnalyticsConfigurationCommand.d.ts +7 -9
  99. package/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketCommand.d.ts +10 -12
  100. package/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketCorsCommand.d.ts +4 -5
  101. package/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketEncryptionCommand.d.ts +16 -18
  102. package/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketIntelligentTieringConfigurationCommand.d.ts +1 -0
  103. package/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketInventoryConfigurationCommand.d.ts +4 -6
  104. package/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketLifecycleCommand.d.ts +23 -28
  105. package/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketMetadataConfigurationCommand.d.ts +114 -0
  106. package/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketMetadataTableConfigurationCommand.d.ts +26 -8
  107. package/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketMetricsConfigurationCommand.d.ts +9 -12
  108. package/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketOwnershipControlsCommand.d.ts +5 -6
  109. package/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketPolicyCommand.d.ts +20 -23
  110. package/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketReplicationCommand.d.ts +5 -7
  111. package/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketTaggingCommand.d.ts +2 -3
  112. package/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketWebsiteCommand.d.ts +9 -10
  113. package/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteObjectCommand.d.ts +37 -23
  114. package/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteObjectTaggingCommand.d.ts +7 -7
  115. package/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteObjectsCommand.d.ts +37 -44
  116. package/node_modules/@aws-sdk/client-s3/dist-types/commands/DeletePublicAccessBlockCommand.d.ts +6 -6
  117. package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketAccelerateConfigurationCommand.d.ts +14 -17
  118. package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketAclCommand.d.ts +17 -12
  119. package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketAnalyticsConfigurationCommand.d.ts +8 -11
  120. package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketCorsCommand.d.ts +4 -6
  121. package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketEncryptionCommand.d.ts +17 -20
  122. package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketIntelligentTieringConfigurationCommand.d.ts +1 -0
  123. package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketInventoryConfigurationCommand.d.ts +6 -8
  124. package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketLifecycleConfigurationCommand.d.ts +28 -37
  125. package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketLocationCommand.d.ts +4 -5
  126. package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketLoggingCommand.d.ts +10 -3
  127. package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketMetadataConfigurationCommand.d.ts +146 -0
  128. package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketMetadataTableConfigurationCommand.d.ts +25 -8
  129. package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketMetricsConfigurationCommand.d.ts +10 -11
  130. package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketNotificationConfigurationCommand.d.ts +7 -8
  131. package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketOwnershipControlsCommand.d.ts +19 -6
  132. package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketPolicyCommand.d.ts +24 -29
  133. package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketPolicyStatusCommand.d.ts +5 -6
  134. package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketReplicationCommand.d.ts +12 -13
  135. package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketRequestPaymentCommand.d.ts +2 -3
  136. package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketTaggingCommand.d.ts +2 -3
  137. package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketVersioningCommand.d.ts +3 -3
  138. package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketWebsiteCommand.d.ts +6 -7
  139. package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectAclCommand.d.ts +9 -11
  140. package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectAttributesCommand.d.ts +56 -71
  141. package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectCommand.d.ts +68 -83
  142. package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectLegalHoldCommand.d.ts +1 -2
  143. package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectLockConfigurationCommand.d.ts +3 -3
  144. package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectRetentionCommand.d.ts +1 -2
  145. package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectTaggingCommand.d.ts +8 -10
  146. package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectTorrentCommand.d.ts +4 -5
  147. package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetPublicAccessBlockCommand.d.ts +10 -12
  148. package/node_modules/@aws-sdk/client-s3/dist-types/commands/HeadBucketCommand.d.ts +34 -35
  149. package/node_modules/@aws-sdk/client-s3/dist-types/commands/HeadObjectCommand.d.ts +53 -64
  150. package/node_modules/@aws-sdk/client-s3/dist-types/commands/ListBucketAnalyticsConfigurationsCommand.d.ts +14 -17
  151. package/node_modules/@aws-sdk/client-s3/dist-types/commands/ListBucketIntelligentTieringConfigurationsCommand.d.ts +1 -0
  152. package/node_modules/@aws-sdk/client-s3/dist-types/commands/ListBucketInventoryConfigurationsCommand.d.ts +12 -15
  153. package/node_modules/@aws-sdk/client-s3/dist-types/commands/ListBucketMetricsConfigurationsCommand.d.ts +15 -18
  154. package/node_modules/@aws-sdk/client-s3/dist-types/commands/ListBucketsCommand.d.ts +19 -10
  155. package/node_modules/@aws-sdk/client-s3/dist-types/commands/ListDirectoryBucketsCommand.d.ts +10 -9
  156. package/node_modules/@aws-sdk/client-s3/dist-types/commands/ListMultipartUploadsCommand.d.ts +49 -50
  157. package/node_modules/@aws-sdk/client-s3/dist-types/commands/ListObjectVersionsCommand.d.ts +15 -10
  158. package/node_modules/@aws-sdk/client-s3/dist-types/commands/ListObjectsCommand.d.ts +17 -9
  159. package/node_modules/@aws-sdk/client-s3/dist-types/commands/ListObjectsV2Command.d.ts +29 -32
  160. package/node_modules/@aws-sdk/client-s3/dist-types/commands/ListPartsCommand.d.ts +30 -26
  161. package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketAccelerateConfigurationCommand.d.ts +14 -18
  162. package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketAclCommand.d.ts +60 -60
  163. package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketAnalyticsConfigurationCommand.d.ts +23 -25
  164. package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketCorsCommand.d.ts +23 -27
  165. package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketEncryptionCommand.d.ts +41 -49
  166. package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketIntelligentTieringConfigurationCommand.d.ts +12 -12
  167. package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketInventoryConfigurationCommand.d.ts +33 -37
  168. package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketLifecycleConfigurationCommand.d.ts +51 -60
  169. package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketLoggingCommand.d.ts +35 -31
  170. package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketMetricsConfigurationCommand.d.ts +12 -14
  171. package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketNotificationConfigurationCommand.d.ts +29 -35
  172. package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketOwnershipControlsCommand.d.ts +4 -6
  173. package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketPolicyCommand.d.ts +24 -29
  174. package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketReplicationCommand.d.ts +32 -39
  175. package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketRequestPaymentCommand.d.ts +4 -5
  176. package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketTaggingCommand.d.ts +21 -27
  177. package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketVersioningCommand.d.ts +20 -23
  178. package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketWebsiteCommand.d.ts +19 -18
  179. package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutObjectAclCommand.d.ts +53 -58
  180. package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutObjectCommand.d.ts +68 -70
  181. package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutObjectLegalHoldCommand.d.ts +1 -3
  182. package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutObjectLockConfigurationCommand.d.ts +10 -11
  183. package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutObjectRetentionCommand.d.ts +4 -4
  184. package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutObjectTaggingCommand.d.ts +18 -24
  185. package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutPublicAccessBlockCommand.d.ts +10 -12
  186. package/node_modules/@aws-sdk/client-s3/dist-types/commands/RenameObjectCommand.d.ts +138 -0
  187. package/node_modules/@aws-sdk/client-s3/dist-types/commands/RestoreObjectCommand.d.ts +78 -87
  188. package/node_modules/@aws-sdk/client-s3/dist-types/commands/SelectObjectContentCommand.d.ts +50 -59
  189. package/node_modules/@aws-sdk/client-s3/dist-types/commands/UpdateBucketMetadataInventoryTableConfigurationCommand.d.ts +161 -0
  190. package/node_modules/@aws-sdk/client-s3/dist-types/commands/UpdateBucketMetadataJournalTableConfigurationCommand.d.ts +113 -0
  191. package/node_modules/@aws-sdk/client-s3/dist-types/commands/UploadPartCommand.d.ts +65 -75
  192. package/node_modules/@aws-sdk/client-s3/dist-types/commands/UploadPartCopyCommand.d.ts +81 -97
  193. package/node_modules/@aws-sdk/client-s3/dist-types/commands/WriteGetObjectResponseCommand.d.ts +31 -35
  194. package/node_modules/@aws-sdk/client-s3/dist-types/commands/index.d.ts +6 -0
  195. package/node_modules/@aws-sdk/client-s3/dist-types/endpoint/EndpointParameters.d.ts +1 -1
  196. package/node_modules/@aws-sdk/client-s3/dist-types/models/models_0.d.ts +2789 -3602
  197. package/node_modules/@aws-sdk/client-s3/dist-types/models/models_1.d.ts +2226 -711
  198. package/node_modules/@aws-sdk/client-s3/dist-types/protocols/Aws_restXml.d.ts +54 -0
  199. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/S3.d.ts +126 -0
  200. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/S3Client.d.ts +36 -0
  201. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/CreateBucketMetadataConfigurationCommand.d.ts +47 -0
  202. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketMetadataConfigurationCommand.d.ts +47 -0
  203. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketMetadataConfigurationCommand.d.ts +51 -0
  204. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/ListObjectVersionsCommand.d.ts +1 -1
  205. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/ListObjectsCommand.d.ts +1 -1
  206. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/ListObjectsV2Command.d.ts +1 -1
  207. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/ListPartsCommand.d.ts +1 -1
  208. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketAccelerateConfigurationCommand.d.ts +1 -1
  209. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketAclCommand.d.ts +1 -1
  210. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketAnalyticsConfigurationCommand.d.ts +1 -1
  211. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/RenameObjectCommand.d.ts +47 -0
  212. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/UpdateBucketMetadataInventoryTableConfigurationCommand.d.ts +47 -0
  213. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/UpdateBucketMetadataJournalTableConfigurationCommand.d.ts +47 -0
  214. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/index.d.ts +6 -0
  215. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +4 -1
  216. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/models/models_0.d.ts +107 -209
  217. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/models/models_1.d.ts +261 -0
  218. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/protocols/Aws_restXml.d.ts +72 -0
  219. package/node_modules/@aws-sdk/client-s3/package.json +53 -51
  220. package/node_modules/@aws-sdk/client-secrets-manager/dist-types/endpoint/EndpointParameters.d.ts +1 -1
  221. package/node_modules/@aws-sdk/client-secrets-manager/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +4 -1
  222. package/node_modules/@aws-sdk/client-secrets-manager/package.json +33 -33
  223. package/node_modules/@aws-sdk/client-ssm/README.md +3 -2
  224. package/node_modules/@aws-sdk/client-ssm/dist-cjs/index.js +15 -7
  225. package/node_modules/@aws-sdk/client-ssm/dist-es/commands/DescribeMaintenanceWindowsCommand.js +1 -1
  226. package/node_modules/@aws-sdk/client-ssm/dist-es/models/models_0.js +4 -6
  227. package/node_modules/@aws-sdk/client-ssm/dist-es/models/models_1.js +8 -1
  228. package/node_modules/@aws-sdk/client-ssm/dist-es/protocols/Aws_json1_1.js +1 -0
  229. package/node_modules/@aws-sdk/client-ssm/dist-types/SSM.d.ts +3 -2
  230. package/node_modules/@aws-sdk/client-ssm/dist-types/SSMClient.d.ts +3 -2
  231. package/node_modules/@aws-sdk/client-ssm/dist-types/commands/CreateDocumentCommand.d.ts +3 -0
  232. package/node_modules/@aws-sdk/client-ssm/dist-types/commands/DeleteDocumentCommand.d.ts +3 -0
  233. package/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeMaintenanceWindowsCommand.d.ts +2 -1
  234. package/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeParametersCommand.d.ts +3 -0
  235. package/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeSessionsCommand.d.ts +2 -1
  236. package/node_modules/@aws-sdk/client-ssm/dist-types/commands/GetAccessTokenCommand.d.ts +2 -1
  237. package/node_modules/@aws-sdk/client-ssm/dist-types/commands/GetParameterCommand.d.ts +3 -0
  238. package/node_modules/@aws-sdk/client-ssm/dist-types/commands/GetParameterHistoryCommand.d.ts +3 -0
  239. package/node_modules/@aws-sdk/client-ssm/dist-types/commands/GetParametersByPathCommand.d.ts +3 -0
  240. package/node_modules/@aws-sdk/client-ssm/dist-types/commands/GetParametersCommand.d.ts +3 -0
  241. package/node_modules/@aws-sdk/client-ssm/dist-types/commands/LabelParameterVersionCommand.d.ts +5 -0
  242. package/node_modules/@aws-sdk/client-ssm/dist-types/commands/PutComplianceItemsCommand.d.ts +7 -0
  243. package/node_modules/@aws-sdk/client-ssm/dist-types/commands/RegisterPatchBaselineForPatchGroupCommand.d.ts +2 -1
  244. package/node_modules/@aws-sdk/client-ssm/dist-types/commands/StartAccessRequestCommand.d.ts +4 -2
  245. package/node_modules/@aws-sdk/client-ssm/dist-types/commands/UnlabelParameterVersionCommand.d.ts +3 -0
  246. package/node_modules/@aws-sdk/client-ssm/dist-types/commands/UpdateDocumentMetadataCommand.d.ts +3 -0
  247. package/node_modules/@aws-sdk/client-ssm/dist-types/endpoint/EndpointParameters.d.ts +1 -1
  248. package/node_modules/@aws-sdk/client-ssm/dist-types/index.d.ts +3 -2
  249. package/node_modules/@aws-sdk/client-ssm/dist-types/models/models_0.d.ts +39 -28
  250. package/node_modules/@aws-sdk/client-ssm/dist-types/models/models_1.d.ts +95 -21
  251. package/node_modules/@aws-sdk/client-ssm/dist-types/models/models_2.d.ts +17 -1
  252. package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DescribeMaintenanceWindowsCommand.d.ts +2 -4
  253. package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/RegisterPatchBaselineForPatchGroupCommand.d.ts +2 -4
  254. package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +4 -1
  255. package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/models/models_0.d.ts +5 -7
  256. package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/models/models_1.d.ts +11 -4
  257. package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/models/models_2.d.ts +4 -0
  258. package/node_modules/@aws-sdk/client-ssm/package.json +34 -34
  259. package/node_modules/@aws-sdk/client-sso/dist-types/endpoint/EndpointParameters.d.ts +1 -1
  260. package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +4 -1
  261. package/node_modules/@aws-sdk/client-sso/package.json +32 -32
  262. package/node_modules/@aws-sdk/core/dist-cjs/submodules/client/index.js +12 -0
  263. package/node_modules/@aws-sdk/core/dist-cjs/submodules/protocols/index.js +81 -34
  264. package/node_modules/@aws-sdk/core/dist-es/submodules/client/index.js +1 -0
  265. package/node_modules/@aws-sdk/core/dist-es/submodules/client/setTokenFeature.js +7 -0
  266. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/AwsJson1_0Protocol.js +5 -1
  267. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/AwsJson1_1Protocol.js +5 -1
  268. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/AwsJsonRpcProtocol.js +4 -3
  269. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/AwsRestJsonProtocol.js +5 -2
  270. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/JsonShapeSerializer.js +11 -7
  271. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/jsonReplacer.js +1 -1
  272. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/query/AwsQueryProtocol.js +3 -0
  273. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/query/QueryShapeSerializer.js +6 -2
  274. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/xml/AwsRestXmlProtocol.js +6 -3
  275. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/xml/XmlShapeDeserializer.js +7 -10
  276. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/xml/XmlShapeSerializer.js +11 -7
  277. package/node_modules/@aws-sdk/core/dist-types/submodules/client/index.d.ts +1 -0
  278. package/node_modules/@aws-sdk/core/dist-types/submodules/client/setTokenFeature.d.ts +7 -0
  279. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/AwsJson1_0Protocol.d.ts +6 -1
  280. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/AwsJson1_1Protocol.d.ts +6 -1
  281. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/AwsJsonRpcProtocol.d.ts +3 -1
  282. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/AwsRestJsonProtocol.d.ts +4 -0
  283. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/query/AwsQueryProtocol.d.ts +4 -0
  284. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/xml/AwsRestXmlProtocol.d.ts +4 -0
  285. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/xml/XmlShapeDeserializer.d.ts +2 -2
  286. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/index.d.ts +1 -0
  287. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/setTokenFeature.d.ts +6 -0
  288. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/AwsJson1_0Protocol.d.ts +8 -1
  289. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/AwsJson1_1Protocol.d.ts +8 -1
  290. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/AwsJsonRpcProtocol.d.ts +8 -1
  291. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/AwsRestJsonProtocol.d.ts +1 -0
  292. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/query/AwsQueryProtocol.d.ts +1 -0
  293. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/xml/AwsRestXmlProtocol.d.ts +1 -0
  294. package/node_modules/@aws-sdk/core/package.json +13 -13
  295. package/node_modules/@aws-sdk/credential-provider-env/package.json +5 -5
  296. package/node_modules/@aws-sdk/credential-provider-http/package.json +10 -10
  297. package/node_modules/@aws-sdk/credential-provider-ini/package.json +13 -13
  298. package/node_modules/@aws-sdk/credential-provider-node/package.json +12 -12
  299. package/node_modules/@aws-sdk/credential-provider-process/package.json +6 -6
  300. package/node_modules/@aws-sdk/credential-provider-sso/package.json +8 -8
  301. package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +6 -6
  302. package/node_modules/@aws-sdk/middleware-bucket-endpoint/package.json +5 -5
  303. package/node_modules/@aws-sdk/middleware-endpoint-discovery/package.json +5 -5
  304. package/node_modules/@aws-sdk/middleware-expect-continue/package.json +4 -4
  305. package/node_modules/@aws-sdk/middleware-flexible-checksums/package.json +9 -9
  306. package/node_modules/@aws-sdk/middleware-host-header/package.json +4 -4
  307. package/node_modules/@aws-sdk/middleware-location-constraint/package.json +3 -3
  308. package/node_modules/@aws-sdk/middleware-logger/package.json +3 -3
  309. package/node_modules/@aws-sdk/middleware-recursion-detection/package.json +4 -4
  310. package/node_modules/@aws-sdk/middleware-sdk-s3/package.json +11 -11
  311. package/node_modules/@aws-sdk/middleware-ssec/package.json +3 -3
  312. package/node_modules/@aws-sdk/middleware-user-agent/package.json +7 -7
  313. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/endpoint/EndpointParameters.d.ts +1 -1
  314. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/endpoint/EndpointParameters.d.ts +1 -1
  315. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/endpoint/EndpointParameters.d.ts +4 -1
  316. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/endpoint/EndpointParameters.d.ts +4 -1
  317. package/node_modules/@aws-sdk/nested-clients/package.json +32 -32
  318. package/node_modules/@aws-sdk/region-config-resolver/package.json +5 -5
  319. package/node_modules/@aws-sdk/s3-request-presigner/package.json +10 -10
  320. package/node_modules/@aws-sdk/signature-v4-multi-region/package.json +6 -6
  321. package/node_modules/@aws-sdk/token-providers/dist-cjs/index.js +6 -3
  322. package/node_modules/@aws-sdk/token-providers/dist-es/fromEnvSigningName.js +5 -2
  323. package/node_modules/@aws-sdk/token-providers/package.json +10 -8
  324. package/node_modules/@aws-sdk/types/dist-types/feature-ids.d.ts +7 -1
  325. package/node_modules/@aws-sdk/types/dist-types/identity/TokenIdentity.d.ts +10 -0
  326. package/node_modules/@aws-sdk/types/dist-types/ts3.4/feature-ids.d.ts +5 -1
  327. package/node_modules/@aws-sdk/types/dist-types/ts3.4/identity/TokenIdentity.d.ts +5 -0
  328. package/node_modules/@aws-sdk/types/package.json +2 -2
  329. package/node_modules/@aws-sdk/util-endpoints/dist-cjs/index.js +30 -0
  330. package/node_modules/@aws-sdk/util-endpoints/dist-es/index.js +1 -0
  331. package/node_modules/@aws-sdk/util-endpoints/dist-es/resolveDefaultAwsRegionalEndpointsConfig.js +21 -0
  332. package/node_modules/@aws-sdk/util-endpoints/dist-types/index.d.ts +1 -0
  333. package/node_modules/@aws-sdk/util-endpoints/dist-types/resolveDefaultAwsRegionalEndpointsConfig.d.ts +56 -0
  334. package/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/index.d.ts +1 -0
  335. package/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/resolveDefaultAwsRegionalEndpointsConfig.d.ts +35 -0
  336. package/node_modules/@aws-sdk/util-endpoints/package.json +6 -4
  337. package/node_modules/@aws-sdk/util-format-url/package.json +4 -4
  338. package/node_modules/@aws-sdk/util-user-agent-browser/package.json +3 -3
  339. package/node_modules/@aws-sdk/util-user-agent-node/package.json +5 -5
  340. package/node_modules/@aws-sdk/xml-builder/package.json +2 -2
  341. package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/.jsii +83 -5
  342. package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/README.adoc +213 -0
  343. package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/README.md +1 -126
  344. package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/lib/index.js +1 -1
  345. package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core/.jsii +110 -6
  346. package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core/lib/bedrock-inference-helper.js +2 -2
  347. package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core/lib/cloudfront-distribution-defaults.d.ts +1 -1
  348. package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core/lib/cloudfront-distribution-defaults.js +1 -1
  349. package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core/lib/cloudfront-distribution-helper.d.ts +1 -1
  350. package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core/lib/cloudfront-distribution-helper.js +1 -1
  351. package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core/lib/dynamodb-table-defaults.d.ts +2 -19
  352. package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core/lib/dynamodb-table-defaults.js +18 -7
  353. package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core/lib/dynamodb-table-helper.d.ts +2 -0
  354. package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core/lib/dynamodb-table-helper.js +5 -1
  355. package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core/lib/kendra-helper.js +4 -2
  356. package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core/lib/waf-helper.js +5 -2
  357. package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core/package.json +3 -3
  358. package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core/test/TwoLogGroups.json +365 -0
  359. package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core/test/bedrock-inference-helper.test.js +2 -6
  360. package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core/test/dynamo-table.test.js +181 -11
  361. package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core/test/lambda/index.js +1 -1
  362. package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core/test/pipes-helper.test.js +2 -2
  363. package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core/test/step-function-helper.test.js +1 -1
  364. package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core/test/test-helper.d.ts +6 -0
  365. package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core/test/test-helper.js +84 -1
  366. package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core/test/waf-helper.test.js +35 -1
  367. package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/package.json +8 -7
  368. package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/test/integ.lamddb-add-secondary-index.js +2 -1
  369. package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/test/integ.lamddb-deployFunctionWithExistingVpc.js +2 -1
  370. package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/test/integ.lamddb-deployFunctionWithExistingVpc.js.snapshot/cdk.out +1 -1
  371. package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/test/integ.lamddb-deployFunctionWithExistingVpc.js.snapshot/integ.json +2 -2
  372. package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/test/integ.lamddb-deployFunctionWithExistingVpc.js.snapshot/lamddb-deployFunctionWithExistingVpc.assets.json +6 -6
  373. package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/test/integ.lamddb-deployFunctionWithExistingVpc.js.snapshot/lamddb-deployFunctionWithExistingVpc.template.json +1 -136
  374. package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/test/integ.lamddb-deployFunctionWithExistingVpc.js.snapshot/lamddbdeployFunctionWithExistingVpcIntegDefaultTestDeployAssertEE08E38E.assets.json +2 -2
  375. package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/test/integ.lamddb-deployFunctionWithExistingVpc.js.snapshot/manifest.json +475 -10
  376. package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/test/integ.lamddb-deployFunctionWithExistingVpc.js.snapshot/tree.json +1 -1
  377. package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/test/integ.lamddb-deployFunctionWithVpc.js +2 -1
  378. package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/test/integ.lamddb-deployFunctionWithVpc.js.snapshot/cdk.out +1 -1
  379. package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/test/integ.lamddb-deployFunctionWithVpc.js.snapshot/integ.json +2 -2
  380. package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/test/integ.lamddb-deployFunctionWithVpc.js.snapshot/lamddb-deployFunctionWithVpc.assets.json +6 -6
  381. package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/test/integ.lamddb-deployFunctionWithVpc.js.snapshot/lamddb-deployFunctionWithVpc.template.json +1 -136
  382. package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/test/integ.lamddb-deployFunctionWithVpc.js.snapshot/lamddbdeployFunctionWithVpcIntegDefaultTestDeployAssert0AB8275C.assets.json +2 -2
  383. package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/test/integ.lamddb-deployFunctionWithVpc.js.snapshot/manifest.json +475 -10
  384. package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/test/integ.lamddb-deployFunctionWithVpc.js.snapshot/tree.json +1 -1
  385. package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/test/integ.lamddb-no-arguments.js +2 -1
  386. package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/test/integ.lamddb-point-in-time-recovery.js +2 -1
  387. package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/test/integ.lamddb-set-billing-mode.js +2 -1
  388. package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/test/integ.lamddb-use-existing-func.js +2 -1
  389. package/node_modules/@gemeentenijmegen/apiclient/node_modules/@gemeentenijmegen/utils/package.json +9 -9
  390. package/node_modules/@gemeentenijmegen/apiclient/package.json +10 -10
  391. package/node_modules/@gemeentenijmegen/apigateway-http/package.json +6 -6
  392. package/node_modules/@gemeentenijmegen/session/package.json +5 -5
  393. package/node_modules/@gemeentenijmegen/utils/package.json +9 -9
  394. package/node_modules/@smithy/abort-controller/package.json +2 -2
  395. package/node_modules/@smithy/config-resolver/package.json +4 -4
  396. package/node_modules/@smithy/core/dist-cjs/submodules/cbor/index.js +142 -44
  397. package/node_modules/@smithy/core/dist-cjs/submodules/protocols/index.js +108 -105
  398. package/node_modules/@smithy/core/dist-cjs/submodules/schema/index.js +92 -6
  399. package/node_modules/@smithy/core/dist-cjs/submodules/serde/index.js +45 -54
  400. package/node_modules/@smithy/core/dist-es/submodules/cbor/CborCodec.js +77 -41
  401. package/node_modules/@smithy/core/dist-es/submodules/cbor/byte-printer.js +3 -0
  402. package/node_modules/@smithy/core/dist-es/submodules/cbor/cbor-decode.js +39 -4
  403. package/node_modules/@smithy/core/dist-es/submodules/cbor/cbor-encode.js +33 -3
  404. package/node_modules/@smithy/core/dist-es/submodules/protocols/HttpBindingProtocol.js +115 -20
  405. package/node_modules/@smithy/core/dist-es/submodules/protocols/HttpProtocol.js +7 -95
  406. package/node_modules/@smithy/core/dist-es/submodules/schema/schemas/ErrorSchema.js +10 -0
  407. package/node_modules/@smithy/core/dist-es/submodules/schema/schemas/ListSchema.js +10 -0
  408. package/node_modules/@smithy/core/dist-es/submodules/schema/schemas/MapSchema.js +10 -0
  409. package/node_modules/@smithy/core/dist-es/submodules/schema/schemas/NormalizedSchema.js +19 -0
  410. package/node_modules/@smithy/core/dist-es/submodules/schema/schemas/SimpleSchema.js +10 -0
  411. package/node_modules/@smithy/core/dist-es/submodules/schema/schemas/StructureSchema.js +10 -0
  412. package/node_modules/@smithy/core/dist-es/submodules/serde/copyDocumentWithTransform.js +1 -53
  413. package/node_modules/@smithy/core/dist-es/submodules/serde/generateIdempotencyToken.js +2 -0
  414. package/node_modules/@smithy/core/dist-es/submodules/serde/index.js +1 -0
  415. package/node_modules/@smithy/core/dist-es/submodules/serde/value/NumericValue.js +36 -2
  416. package/node_modules/@smithy/core/dist-types/submodules/cbor/CborCodec.d.ts +5 -0
  417. package/node_modules/@smithy/core/dist-types/submodules/cbor/byte-printer.d.ts +6 -0
  418. package/node_modules/@smithy/core/dist-types/submodules/protocols/HttpBindingProtocol.d.ts +10 -2
  419. package/node_modules/@smithy/core/dist-types/submodules/protocols/HttpProtocol.d.ts +3 -1
  420. package/node_modules/@smithy/core/dist-types/submodules/schema/schemas/ErrorSchema.d.ts +3 -0
  421. package/node_modules/@smithy/core/dist-types/submodules/schema/schemas/ListSchema.d.ts +3 -0
  422. package/node_modules/@smithy/core/dist-types/submodules/schema/schemas/MapSchema.d.ts +3 -0
  423. package/node_modules/@smithy/core/dist-types/submodules/schema/schemas/NormalizedSchema.d.ts +8 -0
  424. package/node_modules/@smithy/core/dist-types/submodules/schema/schemas/SimpleSchema.d.ts +3 -0
  425. package/node_modules/@smithy/core/dist-types/submodules/schema/schemas/StructureSchema.d.ts +3 -0
  426. package/node_modules/@smithy/core/dist-types/submodules/serde/copyDocumentWithTransform.d.ts +1 -0
  427. package/node_modules/@smithy/core/dist-types/submodules/serde/generateIdempotencyToken.d.ts +2 -0
  428. package/node_modules/@smithy/core/dist-types/submodules/serde/index.d.ts +1 -0
  429. package/node_modules/@smithy/core/dist-types/submodules/serde/value/NumericValue.d.ts +3 -1
  430. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/CborCodec.d.ts +5 -0
  431. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/byte-printer.d.ts +6 -0
  432. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/HttpBindingProtocol.d.ts +10 -2
  433. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/HttpProtocol.d.ts +3 -1
  434. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/ErrorSchema.d.ts +3 -0
  435. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/ListSchema.d.ts +3 -0
  436. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/MapSchema.d.ts +3 -0
  437. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/NormalizedSchema.d.ts +8 -0
  438. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/SimpleSchema.d.ts +3 -0
  439. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/StructureSchema.d.ts +3 -0
  440. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/copyDocumentWithTransform.d.ts +1 -0
  441. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/generateIdempotencyToken.d.ts +2 -0
  442. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/index.d.ts +1 -0
  443. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/value/NumericValue.d.ts +3 -1
  444. package/node_modules/@smithy/core/package.json +20 -17
  445. package/node_modules/@smithy/credential-provider-imds/package.json +5 -5
  446. package/node_modules/@smithy/eventstream-codec/package.json +2 -2
  447. package/node_modules/@smithy/eventstream-serde-browser/package.json +3 -3
  448. package/node_modules/@smithy/eventstream-serde-config-resolver/package.json +2 -2
  449. package/node_modules/@smithy/eventstream-serde-node/package.json +3 -3
  450. package/node_modules/@smithy/eventstream-serde-universal/package.json +3 -3
  451. package/node_modules/@smithy/fetch-http-handler/dist-cjs/index.js +2 -2
  452. package/node_modules/@smithy/fetch-http-handler/dist-es/fetch-http-handler.js +4 -4
  453. package/node_modules/@smithy/fetch-http-handler/dist-types/fetch-http-handler.d.ts +1 -1
  454. package/node_modules/@smithy/fetch-http-handler/dist-types/ts3.4/fetch-http-handler.d.ts +1 -1
  455. package/node_modules/@smithy/fetch-http-handler/package.json +5 -5
  456. package/node_modules/@smithy/hash-blob-browser/package.json +2 -2
  457. package/node_modules/@smithy/hash-node/package.json +2 -2
  458. package/node_modules/@smithy/hash-stream-node/package.json +2 -2
  459. package/node_modules/@smithy/invalid-dependency/package.json +2 -2
  460. package/node_modules/@smithy/md5-js/package.json +2 -2
  461. package/node_modules/@smithy/middleware-content-length/package.json +3 -3
  462. package/node_modules/@smithy/middleware-endpoint/dist-cjs/index.js +22 -3
  463. package/node_modules/@smithy/middleware-endpoint/dist-cjs/resolveEndpointRequiredConfig.js +1 -0
  464. package/node_modules/@smithy/middleware-endpoint/dist-es/adaptors/createConfigValueProvider.js +3 -0
  465. package/node_modules/@smithy/middleware-endpoint/dist-es/adaptors/getEndpointFromInstructions.js +2 -1
  466. package/node_modules/@smithy/middleware-endpoint/dist-es/endpointMiddleware.js +1 -1
  467. package/node_modules/@smithy/middleware-endpoint/dist-es/index.js +1 -0
  468. package/node_modules/@smithy/middleware-endpoint/dist-es/resolveEndpointRequiredConfig.js +9 -0
  469. package/node_modules/@smithy/middleware-endpoint/dist-types/index.d.ts +1 -0
  470. package/node_modules/@smithy/middleware-endpoint/dist-types/resolveEndpointConfig.d.ts +5 -2
  471. package/node_modules/@smithy/middleware-endpoint/dist-types/resolveEndpointRequiredConfig.d.ts +32 -0
  472. package/node_modules/@smithy/middleware-endpoint/dist-types/ts3.4/index.d.ts +1 -0
  473. package/node_modules/@smithy/middleware-endpoint/dist-types/ts3.4/resolveEndpointConfig.d.ts +5 -2
  474. package/node_modules/@smithy/middleware-endpoint/dist-types/ts3.4/resolveEndpointRequiredConfig.d.ts +32 -0
  475. package/node_modules/@smithy/middleware-endpoint/package.json +8 -8
  476. package/node_modules/@smithy/middleware-retry/package.json +9 -9
  477. package/node_modules/@smithy/middleware-serde/package.json +3 -3
  478. package/node_modules/@smithy/middleware-stack/package.json +2 -2
  479. package/node_modules/@smithy/node-config-provider/package.json +4 -4
  480. package/node_modules/@smithy/node-http-handler/dist-cjs/index.js +11 -9
  481. package/node_modules/@smithy/node-http-handler/dist-es/node-http-handler.js +4 -3
  482. package/node_modules/@smithy/node-http-handler/dist-es/node-http2-handler.js +7 -6
  483. package/node_modules/@smithy/node-http-handler/dist-types/node-http-handler.d.ts +1 -1
  484. package/node_modules/@smithy/node-http-handler/dist-types/node-http2-handler.d.ts +1 -1
  485. package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http-handler.d.ts +1 -1
  486. package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http2-handler.d.ts +1 -1
  487. package/node_modules/@smithy/node-http-handler/package.json +5 -5
  488. package/node_modules/@smithy/property-provider/package.json +2 -2
  489. package/node_modules/@smithy/protocol-http/package.json +2 -2
  490. package/node_modules/@smithy/querystring-builder/package.json +2 -2
  491. package/node_modules/@smithy/querystring-parser/package.json +2 -2
  492. package/node_modules/@smithy/service-error-classification/dist-cjs/index.js +2 -1
  493. package/node_modules/@smithy/service-error-classification/dist-es/constants.js +1 -0
  494. package/node_modules/@smithy/service-error-classification/dist-es/index.js +2 -1
  495. package/node_modules/@smithy/service-error-classification/dist-types/constants.d.ts +4 -0
  496. package/node_modules/@smithy/service-error-classification/dist-types/ts3.4/constants.d.ts +4 -0
  497. package/node_modules/@smithy/service-error-classification/package.json +2 -2
  498. package/node_modules/@smithy/shared-ini-file-loader/package.json +2 -2
  499. package/node_modules/@smithy/signature-v4/package.json +4 -4
  500. package/node_modules/@smithy/smithy-client/dist-cjs/index.js +1 -0
  501. package/node_modules/@smithy/smithy-client/package.json +7 -7
  502. package/node_modules/@smithy/types/dist-types/schema/schema.d.ts +1 -0
  503. package/node_modules/@smithy/types/dist-types/ts3.4/schema/schema.d.ts +1 -0
  504. package/node_modules/@smithy/types/package.json +1 -1
  505. package/node_modules/@smithy/url-parser/package.json +3 -3
  506. package/node_modules/@smithy/util-defaults-mode-browser/package.json +4 -4
  507. package/node_modules/@smithy/util-defaults-mode-node/package.json +7 -7
  508. package/node_modules/@smithy/util-endpoints/package.json +3 -3
  509. package/node_modules/@smithy/util-middleware/package.json +2 -2
  510. package/node_modules/@smithy/util-retry/package.json +3 -3
  511. package/node_modules/@smithy/util-stream/package.json +4 -4
  512. package/node_modules/@smithy/util-waiter/dist-cjs/index.js +27 -8
  513. package/node_modules/@smithy/util-waiter/dist-es/createWaiter.js +27 -8
  514. package/node_modules/@smithy/util-waiter/package.json +3 -3
  515. package/node_modules/@types/aws-lambda/README.md +1 -1
  516. package/node_modules/@types/aws-lambda/handler.d.ts +1 -0
  517. package/node_modules/@types/aws-lambda/package.json +2 -2
  518. package/node_modules/@types/aws-lambda/trigger/cognito-user-pool-trigger/index.d.ts +2 -0
  519. package/node_modules/@types/aws-lambda/trigger/cognito-user-pool-trigger/pre-token-generation-v3.d.ts +50 -0
  520. package/node_modules/aproba/index.js +1 -1
  521. package/node_modules/aproba/package.json +1 -1
  522. package/node_modules/axios/CHANGELOG.md +17 -0
  523. package/node_modules/axios/README.md +1 -4
  524. package/node_modules/axios/dist/axios.js +39 -5
  525. package/node_modules/axios/dist/axios.js.map +1 -1
  526. package/node_modules/axios/dist/axios.min.js +2 -2
  527. package/node_modules/axios/dist/axios.min.js.map +1 -1
  528. package/node_modules/axios/dist/browser/axios.cjs +46 -9
  529. package/node_modules/axios/dist/browser/axios.cjs.map +1 -1
  530. package/node_modules/axios/dist/esm/axios.js +46 -9
  531. package/node_modules/axios/dist/esm/axios.js.map +1 -1
  532. package/node_modules/axios/dist/esm/axios.min.js +2 -2
  533. package/node_modules/axios/dist/esm/axios.min.js.map +1 -1
  534. package/node_modules/axios/dist/node/axios.cjs +46 -9
  535. package/node_modules/axios/dist/node/axios.cjs.map +1 -1
  536. package/node_modules/axios/index.d.cts +13 -2
  537. package/node_modules/axios/lib/core/Axios.js +2 -2
  538. package/node_modules/axios/lib/core/mergeConfig.js +1 -1
  539. package/node_modules/axios/lib/env/data.js +1 -1
  540. package/node_modules/axios/lib/helpers/throttle.js +1 -1
  541. package/node_modules/axios/lib/helpers/toURLEncodedForm.js +4 -3
  542. package/node_modules/axios/lib/utils.js +36 -0
  543. package/node_modules/axios/package.json +5 -5
  544. package/node_modules/bowser/CHANGELOG.md +1 -1
  545. package/node_modules/bowser/README.md +2 -4
  546. package/node_modules/bowser/bundled.js +1 -1
  547. package/node_modules/bowser/es5.js +1 -1
  548. package/node_modules/bowser/index.d.ts +72 -7
  549. package/node_modules/bowser/package.json +4 -3
  550. package/node_modules/bowser/src/constants.js +3 -0
  551. package/node_modules/bowser/src/parser-browsers.js +15 -0
  552. package/node_modules/bowser/src/parser-platforms.js +17 -1
  553. package/node_modules/bowser/src/parser.js +20 -5
  554. package/node_modules/bowser/src/utils.js +2 -2
  555. package/node_modules/dotenv/CHANGELOG.md +17 -1
  556. package/node_modules/dotenv/README-es.md +0 -19
  557. package/node_modules/dotenv/README.md +7 -14
  558. package/node_modules/dotenv/SECURITY.md +1 -0
  559. package/node_modules/dotenv/lib/cli-options.js +8 -2
  560. package/node_modules/dotenv/lib/env-options.js +4 -0
  561. package/node_modules/dotenv/lib/main.d.ts +12 -3
  562. package/node_modules/dotenv/lib/main.js +31 -5
  563. package/node_modules/dotenv/package.json +2 -2
  564. package/node_modules/fast-xml-parser/CHANGELOG.md +77 -0
  565. package/node_modules/fast-xml-parser/README.md +39 -52
  566. package/node_modules/fast-xml-parser/lib/fxbuilder.min.js +2 -0
  567. package/node_modules/fast-xml-parser/lib/fxbuilder.min.js.map +1 -0
  568. package/node_modules/fast-xml-parser/lib/fxp.cjs +1 -0
  569. package/node_modules/fast-xml-parser/lib/fxp.d.cts +458 -0
  570. package/node_modules/fast-xml-parser/lib/fxp.min.js +2 -0
  571. package/node_modules/fast-xml-parser/lib/fxp.min.js.map +1 -0
  572. package/node_modules/fast-xml-parser/lib/fxparser.min.js +2 -0
  573. package/node_modules/fast-xml-parser/lib/fxparser.min.js.map +1 -0
  574. package/node_modules/fast-xml-parser/lib/fxvalidator.min.js +2 -0
  575. package/node_modules/fast-xml-parser/lib/fxvalidator.min.js.map +1 -0
  576. package/node_modules/fast-xml-parser/package.json +36 -20
  577. package/node_modules/fast-xml-parser/src/cli/cli.js +16 -12
  578. package/node_modules/fast-xml-parser/src/cli/man.js +6 -1
  579. package/node_modules/fast-xml-parser/src/cli/read.js +30 -79
  580. package/node_modules/fast-xml-parser/src/fxp.d.ts +52 -9
  581. package/node_modules/fast-xml-parser/src/fxp.js +11 -8
  582. package/node_modules/fast-xml-parser/src/ignoreAttributes.js +18 -0
  583. package/node_modules/fast-xml-parser/src/util.js +14 -18
  584. package/node_modules/fast-xml-parser/src/{v5 → v6}/CharsSymbol.js +1 -1
  585. package/node_modules/fast-xml-parser/src/{v5/valueParsers → v6}/EntitiesParser.js +3 -6
  586. package/node_modules/fast-xml-parser/src/{v5 → v6}/OptionsBuilder.js +3 -6
  587. package/node_modules/fast-xml-parser/src/{v5 → v6}/OutputBuilders/BaseOutputBuilder.js +1 -3
  588. package/node_modules/fast-xml-parser/src/{v5 → v6}/OutputBuilders/JsArrBuilder.js +3 -3
  589. package/node_modules/fast-xml-parser/src/{v5 → v6}/OutputBuilders/JsMinArrBuilder.js +3 -5
  590. package/node_modules/fast-xml-parser/src/{v5 → v6}/OutputBuilders/JsObjBuilder.js +3 -5
  591. package/node_modules/fast-xml-parser/src/{v5 → v6}/OutputBuilders/ParserOptionsBuilder.js +6 -11
  592. package/node_modules/fast-xml-parser/src/{v5 → v6}/TagPath.js +1 -1
  593. package/node_modules/fast-xml-parser/src/{v5 → v6}/TagPathMatcher.js +3 -5
  594. package/node_modules/fast-xml-parser/src/{v5 → v6}/XMLParser.js +3 -5
  595. package/node_modules/fast-xml-parser/src/{v5 → v6}/Xml2JsParser.js +8 -10
  596. package/node_modules/fast-xml-parser/src/{v5 → v6}/XmlPartReader.js +24 -26
  597. package/node_modules/fast-xml-parser/src/{v5 → v6}/XmlSpecialTagsReader.js +5 -12
  598. package/node_modules/fast-xml-parser/src/{v5 → v6}/inputSource/BufferSource.js +1 -3
  599. package/node_modules/fast-xml-parser/src/{v5 → v6}/inputSource/StringSource.js +1 -3
  600. package/node_modules/fast-xml-parser/src/{v5 → v6/valueParsers}/EntitiesParser.js +3 -5
  601. package/node_modules/fast-xml-parser/src/{v5 → v6}/valueParsers/booleanParser.js +1 -2
  602. package/node_modules/fast-xml-parser/src/{v5 → v6}/valueParsers/booleanParserExt.js +1 -2
  603. package/node_modules/fast-xml-parser/src/{v5 → v6}/valueParsers/currency.js +1 -3
  604. package/node_modules/fast-xml-parser/src/{v5 → v6}/valueParsers/join.js +1 -2
  605. package/node_modules/fast-xml-parser/src/{v5 → v6}/valueParsers/number.js +2 -4
  606. package/node_modules/fast-xml-parser/src/{v5 → v6}/valueParsers/trim.js +1 -3
  607. package/node_modules/fast-xml-parser/src/validator.js +5 -5
  608. package/node_modules/fast-xml-parser/src/xmlbuilder/json2xml.js +17 -13
  609. package/node_modules/fast-xml-parser/src/xmlbuilder/orderedJs2Xml.js +1 -2
  610. package/node_modules/fast-xml-parser/src/xmlparser/DocTypeReader.js +288 -71
  611. package/node_modules/fast-xml-parser/src/xmlparser/OptionsBuilder.js +3 -5
  612. package/node_modules/fast-xml-parser/src/xmlparser/OrderedObjParser.js +28 -23
  613. package/node_modules/fast-xml-parser/src/xmlparser/XMLParser.js +21 -8
  614. package/node_modules/fast-xml-parser/src/xmlparser/node2json.js +8 -2
  615. package/node_modules/fast-xml-parser/src/xmlparser/xmlNode.js +22 -7
  616. package/node_modules/follow-redirects/package.json +1 -1
  617. package/node_modules/form-data/CHANGELOG.md +601 -0
  618. package/node_modules/form-data/{README.md.bak → README.md} +4 -4
  619. package/node_modules/form-data/lib/form_data.js +2 -6
  620. package/node_modules/form-data/package.json +22 -6
  621. package/node_modules/oidc-token-hash/README.md +1 -0
  622. package/node_modules/oidc-token-hash/lib/index.js +0 -10
  623. package/node_modules/oidc-token-hash/package.json +1 -1
  624. package/node_modules/strnum/.github/SECURITY.md +5 -0
  625. package/node_modules/strnum/CHANGELOG.md +11 -0
  626. package/node_modules/strnum/algo.stflow +84 -0
  627. package/node_modules/strnum/package.json +2 -1
  628. package/node_modules/strnum/strnum.js +53 -35
  629. package/node_modules/strnum/strnum.test.js +9 -1
  630. package/node_modules/strnum/test.js +9 -0
  631. package/package.json +20 -20
  632. package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/test/integ.lamddb-add-secondary-index.js.snapshot/asset.a0c6248ec595d3ceec1177aa5ac5b494fdf4c66f1b88aa48086befd44f193d8c/index.js +0 -21
  633. package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/test/integ.lamddb-deployFunctionWithExistingVpc.js.snapshot/asset.7fa1e366ee8a9ded01fc355f704cff92bfd179574e6f9cfee800a3541df1b200/__entrypoint__.js +0 -1
  634. package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/test/integ.lamddb-deployFunctionWithExistingVpc.js.snapshot/asset.7fa1e366ee8a9ded01fc355f704cff92bfd179574e6f9cfee800a3541df1b200/index.js +0 -1
  635. package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/test/integ.lamddb-deployFunctionWithExistingVpc.js.snapshot/asset.a0c6248ec595d3ceec1177aa5ac5b494fdf4c66f1b88aa48086befd44f193d8c/index.js +0 -21
  636. package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/test/integ.lamddb-deployFunctionWithVpc.js.snapshot/asset.7fa1e366ee8a9ded01fc355f704cff92bfd179574e6f9cfee800a3541df1b200/__entrypoint__.js +0 -1
  637. package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/test/integ.lamddb-deployFunctionWithVpc.js.snapshot/asset.7fa1e366ee8a9ded01fc355f704cff92bfd179574e6f9cfee800a3541df1b200/index.js +0 -1
  638. package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/test/integ.lamddb-deployFunctionWithVpc.js.snapshot/asset.a0c6248ec595d3ceec1177aa5ac5b494fdf4c66f1b88aa48086befd44f193d8c/index.js +0 -21
  639. package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/test/integ.lamddb-no-arguments.js.snapshot/asset.a0c6248ec595d3ceec1177aa5ac5b494fdf4c66f1b88aa48086befd44f193d8c/index.js +0 -21
  640. package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/test/integ.lamddb-point-in-time-recovery.js.snapshot/asset.a0c6248ec595d3ceec1177aa5ac5b494fdf4c66f1b88aa48086befd44f193d8c/index.js +0 -21
  641. package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/test/integ.lamddb-set-billing-mode.js.snapshot/asset.a0c6248ec595d3ceec1177aa5ac5b494fdf4c66f1b88aa48086befd44f193d8c/index.js +0 -21
  642. package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/test/integ.lamddb-use-existing-func.js.snapshot/asset.a0c6248ec595d3ceec1177aa5ac5b494fdf4c66f1b88aa48086befd44f193d8c/index.js +0 -21
  643. package/node_modules/form-data/Readme.md +0 -355
  644. package/node_modules/oidc-token-hash/lib/shake256.js +0 -7
  645. /package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/{architecture.png → aws-lambda-dynamodb.png} +0 -0
  646. /package/node_modules/fast-xml-parser/src/{v5 → v6}/Report.js +0 -0
@@ -247,12 +247,24 @@ var Schema = class {
247
247
  };
248
248
 
249
249
  // src/submodules/schema/schemas/ListSchema.ts
250
- var ListSchema = class extends Schema {
250
+ var ListSchema = class _ListSchema extends Schema {
251
251
  constructor(name, traits, valueSchema) {
252
252
  super(name, traits);
253
253
  this.name = name;
254
254
  this.traits = traits;
255
255
  this.valueSchema = valueSchema;
256
+ this.symbol = _ListSchema.symbol;
257
+ }
258
+ static {
259
+ this.symbol = Symbol.for("@smithy/core/schema::ListSchema");
260
+ }
261
+ static [Symbol.hasInstance](lhs) {
262
+ const isPrototype = _ListSchema.prototype.isPrototypeOf(lhs);
263
+ if (!isPrototype && typeof lhs === "object" && lhs !== null) {
264
+ const list2 = lhs;
265
+ return list2.symbol === _ListSchema.symbol;
266
+ }
267
+ return isPrototype;
256
268
  }
257
269
  };
258
270
  function list(namespace, name, traits = {}, valueSchema) {
@@ -266,13 +278,25 @@ function list(namespace, name, traits = {}, valueSchema) {
266
278
  }
267
279
 
268
280
  // src/submodules/schema/schemas/MapSchema.ts
269
- var MapSchema = class extends Schema {
281
+ var MapSchema = class _MapSchema extends Schema {
270
282
  constructor(name, traits, keySchema, valueSchema) {
271
283
  super(name, traits);
272
284
  this.name = name;
273
285
  this.traits = traits;
274
286
  this.keySchema = keySchema;
275
287
  this.valueSchema = valueSchema;
288
+ this.symbol = _MapSchema.symbol;
289
+ }
290
+ static {
291
+ this.symbol = Symbol.for("@smithy/core/schema::MapSchema");
292
+ }
293
+ static [Symbol.hasInstance](lhs) {
294
+ const isPrototype = _MapSchema.prototype.isPrototypeOf(lhs);
295
+ if (!isPrototype && typeof lhs === "object" && lhs !== null) {
296
+ const map2 = lhs;
297
+ return map2.symbol === _MapSchema.symbol;
298
+ }
299
+ return isPrototype;
276
300
  }
277
301
  };
278
302
  function map(namespace, name, traits = {}, keySchema, valueSchema) {
@@ -303,18 +327,30 @@ function op(namespace, name, traits = {}, input, output) {
303
327
  }
304
328
 
305
329
  // src/submodules/schema/schemas/StructureSchema.ts
306
- var StructureSchema = class extends Schema {
330
+ var StructureSchema = class _StructureSchema extends Schema {
307
331
  constructor(name, traits, memberNames, memberList) {
308
332
  super(name, traits);
309
333
  this.name = name;
310
334
  this.traits = traits;
311
335
  this.memberNames = memberNames;
312
336
  this.memberList = memberList;
337
+ this.symbol = _StructureSchema.symbol;
313
338
  this.members = {};
314
339
  for (let i = 0; i < memberNames.length; ++i) {
315
340
  this.members[memberNames[i]] = Array.isArray(memberList[i]) ? memberList[i] : [memberList[i], 0];
316
341
  }
317
342
  }
343
+ static {
344
+ this.symbol = Symbol.for("@smithy/core/schema::StructureSchema");
345
+ }
346
+ static [Symbol.hasInstance](lhs) {
347
+ const isPrototype = _StructureSchema.prototype.isPrototypeOf(lhs);
348
+ if (!isPrototype && typeof lhs === "object" && lhs !== null) {
349
+ const struct2 = lhs;
350
+ return struct2.symbol === _StructureSchema.symbol;
351
+ }
352
+ return isPrototype;
353
+ }
318
354
  };
319
355
  function struct(namespace, name, traits, memberNames, memberList) {
320
356
  const schema = new StructureSchema(namespace + "#" + name, traits, memberNames, memberList);
@@ -323,7 +359,7 @@ function struct(namespace, name, traits, memberNames, memberList) {
323
359
  }
324
360
 
325
361
  // src/submodules/schema/schemas/ErrorSchema.ts
326
- var ErrorSchema = class extends StructureSchema {
362
+ var ErrorSchema = class _ErrorSchema extends StructureSchema {
327
363
  constructor(name, traits, memberNames, memberList, ctor) {
328
364
  super(name, traits, memberNames, memberList);
329
365
  this.name = name;
@@ -331,6 +367,18 @@ var ErrorSchema = class extends StructureSchema {
331
367
  this.memberNames = memberNames;
332
368
  this.memberList = memberList;
333
369
  this.ctor = ctor;
370
+ this.symbol = _ErrorSchema.symbol;
371
+ }
372
+ static {
373
+ this.symbol = Symbol.for("@smithy/core/schema::ErrorSchema");
374
+ }
375
+ static [Symbol.hasInstance](lhs) {
376
+ const isPrototype = _ErrorSchema.prototype.isPrototypeOf(lhs);
377
+ if (!isPrototype && typeof lhs === "object" && lhs !== null) {
378
+ const err = lhs;
379
+ return err.symbol === _ErrorSchema.symbol;
380
+ }
381
+ return isPrototype;
334
382
  }
335
383
  };
336
384
  function error(namespace, name, traits = {}, memberNames, memberList, ctor) {
@@ -372,12 +420,24 @@ var SCHEMA = {
372
420
  };
373
421
 
374
422
  // src/submodules/schema/schemas/SimpleSchema.ts
375
- var SimpleSchema = class extends Schema {
423
+ var SimpleSchema = class _SimpleSchema extends Schema {
376
424
  constructor(name, schemaRef, traits) {
377
425
  super(name, traits);
378
426
  this.name = name;
379
427
  this.schemaRef = schemaRef;
380
428
  this.traits = traits;
429
+ this.symbol = _SimpleSchema.symbol;
430
+ }
431
+ static {
432
+ this.symbol = Symbol.for("@smithy/core/schema::SimpleSchema");
433
+ }
434
+ static [Symbol.hasInstance](lhs) {
435
+ const isPrototype = _SimpleSchema.prototype.isPrototypeOf(lhs);
436
+ if (!isPrototype && typeof lhs === "object" && lhs !== null) {
437
+ const sim2 = lhs;
438
+ return sim2.symbol === _SimpleSchema.symbol;
439
+ }
440
+ return isPrototype;
381
441
  }
382
442
  };
383
443
  function sim(namespace, name, schemaRef, traits) {
@@ -395,6 +455,7 @@ var NormalizedSchema = class _NormalizedSchema {
395
455
  constructor(ref, memberName) {
396
456
  this.ref = ref;
397
457
  this.memberName = memberName;
458
+ this.symbol = _NormalizedSchema.symbol;
398
459
  const traitStack = [];
399
460
  let _ref = ref;
400
461
  let schema = ref;
@@ -434,10 +495,23 @@ var NormalizedSchema = class _NormalizedSchema {
434
495
  this.name = (typeof this.schema === "object" ? this.schema?.name : void 0) ?? this.memberName ?? this.getSchemaName();
435
496
  if (this._isMemberSchema && !memberName) {
436
497
  throw new Error(
437
- `@smithy/core/schema - NormalizedSchema member schema ${this.getName(true)} must initialize with memberName argument.`
498
+ `@smithy/core/schema - NormalizedSchema member schema ${this.getName(
499
+ true
500
+ )} must initialize with memberName argument.`
438
501
  );
439
502
  }
440
503
  }
504
+ static {
505
+ this.symbol = Symbol.for("@smithy/core/schema::NormalizedSchema");
506
+ }
507
+ static [Symbol.hasInstance](lhs) {
508
+ const isPrototype = _NormalizedSchema.prototype.isPrototypeOf(lhs);
509
+ if (!isPrototype && typeof lhs === "object" && lhs !== null) {
510
+ const ns = lhs;
511
+ return ns.symbol === _NormalizedSchema.symbol;
512
+ }
513
+ return isPrototype;
514
+ }
441
515
  /**
442
516
  * Static constructor that attempts to avoid wrapping a NormalizedSchema within another.
443
517
  */
@@ -584,6 +658,18 @@ var NormalizedSchema = class _NormalizedSchema {
584
658
  }
585
659
  return this.getSchema() === SCHEMA.STREAMING_BLOB;
586
660
  }
661
+ /**
662
+ * This is a shortcut to avoid calling `getMergedTraits().idempotencyToken` on every string.
663
+ * @returns whether the schema has the idempotencyToken trait.
664
+ */
665
+ isIdempotencyToken() {
666
+ if (typeof this.traits === "number") {
667
+ return (this.traits & 4) === 4;
668
+ } else if (typeof this.traits === "object") {
669
+ return !!this.traits.idempotencyToken;
670
+ }
671
+ return false;
672
+ }
587
673
  /**
588
674
  * @returns own traits merged with member traits, where member traits of the same trait key take priority.
589
675
  * This method is cached.
@@ -35,6 +35,7 @@ __export(serde_exports, {
35
35
  expectShort: () => expectShort,
36
36
  expectString: () => expectString,
37
37
  expectUnion: () => expectUnion,
38
+ generateIdempotencyToken: () => import_uuid.v4,
38
39
  handleFloat: () => handleFloat,
39
40
  limitedParseDouble: () => limitedParseDouble,
40
41
  limitedParseFloat: () => limitedParseFloat,
@@ -61,57 +62,7 @@ __export(serde_exports, {
61
62
  module.exports = __toCommonJS(serde_exports);
62
63
 
63
64
  // src/submodules/serde/copyDocumentWithTransform.ts
64
- var import_schema = require("@smithy/core/schema");
65
- var copyDocumentWithTransform = (source, schemaRef, transform = (_) => _) => {
66
- const ns = import_schema.NormalizedSchema.of(schemaRef);
67
- switch (typeof source) {
68
- case "undefined":
69
- case "boolean":
70
- case "number":
71
- case "string":
72
- case "bigint":
73
- case "symbol":
74
- return transform(source, ns);
75
- case "function":
76
- case "object":
77
- if (source === null) {
78
- return transform(null, ns);
79
- }
80
- if (Array.isArray(source)) {
81
- const newArray = new Array(source.length);
82
- let i = 0;
83
- for (const item of source) {
84
- newArray[i++] = copyDocumentWithTransform(item, ns.getValueSchema(), transform);
85
- }
86
- return transform(newArray, ns);
87
- }
88
- if ("byteLength" in source) {
89
- const newBytes = new Uint8Array(source.byteLength);
90
- newBytes.set(source, 0);
91
- return transform(newBytes, ns);
92
- }
93
- if (source instanceof Date) {
94
- return transform(source, ns);
95
- }
96
- const newObject = {};
97
- if (ns.isMapSchema()) {
98
- for (const key of Object.keys(source)) {
99
- newObject[key] = copyDocumentWithTransform(source[key], ns.getValueSchema(), transform);
100
- }
101
- } else if (ns.isStructSchema()) {
102
- for (const [key, memberSchema] of ns.structIterator()) {
103
- newObject[key] = copyDocumentWithTransform(source[key], memberSchema, transform);
104
- }
105
- } else if (ns.isDocumentSchema()) {
106
- for (const key of Object.keys(source)) {
107
- newObject[key] = copyDocumentWithTransform(source[key], ns.getValueSchema(), transform);
108
- }
109
- }
110
- return transform(newObject, ns);
111
- default:
112
- return transform(source, ns);
113
- }
114
- };
65
+ var copyDocumentWithTransform = (source, schemaRef, transform = (_) => _) => source;
115
66
 
116
67
  // src/submodules/serde/parse-utils.ts
117
68
  var parseBoolean = (value) => {
@@ -566,6 +517,9 @@ var stripLeadingZeroes = (value) => {
566
517
  return value.slice(idx);
567
518
  };
568
519
 
520
+ // src/submodules/serde/generateIdempotencyToken.ts
521
+ var import_uuid = require("uuid");
522
+
569
523
  // src/submodules/serde/lazy-json.ts
570
524
  var LazyJsonString = function LazyJsonString2(val) {
571
525
  const str = Object.assign(new String(val), {
@@ -667,14 +621,50 @@ var splitHeader = (value) => {
667
621
  };
668
622
 
669
623
  // src/submodules/serde/value/NumericValue.ts
670
- var NumericValue = class {
624
+ var NumericValue = class _NumericValue {
671
625
  constructor(string, type) {
672
626
  this.string = string;
673
627
  this.type = type;
628
+ let dot = 0;
629
+ for (let i = 0; i < string.length; ++i) {
630
+ const char = string.charCodeAt(i);
631
+ if (i === 0 && char === 45) {
632
+ continue;
633
+ }
634
+ if (char === 46) {
635
+ if (dot) {
636
+ throw new Error("@smithy/core/serde - NumericValue must contain at most one decimal point.");
637
+ }
638
+ dot = 1;
639
+ continue;
640
+ }
641
+ if (char < 48 || char > 57) {
642
+ throw new Error(
643
+ `@smithy/core/serde - NumericValue must only contain [0-9], at most one decimal point ".", and an optional negation prefix "-".`
644
+ );
645
+ }
646
+ }
647
+ }
648
+ toString() {
649
+ return this.string;
650
+ }
651
+ static [Symbol.hasInstance](object) {
652
+ if (!object || typeof object !== "object") {
653
+ return false;
654
+ }
655
+ const _nv = object;
656
+ const prototypeMatch = _NumericValue.prototype.isPrototypeOf(object.constructor?.prototype);
657
+ if (prototypeMatch) {
658
+ return prototypeMatch;
659
+ }
660
+ if (typeof _nv.string === "string" && typeof _nv.type === "string" && _nv.constructor?.name === "NumericValue") {
661
+ return true;
662
+ }
663
+ return prototypeMatch;
674
664
  }
675
665
  };
676
- function nv(string) {
677
- return new NumericValue(string, "bigDecimal");
666
+ function nv(input) {
667
+ return new NumericValue(String(input), "bigDecimal");
678
668
  }
679
669
  // Annotate the CommonJS export names for ESM import in node:
680
670
  0 && (module.exports = {
@@ -694,6 +684,7 @@ function nv(string) {
694
684
  expectShort,
695
685
  expectString,
696
686
  expectUnion,
687
+ generateIdempotencyToken,
697
688
  handleFloat,
698
689
  limitedParseDouble,
699
690
  limitedParseFloat,
@@ -1,5 +1,6 @@
1
1
  import { NormalizedSchema } from "@smithy/core/schema";
2
- import { copyDocumentWithTransform, parseEpochTimestamp } from "@smithy/core/serde";
2
+ import { generateIdempotencyToken, parseEpochTimestamp } from "@smithy/core/serde";
3
+ import { fromBase64 } from "@smithy/util-base64";
3
4
  import { cbor } from "./cbor";
4
5
  import { dateToTag } from "./parseCborBody";
5
6
  export class CborCodec {
@@ -22,36 +23,71 @@ export class CborShapeSerializer {
22
23
  this.serdeContext = serdeContext;
23
24
  }
24
25
  write(schema, value) {
25
- this.value = copyDocumentWithTransform(value, schema, (_, schemaRef) => {
26
- if (_ instanceof Date) {
27
- return dateToTag(_);
28
- }
29
- if (_ instanceof Uint8Array) {
30
- return _;
31
- }
32
- const ns = NormalizedSchema.of(schemaRef);
33
- const sparse = !!ns.getMergedTraits().sparse;
34
- if (ns.isListSchema() && Array.isArray(_)) {
35
- if (!sparse) {
36
- return _.filter((item) => item != null);
26
+ this.value = this.serialize(schema, value);
27
+ }
28
+ serialize(schema, source) {
29
+ const ns = NormalizedSchema.of(schema);
30
+ if (source == null) {
31
+ if (ns.isIdempotencyToken()) {
32
+ return generateIdempotencyToken();
33
+ }
34
+ return source;
35
+ }
36
+ if (ns.isBlobSchema()) {
37
+ if (typeof source === "string") {
38
+ return (this.serdeContext?.base64Decoder ?? fromBase64)(source);
39
+ }
40
+ return source;
41
+ }
42
+ if (ns.isTimestampSchema()) {
43
+ if (typeof source === "number" || typeof source === "bigint") {
44
+ return dateToTag(new Date((Number(source) / 1000) | 0));
45
+ }
46
+ return dateToTag(source);
47
+ }
48
+ if (typeof source === "function" || typeof source === "object") {
49
+ const sourceObject = source;
50
+ if (ns.isListSchema() && Array.isArray(sourceObject)) {
51
+ const sparse = !!ns.getMergedTraits().sparse;
52
+ const newArray = [];
53
+ let i = 0;
54
+ for (const item of sourceObject) {
55
+ const value = this.serialize(ns.getValueSchema(), item);
56
+ if (value != null || sparse) {
57
+ newArray[i++] = value;
58
+ }
59
+ }
60
+ return newArray;
61
+ }
62
+ if (sourceObject instanceof Date) {
63
+ return dateToTag(sourceObject);
64
+ }
65
+ const newObject = {};
66
+ if (ns.isMapSchema()) {
67
+ const sparse = !!ns.getMergedTraits().sparse;
68
+ for (const key of Object.keys(sourceObject)) {
69
+ const value = this.serialize(ns.getValueSchema(), sourceObject[key]);
70
+ if (value != null || sparse) {
71
+ newObject[key] = value;
72
+ }
37
73
  }
38
74
  }
39
- else if (_ && typeof _ === "object") {
40
- const members = ns.getMemberSchemas();
41
- const isStruct = ns.isStructSchema();
42
- if (!sparse || isStruct) {
43
- for (const [k, v] of Object.entries(_)) {
44
- const filteredOutByNonSparse = !sparse && v == null;
45
- const filteredOutByUnrecognizedMember = isStruct && !(k in members);
46
- if (filteredOutByNonSparse || filteredOutByUnrecognizedMember) {
47
- delete _[k];
48
- }
75
+ else if (ns.isStructSchema()) {
76
+ for (const [key, memberSchema] of ns.structIterator()) {
77
+ const value = this.serialize(memberSchema, sourceObject[key]);
78
+ if (value != null) {
79
+ newObject[key] = value;
49
80
  }
50
- return _;
51
81
  }
52
82
  }
53
- return _;
54
- });
83
+ else if (ns.isDocumentSchema()) {
84
+ for (const key of Object.keys(sourceObject)) {
85
+ newObject[key] = this.serialize(ns.getValueSchema(), sourceObject[key]);
86
+ }
87
+ }
88
+ return newObject;
89
+ }
90
+ return source;
55
91
  }
56
92
  flush() {
57
93
  const buffer = cbor.serialize(this.value);
@@ -69,14 +105,14 @@ export class CborShapeDeserializer {
69
105
  }
70
106
  readValue(_schema, value) {
71
107
  const ns = NormalizedSchema.of(_schema);
72
- const schema = ns.getSchema();
73
- if (typeof schema === "number") {
74
- if (ns.isTimestampSchema()) {
75
- return parseEpochTimestamp(value);
76
- }
77
- if (ns.isBlobSchema()) {
78
- return value;
108
+ if (ns.isTimestampSchema() && typeof value === "number") {
109
+ return parseEpochTimestamp(value);
110
+ }
111
+ if (ns.isBlobSchema()) {
112
+ if (typeof value === "string") {
113
+ return (this.serdeContext?.base64Decoder ?? fromBase64)(value);
79
114
  }
115
+ return value;
80
116
  }
81
117
  if (typeof value === "undefined" ||
82
118
  typeof value === "boolean" ||
@@ -102,23 +138,23 @@ export class CborShapeDeserializer {
102
138
  if (ns.isListSchema()) {
103
139
  const newArray = [];
104
140
  const memberSchema = ns.getValueSchema();
105
- const sparse = ns.isListSchema() && !!ns.getMergedTraits().sparse;
141
+ const sparse = !!ns.getMergedTraits().sparse;
106
142
  for (const item of value) {
107
- newArray.push(this.readValue(memberSchema, item));
108
- if (!sparse && newArray[newArray.length - 1] == null) {
109
- newArray.pop();
143
+ const itemValue = this.readValue(memberSchema, item);
144
+ if (itemValue != null || sparse) {
145
+ newArray.push(itemValue);
110
146
  }
111
147
  }
112
148
  return newArray;
113
149
  }
114
150
  const newObject = {};
115
151
  if (ns.isMapSchema()) {
116
- const sparse = ns.getMergedTraits().sparse;
152
+ const sparse = !!ns.getMergedTraits().sparse;
117
153
  const targetSchema = ns.getValueSchema();
118
154
  for (const key of Object.keys(value)) {
119
- newObject[key] = this.readValue(targetSchema, value[key]);
120
- if (newObject[key] == null && !sparse) {
121
- delete newObject[key];
155
+ const itemValue = this.readValue(targetSchema, value[key]);
156
+ if (itemValue != null || sparse) {
157
+ newObject[key] = itemValue;
122
158
  }
123
159
  }
124
160
  }
@@ -0,0 +1,3 @@
1
+ export function printBytes(bytes) {
2
+ return [...bytes].map((n) => ("0".repeat(8) + n.toString(2)).slice(-8) + ` (${n})`);
3
+ }
@@ -1,3 +1,4 @@
1
+ import { nv } from "@smithy/core/serde";
1
2
  import { toUtf8 } from "@smithy/util-utf8";
2
3
  import { alloc, extendedFloat16, extendedFloat32, extendedFloat64, extendedOneByte, majorList, majorMap, majorNegativeInt64, majorTag, majorUint64, majorUnstructuredByteString, majorUtf8String, minorIndefinite, specialFalse, specialNull, specialTrue, specialUndefined, tag, } from "./cbor-types";
3
4
  const USE_TEXT_DECODER = typeof TextDecoder !== "undefined";
@@ -72,10 +73,44 @@ export function decode(at, to) {
72
73
  return castBigInt(negativeInt);
73
74
  }
74
75
  else {
75
- const value = decode(at + offset, to);
76
- const valueOffset = _offset;
77
- _offset = offset + valueOffset;
78
- return tag({ tag: castBigInt(unsignedInt), value });
76
+ if (minor === 2 || minor === 3) {
77
+ const length = decodeCount(at + offset, to);
78
+ let b = BigInt(0);
79
+ const start = at + offset + _offset;
80
+ for (let i = start; i < start + length; ++i) {
81
+ b = (b << BigInt(8)) | BigInt(payload[i]);
82
+ }
83
+ _offset = offset + _offset + length;
84
+ return minor === 3 ? -b - BigInt(1) : b;
85
+ }
86
+ else if (minor === 4) {
87
+ const decimalFraction = decode(at + offset, to);
88
+ const [exponent, mantissa] = decimalFraction;
89
+ const normalizer = mantissa < 0 ? -1 : 1;
90
+ const mantissaStr = "0".repeat(Math.abs(exponent) + 1) + String(BigInt(normalizer) * BigInt(mantissa));
91
+ let numericString;
92
+ const sign = mantissa < 0 ? "-" : "";
93
+ numericString =
94
+ exponent === 0
95
+ ? mantissaStr
96
+ : mantissaStr.slice(0, mantissaStr.length + exponent) + "." + mantissaStr.slice(exponent);
97
+ numericString = numericString.replace(/^0+/g, "");
98
+ if (numericString === "") {
99
+ numericString = "0";
100
+ }
101
+ if (numericString[0] === ".") {
102
+ numericString = "0" + numericString;
103
+ }
104
+ numericString = sign + numericString;
105
+ _offset = offset + _offset;
106
+ return nv(numericString);
107
+ }
108
+ else {
109
+ const value = decode(at + offset, to);
110
+ const valueOffset = _offset;
111
+ _offset = offset + valueOffset;
112
+ return tag({ tag: castBigInt(unsignedInt), value });
113
+ }
79
114
  }
80
115
  case majorUtf8String:
81
116
  case majorMap:
@@ -1,6 +1,6 @@
1
+ import { NumericValue } from "@smithy/core/serde";
1
2
  import { fromUtf8 } from "@smithy/util-utf8";
2
- import { extendedFloat16, extendedFloat32, extendedFloat64, majorList, majorMap, majorNegativeInt64, majorSpecial, majorTag, majorUint64, majorUnstructuredByteString, majorUtf8String, specialFalse, specialNull, specialTrue, tagSymbol, } from "./cbor-types";
3
- import { alloc } from "./cbor-types";
3
+ import { alloc, extendedFloat16, extendedFloat32, extendedFloat64, majorList, majorMap, majorNegativeInt64, majorSpecial, majorTag, majorUint64, majorUnstructuredByteString, majorUtf8String, specialFalse, specialNull, specialTrue, tagSymbol, } from "./cbor-types";
4
4
  const USE_BUFFER = typeof Buffer !== "undefined";
5
5
  const initialSize = 2048;
6
6
  let data = alloc(initialSize);
@@ -134,11 +134,31 @@ export function encode(_input) {
134
134
  dataView.setUint32(cursor, n);
135
135
  cursor += 4;
136
136
  }
137
- else {
137
+ else if (value < BigInt("18446744073709551616")) {
138
138
  data[cursor++] = (major << 5) | extendedFloat64;
139
139
  dataView.setBigUint64(cursor, value);
140
140
  cursor += 8;
141
141
  }
142
+ else {
143
+ const binaryBigInt = value.toString(2);
144
+ const bigIntBytes = new Uint8Array(Math.ceil(binaryBigInt.length / 8));
145
+ let b = value;
146
+ let i = 0;
147
+ while (bigIntBytes.byteLength - ++i >= 0) {
148
+ bigIntBytes[bigIntBytes.byteLength - i] = Number(b & BigInt(255));
149
+ b >>= BigInt(8);
150
+ }
151
+ ensureSpace(bigIntBytes.byteLength * 2);
152
+ data[cursor++] = nonNegative ? 194 : 195;
153
+ if (USE_BUFFER) {
154
+ encodeHeader(majorUnstructuredByteString, Buffer.byteLength(bigIntBytes));
155
+ }
156
+ else {
157
+ encodeHeader(majorUnstructuredByteString, bigIntBytes.byteLength);
158
+ }
159
+ data.set(bigIntBytes, cursor);
160
+ cursor += bigIntBytes.byteLength;
161
+ }
142
162
  continue;
143
163
  }
144
164
  else if (input === null) {
@@ -167,6 +187,16 @@ export function encode(_input) {
167
187
  continue;
168
188
  }
169
189
  else if (typeof input === "object") {
190
+ if (input instanceof NumericValue) {
191
+ const decimalIndex = input.string.indexOf(".");
192
+ const exponent = decimalIndex === -1 ? 0 : decimalIndex - input.string.length + 1;
193
+ const mantissa = BigInt(input.string.replace(".", ""));
194
+ data[cursor++] = 196;
195
+ encodeStack.push(mantissa);
196
+ encodeStack.push(exponent);
197
+ encodeHeader(majorList, 2);
198
+ continue;
199
+ }
170
200
  if (input[tagSymbol]) {
171
201
  if ("tag" in input && "value" in input) {
172
202
  encodeStack.push(input.value);