@nocobase/plugin-file-manager 1.5.11 → 1.5.13

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 (489) hide show
  1. package/dist/externalVersion.js +6 -6
  2. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/auth/httpAuthSchemeProvider.js +127 -0
  3. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/endpoint/endpointResolver.js +24 -3
  4. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/endpoint/ruleset.js +3 -3
  5. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/index.js +34520 -31
  6. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/runtimeConfig.browser.js +2 -2
  7. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/runtimeConfig.js +20 -11
  8. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/runtimeConfig.shared.js +15 -0
  9. package/dist/node_modules/@aws-sdk/client-s3/dist-es/S3.js +6 -0
  10. package/dist/node_modules/@aws-sdk/client-s3/dist-es/S3Client.js +26 -14
  11. package/dist/node_modules/@aws-sdk/client-s3/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
  12. package/dist/node_modules/@aws-sdk/client-s3/dist-es/auth/httpAuthSchemeProvider.js +123 -0
  13. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/AbortMultipartUploadCommand.js +22 -49
  14. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/CompleteMultipartUploadCommand.js +22 -51
  15. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/CopyObjectCommand.js +24 -50
  16. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/CreateBucketCommand.js +24 -51
  17. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/CreateBucketMetadataTableConfigurationCommand.js +31 -0
  18. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/CreateMultipartUploadCommand.js +23 -50
  19. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/CreateSessionCommand.js +23 -49
  20. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketAnalyticsConfigurationCommand.js +20 -49
  21. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketCommand.js +20 -49
  22. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketCorsCommand.js +20 -49
  23. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketEncryptionCommand.js +20 -49
  24. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketIntelligentTieringConfigurationCommand.js +20 -49
  25. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketInventoryConfigurationCommand.js +20 -49
  26. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketLifecycleCommand.js +20 -49
  27. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketMetadataTableConfigurationCommand.js +26 -0
  28. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketMetricsConfigurationCommand.js +20 -49
  29. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketOwnershipControlsCommand.js +20 -49
  30. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketPolicyCommand.js +20 -49
  31. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketReplicationCommand.js +20 -49
  32. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketTaggingCommand.js +20 -49
  33. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketWebsiteCommand.js +20 -49
  34. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteObjectCommand.js +22 -49
  35. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteObjectTaggingCommand.js +21 -48
  36. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteObjectsCommand.js +24 -52
  37. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeletePublicAccessBlockCommand.js +20 -49
  38. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketAccelerateConfigurationCommand.js +22 -49
  39. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketAclCommand.js +22 -49
  40. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketAnalyticsConfigurationCommand.js +22 -49
  41. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketCorsCommand.js +22 -49
  42. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketEncryptionCommand.js +22 -49
  43. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketIntelligentTieringConfigurationCommand.js +22 -49
  44. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketInventoryConfigurationCommand.js +22 -49
  45. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketLifecycleConfigurationCommand.js +22 -49
  46. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketLocationCommand.js +22 -49
  47. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketLoggingCommand.js +22 -49
  48. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketMetadataTableConfigurationCommand.js +28 -0
  49. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketMetricsConfigurationCommand.js +22 -49
  50. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketNotificationConfigurationCommand.js +22 -49
  51. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketOwnershipControlsCommand.js +22 -49
  52. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketPolicyCommand.js +22 -49
  53. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketPolicyStatusCommand.js +22 -49
  54. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketReplicationCommand.js +22 -49
  55. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketRequestPaymentCommand.js +22 -49
  56. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketTaggingCommand.js +22 -49
  57. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketVersioningCommand.js +22 -49
  58. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketWebsiteCommand.js +22 -49
  59. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetObjectAclCommand.js +22 -49
  60. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetObjectAttributesCommand.js +22 -49
  61. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetObjectCommand.js +26 -54
  62. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetObjectLegalHoldCommand.js +21 -48
  63. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetObjectLockConfigurationCommand.js +21 -48
  64. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetObjectRetentionCommand.js +21 -48
  65. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetObjectTaggingCommand.js +21 -48
  66. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetObjectTorrentCommand.js +19 -48
  67. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetPublicAccessBlockCommand.js +22 -49
  68. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/HeadBucketCommand.js +21 -48
  69. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/HeadObjectCommand.js +24 -50
  70. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/ListBucketAnalyticsConfigurationsCommand.js +22 -49
  71. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/ListBucketIntelligentTieringConfigurationsCommand.js +22 -49
  72. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/ListBucketInventoryConfigurationsCommand.js +22 -49
  73. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/ListBucketMetricsConfigurationsCommand.js +21 -48
  74. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/ListBucketsCommand.js +18 -47
  75. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/ListDirectoryBucketsCommand.js +21 -48
  76. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/ListMultipartUploadsCommand.js +22 -49
  77. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/ListObjectVersionsCommand.js +22 -49
  78. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/ListObjectsCommand.js +22 -49
  79. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/ListObjectsV2Command.js +22 -49
  80. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/ListPartsCommand.js +23 -50
  81. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketAccelerateConfigurationCommand.js +23 -53
  82. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketAclCommand.js +23 -53
  83. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketAnalyticsConfigurationCommand.js +20 -49
  84. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketCorsCommand.js +23 -53
  85. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketEncryptionCommand.js +24 -54
  86. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketIntelligentTieringConfigurationCommand.js +20 -49
  87. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketInventoryConfigurationCommand.js +21 -50
  88. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketLifecycleConfigurationCommand.js +25 -53
  89. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketLoggingCommand.js +23 -53
  90. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketMetricsConfigurationCommand.js +20 -49
  91. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketNotificationConfigurationCommand.js +20 -49
  92. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketOwnershipControlsCommand.js +23 -50
  93. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketPolicyCommand.js +23 -53
  94. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketReplicationCommand.js +23 -53
  95. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketRequestPaymentCommand.js +23 -53
  96. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketTaggingCommand.js +23 -53
  97. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketVersioningCommand.js +23 -53
  98. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketWebsiteCommand.js +23 -53
  99. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutObjectAclCommand.js +25 -53
  100. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutObjectCommand.js +27 -56
  101. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutObjectLegalHoldCommand.js +24 -52
  102. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutObjectLockConfigurationCommand.js +24 -52
  103. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutObjectRetentionCommand.js +24 -52
  104. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutObjectTaggingCommand.js +24 -52
  105. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutPublicAccessBlockCommand.js +23 -53
  106. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/RestoreObjectCommand.js +24 -52
  107. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/SelectObjectContentCommand.js +26 -52
  108. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/UploadPartCommand.js +26 -54
  109. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/UploadPartCopyCommand.js +22 -50
  110. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/WriteGetObjectResponseCommand.js +19 -48
  111. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/index.js +3 -0
  112. package/dist/node_modules/@aws-sdk/client-s3/dist-es/endpoint/EndpointParameters.js +12 -0
  113. package/dist/node_modules/@aws-sdk/client-s3/dist-es/endpoint/endpointResolver.js +24 -3
  114. package/dist/node_modules/@aws-sdk/client-s3/dist-es/endpoint/ruleset.js +3 -3
  115. package/dist/node_modules/@aws-sdk/client-s3/dist-es/index.js +0 -1
  116. package/dist/node_modules/@aws-sdk/client-s3/dist-es/models/models_0.js +41 -56
  117. package/dist/node_modules/@aws-sdk/client-s3/dist-es/models/models_1.js +63 -2
  118. package/dist/node_modules/@aws-sdk/client-s3/dist-es/pagination/ListBucketsPaginator.js +4 -0
  119. package/dist/node_modules/@aws-sdk/client-s3/dist-es/pagination/ListDirectoryBucketsPaginator.js +2 -23
  120. package/dist/node_modules/@aws-sdk/client-s3/dist-es/pagination/ListObjectsV2Paginator.js +2 -23
  121. package/dist/node_modules/@aws-sdk/client-s3/dist-es/pagination/ListPartsPaginator.js +2 -23
  122. package/dist/node_modules/@aws-sdk/client-s3/dist-es/pagination/index.js +1 -0
  123. package/dist/node_modules/@aws-sdk/client-s3/dist-es/protocols/Aws_restXml.js +4054 -5980
  124. package/dist/node_modules/@aws-sdk/client-s3/dist-es/runtimeConfig.browser.js +3 -3
  125. package/dist/node_modules/@aws-sdk/client-s3/dist-es/runtimeConfig.js +22 -13
  126. package/dist/node_modules/@aws-sdk/client-s3/dist-es/runtimeConfig.shared.js +15 -0
  127. package/dist/node_modules/@aws-sdk/client-s3/dist-es/runtimeExtensions.js +3 -0
  128. package/dist/node_modules/@aws-sdk/client-s3/dist-types/S3.d.ts +24 -1
  129. package/dist/node_modules/@aws-sdk/client-s3/dist-types/S3Client.d.ts +46 -23
  130. package/dist/node_modules/@aws-sdk/client-s3/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
  131. package/dist/node_modules/@aws-sdk/client-s3/dist-types/auth/httpAuthSchemeProvider.d.ts +69 -0
  132. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/AbortMultipartUploadCommand.d.ts +48 -32
  133. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/CompleteMultipartUploadCommand.d.ts +85 -64
  134. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/CopyObjectCommand.d.ts +130 -84
  135. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/CreateBucketCommand.d.ts +113 -90
  136. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/CreateBucketMetadataTableConfigurationCommand.d.ts +134 -0
  137. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/CreateMultipartUploadCommand.d.ts +152 -102
  138. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/CreateSessionCommand.d.ts +92 -41
  139. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketAnalyticsConfigurationCommand.d.ts +22 -24
  140. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketCommand.d.ts +35 -29
  141. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketCorsCommand.d.ts +22 -24
  142. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketEncryptionCommand.d.ts +68 -35
  143. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketIntelligentTieringConfigurationCommand.d.ts +22 -24
  144. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketInventoryConfigurationCommand.d.ts +22 -24
  145. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketLifecycleCommand.d.ts +74 -32
  146. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketMetadataTableConfigurationCommand.d.ts +95 -0
  147. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketMetricsConfigurationCommand.d.ts +22 -24
  148. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketOwnershipControlsCommand.d.ts +22 -24
  149. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketPolicyCommand.d.ts +50 -47
  150. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketReplicationCommand.d.ts +22 -24
  151. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketTaggingCommand.d.ts +22 -24
  152. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketWebsiteCommand.d.ts +22 -24
  153. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteObjectCommand.d.ts +34 -31
  154. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteObjectTaggingCommand.d.ts +33 -35
  155. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteObjectsCommand.d.ts +62 -50
  156. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeletePublicAccessBlockCommand.d.ts +22 -24
  157. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketAccelerateConfigurationCommand.d.ts +22 -24
  158. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketAclCommand.d.ts +22 -24
  159. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketAnalyticsConfigurationCommand.d.ts +22 -24
  160. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketCorsCommand.d.ts +22 -24
  161. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketEncryptionCommand.d.ts +69 -34
  162. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketIntelligentTieringConfigurationCommand.d.ts +22 -24
  163. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketInventoryConfigurationCommand.d.ts +22 -24
  164. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketLifecycleConfigurationCommand.d.ts +85 -41
  165. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketLocationCommand.d.ts +23 -25
  166. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketLoggingCommand.d.ts +22 -24
  167. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketMetadataTableConfigurationCommand.d.ts +111 -0
  168. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketMetricsConfigurationCommand.d.ts +22 -24
  169. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketNotificationConfigurationCommand.d.ts +22 -24
  170. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketOwnershipControlsCommand.d.ts +22 -24
  171. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketPolicyCommand.d.ts +55 -47
  172. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketPolicyStatusCommand.d.ts +22 -24
  173. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketReplicationCommand.d.ts +23 -25
  174. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketRequestPaymentCommand.d.ts +22 -24
  175. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketTaggingCommand.d.ts +22 -24
  176. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketVersioningCommand.d.ts +22 -24
  177. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketWebsiteCommand.d.ts +22 -24
  178. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectAclCommand.d.ts +22 -24
  179. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectAttributesCommand.d.ts +92 -66
  180. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectCommand.d.ts +111 -84
  181. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectLegalHoldCommand.d.ts +22 -24
  182. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectLockConfigurationCommand.d.ts +22 -24
  183. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectRetentionCommand.d.ts +22 -24
  184. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectTaggingCommand.d.ts +41 -43
  185. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectTorrentCommand.d.ts +23 -25
  186. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetPublicAccessBlockCommand.d.ts +22 -24
  187. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/HeadBucketCommand.d.ts +62 -45
  188. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/HeadObjectCommand.d.ts +101 -65
  189. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/ListBucketAnalyticsConfigurationsCommand.d.ts +22 -24
  190. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/ListBucketIntelligentTieringConfigurationsCommand.d.ts +22 -24
  191. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/ListBucketInventoryConfigurationsCommand.d.ts +22 -24
  192. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/ListBucketMetricsConfigurationsCommand.d.ts +22 -24
  193. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/ListBucketsCommand.d.ts +43 -30
  194. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/ListDirectoryBucketsCommand.d.ts +37 -28
  195. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/ListMultipartUploadsCommand.d.ts +108 -89
  196. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/ListObjectVersionsCommand.d.ts +25 -26
  197. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/ListObjectsCommand.d.ts +24 -25
  198. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/ListObjectsV2Command.d.ts +60 -37
  199. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/ListPartsCommand.d.ts +49 -43
  200. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketAccelerateConfigurationCommand.d.ts +23 -25
  201. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketAclCommand.d.ts +23 -25
  202. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketAnalyticsConfigurationCommand.d.ts +22 -24
  203. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketCorsCommand.d.ts +24 -26
  204. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketEncryptionCommand.d.ts +133 -42
  205. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketIntelligentTieringConfigurationCommand.d.ts +23 -25
  206. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketInventoryConfigurationCommand.d.ts +23 -25
  207. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketLifecycleConfigurationCommand.d.ts +116 -78
  208. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketLoggingCommand.d.ts +24 -26
  209. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketMetricsConfigurationCommand.d.ts +23 -25
  210. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketNotificationConfigurationCommand.d.ts +23 -25
  211. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketOwnershipControlsCommand.d.ts +23 -25
  212. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketPolicyCommand.d.ts +57 -49
  213. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketReplicationCommand.d.ts +26 -29
  214. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketRequestPaymentCommand.d.ts +23 -25
  215. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketTaggingCommand.d.ts +23 -25
  216. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketVersioningCommand.d.ts +31 -25
  217. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketWebsiteCommand.d.ts +23 -25
  218. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutObjectAclCommand.d.ts +23 -25
  219. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutObjectCommand.d.ts +158 -93
  220. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutObjectLegalHoldCommand.d.ts +23 -25
  221. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutObjectLockConfigurationCommand.d.ts +25 -27
  222. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutObjectRetentionCommand.d.ts +23 -25
  223. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutObjectTaggingCommand.d.ts +23 -25
  224. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutPublicAccessBlockCommand.d.ts +23 -25
  225. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/RestoreObjectCommand.d.ts +24 -85
  226. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/SelectObjectContentCommand.d.ts +23 -25
  227. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/UploadPartCommand.d.ts +95 -68
  228. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/UploadPartCopyCommand.d.ts +132 -85
  229. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/WriteGetObjectResponseCommand.d.ts +24 -25
  230. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/index.d.ts +3 -0
  231. package/dist/node_modules/@aws-sdk/client-s3/dist-types/endpoint/EndpointParameters.d.ts +43 -0
  232. package/dist/node_modules/@aws-sdk/client-s3/dist-types/extensionConfiguration.d.ts +2 -1
  233. package/dist/node_modules/@aws-sdk/client-s3/dist-types/index.d.ts +2 -3
  234. package/dist/node_modules/@aws-sdk/client-s3/dist-types/models/S3ServiceException.d.ts +2 -1
  235. package/dist/node_modules/@aws-sdk/client-s3/dist-types/models/models_0.d.ts +3842 -3109
  236. package/dist/node_modules/@aws-sdk/client-s3/dist-types/models/models_1.d.ts +1620 -883
  237. package/dist/node_modules/@aws-sdk/client-s3/dist-types/pagination/ListBucketsPaginator.d.ts +7 -0
  238. package/dist/node_modules/@aws-sdk/client-s3/dist-types/pagination/ListDirectoryBucketsPaginator.d.ts +1 -1
  239. package/dist/node_modules/@aws-sdk/client-s3/dist-types/pagination/ListObjectsV2Paginator.d.ts +1 -1
  240. package/dist/node_modules/@aws-sdk/client-s3/dist-types/pagination/ListPartsPaginator.d.ts +1 -1
  241. package/dist/node_modules/@aws-sdk/client-s3/dist-types/pagination/index.d.ts +1 -0
  242. package/dist/node_modules/@aws-sdk/client-s3/dist-types/protocols/Aws_restXml.d.ts +27 -0
  243. package/dist/node_modules/@aws-sdk/client-s3/dist-types/runtimeConfig.browser.d.ts +21 -13
  244. package/dist/node_modules/@aws-sdk/client-s3/dist-types/runtimeConfig.d.ts +20 -12
  245. package/dist/node_modules/@aws-sdk/client-s3/dist-types/runtimeConfig.native.d.ts +25 -17
  246. package/dist/node_modules/@aws-sdk/client-s3/dist-types/runtimeConfig.shared.d.ts +4 -2
  247. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/S3.d.ts +71 -0
  248. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/S3Client.d.ts +47 -24
  249. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +32 -0
  250. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +55 -0
  251. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/AbortMultipartUploadCommand.d.ts +33 -24
  252. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/CompleteMultipartUploadCommand.d.ts +33 -24
  253. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/CopyObjectCommand.d.ts +35 -23
  254. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/CreateBucketCommand.d.ts +35 -23
  255. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/CreateBucketMetadataTableConfigurationCommand.d.ts +47 -0
  256. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/CreateMultipartUploadCommand.d.ts +33 -24
  257. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/CreateSessionCommand.d.ts +35 -23
  258. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketAnalyticsConfigurationCommand.d.ts +33 -24
  259. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketCommand.d.ts +35 -23
  260. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketCorsCommand.d.ts +35 -23
  261. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketEncryptionCommand.d.ts +33 -24
  262. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketIntelligentTieringConfigurationCommand.d.ts +33 -24
  263. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketInventoryConfigurationCommand.d.ts +33 -24
  264. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketLifecycleCommand.d.ts +33 -24
  265. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketMetadataTableConfigurationCommand.d.ts +47 -0
  266. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketMetricsConfigurationCommand.d.ts +33 -24
  267. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketOwnershipControlsCommand.d.ts +33 -24
  268. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketPolicyCommand.d.ts +35 -23
  269. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketReplicationCommand.d.ts +33 -24
  270. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketTaggingCommand.d.ts +35 -23
  271. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketWebsiteCommand.d.ts +35 -23
  272. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteObjectCommand.d.ts +35 -23
  273. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteObjectTaggingCommand.d.ts +35 -23
  274. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteObjectsCommand.d.ts +35 -23
  275. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeletePublicAccessBlockCommand.d.ts +33 -24
  276. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketAccelerateConfigurationCommand.d.ts +33 -24
  277. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketAclCommand.d.ts +35 -23
  278. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketAnalyticsConfigurationCommand.d.ts +33 -24
  279. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketCorsCommand.d.ts +35 -23
  280. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketEncryptionCommand.d.ts +35 -23
  281. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketIntelligentTieringConfigurationCommand.d.ts +33 -24
  282. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketInventoryConfigurationCommand.d.ts +33 -24
  283. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketLifecycleConfigurationCommand.d.ts +33 -24
  284. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketLocationCommand.d.ts +35 -23
  285. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketLoggingCommand.d.ts +35 -23
  286. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketMetadataTableConfigurationCommand.d.ts +51 -0
  287. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketMetricsConfigurationCommand.d.ts +33 -24
  288. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketNotificationConfigurationCommand.d.ts +33 -24
  289. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketOwnershipControlsCommand.d.ts +33 -24
  290. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketPolicyCommand.d.ts +35 -23
  291. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketPolicyStatusCommand.d.ts +33 -24
  292. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketReplicationCommand.d.ts +33 -24
  293. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketRequestPaymentCommand.d.ts +33 -24
  294. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketTaggingCommand.d.ts +35 -23
  295. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketVersioningCommand.d.ts +35 -23
  296. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketWebsiteCommand.d.ts +35 -23
  297. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetObjectAclCommand.d.ts +35 -23
  298. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetObjectAttributesCommand.d.ts +35 -23
  299. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetObjectCommand.d.ts +34 -20
  300. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetObjectLegalHoldCommand.d.ts +35 -23
  301. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetObjectLockConfigurationCommand.d.ts +33 -24
  302. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetObjectRetentionCommand.d.ts +35 -23
  303. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetObjectTaggingCommand.d.ts +35 -23
  304. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetObjectTorrentCommand.d.ts +34 -20
  305. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetPublicAccessBlockCommand.d.ts +33 -24
  306. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/HeadBucketCommand.d.ts +35 -23
  307. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/HeadObjectCommand.d.ts +35 -23
  308. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/ListBucketAnalyticsConfigurationsCommand.d.ts +33 -24
  309. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/ListBucketIntelligentTieringConfigurationsCommand.d.ts +33 -24
  310. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/ListBucketInventoryConfigurationsCommand.d.ts +33 -24
  311. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/ListBucketMetricsConfigurationsCommand.d.ts +33 -24
  312. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/ListBucketsCommand.d.ts +37 -25
  313. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/ListDirectoryBucketsCommand.d.ts +33 -24
  314. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/ListMultipartUploadsCommand.d.ts +33 -24
  315. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/ListObjectVersionsCommand.d.ts +35 -23
  316. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/ListObjectsCommand.d.ts +35 -23
  317. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/ListObjectsV2Command.d.ts +35 -23
  318. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/ListPartsCommand.d.ts +35 -23
  319. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketAccelerateConfigurationCommand.d.ts +33 -24
  320. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketAclCommand.d.ts +35 -23
  321. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketAnalyticsConfigurationCommand.d.ts +33 -24
  322. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketCorsCommand.d.ts +36 -24
  323. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketEncryptionCommand.d.ts +36 -24
  324. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketIntelligentTieringConfigurationCommand.d.ts +34 -25
  325. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketInventoryConfigurationCommand.d.ts +34 -25
  326. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketLifecycleConfigurationCommand.d.ts +38 -25
  327. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketLoggingCommand.d.ts +36 -24
  328. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketMetricsConfigurationCommand.d.ts +34 -25
  329. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketNotificationConfigurationCommand.d.ts +34 -25
  330. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketOwnershipControlsCommand.d.ts +34 -25
  331. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketPolicyCommand.d.ts +36 -24
  332. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketReplicationCommand.d.ts +33 -24
  333. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketRequestPaymentCommand.d.ts +33 -24
  334. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketTaggingCommand.d.ts +35 -23
  335. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketVersioningCommand.d.ts +35 -23
  336. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketWebsiteCommand.d.ts +35 -23
  337. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutObjectAclCommand.d.ts +35 -23
  338. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutObjectCommand.d.ts +34 -20
  339. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutObjectLegalHoldCommand.d.ts +35 -23
  340. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutObjectLockConfigurationCommand.d.ts +33 -24
  341. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutObjectRetentionCommand.d.ts +35 -23
  342. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutObjectTaggingCommand.d.ts +35 -23
  343. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutPublicAccessBlockCommand.d.ts +33 -24
  344. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/RestoreObjectCommand.d.ts +35 -23
  345. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/SelectObjectContentCommand.d.ts +35 -23
  346. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/UploadPartCommand.d.ts +34 -20
  347. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/UploadPartCopyCommand.d.ts +35 -23
  348. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/WriteGetObjectResponseCommand.d.ts +32 -21
  349. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/index.d.ts +3 -0
  350. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +43 -0
  351. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/extensionConfiguration.d.ts +3 -1
  352. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/index.d.ts +0 -1
  353. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/models/S3ServiceException.d.ts +2 -1
  354. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/models/models_0.d.ts +878 -916
  355. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/models/models_1.d.ts +404 -271
  356. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/pagination/ListBucketsPaginator.d.ts +11 -0
  357. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/pagination/ListDirectoryBucketsPaginator.d.ts +3 -3
  358. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/pagination/ListObjectsV2Paginator.d.ts +3 -3
  359. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/pagination/ListPartsPaginator.d.ts +3 -3
  360. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/pagination/index.d.ts +1 -0
  361. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/protocols/Aws_restXml.d.ts +36 -0
  362. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/runtimeConfig.browser.d.ts +48 -31
  363. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/runtimeConfig.d.ts +48 -31
  364. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/runtimeConfig.native.d.ts +75 -39
  365. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -2
  366. package/dist/node_modules/@aws-sdk/client-s3/package.json +1 -1
  367. package/dist/node_modules/mime-match/package.json +1 -1
  368. package/dist/node_modules/mkdirp/package.json +1 -1
  369. package/dist/node_modules/multer-aliyun-oss/package.json +1 -1
  370. package/dist/node_modules/multer-cos/package.json +1 -1
  371. package/dist/node_modules/multer-s3/index.js +40813 -33
  372. package/dist/node_modules/multer-s3/package.json +1 -1
  373. package/package.json +3 -3
  374. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/S3.js +0 -201
  375. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/S3Client.js +0 -53
  376. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/AbortMultipartUploadCommand.js +0 -59
  377. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/CompleteMultipartUploadCommand.js +0 -64
  378. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/CopyObjectCommand.js +0 -63
  379. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/CreateBucketCommand.js +0 -62
  380. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/CreateMultipartUploadCommand.js +0 -62
  381. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/CreateSessionCommand.js +0 -59
  382. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/DeleteBucketAnalyticsConfigurationCommand.js +0 -59
  383. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/DeleteBucketCommand.js +0 -59
  384. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/DeleteBucketCorsCommand.js +0 -59
  385. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/DeleteBucketEncryptionCommand.js +0 -59
  386. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/DeleteBucketIntelligentTieringConfigurationCommand.js +0 -59
  387. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/DeleteBucketInventoryConfigurationCommand.js +0 -59
  388. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/DeleteBucketLifecycleCommand.js +0 -59
  389. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/DeleteBucketMetricsConfigurationCommand.js +0 -59
  390. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/DeleteBucketOwnershipControlsCommand.js +0 -59
  391. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/DeleteBucketPolicyCommand.js +0 -59
  392. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/DeleteBucketReplicationCommand.js +0 -59
  393. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/DeleteBucketTaggingCommand.js +0 -59
  394. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/DeleteBucketWebsiteCommand.js +0 -59
  395. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/DeleteObjectCommand.js +0 -59
  396. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/DeleteObjectTaggingCommand.js +0 -58
  397. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/DeleteObjectsCommand.js +0 -64
  398. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/DeletePublicAccessBlockCommand.js +0 -59
  399. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetBucketAccelerateConfigurationCommand.js +0 -59
  400. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetBucketAclCommand.js +0 -59
  401. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetBucketAnalyticsConfigurationCommand.js +0 -59
  402. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetBucketCorsCommand.js +0 -59
  403. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetBucketEncryptionCommand.js +0 -60
  404. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetBucketIntelligentTieringConfigurationCommand.js +0 -59
  405. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetBucketInventoryConfigurationCommand.js +0 -60
  406. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetBucketLifecycleConfigurationCommand.js +0 -59
  407. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetBucketLocationCommand.js +0 -59
  408. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetBucketLoggingCommand.js +0 -59
  409. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetBucketMetricsConfigurationCommand.js +0 -59
  410. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetBucketNotificationConfigurationCommand.js +0 -59
  411. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetBucketOwnershipControlsCommand.js +0 -59
  412. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetBucketPolicyCommand.js +0 -59
  413. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetBucketPolicyStatusCommand.js +0 -59
  414. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetBucketReplicationCommand.js +0 -59
  415. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetBucketRequestPaymentCommand.js +0 -59
  416. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetBucketTaggingCommand.js +0 -59
  417. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetBucketVersioningCommand.js +0 -59
  418. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetBucketWebsiteCommand.js +0 -59
  419. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetObjectAclCommand.js +0 -59
  420. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetObjectAttributesCommand.js +0 -61
  421. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetObjectCommand.js +0 -69
  422. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetObjectLegalHoldCommand.js +0 -58
  423. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetObjectLockConfigurationCommand.js +0 -58
  424. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetObjectRetentionCommand.js +0 -58
  425. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetObjectTaggingCommand.js +0 -58
  426. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetObjectTorrentCommand.js +0 -59
  427. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetPublicAccessBlockCommand.js +0 -59
  428. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/HeadBucketCommand.js +0 -58
  429. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/HeadObjectCommand.js +0 -62
  430. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/ListBucketAnalyticsConfigurationsCommand.js +0 -59
  431. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/ListBucketIntelligentTieringConfigurationsCommand.js +0 -59
  432. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/ListBucketInventoryConfigurationsCommand.js +0 -60
  433. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/ListBucketMetricsConfigurationsCommand.js +0 -58
  434. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/ListBucketsCommand.js +0 -57
  435. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/ListDirectoryBucketsCommand.js +0 -58
  436. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/ListMultipartUploadsCommand.js +0 -59
  437. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/ListObjectVersionsCommand.js +0 -59
  438. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/ListObjectsCommand.js +0 -59
  439. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/ListObjectsV2Command.js +0 -59
  440. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/ListPartsCommand.js +0 -62
  441. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutBucketAccelerateConfigurationCommand.js +0 -65
  442. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutBucketAclCommand.js +0 -65
  443. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutBucketAnalyticsConfigurationCommand.js +0 -59
  444. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutBucketCorsCommand.js +0 -65
  445. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutBucketEncryptionCommand.js +0 -66
  446. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutBucketIntelligentTieringConfigurationCommand.js +0 -59
  447. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutBucketInventoryConfigurationCommand.js +0 -60
  448. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutBucketLifecycleConfigurationCommand.js +0 -65
  449. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutBucketLoggingCommand.js +0 -65
  450. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutBucketMetricsConfigurationCommand.js +0 -59
  451. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutBucketNotificationConfigurationCommand.js +0 -59
  452. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutBucketOwnershipControlsCommand.js +0 -61
  453. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutBucketPolicyCommand.js +0 -65
  454. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutBucketReplicationCommand.js +0 -65
  455. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutBucketRequestPaymentCommand.js +0 -65
  456. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutBucketTaggingCommand.js +0 -65
  457. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutBucketVersioningCommand.js +0 -65
  458. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutBucketWebsiteCommand.js +0 -65
  459. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutObjectAclCommand.js +0 -65
  460. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutObjectCommand.js +0 -70
  461. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutObjectLegalHoldCommand.js +0 -64
  462. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutObjectLockConfigurationCommand.js +0 -64
  463. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutObjectRetentionCommand.js +0 -64
  464. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutObjectTaggingCommand.js +0 -64
  465. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutPublicAccessBlockCommand.js +0 -65
  466. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/RestoreObjectCommand.js +0 -65
  467. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/SelectObjectContentCommand.js +0 -64
  468. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/UploadPartCommand.js +0 -68
  469. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/UploadPartCopyCommand.js +0 -63
  470. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/WriteGetObjectResponseCommand.js +0 -59
  471. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/index.js +0 -98
  472. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/endpoint/EndpointParameters.js +0 -16
  473. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/extensionConfiguration.js +0 -2
  474. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/models/S3ServiceException.js +0 -12
  475. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/models/index.js +0 -5
  476. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/models/models_0.js +0 -647
  477. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/models/models_1.js +0 -156
  478. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/pagination/Interfaces.js +0 -2
  479. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/pagination/ListDirectoryBucketsPaginator.js +0 -29
  480. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/pagination/ListObjectsV2Paginator.js +0 -29
  481. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/pagination/ListPartsPaginator.js +0 -29
  482. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/pagination/index.js +0 -7
  483. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/protocols/Aws_restXml.js +0 -9820
  484. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/runtimeExtensions.js +0 -22
  485. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/waiters/index.js +0 -7
  486. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/waiters/waitForBucketExists.js +0 -31
  487. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/waiters/waitForBucketNotExists.js +0 -30
  488. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/waiters/waitForObjectExists.js +0 -31
  489. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/waiters/waitForObjectNotExists.js +0 -30
@@ -1,61 +1,33 @@
1
1
  import { getFlexibleChecksumsPlugin } from "@aws-sdk/middleware-flexible-checksums";
2
+ import { getThrow200ExceptionsPlugin } from "@aws-sdk/middleware-sdk-s3";
2
3
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
3
4
  import { getSerdePlugin } from "@smithy/middleware-serde";
4
5
  import { Command as $Command } from "@smithy/smithy-client";
5
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
6
+ import { commonParams } from "../endpoint/EndpointParameters";
6
7
  import { RestoreObjectRequestFilterSensitiveLog } from "../models/models_1";
7
8
  import { de_RestoreObjectCommand, se_RestoreObjectCommand } from "../protocols/Aws_restXml";
8
9
  export { $Command };
9
- export class RestoreObjectCommand extends $Command {
10
- static getEndpointParameterInstructions() {
11
- return {
12
- Bucket: { type: "contextParams", name: "Bucket" },
13
- ForcePathStyle: { type: "clientContextParams", name: "forcePathStyle" },
14
- UseArnRegion: { type: "clientContextParams", name: "useArnRegion" },
15
- DisableMultiRegionAccessPoints: { type: "clientContextParams", name: "disableMultiregionAccessPoints" },
16
- Accelerate: { type: "clientContextParams", name: "useAccelerateEndpoint" },
17
- DisableS3ExpressSessionAuth: { type: "clientContextParams", name: "disableS3ExpressSessionAuth" },
18
- UseGlobalEndpoint: { type: "builtInParams", name: "useGlobalEndpoint" },
19
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
20
- Endpoint: { type: "builtInParams", name: "endpoint" },
21
- Region: { type: "builtInParams", name: "region" },
22
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
23
- };
24
- }
25
- constructor(input) {
26
- super();
27
- this.input = input;
28
- }
29
- resolveMiddleware(clientStack, configuration, options) {
30
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
31
- this.middlewareStack.use(getEndpointPlugin(configuration, RestoreObjectCommand.getEndpointParameterInstructions()));
32
- this.middlewareStack.use(getFlexibleChecksumsPlugin(configuration, {
33
- input: this.input,
34
- requestAlgorithmMember: "ChecksumAlgorithm",
10
+ export class RestoreObjectCommand extends $Command
11
+ .classBuilder()
12
+ .ep({
13
+ ...commonParams,
14
+ Bucket: { type: "contextParams", name: "Bucket" },
15
+ })
16
+ .m(function (Command, cs, config, o) {
17
+ return [
18
+ getSerdePlugin(config, this.serialize, this.deserialize),
19
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
20
+ getFlexibleChecksumsPlugin(config, {
21
+ requestAlgorithmMember: { httpHeader: "x-amz-sdk-checksum-algorithm", name: "ChecksumAlgorithm" },
35
22
  requestChecksumRequired: false,
36
- }));
37
- const stack = clientStack.concat(this.middlewareStack);
38
- const { logger } = configuration;
39
- const clientName = "S3Client";
40
- const commandName = "RestoreObjectCommand";
41
- const handlerExecutionContext = {
42
- logger,
43
- clientName,
44
- commandName,
45
- inputFilterSensitiveLog: RestoreObjectRequestFilterSensitiveLog,
46
- outputFilterSensitiveLog: (_) => _,
47
- [SMITHY_CONTEXT_KEY]: {
48
- service: "AmazonS3",
49
- operation: "RestoreObject",
50
- },
51
- };
52
- const { requestHandler } = configuration;
53
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
54
- }
55
- serialize(input, context) {
56
- return se_RestoreObjectCommand(input, context);
57
- }
58
- deserialize(output, context) {
59
- return de_RestoreObjectCommand(output, context);
60
- }
23
+ }),
24
+ getThrow200ExceptionsPlugin(config),
25
+ ];
26
+ })
27
+ .s("AmazonS3", "RestoreObject", {})
28
+ .n("S3Client", "RestoreObjectCommand")
29
+ .f(RestoreObjectRequestFilterSensitiveLog, void 0)
30
+ .ser(se_RestoreObjectCommand)
31
+ .de(de_RestoreObjectCommand)
32
+ .build() {
61
33
  }
@@ -1,60 +1,34 @@
1
+ import { getThrow200ExceptionsPlugin } from "@aws-sdk/middleware-sdk-s3";
1
2
  import { getSsecPlugin } from "@aws-sdk/middleware-ssec";
2
3
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
3
4
  import { getSerdePlugin } from "@smithy/middleware-serde";
4
5
  import { Command as $Command } from "@smithy/smithy-client";
5
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
6
+ import { commonParams } from "../endpoint/EndpointParameters";
6
7
  import { SelectObjectContentOutputFilterSensitiveLog, SelectObjectContentRequestFilterSensitiveLog, } from "../models/models_1";
7
8
  import { de_SelectObjectContentCommand, se_SelectObjectContentCommand } from "../protocols/Aws_restXml";
8
9
  export { $Command };
9
- export class SelectObjectContentCommand extends $Command {
10
- static getEndpointParameterInstructions() {
11
- return {
12
- Bucket: { type: "contextParams", name: "Bucket" },
13
- ForcePathStyle: { type: "clientContextParams", name: "forcePathStyle" },
14
- UseArnRegion: { type: "clientContextParams", name: "useArnRegion" },
15
- DisableMultiRegionAccessPoints: { type: "clientContextParams", name: "disableMultiregionAccessPoints" },
16
- Accelerate: { type: "clientContextParams", name: "useAccelerateEndpoint" },
17
- DisableS3ExpressSessionAuth: { type: "clientContextParams", name: "disableS3ExpressSessionAuth" },
18
- UseGlobalEndpoint: { type: "builtInParams", name: "useGlobalEndpoint" },
19
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
20
- Endpoint: { type: "builtInParams", name: "endpoint" },
21
- Region: { type: "builtInParams", name: "region" },
22
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
23
- };
24
- }
25
- constructor(input) {
26
- super();
27
- this.input = input;
28
- }
29
- resolveMiddleware(clientStack, configuration, options) {
30
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
31
- this.middlewareStack.use(getEndpointPlugin(configuration, SelectObjectContentCommand.getEndpointParameterInstructions()));
32
- this.middlewareStack.use(getSsecPlugin(configuration));
33
- const stack = clientStack.concat(this.middlewareStack);
34
- const { logger } = configuration;
35
- const clientName = "S3Client";
36
- const commandName = "SelectObjectContentCommand";
37
- const handlerExecutionContext = {
38
- logger,
39
- clientName,
40
- commandName,
41
- inputFilterSensitiveLog: SelectObjectContentRequestFilterSensitiveLog,
42
- outputFilterSensitiveLog: SelectObjectContentOutputFilterSensitiveLog,
43
- [SMITHY_CONTEXT_KEY]: {
44
- service: "AmazonS3",
45
- operation: "SelectObjectContent",
46
- eventStream: {
47
- output: true,
48
- },
49
- },
50
- };
51
- const { requestHandler } = configuration;
52
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
53
- }
54
- serialize(input, context) {
55
- return se_SelectObjectContentCommand(input, context);
56
- }
57
- deserialize(output, context) {
58
- return de_SelectObjectContentCommand(output, context);
59
- }
10
+ export class SelectObjectContentCommand extends $Command
11
+ .classBuilder()
12
+ .ep({
13
+ ...commonParams,
14
+ Bucket: { type: "contextParams", name: "Bucket" },
15
+ })
16
+ .m(function (Command, cs, config, o) {
17
+ return [
18
+ getSerdePlugin(config, this.serialize, this.deserialize),
19
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
20
+ getThrow200ExceptionsPlugin(config),
21
+ getSsecPlugin(config),
22
+ ];
23
+ })
24
+ .s("AmazonS3", "SelectObjectContent", {
25
+ eventStream: {
26
+ output: true,
27
+ },
28
+ })
29
+ .n("S3Client", "SelectObjectContentCommand")
30
+ .f(SelectObjectContentRequestFilterSensitiveLog, SelectObjectContentOutputFilterSensitiveLog)
31
+ .ser(se_SelectObjectContentCommand)
32
+ .de(de_SelectObjectContentCommand)
33
+ .build() {
60
34
  }
@@ -1,64 +1,36 @@
1
1
  import { getFlexibleChecksumsPlugin } from "@aws-sdk/middleware-flexible-checksums";
2
+ import { getThrow200ExceptionsPlugin } from "@aws-sdk/middleware-sdk-s3";
2
3
  import { getSsecPlugin } from "@aws-sdk/middleware-ssec";
3
4
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
4
5
  import { getSerdePlugin } from "@smithy/middleware-serde";
5
6
  import { Command as $Command } from "@smithy/smithy-client";
6
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
7
+ import { commonParams } from "../endpoint/EndpointParameters";
7
8
  import { UploadPartOutputFilterSensitiveLog, UploadPartRequestFilterSensitiveLog, } from "../models/models_1";
8
9
  import { de_UploadPartCommand, se_UploadPartCommand } from "../protocols/Aws_restXml";
9
10
  export { $Command };
10
- export class UploadPartCommand extends $Command {
11
- static getEndpointParameterInstructions() {
12
- return {
13
- Bucket: { type: "contextParams", name: "Bucket" },
14
- Key: { type: "contextParams", name: "Key" },
15
- ForcePathStyle: { type: "clientContextParams", name: "forcePathStyle" },
16
- UseArnRegion: { type: "clientContextParams", name: "useArnRegion" },
17
- DisableMultiRegionAccessPoints: { type: "clientContextParams", name: "disableMultiregionAccessPoints" },
18
- Accelerate: { type: "clientContextParams", name: "useAccelerateEndpoint" },
19
- DisableS3ExpressSessionAuth: { type: "clientContextParams", name: "disableS3ExpressSessionAuth" },
20
- UseGlobalEndpoint: { type: "builtInParams", name: "useGlobalEndpoint" },
21
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
22
- Endpoint: { type: "builtInParams", name: "endpoint" },
23
- Region: { type: "builtInParams", name: "region" },
24
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
25
- };
26
- }
27
- constructor(input) {
28
- super();
29
- this.input = input;
30
- }
31
- resolveMiddleware(clientStack, configuration, options) {
32
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
33
- this.middlewareStack.use(getEndpointPlugin(configuration, UploadPartCommand.getEndpointParameterInstructions()));
34
- this.middlewareStack.use(getSsecPlugin(configuration));
35
- this.middlewareStack.use(getFlexibleChecksumsPlugin(configuration, {
36
- input: this.input,
37
- requestAlgorithmMember: "ChecksumAlgorithm",
11
+ export class UploadPartCommand extends $Command
12
+ .classBuilder()
13
+ .ep({
14
+ ...commonParams,
15
+ Bucket: { type: "contextParams", name: "Bucket" },
16
+ Key: { type: "contextParams", name: "Key" },
17
+ })
18
+ .m(function (Command, cs, config, o) {
19
+ return [
20
+ getSerdePlugin(config, this.serialize, this.deserialize),
21
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
22
+ getFlexibleChecksumsPlugin(config, {
23
+ requestAlgorithmMember: { httpHeader: "x-amz-sdk-checksum-algorithm", name: "ChecksumAlgorithm" },
38
24
  requestChecksumRequired: false,
39
- }));
40
- const stack = clientStack.concat(this.middlewareStack);
41
- const { logger } = configuration;
42
- const clientName = "S3Client";
43
- const commandName = "UploadPartCommand";
44
- const handlerExecutionContext = {
45
- logger,
46
- clientName,
47
- commandName,
48
- inputFilterSensitiveLog: UploadPartRequestFilterSensitiveLog,
49
- outputFilterSensitiveLog: UploadPartOutputFilterSensitiveLog,
50
- [SMITHY_CONTEXT_KEY]: {
51
- service: "AmazonS3",
52
- operation: "UploadPart",
53
- },
54
- };
55
- const { requestHandler } = configuration;
56
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
57
- }
58
- serialize(input, context) {
59
- return se_UploadPartCommand(input, context);
60
- }
61
- deserialize(output, context) {
62
- return de_UploadPartCommand(output, context);
63
- }
25
+ }),
26
+ getThrow200ExceptionsPlugin(config),
27
+ getSsecPlugin(config),
28
+ ];
29
+ })
30
+ .s("AmazonS3", "UploadPart", {})
31
+ .n("S3Client", "UploadPartCommand")
32
+ .f(UploadPartRequestFilterSensitiveLog, UploadPartOutputFilterSensitiveLog)
33
+ .ser(se_UploadPartCommand)
34
+ .de(de_UploadPartCommand)
35
+ .build() {
64
36
  }
@@ -3,57 +3,29 @@ import { getSsecPlugin } from "@aws-sdk/middleware-ssec";
3
3
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
4
4
  import { getSerdePlugin } from "@smithy/middleware-serde";
5
5
  import { Command as $Command } from "@smithy/smithy-client";
6
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
6
+ import { commonParams } from "../endpoint/EndpointParameters";
7
7
  import { UploadPartCopyOutputFilterSensitiveLog, UploadPartCopyRequestFilterSensitiveLog, } from "../models/models_1";
8
8
  import { de_UploadPartCopyCommand, se_UploadPartCopyCommand } from "../protocols/Aws_restXml";
9
9
  export { $Command };
10
- export class UploadPartCopyCommand extends $Command {
11
- static getEndpointParameterInstructions() {
12
- return {
13
- DisableS3ExpressSessionAuth: { type: "staticContextParams", value: true },
14
- Bucket: { type: "contextParams", name: "Bucket" },
15
- ForcePathStyle: { type: "clientContextParams", name: "forcePathStyle" },
16
- UseArnRegion: { type: "clientContextParams", name: "useArnRegion" },
17
- DisableMultiRegionAccessPoints: { type: "clientContextParams", name: "disableMultiregionAccessPoints" },
18
- Accelerate: { type: "clientContextParams", name: "useAccelerateEndpoint" },
19
- UseGlobalEndpoint: { type: "builtInParams", name: "useGlobalEndpoint" },
20
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
21
- Endpoint: { type: "builtInParams", name: "endpoint" },
22
- Region: { type: "builtInParams", name: "region" },
23
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
24
- };
25
- }
26
- constructor(input) {
27
- super();
28
- this.input = input;
29
- }
30
- resolveMiddleware(clientStack, configuration, options) {
31
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
32
- this.middlewareStack.use(getEndpointPlugin(configuration, UploadPartCopyCommand.getEndpointParameterInstructions()));
33
- this.middlewareStack.use(getThrow200ExceptionsPlugin(configuration));
34
- this.middlewareStack.use(getSsecPlugin(configuration));
35
- const stack = clientStack.concat(this.middlewareStack);
36
- const { logger } = configuration;
37
- const clientName = "S3Client";
38
- const commandName = "UploadPartCopyCommand";
39
- const handlerExecutionContext = {
40
- logger,
41
- clientName,
42
- commandName,
43
- inputFilterSensitiveLog: UploadPartCopyRequestFilterSensitiveLog,
44
- outputFilterSensitiveLog: UploadPartCopyOutputFilterSensitiveLog,
45
- [SMITHY_CONTEXT_KEY]: {
46
- service: "AmazonS3",
47
- operation: "UploadPartCopy",
48
- },
49
- };
50
- const { requestHandler } = configuration;
51
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
52
- }
53
- serialize(input, context) {
54
- return se_UploadPartCopyCommand(input, context);
55
- }
56
- deserialize(output, context) {
57
- return de_UploadPartCopyCommand(output, context);
58
- }
10
+ export class UploadPartCopyCommand extends $Command
11
+ .classBuilder()
12
+ .ep({
13
+ ...commonParams,
14
+ DisableS3ExpressSessionAuth: { type: "staticContextParams", value: true },
15
+ Bucket: { type: "contextParams", name: "Bucket" },
16
+ })
17
+ .m(function (Command, cs, config, o) {
18
+ return [
19
+ getSerdePlugin(config, this.serialize, this.deserialize),
20
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
21
+ getThrow200ExceptionsPlugin(config),
22
+ getSsecPlugin(config),
23
+ ];
24
+ })
25
+ .s("AmazonS3", "UploadPartCopy", {})
26
+ .n("S3Client", "UploadPartCopyCommand")
27
+ .f(UploadPartCopyRequestFilterSensitiveLog, UploadPartCopyOutputFilterSensitiveLog)
28
+ .ser(se_UploadPartCopyCommand)
29
+ .de(de_UploadPartCopyCommand)
30
+ .build() {
59
31
  }
@@ -1,55 +1,26 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { WriteGetObjectResponseRequestFilterSensitiveLog } from "../models/models_1";
6
6
  import { de_WriteGetObjectResponseCommand, se_WriteGetObjectResponseCommand } from "../protocols/Aws_restXml";
7
7
  export { $Command };
8
- export class WriteGetObjectResponseCommand extends $Command {
9
- static getEndpointParameterInstructions() {
10
- return {
11
- UseObjectLambdaEndpoint: { type: "staticContextParams", value: true },
12
- ForcePathStyle: { type: "clientContextParams", name: "forcePathStyle" },
13
- UseArnRegion: { type: "clientContextParams", name: "useArnRegion" },
14
- DisableMultiRegionAccessPoints: { type: "clientContextParams", name: "disableMultiregionAccessPoints" },
15
- Accelerate: { type: "clientContextParams", name: "useAccelerateEndpoint" },
16
- DisableS3ExpressSessionAuth: { type: "clientContextParams", name: "disableS3ExpressSessionAuth" },
17
- UseGlobalEndpoint: { type: "builtInParams", name: "useGlobalEndpoint" },
18
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
19
- Endpoint: { type: "builtInParams", name: "endpoint" },
20
- Region: { type: "builtInParams", name: "region" },
21
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
22
- };
23
- }
24
- constructor(input) {
25
- super();
26
- this.input = input;
27
- }
28
- resolveMiddleware(clientStack, configuration, options) {
29
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
30
- this.middlewareStack.use(getEndpointPlugin(configuration, WriteGetObjectResponseCommand.getEndpointParameterInstructions()));
31
- const stack = clientStack.concat(this.middlewareStack);
32
- const { logger } = configuration;
33
- const clientName = "S3Client";
34
- const commandName = "WriteGetObjectResponseCommand";
35
- const handlerExecutionContext = {
36
- logger,
37
- clientName,
38
- commandName,
39
- inputFilterSensitiveLog: WriteGetObjectResponseRequestFilterSensitiveLog,
40
- outputFilterSensitiveLog: (_) => _,
41
- [SMITHY_CONTEXT_KEY]: {
42
- service: "AmazonS3",
43
- operation: "WriteGetObjectResponse",
44
- },
45
- };
46
- const { requestHandler } = configuration;
47
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
48
- }
49
- serialize(input, context) {
50
- return se_WriteGetObjectResponseCommand(input, context);
51
- }
52
- deserialize(output, context) {
53
- return de_WriteGetObjectResponseCommand(output, context);
54
- }
8
+ export class WriteGetObjectResponseCommand extends $Command
9
+ .classBuilder()
10
+ .ep({
11
+ ...commonParams,
12
+ UseObjectLambdaEndpoint: { type: "staticContextParams", value: true },
13
+ })
14
+ .m(function (Command, cs, config, o) {
15
+ return [
16
+ getSerdePlugin(config, this.serialize, this.deserialize),
17
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
18
+ ];
19
+ })
20
+ .s("AmazonS3", "WriteGetObjectResponse", {})
21
+ .n("S3Client", "WriteGetObjectResponseCommand")
22
+ .f(WriteGetObjectResponseRequestFilterSensitiveLog, void 0)
23
+ .ser(se_WriteGetObjectResponseCommand)
24
+ .de(de_WriteGetObjectResponseCommand)
25
+ .build() {
55
26
  }
@@ -2,6 +2,7 @@ export * from "./AbortMultipartUploadCommand";
2
2
  export * from "./CompleteMultipartUploadCommand";
3
3
  export * from "./CopyObjectCommand";
4
4
  export * from "./CreateBucketCommand";
5
+ export * from "./CreateBucketMetadataTableConfigurationCommand";
5
6
  export * from "./CreateMultipartUploadCommand";
6
7
  export * from "./CreateSessionCommand";
7
8
  export * from "./DeleteBucketAnalyticsConfigurationCommand";
@@ -11,6 +12,7 @@ export * from "./DeleteBucketEncryptionCommand";
11
12
  export * from "./DeleteBucketIntelligentTieringConfigurationCommand";
12
13
  export * from "./DeleteBucketInventoryConfigurationCommand";
13
14
  export * from "./DeleteBucketLifecycleCommand";
15
+ export * from "./DeleteBucketMetadataTableConfigurationCommand";
14
16
  export * from "./DeleteBucketMetricsConfigurationCommand";
15
17
  export * from "./DeleteBucketOwnershipControlsCommand";
16
18
  export * from "./DeleteBucketPolicyCommand";
@@ -31,6 +33,7 @@ export * from "./GetBucketInventoryConfigurationCommand";
31
33
  export * from "./GetBucketLifecycleConfigurationCommand";
32
34
  export * from "./GetBucketLocationCommand";
33
35
  export * from "./GetBucketLoggingCommand";
36
+ export * from "./GetBucketMetadataTableConfigurationCommand";
34
37
  export * from "./GetBucketMetricsConfigurationCommand";
35
38
  export * from "./GetBucketNotificationConfigurationCommand";
36
39
  export * from "./GetBucketOwnershipControlsCommand";
@@ -10,3 +10,15 @@ export const resolveClientEndpointParameters = (options) => {
10
10
  defaultSigningName: "s3",
11
11
  };
12
12
  };
13
+ export const commonParams = {
14
+ ForcePathStyle: { type: "clientContextParams", name: "forcePathStyle" },
15
+ UseArnRegion: { type: "clientContextParams", name: "useArnRegion" },
16
+ DisableMultiRegionAccessPoints: { type: "clientContextParams", name: "disableMultiregionAccessPoints" },
17
+ Accelerate: { type: "clientContextParams", name: "useAccelerateEndpoint" },
18
+ DisableS3ExpressSessionAuth: { type: "clientContextParams", name: "disableS3ExpressSessionAuth" },
19
+ UseGlobalEndpoint: { type: "builtInParams", name: "useGlobalEndpoint" },
20
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
21
+ Endpoint: { type: "builtInParams", name: "endpoint" },
22
+ Region: { type: "builtInParams", name: "region" },
23
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
24
+ };
@@ -1,8 +1,29 @@
1
- import { resolveEndpoint } from "@smithy/util-endpoints";
1
+ import { awsEndpointFunctions } from "@aws-sdk/util-endpoints";
2
+ import { customEndpointFunctions, EndpointCache, resolveEndpoint } from "@smithy/util-endpoints";
2
3
  import { ruleSet } from "./ruleset";
4
+ const cache = new EndpointCache({
5
+ size: 50,
6
+ params: [
7
+ "Accelerate",
8
+ "Bucket",
9
+ "DisableAccessPoints",
10
+ "DisableMultiRegionAccessPoints",
11
+ "DisableS3ExpressSessionAuth",
12
+ "Endpoint",
13
+ "ForcePathStyle",
14
+ "Region",
15
+ "UseArnRegion",
16
+ "UseDualStack",
17
+ "UseFIPS",
18
+ "UseGlobalEndpoint",
19
+ "UseObjectLambdaEndpoint",
20
+ "UseS3ExpressControlEndpoint",
21
+ ],
22
+ });
3
23
  export const defaultEndpointResolver = (endpointParams, context = {}) => {
4
- return resolveEndpoint(ruleSet, {
24
+ return cache.get(endpointParams, () => resolveEndpoint(ruleSet, {
5
25
  endpointParams: endpointParams,
6
26
  logger: context.logger,
7
- });
27
+ }));
8
28
  };
29
+ customEndpointFunctions.aws = awsEndpointFunctions;