@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
@@ -1,5 +1,6 @@
1
1
  import { InvokeMethod, InvokeMethodOptionalArgs } from "../client";
2
2
  import { GetOutputType } from "../command";
3
+ import { DocumentType } from "../shapes";
3
4
  /**
4
5
  * @public
5
6
  *
@@ -29,7 +30,7 @@ export type UncheckedClient<Client extends object> = UncheckedClientOutputTypes<
29
30
  *
30
31
  * Excludes undefined recursively.
31
32
  */
32
- export type NoUndefined<T> = T extends Function ? T : [
33
+ export type NoUndefined<T> = T extends Function ? T : T extends DocumentType ? T : [
33
34
  T
34
35
  ] extends [
35
36
  object
@@ -41,7 +42,7 @@ export type NoUndefined<T> = T extends Function ? T : [
41
42
  *
42
43
  * Excludes undefined and optional recursively.
43
44
  */
44
- export type RecursiveRequired<T> = T extends Function ? T : [
45
+ export type RecursiveRequired<T> = T extends Function ? T : T extends DocumentType ? T : [
45
46
  T
46
47
  ] extends [
47
48
  object
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smithy/types",
3
- "version": "3.5.0",
3
+ "version": "3.7.1",
4
4
  "scripts": {
5
5
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
6
6
  "build:cjs": "node ../../scripts/inline types",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smithy/url-parser",
3
- "version": "3.0.7",
3
+ "version": "3.0.10",
4
4
  "scripts": {
5
5
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
6
6
  "build:cjs": "node ../../scripts/inline url-parser",
@@ -11,7 +11,8 @@
11
11
  "clean": "rimraf ./dist-* && rimraf *.tsbuildinfo || exit 0",
12
12
  "lint": "eslint -c ../../.eslintrc.js \"src/**/*.ts\"",
13
13
  "format": "prettier --config ../../prettier.config.js --ignore-path ../.prettierignore --write \"**/*.{ts,md,json}\"",
14
- "test": "yarn g:jest"
14
+ "test": "yarn g:vitest run",
15
+ "test:watch": "yarn g:vitest watch"
15
16
  },
16
17
  "main": "./dist-cjs/index.js",
17
18
  "module": "./dist-es/index.js",
@@ -22,8 +23,8 @@
22
23
  },
23
24
  "license": "Apache-2.0",
24
25
  "dependencies": {
25
- "@smithy/querystring-parser": "^3.0.7",
26
- "@smithy/types": "^3.5.0",
26
+ "@smithy/querystring-parser": "^3.0.10",
27
+ "@smithy/types": "^3.7.1",
27
28
  "tslib": "^2.6.2"
28
29
  },
29
30
  "typesVersions": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smithy/util-defaults-mode-browser",
3
- "version": "3.0.22",
3
+ "version": "3.0.28",
4
4
  "scripts": {
5
5
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
6
6
  "build:cjs": "node ../../scripts/inline util-defaults-mode-browser",
@@ -11,7 +11,8 @@
11
11
  "clean": "rimraf ./dist-* && rimraf *.tsbuildinfo || exit 0",
12
12
  "lint": "eslint -c ../../.eslintrc.js \"src/**/*.ts\"",
13
13
  "format": "prettier --config ../../prettier.config.js --ignore-path ../.prettierignore --write \"**/*.{ts,md,json}\"",
14
- "test": "yarn g:jest"
14
+ "test": "yarn g:vitest run",
15
+ "test:watch": "yarn g:vitest watch"
15
16
  },
16
17
  "main": "./dist-cjs/index.js",
17
18
  "module": "./dist-es/index.js",
@@ -22,9 +23,9 @@
22
23
  },
23
24
  "license": "Apache-2.0",
24
25
  "dependencies": {
25
- "@smithy/property-provider": "^3.1.7",
26
- "@smithy/smithy-client": "^3.3.6",
27
- "@smithy/types": "^3.5.0",
26
+ "@smithy/property-provider": "^3.1.10",
27
+ "@smithy/smithy-client": "^3.4.5",
28
+ "@smithy/types": "^3.7.1",
28
29
  "bowser": "^2.11.0",
29
30
  "tslib": "^2.6.2"
30
31
  },
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smithy/util-defaults-mode-node",
3
- "version": "3.0.22",
3
+ "version": "3.0.28",
4
4
  "scripts": {
5
5
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
6
6
  "build:cjs": "node ../../scripts/inline util-defaults-mode-node",
@@ -11,7 +11,8 @@
11
11
  "clean": "rimraf ./dist-* && rimraf *.tsbuildinfo || exit 0",
12
12
  "lint": "eslint -c ../../.eslintrc.js \"src/**/*.ts\"",
13
13
  "format": "prettier --config ../../prettier.config.js --ignore-path ../.prettierignore --write \"**/*.{ts,md,json}\"",
14
- "test": "yarn g:jest"
14
+ "test": "yarn g:vitest run",
15
+ "test:watch": "yarn g:vitest watch"
15
16
  },
16
17
  "main": "./dist-cjs/index.js",
17
18
  "module": "./dist-es/index.js",
@@ -22,12 +23,12 @@
22
23
  },
23
24
  "license": "Apache-2.0",
24
25
  "dependencies": {
25
- "@smithy/config-resolver": "^3.0.9",
26
- "@smithy/credential-provider-imds": "^3.2.4",
27
- "@smithy/node-config-provider": "^3.1.8",
28
- "@smithy/property-provider": "^3.1.7",
29
- "@smithy/smithy-client": "^3.3.6",
30
- "@smithy/types": "^3.5.0",
26
+ "@smithy/config-resolver": "^3.0.12",
27
+ "@smithy/credential-provider-imds": "^3.2.7",
28
+ "@smithy/node-config-provider": "^3.1.11",
29
+ "@smithy/property-provider": "^3.1.10",
30
+ "@smithy/smithy-client": "^3.4.5",
31
+ "@smithy/types": "^3.7.1",
31
32
  "tslib": "^2.6.2"
32
33
  },
33
34
  "devDependencies": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smithy/util-endpoints",
3
- "version": "2.1.3",
3
+ "version": "2.1.6",
4
4
  "description": "Utilities to help with endpoint resolution.",
5
5
  "main": "./dist-cjs/index.js",
6
6
  "module": "./dist-es/index.js",
@@ -14,8 +14,10 @@
14
14
  "clean": "rimraf ./dist-* && rimraf *.tsbuildinfo || exit 0",
15
15
  "lint": "eslint -c ../../.eslintrc.js \"src/**/*.ts\"",
16
16
  "format": "prettier --config ../../prettier.config.js --ignore-path ../.prettierignore --write \"**/*.{ts,md,json}\"",
17
- "test": "yarn g:jest",
18
- "test:integration": "yarn g:jest --config jest.config.integ.js"
17
+ "test": "yarn g:vitest run",
18
+ "test:integration": "yarn g:vitest run -c vitest.config.integ.ts",
19
+ "test:watch": "yarn g:vitest watch",
20
+ "test:integration:watch": "yarn g:vitest watch -c vitest.config.integ.ts"
19
21
  },
20
22
  "keywords": [
21
23
  "endpoint"
@@ -26,8 +28,8 @@
26
28
  },
27
29
  "license": "Apache-2.0",
28
30
  "dependencies": {
29
- "@smithy/node-config-provider": "^3.1.8",
30
- "@smithy/types": "^3.5.0",
31
+ "@smithy/node-config-provider": "^3.1.11",
32
+ "@smithy/types": "^3.7.1",
31
33
  "tslib": "^2.6.2"
32
34
  },
33
35
  "devDependencies": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smithy/util-middleware",
3
- "version": "3.0.7",
3
+ "version": "3.0.10",
4
4
  "description": "Shared utilities for to be used in middleware packages.",
5
5
  "main": "./dist-cjs/index.js",
6
6
  "module": "./dist-es/index.js",
@@ -14,7 +14,8 @@
14
14
  "clean": "rimraf ./dist-* && rimraf *.tsbuildinfo || exit 0",
15
15
  "lint": "eslint -c ../../.eslintrc.js \"src/**/*.ts\"",
16
16
  "format": "prettier --config ../../prettier.config.js --ignore-path ../.prettierignore --write \"**/*.{ts,md,json}\"",
17
- "test": "yarn g:jest"
17
+ "test": "yarn g:vitest run",
18
+ "test:watch": "yarn g:vitest watch"
18
19
  },
19
20
  "keywords": [
20
21
  "aws",
@@ -26,7 +27,7 @@
26
27
  },
27
28
  "license": "Apache-2.0",
28
29
  "dependencies": {
29
- "@smithy/types": "^3.5.0",
30
+ "@smithy/types": "^3.7.1",
30
31
  "tslib": "^2.6.2"
31
32
  },
32
33
  "devDependencies": {
@@ -84,7 +84,7 @@ var _DefaultRateLimiter = class _DefaultRateLimiter {
84
84
  this.refillTokenBucket();
85
85
  if (amount > this.currentCapacity) {
86
86
  const delay = (amount - this.currentCapacity) / this.fillRate * 1e3;
87
- await new Promise((resolve) => setTimeout(resolve, delay));
87
+ await new Promise((resolve) => _DefaultRateLimiter.setTimeoutFn(resolve, delay));
88
88
  }
89
89
  this.currentCapacity = this.currentCapacity - amount;
90
90
  }
@@ -151,6 +151,10 @@ var _DefaultRateLimiter = class _DefaultRateLimiter {
151
151
  }
152
152
  };
153
153
  __name(_DefaultRateLimiter, "DefaultRateLimiter");
154
+ /**
155
+ * Only used in testing.
156
+ */
157
+ _DefaultRateLimiter.setTimeoutFn = setTimeout;
154
158
  var DefaultRateLimiter = _DefaultRateLimiter;
155
159
 
156
160
  // src/constants.ts
@@ -32,7 +32,7 @@ export class DefaultRateLimiter {
32
32
  this.refillTokenBucket();
33
33
  if (amount > this.currentCapacity) {
34
34
  const delay = ((amount - this.currentCapacity) / this.fillRate) * 1000;
35
- await new Promise((resolve) => setTimeout(resolve, delay));
35
+ await new Promise((resolve) => DefaultRateLimiter.setTimeoutFn(resolve, delay));
36
36
  }
37
37
  this.currentCapacity = this.currentCapacity - amount;
38
38
  }
@@ -97,3 +97,4 @@ export class DefaultRateLimiter {
97
97
  return parseFloat(num.toFixed(8));
98
98
  }
99
99
  }
100
+ DefaultRateLimiter.setTimeoutFn = setTimeout;
@@ -13,6 +13,10 @@ export interface DefaultRateLimiterOptions {
13
13
  * @public
14
14
  */
15
15
  export declare class DefaultRateLimiter implements RateLimiter {
16
+ /**
17
+ * Only used in testing.
18
+ */
19
+ private static setTimeoutFn;
16
20
  private beta;
17
21
  private minCapacity;
18
22
  private minFillRate;
@@ -13,6 +13,10 @@ export interface DefaultRateLimiterOptions {
13
13
  * @public
14
14
  */
15
15
  export declare class DefaultRateLimiter implements RateLimiter {
16
+ /**
17
+ * Only used in testing.
18
+ */
19
+ private static setTimeoutFn;
16
20
  private beta;
17
21
  private minCapacity;
18
22
  private minFillRate;
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smithy/util-retry",
3
- "version": "3.0.7",
3
+ "version": "3.0.10",
4
4
  "description": "Shared retry utilities to be used in middleware packages.",
5
5
  "main": "./dist-cjs/index.js",
6
6
  "module": "./dist-es/index.js",
@@ -15,7 +15,8 @@
15
15
  "lint": "eslint -c ../../.eslintrc.js \"src/**/*.ts\"",
16
16
  "format": "prettier --config ../../prettier.config.js --ignore-path ../.prettierignore --write \"**/*.{ts,md,json}\"",
17
17
  "extract:docs": "api-extractor run --local",
18
- "test": "yarn g:jest"
18
+ "test": "yarn g:vitest run",
19
+ "test:watch": "yarn g:vitest watch"
19
20
  },
20
21
  "keywords": [
21
22
  "aws",
@@ -27,8 +28,8 @@
27
28
  },
28
29
  "license": "Apache-2.0",
29
30
  "dependencies": {
30
- "@smithy/service-error-classification": "^3.0.7",
31
- "@smithy/types": "^3.5.0",
31
+ "@smithy/service-error-classification": "^3.0.10",
32
+ "@smithy/types": "^3.7.1",
32
33
  "tslib": "^2.6.2"
33
34
  },
34
35
  "devDependencies": {
@@ -0,0 +1,7 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ChecksumStream = void 0;
4
+ const ReadableStreamRef = typeof ReadableStream === "function" ? ReadableStream : function () { };
5
+ class ChecksumStream extends ReadableStreamRef {
6
+ }
7
+ exports.ChecksumStream = ChecksumStream;
@@ -0,0 +1,49 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ChecksumStream = void 0;
4
+ const util_base64_1 = require("@smithy/util-base64");
5
+ const stream_1 = require("stream");
6
+ class ChecksumStream extends stream_1.Duplex {
7
+ constructor({ expectedChecksum, checksum, source, checksumSourceLocation, base64Encoder, }) {
8
+ var _a, _b;
9
+ super();
10
+ if (typeof source.pipe === "function") {
11
+ this.source = source;
12
+ }
13
+ else {
14
+ throw new Error(`@smithy/util-stream: unsupported source type ${(_b = (_a = source === null || source === void 0 ? void 0 : source.constructor) === null || _a === void 0 ? void 0 : _a.name) !== null && _b !== void 0 ? _b : source} in ChecksumStream.`);
15
+ }
16
+ this.base64Encoder = base64Encoder !== null && base64Encoder !== void 0 ? base64Encoder : util_base64_1.toBase64;
17
+ this.expectedChecksum = expectedChecksum;
18
+ this.checksum = checksum;
19
+ this.checksumSourceLocation = checksumSourceLocation;
20
+ this.source.pipe(this);
21
+ }
22
+ _read(size) { }
23
+ _write(chunk, encoding, callback) {
24
+ try {
25
+ this.checksum.update(chunk);
26
+ this.push(chunk);
27
+ }
28
+ catch (e) {
29
+ return callback(e);
30
+ }
31
+ return callback();
32
+ }
33
+ async _final(callback) {
34
+ try {
35
+ const digest = await this.checksum.digest();
36
+ const received = this.base64Encoder(digest);
37
+ if (this.expectedChecksum !== received) {
38
+ return callback(new Error(`Checksum mismatch: expected "${this.expectedChecksum}" but received "${received}"` +
39
+ ` in response header "${this.checksumSourceLocation}".`));
40
+ }
41
+ }
42
+ catch (e) {
43
+ return callback(e);
44
+ }
45
+ this.push(null);
46
+ return callback();
47
+ }
48
+ }
49
+ exports.ChecksumStream = ChecksumStream;
@@ -0,0 +1,40 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.createChecksumStream = void 0;
4
+ const util_base64_1 = require("@smithy/util-base64");
5
+ const stream_type_check_1 = require("../stream-type-check");
6
+ const ChecksumStream_browser_1 = require("./ChecksumStream.browser");
7
+ const createChecksumStream = ({ expectedChecksum, checksum, source, checksumSourceLocation, base64Encoder, }) => {
8
+ var _a, _b;
9
+ if (!(0, stream_type_check_1.isReadableStream)(source)) {
10
+ throw new Error(`@smithy/util-stream: unsupported source type ${(_b = (_a = source === null || source === void 0 ? void 0 : source.constructor) === null || _a === void 0 ? void 0 : _a.name) !== null && _b !== void 0 ? _b : source} in ChecksumStream.`);
11
+ }
12
+ const encoder = base64Encoder !== null && base64Encoder !== void 0 ? base64Encoder : util_base64_1.toBase64;
13
+ if (typeof TransformStream !== "function") {
14
+ throw new Error("@smithy/util-stream: unable to instantiate ChecksumStream because API unavailable: ReadableStream/TransformStream.");
15
+ }
16
+ const transform = new TransformStream({
17
+ start() { },
18
+ async transform(chunk, controller) {
19
+ checksum.update(chunk);
20
+ controller.enqueue(chunk);
21
+ },
22
+ async flush(controller) {
23
+ const digest = await checksum.digest();
24
+ const received = encoder(digest);
25
+ if (expectedChecksum !== received) {
26
+ const error = new Error(`Checksum mismatch: expected "${expectedChecksum}" but received "${received}"` +
27
+ ` in response header "${checksumSourceLocation}".`);
28
+ controller.error(error);
29
+ }
30
+ else {
31
+ controller.terminate();
32
+ }
33
+ },
34
+ });
35
+ source.pipeThrough(transform);
36
+ const readable = transform.readable;
37
+ Object.setPrototypeOf(readable, ChecksumStream_browser_1.ChecksumStream.prototype);
38
+ return readable;
39
+ };
40
+ exports.createChecksumStream = createChecksumStream;
@@ -0,0 +1,13 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.createChecksumStream = void 0;
4
+ const stream_type_check_1 = require("../stream-type-check");
5
+ const ChecksumStream_1 = require("./ChecksumStream");
6
+ const createChecksumStream_browser_1 = require("./createChecksumStream.browser");
7
+ function createChecksumStream(init) {
8
+ if (typeof ReadableStream === "function" && (0, stream_type_check_1.isReadableStream)(init.source)) {
9
+ return (0, createChecksumStream_browser_1.createChecksumStream)(init);
10
+ }
11
+ return new ChecksumStream_1.ChecksumStream(init);
12
+ }
13
+ exports.createChecksumStream = createChecksumStream;
@@ -82,6 +82,8 @@ __reExport(src_exports, require("././sdk-stream-mixin"), module.exports);
82
82
  __reExport(src_exports, require("././splitStream"), module.exports);
83
83
  __reExport(src_exports, require("././headStream"), module.exports);
84
84
  __reExport(src_exports, require("././stream-type-check"), module.exports);
85
+ __reExport(src_exports, require("./checksum/createChecksumStream"), module.exports);
86
+ __reExport(src_exports, require("./checksum/ChecksumStream"), module.exports);
85
87
  // Annotate the CommonJS export names for ESM import in node:
86
88
 
87
89
  0 && (module.exports = {
@@ -90,6 +92,9 @@ __reExport(src_exports, require("././stream-type-check"), module.exports);
90
92
  sdkStreamMixin,
91
93
  splitStream,
92
94
  headStream,
93
- isReadableStream
95
+ isReadableStream,
96
+ isBlob,
97
+ createChecksumStream,
98
+ ChecksumStream
94
99
  });
95
100
 
@@ -4,7 +4,6 @@ exports.sdkStreamMixin = void 0;
4
4
  const node_http_handler_1 = require("@smithy/node-http-handler");
5
5
  const util_buffer_from_1 = require("@smithy/util-buffer-from");
6
6
  const stream_1 = require("stream");
7
- const util_1 = require("util");
8
7
  const sdk_stream_mixin_browser_1 = require("./sdk-stream-mixin.browser");
9
8
  const ERR_MSG_STREAM_HAS_BEEN_TRANSFORMED = "The stream has already been transformed.";
10
9
  const sdkStreamMixin = (stream) => {
@@ -34,7 +33,7 @@ const sdkStreamMixin = (stream) => {
34
33
  return (0, util_buffer_from_1.fromArrayBuffer)(buf.buffer, buf.byteOffset, buf.byteLength).toString(encoding);
35
34
  }
36
35
  else {
37
- const decoder = new util_1.TextDecoder(encoding);
36
+ const decoder = new TextDecoder(encoding);
38
37
  return decoder.decode(buf);
39
38
  }
40
39
  },
@@ -5,7 +5,7 @@ const stream_1 = require("stream");
5
5
  const splitStream_browser_1 = require("./splitStream.browser");
6
6
  const stream_type_check_1 = require("./stream-type-check");
7
7
  async function splitStream(stream) {
8
- if ((0, stream_type_check_1.isReadableStream)(stream)) {
8
+ if ((0, stream_type_check_1.isReadableStream)(stream) || (0, stream_type_check_1.isBlob)(stream)) {
9
9
  return (0, splitStream_browser_1.splitStream)(stream);
10
10
  }
11
11
  const stream1 = new stream_1.PassThrough();
@@ -1,9 +1,14 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.isReadableStream = void 0;
3
+ exports.isBlob = exports.isReadableStream = void 0;
4
4
  const isReadableStream = (stream) => {
5
5
  var _a;
6
6
  return typeof ReadableStream === "function" &&
7
7
  (((_a = stream === null || stream === void 0 ? void 0 : stream.constructor) === null || _a === void 0 ? void 0 : _a.name) === ReadableStream.name || stream instanceof ReadableStream);
8
8
  };
9
9
  exports.isReadableStream = isReadableStream;
10
+ const isBlob = (blob) => {
11
+ var _a;
12
+ return typeof Blob === "function" && (((_a = blob === null || blob === void 0 ? void 0 : blob.constructor) === null || _a === void 0 ? void 0 : _a.name) === Blob.name || blob instanceof Blob);
13
+ };
14
+ exports.isBlob = isBlob;
@@ -0,0 +1,3 @@
1
+ const ReadableStreamRef = typeof ReadableStream === "function" ? ReadableStream : function () { };
2
+ export class ChecksumStream extends ReadableStreamRef {
3
+ }
@@ -0,0 +1,44 @@
1
+ import { toBase64 } from "@smithy/util-base64";
2
+ import { Duplex } from "stream";
3
+ export class ChecksumStream extends Duplex {
4
+ constructor({ expectedChecksum, checksum, source, checksumSourceLocation, base64Encoder, }) {
5
+ super();
6
+ if (typeof source.pipe === "function") {
7
+ this.source = source;
8
+ }
9
+ else {
10
+ throw new Error(`@smithy/util-stream: unsupported source type ${source?.constructor?.name ?? source} in ChecksumStream.`);
11
+ }
12
+ this.base64Encoder = base64Encoder ?? toBase64;
13
+ this.expectedChecksum = expectedChecksum;
14
+ this.checksum = checksum;
15
+ this.checksumSourceLocation = checksumSourceLocation;
16
+ this.source.pipe(this);
17
+ }
18
+ _read(size) { }
19
+ _write(chunk, encoding, callback) {
20
+ try {
21
+ this.checksum.update(chunk);
22
+ this.push(chunk);
23
+ }
24
+ catch (e) {
25
+ return callback(e);
26
+ }
27
+ return callback();
28
+ }
29
+ async _final(callback) {
30
+ try {
31
+ const digest = await this.checksum.digest();
32
+ const received = this.base64Encoder(digest);
33
+ if (this.expectedChecksum !== received) {
34
+ return callback(new Error(`Checksum mismatch: expected "${this.expectedChecksum}" but received "${received}"` +
35
+ ` in response header "${this.checksumSourceLocation}".`));
36
+ }
37
+ }
38
+ catch (e) {
39
+ return callback(e);
40
+ }
41
+ this.push(null);
42
+ return callback();
43
+ }
44
+ }
@@ -0,0 +1,35 @@
1
+ import { toBase64 } from "@smithy/util-base64";
2
+ import { isReadableStream } from "../stream-type-check";
3
+ import { ChecksumStream } from "./ChecksumStream.browser";
4
+ export const createChecksumStream = ({ expectedChecksum, checksum, source, checksumSourceLocation, base64Encoder, }) => {
5
+ if (!isReadableStream(source)) {
6
+ throw new Error(`@smithy/util-stream: unsupported source type ${source?.constructor?.name ?? source} in ChecksumStream.`);
7
+ }
8
+ const encoder = base64Encoder ?? toBase64;
9
+ if (typeof TransformStream !== "function") {
10
+ throw new Error("@smithy/util-stream: unable to instantiate ChecksumStream because API unavailable: ReadableStream/TransformStream.");
11
+ }
12
+ const transform = new TransformStream({
13
+ start() { },
14
+ async transform(chunk, controller) {
15
+ checksum.update(chunk);
16
+ controller.enqueue(chunk);
17
+ },
18
+ async flush(controller) {
19
+ const digest = await checksum.digest();
20
+ const received = encoder(digest);
21
+ if (expectedChecksum !== received) {
22
+ const error = new Error(`Checksum mismatch: expected "${expectedChecksum}" but received "${received}"` +
23
+ ` in response header "${checksumSourceLocation}".`);
24
+ controller.error(error);
25
+ }
26
+ else {
27
+ controller.terminate();
28
+ }
29
+ },
30
+ });
31
+ source.pipeThrough(transform);
32
+ const readable = transform.readable;
33
+ Object.setPrototypeOf(readable, ChecksumStream.prototype);
34
+ return readable;
35
+ };
@@ -0,0 +1,9 @@
1
+ import { isReadableStream } from "../stream-type-check";
2
+ import { ChecksumStream } from "./ChecksumStream";
3
+ import { createChecksumStream as createChecksumStreamWeb } from "./createChecksumStream.browser";
4
+ export function createChecksumStream(init) {
5
+ if (typeof ReadableStream === "function" && isReadableStream(init.source)) {
6
+ return createChecksumStreamWeb(init);
7
+ }
8
+ return new ChecksumStream(init);
9
+ }
@@ -4,3 +4,5 @@ export * from "./sdk-stream-mixin";
4
4
  export * from "./splitStream";
5
5
  export * from "./headStream";
6
6
  export * from "./stream-type-check";
7
+ export * from "./checksum/createChecksumStream";
8
+ export * from "./checksum/ChecksumStream";
@@ -1,7 +1,6 @@
1
1
  import { streamCollector } from "@smithy/node-http-handler";
2
2
  import { fromArrayBuffer } from "@smithy/util-buffer-from";
3
3
  import { Readable } from "stream";
4
- import { TextDecoder } from "util";
5
4
  import { sdkStreamMixin as sdkStreamMixinReadableStream } from "./sdk-stream-mixin.browser";
6
5
  const ERR_MSG_STREAM_HAS_BEEN_TRANSFORMED = "The stream has already been transformed.";
7
6
  export const sdkStreamMixin = (stream) => {
@@ -1,8 +1,8 @@
1
1
  import { PassThrough } from "stream";
2
2
  import { splitStream as splitWebStream } from "./splitStream.browser";
3
- import { isReadableStream } from "./stream-type-check";
3
+ import { isBlob, isReadableStream } from "./stream-type-check";
4
4
  export async function splitStream(stream) {
5
- if (isReadableStream(stream)) {
5
+ if (isReadableStream(stream) || isBlob(stream)) {
6
6
  return splitWebStream(stream);
7
7
  }
8
8
  const stream1 = new PassThrough();
@@ -1,2 +1,5 @@
1
1
  export const isReadableStream = (stream) => typeof ReadableStream === "function" &&
2
2
  (stream?.constructor?.name === ReadableStream.name || stream instanceof ReadableStream);
3
+ export const isBlob = (blob) => {
4
+ return typeof Blob === "function" && (blob?.constructor?.name === Blob.name || blob instanceof Blob);
5
+ };
@@ -0,0 +1,37 @@
1
+ import { Checksum, Encoder } from "@smithy/types";
2
+ /**
3
+ * @internal
4
+ */
5
+ export interface ChecksumStreamInit {
6
+ /**
7
+ * Base64 value of the expected checksum.
8
+ */
9
+ expectedChecksum: string;
10
+ /**
11
+ * For error messaging, the location from which the checksum value was read.
12
+ */
13
+ checksumSourceLocation: string;
14
+ /**
15
+ * The checksum calculator.
16
+ */
17
+ checksum: Checksum;
18
+ /**
19
+ * The stream to be checked.
20
+ */
21
+ source: ReadableStream;
22
+ /**
23
+ * Optional base 64 encoder if calling from a request context.
24
+ */
25
+ base64Encoder?: Encoder;
26
+ }
27
+ declare const ChecksumStream_base: any;
28
+ /**
29
+ * This stub exists so that the readable returned by createChecksumStream
30
+ * identifies as "ChecksumStream" in alignment with the Node.js
31
+ * implementation.
32
+ *
33
+ * @extends ReadableStream
34
+ */
35
+ export declare class ChecksumStream extends ChecksumStream_base {
36
+ }
37
+ export {};