@nocobase/plugin-file-manager 0.11.1-alpha.5 → 0.12.0-alpha.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 (647) hide show
  1. package/client.d.ts +2 -3
  2. package/client.js +1 -1
  3. package/dist/client/index.js +979 -0
  4. package/{lib → dist}/index.d.ts +1 -0
  5. package/dist/index.js +18 -0
  6. package/dist/locale/en-US.js +25 -0
  7. package/dist/locale/fr-FR.js +25 -0
  8. package/dist/locale/ja-JP.js +22 -0
  9. package/dist/locale/ru-RU.js +22 -0
  10. package/dist/locale/tr-TR.js +21 -0
  11. package/dist/locale/zh-CN.js +35 -0
  12. package/dist/node_modules/@aws-sdk/client-s3/LICENSE +201 -0
  13. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/S3.js +197 -0
  14. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/S3Client.js +48 -0
  15. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/AbortMultipartUploadCommand.js +52 -0
  16. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/CompleteMultipartUploadCommand.js +57 -0
  17. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/CopyObjectCommand.js +57 -0
  18. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/CreateBucketCommand.js +55 -0
  19. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/CreateMultipartUploadCommand.js +55 -0
  20. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/DeleteBucketAnalyticsConfigurationCommand.js +52 -0
  21. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/DeleteBucketCommand.js +52 -0
  22. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/DeleteBucketCorsCommand.js +52 -0
  23. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/DeleteBucketEncryptionCommand.js +52 -0
  24. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/DeleteBucketIntelligentTieringConfigurationCommand.js +52 -0
  25. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/DeleteBucketInventoryConfigurationCommand.js +52 -0
  26. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/DeleteBucketLifecycleCommand.js +52 -0
  27. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/DeleteBucketMetricsConfigurationCommand.js +52 -0
  28. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/DeleteBucketOwnershipControlsCommand.js +52 -0
  29. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/DeleteBucketPolicyCommand.js +52 -0
  30. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/DeleteBucketReplicationCommand.js +52 -0
  31. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/DeleteBucketTaggingCommand.js +52 -0
  32. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/DeleteBucketWebsiteCommand.js +52 -0
  33. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/DeleteObjectCommand.js +52 -0
  34. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/DeleteObjectTaggingCommand.js +52 -0
  35. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/DeleteObjectsCommand.js +58 -0
  36. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/DeletePublicAccessBlockCommand.js +52 -0
  37. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetBucketAccelerateConfigurationCommand.js +52 -0
  38. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetBucketAclCommand.js +52 -0
  39. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetBucketAnalyticsConfigurationCommand.js +52 -0
  40. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetBucketCorsCommand.js +52 -0
  41. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetBucketEncryptionCommand.js +53 -0
  42. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetBucketIntelligentTieringConfigurationCommand.js +52 -0
  43. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetBucketInventoryConfigurationCommand.js +53 -0
  44. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetBucketLifecycleConfigurationCommand.js +52 -0
  45. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetBucketLocationCommand.js +52 -0
  46. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetBucketLoggingCommand.js +52 -0
  47. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetBucketMetricsConfigurationCommand.js +52 -0
  48. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetBucketNotificationConfigurationCommand.js +52 -0
  49. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetBucketOwnershipControlsCommand.js +52 -0
  50. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetBucketPolicyCommand.js +52 -0
  51. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetBucketPolicyStatusCommand.js +52 -0
  52. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetBucketReplicationCommand.js +52 -0
  53. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetBucketRequestPaymentCommand.js +52 -0
  54. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetBucketTaggingCommand.js +52 -0
  55. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetBucketVersioningCommand.js +52 -0
  56. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetBucketWebsiteCommand.js +52 -0
  57. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetObjectAclCommand.js +52 -0
  58. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetObjectAttributesCommand.js +55 -0
  59. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetObjectCommand.js +62 -0
  60. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetObjectLegalHoldCommand.js +52 -0
  61. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetObjectLockConfigurationCommand.js +52 -0
  62. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetObjectRetentionCommand.js +52 -0
  63. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetObjectTaggingCommand.js +52 -0
  64. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetObjectTorrentCommand.js +53 -0
  65. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetPublicAccessBlockCommand.js +52 -0
  66. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/HeadBucketCommand.js +52 -0
  67. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/HeadObjectCommand.js +55 -0
  68. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/ListBucketAnalyticsConfigurationsCommand.js +52 -0
  69. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/ListBucketIntelligentTieringConfigurationsCommand.js +52 -0
  70. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/ListBucketInventoryConfigurationsCommand.js +53 -0
  71. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/ListBucketMetricsConfigurationsCommand.js +52 -0
  72. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/ListBucketsCommand.js +51 -0
  73. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/ListMultipartUploadsCommand.js +52 -0
  74. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/ListObjectVersionsCommand.js +52 -0
  75. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/ListObjectsCommand.js +52 -0
  76. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/ListObjectsV2Command.js +52 -0
  77. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/ListPartsCommand.js +55 -0
  78. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutBucketAccelerateConfigurationCommand.js +58 -0
  79. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutBucketAclCommand.js +58 -0
  80. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutBucketAnalyticsConfigurationCommand.js +52 -0
  81. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutBucketCorsCommand.js +58 -0
  82. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutBucketEncryptionCommand.js +59 -0
  83. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutBucketIntelligentTieringConfigurationCommand.js +52 -0
  84. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutBucketInventoryConfigurationCommand.js +53 -0
  85. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutBucketLifecycleConfigurationCommand.js +58 -0
  86. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutBucketLoggingCommand.js +58 -0
  87. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutBucketMetricsConfigurationCommand.js +52 -0
  88. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutBucketNotificationConfigurationCommand.js +52 -0
  89. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutBucketOwnershipControlsCommand.js +54 -0
  90. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutBucketPolicyCommand.js +58 -0
  91. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutBucketReplicationCommand.js +58 -0
  92. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutBucketRequestPaymentCommand.js +58 -0
  93. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutBucketTaggingCommand.js +58 -0
  94. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutBucketVersioningCommand.js +58 -0
  95. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutBucketWebsiteCommand.js +58 -0
  96. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutObjectAclCommand.js +58 -0
  97. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutObjectCommand.js +63 -0
  98. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutObjectLegalHoldCommand.js +58 -0
  99. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutObjectLockConfigurationCommand.js +58 -0
  100. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutObjectRetentionCommand.js +58 -0
  101. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutObjectTaggingCommand.js +58 -0
  102. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutPublicAccessBlockCommand.js +58 -0
  103. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/RestoreObjectCommand.js +59 -0
  104. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/SelectObjectContentCommand.js +55 -0
  105. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/UploadPartCommand.js +61 -0
  106. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/UploadPartCopyCommand.js +57 -0
  107. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/WriteGetObjectResponseCommand.js +53 -0
  108. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/index.js +96 -0
  109. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/endpoint/EndpointParameters.js +15 -0
  110. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/endpoint/endpointResolver.js +12 -0
  111. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/endpoint/ruleset.js +7 -0
  112. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/index.js +31 -0
  113. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/models/S3ServiceException.js +12 -0
  114. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/models/index.js +5 -0
  115. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/models/models_0.js +629 -0
  116. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/models/models_1.js +139 -0
  117. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/pagination/Interfaces.js +2 -0
  118. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/pagination/ListObjectsV2Paginator.js +29 -0
  119. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/pagination/ListPartsPaginator.js +29 -0
  120. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/pagination/index.js +6 -0
  121. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/protocols/Aws_restXml.js +9691 -0
  122. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/runtimeConfig.browser.js +47 -0
  123. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/runtimeConfig.js +56 -0
  124. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/runtimeConfig.native.js +15 -0
  125. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/runtimeConfig.shared.js +28 -0
  126. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/waiters/index.js +7 -0
  127. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/waiters/waitForBucketExists.js +31 -0
  128. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/waiters/waitForBucketNotExists.js +30 -0
  129. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/waiters/waitForObjectExists.js +31 -0
  130. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/waiters/waitForObjectNotExists.js +30 -0
  131. package/dist/node_modules/@aws-sdk/client-s3/dist-es/S3.js +193 -0
  132. package/dist/node_modules/@aws-sdk/client-s3/dist-es/S3Client.js +44 -0
  133. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/AbortMultipartUploadCommand.js +48 -0
  134. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/CompleteMultipartUploadCommand.js +53 -0
  135. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/CopyObjectCommand.js +53 -0
  136. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/CreateBucketCommand.js +51 -0
  137. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/CreateMultipartUploadCommand.js +51 -0
  138. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketAnalyticsConfigurationCommand.js +48 -0
  139. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketCommand.js +48 -0
  140. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketCorsCommand.js +48 -0
  141. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketEncryptionCommand.js +48 -0
  142. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketIntelligentTieringConfigurationCommand.js +48 -0
  143. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketInventoryConfigurationCommand.js +48 -0
  144. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketLifecycleCommand.js +48 -0
  145. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketMetricsConfigurationCommand.js +48 -0
  146. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketOwnershipControlsCommand.js +48 -0
  147. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketPolicyCommand.js +48 -0
  148. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketReplicationCommand.js +48 -0
  149. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketTaggingCommand.js +48 -0
  150. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketWebsiteCommand.js +48 -0
  151. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteObjectCommand.js +48 -0
  152. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteObjectTaggingCommand.js +48 -0
  153. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteObjectsCommand.js +54 -0
  154. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeletePublicAccessBlockCommand.js +48 -0
  155. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketAccelerateConfigurationCommand.js +48 -0
  156. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketAclCommand.js +48 -0
  157. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketAnalyticsConfigurationCommand.js +48 -0
  158. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketCorsCommand.js +48 -0
  159. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketEncryptionCommand.js +49 -0
  160. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketIntelligentTieringConfigurationCommand.js +48 -0
  161. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketInventoryConfigurationCommand.js +49 -0
  162. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketLifecycleConfigurationCommand.js +48 -0
  163. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketLocationCommand.js +48 -0
  164. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketLoggingCommand.js +48 -0
  165. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketMetricsConfigurationCommand.js +48 -0
  166. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketNotificationConfigurationCommand.js +48 -0
  167. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketOwnershipControlsCommand.js +48 -0
  168. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketPolicyCommand.js +48 -0
  169. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketPolicyStatusCommand.js +48 -0
  170. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketReplicationCommand.js +48 -0
  171. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketRequestPaymentCommand.js +48 -0
  172. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketTaggingCommand.js +48 -0
  173. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketVersioningCommand.js +48 -0
  174. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketWebsiteCommand.js +48 -0
  175. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetObjectAclCommand.js +48 -0
  176. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetObjectAttributesCommand.js +51 -0
  177. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetObjectCommand.js +58 -0
  178. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetObjectLegalHoldCommand.js +48 -0
  179. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetObjectLockConfigurationCommand.js +48 -0
  180. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetObjectRetentionCommand.js +48 -0
  181. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetObjectTaggingCommand.js +48 -0
  182. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetObjectTorrentCommand.js +49 -0
  183. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetPublicAccessBlockCommand.js +48 -0
  184. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/HeadBucketCommand.js +48 -0
  185. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/HeadObjectCommand.js +51 -0
  186. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/ListBucketAnalyticsConfigurationsCommand.js +48 -0
  187. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/ListBucketIntelligentTieringConfigurationsCommand.js +48 -0
  188. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/ListBucketInventoryConfigurationsCommand.js +49 -0
  189. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/ListBucketMetricsConfigurationsCommand.js +48 -0
  190. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/ListBucketsCommand.js +47 -0
  191. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/ListMultipartUploadsCommand.js +48 -0
  192. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/ListObjectVersionsCommand.js +48 -0
  193. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/ListObjectsCommand.js +48 -0
  194. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/ListObjectsV2Command.js +48 -0
  195. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/ListPartsCommand.js +51 -0
  196. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketAccelerateConfigurationCommand.js +54 -0
  197. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketAclCommand.js +54 -0
  198. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketAnalyticsConfigurationCommand.js +48 -0
  199. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketCorsCommand.js +54 -0
  200. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketEncryptionCommand.js +55 -0
  201. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketIntelligentTieringConfigurationCommand.js +48 -0
  202. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketInventoryConfigurationCommand.js +49 -0
  203. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketLifecycleConfigurationCommand.js +54 -0
  204. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketLoggingCommand.js +54 -0
  205. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketMetricsConfigurationCommand.js +48 -0
  206. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketNotificationConfigurationCommand.js +48 -0
  207. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketOwnershipControlsCommand.js +50 -0
  208. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketPolicyCommand.js +54 -0
  209. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketReplicationCommand.js +54 -0
  210. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketRequestPaymentCommand.js +54 -0
  211. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketTaggingCommand.js +54 -0
  212. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketVersioningCommand.js +54 -0
  213. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketWebsiteCommand.js +54 -0
  214. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutObjectAclCommand.js +54 -0
  215. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutObjectCommand.js +59 -0
  216. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutObjectLegalHoldCommand.js +54 -0
  217. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutObjectLockConfigurationCommand.js +54 -0
  218. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutObjectRetentionCommand.js +54 -0
  219. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutObjectTaggingCommand.js +54 -0
  220. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutPublicAccessBlockCommand.js +54 -0
  221. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/RestoreObjectCommand.js +55 -0
  222. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/SelectObjectContentCommand.js +51 -0
  223. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/UploadPartCommand.js +57 -0
  224. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/UploadPartCopyCommand.js +53 -0
  225. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/WriteGetObjectResponseCommand.js +49 -0
  226. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/index.js +93 -0
  227. package/dist/node_modules/@aws-sdk/client-s3/dist-es/endpoint/EndpointParameters.js +11 -0
  228. package/dist/node_modules/@aws-sdk/client-s3/dist-es/endpoint/endpointResolver.js +8 -0
  229. package/dist/node_modules/@aws-sdk/client-s3/dist-es/endpoint/ruleset.js +4 -0
  230. package/dist/node_modules/@aws-sdk/client-s3/dist-es/index.js +7 -0
  231. package/dist/node_modules/@aws-sdk/client-s3/dist-es/models/S3ServiceException.js +8 -0
  232. package/dist/node_modules/@aws-sdk/client-s3/dist-es/models/index.js +2 -0
  233. package/dist/node_modules/@aws-sdk/client-s3/dist-es/models/models_0.js +589 -0
  234. package/dist/node_modules/@aws-sdk/client-s3/dist-es/models/models_1.js +122 -0
  235. package/dist/node_modules/@aws-sdk/client-s3/dist-es/pagination/Interfaces.js +1 -0
  236. package/dist/node_modules/@aws-sdk/client-s3/dist-es/pagination/ListObjectsV2Paginator.js +25 -0
  237. package/dist/node_modules/@aws-sdk/client-s3/dist-es/pagination/ListPartsPaginator.js +25 -0
  238. package/dist/node_modules/@aws-sdk/client-s3/dist-es/pagination/index.js +3 -0
  239. package/dist/node_modules/@aws-sdk/client-s3/dist-es/protocols/Aws_restXml.js +9499 -0
  240. package/dist/node_modules/@aws-sdk/client-s3/dist-es/runtimeConfig.browser.js +42 -0
  241. package/dist/node_modules/@aws-sdk/client-s3/dist-es/runtimeConfig.js +51 -0
  242. package/dist/node_modules/@aws-sdk/client-s3/dist-es/runtimeConfig.native.js +11 -0
  243. package/dist/node_modules/@aws-sdk/client-s3/dist-es/runtimeConfig.shared.js +24 -0
  244. package/dist/node_modules/@aws-sdk/client-s3/dist-es/waiters/index.js +4 -0
  245. package/dist/node_modules/@aws-sdk/client-s3/dist-es/waiters/waitForBucketExists.js +26 -0
  246. package/dist/node_modules/@aws-sdk/client-s3/dist-es/waiters/waitForBucketNotExists.js +25 -0
  247. package/dist/node_modules/@aws-sdk/client-s3/dist-es/waiters/waitForObjectExists.js +26 -0
  248. package/dist/node_modules/@aws-sdk/client-s3/dist-es/waiters/waitForObjectNotExists.js +25 -0
  249. package/dist/node_modules/@aws-sdk/client-s3/dist-types/S3.d.ts +661 -0
  250. package/dist/node_modules/@aws-sdk/client-s3/dist-types/S3Client.d.ts +299 -0
  251. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/AbortMultipartUploadCommand.d.ts +131 -0
  252. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/CompleteMultipartUploadCommand.d.ts +260 -0
  253. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/CopyObjectCommand.d.ts +370 -0
  254. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/CreateBucketCommand.d.ts +213 -0
  255. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/CreateMultipartUploadCommand.d.ts +427 -0
  256. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketAnalyticsConfigurationCommand.d.ts +100 -0
  257. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketCommand.d.ts +97 -0
  258. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketCorsCommand.d.ts +103 -0
  259. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketEncryptionCommand.d.ts +94 -0
  260. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketIntelligentTieringConfigurationCommand.d.ts +93 -0
  261. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketInventoryConfigurationCommand.d.ts +98 -0
  262. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketLifecycleCommand.d.ts +105 -0
  263. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketMetricsConfigurationCommand.d.ts +106 -0
  264. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketOwnershipControlsCommand.d.ts +90 -0
  265. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketPolicyCommand.d.ts +115 -0
  266. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketReplicationCommand.d.ts +107 -0
  267. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketTaggingCommand.d.ts +99 -0
  268. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketWebsiteCommand.d.ts +106 -0
  269. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteObjectCommand.d.ts +130 -0
  270. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteObjectTaggingCommand.d.ts +130 -0
  271. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteObjectsCommand.d.ts +229 -0
  272. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeletePublicAccessBlockCommand.d.ts +99 -0
  273. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketAccelerateConfigurationCommand.d.ts +100 -0
  274. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketAclCommand.d.ts +114 -0
  275. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketAnalyticsConfigurationCommand.d.ts +133 -0
  276. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketCorsCommand.d.ts +144 -0
  277. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketEncryptionCommand.d.ts +105 -0
  278. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketIntelligentTieringConfigurationCommand.d.ts +120 -0
  279. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketInventoryConfigurationCommand.d.ts +128 -0
  280. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketLifecycleConfigurationCommand.d.ts +207 -0
  281. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketLocationCommand.d.ts +115 -0
  282. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketLoggingCommand.d.ts +103 -0
  283. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketMetricsConfigurationCommand.d.ts +127 -0
  284. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketNotificationConfigurationCommand.d.ts +153 -0
  285. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketOwnershipControlsCommand.d.ts +98 -0
  286. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketPolicyCommand.d.ts +120 -0
  287. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketPolicyStatusCommand.d.ts +104 -0
  288. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketReplicationCommand.d.ts +194 -0
  289. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketRequestPaymentCommand.d.ts +100 -0
  290. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketTaggingCommand.d.ts +133 -0
  291. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketVersioningCommand.d.ts +114 -0
  292. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketWebsiteCommand.d.ts +138 -0
  293. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectAclCommand.d.ts +188 -0
  294. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectAttributesCommand.d.ts +263 -0
  295. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectCommand.d.ts +351 -0
  296. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectLegalHoldCommand.d.ts +89 -0
  297. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectLockConfigurationCommand.d.ts +93 -0
  298. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectRetentionCommand.d.ts +90 -0
  299. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectTaggingCommand.d.ts +162 -0
  300. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectTorrentCommand.d.ts +105 -0
  301. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetPublicAccessBlockCommand.d.ts +115 -0
  302. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/HeadBucketCommand.d.ts +106 -0
  303. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/HeadObjectCommand.d.ts +267 -0
  304. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/ListBucketAnalyticsConfigurationsCommand.d.ts +146 -0
  305. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/ListBucketIntelligentTieringConfigurationsCommand.d.ts +125 -0
  306. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/ListBucketInventoryConfigurationsCommand.d.ts +141 -0
  307. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/ListBucketMetricsConfigurationsCommand.d.ts +135 -0
  308. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/ListBucketsCommand.d.ts +114 -0
  309. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/ListMultipartUploadsCommand.d.ts +258 -0
  310. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/ListObjectVersionsCommand.d.ts +213 -0
  311. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/ListObjectsCommand.d.ts +195 -0
  312. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/ListObjectsV2Command.d.ts +197 -0
  313. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/ListPartsCommand.d.ts +201 -0
  314. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketAccelerateConfigurationCommand.d.ts +114 -0
  315. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketAclCommand.d.ts +302 -0
  316. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketAnalyticsConfigurationCommand.d.ts +206 -0
  317. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketCorsCommand.d.ts +192 -0
  318. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketEncryptionCommand.d.ts +119 -0
  319. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketIntelligentTieringConfigurationCommand.d.ts +151 -0
  320. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketInventoryConfigurationCommand.d.ts +184 -0
  321. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketLifecycleConfigurationCommand.d.ts +248 -0
  322. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketLoggingCommand.d.ts +200 -0
  323. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketMetricsConfigurationCommand.d.ts +140 -0
  324. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketNotificationConfigurationCommand.d.ts +205 -0
  325. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketOwnershipControlsCommand.d.ts +98 -0
  326. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketPolicyCommand.d.ts +118 -0
  327. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketReplicationCommand.d.ts +227 -0
  328. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketRequestPaymentCommand.d.ts +108 -0
  329. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketTaggingCommand.d.ts +179 -0
  330. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketVersioningCommand.d.ts +134 -0
  331. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketWebsiteCommand.d.ts +242 -0
  332. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutObjectAclCommand.d.ts +303 -0
  333. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutObjectCommand.d.ts +366 -0
  334. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutObjectLegalHoldCommand.d.ts +85 -0
  335. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutObjectLockConfigurationCommand.d.ts +107 -0
  336. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutObjectRetentionCommand.d.ts +88 -0
  337. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutObjectTaggingCommand.d.ts +205 -0
  338. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutPublicAccessBlockCommand.d.ts +116 -0
  339. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/RestoreObjectCommand.d.ts +439 -0
  340. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/SelectObjectContentCommand.d.ts +247 -0
  341. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/UploadPartCommand.d.ts +249 -0
  342. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/UploadPartCopyCommand.d.ts +320 -0
  343. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/WriteGetObjectResponseCommand.d.ts +152 -0
  344. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/index.d.ts +93 -0
  345. package/dist/node_modules/@aws-sdk/client-s3/dist-types/endpoint/EndpointParameters.d.ts +32 -0
  346. package/dist/node_modules/@aws-sdk/client-s3/dist-types/endpoint/endpointResolver.d.ts +5 -0
  347. package/dist/node_modules/@aws-sdk/client-s3/dist-types/endpoint/ruleset.d.ts +2 -0
  348. package/dist/node_modules/@aws-sdk/client-s3/dist-types/index.d.ts +12 -0
  349. package/dist/node_modules/@aws-sdk/client-s3/dist-types/models/S3ServiceException.d.ts +13 -0
  350. package/dist/node_modules/@aws-sdk/client-s3/dist-types/models/index.d.ts +2 -0
  351. package/dist/node_modules/@aws-sdk/client-s3/dist-types/models/models_0.d.ts +10348 -0
  352. package/dist/node_modules/@aws-sdk/client-s3/dist-types/models/models_1.d.ts +1764 -0
  353. package/dist/node_modules/@aws-sdk/client-s3/dist-types/pagination/Interfaces.d.ts +8 -0
  354. package/dist/node_modules/@aws-sdk/client-s3/dist-types/pagination/ListObjectsV2Paginator.d.ts +7 -0
  355. package/dist/node_modules/@aws-sdk/client-s3/dist-types/pagination/ListPartsPaginator.d.ts +7 -0
  356. package/dist/node_modules/@aws-sdk/client-s3/dist-types/pagination/index.d.ts +3 -0
  357. package/dist/node_modules/@aws-sdk/client-s3/dist-types/protocols/Aws_restXml.d.ts +839 -0
  358. package/dist/node_modules/@aws-sdk/client-s3/dist-types/runtimeConfig.browser.d.ts +54 -0
  359. package/dist/node_modules/@aws-sdk/client-s3/dist-types/runtimeConfig.d.ts +54 -0
  360. package/dist/node_modules/@aws-sdk/client-s3/dist-types/runtimeConfig.native.d.ts +53 -0
  361. package/dist/node_modules/@aws-sdk/client-s3/dist-types/runtimeConfig.shared.d.ts +25 -0
  362. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/S3.d.ts +1646 -0
  363. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/S3Client.d.ts +693 -0
  364. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/AbortMultipartUploadCommand.d.ts +42 -0
  365. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/CompleteMultipartUploadCommand.d.ts +42 -0
  366. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/CopyObjectCommand.d.ts +35 -0
  367. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/CreateBucketCommand.d.ts +35 -0
  368. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/CreateMultipartUploadCommand.d.ts +42 -0
  369. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketAnalyticsConfigurationCommand.d.ts +38 -0
  370. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketCommand.d.ts +33 -0
  371. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketCorsCommand.d.ts +33 -0
  372. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketEncryptionCommand.d.ts +37 -0
  373. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketIntelligentTieringConfigurationCommand.d.ts +38 -0
  374. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketInventoryConfigurationCommand.d.ts +38 -0
  375. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketLifecycleCommand.d.ts +37 -0
  376. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketMetricsConfigurationCommand.d.ts +38 -0
  377. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketOwnershipControlsCommand.d.ts +38 -0
  378. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketPolicyCommand.d.ts +34 -0
  379. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketReplicationCommand.d.ts +38 -0
  380. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketTaggingCommand.d.ts +34 -0
  381. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketWebsiteCommand.d.ts +34 -0
  382. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteObjectCommand.d.ts +35 -0
  383. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteObjectTaggingCommand.d.ts +39 -0
  384. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteObjectsCommand.d.ts +35 -0
  385. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeletePublicAccessBlockCommand.d.ts +38 -0
  386. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketAccelerateConfigurationCommand.d.ts +42 -0
  387. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketAclCommand.d.ts +35 -0
  388. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketAnalyticsConfigurationCommand.d.ts +42 -0
  389. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketCorsCommand.d.ts +35 -0
  390. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketEncryptionCommand.d.ts +39 -0
  391. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketIntelligentTieringConfigurationCommand.d.ts +42 -0
  392. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketInventoryConfigurationCommand.d.ts +42 -0
  393. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketLifecycleConfigurationCommand.d.ts +42 -0
  394. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketLocationCommand.d.ts +39 -0
  395. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketLoggingCommand.d.ts +38 -0
  396. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketMetricsConfigurationCommand.d.ts +42 -0
  397. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketNotificationConfigurationCommand.d.ts +42 -0
  398. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketOwnershipControlsCommand.d.ts +42 -0
  399. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketPolicyCommand.d.ts +38 -0
  400. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketPolicyStatusCommand.d.ts +42 -0
  401. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketReplicationCommand.d.ts +42 -0
  402. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketRequestPaymentCommand.d.ts +42 -0
  403. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketTaggingCommand.d.ts +38 -0
  404. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketVersioningCommand.d.ts +39 -0
  405. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketWebsiteCommand.d.ts +38 -0
  406. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetObjectAclCommand.d.ts +35 -0
  407. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetObjectAttributesCommand.d.ts +39 -0
  408. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetObjectCommand.d.ts +36 -0
  409. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetObjectLegalHoldCommand.d.ts +39 -0
  410. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetObjectLockConfigurationCommand.d.ts +42 -0
  411. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetObjectRetentionCommand.d.ts +39 -0
  412. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetObjectTaggingCommand.d.ts +38 -0
  413. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetObjectTorrentCommand.d.ts +39 -0
  414. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetPublicAccessBlockCommand.d.ts +42 -0
  415. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/HeadBucketCommand.d.ts +33 -0
  416. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/HeadObjectCommand.d.ts +35 -0
  417. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/ListBucketAnalyticsConfigurationsCommand.d.ts +42 -0
  418. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/ListBucketIntelligentTieringConfigurationsCommand.d.ts +42 -0
  419. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/ListBucketInventoryConfigurationsCommand.d.ts +42 -0
  420. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/ListBucketMetricsConfigurationsCommand.d.ts +42 -0
  421. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/ListBucketsCommand.d.ts +35 -0
  422. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/ListMultipartUploadsCommand.d.ts +42 -0
  423. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/ListObjectVersionsCommand.d.ts +39 -0
  424. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/ListObjectsCommand.d.ts +35 -0
  425. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/ListObjectsV2Command.d.ts +35 -0
  426. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/ListPartsCommand.d.ts +35 -0
  427. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketAccelerateConfigurationCommand.d.ts +38 -0
  428. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketAclCommand.d.ts +33 -0
  429. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketAnalyticsConfigurationCommand.d.ts +38 -0
  430. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketCorsCommand.d.ts +33 -0
  431. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketEncryptionCommand.d.ts +34 -0
  432. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketIntelligentTieringConfigurationCommand.d.ts +38 -0
  433. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketInventoryConfigurationCommand.d.ts +38 -0
  434. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketLifecycleConfigurationCommand.d.ts +38 -0
  435. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketLoggingCommand.d.ts +33 -0
  436. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketMetricsConfigurationCommand.d.ts +38 -0
  437. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketNotificationConfigurationCommand.d.ts +38 -0
  438. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketOwnershipControlsCommand.d.ts +38 -0
  439. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketPolicyCommand.d.ts +33 -0
  440. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketReplicationCommand.d.ts +37 -0
  441. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketRequestPaymentCommand.d.ts +38 -0
  442. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketTaggingCommand.d.ts +33 -0
  443. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketVersioningCommand.d.ts +34 -0
  444. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketWebsiteCommand.d.ts +33 -0
  445. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutObjectAclCommand.d.ts +35 -0
  446. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutObjectCommand.d.ts +41 -0
  447. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutObjectLegalHoldCommand.d.ts +39 -0
  448. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutObjectLockConfigurationCommand.d.ts +42 -0
  449. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutObjectRetentionCommand.d.ts +39 -0
  450. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutObjectTaggingCommand.d.ts +38 -0
  451. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutPublicAccessBlockCommand.d.ts +37 -0
  452. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/RestoreObjectCommand.d.ts +35 -0
  453. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/SelectObjectContentCommand.d.ts +39 -0
  454. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/UploadPartCommand.d.ts +41 -0
  455. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/UploadPartCopyCommand.d.ts +38 -0
  456. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/WriteGetObjectResponseCommand.d.ts +43 -0
  457. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/index.d.ts +93 -0
  458. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +46 -0
  459. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
  460. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
  461. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/index.d.ts +7 -0
  462. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/models/S3ServiceException.d.ts +8 -0
  463. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/models/index.d.ts +2 -0
  464. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/models/models_0.d.ts +2211 -0
  465. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/models/models_1.d.ts +460 -0
  466. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/pagination/Interfaces.d.ts +5 -0
  467. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/pagination/ListObjectsV2Paginator.d.ts +11 -0
  468. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/pagination/ListPartsPaginator.d.ts +11 -0
  469. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/pagination/index.d.ts +3 -0
  470. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/protocols/Aws_restXml.d.ts +1125 -0
  471. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/runtimeConfig.browser.d.ts +115 -0
  472. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/runtimeConfig.d.ts +115 -0
  473. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/runtimeConfig.native.d.ts +100 -0
  474. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/runtimeConfig.shared.d.ts +33 -0
  475. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/waiters/index.d.ts +4 -0
  476. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/waiters/waitForBucketExists.d.ts +11 -0
  477. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/waiters/waitForBucketNotExists.d.ts +11 -0
  478. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/waiters/waitForObjectExists.d.ts +11 -0
  479. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/waiters/waitForObjectNotExists.d.ts +11 -0
  480. package/dist/node_modules/@aws-sdk/client-s3/dist-types/waiters/index.d.ts +4 -0
  481. package/dist/node_modules/@aws-sdk/client-s3/dist-types/waiters/waitForBucketExists.d.ts +14 -0
  482. package/dist/node_modules/@aws-sdk/client-s3/dist-types/waiters/waitForBucketNotExists.d.ts +14 -0
  483. package/dist/node_modules/@aws-sdk/client-s3/dist-types/waiters/waitForObjectExists.d.ts +14 -0
  484. package/dist/node_modules/@aws-sdk/client-s3/dist-types/waiters/waitForObjectNotExists.d.ts +14 -0
  485. package/dist/node_modules/@aws-sdk/client-s3/package.json +1 -0
  486. package/dist/node_modules/mime-match/.travis.yml +11 -0
  487. package/dist/node_modules/mime-match/example.js +17 -0
  488. package/dist/node_modules/mime-match/index.js +1 -0
  489. package/dist/node_modules/mime-match/package.json +1 -0
  490. package/dist/node_modules/mime-match/test.js +45 -0
  491. package/dist/node_modules/mkdirp/LICENSE +21 -0
  492. package/dist/node_modules/mkdirp/bin/cmd.js +33 -0
  493. package/dist/node_modules/mkdirp/bin/usage.txt +12 -0
  494. package/dist/node_modules/mkdirp/index.js +1 -0
  495. package/dist/node_modules/mkdirp/package.json +1 -0
  496. package/dist/node_modules/mkdirp/readme.markdown +100 -0
  497. package/dist/node_modules/multer-aliyun-oss/bridge.js +1010 -0
  498. package/dist/node_modules/multer-aliyun-oss/events.js +977 -0
  499. package/dist/node_modules/multer-aliyun-oss/index.js +166 -0
  500. package/dist/node_modules/multer-aliyun-oss/package.json +1 -0
  501. package/dist/node_modules/multer-aliyun-oss/setup-node-sandbox.js +461 -0
  502. package/dist/node_modules/multer-aliyun-oss/setup-sandbox.js +545 -0
  503. package/dist/node_modules/multer-cos/LICENSE +24 -0
  504. package/dist/node_modules/multer-cos/demo/index.js +39 -0
  505. package/dist/node_modules/multer-cos/demo/myMulter.js +88 -0
  506. package/dist/node_modules/multer-cos/index.js +220 -0
  507. package/dist/node_modules/multer-cos/package.json +1 -0
  508. package/dist/node_modules/multer-s3/.gitattributes +1 -0
  509. package/dist/node_modules/multer-s3/.travis.yml +6 -0
  510. package/dist/node_modules/multer-s3/LICENSE +22 -0
  511. package/dist/node_modules/multer-s3/index.js +35 -0
  512. package/dist/node_modules/multer-s3/package.json +1 -0
  513. package/dist/node_modules/multer-s3/test/basic.js +293 -0
  514. package/dist/node_modules/multer-s3/test/files/a.txt +1 -0
  515. package/dist/node_modules/multer-s3/test/files/test.svg +3 -0
  516. package/dist/node_modules/multer-s3/test/files/test2.svg +9 -0
  517. package/dist/node_modules/multer-s3/test/util/mock-s3.js +17 -0
  518. package/dist/server/actions/attachments.js +173 -0
  519. package/dist/server/actions/index.js +16 -0
  520. package/dist/server/collections/attachments.js +67 -0
  521. package/dist/server/collections/storages.js +67 -0
  522. package/dist/server/constants.js +17 -0
  523. package/dist/server/index.js +23 -0
  524. package/dist/server/rules/index.js +14 -0
  525. package/dist/server/rules/mimetype.js +13 -0
  526. package/dist/server/server.js +75 -0
  527. package/{src/server/storages/ali-oss.ts → dist/server/storages/ali-oss.js} +17 -14
  528. package/dist/server/storages/index.js +30 -0
  529. package/dist/server/storages/local.js +148 -0
  530. package/{src/server/storages/s3.ts → dist/server/storages/s3.js} +26 -26
  531. package/dist/server/storages/tx-cos.js +44 -0
  532. package/dist/server/utils.js +26 -0
  533. package/package.json +21 -32
  534. package/server.d.ts +2 -3
  535. package/server.js +1 -1
  536. package/lib/client/FileManagerProvider.js +0 -94
  537. package/lib/client/FileStorage.js +0 -41
  538. package/lib/client/StorageOptions.js +0 -181
  539. package/lib/client/hooks/index.js +0 -16
  540. package/lib/client/hooks/useUploadFiles.js +0 -78
  541. package/lib/client/index.js +0 -27
  542. package/lib/client/initializers/UploadActionInitializer.js +0 -67
  543. package/lib/client/initializers/index.js +0 -16
  544. package/lib/client/interfaces/attachment.js +0 -139
  545. package/lib/client/locale/index.js +0 -19
  546. package/lib/client/schemas/storage.js +0 -408
  547. package/lib/client/templates/file.js +0 -164
  548. package/lib/client/templates/index.js +0 -16
  549. package/lib/index.js +0 -13
  550. package/lib/locale/en-US.js +0 -28
  551. package/lib/locale/fr-FR.js +0 -28
  552. package/lib/locale/ja-JP.js +0 -25
  553. package/lib/locale/ru-RU.js +0 -25
  554. package/lib/locale/tr-TR.js +0 -24
  555. package/lib/locale/zh-CN.js +0 -38
  556. package/lib/server/actions/attachments.js +0 -211
  557. package/lib/server/actions/index.js +0 -22
  558. package/lib/server/collections/attachments.js +0 -61
  559. package/lib/server/collections/storages.js +0 -61
  560. package/lib/server/constants.js +0 -20
  561. package/lib/server/index.js +0 -26
  562. package/lib/server/rules/index.js +0 -13
  563. package/lib/server/rules/mimetype.js +0 -17
  564. package/lib/server/server.js +0 -105
  565. package/lib/server/storages/ali-oss.js +0 -44
  566. package/lib/server/storages/index.js +0 -30
  567. package/lib/server/storages/local.js +0 -233
  568. package/lib/server/storages/s3.js +0 -86
  569. package/lib/server/storages/tx-cos.js +0 -58
  570. package/lib/server/utils.js +0 -36
  571. package/src/client/FileManagerProvider.tsx +0 -84
  572. package/src/client/FileStorage.tsx +0 -15
  573. package/src/client/StorageOptions.tsx +0 -146
  574. package/src/client/hooks/index.ts +0 -1
  575. package/src/client/hooks/useUploadFiles.ts +0 -55
  576. package/src/client/index.tsx +0 -10
  577. package/src/client/initializers/UploadActionInitializer.tsx +0 -42
  578. package/src/client/initializers/index.ts +0 -1
  579. package/src/client/interfaces/attachment.ts +0 -116
  580. package/src/client/locale/index.ts +0 -7
  581. package/src/client/schemas/storage.ts +0 -391
  582. package/src/client/templates/file.ts +0 -154
  583. package/src/client/templates/index.ts +0 -1
  584. package/src/index.ts +0 -1
  585. package/src/locale/en-US.ts +0 -21
  586. package/src/locale/fr-FR.ts +0 -21
  587. package/src/locale/ja-JP.ts +0 -18
  588. package/src/locale/ru-RU.ts +0 -18
  589. package/src/locale/tr-TR.ts +0 -17
  590. package/src/locale/zh-CN.ts +0 -31
  591. package/src/server/__tests__/action.test.ts +0 -332
  592. package/src/server/__tests__/attachment.test.ts +0 -50
  593. package/src/server/__tests__/files/image.jpg +0 -0
  594. package/src/server/__tests__/files/image.png +0 -0
  595. package/src/server/__tests__/files/text.txt +0 -1
  596. package/src/server/__tests__/index.ts +0 -34
  597. package/src/server/__tests__/storages/ali-oss.test.ts +0 -127
  598. package/src/server/__tests__/storages/s3.test.ts +0 -126
  599. package/src/server/__tests__/storages/tx-cos.test.ts +0 -69
  600. package/src/server/__tests__/tables/users.ts +0 -26
  601. package/src/server/actions/attachments.ts +0 -175
  602. package/src/server/actions/index.ts +0 -9
  603. package/src/server/collections/attachments.ts +0 -65
  604. package/src/server/collections/storages.ts +0 -65
  605. package/src/server/constants.ts +0 -8
  606. package/src/server/index.ts +0 -2
  607. package/src/server/rules/index.ts +0 -3
  608. package/src/server/rules/mimetype.ts +0 -5
  609. package/src/server/server.ts +0 -79
  610. package/src/server/storages/index.ts +0 -46
  611. package/src/server/storages/local.ts +0 -167
  612. package/src/server/storages/tx-cos.ts +0 -42
  613. package/src/server/utils.ts +0 -17
  614. /package/{lib → dist}/client/FileManagerProvider.d.ts +0 -0
  615. /package/{lib → dist}/client/FileStorage.d.ts +0 -0
  616. /package/{lib → dist}/client/StorageOptions.d.ts +0 -0
  617. /package/{lib → dist}/client/hooks/index.d.ts +0 -0
  618. /package/{lib → dist}/client/hooks/useUploadFiles.d.ts +0 -0
  619. /package/{lib → dist}/client/index.d.ts +0 -0
  620. /package/{lib → dist}/client/initializers/UploadActionInitializer.d.ts +0 -0
  621. /package/{lib → dist}/client/initializers/index.d.ts +0 -0
  622. /package/{lib → dist}/client/interfaces/attachment.d.ts +0 -0
  623. /package/{lib → dist}/client/locale/index.d.ts +0 -0
  624. /package/{lib → dist}/client/schemas/storage.d.ts +0 -0
  625. /package/{lib → dist}/client/templates/file.d.ts +0 -0
  626. /package/{lib → dist}/client/templates/index.d.ts +0 -0
  627. /package/{lib → dist}/locale/en-US.d.ts +0 -0
  628. /package/{lib → dist}/locale/fr-FR.d.ts +0 -0
  629. /package/{lib → dist}/locale/ja-JP.d.ts +0 -0
  630. /package/{lib → dist}/locale/ru-RU.d.ts +0 -0
  631. /package/{lib → dist}/locale/tr-TR.d.ts +0 -0
  632. /package/{lib → dist}/locale/zh-CN.d.ts +0 -0
  633. /package/{lib → dist}/server/actions/attachments.d.ts +0 -0
  634. /package/{lib → dist}/server/actions/index.d.ts +0 -0
  635. /package/{lib → dist}/server/collections/attachments.d.ts +0 -0
  636. /package/{lib → dist}/server/collections/storages.d.ts +0 -0
  637. /package/{lib → dist}/server/constants.d.ts +0 -0
  638. /package/{lib → dist}/server/index.d.ts +0 -0
  639. /package/{lib → dist}/server/rules/index.d.ts +0 -0
  640. /package/{lib → dist}/server/rules/mimetype.d.ts +0 -0
  641. /package/{lib → dist}/server/server.d.ts +0 -0
  642. /package/{lib → dist}/server/storages/ali-oss.d.ts +0 -0
  643. /package/{lib → dist}/server/storages/index.d.ts +0 -0
  644. /package/{lib → dist}/server/storages/local.d.ts +0 -0
  645. /package/{lib → dist}/server/storages/s3.d.ts +0 -0
  646. /package/{lib → dist}/server/storages/tx-cos.d.ts +0 -0
  647. /package/{lib → dist}/server/utils.d.ts +0 -0
@@ -0,0 +1,213 @@
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
+ import { CreateBucketOutput, CreateBucketRequest } from "../models/models_0";
5
+ import { S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3Client";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link CreateBucketCommand}.
14
+ */
15
+ export interface CreateBucketCommandInput extends CreateBucketRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link CreateBucketCommand}.
21
+ */
22
+ export interface CreateBucketCommandOutput extends CreateBucketOutput, __MetadataBearer {
23
+ }
24
+ /**
25
+ * @public
26
+ * <p>Creates a new S3 bucket. To create a bucket, you must register with Amazon S3 and have a
27
+ * valid Amazon Web Services Access Key ID to authenticate requests. Anonymous requests are never allowed to
28
+ * create buckets. By creating the bucket, you become the bucket owner.</p>
29
+ * <p>Not every string is an acceptable bucket name. For information about bucket naming
30
+ * restrictions, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/bucketnamingrules.html">Bucket naming
31
+ * rules</a>.</p>
32
+ * <p>If you want to create an Amazon S3 on Outposts bucket, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_CreateBucket.html">Create Bucket</a>. </p>
33
+ * <p>By default, the bucket is created in the US East (N. Virginia) Region. You can
34
+ * optionally specify a Region in the request body. You might choose a Region to optimize
35
+ * latency, minimize costs, or address regulatory requirements. For example, if you reside in
36
+ * Europe, you will probably find it advantageous to create buckets in the Europe (Ireland)
37
+ * Region. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/UsingBucket.html#access-bucket-intro">Accessing a
38
+ * bucket</a>.</p>
39
+ * <note>
40
+ * <p>If you send your create bucket request to the <code>s3.amazonaws.com</code> endpoint,
41
+ * the request goes to the <code>us-east-1</code> Region. Accordingly, the signature calculations in
42
+ * Signature Version 4 must use <code>us-east-1</code> as the Region, even if the location constraint in
43
+ * the request specifies another Region where the bucket is to be created. If you create a
44
+ * bucket in a Region other than US East (N. Virginia), your application must be able to
45
+ * handle 307 redirect. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/VirtualHosting.html">Virtual hosting of
46
+ * buckets</a>.</p>
47
+ * </note>
48
+ * <dl>
49
+ * <dt>Permissions</dt>
50
+ * <dd>
51
+ * <p>In addition to <code>s3:CreateBucket</code>, the following permissions are required when
52
+ * your <code>CreateBucket</code> request includes specific headers:</p>
53
+ * <ul>
54
+ * <li>
55
+ * <p>
56
+ * <b>Access control lists (ACLs)</b> - If your <code>CreateBucket</code> request
57
+ * specifies access control list (ACL) permissions and the ACL is public-read, public-read-write,
58
+ * authenticated-read, or if you specify access permissions explicitly through any other
59
+ * ACL, both <code>s3:CreateBucket</code> and <code>s3:PutBucketAcl</code> permissions
60
+ * are needed. If the ACL for the <code>CreateBucket</code> request is private or if the request doesn't
61
+ * specify any ACLs, only <code>s3:CreateBucket</code> permission is needed. </p>
62
+ * </li>
63
+ * <li>
64
+ * <p>
65
+ * <b>Object Lock</b> - If <code>ObjectLockEnabledForBucket</code> is set to true in your
66
+ * <code>CreateBucket</code> request,
67
+ * <code>s3:PutBucketObjectLockConfiguration</code> and
68
+ * <code>s3:PutBucketVersioning</code> permissions are required.</p>
69
+ * </li>
70
+ * <li>
71
+ * <p>
72
+ * <b>S3 Object Ownership</b> - If your <code>CreateBucket</code> request includes the <code>x-amz-object-ownership</code> header, then the
73
+ * <code>s3:PutBucketOwnershipControls</code> permission is required. By default, <code>ObjectOwnership</code> is set to <code>BucketOWnerEnforced</code> and ACLs are disabled. We recommend keeping
74
+ * ACLs disabled, except in uncommon use cases where you must control access for each object individually. If you want to change the <code>ObjectOwnership</code> setting, you can use the
75
+ * <code>x-amz-object-ownership</code> header in your <code>CreateBucket</code> request to set the <code>ObjectOwnership</code> setting of your choice.
76
+ * For more information about S3 Object Ownership, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/about-object-ownership.html">Controlling object
77
+ * ownership </a> in the <i>Amazon S3 User Guide</i>.</p>
78
+ * </li>
79
+ * <li>
80
+ * <p>
81
+ * <b>S3 Block Public Access</b> - If your specific use case requires granting public access to your S3 resources, you can disable Block Public Access. You can create a new bucket with Block Public Access enabled, then separately call the <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_DeletePublicAccessBlock.html">
82
+ * <code>DeletePublicAccessBlock</code>
83
+ * </a> API. To use this operation, you must have the
84
+ * <code>s3:PutBucketPublicAccessBlock</code> permission. By default, all Block
85
+ * Public Access settings are enabled for new buckets. To avoid inadvertent exposure of
86
+ * your resources, we recommend keeping the S3 Block Public Access settings enabled. For more information about S3 Block Public Access, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/about-object-ownership.html">Blocking public
87
+ * access to your Amazon S3 storage </a> in the <i>Amazon S3 User Guide</i>. </p>
88
+ * </li>
89
+ * </ul>
90
+ * </dd>
91
+ * </dl>
92
+ * <important>
93
+ * <p> If your <code>CreateBucket</code> request sets <code>BucketOwnerEnforced</code> for Amazon S3 Object Ownership
94
+ * and specifies a bucket ACL that provides access to an external Amazon Web Services account, your request fails with a <code>400</code> error and returns the <code>InvalidBucketAcLWithObjectOwnership</code> error code. For more information,
95
+ * see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/object-ownership-existing-bucket.html">Setting Object
96
+ * Ownership on an existing bucket </a> in the <i>Amazon S3 User Guide</i>. </p>
97
+ * </important>
98
+ * <p>The following operations are related to <code>CreateBucket</code>:</p>
99
+ * <ul>
100
+ * <li>
101
+ * <p>
102
+ * <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutObject.html">PutObject</a>
103
+ * </p>
104
+ * </li>
105
+ * <li>
106
+ * <p>
107
+ * <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_DeleteBucket.html">DeleteBucket</a>
108
+ * </p>
109
+ * </li>
110
+ * </ul>
111
+ * @example
112
+ * Use a bare-bones client and the command you need to make an API call.
113
+ * ```javascript
114
+ * import { S3Client, CreateBucketCommand } from "@aws-sdk/client-s3"; // ES Modules import
115
+ * // const { S3Client, CreateBucketCommand } = require("@aws-sdk/client-s3"); // CommonJS import
116
+ * const client = new S3Client(config);
117
+ * const input = { // CreateBucketRequest
118
+ * ACL: "private" || "public-read" || "public-read-write" || "authenticated-read",
119
+ * Bucket: "STRING_VALUE", // required
120
+ * CreateBucketConfiguration: { // CreateBucketConfiguration
121
+ * LocationConstraint: "af-south-1" || "ap-east-1" || "ap-northeast-1" || "ap-northeast-2" || "ap-northeast-3" || "ap-south-1" || "ap-southeast-1" || "ap-southeast-2" || "ap-southeast-3" || "ca-central-1" || "cn-north-1" || "cn-northwest-1" || "EU" || "eu-central-1" || "eu-north-1" || "eu-south-1" || "eu-west-1" || "eu-west-2" || "eu-west-3" || "me-south-1" || "sa-east-1" || "us-east-2" || "us-gov-east-1" || "us-gov-west-1" || "us-west-1" || "us-west-2",
122
+ * },
123
+ * GrantFullControl: "STRING_VALUE",
124
+ * GrantRead: "STRING_VALUE",
125
+ * GrantReadACP: "STRING_VALUE",
126
+ * GrantWrite: "STRING_VALUE",
127
+ * GrantWriteACP: "STRING_VALUE",
128
+ * ObjectLockEnabledForBucket: true || false,
129
+ * ObjectOwnership: "BucketOwnerPreferred" || "ObjectWriter" || "BucketOwnerEnforced",
130
+ * };
131
+ * const command = new CreateBucketCommand(input);
132
+ * const response = await client.send(command);
133
+ * // { // CreateBucketOutput
134
+ * // Location: "STRING_VALUE",
135
+ * // };
136
+ *
137
+ * ```
138
+ *
139
+ * @param CreateBucketCommandInput - {@link CreateBucketCommandInput}
140
+ * @returns {@link CreateBucketCommandOutput}
141
+ * @see {@link CreateBucketCommandInput} for command's `input` shape.
142
+ * @see {@link CreateBucketCommandOutput} for command's `response` shape.
143
+ * @see {@link S3ClientResolvedConfig | config} for S3Client's `config` shape.
144
+ *
145
+ * @throws {@link BucketAlreadyExists} (client fault)
146
+ * <p>The requested bucket name is not available. The bucket namespace is shared by all users
147
+ * of the system. Select a different name and try again.</p>
148
+ *
149
+ * @throws {@link BucketAlreadyOwnedByYou} (client fault)
150
+ * <p>The bucket you tried to create already exists, and you own it. Amazon S3 returns this error
151
+ * in all Amazon Web Services Regions except in the North Virginia Region. For legacy compatibility, if you
152
+ * re-create an existing bucket that you already own in the North Virginia Region, Amazon S3
153
+ * returns 200 OK and resets the bucket access control lists (ACLs).</p>
154
+ *
155
+ * @throws {@link S3ServiceException}
156
+ * <p>Base exception class for all service exceptions from S3 service.</p>
157
+ *
158
+ * @example To create a bucket
159
+ * ```javascript
160
+ * // The following example creates a bucket.
161
+ * const input = {
162
+ * "Bucket": "examplebucket"
163
+ * };
164
+ * const command = new CreateBucketCommand(input);
165
+ * const response = await client.send(command);
166
+ * /* response ==
167
+ * {
168
+ * "Location": "/examplebucket"
169
+ * }
170
+ * *\/
171
+ * // example id: to-create-a-bucket--1472851826060
172
+ * ```
173
+ *
174
+ * @example To create a bucket in a specific region
175
+ * ```javascript
176
+ * // The following example creates a bucket. The request specifies an AWS region where to create the bucket.
177
+ * const input = {
178
+ * "Bucket": "examplebucket",
179
+ * "CreateBucketConfiguration": {
180
+ * "LocationConstraint": "eu-west-1"
181
+ * }
182
+ * };
183
+ * const command = new CreateBucketCommand(input);
184
+ * const response = await client.send(command);
185
+ * /* response ==
186
+ * {
187
+ * "Location": "http://examplebucket.<Region>.s3.amazonaws.com/"
188
+ * }
189
+ * *\/
190
+ * // example id: to-create-a-bucket-in-a-specific-region-1483399072992
191
+ * ```
192
+ *
193
+ */
194
+ export declare class CreateBucketCommand extends $Command<CreateBucketCommandInput, CreateBucketCommandOutput, S3ClientResolvedConfig> {
195
+ readonly input: CreateBucketCommandInput;
196
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
197
+ /**
198
+ * @public
199
+ */
200
+ constructor(input: CreateBucketCommandInput);
201
+ /**
202
+ * @internal
203
+ */
204
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: S3ClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateBucketCommandInput, CreateBucketCommandOutput>;
205
+ /**
206
+ * @internal
207
+ */
208
+ private serialize;
209
+ /**
210
+ * @internal
211
+ */
212
+ private deserialize;
213
+ }
@@ -0,0 +1,427 @@
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
+ import { CreateMultipartUploadOutput, CreateMultipartUploadRequest } from "../models/models_0";
5
+ import { S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3Client";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link CreateMultipartUploadCommand}.
14
+ */
15
+ export interface CreateMultipartUploadCommandInput extends CreateMultipartUploadRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link CreateMultipartUploadCommand}.
21
+ */
22
+ export interface CreateMultipartUploadCommandOutput extends CreateMultipartUploadOutput, __MetadataBearer {
23
+ }
24
+ /**
25
+ * @public
26
+ * <p>This action initiates a multipart upload and returns an upload ID. This upload ID is
27
+ * used to associate all of the parts in the specific multipart upload. You specify this
28
+ * upload ID in each of your subsequent upload part requests (see <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_UploadPart.html">UploadPart</a>). You also include this
29
+ * upload ID in the final request to either complete or abort the multipart upload
30
+ * request.</p>
31
+ * <p>For more information about multipart uploads, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/mpuoverview.html">Multipart Upload Overview</a>.</p>
32
+ * <p>If you have configured a lifecycle rule to abort incomplete multipart uploads, the
33
+ * upload must complete within the number of days specified in the bucket lifecycle
34
+ * configuration. Otherwise, the incomplete multipart upload becomes eligible for an abort
35
+ * action and Amazon S3 aborts the multipart upload. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/mpuoverview.html#mpu-abort-incomplete-mpu-lifecycle-config">Aborting Incomplete Multipart Uploads Using a Bucket Lifecycle Configuration</a>.</p>
36
+ * <p>For information about the permissions required to use the multipart upload API, see
37
+ * <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/mpuAndPermissions.html">Multipart
38
+ * Upload and Permissions</a>.</p>
39
+ * <p>For request signing, multipart upload is just a series of regular requests. You initiate
40
+ * a multipart upload, send one or more requests to upload parts, and then complete the
41
+ * multipart upload process. You sign each request individually. There is nothing special
42
+ * about signing multipart upload requests. For more information about signing, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/sig-v4-authenticating-requests.html">Authenticating Requests (Amazon Web Services Signature Version 4)</a>.</p>
43
+ * <note>
44
+ * <p>After you initiate a multipart upload and upload one or more parts, to stop being
45
+ * charged for storing the uploaded parts, you must either complete or abort the multipart
46
+ * upload. Amazon S3 frees up the space used to store the parts and stop charging you for
47
+ * storing them only after you either complete or abort a multipart upload. </p>
48
+ * </note>
49
+ * <p>Server-side encryption is for data encryption at rest. Amazon S3 encrypts your data as it
50
+ * writes it to disks in its data centers and decrypts it when you access it. Amazon S3
51
+ * automatically encrypts all new objects that are uploaded to an S3 bucket. When doing a
52
+ * multipart upload, if you don't specify encryption information in your request, the
53
+ * encryption setting of the uploaded parts is set to the default encryption configuration of
54
+ * the destination bucket. By default, all buckets have a base level of encryption
55
+ * configuration that uses server-side encryption with Amazon S3 managed keys (SSE-S3). If the
56
+ * destination bucket has a default encryption configuration that uses server-side encryption
57
+ * with an Key Management Service (KMS) key (SSE-KMS), or a customer-provided encryption key (SSE-C),
58
+ * Amazon S3 uses the corresponding KMS key, or a customer-provided key to encrypt the uploaded
59
+ * parts. When you perform a CreateMultipartUpload operation, if you want to use a different
60
+ * type of encryption setting for the uploaded parts, you can request that Amazon S3 encrypts the
61
+ * object with a KMS key, an Amazon S3 managed key, or a customer-provided key. If the encryption
62
+ * setting in your request is different from the default encryption configuration of the
63
+ * destination bucket, the encryption setting in your request takes precedence. If you choose
64
+ * to provide your own encryption key, the request headers you provide in <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_UploadPart.html">UploadPart</a>
65
+ * and <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_UploadPartCopy.html">UploadPartCopy</a> requests must match the headers you used in the request to
66
+ * initiate the upload by using <code>CreateMultipartUpload</code>. You can request that Amazon S3
67
+ * save the uploaded parts encrypted with server-side encryption with an Amazon S3 managed key
68
+ * (SSE-S3), an Key Management Service (KMS) key (SSE-KMS), or a customer-provided encryption key
69
+ * (SSE-C). </p>
70
+ * <p>To perform a multipart upload with encryption by using an Amazon Web Services KMS key, the requester
71
+ * must have permission to the <code>kms:Decrypt</code> and <code>kms:GenerateDataKey*</code>
72
+ * actions on the key. These permissions are required because Amazon S3 must decrypt and read data
73
+ * from the encrypted file parts before it completes the multipart upload. For more
74
+ * information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/mpuoverview.html#mpuAndPermissions">Multipart upload API
75
+ * and permissions</a> and <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/UsingKMSEncryption.html">Protecting data using
76
+ * server-side encryption with Amazon Web Services KMS</a> in the
77
+ * <i>Amazon S3 User Guide</i>.</p>
78
+ * <p>If your Identity and Access Management (IAM) user or role is in the same Amazon Web Services account as the KMS key,
79
+ * then you must have these permissions on the key policy. If your IAM user or role belongs
80
+ * to a different account than the key, then you must have the permissions on both the key
81
+ * policy and your IAM user or role.</p>
82
+ * <p> For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/serv-side-encryption.html">Protecting Data Using Server-Side
83
+ * Encryption</a>.</p>
84
+ * <dl>
85
+ * <dt>Access Permissions</dt>
86
+ * <dd>
87
+ * <p>When copying an object, you can optionally specify the accounts or groups that
88
+ * should be granted specific permissions on the new object. There are two ways to
89
+ * grant the permissions using the request headers:</p>
90
+ * <ul>
91
+ * <li>
92
+ * <p>Specify a canned ACL with the <code>x-amz-acl</code> request header. For
93
+ * more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/acl-overview.html#CannedACL">Canned
94
+ * ACL</a>.</p>
95
+ * </li>
96
+ * <li>
97
+ * <p>Specify access permissions explicitly with the
98
+ * <code>x-amz-grant-read</code>, <code>x-amz-grant-read-acp</code>,
99
+ * <code>x-amz-grant-write-acp</code>, and
100
+ * <code>x-amz-grant-full-control</code> headers. These parameters map to
101
+ * the set of permissions that Amazon S3 supports in an ACL. For more information,
102
+ * see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/acl-overview.html">Access Control List (ACL) Overview</a>.</p>
103
+ * </li>
104
+ * </ul>
105
+ * <p>You can use either a canned ACL or specify access permissions explicitly. You
106
+ * cannot do both.</p>
107
+ * </dd>
108
+ * <dt>Server-Side- Encryption-Specific Request Headers</dt>
109
+ * <dd>
110
+ * <p>Amazon S3 encrypts data
111
+ * by using server-side encryption with an Amazon S3 managed key (SSE-S3) by default. Server-side encryption is for data encryption at rest. Amazon S3 encrypts
112
+ * your data as it writes it to disks in its data centers and decrypts it when you
113
+ * access it. You can request that Amazon S3 encrypts
114
+ * data at rest by using server-side encryption with other key options. The option you use depends on
115
+ * whether you want to use KMS keys (SSE-KMS) or provide your own encryption keys
116
+ * (SSE-C).</p>
117
+ * <ul>
118
+ * <li>
119
+ * <p>Use KMS keys (SSE-KMS) that include the Amazon Web Services managed key
120
+ * (<code>aws/s3</code>) and KMS customer managed keys stored in Key Management Service (KMS) – If you
121
+ * want Amazon Web Services to manage the keys used to encrypt data, specify the following
122
+ * headers in the request.</p>
123
+ * <ul>
124
+ * <li>
125
+ * <p>
126
+ * <code>x-amz-server-side-encryption</code>
127
+ * </p>
128
+ * </li>
129
+ * <li>
130
+ * <p>
131
+ * <code>x-amz-server-side-encryption-aws-kms-key-id</code>
132
+ * </p>
133
+ * </li>
134
+ * <li>
135
+ * <p>
136
+ * <code>x-amz-server-side-encryption-context</code>
137
+ * </p>
138
+ * </li>
139
+ * </ul>
140
+ * <note>
141
+ * <p>If you specify <code>x-amz-server-side-encryption:aws:kms</code>, but
142
+ * don't provide <code>x-amz-server-side-encryption-aws-kms-key-id</code>,
143
+ * Amazon S3 uses the Amazon Web Services managed key (<code>aws/s3</code> key) in KMS to
144
+ * protect the data.</p>
145
+ * </note>
146
+ * <important>
147
+ * <p>All <code>GET</code> and <code>PUT</code> requests for an object protected
148
+ * by KMS fail if you don't make them by using Secure Sockets Layer (SSL),
149
+ * Transport Layer Security (TLS), or Signature Version 4.</p>
150
+ * </important>
151
+ * <p>For more information about server-side encryption with KMS keys
152
+ * (SSE-KMS), see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/UsingKMSEncryption.html">Protecting Data
153
+ * Using Server-Side Encryption with KMS keys</a>.</p>
154
+ * </li>
155
+ * <li>
156
+ * <p>Use customer-provided encryption keys (SSE-C) – If you want to manage
157
+ * your own encryption keys, provide all the following headers in the
158
+ * request.</p>
159
+ * <ul>
160
+ * <li>
161
+ * <p>
162
+ * <code>x-amz-server-side-encryption-customer-algorithm</code>
163
+ * </p>
164
+ * </li>
165
+ * <li>
166
+ * <p>
167
+ * <code>x-amz-server-side-encryption-customer-key</code>
168
+ * </p>
169
+ * </li>
170
+ * <li>
171
+ * <p>
172
+ * <code>x-amz-server-side-encryption-customer-key-MD5</code>
173
+ * </p>
174
+ * </li>
175
+ * </ul>
176
+ * <p>For more information about server-side encryption with customer-provided
177
+ * encryption keys (SSE-C), see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/ServerSideEncryptionCustomerKeys.html">
178
+ * Protecting data using server-side encryption with customer-provided
179
+ * encryption keys (SSE-C)</a>.</p>
180
+ * </li>
181
+ * </ul>
182
+ * </dd>
183
+ * <dt>Access-Control-List (ACL)-Specific Request Headers</dt>
184
+ * <dd>
185
+ * <p>You also can use the following access control–related headers with this
186
+ * operation. By default, all objects are private. Only the owner has full access
187
+ * control. When adding a new object, you can grant permissions to individual
188
+ * Amazon Web Services accounts or to predefined groups defined by Amazon S3. These permissions are then
189
+ * added to the access control list (ACL) on the object. For more information, see
190
+ * <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/S3_ACLs_UsingACLs.html">Using ACLs</a>. With this operation, you can grant access permissions
191
+ * using one of the following two methods:</p>
192
+ * <ul>
193
+ * <li>
194
+ * <p>Specify a canned ACL (<code>x-amz-acl</code>) — Amazon S3 supports a set of
195
+ * predefined ACLs, known as <i>canned ACLs</i>. Each canned ACL
196
+ * has a predefined set of grantees and permissions. For more information, see
197
+ * <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/acl-overview.html#CannedACL">Canned
198
+ * ACL</a>.</p>
199
+ * </li>
200
+ * <li>
201
+ * <p>Specify access permissions explicitly — To explicitly grant access
202
+ * permissions to specific Amazon Web Services accounts or groups, use the following headers.
203
+ * Each header maps to specific permissions that Amazon S3 supports in an ACL. For
204
+ * more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/acl-overview.html">Access Control List (ACL)
205
+ * Overview</a>. In the header, you specify a list of grantees who get
206
+ * the specific permission. To grant permissions explicitly, use:</p>
207
+ * <ul>
208
+ * <li>
209
+ * <p>
210
+ * <code>x-amz-grant-read</code>
211
+ * </p>
212
+ * </li>
213
+ * <li>
214
+ * <p>
215
+ * <code>x-amz-grant-write</code>
216
+ * </p>
217
+ * </li>
218
+ * <li>
219
+ * <p>
220
+ * <code>x-amz-grant-read-acp</code>
221
+ * </p>
222
+ * </li>
223
+ * <li>
224
+ * <p>
225
+ * <code>x-amz-grant-write-acp</code>
226
+ * </p>
227
+ * </li>
228
+ * <li>
229
+ * <p>
230
+ * <code>x-amz-grant-full-control</code>
231
+ * </p>
232
+ * </li>
233
+ * </ul>
234
+ * <p>You specify each grantee as a type=value pair, where the type is one of
235
+ * the following:</p>
236
+ * <ul>
237
+ * <li>
238
+ * <p>
239
+ * <code>id</code> – if the value specified is the canonical user ID
240
+ * of an Amazon Web Services account</p>
241
+ * </li>
242
+ * <li>
243
+ * <p>
244
+ * <code>uri</code> – if you are granting permissions to a predefined
245
+ * group</p>
246
+ * </li>
247
+ * <li>
248
+ * <p>
249
+ * <code>emailAddress</code> – if the value specified is the email
250
+ * address of an Amazon Web Services account</p>
251
+ * <note>
252
+ * <p>Using email addresses to specify a grantee is only supported in the following Amazon Web Services Regions: </p>
253
+ * <ul>
254
+ * <li>
255
+ * <p>US East (N. Virginia)</p>
256
+ * </li>
257
+ * <li>
258
+ * <p>US West (N. California)</p>
259
+ * </li>
260
+ * <li>
261
+ * <p> US West (Oregon)</p>
262
+ * </li>
263
+ * <li>
264
+ * <p> Asia Pacific (Singapore)</p>
265
+ * </li>
266
+ * <li>
267
+ * <p>Asia Pacific (Sydney)</p>
268
+ * </li>
269
+ * <li>
270
+ * <p>Asia Pacific (Tokyo)</p>
271
+ * </li>
272
+ * <li>
273
+ * <p>Europe (Ireland)</p>
274
+ * </li>
275
+ * <li>
276
+ * <p>South America (São Paulo)</p>
277
+ * </li>
278
+ * </ul>
279
+ * <p>For a list of all the Amazon S3 supported Regions and endpoints, see <a href="https://docs.aws.amazon.com/general/latest/gr/rande.html#s3_region">Regions and Endpoints</a> in the Amazon Web Services General Reference.</p>
280
+ * </note>
281
+ * </li>
282
+ * </ul>
283
+ * <p>For example, the following <code>x-amz-grant-read</code> header grants the Amazon Web Services accounts identified by account IDs permissions to read object data and its metadata:</p>
284
+ * <p>
285
+ * <code>x-amz-grant-read: id="11112222333", id="444455556666" </code>
286
+ * </p>
287
+ * </li>
288
+ * </ul>
289
+ * </dd>
290
+ * </dl>
291
+ * <p>The following operations are related to <code>CreateMultipartUpload</code>:</p>
292
+ * <ul>
293
+ * <li>
294
+ * <p>
295
+ * <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_UploadPart.html">UploadPart</a>
296
+ * </p>
297
+ * </li>
298
+ * <li>
299
+ * <p>
300
+ * <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_CompleteMultipartUpload.html">CompleteMultipartUpload</a>
301
+ * </p>
302
+ * </li>
303
+ * <li>
304
+ * <p>
305
+ * <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_AbortMultipartUpload.html">AbortMultipartUpload</a>
306
+ * </p>
307
+ * </li>
308
+ * <li>
309
+ * <p>
310
+ * <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_ListParts.html">ListParts</a>
311
+ * </p>
312
+ * </li>
313
+ * <li>
314
+ * <p>
315
+ * <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_ListMultipartUploads.html">ListMultipartUploads</a>
316
+ * </p>
317
+ * </li>
318
+ * </ul>
319
+ * @example
320
+ * Use a bare-bones client and the command you need to make an API call.
321
+ * ```javascript
322
+ * import { S3Client, CreateMultipartUploadCommand } from "@aws-sdk/client-s3"; // ES Modules import
323
+ * // const { S3Client, CreateMultipartUploadCommand } = require("@aws-sdk/client-s3"); // CommonJS import
324
+ * const client = new S3Client(config);
325
+ * const input = { // CreateMultipartUploadRequest
326
+ * ACL: "private" || "public-read" || "public-read-write" || "authenticated-read" || "aws-exec-read" || "bucket-owner-read" || "bucket-owner-full-control",
327
+ * Bucket: "STRING_VALUE", // required
328
+ * CacheControl: "STRING_VALUE",
329
+ * ContentDisposition: "STRING_VALUE",
330
+ * ContentEncoding: "STRING_VALUE",
331
+ * ContentLanguage: "STRING_VALUE",
332
+ * ContentType: "STRING_VALUE",
333
+ * Expires: new Date("TIMESTAMP"),
334
+ * GrantFullControl: "STRING_VALUE",
335
+ * GrantRead: "STRING_VALUE",
336
+ * GrantReadACP: "STRING_VALUE",
337
+ * GrantWriteACP: "STRING_VALUE",
338
+ * Key: "STRING_VALUE", // required
339
+ * Metadata: { // Metadata
340
+ * "<keys>": "STRING_VALUE",
341
+ * },
342
+ * ServerSideEncryption: "AES256" || "aws:kms" || "aws:kms:dsse",
343
+ * StorageClass: "STANDARD" || "REDUCED_REDUNDANCY" || "STANDARD_IA" || "ONEZONE_IA" || "INTELLIGENT_TIERING" || "GLACIER" || "DEEP_ARCHIVE" || "OUTPOSTS" || "GLACIER_IR" || "SNOW",
344
+ * WebsiteRedirectLocation: "STRING_VALUE",
345
+ * SSECustomerAlgorithm: "STRING_VALUE",
346
+ * SSECustomerKey: "STRING_VALUE",
347
+ * SSECustomerKeyMD5: "STRING_VALUE",
348
+ * SSEKMSKeyId: "STRING_VALUE",
349
+ * SSEKMSEncryptionContext: "STRING_VALUE",
350
+ * BucketKeyEnabled: true || false,
351
+ * RequestPayer: "requester",
352
+ * Tagging: "STRING_VALUE",
353
+ * ObjectLockMode: "GOVERNANCE" || "COMPLIANCE",
354
+ * ObjectLockRetainUntilDate: new Date("TIMESTAMP"),
355
+ * ObjectLockLegalHoldStatus: "ON" || "OFF",
356
+ * ExpectedBucketOwner: "STRING_VALUE",
357
+ * ChecksumAlgorithm: "CRC32" || "CRC32C" || "SHA1" || "SHA256",
358
+ * };
359
+ * const command = new CreateMultipartUploadCommand(input);
360
+ * const response = await client.send(command);
361
+ * // { // CreateMultipartUploadOutput
362
+ * // AbortDate: new Date("TIMESTAMP"),
363
+ * // AbortRuleId: "STRING_VALUE",
364
+ * // Bucket: "STRING_VALUE",
365
+ * // Key: "STRING_VALUE",
366
+ * // UploadId: "STRING_VALUE",
367
+ * // ServerSideEncryption: "AES256" || "aws:kms" || "aws:kms:dsse",
368
+ * // SSECustomerAlgorithm: "STRING_VALUE",
369
+ * // SSECustomerKeyMD5: "STRING_VALUE",
370
+ * // SSEKMSKeyId: "STRING_VALUE",
371
+ * // SSEKMSEncryptionContext: "STRING_VALUE",
372
+ * // BucketKeyEnabled: true || false,
373
+ * // RequestCharged: "requester",
374
+ * // ChecksumAlgorithm: "CRC32" || "CRC32C" || "SHA1" || "SHA256",
375
+ * // };
376
+ *
377
+ * ```
378
+ *
379
+ * @param CreateMultipartUploadCommandInput - {@link CreateMultipartUploadCommandInput}
380
+ * @returns {@link CreateMultipartUploadCommandOutput}
381
+ * @see {@link CreateMultipartUploadCommandInput} for command's `input` shape.
382
+ * @see {@link CreateMultipartUploadCommandOutput} for command's `response` shape.
383
+ * @see {@link S3ClientResolvedConfig | config} for S3Client's `config` shape.
384
+ *
385
+ * @throws {@link S3ServiceException}
386
+ * <p>Base exception class for all service exceptions from S3 service.</p>
387
+ *
388
+ * @example To initiate a multipart upload
389
+ * ```javascript
390
+ * // The following example initiates a multipart upload.
391
+ * const input = {
392
+ * "Bucket": "examplebucket",
393
+ * "Key": "largeobject"
394
+ * };
395
+ * const command = new CreateMultipartUploadCommand(input);
396
+ * const response = await client.send(command);
397
+ * /* response ==
398
+ * {
399
+ * "Bucket": "examplebucket",
400
+ * "Key": "largeobject",
401
+ * "UploadId": "ibZBv_75gd9r8lH_gqXatLdxMVpAlj6ZQjEs.OwyF3953YdwbcQnMA2BLGn8Lx12fQNICtMw5KyteFeHw.Sjng--"
402
+ * }
403
+ * *\/
404
+ * // example id: to-initiate-a-multipart-upload-1481836794513
405
+ * ```
406
+ *
407
+ */
408
+ export declare class CreateMultipartUploadCommand extends $Command<CreateMultipartUploadCommandInput, CreateMultipartUploadCommandOutput, S3ClientResolvedConfig> {
409
+ readonly input: CreateMultipartUploadCommandInput;
410
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
411
+ /**
412
+ * @public
413
+ */
414
+ constructor(input: CreateMultipartUploadCommandInput);
415
+ /**
416
+ * @internal
417
+ */
418
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: S3ClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateMultipartUploadCommandInput, CreateMultipartUploadCommandOutput>;
419
+ /**
420
+ * @internal
421
+ */
422
+ private serialize;
423
+ /**
424
+ * @internal
425
+ */
426
+ private deserialize;
427
+ }