@nocobase/plugin-file-manager 0.17.0-alpha.7 → 0.18.0-alpha.1

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
@@ -31,197 +31,141 @@ export interface CopyObjectCommandOutput extends CopyObjectOutput, __MetadataBea
31
31
  * (UploadPartCopy) API. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/CopyingObjctsUsingRESTMPUapi.html">Copy Object Using the
32
32
  * REST Multipart Upload API</a>.</p>
33
33
  * </note>
34
- * <p>All copy requests must be authenticated. Additionally, you must have
35
- * <i>read</i> access to the source object and <i>write</i>
36
- * access to the destination bucket. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/RESTAuthentication.html">REST Authentication</a>. Both the
37
- * Region that you want to copy the object from and the Region that you want to copy the
38
- * object to must be enabled for your account.</p>
39
- * <p>A copy request might return an error when Amazon S3 receives the copy request or while Amazon S3
40
- * is copying the files. If the error occurs before the copy action starts, you receive a
41
- * standard Amazon S3 error. If the error occurs during the copy operation, the error response is
42
- * embedded in the <code>200 OK</code> response. This means that a <code>200 OK</code>
43
- * response can contain either a success or an error. If you call the S3 API directly, make
44
- * sure to design your application to parse the contents of the response and handle it
45
- * appropriately. If you use Amazon Web Services SDKs, SDKs handle this condition. The SDKs detect the
46
- * embedded error and apply error handling per your configuration settings (including
47
- * automatically retrying the request as appropriate). If the condition persists, the SDKs
48
- * throws an exception (or, for the SDKs that don't use exceptions, they return the
49
- * error).</p>
50
- * <p>If the copy is successful, you receive a response with information about the copied
51
- * object.</p>
34
+ * <p>You can copy individual objects between general purpose buckets, between directory buckets, and
35
+ * between general purpose buckets and directory buckets.</p>
52
36
  * <note>
53
- * <p>If the request is an HTTP 1.1 request, the response is chunk encoded. If it were not,
54
- * it would not contain the content-length, and you would need to read the entire
55
- * body.</p>
37
+ * <p>
38
+ * <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>
39
+ * </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
40
+ * <i>Amazon S3 User Guide</i>.</p>
56
41
  * </note>
57
- * <p>The copy request charge is based on the storage class and Region that you specify for
58
- * the destination object. For pricing information, see <a href="http://aws.amazon.com/s3/pricing/">Amazon S3 pricing</a>.</p>
42
+ * <p>Both the
43
+ * Region that you want to copy the object from and the Region that you want to copy the
44
+ * object to must be enabled for your account.</p>
59
45
  * <important>
60
46
  * <p>Amazon S3 transfer acceleration does not support cross-Region copies. If you request a
61
- * cross-Region copy using a transfer acceleration endpoint, you get a 400 <code>Bad
47
+ * cross-Region copy using a transfer acceleration endpoint, you get a <code>400 Bad
62
48
  * Request</code> error. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/transfer-acceleration.html">Transfer
63
- * Acceleration</a>.</p>
49
+ * Acceleration</a>.</p>
64
50
  * </important>
65
51
  * <dl>
66
- * <dt>Metadata</dt>
52
+ * <dt>Authentication and authorization</dt>
67
53
  * <dd>
68
- * <p>When copying an object, you can preserve all metadata (the default) or specify new metadata.
69
- * However, the access control list (ACL) is not preserved and is set to private for the user making the request. To
70
- * override the default ACL setting, specify a new ACL when generating a copy request. For
71
- * more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/S3_ACLs_UsingACLs.html">Using ACLs</a>. </p>
72
- * <p>To specify whether you want the object metadata copied from the source object or
73
- * replaced with metadata provided in the request, you can optionally add the
74
- * <code>x-amz-metadata-directive</code> header. When you grant permissions, you can use
75
- * the <code>s3:x-amz-metadata-directive</code> condition key to enforce certain metadata
76
- * behavior when objects are uploaded. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/amazon-s3-policy-keys.html">Specifying Conditions in a
77
- * Policy</a> in the <i>Amazon S3 User Guide</i>. For a complete list of
78
- * Amazon S3-specific condition keys, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/list_amazons3.html">Actions, Resources, and Condition Keys for
79
- * Amazon S3</a>.</p>
80
- * <note>
81
- * <p>
82
- * <code>x-amz-website-redirect-location</code> is unique to each object and must be
83
- * specified in the request headers to copy the value.</p>
84
- * </note>
54
+ * <p>All <code>CopyObject</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
55
+ * <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>
56
+ * <p>
57
+ * <b>Directory buckets</b> - You must use the IAM credentials to authenticate and authorize your access to the <code>CopyObject</code> API operation, instead of using the
58
+ * temporary security credentials through the <code>CreateSession</code> API operation.</p>
59
+ * <p>Amazon Web Services CLI or SDKs handles authentication and authorization on your behalf.</p>
85
60
  * </dd>
86
- * <dt>x-amz-copy-source-if Headers</dt>
61
+ * <dt>Permissions</dt>
87
62
  * <dd>
88
- * <p>To only copy an object under certain conditions, such as whether the <code>Etag</code>
89
- * matches or whether the object was modified before or after a specified date, use the
90
- * following request parameters:</p>
91
- * <ul>
92
- * <li>
93
- * <p>
94
- * <code>x-amz-copy-source-if-match</code>
95
- * </p>
96
- * </li>
97
- * <li>
98
- * <p>
99
- * <code>x-amz-copy-source-if-none-match</code>
100
- * </p>
101
- * </li>
102
- * <li>
103
- * <p>
104
- * <code>x-amz-copy-source-if-unmodified-since</code>
105
- * </p>
106
- * </li>
107
- * <li>
108
- * <p>
109
- * <code>x-amz-copy-source-if-modified-since</code>
110
- * </p>
111
- * </li>
112
- * </ul>
113
- * <p> If both the <code>x-amz-copy-source-if-match</code> and
114
- * <code>x-amz-copy-source-if-unmodified-since</code> headers are present in the request
115
- * and evaluate as follows, Amazon S3 returns <code>200 OK</code> and copies the data:</p>
63
+ * <p>You must have
64
+ * <i>read</i> access to the source object and <i>write</i>
65
+ * access to the destination bucket.</p>
116
66
  * <ul>
117
67
  * <li>
118
68
  * <p>
119
- * <code>x-amz-copy-source-if-match</code> condition evaluates to true</p>
69
+ * <b>General purpose bucket permissions</b> -
70
+ * You must have permissions in an IAM policy based on the source and destination
71
+ * bucket types in a <code>CopyObject</code> operation.</p>
72
+ * <ul>
73
+ * <li>
74
+ * <p>If the source object is in a general purpose bucket, you must have
75
+ * <b>
76
+ * <code>s3:GetObject</code>
77
+ * </b>
78
+ * permission to read the source object that is being copied. </p>
79
+ * </li>
80
+ * <li>
81
+ * <p>If the destination bucket is a general purpose bucket, you must have
82
+ * <b>
83
+ * <code>s3:PubObject</code>
84
+ * </b>
85
+ * permission to write the object copy to the destination bucket. </p>
86
+ * </li>
87
+ * </ul>
120
88
  * </li>
121
89
  * <li>
122
90
  * <p>
123
- * <code>x-amz-copy-source-if-unmodified-since</code> condition evaluates to
124
- * false</p>
91
+ * <b>Directory bucket permissions</b> -
92
+ * You must have permissions in a bucket policy or an IAM identity-based policy based on the source and destination
93
+ * bucket types in a <code>CopyObject</code> operation.</p>
94
+ * <ul>
95
+ * <li>
96
+ * <p>If the source object that you want to copy is in a
97
+ * directory bucket, you must have the <b>
98
+ * <code>s3express:CreateSession</code>
99
+ * </b> permission in
100
+ * the <code>Action</code> element of a policy to read the object. 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>
101
+ * </li>
102
+ * <li>
103
+ * <p>If the copy destination is a directory bucket, you must have the <b>
104
+ * <code>s3express:CreateSession</code>
105
+ * </b> permission in the
106
+ * <code>Action</code> element of a policy to write the object
107
+ * to the destination. The <code>s3express:SessionMode</code> condition
108
+ * key can't be set to <code>ReadOnly</code> on the copy destination bucket. </p>
109
+ * </li>
110
+ * </ul>
111
+ * <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
112
+ * <i>Amazon S3 User Guide</i>.</p>
125
113
  * </li>
126
114
  * </ul>
127
- * <p>If both the <code>x-amz-copy-source-if-none-match</code> and
128
- * <code>x-amz-copy-source-if-modified-since</code> headers are present in the request and
129
- * evaluate as follows, Amazon S3 returns the <code>412 Precondition Failed</code> response
130
- * code:</p>
115
+ * </dd>
116
+ * <dt>Response and special errors</dt>
117
+ * <dd>
118
+ * <p>When the request is an HTTP 1.1 request, the response is chunk encoded.
119
+ * When the request is not an HTTP 1.1 request, the response would not contain the <code>Content-Length</code>.
120
+ * You always need to read the entire response body to check if the copy succeeds.
121
+ * to keep the connection alive while we copy the data. </p>
131
122
  * <ul>
132
123
  * <li>
133
- * <p>
134
- * <code>x-amz-copy-source-if-none-match</code> condition evaluates to false</p>
124
+ * <p>If the copy is successful, you receive a response with information about the copied
125
+ * object.</p>
135
126
  * </li>
136
127
  * <li>
137
- * <p>
138
- * <code>x-amz-copy-source-if-modified-since</code> condition evaluates to
139
- * true</p>
128
+ * <p>A copy request might return an error when Amazon S3 receives the copy request or while Amazon S3
129
+ * is copying the files. A <code>200 OK</code> response can contain either a success or an error.</p>
130
+ * <ul>
131
+ * <li>
132
+ * <p>If the error occurs before the copy action starts, you receive a
133
+ * standard Amazon S3 error.</p>
134
+ * </li>
135
+ * <li>
136
+ * <p>If the error occurs during the copy operation, the error response is
137
+ * embedded in the <code>200 OK</code> response. For example, in a cross-region copy, you
138
+ * may encounter throttling and receive a <code>200 OK</code> response.
139
+ * For more information, see <a href="repost.aws/knowledge-center/s3-resolve-200-internalerror">Resolve
140
+ * the Error 200 response when copying objects to Amazon S3</a>.
141
+ * The <code>200 OK</code> status code means the copy was accepted, but
142
+ * it doesn't mean the copy is complete. Another example is
143
+ * when you disconnect from Amazon S3 before the copy is complete, Amazon S3 might cancel the copy and you may receive a <code>200 OK</code> response.
144
+ * You must stay connected to Amazon S3 until the entire response is successfully received and processed.</p>
145
+ * <p>If you call this API operation directly, make
146
+ * sure to design your application to parse the content of the response and handle it
147
+ * appropriately. If you use Amazon Web Services SDKs, SDKs handle this condition. The SDKs detect the
148
+ * embedded error and apply error handling per your configuration settings (including
149
+ * automatically retrying the request as appropriate). If the condition persists, the SDKs
150
+ * throw an exception (or, for the SDKs that don't use exceptions, they return an
151
+ * error).</p>
152
+ * </li>
153
+ * </ul>
140
154
  * </li>
141
155
  * </ul>
142
- * <note>
143
- * <p>All headers with the <code>x-amz-</code> prefix, including
144
- * <code>x-amz-copy-source</code>, must be signed.</p>
145
- * </note>
146
156
  * </dd>
147
- * <dt>Server-side encryption</dt>
157
+ * <dt>Charge</dt>
148
158
  * <dd>
149
- * <p>Amazon S3 automatically encrypts all new objects that are copied to an S3 bucket. When
150
- * copying an object, if you don't specify encryption information in your copy
151
- * request, the encryption setting of the target object is set to the default
152
- * encryption configuration of the destination bucket. By default, all buckets have a
153
- * base level of encryption configuration that uses server-side encryption with Amazon S3
154
- * managed keys (SSE-S3). If the destination bucket has a default encryption
155
- * configuration that uses server-side encryption with Key Management Service (KMS) keys
156
- * (SSE-KMS), dual-layer server-side encryption with Amazon Web Services KMS keys (DSSE-KMS), or
157
- * server-side encryption with customer-provided encryption keys (SSE-C), Amazon S3 uses
158
- * the corresponding KMS key, or a customer-provided key to encrypt the target
159
- * object copy.</p>
160
- * <p>When you perform a <code>CopyObject</code> operation, if you want to use a different type
161
- * of encryption setting for the target object, you can use other appropriate
162
- * encryption-related headers to encrypt the target object with a KMS key, an Amazon S3 managed
163
- * key, or a customer-provided key. With server-side encryption, Amazon S3 encrypts your data as it
164
- * writes your data to disks in its data centers and decrypts the data when you access it. If the
165
- * encryption setting in your request is different from the default encryption configuration
166
- * of the destination bucket, the encryption setting in your request takes precedence. If the
167
- * source object for the copy is stored in Amazon S3 using SSE-C, you must provide the necessary
168
- * encryption information in your request so that Amazon S3 can decrypt the object for copying. For
169
- * more information about server-side encryption, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/serv-side-encryption.html">Using Server-Side
170
- * Encryption</a>.</p>
171
- * <p>If a target object uses SSE-KMS, you can enable an S3 Bucket Key for the
172
- * object. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/bucket-key.html">Amazon S3 Bucket Keys</a> in the
173
- * <i>Amazon S3 User Guide</i>.</p>
159
+ * <p>The copy request charge is based on the storage class and Region that you specify for
160
+ * the destination object. The request can also result in a data retrieval charge for the
161
+ * source if the source storage class bills for data retrieval. For pricing information, see
162
+ * <a href="http://aws.amazon.com/s3/pricing/">Amazon S3 pricing</a>.</p>
174
163
  * </dd>
175
- * <dt>Access Control List (ACL)-Specific Request
176
- * Headers</dt>
164
+ * <dt>HTTP Host header syntax</dt>
177
165
  * <dd>
178
- * <p>When copying an object, you can optionally use headers to grant ACL-based permissions.
179
- * By default, all objects are private. Only the owner has full access control. When adding a
180
- * new object, you can grant permissions to individual Amazon Web Services accounts or to predefined groups
181
- * that are defined by Amazon S3. These permissions are then added to the ACL on the object. For more
182
- * information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/acl-overview.html">Access Control List (ACL) Overview</a> and <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/acl-using-rest-api.html">Managing ACLs Using the REST
183
- * API</a>. </p>
184
- * <p>If the bucket that you're copying objects to uses the bucket owner enforced setting for
185
- * S3 Object Ownership, ACLs are disabled and no longer affect permissions. Buckets that use
186
- * this setting only accept <code>PUT</code> requests that don't specify an ACL or <code>PUT</code> requests that
187
- * specify bucket owner full control ACLs, such as the <code>bucket-owner-full-control</code>
188
- * canned ACL or an equivalent form of this ACL expressed in the XML format.</p>
189
- * <p>For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/about-object-ownership.html"> Controlling ownership of
190
- * objects and disabling ACLs</a> in the <i>Amazon S3 User Guide</i>.</p>
191
- * <note>
192
- * <p>If your bucket uses the bucket owner enforced setting for Object Ownership, all
193
- * objects written to the bucket by any account will be owned by the bucket owner.</p>
194
- * </note>
195
- * </dd>
196
- * <dt>Checksums</dt>
197
- * <dd>
198
- * <p>When copying an object, if it has a checksum, that checksum will be copied to the new
199
- * object by default. When you copy the object over, you can optionally specify a different
200
- * checksum algorithm to use with the <code>x-amz-checksum-algorithm</code> header.</p>
201
- * </dd>
202
- * <dt>Storage Class Options</dt>
203
- * <dd>
204
- * <p>You can use the <code>CopyObject</code> action to change the storage class of an object
205
- * that is already stored in Amazon S3 by using the <code>StorageClass</code> parameter. For more
206
- * information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/storage-class-intro.html">Storage Classes</a> in the
207
- * <i>Amazon S3 User Guide</i>.</p>
208
- * <p>If the source object's storage class is GLACIER, you must restore a copy of
209
- * this object before you can use it as a source object for the copy operation. For
210
- * more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_RestoreObject.html">RestoreObject</a>. For
211
- * more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/CopyingObjectsExamples.html">Copying
212
- * Objects</a>.</p>
213
- * </dd>
214
- * <dt>Versioning</dt>
215
- * <dd>
216
- * <p>By default, <code>x-amz-copy-source</code> header identifies the current version of an object
217
- * to copy. If the current version is a delete marker, Amazon S3 behaves as if the object was
218
- * deleted. To copy a different version, use the <code>versionId</code> subresource.</p>
219
- * <p>If you enable versioning on the target bucket, Amazon S3 generates a unique version ID for
220
- * the object being copied. This version ID is different from the version ID of the source
221
- * object. Amazon S3 returns the version ID of the copied object in the
222
- * <code>x-amz-version-id</code> response header in the response.</p>
223
- * <p>If you do not enable versioning or suspend it on the target bucket, the version ID that
224
- * Amazon S3 generates is always null.</p>
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>
225
169
  * </dd>
226
170
  * </dl>
227
171
  * <p>The following operations are related to <code>CopyObject</code>:</p>
@@ -269,7 +213,7 @@ export interface CopyObjectCommandOutput extends CopyObjectOutput, __MetadataBea
269
213
  * MetadataDirective: "COPY" || "REPLACE",
270
214
  * TaggingDirective: "COPY" || "REPLACE",
271
215
  * ServerSideEncryption: "AES256" || "aws:kms" || "aws:kms:dsse",
272
- * StorageClass: "STANDARD" || "REDUCED_REDUNDANCY" || "STANDARD_IA" || "ONEZONE_IA" || "INTELLIGENT_TIERING" || "GLACIER" || "DEEP_ARCHIVE" || "OUTPOSTS" || "GLACIER_IR" || "SNOW",
216
+ * StorageClass: "STANDARD" || "REDUCED_REDUNDANCY" || "STANDARD_IA" || "ONEZONE_IA" || "INTELLIGENT_TIERING" || "GLACIER" || "DEEP_ARCHIVE" || "OUTPOSTS" || "GLACIER_IR" || "SNOW" || "EXPRESS_ONEZONE",
273
217
  * WebsiteRedirectLocation: "STRING_VALUE",
274
218
  * SSECustomerAlgorithm: "STRING_VALUE",
275
219
  * SSECustomerKey: "STRING_VALUE",
@@ -23,78 +23,117 @@ export interface CreateBucketCommandOutput extends CreateBucketOutput, __Metadat
23
23
  }
24
24
  /**
25
25
  * @public
26
- * <p>Creates a new S3 bucket. To create a bucket, you must register with Amazon S3 and have a
26
+ * <note>
27
+ * <p>This action creates an Amazon S3 bucket. To create an Amazon S3 on Outposts bucket, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_CreateBucket.html">
28
+ * <code>CreateBucket</code>
29
+ * </a>.</p>
30
+ * </note>
31
+ * <p>Creates a new S3 bucket. To create a bucket, you must set up Amazon S3 and have a
27
32
  * valid Amazon Web Services Access Key ID to authenticate requests. Anonymous requests are never allowed to
28
33
  * create buckets. By creating the bucket, you become the bucket owner.</p>
29
- * <p>Not every string is an acceptable bucket name. For information about bucket naming
30
- * restrictions, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/bucketnamingrules.html">Bucket naming
31
- * rules</a>.</p>
32
- * <p>If you want to create an Amazon S3 on Outposts bucket, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_CreateBucket.html">Create Bucket</a>. </p>
33
- * <p>By default, the bucket is created in the US East (N. Virginia) Region. You can
34
- * optionally specify a Region in the request body. You might choose a Region to optimize
35
- * latency, minimize costs, or address regulatory requirements. For example, if you reside in
36
- * Europe, you will probably find it advantageous to create buckets in the Europe (Ireland)
37
- * Region. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/UsingBucket.html#access-bucket-intro">Accessing a
38
- * bucket</a>.</p>
34
+ * <p>There are two types of buckets: general purpose buckets and directory buckets. For more
35
+ * information about these bucket types, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/creating-buckets-s3.html">Creating, configuring, and
36
+ * working with Amazon S3 buckets</a> in the <i>Amazon S3 User Guide</i>.</p>
39
37
  * <note>
40
- * <p>If you send your create bucket request to the <code>s3.amazonaws.com</code> endpoint,
41
- * the request goes to the <code>us-east-1</code> Region. Accordingly, the signature calculations in
42
- * Signature Version 4 must use <code>us-east-1</code> as the Region, even if the location constraint in
43
- * the request specifies another Region where the bucket is to be created. If you create a
44
- * bucket in a Region other than US East (N. Virginia), your application must be able to
45
- * handle 307 redirect. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/VirtualHosting.html">Virtual hosting of
46
- * buckets</a>.</p>
38
+ * <ul>
39
+ * <li>
40
+ * <p>
41
+ * <b>General purpose buckets</b> - If you send your <code>CreateBucket</code> request to the <code>s3.amazonaws.com</code> global endpoint,
42
+ * the request goes to the <code>us-east-1</code> Region. So the signature
43
+ * calculations in Signature Version 4 must use <code>us-east-1</code> as the Region, even
44
+ * if the location constraint in the request specifies another Region where the bucket is
45
+ * to be created. If you create a bucket in a Region other than US East (N. Virginia), your
46
+ * application must be able to handle 307 redirect. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/VirtualHosting.html">Virtual hosting of
47
+ * buckets</a> in the <i>Amazon S3 User Guide</i>.</p>
48
+ * </li>
49
+ * <li>
50
+ * <p>
51
+ * <b>Directory buckets </b> - For directory buckets, you must make requests for this API operation to the Regional endpoint. These endpoints support path-style requests in the format <code>https://s3express-control.<i>region_code</i>.amazonaws.com/<i>bucket-name</i>
52
+ * </code>. Virtual-hosted-style requests aren't supported.
53
+ * 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
54
+ * <i>Amazon S3 User Guide</i>.</p>
55
+ * </li>
56
+ * </ul>
47
57
  * </note>
48
58
  * <dl>
49
59
  * <dt>Permissions</dt>
50
60
  * <dd>
51
- * <p>In addition to <code>s3:CreateBucket</code>, the following permissions are required when
52
- * your <code>CreateBucket</code> request includes specific headers:</p>
53
61
  * <ul>
54
62
  * <li>
55
63
  * <p>
56
- * <b>Access control lists (ACLs)</b> - If your <code>CreateBucket</code> request
57
- * specifies access control list (ACL) permissions and the ACL is public-read, public-read-write,
58
- * authenticated-read, or if you specify access permissions explicitly through any other
59
- * ACL, both <code>s3:CreateBucket</code> and <code>s3:PutBucketAcl</code> permissions
60
- * are needed. If the ACL for the <code>CreateBucket</code> request is private or if the request doesn't
61
- * specify any ACLs, only <code>s3:CreateBucket</code> permission is needed. </p>
64
+ * <b>General purpose bucket permissions</b> - In addition to the <code>s3:CreateBucket</code> permission, the following permissions are
65
+ * required in a policy when your <code>CreateBucket</code> request includes specific
66
+ * headers: </p>
67
+ * <ul>
68
+ * <li>
69
+ * <p>
70
+ * <b>Access control lists (ACLs)</b> - In your <code>CreateBucket</code> request, if you specify an access control list (ACL)
71
+ * and set it to <code>public-read</code>, <code>public-read-write</code>,
72
+ * <code>authenticated-read</code>, or if you explicitly specify any other custom ACLs, both <code>s3:CreateBucket</code> and
73
+ * <code>s3:PutBucketAcl</code> permissions are required. In your <code>CreateBucket</code> request, if you set the ACL to <code>private</code>,
74
+ * or if you don't specify any ACLs, only the <code>s3:CreateBucket</code> permission is required.
75
+ * </p>
76
+ * </li>
77
+ * <li>
78
+ * <p>
79
+ * <b>Object Lock</b> - In your
80
+ * <code>CreateBucket</code> request, if you set
81
+ * <code>x-amz-bucket-object-lock-enabled</code> to true, the
82
+ * <code>s3:PutBucketObjectLockConfiguration</code> and
83
+ * <code>s3:PutBucketVersioning</code> permissions are required.</p>
84
+ * </li>
85
+ * <li>
86
+ * <p>
87
+ * <b>S3 Object Ownership</b> - If your
88
+ * <code>CreateBucket</code> request includes the
89
+ * <code>x-amz-object-ownership</code> header, then the
90
+ * <code>s3:PutBucketOwnershipControls</code> permission is required.</p>
91
+ * <important>
92
+ * <p>If your <code>CreateBucket</code> request sets <code>BucketOwnerEnforced</code> for
93
+ * Amazon S3 Object Ownership and specifies a bucket ACL that provides access to an external
94
+ * Amazon Web Services account, your request fails with a <code>400</code> error and returns the
95
+ * <code>InvalidBucketAcLWithObjectOwnership</code> error code. For more information,
96
+ * see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/object-ownership-existing-bucket.html">Setting Object
97
+ * Ownership on an existing bucket </a> in the <i>Amazon S3 User Guide</i>.
98
+ * </p>
99
+ * </important>
100
+ * </li>
101
+ * <li>
102
+ * <p>
103
+ * <b>S3 Block Public Access</b> - If your
104
+ * specific use case requires granting public access to your S3 resources, you
105
+ * can disable Block Public Access. Specifically, you can create a new bucket with Block
106
+ * Public Access enabled, then separately call the <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_DeletePublicAccessBlock.html">
107
+ * <code>DeletePublicAccessBlock</code>
108
+ * </a> API. To use this operation, you must have the
109
+ * <code>s3:PutBucketPublicAccessBlock</code> permission. For more information about S3 Block Public
110
+ * Access, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/access-control-block-public-access.html">Blocking
111
+ * public access to your Amazon S3 storage </a> in the
112
+ * <i>Amazon S3 User Guide</i>. </p>
113
+ * </li>
114
+ * </ul>
62
115
  * </li>
63
116
  * <li>
64
117
  * <p>
65
- * <b>Object Lock</b> - If <code>ObjectLockEnabledForBucket</code> is set to true in your
66
- * <code>CreateBucket</code> request,
67
- * <code>s3:PutBucketObjectLockConfiguration</code> and
68
- * <code>s3:PutBucketVersioning</code> permissions are required.</p>
69
- * </li>
70
- * <li>
71
- * <p>
72
- * <b>S3 Object Ownership</b> - If your <code>CreateBucket</code> request includes the <code>x-amz-object-ownership</code> header, then the
73
- * <code>s3:PutBucketOwnershipControls</code> permission is required. By default, <code>ObjectOwnership</code> is set to <code>BucketOWnerEnforced</code> and ACLs are disabled. We recommend keeping
74
- * ACLs disabled, except in uncommon use cases where you must control access for each object individually. If you want to change the <code>ObjectOwnership</code> setting, you can use the
75
- * <code>x-amz-object-ownership</code> header in your <code>CreateBucket</code> request to set the <code>ObjectOwnership</code> setting of your choice.
76
- * For more information about S3 Object Ownership, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/about-object-ownership.html">Controlling object
77
- * ownership </a> in the <i>Amazon S3 User Guide</i>.</p>
78
- * </li>
79
- * <li>
80
- * <p>
81
- * <b>S3 Block Public Access</b> - If your specific use case requires granting public access to your S3 resources, you can disable Block Public Access. You can create a new bucket with Block Public Access enabled, then separately call the <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_DeletePublicAccessBlock.html">
82
- * <code>DeletePublicAccessBlock</code>
83
- * </a> API. To use this operation, you must have the
84
- * <code>s3:PutBucketPublicAccessBlock</code> permission. By default, all Block
85
- * Public Access settings are enabled for new buckets. To avoid inadvertent exposure of
86
- * your resources, we recommend keeping the S3 Block Public Access settings enabled. For more information about S3 Block Public Access, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/about-object-ownership.html">Blocking public
87
- * access to your Amazon S3 storage </a> in the <i>Amazon S3 User Guide</i>. </p>
118
+ * <b>Directory bucket permissions</b> - You must have the <code>s3express:CreateBucket</code> permission in an IAM identity-based policy instead of a bucket policy. Cross-account access to this API operation isn't supported. This operation can only be performed by the Amazon Web Services account that owns the resource. For more information about directory bucket policies and permissions, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-security-iam.html">Amazon Web Services Identity and Access Management (IAM) for S3 Express One Zone</a> in the <i>Amazon S3 User Guide</i>.</p>
119
+ * <important>
120
+ * <p>The permissions for ACLs, Object Lock, S3 Object Ownership, and S3 Block Public Access are not supported for directory buckets.
121
+ * For directory buckets, all Block Public Access settings are enabled at the bucket level and S3
122
+ * Object Ownership is set to Bucket owner enforced (ACLs disabled). These settings can't be modified.
123
+ * </p>
124
+ * <p>For more information about permissions for creating and working with
125
+ * directory buckets, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/directory-buckets-overview.html">Directory buckets</a> in the <i>Amazon S3 User Guide</i>.
126
+ * For more information about supported S3 features for directory buckets, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-one-zone.html#s3-express-features">Features of S3 Express One Zone</a> in the <i>Amazon S3 User Guide</i>.</p>
127
+ * </important>
88
128
  * </li>
89
129
  * </ul>
90
130
  * </dd>
131
+ * <dt>HTTP Host header syntax</dt>
132
+ * <dd>
133
+ * <p>
134
+ * <b>Directory buckets </b> - The HTTP Host header syntax is <code>s3express-control.<i>region</i>.amazonaws.com</code>.</p>
135
+ * </dd>
91
136
  * </dl>
92
- * <important>
93
- * <p> If your <code>CreateBucket</code> request sets <code>BucketOwnerEnforced</code> for Amazon S3 Object Ownership
94
- * and specifies a bucket ACL that provides access to an external Amazon Web Services account, your request fails with a <code>400</code> error and returns the <code>InvalidBucketAcLWithObjectOwnership</code> error code. For more information,
95
- * see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/object-ownership-existing-bucket.html">Setting Object
96
- * Ownership on an existing bucket </a> in the <i>Amazon S3 User Guide</i>. </p>
97
- * </important>
98
137
  * <p>The following operations are related to <code>CreateBucket</code>:</p>
99
138
  * <ul>
100
139
  * <li>
@@ -118,7 +157,15 @@ export interface CreateBucketCommandOutput extends CreateBucketOutput, __Metadat
118
157
  * ACL: "private" || "public-read" || "public-read-write" || "authenticated-read",
119
158
  * Bucket: "STRING_VALUE", // required
120
159
  * CreateBucketConfiguration: { // CreateBucketConfiguration
121
- * LocationConstraint: "af-south-1" || "ap-east-1" || "ap-northeast-1" || "ap-northeast-2" || "ap-northeast-3" || "ap-south-1" || "ap-southeast-1" || "ap-southeast-2" || "ap-southeast-3" || "ca-central-1" || "cn-north-1" || "cn-northwest-1" || "EU" || "eu-central-1" || "eu-north-1" || "eu-south-1" || "eu-west-1" || "eu-west-2" || "eu-west-3" || "me-south-1" || "sa-east-1" || "us-east-2" || "us-gov-east-1" || "us-gov-west-1" || "us-west-1" || "us-west-2",
160
+ * LocationConstraint: "af-south-1" || "ap-east-1" || "ap-northeast-1" || "ap-northeast-2" || "ap-northeast-3" || "ap-south-1" || "ap-south-2" || "ap-southeast-1" || "ap-southeast-2" || "ap-southeast-3" || "ca-central-1" || "cn-north-1" || "cn-northwest-1" || "EU" || "eu-central-1" || "eu-north-1" || "eu-south-1" || "eu-south-2" || "eu-west-1" || "eu-west-2" || "eu-west-3" || "me-south-1" || "sa-east-1" || "us-east-2" || "us-gov-east-1" || "us-gov-west-1" || "us-west-1" || "us-west-2",
161
+ * Location: { // LocationInfo
162
+ * Type: "AvailabilityZone",
163
+ * Name: "STRING_VALUE",
164
+ * },
165
+ * Bucket: { // BucketInfo
166
+ * DataRedundancy: "SingleAvailabilityZone",
167
+ * Type: "Directory",
168
+ * },
122
169
  * },
123
170
  * GrantFullControl: "STRING_VALUE",
124
171
  * GrantRead: "STRING_VALUE",
@@ -155,39 +202,39 @@ export interface CreateBucketCommandOutput extends CreateBucketOutput, __Metadat
155
202
  * @throws {@link S3ServiceException}
156
203
  * <p>Base exception class for all service exceptions from S3 service.</p>
157
204
  *
158
- * @example To create a bucket
205
+ * @example To create a bucket in a specific region
159
206
  * ```javascript
160
- * // The following example creates a bucket.
207
+ * // The following example creates a bucket. The request specifies an AWS region where to create the bucket.
161
208
  * const input = {
162
- * "Bucket": "examplebucket"
209
+ * "Bucket": "examplebucket",
210
+ * "CreateBucketConfiguration": {
211
+ * "LocationConstraint": "eu-west-1"
212
+ * }
163
213
  * };
164
214
  * const command = new CreateBucketCommand(input);
165
215
  * const response = await client.send(command);
166
216
  * /* response ==
167
217
  * {
168
- * "Location": "/examplebucket"
218
+ * "Location": "http://examplebucket.<Region>.s3.amazonaws.com/"
169
219
  * }
170
220
  * *\/
171
- * // example id: to-create-a-bucket--1472851826060
221
+ * // example id: to-create-a-bucket-in-a-specific-region-1483399072992
172
222
  * ```
173
223
  *
174
- * @example To create a bucket in a specific region
224
+ * @example To create a bucket
175
225
  * ```javascript
176
- * // The following example creates a bucket. The request specifies an AWS region where to create the bucket.
226
+ * // The following example creates a bucket.
177
227
  * const input = {
178
- * "Bucket": "examplebucket",
179
- * "CreateBucketConfiguration": {
180
- * "LocationConstraint": "eu-west-1"
181
- * }
228
+ * "Bucket": "examplebucket"
182
229
  * };
183
230
  * const command = new CreateBucketCommand(input);
184
231
  * const response = await client.send(command);
185
232
  * /* response ==
186
233
  * {
187
- * "Location": "http://examplebucket.<Region>.s3.amazonaws.com/"
234
+ * "Location": "/examplebucket"
188
235
  * }
189
236
  * *\/
190
- * // example id: to-create-a-bucket-in-a-specific-region-1483399072992
237
+ * // example id: to-create-a-bucket--1472851826060
191
238
  * ```
192
239
  *
193
240
  */