@nocobase/plugin-file-manager 0.17.0-alpha.7 → 0.18.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 (382) hide show
  1. package/dist/externalVersion.js +11 -11
  2. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/S3.js +4 -0
  3. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/S3Client.js +10 -5
  4. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/AbortMultipartUploadCommand.js +7 -0
  5. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/CompleteMultipartUploadCommand.js +7 -0
  6. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/CopyObjectCommand.js +6 -0
  7. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/CreateBucketCommand.js +7 -0
  8. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/CreateMultipartUploadCommand.js +7 -0
  9. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/CreateSessionCommand.js +59 -0
  10. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/DeleteBucketAnalyticsConfigurationCommand.js +7 -0
  11. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/DeleteBucketCommand.js +7 -0
  12. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/DeleteBucketCorsCommand.js +7 -0
  13. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/DeleteBucketEncryptionCommand.js +7 -0
  14. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/DeleteBucketIntelligentTieringConfigurationCommand.js +7 -0
  15. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/DeleteBucketInventoryConfigurationCommand.js +7 -0
  16. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/DeleteBucketLifecycleCommand.js +7 -0
  17. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/DeleteBucketMetricsConfigurationCommand.js +7 -0
  18. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/DeleteBucketOwnershipControlsCommand.js +7 -0
  19. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/DeleteBucketPolicyCommand.js +7 -0
  20. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/DeleteBucketReplicationCommand.js +7 -0
  21. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/DeleteBucketTaggingCommand.js +7 -0
  22. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/DeleteBucketWebsiteCommand.js +7 -0
  23. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/DeleteObjectCommand.js +7 -0
  24. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/DeleteObjectTaggingCommand.js +6 -0
  25. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/DeleteObjectsCommand.js +6 -0
  26. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/DeletePublicAccessBlockCommand.js +7 -0
  27. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetBucketAccelerateConfigurationCommand.js +7 -0
  28. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetBucketAclCommand.js +7 -0
  29. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetBucketAnalyticsConfigurationCommand.js +7 -0
  30. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetBucketCorsCommand.js +7 -0
  31. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetBucketEncryptionCommand.js +7 -0
  32. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetBucketIntelligentTieringConfigurationCommand.js +7 -0
  33. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetBucketInventoryConfigurationCommand.js +7 -0
  34. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetBucketLifecycleConfigurationCommand.js +7 -0
  35. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetBucketLocationCommand.js +7 -0
  36. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetBucketLoggingCommand.js +7 -0
  37. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetBucketMetricsConfigurationCommand.js +7 -0
  38. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetBucketNotificationConfigurationCommand.js +7 -0
  39. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetBucketOwnershipControlsCommand.js +7 -0
  40. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetBucketPolicyCommand.js +7 -0
  41. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetBucketPolicyStatusCommand.js +7 -0
  42. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetBucketReplicationCommand.js +7 -0
  43. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetBucketRequestPaymentCommand.js +7 -0
  44. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetBucketTaggingCommand.js +7 -0
  45. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetBucketVersioningCommand.js +7 -0
  46. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetBucketWebsiteCommand.js +7 -0
  47. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetObjectAclCommand.js +7 -0
  48. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetObjectAttributesCommand.js +6 -0
  49. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetObjectCommand.js +7 -0
  50. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetObjectLegalHoldCommand.js +6 -0
  51. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetObjectLockConfigurationCommand.js +6 -0
  52. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetObjectRetentionCommand.js +6 -0
  53. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetObjectTaggingCommand.js +6 -0
  54. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetObjectTorrentCommand.js +6 -0
  55. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetPublicAccessBlockCommand.js +7 -0
  56. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/HeadBucketCommand.js +6 -0
  57. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/HeadObjectCommand.js +7 -0
  58. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/ListBucketAnalyticsConfigurationsCommand.js +7 -0
  59. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/ListBucketIntelligentTieringConfigurationsCommand.js +7 -0
  60. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/ListBucketInventoryConfigurationsCommand.js +7 -0
  61. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/ListBucketMetricsConfigurationsCommand.js +6 -0
  62. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/ListBucketsCommand.js +6 -0
  63. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/ListDirectoryBucketsCommand.js +58 -0
  64. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/ListMultipartUploadsCommand.js +7 -0
  65. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/ListObjectVersionsCommand.js +7 -0
  66. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/ListObjectsCommand.js +7 -0
  67. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/ListObjectsV2Command.js +7 -0
  68. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/ListPartsCommand.js +7 -0
  69. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutBucketAccelerateConfigurationCommand.js +7 -0
  70. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutBucketAclCommand.js +7 -0
  71. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutBucketAnalyticsConfigurationCommand.js +7 -0
  72. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutBucketCorsCommand.js +7 -0
  73. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutBucketEncryptionCommand.js +7 -0
  74. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutBucketIntelligentTieringConfigurationCommand.js +7 -0
  75. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutBucketInventoryConfigurationCommand.js +7 -0
  76. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutBucketLifecycleConfigurationCommand.js +7 -0
  77. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutBucketLoggingCommand.js +7 -0
  78. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutBucketMetricsConfigurationCommand.js +7 -0
  79. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutBucketNotificationConfigurationCommand.js +7 -0
  80. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutBucketOwnershipControlsCommand.js +7 -0
  81. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutBucketPolicyCommand.js +7 -0
  82. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutBucketReplicationCommand.js +7 -0
  83. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutBucketRequestPaymentCommand.js +7 -0
  84. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutBucketTaggingCommand.js +7 -0
  85. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutBucketVersioningCommand.js +7 -0
  86. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutBucketWebsiteCommand.js +7 -0
  87. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutObjectAclCommand.js +7 -0
  88. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutObjectCommand.js +10 -3
  89. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutObjectLegalHoldCommand.js +6 -0
  90. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutObjectLockConfigurationCommand.js +6 -0
  91. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutObjectRetentionCommand.js +6 -0
  92. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutObjectTaggingCommand.js +6 -0
  93. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutPublicAccessBlockCommand.js +7 -0
  94. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/RestoreObjectCommand.js +6 -0
  95. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/SelectObjectContentCommand.js +9 -0
  96. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/UploadPartCommand.js +7 -0
  97. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/UploadPartCopyCommand.js +6 -0
  98. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/WriteGetObjectResponseCommand.js +6 -0
  99. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/index.js +2 -0
  100. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/endpoint/EndpointParameters.js +1 -0
  101. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/endpoint/endpointResolver.js +1 -1
  102. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/endpoint/ruleset.js +3 -3
  103. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/extensionConfiguration.js +2 -0
  104. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/index.js +3 -3
  105. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/models/models_0.js +50 -32
  106. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/models/models_1.js +18 -1
  107. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/pagination/ListDirectoryBucketsPaginator.js +29 -0
  108. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/pagination/index.js +1 -0
  109. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/protocols/Aws_restXml.js +226 -97
  110. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/runtimeConfig.browser.js +2 -2
  111. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/runtimeConfig.js +5 -1
  112. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/runtimeConfig.shared.js +20 -17
  113. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/runtimeExtensions.js +22 -0
  114. package/dist/node_modules/@aws-sdk/client-s3/dist-es/S3.js +4 -0
  115. package/dist/node_modules/@aws-sdk/client-s3/dist-es/S3Client.js +11 -6
  116. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/AbortMultipartUploadCommand.js +7 -0
  117. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/CompleteMultipartUploadCommand.js +7 -0
  118. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/CopyObjectCommand.js +6 -0
  119. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/CreateBucketCommand.js +7 -0
  120. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/CreateMultipartUploadCommand.js +7 -0
  121. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/CreateSessionCommand.js +55 -0
  122. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketAnalyticsConfigurationCommand.js +7 -0
  123. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketCommand.js +7 -0
  124. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketCorsCommand.js +7 -0
  125. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketEncryptionCommand.js +7 -0
  126. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketIntelligentTieringConfigurationCommand.js +7 -0
  127. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketInventoryConfigurationCommand.js +7 -0
  128. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketLifecycleCommand.js +7 -0
  129. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketMetricsConfigurationCommand.js +7 -0
  130. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketOwnershipControlsCommand.js +7 -0
  131. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketPolicyCommand.js +7 -0
  132. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketReplicationCommand.js +7 -0
  133. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketTaggingCommand.js +7 -0
  134. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketWebsiteCommand.js +7 -0
  135. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteObjectCommand.js +7 -0
  136. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteObjectTaggingCommand.js +6 -0
  137. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteObjectsCommand.js +6 -0
  138. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeletePublicAccessBlockCommand.js +7 -0
  139. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketAccelerateConfigurationCommand.js +7 -0
  140. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketAclCommand.js +7 -0
  141. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketAnalyticsConfigurationCommand.js +7 -0
  142. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketCorsCommand.js +7 -0
  143. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketEncryptionCommand.js +7 -0
  144. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketIntelligentTieringConfigurationCommand.js +7 -0
  145. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketInventoryConfigurationCommand.js +7 -0
  146. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketLifecycleConfigurationCommand.js +7 -0
  147. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketLocationCommand.js +7 -0
  148. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketLoggingCommand.js +7 -0
  149. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketMetricsConfigurationCommand.js +7 -0
  150. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketNotificationConfigurationCommand.js +7 -0
  151. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketOwnershipControlsCommand.js +7 -0
  152. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketPolicyCommand.js +7 -0
  153. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketPolicyStatusCommand.js +7 -0
  154. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketReplicationCommand.js +7 -0
  155. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketRequestPaymentCommand.js +7 -0
  156. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketTaggingCommand.js +7 -0
  157. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketVersioningCommand.js +7 -0
  158. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketWebsiteCommand.js +7 -0
  159. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetObjectAclCommand.js +7 -0
  160. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetObjectAttributesCommand.js +6 -0
  161. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetObjectCommand.js +7 -0
  162. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetObjectLegalHoldCommand.js +6 -0
  163. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetObjectLockConfigurationCommand.js +6 -0
  164. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetObjectRetentionCommand.js +6 -0
  165. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetObjectTaggingCommand.js +6 -0
  166. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetObjectTorrentCommand.js +6 -0
  167. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetPublicAccessBlockCommand.js +7 -0
  168. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/HeadBucketCommand.js +6 -0
  169. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/HeadObjectCommand.js +7 -0
  170. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/ListBucketAnalyticsConfigurationsCommand.js +7 -0
  171. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/ListBucketIntelligentTieringConfigurationsCommand.js +7 -0
  172. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/ListBucketInventoryConfigurationsCommand.js +7 -0
  173. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/ListBucketMetricsConfigurationsCommand.js +6 -0
  174. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/ListBucketsCommand.js +6 -0
  175. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/ListDirectoryBucketsCommand.js +54 -0
  176. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/ListMultipartUploadsCommand.js +7 -0
  177. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/ListObjectVersionsCommand.js +7 -0
  178. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/ListObjectsCommand.js +7 -0
  179. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/ListObjectsV2Command.js +7 -0
  180. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/ListPartsCommand.js +7 -0
  181. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketAccelerateConfigurationCommand.js +7 -0
  182. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketAclCommand.js +7 -0
  183. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketAnalyticsConfigurationCommand.js +7 -0
  184. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketCorsCommand.js +7 -0
  185. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketEncryptionCommand.js +7 -0
  186. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketIntelligentTieringConfigurationCommand.js +7 -0
  187. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketInventoryConfigurationCommand.js +7 -0
  188. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketLifecycleConfigurationCommand.js +7 -0
  189. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketLoggingCommand.js +7 -0
  190. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketMetricsConfigurationCommand.js +7 -0
  191. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketNotificationConfigurationCommand.js +7 -0
  192. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketOwnershipControlsCommand.js +7 -0
  193. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketPolicyCommand.js +7 -0
  194. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketReplicationCommand.js +7 -0
  195. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketRequestPaymentCommand.js +7 -0
  196. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketTaggingCommand.js +7 -0
  197. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketVersioningCommand.js +7 -0
  198. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketWebsiteCommand.js +7 -0
  199. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutObjectAclCommand.js +7 -0
  200. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutObjectCommand.js +8 -1
  201. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutObjectLegalHoldCommand.js +6 -0
  202. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutObjectLockConfigurationCommand.js +6 -0
  203. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutObjectRetentionCommand.js +6 -0
  204. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutObjectTaggingCommand.js +6 -0
  205. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutPublicAccessBlockCommand.js +7 -0
  206. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/RestoreObjectCommand.js +6 -0
  207. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/SelectObjectContentCommand.js +9 -0
  208. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/UploadPartCommand.js +7 -0
  209. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/UploadPartCopyCommand.js +6 -0
  210. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/WriteGetObjectResponseCommand.js +6 -0
  211. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/index.js +2 -0
  212. package/dist/node_modules/@aws-sdk/client-s3/dist-es/endpoint/EndpointParameters.js +1 -0
  213. package/dist/node_modules/@aws-sdk/client-s3/dist-es/endpoint/endpointResolver.js +1 -1
  214. package/dist/node_modules/@aws-sdk/client-s3/dist-es/endpoint/ruleset.js +3 -3
  215. package/dist/node_modules/@aws-sdk/client-s3/dist-es/extensionConfiguration.js +1 -0
  216. package/dist/node_modules/@aws-sdk/client-s3/dist-es/index.js +1 -0
  217. package/dist/node_modules/@aws-sdk/client-s3/dist-es/models/models_0.js +45 -27
  218. package/dist/node_modules/@aws-sdk/client-s3/dist-es/models/models_1.js +15 -0
  219. package/dist/node_modules/@aws-sdk/client-s3/dist-es/pagination/ListDirectoryBucketsPaginator.js +25 -0
  220. package/dist/node_modules/@aws-sdk/client-s3/dist-es/pagination/index.js +1 -0
  221. package/dist/node_modules/@aws-sdk/client-s3/dist-es/protocols/Aws_restXml.js +218 -93
  222. package/dist/node_modules/@aws-sdk/client-s3/dist-es/runtimeConfig.browser.js +2 -2
  223. package/dist/node_modules/@aws-sdk/client-s3/dist-es/runtimeConfig.js +5 -1
  224. package/dist/node_modules/@aws-sdk/client-s3/dist-es/runtimeConfig.shared.js +20 -17
  225. package/dist/node_modules/@aws-sdk/client-s3/dist-es/runtimeExtensions.js +18 -0
  226. package/dist/node_modules/@aws-sdk/client-s3/dist-types/S3.d.ts +14 -0
  227. package/dist/node_modules/@aws-sdk/client-s3/dist-types/S3Client.d.ts +14 -5
  228. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/AbortMultipartUploadCommand.d.ts +37 -5
  229. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/CompleteMultipartUploadCommand.d.ts +98 -62
  230. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/CopyObjectCommand.d.ts +108 -164
  231. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/CreateBucketCommand.d.ts +116 -69
  232. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/CreateMultipartUploadCommand.d.ts +146 -222
  233. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/CreateSessionCommand.d.ts +145 -0
  234. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketAnalyticsConfigurationCommand.d.ts +4 -1
  235. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketCommand.d.ts +35 -0
  236. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketCorsCommand.d.ts +4 -1
  237. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketEncryptionCommand.d.ts +6 -3
  238. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketIntelligentTieringConfigurationCommand.d.ts +4 -1
  239. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketInventoryConfigurationCommand.d.ts +4 -1
  240. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketLifecycleCommand.d.ts +4 -1
  241. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketMetricsConfigurationCommand.d.ts +4 -1
  242. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketOwnershipControlsCommand.d.ts +4 -1
  243. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketPolicyCommand.d.ts +48 -19
  244. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketReplicationCommand.d.ts +4 -1
  245. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketTaggingCommand.d.ts +4 -1
  246. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketWebsiteCommand.d.ts +4 -1
  247. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteObjectCommand.d.ts +83 -11
  248. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteObjectTaggingCommand.d.ts +4 -1
  249. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteObjectsCommand.d.ts +109 -34
  250. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeletePublicAccessBlockCommand.d.ts +4 -1
  251. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketAccelerateConfigurationCommand.d.ts +6 -2
  252. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketAclCommand.d.ts +7 -4
  253. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketAnalyticsConfigurationCommand.d.ts +6 -2
  254. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketCorsCommand.d.ts +6 -3
  255. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketEncryptionCommand.d.ts +4 -1
  256. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketIntelligentTieringConfigurationCommand.d.ts +4 -1
  257. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketInventoryConfigurationCommand.d.ts +5 -2
  258. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketLifecycleConfigurationCommand.d.ts +3 -0
  259. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketLocationCommand.d.ts +7 -4
  260. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketLoggingCommand.d.ts +10 -1
  261. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketMetricsConfigurationCommand.d.ts +4 -1
  262. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketNotificationConfigurationCommand.d.ts +6 -3
  263. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketOwnershipControlsCommand.d.ts +4 -1
  264. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketPolicyCommand.d.ts +54 -23
  265. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketPolicyStatusCommand.d.ts +4 -1
  266. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketReplicationCommand.d.ts +5 -2
  267. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketRequestPaymentCommand.d.ts +4 -1
  268. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketTaggingCommand.d.ts +4 -1
  269. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketVersioningCommand.d.ts +4 -1
  270. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketWebsiteCommand.d.ts +4 -1
  271. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectAclCommand.d.ts +5 -2
  272. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectAttributesCommand.d.ts +113 -73
  273. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectCommand.d.ts +127 -136
  274. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectLegalHoldCommand.d.ts +5 -2
  275. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectLockConfigurationCommand.d.ts +4 -1
  276. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectRetentionCommand.d.ts +5 -2
  277. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectTaggingCommand.d.ts +23 -20
  278. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectTorrentCommand.d.ts +8 -4
  279. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetPublicAccessBlockCommand.d.ts +4 -1
  280. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/HeadBucketCommand.d.ts +53 -19
  281. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/HeadObjectCommand.d.ts +95 -80
  282. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/ListBucketAnalyticsConfigurationsCommand.d.ts +4 -1
  283. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/ListBucketIntelligentTieringConfigurationsCommand.d.ts +4 -1
  284. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/ListBucketInventoryConfigurationsCommand.d.ts +5 -2
  285. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/ListBucketMetricsConfigurationsCommand.d.ts +4 -1
  286. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/ListBucketsCommand.d.ts +4 -1
  287. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/ListDirectoryBucketsCommand.d.ts +98 -0
  288. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/ListMultipartUploadsCommand.d.ts +117 -49
  289. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/ListObjectVersionsCommand.d.ts +4 -2
  290. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/ListObjectsCommand.d.ts +5 -2
  291. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/ListObjectsV2Command.d.ts +52 -10
  292. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/ListPartsCommand.d.ts +47 -14
  293. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketAccelerateConfigurationCommand.d.ts +4 -1
  294. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketAclCommand.d.ts +46 -37
  295. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketAnalyticsConfigurationCommand.d.ts +6 -2
  296. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketCorsCommand.d.ts +4 -1
  297. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketEncryptionCommand.d.ts +8 -9
  298. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketIntelligentTieringConfigurationCommand.d.ts +9 -5
  299. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketInventoryConfigurationCommand.d.ts +23 -20
  300. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketLifecycleConfigurationCommand.d.ts +33 -26
  301. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketLoggingCommand.d.ts +22 -11
  302. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketMetricsConfigurationCommand.d.ts +4 -1
  303. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketNotificationConfigurationCommand.d.ts +4 -1
  304. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketOwnershipControlsCommand.d.ts +4 -1
  305. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketPolicyCommand.d.ts +54 -18
  306. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketReplicationCommand.d.ts +29 -20
  307. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketRequestPaymentCommand.d.ts +5 -2
  308. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketTaggingCommand.d.ts +23 -37
  309. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketVersioningCommand.d.ts +11 -8
  310. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketWebsiteCommand.d.ts +6 -2
  311. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutObjectAclCommand.d.ts +46 -40
  312. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutObjectCommand.d.ts +150 -119
  313. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutObjectLegalHoldCommand.d.ts +6 -3
  314. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutObjectLockConfigurationCommand.d.ts +7 -3
  315. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutObjectRetentionCommand.d.ts +5 -2
  316. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutObjectTaggingCommand.d.ts +24 -58
  317. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutPublicAccessBlockCommand.d.ts +4 -1
  318. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/RestoreObjectCommand.d.ts +99 -94
  319. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/SelectObjectContentCommand.d.ts +51 -42
  320. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/UploadPartCommand.d.ts +104 -71
  321. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/UploadPartCopyCommand.d.ts +108 -99
  322. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/WriteGetObjectResponseCommand.d.ts +9 -12
  323. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/index.d.ts +2 -0
  324. package/dist/node_modules/@aws-sdk/client-s3/dist-types/endpoint/EndpointParameters.d.ts +8 -0
  325. package/dist/node_modules/@aws-sdk/client-s3/dist-types/extensionConfiguration.d.ts +8 -0
  326. package/dist/node_modules/@aws-sdk/client-s3/dist-types/index.d.ts +4 -0
  327. package/dist/node_modules/@aws-sdk/client-s3/dist-types/models/models_0.d.ts +3714 -1386
  328. package/dist/node_modules/@aws-sdk/client-s3/dist-types/models/models_1.d.ts +1639 -111
  329. package/dist/node_modules/@aws-sdk/client-s3/dist-types/pagination/ListDirectoryBucketsPaginator.d.ts +7 -0
  330. package/dist/node_modules/@aws-sdk/client-s3/dist-types/pagination/index.d.ts +1 -0
  331. package/dist/node_modules/@aws-sdk/client-s3/dist-types/protocols/Aws_restXml.d.ts +18 -0
  332. package/dist/node_modules/@aws-sdk/client-s3/dist-types/runtimeConfig.browser.d.ts +9 -2
  333. package/dist/node_modules/@aws-sdk/client-s3/dist-types/runtimeConfig.d.ts +45 -37
  334. package/dist/node_modules/@aws-sdk/client-s3/dist-types/runtimeConfig.native.d.ts +9 -2
  335. package/dist/node_modules/@aws-sdk/client-s3/dist-types/runtimeConfig.shared.d.ts +2 -1
  336. package/dist/node_modules/@aws-sdk/client-s3/dist-types/runtimeExtensions.d.ts +17 -0
  337. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/S3.d.ts +34 -0
  338. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/S3Client.d.ts +17 -1
  339. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/CreateSessionCommand.d.ts +35 -0
  340. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetObjectCommand.d.ts +5 -3
  341. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetObjectTorrentCommand.d.ts +8 -3
  342. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/HeadBucketCommand.d.ts +4 -2
  343. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/ListDirectoryBucketsCommand.d.ts +42 -0
  344. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketReplicationCommand.d.ts +1 -1
  345. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketRequestPaymentCommand.d.ts +1 -1
  346. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketTaggingCommand.d.ts +1 -1
  347. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketVersioningCommand.d.ts +1 -1
  348. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketWebsiteCommand.d.ts +1 -1
  349. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutObjectAclCommand.d.ts +1 -1
  350. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutObjectCommand.d.ts +6 -8
  351. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutObjectLegalHoldCommand.d.ts +1 -1
  352. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/UploadPartCommand.d.ts +5 -7
  353. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/WriteGetObjectResponseCommand.d.ts +7 -7
  354. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/index.d.ts +2 -0
  355. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +5 -0
  356. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/extensionConfiguration.d.ts +7 -0
  357. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/index.d.ts +4 -0
  358. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/models/models_0.d.ts +235 -303
  359. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/models/models_1.d.ts +201 -41
  360. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/pagination/ListDirectoryBucketsPaginator.d.ts +11 -0
  361. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/pagination/index.d.ts +1 -0
  362. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/protocols/Aws_restXml.d.ts +24 -0
  363. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/runtimeConfig.browser.d.ts +18 -2
  364. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/runtimeConfig.d.ts +72 -54
  365. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/runtimeConfig.native.d.ts +18 -2
  366. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/runtimeConfig.shared.d.ts +2 -1
  367. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/runtimeExtensions.d.ts +11 -0
  368. package/dist/node_modules/@aws-sdk/client-s3/package.json +1 -1
  369. package/dist/node_modules/mime-match/package.json +1 -1
  370. package/dist/node_modules/mkdirp/package.json +1 -1
  371. package/dist/node_modules/multer-aliyun-oss/index.js +14 -106
  372. package/dist/node_modules/multer-aliyun-oss/package.json +1 -1
  373. package/dist/node_modules/multer-cos/index.js +4 -4
  374. package/dist/node_modules/multer-cos/package.json +1 -1
  375. package/dist/node_modules/multer-s3/index.js +4 -4
  376. package/dist/node_modules/multer-s3/package.json +1 -1
  377. package/dist/server/migrations/20231120142523-fix-storage.js +1 -0
  378. package/package.json +2 -2
  379. package/dist/node_modules/multer-aliyun-oss/bridge.js +0 -1010
  380. package/dist/node_modules/multer-aliyun-oss/events.js +0 -977
  381. package/dist/node_modules/multer-aliyun-oss/setup-node-sandbox.js +0 -461
  382. package/dist/node_modules/multer-aliyun-oss/setup-sandbox.js +0 -545
@@ -1,25 +1,19 @@
1
- /// <reference types="node" />
2
1
  import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack, StreamingBlobPayloadInputTypes } from "@smithy/types";
5
4
  import { UploadPartOutput, UploadPartRequest } from "../models/models_1";
6
5
  import { S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3Client";
7
6
  /**
8
7
  * @public
9
8
  */
10
9
  export { __MetadataBearer, $Command };
11
- export type UploadPartCommandInputType = Omit<UploadPartRequest, "Body"> & {
12
- /**
13
- * For *`UploadPartRequest["Body"]`*, see {@link UploadPartRequest.Body}.
14
- */
15
- Body?: UploadPartRequest["Body"] | string | Uint8Array | Buffer;
16
- };
17
10
  /**
18
11
  * @public
19
12
  *
20
13
  * The input for {@link UploadPartCommand}.
21
14
  */
22
- export interface UploadPartCommandInput extends UploadPartCommandInputType {
15
+ export interface UploadPartCommandInput extends Omit<UploadPartRequest, "Body"> {
16
+ Body?: StreamingBlobPayloadInputTypes;
23
17
  }
24
18
  /**
25
19
  * @public
@@ -32,100 +26,139 @@ export interface UploadPartCommandOutput extends UploadPartOutput, __MetadataBea
32
26
  * @public
33
27
  * <p>Uploads a part in a multipart upload.</p>
34
28
  * <note>
35
- * <p>In this operation, you provide part data in your request. However, you have an option
29
+ * <p>In this operation, you provide new data as a part of an object in your request. However, you have an option
36
30
  * to specify your existing Amazon S3 object as a data source for the part you are uploading. To
37
31
  * upload a part from an existing object, you use the <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_UploadPartCopy.html">UploadPartCopy</a> operation.
38
32
  * </p>
39
33
  * </note>
40
34
  * <p>You must initiate a multipart upload (see <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_CreateMultipartUpload.html">CreateMultipartUpload</a>)
41
35
  * before you can upload any part. In response to your initiate request, Amazon S3 returns an
42
- * upload ID, a unique identifier, that you must include in your upload part request.</p>
36
+ * upload ID, a unique identifier that you must include in your upload part request.</p>
43
37
  * <p>Part numbers can be any number from 1 to 10,000, inclusive. A part number uniquely
44
38
  * identifies a part and also defines its position within the object being created. If you
45
39
  * upload a new part using the same part number that was used with a previous part, the
46
40
  * previously uploaded part is overwritten.</p>
47
41
  * <p>For information about maximum and minimum part sizes and other multipart upload
48
42
  * specifications, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/qfacts.html">Multipart upload limits</a> in the <i>Amazon S3 User Guide</i>.</p>
49
- * <p>To ensure that data is not corrupted when traversing the network, specify the
50
- * <code>Content-MD5</code> header in the upload part request. Amazon S3 checks the part data
51
- * against the provided MD5 value. If they do not match, Amazon S3 returns an error. </p>
52
- * <p>If the upload request is signed with Signature Version 4, then Amazon Web Services S3 uses the
53
- * <code>x-amz-content-sha256</code> header as a checksum instead of
54
- * <code>Content-MD5</code>. For more information see <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/sigv4-auth-using-authorization-header.html">Authenticating
55
- * Requests: Using the Authorization Header (Amazon Web Services Signature Version 4)</a>. </p>
56
- * <p>
57
- * <b>Note:</b> After you initiate multipart upload and upload
43
+ * <note>
44
+ * <p>After you initiate multipart upload and upload
58
45
  * one or more parts, you must either complete or abort multipart upload in order to stop
59
46
  * getting charged for storage of the uploaded parts. Only after you either complete or abort
60
47
  * multipart upload, Amazon S3 frees up the parts storage and stops charging you for the parts
61
48
  * storage.</p>
49
+ * </note>
62
50
  * <p>For more information on multipart uploads, go to <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/mpuoverview.html">Multipart Upload Overview</a> in the
63
- * <i>Amazon S3 User Guide </i>.</p>
64
- * <p>For information on the permissions required to use the multipart upload API, go to
65
- * <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/mpuAndPermissions.html">Multipart
66
- * Upload and Permissions</a> in the <i>Amazon S3 User Guide</i>.</p>
67
- * <p>Server-side encryption is for data encryption at rest. Amazon S3 encrypts your data as it
68
- * writes it to disks in its data centers and decrypts it when you access it. You have three
69
- * mutually exclusive options to protect data using server-side encryption in Amazon S3, depending
70
- * on how you choose to manage the encryption keys. Specifically, the encryption key options
71
- * are Amazon S3 managed keys (SSE-S3), Amazon Web Services KMS keys (SSE-KMS), and Customer-Provided Keys
72
- * (SSE-C). Amazon S3 encrypts data with server-side encryption using Amazon S3 managed keys (SSE-S3) by
73
- * default. You can optionally tell Amazon S3 to encrypt data at rest using server-side encryption
74
- * with other key options. The option you use depends on whether you want to use KMS keys
75
- * (SSE-KMS) or provide your own encryption key (SSE-C). If you choose to provide your own
76
- * encryption key, the request headers you provide in the request must match the headers you
77
- * used in the request to initiate the upload by using <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_CreateMultipartUpload.html">CreateMultipartUpload</a>.
78
- * For more information, go to <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/UsingServerSideEncryption.html">Using Server-Side
79
- * Encryption</a> in the <i>Amazon S3 User Guide</i>.</p>
80
- * <p>Server-side encryption is supported by the S3 Multipart Upload actions. Unless you are
81
- * using a customer-provided encryption key (SSE-C), you don't need to specify the encryption
82
- * parameters in each UploadPart request. Instead, you only need to specify the server-side
83
- * encryption parameters in the initial Initiate Multipart request. For more information, see
84
- * <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_CreateMultipartUpload.html">CreateMultipartUpload</a>.</p>
85
- * <p>If you requested server-side encryption using a customer-provided encryption key (SSE-C)
86
- * in your initiate multipart upload request, you must provide identical encryption
87
- * information in each part upload using the following headers.</p>
88
- * <ul>
89
- * <li>
90
- * <p>x-amz-server-side-encryption-customer-algorithm</p>
91
- * </li>
92
- * <li>
93
- * <p>x-amz-server-side-encryption-customer-key</p>
94
- * </li>
95
- * <li>
96
- * <p>x-amz-server-side-encryption-customer-key-MD5</p>
97
- * </li>
98
- * </ul>
99
- * <p>
100
- * <code>UploadPart</code> has the following special errors:</p>
101
- * <ul>
102
- * <li>
51
+ * <i>Amazon S3 User Guide </i>.</p>
52
+ * <note>
53
+ * <p>
54
+ * <b>Directory buckets</b> - For directory buckets, you must make requests for this API operation to the Zonal endpoint. These endpoints support virtual-hosted-style requests in the format <code>https://<i>bucket_name</i>.s3express-<i>az_id</i>.<i>region</i>.amazonaws.com/<i>key-name</i>
55
+ * </code>. Path-style requests are not supported. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-Regions-and-Zones.html">Regional and Zonal endpoints</a> in the
56
+ * <i>Amazon S3 User Guide</i>.</p>
57
+ * </note>
58
+ * <dl>
59
+ * <dt>Permissions</dt>
60
+ * <dd>
103
61
  * <ul>
104
62
  * <li>
105
63
  * <p>
106
- * <i>Code: NoSuchUpload</i>
107
- * </p>
64
+ * <b>General purpose bucket permissions</b> - For information on the permissions required to use the multipart upload API, see
65
+ * <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/mpuAndPermissions.html">Multipart
66
+ * Upload and Permissions</a> in the <i>Amazon S3 User Guide</i>.</p>
108
67
  * </li>
109
68
  * <li>
110
69
  * <p>
111
- * <i>Cause: The specified multipart upload does not exist. The upload
112
- * ID might be invalid, or the multipart upload might have been aborted or
113
- * completed.</i>
114
- * </p>
70
+ * <b>Directory bucket permissions</b> - To grant access to this API operation on a directory bucket, we recommend that you use the <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_CreateSession.html">
71
+ * <code>CreateSession</code>
72
+ * </a> API operation for session-based authorization. Specifically, you grant the <code>s3express:CreateSession</code> permission to the directory bucket in a bucket policy or an IAM identity-based policy. Then, you make the <code>CreateSession</code> API call on the bucket to obtain a session token. With the session token in your request header, you can make API requests to this operation. After the session token expires, you make another <code>CreateSession</code> API call to generate a new session token for use.
73
+ * Amazon Web Services CLI or SDKs create session and refresh the session token automatically to avoid service interruptions when a session expires. For more information about authorization, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_CreateSession.html">
74
+ * <code>CreateSession</code>
75
+ * </a>.</p>
115
76
  * </li>
77
+ * </ul>
78
+ * </dd>
79
+ * <dt>Data integrity</dt>
80
+ * <dd>
81
+ * <p>
82
+ * <b>General purpose bucket</b> - To ensure that data is not corrupted traversing the network, specify the
83
+ * <code>Content-MD5</code> header in the upload part request. Amazon S3 checks the part data against the provided MD5 value. If they do not match, Amazon S3 returns an error. If the upload request is signed with Signature Version 4, then Amazon Web Services S3 uses the
84
+ * <code>x-amz-content-sha256</code> header as a checksum instead of
85
+ * <code>Content-MD5</code>. For more information see <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/sigv4-auth-using-authorization-header.html">Authenticating
86
+ * Requests: Using the Authorization Header (Amazon Web Services Signature Version 4)</a>. </p>
87
+ * <note>
88
+ * <p>
89
+ * <b>Directory buckets</b> - MD5 is not supported by directory buckets. You can use checksum algorithms to check object integrity.</p>
90
+ * </note>
91
+ * </dd>
92
+ * <dt>Encryption</dt>
93
+ * <dd>
94
+ * <ul>
116
95
  * <li>
117
96
  * <p>
118
- * <i> HTTP Status Code: 404 Not Found </i>
119
- * </p>
97
+ * <b>General purpose bucket</b> - Server-side encryption is for data encryption at rest. Amazon S3 encrypts your data as it
98
+ * writes it to disks in its data centers and decrypts it when you access it. You have
99
+ * mutually exclusive options to protect data using server-side encryption in Amazon S3, depending
100
+ * on how you choose to manage the encryption keys. Specifically, the encryption key options
101
+ * are Amazon S3 managed keys (SSE-S3), Amazon Web Services KMS keys (SSE-KMS), and Customer-Provided Keys
102
+ * (SSE-C). Amazon S3 encrypts data with server-side encryption using Amazon S3 managed keys (SSE-S3) by
103
+ * default. You can optionally tell Amazon S3 to encrypt data at rest using server-side encryption
104
+ * with other key options. The option you use depends on whether you want to use KMS keys
105
+ * (SSE-KMS) or provide your own encryption key (SSE-C).</p>
106
+ * <p>Server-side encryption is supported by the S3 Multipart Upload operations. Unless you are
107
+ * using a customer-provided encryption key (SSE-C), you don't need to specify the encryption
108
+ * parameters in each UploadPart request. Instead, you only need to specify the server-side
109
+ * encryption parameters in the initial Initiate Multipart request. For more information, see
110
+ * <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_CreateMultipartUpload.html">CreateMultipartUpload</a>.</p>
111
+ * <p>If you request server-side encryption using a customer-provided encryption key (SSE-C)
112
+ * in your initiate multipart upload request, you must provide identical encryption
113
+ * information in each part upload using the following request headers.</p>
114
+ * <ul>
115
+ * <li>
116
+ * <p>x-amz-server-side-encryption-customer-algorithm</p>
117
+ * </li>
118
+ * <li>
119
+ * <p>x-amz-server-side-encryption-customer-key</p>
120
+ * </li>
121
+ * <li>
122
+ * <p>x-amz-server-side-encryption-customer-key-MD5</p>
123
+ * </li>
124
+ * </ul>
120
125
  * </li>
121
126
  * <li>
122
127
  * <p>
123
- * <i>SOAP Fault Code Prefix: Client</i>
128
+ * <b>Directory bucket</b> - For directory buckets, only server-side encryption with Amazon S3 managed keys (SSE-S3) (<code>AES256</code>) is supported. </p>
129
+ * </li>
130
+ * </ul>
131
+ * <p>
132
+ * For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/UsingServerSideEncryption.html">Using Server-Side
133
+ * Encryption</a> in the <i>Amazon S3 User Guide</i>.</p>
134
+ * </dd>
135
+ * <dt>Special errors</dt>
136
+ * <dd>
137
+ * <ul>
138
+ * <li>
139
+ * <p>Error Code: <code>NoSuchUpload</code>
124
140
  * </p>
141
+ * <ul>
142
+ * <li>
143
+ * <p>Description: The specified multipart upload does not exist. The upload ID might be invalid, or the multipart upload might have been aborted or completed.</p>
144
+ * </li>
145
+ * <li>
146
+ * <p>HTTP Status Code: 404 Not Found </p>
147
+ * </li>
148
+ * <li>
149
+ * <p>SOAP Fault Code Prefix: Client</p>
150
+ * </li>
151
+ * </ul>
125
152
  * </li>
126
153
  * </ul>
127
- * </li>
128
- * </ul>
154
+ * </dd>
155
+ * <dt>HTTP Host header syntax</dt>
156
+ * <dd>
157
+ * <p>
158
+ * <b>Directory buckets </b> - The HTTP Host header syntax is <code>
159
+ * <i>Bucket_name</i>.s3express-<i>az_id</i>.<i>region</i>.amazonaws.com</code>.</p>
160
+ * </dd>
161
+ * </dl>
129
162
  * <p>The following operations are related to <code>UploadPart</code>:</p>
130
163
  * <ul>
131
164
  * <li>
@@ -23,141 +23,150 @@ export interface UploadPartCopyCommandOutput extends UploadPartCopyOutput, __Met
23
23
  }
24
24
  /**
25
25
  * @public
26
- * <p>Uploads a part by copying data from an existing object as data source. You specify the
27
- * data source by adding the request header <code>x-amz-copy-source</code> in your request and
28
- * a byte range by adding the request header <code>x-amz-copy-source-range</code> in your
26
+ * <p>Uploads a part by copying data from an existing object as data source. To specify the
27
+ * data source, you add the request header <code>x-amz-copy-source</code> in your request. To specify
28
+ * a byte range, you add the request header <code>x-amz-copy-source-range</code> in your
29
29
  * request. </p>
30
30
  * <p>For information about maximum and minimum part sizes and other multipart upload
31
31
  * specifications, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/qfacts.html">Multipart upload limits</a> in the <i>Amazon S3 User Guide</i>. </p>
32
32
  * <note>
33
- * <p>Instead of using an existing object as part data, you might use the <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_UploadPart.html">UploadPart</a>
34
- * action and provide data in your request.</p>
33
+ * <p>Instead of copying data from an existing object as part data, you might use the <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_UploadPart.html">UploadPart</a>
34
+ * action to upload new data as a part of an object in your request.</p>
35
35
  * </note>
36
36
  * <p>You must initiate a multipart upload before you can upload any part. In response to your
37
- * initiate request. Amazon S3 returns a unique identifier, the upload ID, that you must include in
37
+ * initiate request, Amazon S3 returns the upload ID, a unique identifier that you must include in
38
38
  * your upload part request.</p>
39
- * <p>For more information about using the <code>UploadPartCopy</code> operation, see the
40
- * following:</p>
41
- * <ul>
42
- * <li>
43
- * <p>For conceptual information about multipart uploads, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/uploadobjusingmpu.html">Uploading
44
- * Objects Using Multipart Upload</a> in the
45
- * <i>Amazon S3 User Guide</i>.</p>
46
- * </li>
47
- * <li>
48
- * <p>For information about permissions required to use the multipart upload API, see
49
- * <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/mpuAndPermissions.html">Multipart Upload and Permissions</a> in the
50
- * <i>Amazon S3 User Guide</i>.</p>
51
- * </li>
52
- * <li>
53
- * <p>For information about copying objects using a single atomic action vs. a multipart
54
- * upload, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/ObjectOperations.html">Operations on Objects</a> in
55
- * the <i>Amazon S3 User Guide</i>.</p>
56
- * </li>
57
- * <li>
58
- * <p>For information about using server-side encryption with customer-provided
59
- * encryption keys with the <code>UploadPartCopy</code> operation, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_CopyObject.html">CopyObject</a> and <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_UploadPart.html">UploadPart</a>.</p>
60
- * </li>
61
- * </ul>
62
- * <p>Note the following additional considerations about the request headers
63
- * <code>x-amz-copy-source-if-match</code>, <code>x-amz-copy-source-if-none-match</code>,
64
- * <code>x-amz-copy-source-if-unmodified-since</code>, and
65
- * <code>x-amz-copy-source-if-modified-since</code>:</p>
66
- * <p> </p>
67
- * <ul>
68
- * <li>
69
- * <p>
70
- * <b>Consideration 1</b> - If both of the
71
- * <code>x-amz-copy-source-if-match</code> and
72
- * <code>x-amz-copy-source-if-unmodified-since</code> headers are present in the
73
- * request as follows:</p>
74
- * <p>
75
- * <code>x-amz-copy-source-if-match</code> condition evaluates to <code>true</code>,
76
- * and;</p>
77
- * <p>
78
- * <code>x-amz-copy-source-if-unmodified-since</code> condition evaluates to
79
- * <code>false</code>;</p>
80
- * <p>Amazon S3 returns <code>200 OK</code> and copies the data.
81
- * </p>
82
- * </li>
83
- * <li>
84
- * <p>
85
- * <b>Consideration 2</b> - If both of the
86
- * <code>x-amz-copy-source-if-none-match</code> and
87
- * <code>x-amz-copy-source-if-modified-since</code> headers are present in the
88
- * request as follows:</p>
89
- * <p>
90
- * <code>x-amz-copy-source-if-none-match</code> condition evaluates to
91
- * <code>false</code>, and;</p>
92
- * <p>
93
- * <code>x-amz-copy-source-if-modified-since</code> condition evaluates to
94
- * <code>true</code>;</p>
95
- * <p>Amazon S3 returns <code>412 Precondition Failed</code> response code.
96
- * </p>
97
- * </li>
98
- * </ul>
39
+ * <p>For conceptual information about multipart uploads, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/uploadobjusingmpu.html">Uploading
40
+ * Objects Using Multipart Upload</a> in the
41
+ * <i>Amazon S3 User Guide</i>. For information about copying objects using a single atomic action vs. a multipart
42
+ * upload, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/ObjectOperations.html">Operations on Objects</a> in
43
+ * the <i>Amazon S3 User Guide</i>.</p>
44
+ * <note>
45
+ * <p>
46
+ * <b>Directory buckets</b> - For directory buckets, you must make requests for this API operation to the Zonal endpoint. These endpoints support virtual-hosted-style requests in the format <code>https://<i>bucket_name</i>.s3express-<i>az_id</i>.<i>region</i>.amazonaws.com/<i>key-name</i>
47
+ * </code>. Path-style requests are not supported. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-Regions-and-Zones.html">Regional and Zonal endpoints</a> in the
48
+ * <i>Amazon S3 User Guide</i>.</p>
49
+ * </note>
99
50
  * <dl>
100
- * <dt>Versioning</dt>
51
+ * <dt>Authentication and authorization</dt>
101
52
  * <dd>
102
- * <p>If your bucket has versioning enabled, you could have multiple versions of the same
103
- * object. By default, <code>x-amz-copy-source</code> identifies the current version of the
104
- * object to copy. If the current version is a delete marker and you don't specify a versionId
105
- * in the <code>x-amz-copy-source</code>, Amazon S3 returns a 404 error, because the object does
106
- * not exist. If you specify versionId in the <code>x-amz-copy-source</code> and the versionId
107
- * is a delete marker, Amazon S3 returns an HTTP 400 error, because you are not allowed to specify
108
- * a delete marker as a version for the <code>x-amz-copy-source</code>. </p>
109
- * <p>You can optionally specify a specific version of the source object to copy by adding the
110
- * <code>versionId</code> subresource as shown in the following example:</p>
53
+ * <p>All <code>UploadPartCopy</code> requests must be authenticated and signed by using IAM credentials (access key ID and secret access key for the IAM identities). All headers with the <code>x-amz-</code> prefix, including
54
+ * <code>x-amz-copy-source</code>, must be signed. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/RESTAuthentication.html">REST Authentication</a>.</p>
111
55
  * <p>
112
- * <code>x-amz-copy-source: /bucket/object?versionId=version id</code>
113
- * </p>
56
+ * <b>Directory buckets</b> - You must use IAM credentials to authenticate and authorize your access to the <code>UploadPartCopy</code> API operation, instead of using the
57
+ * temporary security credentials through the <code>CreateSession</code> API operation.</p>
58
+ * <p>Amazon Web Services CLI or SDKs handles authentication and authorization on your behalf.</p>
114
59
  * </dd>
115
- * <dt>Special errors</dt>
60
+ * <dt>Permissions</dt>
116
61
  * <dd>
62
+ * <p>You must have <code>READ</code> access to the source object and <code>WRITE</code>
63
+ * access to the destination bucket.</p>
117
64
  * <ul>
118
65
  * <li>
66
+ * <p>
67
+ * <b>General purpose bucket permissions</b> - You must have the permissions in a policy based on the bucket types of your source bucket and destination bucket in an <code>UploadPartCopy</code> operation.</p>
119
68
  * <ul>
120
69
  * <li>
121
- * <p>
122
- * <i>Code: NoSuchUpload</i>
123
- * </p>
70
+ * <p>If the source object is in a general purpose bucket, you must have the <b>
71
+ * <code>s3:GetObject</code>
72
+ * </b> permission to read the source object that is being copied. </p>
124
73
  * </li>
125
74
  * <li>
126
- * <p>
127
- * <i>Cause: The specified multipart upload does not exist. The upload
128
- * ID might be invalid, or the multipart upload might have been aborted or
129
- * completed.</i>
75
+ * <p>If the destination bucket is a general purpose bucket, you must have the <b>
76
+ * <code>s3:PubObject</code>
77
+ * </b> permission to write the object copy to the destination bucket.
130
78
  * </p>
131
79
  * </li>
80
+ * </ul>
81
+ * <p>For information about permissions required to use the multipart upload API, see
82
+ * <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/mpuAndPermissions.html">Multipart Upload and Permissions</a> in the
83
+ * <i>Amazon S3 User Guide</i>.</p>
84
+ * </li>
85
+ * <li>
86
+ * <p>
87
+ * <b>Directory bucket permissions</b> -
88
+ * You must have permissions in a bucket policy or an IAM identity-based policy based on the source and destination
89
+ * bucket types in an <code>UploadPartCopy</code> operation.</p>
90
+ * <ul>
91
+ * <li>
92
+ * <p>If the source object that you want to copy is in a
93
+ * directory bucket, you must have the <b>
94
+ * <code>s3express:CreateSession</code>
95
+ * </b> permission in
96
+ * the <code>Action</code> element of a policy to read the object
97
+ * .
98
+ * By default, the session is in the <code>ReadWrite</code> mode. If you want to restrict the access, you can explicitly set the <code>s3express:SessionMode</code> condition key to <code>ReadOnly</code> on the copy source bucket.</p>
99
+ * </li>
132
100
  * <li>
133
- * <p>
134
- * <i>HTTP Status Code: 404 Not Found</i>
135
- * </p>
101
+ * <p>If the copy destination is a directory bucket, you must have the
102
+ * <b>
103
+ * <code>s3express:CreateSession</code>
104
+ * </b> permission in the
105
+ * <code>Action</code> element of a policy to write the object
106
+ * to the destination. The <code>s3express:SessionMode</code> condition
107
+ * key cannot be set to <code>ReadOnly</code> on the copy destination. </p>
136
108
  * </li>
137
109
  * </ul>
110
+ * <p>For example policies, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-security-iam-example-bucket-policies.html">Example bucket policies for S3 Express One Zone</a> and <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-security-iam-identity-policies.html">Amazon Web Services Identity and Access Management (IAM) identity-based policies for S3 Express One Zone</a> in the
111
+ * <i>Amazon S3 User Guide</i>.</p>
112
+ * </li>
113
+ * </ul>
114
+ * </dd>
115
+ * <dt>Encryption</dt>
116
+ * <dd>
117
+ * <ul>
118
+ * <li>
119
+ * <p>
120
+ * <b>General purpose buckets </b> -
121
+ *
122
+ * For information about using server-side encryption with customer-provided
123
+ * encryption keys with the <code>UploadPartCopy</code> operation, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_CopyObject.html">CopyObject</a> and <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_UploadPart.html">UploadPart</a>.
124
+ * </p>
138
125
  * </li>
139
126
  * <li>
127
+ * <p>
128
+ * <b>Directory buckets </b> - For directory buckets, only server-side encryption with Amazon S3 managed keys (SSE-S3) (<code>AES256</code>) is supported.</p>
129
+ * </li>
130
+ * </ul>
131
+ * </dd>
132
+ * <dt>Special errors</dt>
133
+ * <dd>
134
+ * <ul>
135
+ * <li>
136
+ * <p>Error Code: <code>NoSuchUpload</code>
137
+ * </p>
140
138
  * <ul>
141
139
  * <li>
142
- * <p>
143
- * <i>Code: InvalidRequest</i>
144
- * </p>
140
+ * <p>Description: The specified multipart upload does not exist. The
141
+ * upload ID might be invalid, or the multipart upload might have been
142
+ * aborted or completed.</p>
145
143
  * </li>
146
144
  * <li>
147
- * <p>
148
- * <i>Cause: The specified copy source is not supported as a byte-range
149
- * copy source.</i>
150
- * </p>
145
+ * <p>HTTP Status Code: 404 Not Found</p>
151
146
  * </li>
147
+ * </ul>
148
+ * </li>
149
+ * <li>
150
+ * <p>Error Code: <code>InvalidRequest</code>
151
+ * </p>
152
+ * <ul>
152
153
  * <li>
153
- * <p>
154
- * <i>HTTP Status Code: 400 Bad Request</i>
155
- * </p>
154
+ * <p>Description: The specified copy source is not supported as a
155
+ * byte-range copy source.</p>
156
+ * </li>
157
+ * <li>
158
+ * <p>HTTP Status Code: 400 Bad Request</p>
156
159
  * </li>
157
160
  * </ul>
158
161
  * </li>
159
162
  * </ul>
160
163
  * </dd>
164
+ * <dt>HTTP Host header syntax</dt>
165
+ * <dd>
166
+ * <p>
167
+ * <b>Directory buckets </b> - The HTTP Host header syntax is <code>
168
+ * <i>Bucket_name</i>.s3express-<i>az_id</i>.<i>region</i>.amazonaws.com</code>.</p>
169
+ * </dd>
161
170
  * </dl>
162
171
  * <p>The following operations are related to <code>UploadPartCopy</code>:</p>
163
172
  * <ul>
@@ -1,25 +1,19 @@
1
- /// <reference types="node" />
2
1
  import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack, StreamingBlobPayloadInputTypes } from "@smithy/types";
5
4
  import { WriteGetObjectResponseRequest } from "../models/models_1";
6
5
  import { S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3Client";
7
6
  /**
8
7
  * @public
9
8
  */
10
9
  export { __MetadataBearer, $Command };
11
- export type WriteGetObjectResponseCommandInputType = Omit<WriteGetObjectResponseRequest, "Body"> & {
12
- /**
13
- * For *`WriteGetObjectResponseRequest["Body"]`*, see {@link WriteGetObjectResponseRequest.Body}.
14
- */
15
- Body?: WriteGetObjectResponseRequest["Body"] | string | Uint8Array | Buffer;
16
- };
17
10
  /**
18
11
  * @public
19
12
  *
20
13
  * The input for {@link WriteGetObjectResponseCommand}.
21
14
  */
22
- export interface WriteGetObjectResponseCommandInput extends WriteGetObjectResponseCommandInputType {
15
+ export interface WriteGetObjectResponseCommandInput extends Omit<WriteGetObjectResponseRequest, "Body"> {
16
+ Body?: StreamingBlobPayloadInputTypes;
23
17
  }
24
18
  /**
25
19
  * @public
@@ -30,7 +24,10 @@ export interface WriteGetObjectResponseCommandOutput extends __MetadataBearer {
30
24
  }
31
25
  /**
32
26
  * @public
33
- * <p>Passes transformed objects to a <code>GetObject</code> operation when using Object Lambda access points. For
27
+ * <note>
28
+ * <p>This operation is not supported by directory buckets.</p>
29
+ * </note>
30
+ * <p>Passes transformed objects to a <code>GetObject</code> operation when using Object Lambda access points. For
34
31
  * information about Object Lambda access points, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/transforming-objects.html">Transforming objects with
35
32
  * Object Lambda access points</a> in the <i>Amazon S3 User Guide</i>.</p>
36
33
  * <p>This operation supports metadata that can be returned by <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetObject.html">GetObject</a>, in addition to
@@ -102,14 +99,14 @@ export interface WriteGetObjectResponseCommandOutput extends __MetadataBearer {
102
99
  * ObjectLockLegalHoldStatus: "ON" || "OFF",
103
100
  * ObjectLockRetainUntilDate: new Date("TIMESTAMP"),
104
101
  * PartsCount: Number("int"),
105
- * ReplicationStatus: "COMPLETE" || "PENDING" || "FAILED" || "REPLICA",
102
+ * ReplicationStatus: "COMPLETE" || "PENDING" || "FAILED" || "REPLICA" || "COMPLETED",
106
103
  * RequestCharged: "requester",
107
104
  * Restore: "STRING_VALUE",
108
105
  * ServerSideEncryption: "AES256" || "aws:kms" || "aws:kms:dsse",
109
106
  * SSECustomerAlgorithm: "STRING_VALUE",
110
107
  * SSEKMSKeyId: "STRING_VALUE",
111
108
  * SSECustomerKeyMD5: "STRING_VALUE",
112
- * StorageClass: "STANDARD" || "REDUCED_REDUNDANCY" || "STANDARD_IA" || "ONEZONE_IA" || "INTELLIGENT_TIERING" || "GLACIER" || "DEEP_ARCHIVE" || "OUTPOSTS" || "GLACIER_IR" || "SNOW",
109
+ * StorageClass: "STANDARD" || "REDUCED_REDUNDANCY" || "STANDARD_IA" || "ONEZONE_IA" || "INTELLIGENT_TIERING" || "GLACIER" || "DEEP_ARCHIVE" || "OUTPOSTS" || "GLACIER_IR" || "SNOW" || "EXPRESS_ONEZONE",
113
110
  * TagCount: Number("int"),
114
111
  * VersionId: "STRING_VALUE",
115
112
  * BucketKeyEnabled: true || false,
@@ -3,6 +3,7 @@ export * from "./CompleteMultipartUploadCommand";
3
3
  export * from "./CopyObjectCommand";
4
4
  export * from "./CreateBucketCommand";
5
5
  export * from "./CreateMultipartUploadCommand";
6
+ export * from "./CreateSessionCommand";
6
7
  export * from "./DeleteBucketAnalyticsConfigurationCommand";
7
8
  export * from "./DeleteBucketCommand";
8
9
  export * from "./DeleteBucketCorsCommand";
@@ -56,6 +57,7 @@ export * from "./ListBucketIntelligentTieringConfigurationsCommand";
56
57
  export * from "./ListBucketInventoryConfigurationsCommand";
57
58
  export * from "./ListBucketMetricsConfigurationsCommand";
58
59
  export * from "./ListBucketsCommand";
60
+ export * from "./ListDirectoryBucketsCommand";
59
61
  export * from "./ListMultipartUploadsCommand";
60
62
  export * from "./ListObjectVersionsCommand";
61
63
  export * from "./ListObjectsCommand";
@@ -1,4 +1,7 @@
1
1
  import { Endpoint, EndpointParameters as __EndpointParameters, EndpointV2, Provider } from "@smithy/types";
2
+ /**
3
+ * @public
4
+ */
2
5
  export interface ClientInputEndpointParameters {
3
6
  region?: string | Provider<string>;
4
7
  useFipsEndpoint?: boolean | Provider<boolean>;
@@ -9,6 +12,7 @@ export interface ClientInputEndpointParameters {
9
12
  useGlobalEndpoint?: boolean | Provider<boolean>;
10
13
  disableMultiregionAccessPoints?: boolean | Provider<boolean>;
11
14
  useArnRegion?: boolean | Provider<boolean>;
15
+ disableS3ExpressSessionAuth?: boolean | Provider<boolean>;
12
16
  }
13
17
  export type ClientResolvedEndpointParameters = ClientInputEndpointParameters & {
14
18
  defaultSigningName: string;
@@ -26,7 +30,11 @@ export interface EndpointParameters extends __EndpointParameters {
26
30
  Accelerate?: boolean;
27
31
  UseGlobalEndpoint?: boolean;
28
32
  UseObjectLambdaEndpoint?: boolean;
33
+ Key?: string;
34
+ Prefix?: string;
29
35
  DisableAccessPoints?: boolean;
30
36
  DisableMultiRegionAccessPoints?: boolean;
31
37
  UseArnRegion?: boolean;
38
+ UseS3ExpressControlEndpoint?: boolean;
39
+ DisableS3ExpressSessionAuth?: boolean;
32
40
  }
@@ -0,0 +1,8 @@
1
+ import { AwsRegionExtensionConfiguration } from "@aws-sdk/types";
2
+ import { HttpHandlerExtensionConfiguration } from "@smithy/protocol-http";
3
+ import { DefaultExtensionConfiguration } from "@smithy/types";
4
+ /**
5
+ * @internal
6
+ */
7
+ export interface S3ExtensionConfiguration extends HttpHandlerExtensionConfiguration, DefaultExtensionConfiguration, AwsRegionExtensionConfiguration {
8
+ }
@@ -5,8 +5,12 @@
5
5
  */
6
6
  export * from "./S3Client";
7
7
  export * from "./S3";
8
+ export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
9
+ export { RuntimeExtension } from "./runtimeExtensions";
10
+ export { S3ExtensionConfiguration } from "./extensionConfiguration";
8
11
  export * from "./commands";
9
12
  export * from "./pagination";
10
13
  export * from "./waiters";
11
14
  export * from "./models";
15
+ import "@aws-sdk/util-endpoints";
12
16
  export { S3ServiceException } from "./models/S3ServiceException";