@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,1764 @@
1
+ /// <reference types="node" />
2
+ import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
3
+ import { Readable } from "stream";
4
+ import { ChecksumAlgorithm, Grant, ObjectCannedACL, ObjectLockConfiguration, ObjectLockLegalHoldStatus, ObjectLockMode, ObjectLockRetention, PublicAccessBlockConfiguration, ReplicationStatus, RequestCharged, RequestPayer, ServerSideEncryption, StorageClass, Tagging } from "./models_0";
5
+ import { S3ServiceException as __BaseException } from "./S3ServiceException";
6
+ /**
7
+ * @public
8
+ */
9
+ export interface PutObjectLockConfigurationOutput {
10
+ /**
11
+ * <p>If present, indicates that the requester was successfully charged for the
12
+ * request.</p>
13
+ */
14
+ RequestCharged?: RequestCharged | string;
15
+ }
16
+ /**
17
+ * @public
18
+ */
19
+ export interface PutObjectLockConfigurationRequest {
20
+ /**
21
+ * <p>The bucket whose Object Lock configuration you want to create or replace.</p>
22
+ * <p>Note: To supply the Multi-region Access Point (MRAP) to Bucket, you need to install the "@aws-sdk/signature-v4-crt" package to your project dependencies.
23
+ * For more information, please go to https://github.com/aws/aws-sdk-js-v3#known-issues</p>
24
+ */
25
+ Bucket: string | undefined;
26
+ /**
27
+ * <p>The Object Lock configuration that you want to apply to the specified bucket.</p>
28
+ */
29
+ ObjectLockConfiguration?: ObjectLockConfiguration;
30
+ /**
31
+ * <p>Confirms that the requester knows that they will be charged for the request. Bucket
32
+ * owners need not specify this parameter in their requests. For information about downloading
33
+ * objects from Requester Pays buckets, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/ObjectsinRequesterPaysBuckets.html">Downloading Objects in
34
+ * Requester Pays Buckets</a> in the <i>Amazon S3 User Guide</i>.</p>
35
+ */
36
+ RequestPayer?: RequestPayer | string;
37
+ /**
38
+ * <p>A token to allow Object Lock to be enabled for an existing bucket.</p>
39
+ */
40
+ Token?: string;
41
+ /**
42
+ * <p>The MD5 hash for the request body.</p>
43
+ * <p>For requests made using the Amazon Web Services Command Line Interface (CLI) or Amazon Web Services SDKs, this field is calculated automatically.</p>
44
+ */
45
+ ContentMD5?: string;
46
+ /**
47
+ * <p>Indicates the algorithm used to create the checksum for the object when using the SDK. This header will not provide any
48
+ * additional functionality if not using the SDK. When sending this header, there must be a corresponding <code>x-amz-checksum</code> or
49
+ * <code>x-amz-trailer</code> header sent. Otherwise, Amazon S3 fails the request with the HTTP status code <code>400 Bad Request</code>. For more
50
+ * information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html">Checking object integrity</a> in
51
+ * the <i>Amazon S3 User Guide</i>.</p>
52
+ * <p>If you provide an individual checksum, Amazon S3 ignores any provided
53
+ * <code>ChecksumAlgorithm</code> parameter.</p>
54
+ */
55
+ ChecksumAlgorithm?: ChecksumAlgorithm | string;
56
+ /**
57
+ * <p>The account ID of the expected bucket owner. If the bucket is owned by a different account, the request fails with the HTTP status code <code>403 Forbidden</code> (access denied).</p>
58
+ */
59
+ ExpectedBucketOwner?: string;
60
+ }
61
+ /**
62
+ * @public
63
+ */
64
+ export interface PutObjectRetentionOutput {
65
+ /**
66
+ * <p>If present, indicates that the requester was successfully charged for the
67
+ * request.</p>
68
+ */
69
+ RequestCharged?: RequestCharged | string;
70
+ }
71
+ /**
72
+ * @public
73
+ */
74
+ export interface PutObjectRetentionRequest {
75
+ /**
76
+ * <p>The bucket name that contains the object you want to apply this Object Retention
77
+ * configuration to. </p>
78
+ * <p>When using this action with an access point, you must direct requests to the access point hostname. The access point hostname takes the form <i>AccessPointName</i>-<i>AccountId</i>.s3-accesspoint.<i>Region</i>.amazonaws.com. When using this action with an access point through the Amazon Web Services SDKs, you provide the access point ARN in place of the bucket name. For more information about access point ARNs, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-access-points.html">Using access points</a> in the <i>Amazon S3 User Guide</i>.</p>
79
+ * <p>Note: To supply the Multi-region Access Point (MRAP) to Bucket, you need to install the "@aws-sdk/signature-v4-crt" package to your project dependencies.
80
+ * For more information, please go to https://github.com/aws/aws-sdk-js-v3#known-issues</p>
81
+ */
82
+ Bucket: string | undefined;
83
+ /**
84
+ * <p>The key name for the object that you want to apply this Object Retention configuration
85
+ * to.</p>
86
+ */
87
+ Key: string | undefined;
88
+ /**
89
+ * <p>The container element for the Object Retention configuration.</p>
90
+ */
91
+ Retention?: ObjectLockRetention;
92
+ /**
93
+ * <p>Confirms that the requester knows that they will be charged for the request. Bucket
94
+ * owners need not specify this parameter in their requests. For information about downloading
95
+ * objects from Requester Pays buckets, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/ObjectsinRequesterPaysBuckets.html">Downloading Objects in
96
+ * Requester Pays Buckets</a> in the <i>Amazon S3 User Guide</i>.</p>
97
+ */
98
+ RequestPayer?: RequestPayer | string;
99
+ /**
100
+ * <p>The version ID for the object that you want to apply this Object Retention configuration
101
+ * to.</p>
102
+ */
103
+ VersionId?: string;
104
+ /**
105
+ * <p>Indicates whether this action should bypass Governance-mode restrictions.</p>
106
+ */
107
+ BypassGovernanceRetention?: boolean;
108
+ /**
109
+ * <p>The MD5 hash for the request body.</p>
110
+ * <p>For requests made using the Amazon Web Services Command Line Interface (CLI) or Amazon Web Services SDKs, this field is calculated automatically.</p>
111
+ */
112
+ ContentMD5?: string;
113
+ /**
114
+ * <p>Indicates the algorithm used to create the checksum for the object when using the SDK. This header will not provide any
115
+ * additional functionality if not using the SDK. When sending this header, there must be a corresponding <code>x-amz-checksum</code> or
116
+ * <code>x-amz-trailer</code> header sent. Otherwise, Amazon S3 fails the request with the HTTP status code <code>400 Bad Request</code>. For more
117
+ * information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html">Checking object integrity</a> in
118
+ * the <i>Amazon S3 User Guide</i>.</p>
119
+ * <p>If you provide an individual checksum, Amazon S3 ignores any provided
120
+ * <code>ChecksumAlgorithm</code> parameter.</p>
121
+ */
122
+ ChecksumAlgorithm?: ChecksumAlgorithm | string;
123
+ /**
124
+ * <p>The account ID of the expected bucket owner. If the bucket is owned by a different account, the request fails with the HTTP status code <code>403 Forbidden</code> (access denied).</p>
125
+ */
126
+ ExpectedBucketOwner?: string;
127
+ }
128
+ /**
129
+ * @public
130
+ */
131
+ export interface PutObjectTaggingOutput {
132
+ /**
133
+ * <p>The versionId of the object the tag-set was added to.</p>
134
+ */
135
+ VersionId?: string;
136
+ }
137
+ /**
138
+ * @public
139
+ */
140
+ export interface PutObjectTaggingRequest {
141
+ /**
142
+ * <p>The bucket name containing the object. </p>
143
+ * <p>When using this action with an access point, you must direct requests to the access point hostname. The access point hostname takes the form <i>AccessPointName</i>-<i>AccountId</i>.s3-accesspoint.<i>Region</i>.amazonaws.com. When using this action with an access point through the Amazon Web Services SDKs, you provide the access point ARN in place of the bucket name. For more information about access point ARNs, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-access-points.html">Using access points</a> in the <i>Amazon S3 User Guide</i>.</p>
144
+ * <p>When you use this action with Amazon S3 on Outposts, you must direct requests to the S3 on Outposts hostname. The S3 on Outposts hostname takes the form <code>
145
+ * <i>AccessPointName</i>-<i>AccountId</i>.<i>outpostID</i>.s3-outposts.<i>Region</i>.amazonaws.com</code>. When you use this action with S3 on Outposts through the Amazon Web Services SDKs, you provide the Outposts access point ARN in place of the bucket name. For more information about S3 on Outposts ARNs, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html">What is S3 on Outposts?</a> in the <i>Amazon S3 User Guide</i>.</p>
146
+ * <p>Note: To supply the Multi-region Access Point (MRAP) to Bucket, you need to install the "@aws-sdk/signature-v4-crt" package to your project dependencies.
147
+ * For more information, please go to https://github.com/aws/aws-sdk-js-v3#known-issues</p>
148
+ */
149
+ Bucket: string | undefined;
150
+ /**
151
+ * <p>Name of the object key.</p>
152
+ */
153
+ Key: string | undefined;
154
+ /**
155
+ * <p>The versionId of the object that the tag-set will be added to.</p>
156
+ */
157
+ VersionId?: string;
158
+ /**
159
+ * <p>The MD5 hash for the request body.</p>
160
+ * <p>For requests made using the Amazon Web Services Command Line Interface (CLI) or Amazon Web Services SDKs, this field is calculated automatically.</p>
161
+ */
162
+ ContentMD5?: string;
163
+ /**
164
+ * <p>Indicates the algorithm used to create the checksum for the object when using the SDK. This header will not provide any
165
+ * additional functionality if not using the SDK. When sending this header, there must be a corresponding <code>x-amz-checksum</code> or
166
+ * <code>x-amz-trailer</code> header sent. Otherwise, Amazon S3 fails the request with the HTTP status code <code>400 Bad Request</code>. For more
167
+ * information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html">Checking object integrity</a> in
168
+ * the <i>Amazon S3 User Guide</i>.</p>
169
+ * <p>If you provide an individual checksum, Amazon S3 ignores any provided
170
+ * <code>ChecksumAlgorithm</code> parameter.</p>
171
+ */
172
+ ChecksumAlgorithm?: ChecksumAlgorithm | string;
173
+ /**
174
+ * <p>Container for the <code>TagSet</code> and <code>Tag</code> elements</p>
175
+ */
176
+ Tagging: Tagging | undefined;
177
+ /**
178
+ * <p>The account ID of the expected bucket owner. If the bucket is owned by a different account, the request fails with the HTTP status code <code>403 Forbidden</code> (access denied).</p>
179
+ */
180
+ ExpectedBucketOwner?: string;
181
+ /**
182
+ * <p>Confirms that the requester knows that they will be charged for the request. Bucket
183
+ * owners need not specify this parameter in their requests. For information about downloading
184
+ * objects from Requester Pays buckets, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/ObjectsinRequesterPaysBuckets.html">Downloading Objects in
185
+ * Requester Pays Buckets</a> in the <i>Amazon S3 User Guide</i>.</p>
186
+ */
187
+ RequestPayer?: RequestPayer | string;
188
+ }
189
+ /**
190
+ * @public
191
+ */
192
+ export interface PutPublicAccessBlockRequest {
193
+ /**
194
+ * <p>The name of the Amazon S3 bucket whose <code>PublicAccessBlock</code> configuration you want
195
+ * to set.</p>
196
+ * <p>Note: To supply the Multi-region Access Point (MRAP) to Bucket, you need to install the "@aws-sdk/signature-v4-crt" package to your project dependencies.
197
+ * For more information, please go to https://github.com/aws/aws-sdk-js-v3#known-issues</p>
198
+ */
199
+ Bucket: string | undefined;
200
+ /**
201
+ * <p>The MD5 hash of the <code>PutPublicAccessBlock</code> request body. </p>
202
+ * <p>For requests made using the Amazon Web Services Command Line Interface (CLI) or Amazon Web Services SDKs, this field is calculated automatically.</p>
203
+ */
204
+ ContentMD5?: string;
205
+ /**
206
+ * <p>Indicates the algorithm used to create the checksum for the object when using the SDK. This header will not provide any
207
+ * additional functionality if not using the SDK. When sending this header, there must be a corresponding <code>x-amz-checksum</code> or
208
+ * <code>x-amz-trailer</code> header sent. Otherwise, Amazon S3 fails the request with the HTTP status code <code>400 Bad Request</code>. For more
209
+ * information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html">Checking object integrity</a> in
210
+ * the <i>Amazon S3 User Guide</i>.</p>
211
+ * <p>If you provide an individual checksum, Amazon S3 ignores any provided
212
+ * <code>ChecksumAlgorithm</code> parameter.</p>
213
+ */
214
+ ChecksumAlgorithm?: ChecksumAlgorithm | string;
215
+ /**
216
+ * <p>The <code>PublicAccessBlock</code> configuration that you want to apply to this Amazon S3
217
+ * bucket. You can enable the configuration options in any combination. For more information
218
+ * about when Amazon S3 considers a bucket or object public, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/access-control-block-public-access.html#access-control-block-public-access-policy-status">The Meaning of "Public"</a> in the <i>Amazon S3 User Guide</i>.</p>
219
+ */
220
+ PublicAccessBlockConfiguration: PublicAccessBlockConfiguration | undefined;
221
+ /**
222
+ * <p>The account ID of the expected bucket owner. If the bucket is owned by a different account, the request fails with the HTTP status code <code>403 Forbidden</code> (access denied).</p>
223
+ */
224
+ ExpectedBucketOwner?: string;
225
+ }
226
+ /**
227
+ * @public
228
+ * <p>This action is not allowed against this storage tier.</p>
229
+ */
230
+ export declare class ObjectAlreadyInActiveTierError extends __BaseException {
231
+ readonly name: "ObjectAlreadyInActiveTierError";
232
+ readonly $fault: "client";
233
+ /**
234
+ * @internal
235
+ */
236
+ constructor(opts: __ExceptionOptionType<ObjectAlreadyInActiveTierError, __BaseException>);
237
+ }
238
+ /**
239
+ * @public
240
+ */
241
+ export interface RestoreObjectOutput {
242
+ /**
243
+ * <p>If present, indicates that the requester was successfully charged for the
244
+ * request.</p>
245
+ */
246
+ RequestCharged?: RequestCharged | string;
247
+ /**
248
+ * <p>Indicates the path in the provided S3 output location where Select results will be
249
+ * restored to.</p>
250
+ */
251
+ RestoreOutputPath?: string;
252
+ }
253
+ /**
254
+ * @public
255
+ * @enum
256
+ */
257
+ export declare const Tier: {
258
+ readonly Bulk: "Bulk";
259
+ readonly Expedited: "Expedited";
260
+ readonly Standard: "Standard";
261
+ };
262
+ /**
263
+ * @public
264
+ */
265
+ export type Tier = (typeof Tier)[keyof typeof Tier];
266
+ /**
267
+ * @public
268
+ * <p>Container for S3 Glacier job parameters.</p>
269
+ */
270
+ export interface GlacierJobParameters {
271
+ /**
272
+ * <p>Retrieval tier at which the restore will be processed.</p>
273
+ */
274
+ Tier: Tier | string | undefined;
275
+ }
276
+ /**
277
+ * @public
278
+ * <p>Contains the type of server-side encryption used.</p>
279
+ */
280
+ export interface Encryption {
281
+ /**
282
+ * <p>The server-side encryption algorithm used when storing job results in Amazon S3 (for example,
283
+ * AES256, <code>aws:kms</code>).</p>
284
+ */
285
+ EncryptionType: ServerSideEncryption | string | undefined;
286
+ /**
287
+ * <p>If the encryption type is <code>aws:kms</code>, this optional value specifies the ID of
288
+ * the symmetric encryption customer managed key to use for encryption of job results. Amazon S3 only
289
+ * supports symmetric encryption KMS keys. For more information, see <a href="https://docs.aws.amazon.com/kms/latest/developerguide/symmetric-asymmetric.html">Asymmetric keys in KMS</a> in the <i>Amazon Web Services Key Management Service
290
+ * Developer Guide</i>.</p>
291
+ */
292
+ KMSKeyId?: string;
293
+ /**
294
+ * <p>If the encryption type is <code>aws:kms</code>, this optional value can be used to
295
+ * specify the encryption context for the restore results.</p>
296
+ */
297
+ KMSContext?: string;
298
+ }
299
+ /**
300
+ * @public
301
+ * <p>A metadata key-value pair to store with an object.</p>
302
+ */
303
+ export interface MetadataEntry {
304
+ /**
305
+ * <p>Name of the object.</p>
306
+ */
307
+ Name?: string;
308
+ /**
309
+ * <p>Value of the object.</p>
310
+ */
311
+ Value?: string;
312
+ }
313
+ /**
314
+ * @public
315
+ * <p>Describes an Amazon S3 location that will receive the results of the restore request.</p>
316
+ */
317
+ export interface S3Location {
318
+ /**
319
+ * <p>The name of the bucket where the restore results will be placed.</p>
320
+ */
321
+ BucketName: string | undefined;
322
+ /**
323
+ * <p>The prefix that is prepended to the restore results for this request.</p>
324
+ */
325
+ Prefix: string | undefined;
326
+ /**
327
+ * <p>Contains the type of server-side encryption used.</p>
328
+ */
329
+ Encryption?: Encryption;
330
+ /**
331
+ * <p>The canned ACL to apply to the restore results.</p>
332
+ */
333
+ CannedACL?: ObjectCannedACL | string;
334
+ /**
335
+ * <p>A list of grants that control access to the staged results.</p>
336
+ */
337
+ AccessControlList?: Grant[];
338
+ /**
339
+ * <p>The tag-set that is applied to the restore results.</p>
340
+ */
341
+ Tagging?: Tagging;
342
+ /**
343
+ * <p>A list of metadata to store with the restore results in S3.</p>
344
+ */
345
+ UserMetadata?: MetadataEntry[];
346
+ /**
347
+ * <p>The class of storage used to store the restore results.</p>
348
+ */
349
+ StorageClass?: StorageClass | string;
350
+ }
351
+ /**
352
+ * @public
353
+ * <p>Describes the location where the restore job's output is stored.</p>
354
+ */
355
+ export interface OutputLocation {
356
+ /**
357
+ * <p>Describes an S3 location that will receive the results of the restore request.</p>
358
+ */
359
+ S3?: S3Location;
360
+ }
361
+ /**
362
+ * @public
363
+ * @enum
364
+ */
365
+ export declare const ExpressionType: {
366
+ readonly SQL: "SQL";
367
+ };
368
+ /**
369
+ * @public
370
+ */
371
+ export type ExpressionType = (typeof ExpressionType)[keyof typeof ExpressionType];
372
+ /**
373
+ * @public
374
+ * @enum
375
+ */
376
+ export declare const CompressionType: {
377
+ readonly BZIP2: "BZIP2";
378
+ readonly GZIP: "GZIP";
379
+ readonly NONE: "NONE";
380
+ };
381
+ /**
382
+ * @public
383
+ */
384
+ export type CompressionType = (typeof CompressionType)[keyof typeof CompressionType];
385
+ /**
386
+ * @public
387
+ * @enum
388
+ */
389
+ export declare const FileHeaderInfo: {
390
+ readonly IGNORE: "IGNORE";
391
+ readonly NONE: "NONE";
392
+ readonly USE: "USE";
393
+ };
394
+ /**
395
+ * @public
396
+ */
397
+ export type FileHeaderInfo = (typeof FileHeaderInfo)[keyof typeof FileHeaderInfo];
398
+ /**
399
+ * @public
400
+ * <p>Describes how an uncompressed comma-separated values (CSV)-formatted input object is
401
+ * formatted.</p>
402
+ */
403
+ export interface CSVInput {
404
+ /**
405
+ * <p>Describes the first line of input. Valid values are:</p>
406
+ * <ul>
407
+ * <li>
408
+ * <p>
409
+ * <code>NONE</code>: First line is not a header.</p>
410
+ * </li>
411
+ * <li>
412
+ * <p>
413
+ * <code>IGNORE</code>: First line is a header, but you can't use the header values
414
+ * to indicate the column in an expression. You can use column position (such as _1, _2,
415
+ * …) to indicate the column (<code>SELECT s._1 FROM OBJECT s</code>).</p>
416
+ * </li>
417
+ * <li>
418
+ * <p>
419
+ * <code>Use</code>: First line is a header, and you can use the header value to
420
+ * identify a column in an expression (<code>SELECT "name" FROM OBJECT</code>). </p>
421
+ * </li>
422
+ * </ul>
423
+ */
424
+ FileHeaderInfo?: FileHeaderInfo | string;
425
+ /**
426
+ * <p>A single character used to indicate that a row should be ignored when the character is
427
+ * present at the start of that row. You can specify any character to indicate a comment line.
428
+ * The default character is <code>#</code>.</p>
429
+ * <p>Default: <code>#</code>
430
+ * </p>
431
+ */
432
+ Comments?: string;
433
+ /**
434
+ * <p>A single character used for escaping the quotation mark character inside an already
435
+ * escaped value. For example, the value <code>""" a , b """</code> is parsed as <code>" a , b
436
+ * "</code>.</p>
437
+ */
438
+ QuoteEscapeCharacter?: string;
439
+ /**
440
+ * <p>A single character used to separate individual records in the input. Instead of the
441
+ * default value, you can specify an arbitrary delimiter.</p>
442
+ */
443
+ RecordDelimiter?: string;
444
+ /**
445
+ * <p>A single character used to separate individual fields in a record. You can specify an
446
+ * arbitrary delimiter.</p>
447
+ */
448
+ FieldDelimiter?: string;
449
+ /**
450
+ * <p>A single character used for escaping when the field delimiter is part of the value. For
451
+ * example, if the value is <code>a, b</code>, Amazon S3 wraps this field value in quotation marks,
452
+ * as follows: <code>" a , b "</code>.</p>
453
+ * <p>Type: String</p>
454
+ * <p>Default: <code>"</code>
455
+ * </p>
456
+ * <p>Ancestors: <code>CSV</code>
457
+ * </p>
458
+ */
459
+ QuoteCharacter?: string;
460
+ /**
461
+ * <p>Specifies that CSV field values may contain quoted record delimiters and such records
462
+ * should be allowed. Default value is FALSE. Setting this value to TRUE may lower
463
+ * performance.</p>
464
+ */
465
+ AllowQuotedRecordDelimiter?: boolean;
466
+ }
467
+ /**
468
+ * @public
469
+ * @enum
470
+ */
471
+ export declare const JSONType: {
472
+ readonly DOCUMENT: "DOCUMENT";
473
+ readonly LINES: "LINES";
474
+ };
475
+ /**
476
+ * @public
477
+ */
478
+ export type JSONType = (typeof JSONType)[keyof typeof JSONType];
479
+ /**
480
+ * @public
481
+ * <p>Specifies JSON as object's input serialization format.</p>
482
+ */
483
+ export interface JSONInput {
484
+ /**
485
+ * <p>The type of JSON. Valid values: Document, Lines.</p>
486
+ */
487
+ Type?: JSONType | string;
488
+ }
489
+ /**
490
+ * @public
491
+ * <p>Container for Parquet.</p>
492
+ */
493
+ export interface ParquetInput {
494
+ }
495
+ /**
496
+ * @public
497
+ * <p>Describes the serialization format of the object.</p>
498
+ */
499
+ export interface InputSerialization {
500
+ /**
501
+ * <p>Describes the serialization of a CSV-encoded object.</p>
502
+ */
503
+ CSV?: CSVInput;
504
+ /**
505
+ * <p>Specifies object's compression format. Valid values: NONE, GZIP, BZIP2. Default Value:
506
+ * NONE.</p>
507
+ */
508
+ CompressionType?: CompressionType | string;
509
+ /**
510
+ * <p>Specifies JSON as object's input serialization format.</p>
511
+ */
512
+ JSON?: JSONInput;
513
+ /**
514
+ * <p>Specifies Parquet as object's input serialization format.</p>
515
+ */
516
+ Parquet?: ParquetInput;
517
+ }
518
+ /**
519
+ * @public
520
+ * @enum
521
+ */
522
+ export declare const QuoteFields: {
523
+ readonly ALWAYS: "ALWAYS";
524
+ readonly ASNEEDED: "ASNEEDED";
525
+ };
526
+ /**
527
+ * @public
528
+ */
529
+ export type QuoteFields = (typeof QuoteFields)[keyof typeof QuoteFields];
530
+ /**
531
+ * @public
532
+ * <p>Describes how uncompressed comma-separated values (CSV)-formatted results are
533
+ * formatted.</p>
534
+ */
535
+ export interface CSVOutput {
536
+ /**
537
+ * <p>Indicates whether to use quotation marks around output fields. </p>
538
+ * <ul>
539
+ * <li>
540
+ * <p>
541
+ * <code>ALWAYS</code>: Always use quotation marks for output fields.</p>
542
+ * </li>
543
+ * <li>
544
+ * <p>
545
+ * <code>ASNEEDED</code>: Use quotation marks for output fields when needed.</p>
546
+ * </li>
547
+ * </ul>
548
+ */
549
+ QuoteFields?: QuoteFields | string;
550
+ /**
551
+ * <p>The single character used for escaping the quote character inside an already escaped
552
+ * value.</p>
553
+ */
554
+ QuoteEscapeCharacter?: string;
555
+ /**
556
+ * <p>A single character used to separate individual records in the output. Instead of the
557
+ * default value, you can specify an arbitrary delimiter.</p>
558
+ */
559
+ RecordDelimiter?: string;
560
+ /**
561
+ * <p>The value used to separate individual fields in a record. You can specify an arbitrary
562
+ * delimiter.</p>
563
+ */
564
+ FieldDelimiter?: string;
565
+ /**
566
+ * <p>A single character used for escaping when the field delimiter is part of the value. For
567
+ * example, if the value is <code>a, b</code>, Amazon S3 wraps this field value in quotation marks,
568
+ * as follows: <code>" a , b "</code>.</p>
569
+ */
570
+ QuoteCharacter?: string;
571
+ }
572
+ /**
573
+ * @public
574
+ * <p>Specifies JSON as request's output serialization format.</p>
575
+ */
576
+ export interface JSONOutput {
577
+ /**
578
+ * <p>The value used to separate individual records in the output. If no value is specified,
579
+ * Amazon S3 uses a newline character ('\n').</p>
580
+ */
581
+ RecordDelimiter?: string;
582
+ }
583
+ /**
584
+ * @public
585
+ * <p>Describes how results of the Select job are serialized.</p>
586
+ */
587
+ export interface OutputSerialization {
588
+ /**
589
+ * <p>Describes the serialization of CSV-encoded Select results.</p>
590
+ */
591
+ CSV?: CSVOutput;
592
+ /**
593
+ * <p>Specifies JSON as request's output serialization format.</p>
594
+ */
595
+ JSON?: JSONOutput;
596
+ }
597
+ /**
598
+ * @public
599
+ * <p>Describes the parameters for Select job types.</p>
600
+ */
601
+ export interface SelectParameters {
602
+ /**
603
+ * <p>Describes the serialization format of the object.</p>
604
+ */
605
+ InputSerialization: InputSerialization | undefined;
606
+ /**
607
+ * <p>The type of the provided expression (for example, SQL).</p>
608
+ */
609
+ ExpressionType: ExpressionType | string | undefined;
610
+ /**
611
+ * <p>The expression that is used to query the object.</p>
612
+ */
613
+ Expression: string | undefined;
614
+ /**
615
+ * <p>Describes how the results of the Select job are serialized.</p>
616
+ */
617
+ OutputSerialization: OutputSerialization | undefined;
618
+ }
619
+ /**
620
+ * @public
621
+ * @enum
622
+ */
623
+ export declare const RestoreRequestType: {
624
+ readonly SELECT: "SELECT";
625
+ };
626
+ /**
627
+ * @public
628
+ */
629
+ export type RestoreRequestType = (typeof RestoreRequestType)[keyof typeof RestoreRequestType];
630
+ /**
631
+ * @public
632
+ * <p>Container for restore job parameters.</p>
633
+ */
634
+ export interface RestoreRequest {
635
+ /**
636
+ * <p>Lifetime of the active copy in days. Do not use with restores that specify
637
+ * <code>OutputLocation</code>.</p>
638
+ * <p>The Days element is required for regular restores, and must not be provided for select
639
+ * requests.</p>
640
+ */
641
+ Days?: number;
642
+ /**
643
+ * <p>S3 Glacier related parameters pertaining to this job. Do not use with restores that
644
+ * specify <code>OutputLocation</code>.</p>
645
+ */
646
+ GlacierJobParameters?: GlacierJobParameters;
647
+ /**
648
+ * <p>Type of restore request.</p>
649
+ */
650
+ Type?: RestoreRequestType | string;
651
+ /**
652
+ * <p>Retrieval tier at which the restore will be processed.</p>
653
+ */
654
+ Tier?: Tier | string;
655
+ /**
656
+ * <p>The optional description for the job.</p>
657
+ */
658
+ Description?: string;
659
+ /**
660
+ * <p>Describes the parameters for Select job types.</p>
661
+ */
662
+ SelectParameters?: SelectParameters;
663
+ /**
664
+ * <p>Describes the location where the restore job's output is stored.</p>
665
+ */
666
+ OutputLocation?: OutputLocation;
667
+ }
668
+ /**
669
+ * @public
670
+ */
671
+ export interface RestoreObjectRequest {
672
+ /**
673
+ * <p>The bucket name containing the object to restore. </p>
674
+ * <p>When using this action with an access point, you must direct requests to the access point hostname. The access point hostname takes the form <i>AccessPointName</i>-<i>AccountId</i>.s3-accesspoint.<i>Region</i>.amazonaws.com. When using this action with an access point through the Amazon Web Services SDKs, you provide the access point ARN in place of the bucket name. For more information about access point ARNs, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-access-points.html">Using access points</a> in the <i>Amazon S3 User Guide</i>.</p>
675
+ * <p>When you use this action with Amazon S3 on Outposts, you must direct requests to the S3 on Outposts hostname. The S3 on Outposts hostname takes the form <code>
676
+ * <i>AccessPointName</i>-<i>AccountId</i>.<i>outpostID</i>.s3-outposts.<i>Region</i>.amazonaws.com</code>. When you use this action with S3 on Outposts through the Amazon Web Services SDKs, you provide the Outposts access point ARN in place of the bucket name. For more information about S3 on Outposts ARNs, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html">What is S3 on Outposts?</a> in the <i>Amazon S3 User Guide</i>.</p>
677
+ * <p>Note: To supply the Multi-region Access Point (MRAP) to Bucket, you need to install the "@aws-sdk/signature-v4-crt" package to your project dependencies.
678
+ * For more information, please go to https://github.com/aws/aws-sdk-js-v3#known-issues</p>
679
+ */
680
+ Bucket: string | undefined;
681
+ /**
682
+ * <p>Object key for which the action was initiated.</p>
683
+ */
684
+ Key: string | undefined;
685
+ /**
686
+ * <p>VersionId used to reference a specific version of the object.</p>
687
+ */
688
+ VersionId?: string;
689
+ /**
690
+ * <p>Container for restore job parameters.</p>
691
+ */
692
+ RestoreRequest?: RestoreRequest;
693
+ /**
694
+ * <p>Confirms that the requester knows that they will be charged for the request. Bucket
695
+ * owners need not specify this parameter in their requests. For information about downloading
696
+ * objects from Requester Pays buckets, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/ObjectsinRequesterPaysBuckets.html">Downloading Objects in
697
+ * Requester Pays Buckets</a> in the <i>Amazon S3 User Guide</i>.</p>
698
+ */
699
+ RequestPayer?: RequestPayer | string;
700
+ /**
701
+ * <p>Indicates the algorithm used to create the checksum for the object when using the SDK. This header will not provide any
702
+ * additional functionality if not using the SDK. When sending this header, there must be a corresponding <code>x-amz-checksum</code> or
703
+ * <code>x-amz-trailer</code> header sent. Otherwise, Amazon S3 fails the request with the HTTP status code <code>400 Bad Request</code>. For more
704
+ * information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html">Checking object integrity</a> in
705
+ * the <i>Amazon S3 User Guide</i>.</p>
706
+ * <p>If you provide an individual checksum, Amazon S3 ignores any provided
707
+ * <code>ChecksumAlgorithm</code> parameter.</p>
708
+ */
709
+ ChecksumAlgorithm?: ChecksumAlgorithm | string;
710
+ /**
711
+ * <p>The account ID of the expected bucket owner. If the bucket is owned by a different account, the request fails with the HTTP status code <code>403 Forbidden</code> (access denied).</p>
712
+ */
713
+ ExpectedBucketOwner?: string;
714
+ }
715
+ /**
716
+ * @public
717
+ * <p></p>
718
+ */
719
+ export interface ContinuationEvent {
720
+ }
721
+ /**
722
+ * @public
723
+ * <p>A message that indicates the request is complete and no more messages will be sent. You
724
+ * should not assume that the request is complete until the client receives an
725
+ * <code>EndEvent</code>.</p>
726
+ */
727
+ export interface EndEvent {
728
+ }
729
+ /**
730
+ * @public
731
+ * <p>This data type contains information about progress of an operation.</p>
732
+ */
733
+ export interface Progress {
734
+ /**
735
+ * <p>The current number of object bytes scanned.</p>
736
+ */
737
+ BytesScanned?: number;
738
+ /**
739
+ * <p>The current number of uncompressed object bytes processed.</p>
740
+ */
741
+ BytesProcessed?: number;
742
+ /**
743
+ * <p>The current number of bytes of records payload data returned.</p>
744
+ */
745
+ BytesReturned?: number;
746
+ }
747
+ /**
748
+ * @public
749
+ * <p>This data type contains information about the progress event of an operation.</p>
750
+ */
751
+ export interface ProgressEvent {
752
+ /**
753
+ * <p>The Progress event details.</p>
754
+ */
755
+ Details?: Progress;
756
+ }
757
+ /**
758
+ * @public
759
+ * <p>The container for the records event.</p>
760
+ */
761
+ export interface RecordsEvent {
762
+ /**
763
+ * <p>The byte array of partial, one or more result records.</p>
764
+ */
765
+ Payload?: Uint8Array;
766
+ }
767
+ /**
768
+ * @public
769
+ * <p>Container for the stats details.</p>
770
+ */
771
+ export interface Stats {
772
+ /**
773
+ * <p>The total number of object bytes scanned.</p>
774
+ */
775
+ BytesScanned?: number;
776
+ /**
777
+ * <p>The total number of uncompressed object bytes processed.</p>
778
+ */
779
+ BytesProcessed?: number;
780
+ /**
781
+ * <p>The total number of bytes of records payload data returned.</p>
782
+ */
783
+ BytesReturned?: number;
784
+ }
785
+ /**
786
+ * @public
787
+ * <p>Container for the Stats Event.</p>
788
+ */
789
+ export interface StatsEvent {
790
+ /**
791
+ * <p>The Stats event details.</p>
792
+ */
793
+ Details?: Stats;
794
+ }
795
+ /**
796
+ * @public
797
+ * <p>The container for selecting objects from a content event stream.</p>
798
+ */
799
+ export type SelectObjectContentEventStream = SelectObjectContentEventStream.ContMember | SelectObjectContentEventStream.EndMember | SelectObjectContentEventStream.ProgressMember | SelectObjectContentEventStream.RecordsMember | SelectObjectContentEventStream.StatsMember | SelectObjectContentEventStream.$UnknownMember;
800
+ /**
801
+ * @public
802
+ */
803
+ export declare namespace SelectObjectContentEventStream {
804
+ /**
805
+ * <p>The Records Event.</p>
806
+ */
807
+ interface RecordsMember {
808
+ Records: RecordsEvent;
809
+ Stats?: never;
810
+ Progress?: never;
811
+ Cont?: never;
812
+ End?: never;
813
+ $unknown?: never;
814
+ }
815
+ /**
816
+ * <p>The Stats Event.</p>
817
+ */
818
+ interface StatsMember {
819
+ Records?: never;
820
+ Stats: StatsEvent;
821
+ Progress?: never;
822
+ Cont?: never;
823
+ End?: never;
824
+ $unknown?: never;
825
+ }
826
+ /**
827
+ * <p>The Progress Event.</p>
828
+ */
829
+ interface ProgressMember {
830
+ Records?: never;
831
+ Stats?: never;
832
+ Progress: ProgressEvent;
833
+ Cont?: never;
834
+ End?: never;
835
+ $unknown?: never;
836
+ }
837
+ /**
838
+ * <p>The Continuation Event.</p>
839
+ */
840
+ interface ContMember {
841
+ Records?: never;
842
+ Stats?: never;
843
+ Progress?: never;
844
+ Cont: ContinuationEvent;
845
+ End?: never;
846
+ $unknown?: never;
847
+ }
848
+ /**
849
+ * <p>The End Event.</p>
850
+ */
851
+ interface EndMember {
852
+ Records?: never;
853
+ Stats?: never;
854
+ Progress?: never;
855
+ Cont?: never;
856
+ End: EndEvent;
857
+ $unknown?: never;
858
+ }
859
+ interface $UnknownMember {
860
+ Records?: never;
861
+ Stats?: never;
862
+ Progress?: never;
863
+ Cont?: never;
864
+ End?: never;
865
+ $unknown: [string, any];
866
+ }
867
+ interface Visitor<T> {
868
+ Records: (value: RecordsEvent) => T;
869
+ Stats: (value: StatsEvent) => T;
870
+ Progress: (value: ProgressEvent) => T;
871
+ Cont: (value: ContinuationEvent) => T;
872
+ End: (value: EndEvent) => T;
873
+ _: (name: string, value: any) => T;
874
+ }
875
+ const visit: <T>(value: SelectObjectContentEventStream, visitor: Visitor<T>) => T;
876
+ }
877
+ /**
878
+ * @public
879
+ */
880
+ export interface SelectObjectContentOutput {
881
+ /**
882
+ * <p>The array of results.</p>
883
+ */
884
+ Payload?: AsyncIterable<SelectObjectContentEventStream>;
885
+ }
886
+ /**
887
+ * @public
888
+ * <p>Container for specifying if periodic <code>QueryProgress</code> messages should be
889
+ * sent.</p>
890
+ */
891
+ export interface RequestProgress {
892
+ /**
893
+ * <p>Specifies whether periodic QueryProgress frames should be sent. Valid values: TRUE,
894
+ * FALSE. Default value: FALSE.</p>
895
+ */
896
+ Enabled?: boolean;
897
+ }
898
+ /**
899
+ * @public
900
+ * <p>Specifies the byte range of the object to get the records from. A record is processed
901
+ * when its first byte is contained by the range. This parameter is optional, but when
902
+ * specified, it must not be empty. See RFC 2616, Section 14.35.1 about how to specify the
903
+ * start and end of the range.</p>
904
+ */
905
+ export interface ScanRange {
906
+ /**
907
+ * <p>Specifies the start of the byte range. This parameter is optional. Valid values:
908
+ * non-negative integers. The default value is 0. If only <code>start</code> is supplied, it
909
+ * means scan from that point to the end of the file. For example,
910
+ * <code><scanrange><start>50</start></scanrange></code> means scan
911
+ * from byte 50 until the end of the file.</p>
912
+ */
913
+ Start?: number;
914
+ /**
915
+ * <p>Specifies the end of the byte range. This parameter is optional. Valid values:
916
+ * non-negative integers. The default value is one less than the size of the object being
917
+ * queried. If only the End parameter is supplied, it is interpreted to mean scan the last N
918
+ * bytes of the file. For example,
919
+ * <code><scanrange><end>50</end></scanrange></code> means scan the
920
+ * last 50 bytes.</p>
921
+ */
922
+ End?: number;
923
+ }
924
+ /**
925
+ * @public
926
+ * <p>Request to filter the contents of an Amazon S3 object based on a simple Structured Query
927
+ * Language (SQL) statement. In the request, along with the SQL expression, you must specify a
928
+ * data serialization format (JSON or CSV) of the object. Amazon S3 uses this to parse object data
929
+ * into records. It returns only records that match the specified SQL expression. You must
930
+ * also specify the data serialization format for the response. For more information, see
931
+ * <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/RESTObjectSELECTContent.html">S3Select API Documentation</a>.</p>
932
+ */
933
+ export interface SelectObjectContentRequest {
934
+ /**
935
+ * <p>The S3 bucket.</p>
936
+ * <p>Note: To supply the Multi-region Access Point (MRAP) to Bucket, you need to install the "@aws-sdk/signature-v4-crt" package to your project dependencies.
937
+ * For more information, please go to https://github.com/aws/aws-sdk-js-v3#known-issues</p>
938
+ */
939
+ Bucket: string | undefined;
940
+ /**
941
+ * <p>The object key.</p>
942
+ */
943
+ Key: string | undefined;
944
+ /**
945
+ * <p>The server-side encryption (SSE) algorithm used to encrypt the object. This parameter is needed only when the object was created
946
+ * using a checksum algorithm. For more information,
947
+ * see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/ServerSideEncryptionCustomerKeys.html">Protecting data using SSE-C keys</a> in the
948
+ * <i>Amazon S3 User Guide</i>.</p>
949
+ */
950
+ SSECustomerAlgorithm?: string;
951
+ /**
952
+ * <p>The server-side encryption (SSE) customer managed key. This parameter is needed only when the object was created using a checksum algorithm.
953
+ * For more information, see
954
+ * <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/ServerSideEncryptionCustomerKeys.html">Protecting data using SSE-C keys</a> in the
955
+ * <i>Amazon S3 User Guide</i>.</p>
956
+ */
957
+ SSECustomerKey?: string;
958
+ /**
959
+ * <p>The MD5 server-side encryption (SSE) customer managed key. This parameter is needed only when the object was created using a checksum
960
+ * algorithm. For more information,
961
+ * see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/ServerSideEncryptionCustomerKeys.html">Protecting data using SSE-C keys</a> in the
962
+ * <i>Amazon S3 User Guide</i>.</p>
963
+ */
964
+ SSECustomerKeyMD5?: string;
965
+ /**
966
+ * <p>The expression that is used to query the object.</p>
967
+ */
968
+ Expression: string | undefined;
969
+ /**
970
+ * <p>The type of the provided expression (for example, SQL).</p>
971
+ */
972
+ ExpressionType: ExpressionType | string | undefined;
973
+ /**
974
+ * <p>Specifies if periodic request progress information should be enabled.</p>
975
+ */
976
+ RequestProgress?: RequestProgress;
977
+ /**
978
+ * <p>Describes the format of the data in the object that is being queried.</p>
979
+ */
980
+ InputSerialization: InputSerialization | undefined;
981
+ /**
982
+ * <p>Describes the format of the data that you want Amazon S3 to return in response.</p>
983
+ */
984
+ OutputSerialization: OutputSerialization | undefined;
985
+ /**
986
+ * <p>Specifies the byte range of the object to get the records from. A record is processed
987
+ * when its first byte is contained by the range. This parameter is optional, but when
988
+ * specified, it must not be empty. See RFC 2616, Section 14.35.1 about how to specify the
989
+ * start and end of the range.</p>
990
+ * <p>
991
+ * <code>ScanRange</code>may be used in the following ways:</p>
992
+ * <ul>
993
+ * <li>
994
+ * <p>
995
+ * <code><scanrange><start>50</start><end>100</end></scanrange></code>
996
+ * - process only the records starting between the bytes 50 and 100 (inclusive, counting
997
+ * from zero)</p>
998
+ * </li>
999
+ * <li>
1000
+ * <p>
1001
+ * <code><scanrange><start>50</start></scanrange></code> -
1002
+ * process only the records starting after the byte 50</p>
1003
+ * </li>
1004
+ * <li>
1005
+ * <p>
1006
+ * <code><scanrange><end>50</end></scanrange></code> -
1007
+ * process only the records within the last 50 bytes of the file.</p>
1008
+ * </li>
1009
+ * </ul>
1010
+ */
1011
+ ScanRange?: ScanRange;
1012
+ /**
1013
+ * <p>The account ID of the expected bucket owner. If the bucket is owned by a different account, the request fails with the HTTP status code <code>403 Forbidden</code> (access denied).</p>
1014
+ */
1015
+ ExpectedBucketOwner?: string;
1016
+ }
1017
+ /**
1018
+ * @public
1019
+ */
1020
+ export interface UploadPartOutput {
1021
+ /**
1022
+ * <p>The server-side encryption algorithm used when storing this object in Amazon S3 (for example,
1023
+ * <code>AES256</code>, <code>aws:kms</code>).</p>
1024
+ */
1025
+ ServerSideEncryption?: ServerSideEncryption | string;
1026
+ /**
1027
+ * <p>Entity tag for the uploaded object.</p>
1028
+ */
1029
+ ETag?: string;
1030
+ /**
1031
+ * <p>The base64-encoded, 32-bit CRC32 checksum of the object. This will only be present if it was uploaded
1032
+ * with the object. With multipart uploads, this may not be a checksum value of the object. For more information about how checksums are calculated
1033
+ * with multipart uploads, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums">
1034
+ * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p>
1035
+ */
1036
+ ChecksumCRC32?: string;
1037
+ /**
1038
+ * <p>The base64-encoded, 32-bit CRC32C checksum of the object. This will only be present if it was uploaded
1039
+ * with the object. With multipart uploads, this may not be a checksum value of the object. For more information about how checksums are calculated
1040
+ * with multipart uploads, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums">
1041
+ * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p>
1042
+ */
1043
+ ChecksumCRC32C?: string;
1044
+ /**
1045
+ * <p>The base64-encoded, 160-bit SHA-1 digest of the object. This will only be present if it was uploaded
1046
+ * with the object. With multipart uploads, this may not be a checksum value of the object. For more information about how checksums are calculated
1047
+ * with multipart uploads, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums">
1048
+ * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p>
1049
+ */
1050
+ ChecksumSHA1?: string;
1051
+ /**
1052
+ * <p>The base64-encoded, 256-bit SHA-256 digest of the object. This will only be present if it was uploaded
1053
+ * with the object. With multipart uploads, this may not be a checksum value of the object. For more information about how checksums are calculated
1054
+ * with multipart uploads, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums">
1055
+ * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p>
1056
+ */
1057
+ ChecksumSHA256?: string;
1058
+ /**
1059
+ * <p>If server-side encryption with a customer-provided encryption key was requested, the
1060
+ * response will include this header confirming the encryption algorithm used.</p>
1061
+ */
1062
+ SSECustomerAlgorithm?: string;
1063
+ /**
1064
+ * <p>If server-side encryption with a customer-provided encryption key was requested, the
1065
+ * response will include this header to provide round-trip message integrity verification of
1066
+ * the customer-provided encryption key.</p>
1067
+ */
1068
+ SSECustomerKeyMD5?: string;
1069
+ /**
1070
+ * <p>If present, specifies the ID of the Key Management Service (KMS) symmetric encryption customer managed key
1071
+ * was used for the object.</p>
1072
+ */
1073
+ SSEKMSKeyId?: string;
1074
+ /**
1075
+ * <p>Indicates whether the multipart upload uses an S3 Bucket Key for server-side encryption
1076
+ * with Key Management Service (KMS) keys (SSE-KMS).</p>
1077
+ */
1078
+ BucketKeyEnabled?: boolean;
1079
+ /**
1080
+ * <p>If present, indicates that the requester was successfully charged for the
1081
+ * request.</p>
1082
+ */
1083
+ RequestCharged?: RequestCharged | string;
1084
+ }
1085
+ /**
1086
+ * @public
1087
+ */
1088
+ export interface UploadPartRequest {
1089
+ /**
1090
+ * <p>Object data.</p>
1091
+ */
1092
+ Body?: Readable | ReadableStream | Blob;
1093
+ /**
1094
+ * <p>The name of the bucket to which the multipart upload was initiated.</p>
1095
+ * <p>When using this action with an access point, you must direct requests to the access point hostname. The access point hostname takes the form <i>AccessPointName</i>-<i>AccountId</i>.s3-accesspoint.<i>Region</i>.amazonaws.com. When using this action with an access point through the Amazon Web Services SDKs, you provide the access point ARN in place of the bucket name. For more information about access point ARNs, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-access-points.html">Using access points</a> in the <i>Amazon S3 User Guide</i>.</p>
1096
+ * <p>When you use this action with Amazon S3 on Outposts, you must direct requests to the S3 on Outposts hostname. The S3 on Outposts hostname takes the form <code>
1097
+ * <i>AccessPointName</i>-<i>AccountId</i>.<i>outpostID</i>.s3-outposts.<i>Region</i>.amazonaws.com</code>. When you use this action with S3 on Outposts through the Amazon Web Services SDKs, you provide the Outposts access point ARN in place of the bucket name. For more information about S3 on Outposts ARNs, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html">What is S3 on Outposts?</a> in the <i>Amazon S3 User Guide</i>.</p>
1098
+ * <p>Note: To supply the Multi-region Access Point (MRAP) to Bucket, you need to install the "@aws-sdk/signature-v4-crt" package to your project dependencies.
1099
+ * For more information, please go to https://github.com/aws/aws-sdk-js-v3#known-issues</p>
1100
+ */
1101
+ Bucket: string | undefined;
1102
+ /**
1103
+ * <p>Size of the body in bytes. This parameter is useful when the size of the body cannot be
1104
+ * determined automatically.</p>
1105
+ */
1106
+ ContentLength?: number;
1107
+ /**
1108
+ * <p>The base64-encoded 128-bit MD5 digest of the part data. This parameter is auto-populated
1109
+ * when using the command from the CLI. This parameter is required if object lock parameters
1110
+ * are specified.</p>
1111
+ */
1112
+ ContentMD5?: string;
1113
+ /**
1114
+ * <p>Indicates the algorithm used to create the checksum for the object when using the SDK. This header will not provide any
1115
+ * additional functionality if not using the SDK. When sending this header, there must be a corresponding <code>x-amz-checksum</code> or
1116
+ * <code>x-amz-trailer</code> header sent. Otherwise, Amazon S3 fails the request with the HTTP status code <code>400 Bad Request</code>. For more
1117
+ * information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html">Checking object integrity</a> in
1118
+ * the <i>Amazon S3 User Guide</i>.</p>
1119
+ * <p>If you provide an individual checksum, Amazon S3 ignores any provided
1120
+ * <code>ChecksumAlgorithm</code> parameter.</p>
1121
+ * <p>This checksum algorithm must be the same for all parts and it match the checksum value
1122
+ * supplied in the <code>CreateMultipartUpload</code> request.</p>
1123
+ */
1124
+ ChecksumAlgorithm?: ChecksumAlgorithm | string;
1125
+ /**
1126
+ * <p>This header can be used as a data integrity check to verify that the data received is the same data that was originally sent.
1127
+ * This header specifies the base64-encoded, 32-bit CRC32 checksum of the object. For more information, see
1128
+ * <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html">Checking object integrity</a> in the
1129
+ * <i>Amazon S3 User Guide</i>.</p>
1130
+ */
1131
+ ChecksumCRC32?: string;
1132
+ /**
1133
+ * <p>This header can be used as a data integrity check to verify that the data received is the same data that was originally sent.
1134
+ * This header specifies the base64-encoded, 32-bit CRC32C checksum of the object. For more information, see
1135
+ * <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html">Checking object integrity</a> in the
1136
+ * <i>Amazon S3 User Guide</i>.</p>
1137
+ */
1138
+ ChecksumCRC32C?: string;
1139
+ /**
1140
+ * <p>This header can be used as a data integrity check to verify that the data received is the same data that was originally sent.
1141
+ * This header specifies the base64-encoded, 160-bit SHA-1 digest of the object. For more information, see
1142
+ * <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html">Checking object integrity</a> in the
1143
+ * <i>Amazon S3 User Guide</i>.</p>
1144
+ */
1145
+ ChecksumSHA1?: string;
1146
+ /**
1147
+ * <p>This header can be used as a data integrity check to verify that the data received is the same data that was originally sent.
1148
+ * This header specifies the base64-encoded, 256-bit SHA-256 digest of the object. For more information, see
1149
+ * <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html">Checking object integrity</a> in the
1150
+ * <i>Amazon S3 User Guide</i>.</p>
1151
+ */
1152
+ ChecksumSHA256?: string;
1153
+ /**
1154
+ * <p>Object key for which the multipart upload was initiated.</p>
1155
+ */
1156
+ Key: string | undefined;
1157
+ /**
1158
+ * <p>Part number of part being uploaded. This is a positive integer between 1 and
1159
+ * 10,000.</p>
1160
+ */
1161
+ PartNumber: number | undefined;
1162
+ /**
1163
+ * <p>Upload ID identifying the multipart upload whose part is being uploaded.</p>
1164
+ */
1165
+ UploadId: string | undefined;
1166
+ /**
1167
+ * <p>Specifies the algorithm to use to when encrypting the object (for example,
1168
+ * AES256).</p>
1169
+ */
1170
+ SSECustomerAlgorithm?: string;
1171
+ /**
1172
+ * <p>Specifies the customer-provided encryption key for Amazon S3 to use in encrypting data. This
1173
+ * value is used to store the object and then it is discarded; Amazon S3 does not store the
1174
+ * encryption key. The key must be appropriate for use with the algorithm specified in the
1175
+ * <code>x-amz-server-side-encryption-customer-algorithm header</code>. This must be the
1176
+ * same encryption key specified in the initiate multipart upload request.</p>
1177
+ */
1178
+ SSECustomerKey?: string;
1179
+ /**
1180
+ * <p>Specifies the 128-bit MD5 digest of the encryption key according to RFC 1321. Amazon S3 uses
1181
+ * this header for a message integrity check to ensure that the encryption key was transmitted
1182
+ * without error.</p>
1183
+ */
1184
+ SSECustomerKeyMD5?: string;
1185
+ /**
1186
+ * <p>Confirms that the requester knows that they will be charged for the request. Bucket
1187
+ * owners need not specify this parameter in their requests. For information about downloading
1188
+ * objects from Requester Pays buckets, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/ObjectsinRequesterPaysBuckets.html">Downloading Objects in
1189
+ * Requester Pays Buckets</a> in the <i>Amazon S3 User Guide</i>.</p>
1190
+ */
1191
+ RequestPayer?: RequestPayer | string;
1192
+ /**
1193
+ * <p>The account ID of the expected bucket owner. If the bucket is owned by a different account, the request fails with the HTTP status code <code>403 Forbidden</code> (access denied).</p>
1194
+ */
1195
+ ExpectedBucketOwner?: string;
1196
+ }
1197
+ /**
1198
+ * @public
1199
+ * <p>Container for all response elements.</p>
1200
+ */
1201
+ export interface CopyPartResult {
1202
+ /**
1203
+ * <p>Entity tag of the object.</p>
1204
+ */
1205
+ ETag?: string;
1206
+ /**
1207
+ * <p>Date and time at which the object was uploaded.</p>
1208
+ */
1209
+ LastModified?: Date;
1210
+ /**
1211
+ * <p>The base64-encoded, 32-bit CRC32 checksum of the object. This will only be present if it was uploaded
1212
+ * with the object. With multipart uploads, this may not be a checksum value of the object. For more information about how checksums are calculated
1213
+ * with multipart uploads, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums">
1214
+ * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p>
1215
+ */
1216
+ ChecksumCRC32?: string;
1217
+ /**
1218
+ * <p>The base64-encoded, 32-bit CRC32C checksum of the object. This will only be present if it was uploaded
1219
+ * with the object. With multipart uploads, this may not be a checksum value of the object. For more information about how checksums are calculated
1220
+ * with multipart uploads, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums">
1221
+ * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p>
1222
+ */
1223
+ ChecksumCRC32C?: string;
1224
+ /**
1225
+ * <p>The base64-encoded, 160-bit SHA-1 digest of the object. This will only be present if it was uploaded
1226
+ * with the object. With multipart uploads, this may not be a checksum value of the object. For more information about how checksums are calculated
1227
+ * with multipart uploads, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums">
1228
+ * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p>
1229
+ */
1230
+ ChecksumSHA1?: string;
1231
+ /**
1232
+ * <p>The base64-encoded, 256-bit SHA-256 digest of the object. This will only be present if it was uploaded
1233
+ * with the object. With multipart uploads, this may not be a checksum value of the object. For more information about how checksums are calculated
1234
+ * with multipart uploads, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums">
1235
+ * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p>
1236
+ */
1237
+ ChecksumSHA256?: string;
1238
+ }
1239
+ /**
1240
+ * @public
1241
+ */
1242
+ export interface UploadPartCopyOutput {
1243
+ /**
1244
+ * <p>The version of the source object that was copied, if you have enabled versioning on the
1245
+ * source bucket.</p>
1246
+ */
1247
+ CopySourceVersionId?: string;
1248
+ /**
1249
+ * <p>Container for all response elements.</p>
1250
+ */
1251
+ CopyPartResult?: CopyPartResult;
1252
+ /**
1253
+ * <p>The server-side encryption algorithm used when storing this object in Amazon S3 (for example,
1254
+ * <code>AES256</code>, <code>aws:kms</code>).</p>
1255
+ */
1256
+ ServerSideEncryption?: ServerSideEncryption | string;
1257
+ /**
1258
+ * <p>If server-side encryption with a customer-provided encryption key was requested, the
1259
+ * response will include this header confirming the encryption algorithm used.</p>
1260
+ */
1261
+ SSECustomerAlgorithm?: string;
1262
+ /**
1263
+ * <p>If server-side encryption with a customer-provided encryption key was requested, the
1264
+ * response will include this header to provide round-trip message integrity verification of
1265
+ * the customer-provided encryption key.</p>
1266
+ */
1267
+ SSECustomerKeyMD5?: string;
1268
+ /**
1269
+ * <p>If present, specifies the ID of the Key Management Service (KMS) symmetric encryption customer managed key
1270
+ * that was used for the object.</p>
1271
+ */
1272
+ SSEKMSKeyId?: string;
1273
+ /**
1274
+ * <p>Indicates whether the multipart upload uses an S3 Bucket Key for server-side encryption
1275
+ * with Key Management Service (KMS) keys (SSE-KMS).</p>
1276
+ */
1277
+ BucketKeyEnabled?: boolean;
1278
+ /**
1279
+ * <p>If present, indicates that the requester was successfully charged for the
1280
+ * request.</p>
1281
+ */
1282
+ RequestCharged?: RequestCharged | string;
1283
+ }
1284
+ /**
1285
+ * @public
1286
+ */
1287
+ export interface UploadPartCopyRequest {
1288
+ /**
1289
+ * <p>The bucket name.</p>
1290
+ * <p>When using this action with an access point, you must direct requests to the access point hostname. The access point hostname takes the form <i>AccessPointName</i>-<i>AccountId</i>.s3-accesspoint.<i>Region</i>.amazonaws.com. When using this action with an access point through the Amazon Web Services SDKs, you provide the access point ARN in place of the bucket name. For more information about access point ARNs, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-access-points.html">Using access points</a> in the <i>Amazon S3 User Guide</i>.</p>
1291
+ * <p>When you use this action with Amazon S3 on Outposts, you must direct requests to the S3 on Outposts hostname. The S3 on Outposts hostname takes the form <code>
1292
+ * <i>AccessPointName</i>-<i>AccountId</i>.<i>outpostID</i>.s3-outposts.<i>Region</i>.amazonaws.com</code>. When you use this action with S3 on Outposts through the Amazon Web Services SDKs, you provide the Outposts access point ARN in place of the bucket name. For more information about S3 on Outposts ARNs, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html">What is S3 on Outposts?</a> in the <i>Amazon S3 User Guide</i>.</p>
1293
+ * <p>Note: To supply the Multi-region Access Point (MRAP) to Bucket, you need to install the "@aws-sdk/signature-v4-crt" package to your project dependencies.
1294
+ * For more information, please go to https://github.com/aws/aws-sdk-js-v3#known-issues</p>
1295
+ */
1296
+ Bucket: string | undefined;
1297
+ /**
1298
+ * <p>Specifies the source object for the copy operation. You specify the value in one of two
1299
+ * formats, depending on whether you want to access the source object through an <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/access-points.html">access point</a>:</p>
1300
+ * <ul>
1301
+ * <li>
1302
+ * <p>For objects not accessed through an access point, specify the name of the source bucket
1303
+ * and key of the source object, separated by a slash (/). For example, to copy the
1304
+ * object <code>reports/january.pdf</code> from the bucket
1305
+ * <code>awsexamplebucket</code>, use <code>awsexamplebucket/reports/january.pdf</code>.
1306
+ * The value must be URL-encoded.</p>
1307
+ * </li>
1308
+ * <li>
1309
+ * <p>For objects accessed through access points, specify the Amazon Resource Name (ARN) of the object as accessed through the access point, in the format <code>arn:aws:s3:<Region>:<account-id>:accesspoint/<access-point-name>/object/<key></code>. For example, to copy the object <code>reports/january.pdf</code> through access point <code>my-access-point</code> owned by account <code>123456789012</code> in Region <code>us-west-2</code>, use the URL encoding of <code>arn:aws:s3:us-west-2:123456789012:accesspoint/my-access-point/object/reports/january.pdf</code>. The value must be URL encoded.</p>
1310
+ * <note>
1311
+ * <p>Amazon S3 supports copy operations using access points only when the source and destination buckets are in the same Amazon Web Services Region.</p>
1312
+ * </note>
1313
+ * <p>Alternatively, for objects accessed through Amazon S3 on Outposts, specify the ARN of the object as accessed in the format <code>arn:aws:s3-outposts:<Region>:<account-id>:outpost/<outpost-id>/object/<key></code>. For example, to copy the object <code>reports/january.pdf</code> through outpost <code>my-outpost</code> owned by account <code>123456789012</code> in Region <code>us-west-2</code>, use the URL encoding of <code>arn:aws:s3-outposts:us-west-2:123456789012:outpost/my-outpost/object/reports/january.pdf</code>. The value must be URL-encoded. </p>
1314
+ * </li>
1315
+ * </ul>
1316
+ * <p>To copy a specific version of an object, append <code>?versionId=<version-id></code>
1317
+ * to the value (for example,
1318
+ * <code>awsexamplebucket/reports/january.pdf?versionId=QUpfdndhfd8438MNFDN93jdnJFkdmqnh893</code>).
1319
+ * If you don't specify a version ID, Amazon S3 copies the latest version of the source
1320
+ * object.</p>
1321
+ */
1322
+ CopySource: string | undefined;
1323
+ /**
1324
+ * <p>Copies the object if its entity tag (ETag) matches the specified tag.</p>
1325
+ */
1326
+ CopySourceIfMatch?: string;
1327
+ /**
1328
+ * <p>Copies the object if it has been modified since the specified time.</p>
1329
+ */
1330
+ CopySourceIfModifiedSince?: Date;
1331
+ /**
1332
+ * <p>Copies the object if its entity tag (ETag) is different than the specified ETag.</p>
1333
+ */
1334
+ CopySourceIfNoneMatch?: string;
1335
+ /**
1336
+ * <p>Copies the object if it hasn't been modified since the specified time.</p>
1337
+ */
1338
+ CopySourceIfUnmodifiedSince?: Date;
1339
+ /**
1340
+ * <p>The range of bytes to copy from the source object. The range value must use the form
1341
+ * bytes=first-last, where the first and last are the zero-based byte offsets to copy. For
1342
+ * example, bytes=0-9 indicates that you want to copy the first 10 bytes of the source. You
1343
+ * can copy a range only if the source object is greater than 5 MB.</p>
1344
+ */
1345
+ CopySourceRange?: string;
1346
+ /**
1347
+ * <p>Object key for which the multipart upload was initiated.</p>
1348
+ */
1349
+ Key: string | undefined;
1350
+ /**
1351
+ * <p>Part number of part being copied. This is a positive integer between 1 and
1352
+ * 10,000.</p>
1353
+ */
1354
+ PartNumber: number | undefined;
1355
+ /**
1356
+ * <p>Upload ID identifying the multipart upload whose part is being copied.</p>
1357
+ */
1358
+ UploadId: string | undefined;
1359
+ /**
1360
+ * <p>Specifies the algorithm to use to when encrypting the object (for example,
1361
+ * AES256).</p>
1362
+ */
1363
+ SSECustomerAlgorithm?: string;
1364
+ /**
1365
+ * <p>Specifies the customer-provided encryption key for Amazon S3 to use in encrypting data. This
1366
+ * value is used to store the object and then it is discarded; Amazon S3 does not store the
1367
+ * encryption key. The key must be appropriate for use with the algorithm specified in the
1368
+ * <code>x-amz-server-side-encryption-customer-algorithm</code> header. This must be the
1369
+ * same encryption key specified in the initiate multipart upload request.</p>
1370
+ */
1371
+ SSECustomerKey?: string;
1372
+ /**
1373
+ * <p>Specifies the 128-bit MD5 digest of the encryption key according to RFC 1321. Amazon S3 uses
1374
+ * this header for a message integrity check to ensure that the encryption key was transmitted
1375
+ * without error.</p>
1376
+ */
1377
+ SSECustomerKeyMD5?: string;
1378
+ /**
1379
+ * <p>Specifies the algorithm to use when decrypting the source object (for example,
1380
+ * AES256).</p>
1381
+ */
1382
+ CopySourceSSECustomerAlgorithm?: string;
1383
+ /**
1384
+ * <p>Specifies the customer-provided encryption key for Amazon S3 to use to decrypt the source
1385
+ * object. The encryption key provided in this header must be one that was used when the
1386
+ * source object was created.</p>
1387
+ */
1388
+ CopySourceSSECustomerKey?: string;
1389
+ /**
1390
+ * <p>Specifies the 128-bit MD5 digest of the encryption key according to RFC 1321. Amazon S3 uses
1391
+ * this header for a message integrity check to ensure that the encryption key was transmitted
1392
+ * without error.</p>
1393
+ */
1394
+ CopySourceSSECustomerKeyMD5?: string;
1395
+ /**
1396
+ * <p>Confirms that the requester knows that they will be charged for the request. Bucket
1397
+ * owners need not specify this parameter in their requests. For information about downloading
1398
+ * objects from Requester Pays buckets, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/ObjectsinRequesterPaysBuckets.html">Downloading Objects in
1399
+ * Requester Pays Buckets</a> in the <i>Amazon S3 User Guide</i>.</p>
1400
+ */
1401
+ RequestPayer?: RequestPayer | string;
1402
+ /**
1403
+ * <p>The account ID of the expected destination bucket owner. If the destination bucket is owned by a different account, the request fails with the HTTP status code <code>403 Forbidden</code> (access denied).</p>
1404
+ */
1405
+ ExpectedBucketOwner?: string;
1406
+ /**
1407
+ * <p>The account ID of the expected source bucket owner. If the source bucket is owned by a different account, the request fails with the HTTP status code <code>403 Forbidden</code> (access denied).</p>
1408
+ */
1409
+ ExpectedSourceBucketOwner?: string;
1410
+ }
1411
+ /**
1412
+ * @public
1413
+ */
1414
+ export interface WriteGetObjectResponseRequest {
1415
+ /**
1416
+ * <p>Route prefix to the HTTP URL generated.</p>
1417
+ */
1418
+ RequestRoute: string | undefined;
1419
+ /**
1420
+ * <p>A single use encrypted token that maps <code>WriteGetObjectResponse</code> to the end
1421
+ * user <code>GetObject</code> request.</p>
1422
+ */
1423
+ RequestToken: string | undefined;
1424
+ /**
1425
+ * <p>The object data.</p>
1426
+ */
1427
+ Body?: Readable | ReadableStream | Blob;
1428
+ /**
1429
+ * <p>The integer status code for an HTTP response of a corresponding <code>GetObject</code>
1430
+ * request. The following is a list of status codes.</p>
1431
+ * <ul>
1432
+ * <li>
1433
+ * <p>
1434
+ * <code>200 - OK</code>
1435
+ * </p>
1436
+ * </li>
1437
+ * <li>
1438
+ * <p>
1439
+ * <code>206 - Partial Content</code>
1440
+ * </p>
1441
+ * </li>
1442
+ * <li>
1443
+ * <p>
1444
+ * <code>304 - Not Modified</code>
1445
+ * </p>
1446
+ * </li>
1447
+ * <li>
1448
+ * <p>
1449
+ * <code>400 - Bad Request</code>
1450
+ * </p>
1451
+ * </li>
1452
+ * <li>
1453
+ * <p>
1454
+ * <code>401 - Unauthorized</code>
1455
+ * </p>
1456
+ * </li>
1457
+ * <li>
1458
+ * <p>
1459
+ * <code>403 - Forbidden</code>
1460
+ * </p>
1461
+ * </li>
1462
+ * <li>
1463
+ * <p>
1464
+ * <code>404 - Not Found</code>
1465
+ * </p>
1466
+ * </li>
1467
+ * <li>
1468
+ * <p>
1469
+ * <code>405 - Method Not Allowed</code>
1470
+ * </p>
1471
+ * </li>
1472
+ * <li>
1473
+ * <p>
1474
+ * <code>409 - Conflict</code>
1475
+ * </p>
1476
+ * </li>
1477
+ * <li>
1478
+ * <p>
1479
+ * <code>411 - Length Required</code>
1480
+ * </p>
1481
+ * </li>
1482
+ * <li>
1483
+ * <p>
1484
+ * <code>412 - Precondition Failed</code>
1485
+ * </p>
1486
+ * </li>
1487
+ * <li>
1488
+ * <p>
1489
+ * <code>416 - Range Not Satisfiable</code>
1490
+ * </p>
1491
+ * </li>
1492
+ * <li>
1493
+ * <p>
1494
+ * <code>500 - Internal Server Error</code>
1495
+ * </p>
1496
+ * </li>
1497
+ * <li>
1498
+ * <p>
1499
+ * <code>503 - Service Unavailable</code>
1500
+ * </p>
1501
+ * </li>
1502
+ * </ul>
1503
+ */
1504
+ StatusCode?: number;
1505
+ /**
1506
+ * <p>A string that uniquely identifies an error condition. Returned in the <Code> tag
1507
+ * of the error XML response for a corresponding <code>GetObject</code> call. Cannot be used
1508
+ * with a successful <code>StatusCode</code> header or when the transformed object is provided
1509
+ * in the body. All error codes from S3 are sentence-cased. The regular expression (regex)
1510
+ * value is <code>"^[A-Z][a-zA-Z]+$"</code>.</p>
1511
+ */
1512
+ ErrorCode?: string;
1513
+ /**
1514
+ * <p>Contains a generic description of the error condition. Returned in the <Message>
1515
+ * tag of the error XML response for a corresponding <code>GetObject</code> call. Cannot be
1516
+ * used with a successful <code>StatusCode</code> header or when the transformed object is
1517
+ * provided in body.</p>
1518
+ */
1519
+ ErrorMessage?: string;
1520
+ /**
1521
+ * <p>Indicates that a range of bytes was specified.</p>
1522
+ */
1523
+ AcceptRanges?: string;
1524
+ /**
1525
+ * <p>Specifies caching behavior along the request/reply chain.</p>
1526
+ */
1527
+ CacheControl?: string;
1528
+ /**
1529
+ * <p>Specifies presentational information for the object.</p>
1530
+ */
1531
+ ContentDisposition?: string;
1532
+ /**
1533
+ * <p>Specifies what content encodings have been applied to the object and thus what decoding
1534
+ * mechanisms must be applied to obtain the media-type referenced by the Content-Type header
1535
+ * field.</p>
1536
+ */
1537
+ ContentEncoding?: string;
1538
+ /**
1539
+ * <p>The language the content is in.</p>
1540
+ */
1541
+ ContentLanguage?: string;
1542
+ /**
1543
+ * <p>The size of the content body in bytes.</p>
1544
+ */
1545
+ ContentLength?: number;
1546
+ /**
1547
+ * <p>The portion of the object returned in the response.</p>
1548
+ */
1549
+ ContentRange?: string;
1550
+ /**
1551
+ * <p>A standard MIME type describing the format of the object data.</p>
1552
+ */
1553
+ ContentType?: string;
1554
+ /**
1555
+ * <p>This header can be used as a data integrity check to verify that the data received is
1556
+ * the same data that was originally sent. This specifies the base64-encoded, 32-bit CRC32
1557
+ * checksum of the object returned by the Object Lambda function. This may not match the
1558
+ * checksum for the object stored in Amazon S3. Amazon S3 will perform validation of the checksum values
1559
+ * only when the original <code>GetObject</code> request required checksum validation. For
1560
+ * more information about checksums, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html">Checking object
1561
+ * integrity</a> in the <i>Amazon S3 User Guide</i>.</p>
1562
+ * <p>Only one checksum header can be specified at a time. If you supply multiple checksum
1563
+ * headers, this request will fail.</p>
1564
+ * <p></p>
1565
+ */
1566
+ ChecksumCRC32?: string;
1567
+ /**
1568
+ * <p>This header can be used as a data integrity check to verify that the data received is
1569
+ * the same data that was originally sent. This specifies the base64-encoded, 32-bit CRC32C
1570
+ * checksum of the object returned by the Object Lambda function. This may not match the
1571
+ * checksum for the object stored in Amazon S3. Amazon S3 will perform validation of the checksum values
1572
+ * only when the original <code>GetObject</code> request required checksum validation. For
1573
+ * more information about checksums, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html">Checking object
1574
+ * integrity</a> in the <i>Amazon S3 User Guide</i>.</p>
1575
+ * <p>Only one checksum header can be specified at a time. If you supply multiple checksum
1576
+ * headers, this request will fail.</p>
1577
+ */
1578
+ ChecksumCRC32C?: string;
1579
+ /**
1580
+ * <p>This header can be used as a data integrity check to verify that the data received is
1581
+ * the same data that was originally sent. This specifies the base64-encoded, 160-bit SHA-1
1582
+ * digest of the object returned by the Object Lambda function. This may not match the
1583
+ * checksum for the object stored in Amazon S3. Amazon S3 will perform validation of the checksum values
1584
+ * only when the original <code>GetObject</code> request required checksum validation. For
1585
+ * more information about checksums, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html">Checking object
1586
+ * integrity</a> in the <i>Amazon S3 User Guide</i>.</p>
1587
+ * <p>Only one checksum header can be specified at a time. If you supply multiple checksum
1588
+ * headers, this request will fail.</p>
1589
+ */
1590
+ ChecksumSHA1?: string;
1591
+ /**
1592
+ * <p>This header can be used as a data integrity check to verify that the data received is
1593
+ * the same data that was originally sent. This specifies the base64-encoded, 256-bit SHA-256
1594
+ * digest of the object returned by the Object Lambda function. This may not match the
1595
+ * checksum for the object stored in Amazon S3. Amazon S3 will perform validation of the checksum values
1596
+ * only when the original <code>GetObject</code> request required checksum validation. For
1597
+ * more information about checksums, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html">Checking object
1598
+ * integrity</a> in the <i>Amazon S3 User Guide</i>.</p>
1599
+ * <p>Only one checksum header can be specified at a time. If you supply multiple checksum
1600
+ * headers, this request will fail.</p>
1601
+ */
1602
+ ChecksumSHA256?: string;
1603
+ /**
1604
+ * <p>Specifies whether an object stored in Amazon S3 is (<code>true</code>) or is not
1605
+ * (<code>false</code>) a delete marker. </p>
1606
+ */
1607
+ DeleteMarker?: boolean;
1608
+ /**
1609
+ * <p>An opaque identifier assigned by a web server to a specific version of a resource found
1610
+ * at a URL. </p>
1611
+ */
1612
+ ETag?: string;
1613
+ /**
1614
+ * <p>The date and time at which the object is no longer cacheable.</p>
1615
+ */
1616
+ Expires?: Date;
1617
+ /**
1618
+ * <p>If the object expiration is configured (see PUT Bucket lifecycle), the response includes
1619
+ * this header. It includes the <code>expiry-date</code> and <code>rule-id</code> key-value
1620
+ * pairs that provide the object expiration information. The value of the <code>rule-id</code>
1621
+ * is URL-encoded. </p>
1622
+ */
1623
+ Expiration?: string;
1624
+ /**
1625
+ * <p>The date and time that the object was last modified.</p>
1626
+ */
1627
+ LastModified?: Date;
1628
+ /**
1629
+ * <p>Set to the number of metadata entries not returned in <code>x-amz-meta</code> headers.
1630
+ * This can happen if you create metadata using an API like SOAP that supports more flexible
1631
+ * metadata than the REST API. For example, using SOAP, you can create metadata whose values
1632
+ * are not legal HTTP headers.</p>
1633
+ */
1634
+ MissingMeta?: number;
1635
+ /**
1636
+ * <p>A map of metadata to store with the object in S3.</p>
1637
+ */
1638
+ Metadata?: Record<string, string>;
1639
+ /**
1640
+ * <p>Indicates whether an object stored in Amazon S3 has Object Lock enabled. For more information
1641
+ * about S3 Object Lock, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/object-lock.html">Object Lock</a>.</p>
1642
+ */
1643
+ ObjectLockMode?: ObjectLockMode | string;
1644
+ /**
1645
+ * <p>Indicates whether an object stored in Amazon S3 has an active legal hold.</p>
1646
+ */
1647
+ ObjectLockLegalHoldStatus?: ObjectLockLegalHoldStatus | string;
1648
+ /**
1649
+ * <p>The date and time when Object Lock is configured to expire.</p>
1650
+ */
1651
+ ObjectLockRetainUntilDate?: Date;
1652
+ /**
1653
+ * <p>The count of parts this object has.</p>
1654
+ */
1655
+ PartsCount?: number;
1656
+ /**
1657
+ * <p>Indicates if request involves bucket that is either a source or destination in a
1658
+ * Replication rule. For more information about S3 Replication, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/replication.html">Replication</a>.</p>
1659
+ */
1660
+ ReplicationStatus?: ReplicationStatus | string;
1661
+ /**
1662
+ * <p>If present, indicates that the requester was successfully charged for the
1663
+ * request.</p>
1664
+ */
1665
+ RequestCharged?: RequestCharged | string;
1666
+ /**
1667
+ * <p>Provides information about object restoration operation and expiration time of the
1668
+ * restored object copy.</p>
1669
+ */
1670
+ Restore?: string;
1671
+ /**
1672
+ * <p> The server-side encryption algorithm used when storing requested object in Amazon S3 (for
1673
+ * example, AES256, <code>aws:kms</code>).</p>
1674
+ */
1675
+ ServerSideEncryption?: ServerSideEncryption | string;
1676
+ /**
1677
+ * <p>Encryption algorithm used if server-side encryption with a customer-provided encryption
1678
+ * key was specified for object stored in Amazon S3.</p>
1679
+ */
1680
+ SSECustomerAlgorithm?: string;
1681
+ /**
1682
+ * <p> If present, specifies the ID of the Amazon Web Services Key Management Service (Amazon Web Services KMS) symmetric
1683
+ * encryption customer managed key that was used for stored in Amazon S3 object. </p>
1684
+ */
1685
+ SSEKMSKeyId?: string;
1686
+ /**
1687
+ * <p> 128-bit MD5 digest of customer-provided encryption key used in Amazon S3 to encrypt data
1688
+ * stored in S3. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/ServerSideEncryptionCustomerKeys.html">Protecting data
1689
+ * using server-side encryption with customer-provided encryption keys
1690
+ * (SSE-C)</a>.</p>
1691
+ */
1692
+ SSECustomerKeyMD5?: string;
1693
+ /**
1694
+ * <p>Provides storage class information of the object. Amazon S3 returns this header for all
1695
+ * objects except for S3 Standard storage class objects.</p>
1696
+ * <p>For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/storage-class-intro.html">Storage Classes</a>.</p>
1697
+ */
1698
+ StorageClass?: StorageClass | string;
1699
+ /**
1700
+ * <p>The number of tags, if any, on the object.</p>
1701
+ */
1702
+ TagCount?: number;
1703
+ /**
1704
+ * <p>An ID used to reference a specific version of the object.</p>
1705
+ */
1706
+ VersionId?: string;
1707
+ /**
1708
+ * <p> Indicates whether the object stored in Amazon S3 uses an S3 bucket key for server-side
1709
+ * encryption with Amazon Web Services KMS (SSE-KMS).</p>
1710
+ */
1711
+ BucketKeyEnabled?: boolean;
1712
+ }
1713
+ /**
1714
+ * @internal
1715
+ */
1716
+ export declare const EncryptionFilterSensitiveLog: (obj: Encryption) => any;
1717
+ /**
1718
+ * @internal
1719
+ */
1720
+ export declare const S3LocationFilterSensitiveLog: (obj: S3Location) => any;
1721
+ /**
1722
+ * @internal
1723
+ */
1724
+ export declare const OutputLocationFilterSensitiveLog: (obj: OutputLocation) => any;
1725
+ /**
1726
+ * @internal
1727
+ */
1728
+ export declare const RestoreRequestFilterSensitiveLog: (obj: RestoreRequest) => any;
1729
+ /**
1730
+ * @internal
1731
+ */
1732
+ export declare const RestoreObjectRequestFilterSensitiveLog: (obj: RestoreObjectRequest) => any;
1733
+ /**
1734
+ * @internal
1735
+ */
1736
+ export declare const SelectObjectContentEventStreamFilterSensitiveLog: (obj: SelectObjectContentEventStream) => any;
1737
+ /**
1738
+ * @internal
1739
+ */
1740
+ export declare const SelectObjectContentOutputFilterSensitiveLog: (obj: SelectObjectContentOutput) => any;
1741
+ /**
1742
+ * @internal
1743
+ */
1744
+ export declare const SelectObjectContentRequestFilterSensitiveLog: (obj: SelectObjectContentRequest) => any;
1745
+ /**
1746
+ * @internal
1747
+ */
1748
+ export declare const UploadPartOutputFilterSensitiveLog: (obj: UploadPartOutput) => any;
1749
+ /**
1750
+ * @internal
1751
+ */
1752
+ export declare const UploadPartRequestFilterSensitiveLog: (obj: UploadPartRequest) => any;
1753
+ /**
1754
+ * @internal
1755
+ */
1756
+ export declare const UploadPartCopyOutputFilterSensitiveLog: (obj: UploadPartCopyOutput) => any;
1757
+ /**
1758
+ * @internal
1759
+ */
1760
+ export declare const UploadPartCopyRequestFilterSensitiveLog: (obj: UploadPartCopyRequest) => any;
1761
+ /**
1762
+ * @internal
1763
+ */
1764
+ export declare const WriteGetObjectResponseRequestFilterSensitiveLog: (obj: WriteGetObjectResponseRequest) => any;