@nocobase/plugin-file-manager 1.6.0-beta.3 → 1.6.0-beta.5

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 (500) hide show
  1. package/dist/client/index.js +1 -1
  2. package/dist/client/schemas/storageTypes/ali-oss.d.ts +3 -0
  3. package/dist/client/schemas/storageTypes/index.d.ts +9 -0
  4. package/dist/client/schemas/storageTypes/s3.d.ts +3 -0
  5. package/dist/client/schemas/storageTypes/tx-cos.d.ts +3 -0
  6. package/dist/externalVersion.js +6 -6
  7. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/S3.js +1302 -101
  8. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/S3Client.js +12 -18
  9. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/AbortMultipartUploadCommand.js +13 -20
  10. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/CompleteMultipartUploadCommand.js +10 -18
  11. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/CopyObjectCommand.js +10 -17
  12. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/CreateBucketCommand.js +13 -20
  13. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/CreateMultipartUploadCommand.js +10 -18
  14. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/DeleteBucketAnalyticsConfigurationCommand.js +13 -20
  15. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/DeleteBucketCommand.js +13 -20
  16. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/DeleteBucketCorsCommand.js +13 -20
  17. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/DeleteBucketEncryptionCommand.js +13 -20
  18. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/DeleteBucketIntelligentTieringConfigurationCommand.js +13 -20
  19. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/DeleteBucketInventoryConfigurationCommand.js +13 -20
  20. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/DeleteBucketLifecycleCommand.js +13 -20
  21. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/DeleteBucketMetricsConfigurationCommand.js +13 -20
  22. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/DeleteBucketOwnershipControlsCommand.js +13 -20
  23. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/DeleteBucketPolicyCommand.js +13 -20
  24. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/DeleteBucketReplicationCommand.js +13 -20
  25. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/DeleteBucketTaggingCommand.js +13 -20
  26. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/DeleteBucketWebsiteCommand.js +13 -20
  27. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/DeleteObjectCommand.js +13 -20
  28. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/DeleteObjectTaggingCommand.js +13 -19
  29. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/DeleteObjectsCommand.js +13 -19
  30. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/DeletePublicAccessBlockCommand.js +13 -20
  31. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetBucketAccelerateConfigurationCommand.js +13 -20
  32. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetBucketAclCommand.js +13 -20
  33. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetBucketAnalyticsConfigurationCommand.js +13 -20
  34. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetBucketCorsCommand.js +13 -20
  35. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetBucketEncryptionCommand.js +11 -19
  36. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetBucketIntelligentTieringConfigurationCommand.js +13 -20
  37. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetBucketInventoryConfigurationCommand.js +11 -19
  38. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetBucketLifecycleConfigurationCommand.js +13 -20
  39. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetBucketLocationCommand.js +13 -20
  40. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetBucketLoggingCommand.js +13 -20
  41. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetBucketMetricsConfigurationCommand.js +13 -20
  42. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetBucketNotificationConfigurationCommand.js +13 -20
  43. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetBucketOwnershipControlsCommand.js +13 -20
  44. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetBucketPolicyCommand.js +13 -20
  45. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetBucketPolicyStatusCommand.js +13 -20
  46. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetBucketReplicationCommand.js +13 -20
  47. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetBucketRequestPaymentCommand.js +13 -20
  48. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetBucketTaggingCommand.js +13 -20
  49. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetBucketVersioningCommand.js +13 -20
  50. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetBucketWebsiteCommand.js +13 -20
  51. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetObjectAclCommand.js +13 -20
  52. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetObjectAttributesCommand.js +11 -18
  53. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetObjectCommand.js +10 -18
  54. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetObjectLegalHoldCommand.js +13 -19
  55. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetObjectLockConfigurationCommand.js +13 -19
  56. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetObjectRetentionCommand.js +13 -19
  57. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetObjectTaggingCommand.js +13 -19
  58. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetObjectTorrentCommand.js +11 -18
  59. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetPublicAccessBlockCommand.js +13 -20
  60. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/HeadBucketCommand.js +13 -19
  61. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/HeadObjectCommand.js +10 -18
  62. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/ListBucketAnalyticsConfigurationsCommand.js +13 -20
  63. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/ListBucketIntelligentTieringConfigurationsCommand.js +13 -20
  64. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/ListBucketInventoryConfigurationsCommand.js +11 -19
  65. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/ListBucketMetricsConfigurationsCommand.js +13 -19
  66. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/ListBucketsCommand.js +13 -19
  67. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/ListMultipartUploadsCommand.js +13 -20
  68. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/ListObjectVersionsCommand.js +13 -20
  69. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/ListObjectsCommand.js +13 -20
  70. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/ListObjectsV2Command.js +13 -20
  71. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/ListPartsCommand.js +11 -19
  72. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutBucketAccelerateConfigurationCommand.js +13 -20
  73. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutBucketAclCommand.js +13 -20
  74. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutBucketAnalyticsConfigurationCommand.js +13 -20
  75. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutBucketCorsCommand.js +13 -20
  76. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutBucketEncryptionCommand.js +11 -19
  77. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutBucketIntelligentTieringConfigurationCommand.js +13 -20
  78. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutBucketInventoryConfigurationCommand.js +11 -19
  79. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutBucketLifecycleConfigurationCommand.js +13 -20
  80. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutBucketLoggingCommand.js +13 -20
  81. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutBucketMetricsConfigurationCommand.js +13 -20
  82. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutBucketNotificationConfigurationCommand.js +13 -20
  83. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutBucketOwnershipControlsCommand.js +13 -20
  84. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutBucketPolicyCommand.js +13 -20
  85. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutBucketReplicationCommand.js +13 -20
  86. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutBucketRequestPaymentCommand.js +13 -20
  87. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutBucketTaggingCommand.js +13 -20
  88. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutBucketVersioningCommand.js +13 -20
  89. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutBucketWebsiteCommand.js +13 -20
  90. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutObjectAclCommand.js +13 -20
  91. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutObjectCommand.js +13 -21
  92. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutObjectLegalHoldCommand.js +13 -19
  93. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutObjectLockConfigurationCommand.js +13 -19
  94. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutObjectRetentionCommand.js +13 -19
  95. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutObjectTaggingCommand.js +13 -19
  96. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutPublicAccessBlockCommand.js +13 -20
  97. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/RestoreObjectCommand.js +11 -18
  98. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/SelectObjectContentCommand.js +10 -20
  99. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/UploadPartCommand.js +10 -18
  100. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/UploadPartCopyCommand.js +10 -17
  101. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/WriteGetObjectResponseCommand.js +11 -18
  102. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/index.js +0 -2
  103. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/endpoint/EndpointParameters.js +0 -1
  104. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/endpoint/endpointResolver.js +1 -1
  105. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/endpoint/ruleset.js +3 -3
  106. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/index.js +3 -3
  107. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/models/S3ServiceException.js +2 -3
  108. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/models/models_0.js +1300 -378
  109. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/models/models_1.js +143 -49
  110. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/pagination/ListObjectsV2Paginator.js +8 -1
  111. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/pagination/ListPartsPaginator.js +8 -1
  112. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/pagination/index.js +0 -1
  113. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/protocols/Aws_restXml.js +2257 -1975
  114. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/runtimeConfig.browser.js +16 -10
  115. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/runtimeConfig.js +18 -16
  116. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/runtimeConfig.shared.js +16 -25
  117. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/waiters/waitForBucketExists.js +1 -1
  118. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/waiters/waitForBucketNotExists.js +1 -1
  119. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/waiters/waitForObjectExists.js +1 -1
  120. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/waiters/waitForObjectNotExists.js +1 -1
  121. package/dist/node_modules/@aws-sdk/client-s3/dist-es/S3.js +1302 -101
  122. package/dist/node_modules/@aws-sdk/client-s3/dist-es/S3Client.js +12 -18
  123. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/AbortMultipartUploadCommand.js +13 -20
  124. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/CompleteMultipartUploadCommand.js +10 -18
  125. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/CopyObjectCommand.js +10 -17
  126. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/CreateBucketCommand.js +13 -20
  127. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/CreateMultipartUploadCommand.js +10 -18
  128. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketAnalyticsConfigurationCommand.js +13 -20
  129. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketCommand.js +13 -20
  130. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketCorsCommand.js +13 -20
  131. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketEncryptionCommand.js +13 -20
  132. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketIntelligentTieringConfigurationCommand.js +13 -20
  133. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketInventoryConfigurationCommand.js +13 -20
  134. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketLifecycleCommand.js +13 -20
  135. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketMetricsConfigurationCommand.js +13 -20
  136. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketOwnershipControlsCommand.js +13 -20
  137. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketPolicyCommand.js +13 -20
  138. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketReplicationCommand.js +13 -20
  139. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketTaggingCommand.js +13 -20
  140. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketWebsiteCommand.js +13 -20
  141. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteObjectCommand.js +13 -20
  142. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteObjectTaggingCommand.js +13 -19
  143. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteObjectsCommand.js +13 -19
  144. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeletePublicAccessBlockCommand.js +13 -20
  145. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketAccelerateConfigurationCommand.js +13 -20
  146. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketAclCommand.js +13 -20
  147. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketAnalyticsConfigurationCommand.js +13 -20
  148. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketCorsCommand.js +13 -20
  149. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketEncryptionCommand.js +12 -20
  150. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketIntelligentTieringConfigurationCommand.js +13 -20
  151. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketInventoryConfigurationCommand.js +12 -20
  152. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketLifecycleConfigurationCommand.js +13 -20
  153. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketLocationCommand.js +13 -20
  154. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketLoggingCommand.js +13 -20
  155. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketMetricsConfigurationCommand.js +13 -20
  156. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketNotificationConfigurationCommand.js +13 -20
  157. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketOwnershipControlsCommand.js +13 -20
  158. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketPolicyCommand.js +13 -20
  159. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketPolicyStatusCommand.js +13 -20
  160. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketReplicationCommand.js +13 -20
  161. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketRequestPaymentCommand.js +13 -20
  162. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketTaggingCommand.js +13 -20
  163. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketVersioningCommand.js +13 -20
  164. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketWebsiteCommand.js +13 -20
  165. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetObjectAclCommand.js +13 -20
  166. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetObjectAttributesCommand.js +12 -19
  167. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetObjectCommand.js +10 -18
  168. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetObjectLegalHoldCommand.js +13 -19
  169. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetObjectLockConfigurationCommand.js +13 -19
  170. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetObjectRetentionCommand.js +13 -19
  171. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetObjectTaggingCommand.js +13 -19
  172. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetObjectTorrentCommand.js +12 -19
  173. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetPublicAccessBlockCommand.js +13 -20
  174. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/HeadBucketCommand.js +13 -19
  175. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/HeadObjectCommand.js +10 -18
  176. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/ListBucketAnalyticsConfigurationsCommand.js +13 -20
  177. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/ListBucketIntelligentTieringConfigurationsCommand.js +13 -20
  178. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/ListBucketInventoryConfigurationsCommand.js +12 -20
  179. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/ListBucketMetricsConfigurationsCommand.js +13 -19
  180. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/ListBucketsCommand.js +13 -19
  181. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/ListMultipartUploadsCommand.js +13 -20
  182. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/ListObjectVersionsCommand.js +13 -20
  183. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/ListObjectsCommand.js +13 -20
  184. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/ListObjectsV2Command.js +13 -20
  185. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/ListPartsCommand.js +12 -20
  186. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketAccelerateConfigurationCommand.js +13 -20
  187. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketAclCommand.js +13 -20
  188. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketAnalyticsConfigurationCommand.js +13 -20
  189. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketCorsCommand.js +13 -20
  190. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketEncryptionCommand.js +11 -19
  191. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketIntelligentTieringConfigurationCommand.js +13 -20
  192. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketInventoryConfigurationCommand.js +11 -19
  193. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketLifecycleConfigurationCommand.js +13 -20
  194. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketLoggingCommand.js +13 -20
  195. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketMetricsConfigurationCommand.js +13 -20
  196. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketNotificationConfigurationCommand.js +13 -20
  197. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketOwnershipControlsCommand.js +13 -20
  198. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketPolicyCommand.js +13 -20
  199. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketReplicationCommand.js +13 -20
  200. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketRequestPaymentCommand.js +13 -20
  201. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketTaggingCommand.js +13 -20
  202. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketVersioningCommand.js +13 -20
  203. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketWebsiteCommand.js +13 -20
  204. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutObjectAclCommand.js +13 -20
  205. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutObjectCommand.js +11 -19
  206. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutObjectLegalHoldCommand.js +13 -19
  207. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutObjectLockConfigurationCommand.js +13 -19
  208. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutObjectRetentionCommand.js +13 -19
  209. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutObjectTaggingCommand.js +13 -19
  210. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutPublicAccessBlockCommand.js +13 -20
  211. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/RestoreObjectCommand.js +12 -19
  212. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/SelectObjectContentCommand.js +10 -20
  213. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/UploadPartCommand.js +10 -18
  214. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/UploadPartCopyCommand.js +10 -17
  215. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/WriteGetObjectResponseCommand.js +11 -18
  216. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/index.js +0 -2
  217. package/dist/node_modules/@aws-sdk/client-s3/dist-es/endpoint/EndpointParameters.js +0 -1
  218. package/dist/node_modules/@aws-sdk/client-s3/dist-es/endpoint/endpointResolver.js +1 -1
  219. package/dist/node_modules/@aws-sdk/client-s3/dist-es/endpoint/ruleset.js +3 -3
  220. package/dist/node_modules/@aws-sdk/client-s3/dist-es/index.js +2 -3
  221. package/dist/node_modules/@aws-sdk/client-s3/dist-es/models/S3ServiceException.js +1 -2
  222. package/dist/node_modules/@aws-sdk/client-s3/dist-es/models/models_0.js +1066 -362
  223. package/dist/node_modules/@aws-sdk/client-s3/dist-es/models/models_1.js +116 -46
  224. package/dist/node_modules/@aws-sdk/client-s3/dist-es/pagination/ListObjectsV2Paginator.js +8 -1
  225. package/dist/node_modules/@aws-sdk/client-s3/dist-es/pagination/ListPartsPaginator.js +8 -1
  226. package/dist/node_modules/@aws-sdk/client-s3/dist-es/pagination/index.js +0 -1
  227. package/dist/node_modules/@aws-sdk/client-s3/dist-es/protocols/Aws_restXml.js +1739 -1453
  228. package/dist/node_modules/@aws-sdk/client-s3/dist-es/runtimeConfig.browser.js +16 -10
  229. package/dist/node_modules/@aws-sdk/client-s3/dist-es/runtimeConfig.js +18 -16
  230. package/dist/node_modules/@aws-sdk/client-s3/dist-es/runtimeConfig.shared.js +16 -25
  231. package/dist/node_modules/@aws-sdk/client-s3/dist-es/waiters/waitForBucketExists.js +1 -1
  232. package/dist/node_modules/@aws-sdk/client-s3/dist-es/waiters/waitForBucketNotExists.js +1 -1
  233. package/dist/node_modules/@aws-sdk/client-s3/dist-es/waiters/waitForObjectExists.js +1 -1
  234. package/dist/node_modules/@aws-sdk/client-s3/dist-es/waiters/waitForObjectNotExists.js +1 -1
  235. package/dist/node_modules/@aws-sdk/client-s3/dist-types/S3.d.ts +5312 -115
  236. package/dist/node_modules/@aws-sdk/client-s3/dist-types/S3Client.d.ts +39 -69
  237. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/AbortMultipartUploadCommand.d.ts +8 -96
  238. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/CompleteMultipartUploadCommand.d.ts +66 -212
  239. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/CopyObjectCommand.d.ts +161 -253
  240. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/CreateBucketCommand.d.ts +124 -201
  241. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/CreateMultipartUploadCommand.d.ts +212 -247
  242. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketAnalyticsConfigurationCommand.d.ts +8 -45
  243. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketCommand.d.ts +7 -85
  244. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketCorsCommand.d.ts +8 -56
  245. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketEncryptionCommand.d.ts +12 -49
  246. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketIntelligentTieringConfigurationCommand.d.ts +6 -43
  247. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketInventoryConfigurationCommand.d.ts +6 -45
  248. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketLifecycleCommand.d.ts +8 -54
  249. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketMetricsConfigurationCommand.d.ts +11 -48
  250. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketOwnershipControlsCommand.d.ts +6 -44
  251. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketPolicyCommand.d.ts +22 -97
  252. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketReplicationCommand.d.ts +9 -57
  253. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketTaggingCommand.d.ts +5 -53
  254. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketWebsiteCommand.d.ts +7 -53
  255. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteObjectCommand.d.ts +23 -158
  256. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteObjectTaggingCommand.d.ts +11 -83
  257. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteObjectsCommand.d.ts +27 -238
  258. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeletePublicAccessBlockCommand.d.ts +7 -44
  259. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketAccelerateConfigurationCommand.d.ts +12 -53
  260. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketAclCommand.d.ts +14 -72
  261. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketAnalyticsConfigurationCommand.d.ts +11 -82
  262. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketCorsCommand.d.ts +7 -95
  263. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketEncryptionCommand.d.ts +10 -60
  264. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketIntelligentTieringConfigurationCommand.d.ts +6 -70
  265. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketInventoryConfigurationCommand.d.ts +9 -74
  266. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketLifecycleConfigurationCommand.d.ts +9 -127
  267. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketLocationCommand.d.ts +9 -70
  268. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketLoggingCommand.d.ts +6 -66
  269. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketMetricsConfigurationCommand.d.ts +13 -70
  270. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketNotificationConfigurationCommand.d.ts +9 -108
  271. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketOwnershipControlsCommand.d.ts +7 -54
  272. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketPolicyCommand.d.ts +22 -110
  273. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketPolicyStatusCommand.d.ts +7 -47
  274. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketReplicationCommand.d.ts +9 -135
  275. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketRequestPaymentCommand.d.ts +6 -62
  276. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketTaggingCommand.d.ts +6 -74
  277. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketVersioningCommand.d.ts +6 -62
  278. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketWebsiteCommand.d.ts +7 -91
  279. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectAclCommand.d.ts +12 -126
  280. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectAttributesCommand.d.ts +117 -228
  281. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectCommand.d.ts +166 -290
  282. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectLegalHoldCommand.d.ts +6 -50
  283. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectLockConfigurationCommand.d.ts +7 -54
  284. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectRetentionCommand.d.ts +6 -52
  285. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectTaggingCommand.d.ts +13 -109
  286. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectTorrentCommand.d.ts +7 -63
  287. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetPublicAccessBlockCommand.d.ts +8 -50
  288. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/HeadBucketCommand.d.ts +21 -109
  289. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/HeadObjectCommand.d.ts +87 -216
  290. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/ListBucketAnalyticsConfigurationsCommand.d.ts +12 -85
  291. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/ListBucketIntelligentTieringConfigurationsCommand.d.ts +6 -75
  292. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/ListBucketInventoryConfigurationsCommand.d.ts +13 -82
  293. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/ListBucketMetricsConfigurationsCommand.d.ts +15 -76
  294. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/ListBucketsCommand.d.ts +5 -84
  295. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/ListMultipartUploadsCommand.d.ts +23 -262
  296. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/ListObjectVersionsCommand.d.ts +13 -153
  297. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/ListObjectsCommand.d.ts +6 -130
  298. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/ListObjectsV2Command.d.ts +24 -185
  299. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/ListPartsCommand.d.ts +20 -165
  300. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketAccelerateConfigurationCommand.d.ts +15 -50
  301. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketAclCommand.d.ts +122 -201
  302. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketAnalyticsConfigurationCommand.d.ts +25 -83
  303. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketCorsCommand.d.ts +10 -112
  304. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketEncryptionCommand.d.ts +22 -69
  305. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketIntelligentTieringConfigurationCommand.d.ts +63 -99
  306. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketInventoryConfigurationCommand.d.ts +71 -121
  307. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketLifecycleConfigurationCommand.d.ts +81 -197
  308. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketLoggingCommand.d.ts +54 -144
  309. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketMetricsConfigurationCommand.d.ts +13 -69
  310. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketNotificationConfigurationCommand.d.ts +25 -134
  311. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketOwnershipControlsCommand.d.ts +6 -54
  312. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketPolicyCommand.d.ts +20 -108
  313. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketReplicationCommand.d.ts +41 -171
  314. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketRequestPaymentCommand.d.ts +7 -63
  315. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketTaggingCommand.d.ts +54 -104
  316. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketVersioningCommand.d.ts +24 -76
  317. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketWebsiteCommand.d.ts +9 -93
  318. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutObjectAclCommand.d.ts +129 -220
  319. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutObjectCommand.d.ts +99 -342
  320. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutObjectLegalHoldCommand.d.ts +6 -54
  321. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutObjectLockConfigurationCommand.d.ts +13 -67
  322. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutObjectRetentionCommand.d.ts +9 -58
  323. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutObjectTaggingCommand.d.ts +77 -108
  324. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutPublicAccessBlockCommand.d.ts +14 -52
  325. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/RestoreObjectCommand.d.ts +214 -337
  326. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/SelectObjectContentCommand.d.ts +98 -200
  327. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/UploadPartCommand.d.ts +92 -189
  328. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/UploadPartCopyCommand.d.ts +121 -237
  329. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/WriteGetObjectResponseCommand.d.ts +34 -113
  330. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/index.d.ts +0 -2
  331. package/dist/node_modules/@aws-sdk/client-s3/dist-types/endpoint/EndpointParameters.d.ts +2 -10
  332. package/dist/node_modules/@aws-sdk/client-s3/dist-types/endpoint/endpointResolver.d.ts +1 -1
  333. package/dist/node_modules/@aws-sdk/client-s3/dist-types/endpoint/ruleset.d.ts +1 -1
  334. package/dist/node_modules/@aws-sdk/client-s3/dist-types/index.d.ts +2 -11
  335. package/dist/node_modules/@aws-sdk/client-s3/dist-types/models/S3ServiceException.d.ts +1 -4
  336. package/dist/node_modules/@aws-sdk/client-s3/dist-types/models/models_0.d.ts +2799 -5390
  337. package/dist/node_modules/@aws-sdk/client-s3/dist-types/models/models_1.d.ts +354 -1959
  338. package/dist/node_modules/@aws-sdk/client-s3/dist-types/pagination/Interfaces.d.ts +3 -5
  339. package/dist/node_modules/@aws-sdk/client-s3/dist-types/pagination/ListObjectsV2Paginator.d.ts +1 -4
  340. package/dist/node_modules/@aws-sdk/client-s3/dist-types/pagination/ListPartsPaginator.d.ts +1 -4
  341. package/dist/node_modules/@aws-sdk/client-s3/dist-types/pagination/index.d.ts +0 -1
  342. package/dist/node_modules/@aws-sdk/client-s3/dist-types/protocols/Aws_restXml.d.ts +188 -764
  343. package/dist/node_modules/@aws-sdk/client-s3/dist-types/runtimeConfig.browser.d.ts +38 -45
  344. package/dist/node_modules/@aws-sdk/client-s3/dist-types/runtimeConfig.d.ts +9 -16
  345. package/dist/node_modules/@aws-sdk/client-s3/dist-types/runtimeConfig.native.d.ts +34 -41
  346. package/dist/node_modules/@aws-sdk/client-s3/dist-types/runtimeConfig.shared.d.ts +8 -14
  347. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/S3.d.ts +2 -37
  348. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/S3Client.d.ts +36 -55
  349. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/AbortMultipartUploadCommand.d.ts +3 -4
  350. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/CompleteMultipartUploadCommand.d.ts +3 -4
  351. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/CopyObjectCommand.d.ts +3 -4
  352. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/CreateBucketCommand.d.ts +3 -4
  353. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/CreateMultipartUploadCommand.d.ts +3 -4
  354. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketAnalyticsConfigurationCommand.d.ts +3 -4
  355. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketCommand.d.ts +3 -4
  356. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketCorsCommand.d.ts +3 -4
  357. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketEncryptionCommand.d.ts +3 -4
  358. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketIntelligentTieringConfigurationCommand.d.ts +3 -4
  359. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketInventoryConfigurationCommand.d.ts +3 -4
  360. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketLifecycleCommand.d.ts +3 -4
  361. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketMetricsConfigurationCommand.d.ts +3 -4
  362. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketOwnershipControlsCommand.d.ts +3 -4
  363. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketPolicyCommand.d.ts +3 -4
  364. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketReplicationCommand.d.ts +3 -4
  365. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketTaggingCommand.d.ts +3 -4
  366. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketWebsiteCommand.d.ts +3 -4
  367. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteObjectCommand.d.ts +3 -4
  368. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteObjectTaggingCommand.d.ts +3 -4
  369. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteObjectsCommand.d.ts +3 -4
  370. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeletePublicAccessBlockCommand.d.ts +3 -4
  371. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketAccelerateConfigurationCommand.d.ts +3 -4
  372. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketAclCommand.d.ts +3 -4
  373. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketAnalyticsConfigurationCommand.d.ts +3 -4
  374. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketCorsCommand.d.ts +3 -4
  375. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketEncryptionCommand.d.ts +3 -4
  376. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketIntelligentTieringConfigurationCommand.d.ts +3 -4
  377. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketInventoryConfigurationCommand.d.ts +3 -4
  378. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketLifecycleConfigurationCommand.d.ts +3 -4
  379. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketLocationCommand.d.ts +3 -4
  380. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketLoggingCommand.d.ts +3 -4
  381. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketMetricsConfigurationCommand.d.ts +3 -4
  382. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketNotificationConfigurationCommand.d.ts +3 -4
  383. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketOwnershipControlsCommand.d.ts +3 -4
  384. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketPolicyCommand.d.ts +3 -4
  385. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketPolicyStatusCommand.d.ts +3 -4
  386. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketReplicationCommand.d.ts +3 -4
  387. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketRequestPaymentCommand.d.ts +3 -4
  388. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketTaggingCommand.d.ts +3 -4
  389. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketVersioningCommand.d.ts +3 -4
  390. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketWebsiteCommand.d.ts +3 -4
  391. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetObjectAclCommand.d.ts +3 -4
  392. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetObjectAttributesCommand.d.ts +3 -4
  393. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetObjectCommand.d.ts +6 -9
  394. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetObjectLegalHoldCommand.d.ts +3 -4
  395. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetObjectLockConfigurationCommand.d.ts +3 -4
  396. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetObjectRetentionCommand.d.ts +3 -4
  397. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetObjectTaggingCommand.d.ts +3 -4
  398. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetObjectTorrentCommand.d.ts +6 -12
  399. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetPublicAccessBlockCommand.d.ts +3 -4
  400. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/HeadBucketCommand.d.ts +5 -8
  401. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/HeadObjectCommand.d.ts +3 -4
  402. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/ListBucketAnalyticsConfigurationsCommand.d.ts +3 -4
  403. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/ListBucketIntelligentTieringConfigurationsCommand.d.ts +3 -4
  404. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/ListBucketInventoryConfigurationsCommand.d.ts +3 -4
  405. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/ListBucketMetricsConfigurationsCommand.d.ts +3 -4
  406. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/ListBucketsCommand.d.ts +3 -4
  407. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/ListMultipartUploadsCommand.d.ts +3 -4
  408. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/ListObjectVersionsCommand.d.ts +3 -4
  409. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/ListObjectsCommand.d.ts +3 -4
  410. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/ListObjectsV2Command.d.ts +3 -4
  411. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/ListPartsCommand.d.ts +3 -4
  412. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketAccelerateConfigurationCommand.d.ts +3 -4
  413. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketAclCommand.d.ts +3 -4
  414. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketAnalyticsConfigurationCommand.d.ts +3 -4
  415. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketCorsCommand.d.ts +3 -4
  416. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketEncryptionCommand.d.ts +3 -4
  417. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketIntelligentTieringConfigurationCommand.d.ts +3 -4
  418. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketInventoryConfigurationCommand.d.ts +3 -4
  419. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketLifecycleConfigurationCommand.d.ts +3 -4
  420. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketLoggingCommand.d.ts +3 -4
  421. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketMetricsConfigurationCommand.d.ts +3 -4
  422. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketNotificationConfigurationCommand.d.ts +3 -4
  423. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketOwnershipControlsCommand.d.ts +3 -4
  424. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketPolicyCommand.d.ts +3 -4
  425. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketReplicationCommand.d.ts +4 -5
  426. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketRequestPaymentCommand.d.ts +4 -5
  427. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketTaggingCommand.d.ts +4 -5
  428. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketVersioningCommand.d.ts +4 -5
  429. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketWebsiteCommand.d.ts +4 -5
  430. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutObjectAclCommand.d.ts +4 -5
  431. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutObjectCommand.d.ts +12 -10
  432. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutObjectLegalHoldCommand.d.ts +4 -5
  433. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutObjectLockConfigurationCommand.d.ts +4 -5
  434. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutObjectRetentionCommand.d.ts +3 -4
  435. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutObjectTaggingCommand.d.ts +3 -4
  436. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutPublicAccessBlockCommand.d.ts +3 -4
  437. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/RestoreObjectCommand.d.ts +3 -4
  438. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/SelectObjectContentCommand.d.ts +3 -4
  439. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/UploadPartCommand.d.ts +11 -9
  440. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/UploadPartCopyCommand.d.ts +3 -4
  441. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/WriteGetObjectResponseCommand.d.ts +11 -11
  442. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/index.d.ts +0 -2
  443. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +5 -9
  444. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/endpoint/endpointResolver.d.ts +1 -1
  445. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/endpoint/ruleset.d.ts +1 -1
  446. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/index.d.ts +2 -6
  447. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/models/S3ServiceException.d.ts +1 -2
  448. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/models/models_0.d.ts +1189 -639
  449. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/models/models_1.d.ts +123 -251
  450. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/pagination/Interfaces.d.ts +3 -2
  451. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/pagination/ListObjectsV2Paginator.d.ts +1 -1
  452. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/pagination/ListPartsPaginator.d.ts +1 -1
  453. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/pagination/index.d.ts +0 -1
  454. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/protocols/Aws_restXml.d.ts +188 -212
  455. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/runtimeConfig.browser.d.ts +62 -78
  456. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/runtimeConfig.d.ts +14 -29
  457. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/runtimeConfig.native.d.ts +52 -70
  458. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/runtimeConfig.shared.d.ts +10 -19
  459. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/waiters/waitForBucketExists.d.ts +1 -1
  460. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/waiters/waitForBucketNotExists.d.ts +1 -1
  461. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/waiters/waitForObjectExists.d.ts +1 -1
  462. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/waiters/waitForObjectNotExists.d.ts +1 -1
  463. package/dist/node_modules/@aws-sdk/client-s3/dist-types/waiters/waitForBucketExists.d.ts +1 -1
  464. package/dist/node_modules/@aws-sdk/client-s3/dist-types/waiters/waitForBucketNotExists.d.ts +1 -1
  465. package/dist/node_modules/@aws-sdk/client-s3/dist-types/waiters/waitForObjectExists.d.ts +1 -1
  466. package/dist/node_modules/@aws-sdk/client-s3/dist-types/waiters/waitForObjectNotExists.d.ts +1 -1
  467. package/dist/node_modules/@aws-sdk/client-s3/package.json +1 -1
  468. package/dist/node_modules/mime-match/package.json +1 -1
  469. package/dist/node_modules/mkdirp/package.json +1 -1
  470. package/dist/node_modules/multer-aliyun-oss/package.json +1 -1
  471. package/dist/node_modules/multer-cos/index.js +1 -1
  472. package/dist/node_modules/multer-cos/package.json +1 -1
  473. package/dist/node_modules/multer-s3/index.js +4 -4
  474. package/dist/node_modules/multer-s3/package.json +1 -1
  475. package/dist/server/actions/attachments.js +2 -1
  476. package/dist/server/collections/attachments.js +1 -0
  477. package/dist/server/collections/storages.js +1 -0
  478. package/dist/server/server.d.ts +1 -0
  479. package/dist/server/server.js +8 -14
  480. package/package.json +3 -3
  481. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/CreateSessionCommand.js +0 -59
  482. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/ListDirectoryBucketsCommand.js +0 -58
  483. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/extensionConfiguration.js +0 -2
  484. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/pagination/ListDirectoryBucketsPaginator.js +0 -29
  485. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/runtimeExtensions.js +0 -22
  486. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/CreateSessionCommand.js +0 -55
  487. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/ListDirectoryBucketsCommand.js +0 -54
  488. package/dist/node_modules/@aws-sdk/client-s3/dist-es/extensionConfiguration.js +0 -1
  489. package/dist/node_modules/@aws-sdk/client-s3/dist-es/pagination/ListDirectoryBucketsPaginator.js +0 -25
  490. package/dist/node_modules/@aws-sdk/client-s3/dist-es/runtimeExtensions.js +0 -18
  491. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/CreateSessionCommand.d.ts +0 -145
  492. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/ListDirectoryBucketsCommand.d.ts +0 -98
  493. package/dist/node_modules/@aws-sdk/client-s3/dist-types/extensionConfiguration.d.ts +0 -8
  494. package/dist/node_modules/@aws-sdk/client-s3/dist-types/pagination/ListDirectoryBucketsPaginator.d.ts +0 -7
  495. package/dist/node_modules/@aws-sdk/client-s3/dist-types/runtimeExtensions.d.ts +0 -17
  496. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/CreateSessionCommand.d.ts +0 -35
  497. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/ListDirectoryBucketsCommand.d.ts +0 -42
  498. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/extensionConfiguration.d.ts +0 -7
  499. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/pagination/ListDirectoryBucketsPaginator.d.ts +0 -11
  500. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/runtimeExtensions.d.ts +0 -11
@@ -1,140 +1,52 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
- import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
- import { HeadBucketOutput, HeadBucketRequest } from "../models/models_0";
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
+ import { Command as $Command } from "@aws-sdk/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
+ import { HeadBucketRequest } from "../models/models_0";
5
5
  import { S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3Client";
6
- /**
7
- * @public
8
- */
9
- export { __MetadataBearer, $Command };
10
- /**
11
- * @public
12
- *
13
- * The input for {@link HeadBucketCommand}.
14
- */
15
6
  export interface HeadBucketCommandInput extends HeadBucketRequest {
16
7
  }
17
- /**
18
- * @public
19
- *
20
- * The output of {@link HeadBucketCommand}.
21
- */
22
- export interface HeadBucketCommandOutput extends HeadBucketOutput, __MetadataBearer {
8
+ export interface HeadBucketCommandOutput extends __MetadataBearer {
23
9
  }
24
10
  /**
25
- * @public
26
- * <p>You can use this operation to determine if a bucket exists and if you have permission to access it. The action returns a <code>200 OK</code> if the bucket exists and you have permission
27
- * to access it.</p>
28
- * <p>If the bucket does not exist or you do not have permission to access it, the
29
- * <code>HEAD</code> request returns a generic <code>400 Bad Request</code>, <code>403
30
- * Forbidden</code> or <code>404 Not Found</code> code. A message body is not included, so
31
- * you cannot determine the exception beyond these error codes.</p>
32
- * <note>
33
- * <p>
34
- * <b>Directory buckets </b> - 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</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
35
- * <i>Amazon S3 User Guide</i>.</p>
36
- * </note>
37
- * <dl>
38
- * <dt>Authentication and authorization</dt>
39
- * <dd>
40
- * <p>All <code>HeadBucket</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
41
- * <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>
42
- * <p>
43
- * <b>Directory bucket</b> - You must use IAM credentials to authenticate and authorize your access to the <code>HeadBucket</code> API operation, instead of using the
44
- * temporary security credentials through the <code>CreateSession</code> API operation.</p>
45
- * <p>Amazon Web Services CLI or SDKs handles authentication and authorization on your behalf.</p>
46
- * </dd>
47
- * <dt>Permissions</dt>
48
- * <dd>
49
- * <p></p>
50
- * <ul>
51
- * <li>
52
- * <p>
53
- * <b>General purpose bucket permissions</b> - To use this operation, you must have permissions to perform the
54
- * <code>s3:ListBucket</code> action. The bucket owner has this permission by default and
55
- * can grant this permission to others. For more information about permissions, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-access-control.html">Managing
56
- * access permissions to your Amazon S3 resources</a> in the <i>Amazon S3 User Guide</i>.</p>
57
- * </li>
58
- * <li>
59
- * <p>
60
- * <b>Directory bucket permissions</b> -
61
- * You must have the <b>
62
- * <code>s3express:CreateSession</code>
63
- * </b> permission in the
64
- * <code>Action</code> element of a policy. 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 bucket.</p>
65
- * <p>For more information about example bucket 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 <i>Amazon S3 User Guide</i>.</p>
66
- * </li>
67
- * </ul>
68
- * </dd>
69
- * <dt>HTTP Host header syntax</dt>
70
- * <dd>
71
- * <p>
72
- * <b>Directory buckets </b> - The HTTP Host header syntax is <code>
73
- * <i>Bucket_name</i>.s3express-<i>az_id</i>.<i>region</i>.amazonaws.com</code>.</p>
74
- * </dd>
75
- * </dl>
11
+ * <p>This action is useful to determine if a bucket exists and you have permission to
12
+ * access it. The action returns a <code>200 OK</code> if the bucket exists and you have
13
+ * permission to access it.</p>
14
+ *
15
+ *
16
+ * <p>If the bucket does not exist or you do not have permission to access it, the <code>HEAD</code> request
17
+ * returns a generic <code>404 Not Found</code> or <code>403 Forbidden</code> code. A message body is not
18
+ * included, so you cannot determine the exception beyond these error codes.</p>
19
+ *
20
+ * <p>To use this operation, you must have permissions to perform the
21
+ * <code>s3:ListBucket</code> action. The bucket owner has this permission by default and
22
+ * can grant this permission to others. For more information about permissions, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-with-s3-actions.html#using-with-s3-actions-related-to-bucket-subresources">Permissions Related to Bucket Subresource Operations</a> and <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-access-control.html">Managing Access Permissions to Your Amazon S3
23
+ * Resources</a>.</p>
24
+ *
25
+ *
26
+ * <p>To use this API against an access point, you must provide the alias of the access point in place of the bucket name or specify the access point ARN. When using the access point ARN, you must direct requests to the access point hostname. The access point hostname takes the form AccessPointName-AccountId.s3-accesspoint.Region.amazonaws.com. When using the Amazon Web Services SDKs, you provide the ARN in place of the bucket name. For more information see, <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-access-points.html">Using access points</a>.</p>
76
27
  * @example
77
28
  * Use a bare-bones client and the command you need to make an API call.
78
29
  * ```javascript
79
30
  * import { S3Client, HeadBucketCommand } from "@aws-sdk/client-s3"; // ES Modules import
80
31
  * // const { S3Client, HeadBucketCommand } = require("@aws-sdk/client-s3"); // CommonJS import
81
32
  * const client = new S3Client(config);
82
- * const input = { // HeadBucketRequest
83
- * Bucket: "STRING_VALUE", // required
84
- * ExpectedBucketOwner: "STRING_VALUE",
85
- * };
86
33
  * const command = new HeadBucketCommand(input);
87
34
  * const response = await client.send(command);
88
- * // { // HeadBucketOutput
89
- * // BucketLocationType: "AvailabilityZone",
90
- * // BucketLocationName: "STRING_VALUE",
91
- * // BucketRegion: "STRING_VALUE",
92
- * // AccessPointAlias: true || false,
93
- * // };
94
- *
95
35
  * ```
96
36
  *
97
- * @param HeadBucketCommandInput - {@link HeadBucketCommandInput}
98
- * @returns {@link HeadBucketCommandOutput}
99
37
  * @see {@link HeadBucketCommandInput} for command's `input` shape.
100
38
  * @see {@link HeadBucketCommandOutput} for command's `response` shape.
101
39
  * @see {@link S3ClientResolvedConfig | config} for S3Client's `config` shape.
102
40
  *
103
- * @throws {@link NotFound} (client fault)
104
- * <p>The specified content does not exist.</p>
105
- *
106
- * @throws {@link S3ServiceException}
107
- * <p>Base exception class for all service exceptions from S3 service.</p>
108
- *
109
- * @example To determine if bucket exists
110
- * ```javascript
111
- * // This operation checks to see if a bucket exists.
112
- * const input = {
113
- * "Bucket": "acl1"
114
- * };
115
- * const command = new HeadBucketCommand(input);
116
- * await client.send(command);
117
- * // example id: to-determine-if-bucket-exists-1473110292262
118
- * ```
119
- *
120
41
  */
121
42
  export declare class HeadBucketCommand extends $Command<HeadBucketCommandInput, HeadBucketCommandOutput, S3ClientResolvedConfig> {
122
43
  readonly input: HeadBucketCommandInput;
123
44
  static getEndpointParameterInstructions(): EndpointParameterInstructions;
124
- /**
125
- * @public
126
- */
127
45
  constructor(input: HeadBucketCommandInput);
128
46
  /**
129
47
  * @internal
130
48
  */
131
49
  resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: S3ClientResolvedConfig, options?: __HttpHandlerOptions): Handler<HeadBucketCommandInput, HeadBucketCommandOutput>;
132
- /**
133
- * @internal
134
- */
135
50
  private serialize;
136
- /**
137
- * @internal
138
- */
139
51
  private deserialize;
140
52
  }
@@ -1,150 +1,117 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
- import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
+ import { Command as $Command } from "@aws-sdk/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
4
  import { HeadObjectOutput, HeadObjectRequest } from "../models/models_0";
5
5
  import { S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3Client";
6
- /**
7
- * @public
8
- */
9
- export { __MetadataBearer, $Command };
10
- /**
11
- * @public
12
- *
13
- * The input for {@link HeadObjectCommand}.
14
- */
15
6
  export interface HeadObjectCommandInput extends HeadObjectRequest {
16
7
  }
17
- /**
18
- * @public
19
- *
20
- * The output of {@link HeadObjectCommand}.
21
- */
22
8
  export interface HeadObjectCommandOutput extends HeadObjectOutput, __MetadataBearer {
23
9
  }
24
10
  /**
25
- * @public
26
- * <p>The <code>HEAD</code> operation retrieves metadata from an object without returning the
27
- * object itself. This operation is useful if you're interested only in an object's metadata.</p>
28
- * <p>A <code>HEAD</code> request has the same options as a <code>GET</code> operation on an
11
+ * <p>The HEAD action retrieves metadata from an object without returning the object
12
+ * itself. This action is useful if you're only interested in an object's metadata. To use
13
+ * HEAD, you must have READ access to the object.</p>
14
+ *
15
+ * <p>A <code>HEAD</code> request has the same options as a <code>GET</code> action on an
29
16
  * object. The response is identical to the <code>GET</code> response except that there is no
30
17
  * response body. Because of this, if the <code>HEAD</code> request generates an error, it
31
- * returns a generic code, such as <code>400 Bad Request</code>, <code>403 Forbidden</code>, <code>404 Not
32
- * Found</code>, <code>405 Method Not Allowed</code>, <code>412 Precondition Failed</code>, or <code>304 Not Modified</code>.
33
- * It's not possible to retrieve the exact exception of these error codes.</p>
34
- * <p>Request headers are limited to 8 KB in size. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/RESTCommonRequestHeaders.html">Common
35
- * Request Headers</a>.</p>
18
+ * returns a generic <code>404 Not Found</code> or <code>403 Forbidden</code> code. It is not
19
+ * possible to retrieve the exact exception beyond these error codes.</p>
20
+ *
21
+ * <p>If you encrypt an object by using server-side encryption with customer-provided
22
+ * encryption keys (SSE-C) when you store the object in Amazon S3, then when you retrieve the
23
+ * metadata from the object, you must use the following headers:</p>
24
+ * <ul>
25
+ * <li>
26
+ * <p>x-amz-server-side-encryption-customer-algorithm</p>
27
+ * </li>
28
+ * <li>
29
+ * <p>x-amz-server-side-encryption-customer-key</p>
30
+ * </li>
31
+ * <li>
32
+ * <p>x-amz-server-side-encryption-customer-key-MD5</p>
33
+ * </li>
34
+ * </ul>
35
+ * <p>For more information about SSE-C, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/ServerSideEncryptionCustomerKeys.html">Server-Side Encryption (Using
36
+ * Customer-Provided Encryption Keys)</a>.</p>
36
37
  * <note>
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>
38
+ * <ul>
39
+ * <li>
40
+ * <p>Encryption request headers, like <code>x-amz-server-side-encryption</code>, should
41
+ * not be sent for GET requests if your object uses server-side encryption with KMS keys (SSE-KMS)
42
+ * or server-side encryption with Amazon S3–managed encryption keys
43
+ * (SSE-S3). If your object does use these types of keys, you’ll get an HTTP 400 BadRequest
44
+ * error.</p>
45
+ * </li>
46
+ * <li>
47
+ * <p>
48
+ * The last modified property in this case is the creation date of the object.</p>
49
+ * </li>
50
+ * </ul>
41
51
  * </note>
42
- * <dl>
43
- * <dt>Permissions</dt>
44
- * <dd>
45
- * <p></p>
52
+ *
53
+ *
54
+ * <p>Request headers are limited to 8 KB in size. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/RESTCommonRequestHeaders.html">Common Request
55
+ * Headers</a>.</p>
56
+ * <p>Consider the following when using request headers:</p>
57
+ * <ul>
58
+ * <li>
59
+ * <p> Consideration 1 – If both of the <code>If-Match</code> and
60
+ * <code>If-Unmodified-Since</code> headers are present in the request as
61
+ * follows:</p>
46
62
  * <ul>
47
63
  * <li>
48
64
  * <p>
49
- * <b>General purpose bucket permissions</b> - To
50
- * use <code>HEAD</code>, you must have the <code>s3:GetObject</code> permission. You need the relevant read object (or version) permission for this operation.
51
- * For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/list_amazons3.html">Actions, resources, and condition
52
- * keys for Amazon S3</a> in the <i>Amazon S3
53
- * User Guide</i>.</p>
54
- * <p>If the object you request doesn't exist, the error that
55
- * Amazon S3 returns depends on whether you also have the <code>s3:ListBucket</code> permission.</p>
56
- * <ul>
57
- * <li>
58
- * <p>If you have the <code>s3:ListBucket</code> permission on the bucket, Amazon S3
59
- * returns an HTTP status code <code>404 Not Found</code> error.</p>
60
- * </li>
61
- * <li>
62
- * <p>If you don’t have the <code>s3:ListBucket</code> permission, Amazon S3 returns
63
- * an HTTP status code <code>403 Forbidden</code> error.</p>
64
- * </li>
65
- * </ul>
65
+ * <code>If-Match</code> condition evaluates to <code>true</code>, and;</p>
66
66
  * </li>
67
67
  * <li>
68
68
  * <p>
69
- * <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">
70
- * <code>CreateSession</code>
71
- * </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.
72
- * 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">
73
- * <code>CreateSession</code>
74
- * </a>.</p>
69
+ * <code>If-Unmodified-Since</code> condition evaluates to
70
+ * <code>false</code>;</p>
75
71
  * </li>
76
72
  * </ul>
77
- * </dd>
78
- * <dt>Encryption</dt>
79
- * <dd>
80
- * <note>
81
- * <p>Encryption request headers, like <code>x-amz-server-side-encryption</code>,
82
- * should not be sent for <code>HEAD</code> requests if your object uses server-side
83
- * encryption with Key Management Service (KMS) keys (SSE-KMS), dual-layer server-side
84
- * encryption with Amazon Web Services KMS keys (DSSE-KMS), or server-side encryption with Amazon S3
85
- * managed encryption keys (SSE-S3). The <code>x-amz-server-side-encryption</code> header is used when you <code>PUT</code> an object to S3 and want to specify the encryption method.
86
- * If you include this header in a <code>HEAD</code> request for an object that uses these types of keys,
87
- * you’ll get an HTTP <code>400 Bad Request</code> error. It's because the encryption method can't be changed when you retrieve the object.</p>
88
- * </note>
89
- * <p>If you encrypt an object by using server-side encryption with customer-provided
90
- * encryption keys (SSE-C) when you store the object in Amazon S3, then when you retrieve the
91
- * metadata from the object, you must use the following headers to provide the encryption key for the server to be able to retrieve the object's metadata. The headers are: </p>
73
+ * <p>Then Amazon S3 returns <code>200 OK</code> and the data requested.</p>
74
+ * </li>
75
+ * <li>
76
+ * <p> Consideration 2 – If both of the <code>If-None-Match</code> and
77
+ * <code>If-Modified-Since</code> headers are present in the request as
78
+ * follows:</p>
92
79
  * <ul>
93
80
  * <li>
94
81
  * <p>
95
- * <code>x-amz-server-side-encryption-customer-algorithm</code>
96
- * </p>
97
- * </li>
98
- * <li>
99
- * <p>
100
- * <code>x-amz-server-side-encryption-customer-key</code>
101
- * </p>
82
+ * <code>If-None-Match</code> condition evaluates to <code>false</code>,
83
+ * and;</p>
102
84
  * </li>
103
85
  * <li>
104
86
  * <p>
105
- * <code>x-amz-server-side-encryption-customer-key-MD5</code>
106
- * </p>
87
+ * <code>If-Modified-Since</code> condition evaluates to
88
+ * <code>true</code>;</p>
107
89
  * </li>
108
90
  * </ul>
109
- * <p>For more information about SSE-C, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/ServerSideEncryptionCustomerKeys.html">Server-Side Encryption
110
- * (Using Customer-Provided Encryption Keys)</a> in the <i>Amazon S3
111
- * User Guide</i>.</p>
112
- * <note>
113
- * <p>
114
- * <b>Directory bucket permissions</b> - For directory buckets, only server-side encryption with Amazon S3 managed keys (SSE-S3) (<code>AES256</code>) is supported.</p>
115
- * </note>
116
- * </dd>
117
- * <dt>Versioning</dt>
118
- * <dd>
119
- * <ul>
120
- * <li>
121
- * <p>If the current version of the object is a delete marker, Amazon S3 behaves as if the object was deleted and includes <code>x-amz-delete-marker: true</code> in the response.</p>
122
- * </li>
123
- * <li>
124
- * <p>If the specified version is a delete marker, the response returns a <code>405 Method Not Allowed</code> error and the <code>Last-Modified: timestamp</code> response header.</p>
125
- * </li>
126
- * </ul>
127
- * <note>
128
- * <ul>
129
- * <li>
130
- * <p>
131
- * <b>Directory buckets</b> - Delete marker is not supported by directory buckets.</p>
132
- * </li>
133
- * <li>
134
- * <p>
135
- * <b>Directory buckets</b> - S3 Versioning isn't enabled and supported for directory buckets. For this API operation, only the <code>null</code> value of the version ID is supported by directory buckets. You can only specify <code>null</code>
136
- * to the <code>versionId</code> query parameter in the request.</p>
137
- * </li>
138
- * </ul>
139
- * </note>
140
- * </dd>
141
- * <dt>HTTP Host header syntax</dt>
142
- * <dd>
143
- * <p>
144
- * <b>Directory buckets </b> - The HTTP Host header syntax is <code>
145
- * <i>Bucket_name</i>.s3express-<i>az_id</i>.<i>region</i>.amazonaws.com</code>.</p>
146
- * </dd>
147
- * </dl>
91
+ * <p>Then Amazon S3 returns the <code>304 Not Modified</code> response code.</p>
92
+ * </li>
93
+ * </ul>
94
+ *
95
+ * <p>For more information about conditional requests, see <a href="https://tools.ietf.org/html/rfc7232">RFC 7232</a>.</p>
96
+ *
97
+ * <p>
98
+ * <b>Permissions</b>
99
+ * </p>
100
+ * <p>You need the relevant read object (or version) permission for this operation. For more
101
+ * information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/using-with-s3-actions.html">Specifying Permissions
102
+ * in a Policy</a>. If the object you request does not exist, the error Amazon S3 returns
103
+ * depends on whether you also have the s3:ListBucket permission.</p>
104
+ * <ul>
105
+ * <li>
106
+ * <p>If you have the <code>s3:ListBucket</code> permission on the bucket, Amazon S3 returns
107
+ * an HTTP status code 404 ("no such key") error.</p>
108
+ * </li>
109
+ * <li>
110
+ * <p>If you don’t have the <code>s3:ListBucket</code> permission, Amazon S3 returns an HTTP
111
+ * status code 403 ("access denied") error.</p>
112
+ * </li>
113
+ * </ul>
114
+ *
148
115
  * <p>The following actions are related to <code>HeadObject</code>:</p>
149
116
  * <ul>
150
117
  * <li>
@@ -164,119 +131,23 @@ export interface HeadObjectCommandOutput extends HeadObjectOutput, __MetadataBea
164
131
  * import { S3Client, HeadObjectCommand } from "@aws-sdk/client-s3"; // ES Modules import
165
132
  * // const { S3Client, HeadObjectCommand } = require("@aws-sdk/client-s3"); // CommonJS import
166
133
  * const client = new S3Client(config);
167
- * const input = { // HeadObjectRequest
168
- * Bucket: "STRING_VALUE", // required
169
- * IfMatch: "STRING_VALUE",
170
- * IfModifiedSince: new Date("TIMESTAMP"),
171
- * IfNoneMatch: "STRING_VALUE",
172
- * IfUnmodifiedSince: new Date("TIMESTAMP"),
173
- * Key: "STRING_VALUE", // required
174
- * Range: "STRING_VALUE",
175
- * VersionId: "STRING_VALUE",
176
- * SSECustomerAlgorithm: "STRING_VALUE",
177
- * SSECustomerKey: "STRING_VALUE",
178
- * SSECustomerKeyMD5: "STRING_VALUE",
179
- * RequestPayer: "requester",
180
- * PartNumber: Number("int"),
181
- * ExpectedBucketOwner: "STRING_VALUE",
182
- * ChecksumMode: "ENABLED",
183
- * };
184
134
  * const command = new HeadObjectCommand(input);
185
135
  * const response = await client.send(command);
186
- * // { // HeadObjectOutput
187
- * // DeleteMarker: true || false,
188
- * // AcceptRanges: "STRING_VALUE",
189
- * // Expiration: "STRING_VALUE",
190
- * // Restore: "STRING_VALUE",
191
- * // ArchiveStatus: "ARCHIVE_ACCESS" || "DEEP_ARCHIVE_ACCESS",
192
- * // LastModified: new Date("TIMESTAMP"),
193
- * // ContentLength: Number("long"),
194
- * // ChecksumCRC32: "STRING_VALUE",
195
- * // ChecksumCRC32C: "STRING_VALUE",
196
- * // ChecksumSHA1: "STRING_VALUE",
197
- * // ChecksumSHA256: "STRING_VALUE",
198
- * // ETag: "STRING_VALUE",
199
- * // MissingMeta: Number("int"),
200
- * // VersionId: "STRING_VALUE",
201
- * // CacheControl: "STRING_VALUE",
202
- * // ContentDisposition: "STRING_VALUE",
203
- * // ContentEncoding: "STRING_VALUE",
204
- * // ContentLanguage: "STRING_VALUE",
205
- * // ContentType: "STRING_VALUE",
206
- * // Expires: new Date("TIMESTAMP"),
207
- * // WebsiteRedirectLocation: "STRING_VALUE",
208
- * // ServerSideEncryption: "AES256" || "aws:kms" || "aws:kms:dsse",
209
- * // Metadata: { // Metadata
210
- * // "<keys>": "STRING_VALUE",
211
- * // },
212
- * // SSECustomerAlgorithm: "STRING_VALUE",
213
- * // SSECustomerKeyMD5: "STRING_VALUE",
214
- * // SSEKMSKeyId: "STRING_VALUE",
215
- * // BucketKeyEnabled: true || false,
216
- * // StorageClass: "STANDARD" || "REDUCED_REDUNDANCY" || "STANDARD_IA" || "ONEZONE_IA" || "INTELLIGENT_TIERING" || "GLACIER" || "DEEP_ARCHIVE" || "OUTPOSTS" || "GLACIER_IR" || "SNOW" || "EXPRESS_ONEZONE",
217
- * // RequestCharged: "requester",
218
- * // ReplicationStatus: "COMPLETE" || "PENDING" || "FAILED" || "REPLICA" || "COMPLETED",
219
- * // PartsCount: Number("int"),
220
- * // ObjectLockMode: "GOVERNANCE" || "COMPLIANCE",
221
- * // ObjectLockRetainUntilDate: new Date("TIMESTAMP"),
222
- * // ObjectLockLegalHoldStatus: "ON" || "OFF",
223
- * // };
224
- *
225
136
  * ```
226
137
  *
227
- * @param HeadObjectCommandInput - {@link HeadObjectCommandInput}
228
- * @returns {@link HeadObjectCommandOutput}
229
138
  * @see {@link HeadObjectCommandInput} for command's `input` shape.
230
139
  * @see {@link HeadObjectCommandOutput} for command's `response` shape.
231
140
  * @see {@link S3ClientResolvedConfig | config} for S3Client's `config` shape.
232
141
  *
233
- * @throws {@link NotFound} (client fault)
234
- * <p>The specified content does not exist.</p>
235
- *
236
- * @throws {@link S3ServiceException}
237
- * <p>Base exception class for all service exceptions from S3 service.</p>
238
- *
239
- * @example To retrieve metadata of an object without returning the object itself
240
- * ```javascript
241
- * // The following example retrieves an object metadata.
242
- * const input = {
243
- * "Bucket": "examplebucket",
244
- * "Key": "HappyFace.jpg"
245
- * };
246
- * const command = new HeadObjectCommand(input);
247
- * const response = await client.send(command);
248
- * /* response ==
249
- * {
250
- * "AcceptRanges": "bytes",
251
- * "ContentLength": "3191",
252
- * "ContentType": "image/jpeg",
253
- * "ETag": "\"6805f2cfc46c0f04559748bb039d69ae\"",
254
- * "LastModified": "Thu, 15 Dec 2016 01:19:41 GMT",
255
- * "Metadata": {},
256
- * "VersionId": "null"
257
- * }
258
- * *\/
259
- * // example id: to-retrieve-metadata-of-an-object-without-returning-the-object-itself-1481834820480
260
- * ```
261
- *
262
142
  */
263
143
  export declare class HeadObjectCommand extends $Command<HeadObjectCommandInput, HeadObjectCommandOutput, S3ClientResolvedConfig> {
264
144
  readonly input: HeadObjectCommandInput;
265
145
  static getEndpointParameterInstructions(): EndpointParameterInstructions;
266
- /**
267
- * @public
268
- */
269
146
  constructor(input: HeadObjectCommandInput);
270
147
  /**
271
148
  * @internal
272
149
  */
273
150
  resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: S3ClientResolvedConfig, options?: __HttpHandlerOptions): Handler<HeadObjectCommandInput, HeadObjectCommandOutput>;
274
- /**
275
- * @internal
276
- */
277
151
  private serialize;
278
- /**
279
- * @internal
280
- */
281
152
  private deserialize;
282
153
  }