@nocobase/plugin-file-manager 1.6.0-beta.8 → 1.6.0

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 (563) hide show
  1. package/dist/client/index.js +1 -1
  2. package/dist/externalVersion.js +9 -7
  3. package/dist/locale/it-IT.json +22 -0
  4. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/auth/httpAuthSchemeProvider.js +127 -0
  5. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/endpoint/endpointResolver.js +23 -2
  6. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/endpoint/ruleset.js +3 -3
  7. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/index.js +34520 -31
  8. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/runtimeConfig.browser.js +12 -18
  9. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/runtimeConfig.js +35 -28
  10. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/runtimeConfig.shared.js +40 -16
  11. package/dist/node_modules/@aws-sdk/client-s3/dist-es/S3.js +107 -1302
  12. package/dist/node_modules/@aws-sdk/client-s3/dist-es/S3Client.js +39 -21
  13. package/dist/node_modules/@aws-sdk/client-s3/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
  14. package/dist/node_modules/@aws-sdk/client-s3/dist-es/auth/httpAuthSchemeProvider.js +123 -0
  15. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/AbortMultipartUploadCommand.js +27 -47
  16. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/CompleteMultipartUploadCommand.js +27 -48
  17. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/CopyObjectCommand.js +29 -48
  18. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/CreateBucketCommand.js +29 -49
  19. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/CreateBucketMetadataTableConfigurationCommand.js +31 -0
  20. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/CreateMultipartUploadCommand.js +28 -47
  21. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/CreateSessionCommand.js +29 -0
  22. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketAnalyticsConfigurationCommand.js +25 -47
  23. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketCommand.js +25 -47
  24. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketCorsCommand.js +25 -47
  25. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketEncryptionCommand.js +25 -47
  26. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketIntelligentTieringConfigurationCommand.js +25 -47
  27. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketInventoryConfigurationCommand.js +25 -47
  28. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketLifecycleCommand.js +25 -47
  29. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketMetadataTableConfigurationCommand.js +26 -0
  30. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketMetricsConfigurationCommand.js +25 -47
  31. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketOwnershipControlsCommand.js +25 -47
  32. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketPolicyCommand.js +25 -47
  33. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketReplicationCommand.js +25 -47
  34. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketTaggingCommand.js +25 -47
  35. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketWebsiteCommand.js +25 -47
  36. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteObjectCommand.js +27 -47
  37. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteObjectTaggingCommand.js +26 -47
  38. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteObjectsCommand.js +29 -51
  39. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeletePublicAccessBlockCommand.js +25 -47
  40. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketAccelerateConfigurationCommand.js +27 -47
  41. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketAclCommand.js +27 -47
  42. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketAnalyticsConfigurationCommand.js +27 -47
  43. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketCorsCommand.js +27 -47
  44. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketEncryptionCommand.js +28 -47
  45. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketIntelligentTieringConfigurationCommand.js +27 -47
  46. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketInventoryConfigurationCommand.js +28 -47
  47. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketLifecycleConfigurationCommand.js +27 -47
  48. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketLocationCommand.js +27 -47
  49. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketLoggingCommand.js +27 -47
  50. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketMetadataTableConfigurationCommand.js +28 -0
  51. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketMetricsConfigurationCommand.js +27 -47
  52. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketNotificationConfigurationCommand.js +27 -47
  53. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketOwnershipControlsCommand.js +27 -47
  54. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketPolicyCommand.js +27 -47
  55. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketPolicyStatusCommand.js +27 -47
  56. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketReplicationCommand.js +27 -47
  57. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketRequestPaymentCommand.js +27 -47
  58. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketTaggingCommand.js +27 -47
  59. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketVersioningCommand.js +27 -47
  60. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketWebsiteCommand.js +27 -47
  61. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetObjectAclCommand.js +27 -47
  62. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetObjectAttributesCommand.js +28 -48
  63. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetObjectCommand.js +31 -51
  64. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetObjectLegalHoldCommand.js +26 -47
  65. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetObjectLockConfigurationCommand.js +26 -47
  66. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetObjectRetentionCommand.js +26 -47
  67. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetObjectTaggingCommand.js +26 -47
  68. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetObjectTorrentCommand.js +25 -47
  69. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetPublicAccessBlockCommand.js +27 -47
  70. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/HeadBucketCommand.js +26 -47
  71. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/HeadObjectCommand.js +29 -47
  72. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/ListBucketAnalyticsConfigurationsCommand.js +27 -47
  73. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/ListBucketIntelligentTieringConfigurationsCommand.js +27 -47
  74. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/ListBucketInventoryConfigurationsCommand.js +28 -47
  75. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/ListBucketMetricsConfigurationsCommand.js +26 -47
  76. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/ListBucketsCommand.js +23 -46
  77. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/ListDirectoryBucketsCommand.js +27 -0
  78. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/ListMultipartUploadsCommand.js +27 -47
  79. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/ListObjectVersionsCommand.js +27 -47
  80. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/ListObjectsCommand.js +27 -47
  81. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/ListObjectsV2Command.js +27 -47
  82. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/ListPartsCommand.js +29 -48
  83. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketAccelerateConfigurationCommand.js +28 -51
  84. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketAclCommand.js +28 -51
  85. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketAnalyticsConfigurationCommand.js +25 -47
  86. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketCorsCommand.js +28 -51
  87. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketEncryptionCommand.js +29 -51
  88. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketIntelligentTieringConfigurationCommand.js +25 -47
  89. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketInventoryConfigurationCommand.js +26 -47
  90. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketLifecycleConfigurationCommand.js +30 -51
  91. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketLoggingCommand.js +28 -51
  92. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketMetricsConfigurationCommand.js +25 -47
  93. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketNotificationConfigurationCommand.js +25 -47
  94. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketOwnershipControlsCommand.js +28 -48
  95. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketPolicyCommand.js +28 -51
  96. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketReplicationCommand.js +28 -51
  97. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketRequestPaymentCommand.js +28 -51
  98. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketTaggingCommand.js +28 -51
  99. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketVersioningCommand.js +28 -51
  100. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketWebsiteCommand.js +28 -51
  101. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutObjectAclCommand.js +30 -51
  102. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutObjectCommand.js +33 -54
  103. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutObjectLegalHoldCommand.js +29 -51
  104. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutObjectLockConfigurationCommand.js +29 -51
  105. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutObjectRetentionCommand.js +29 -51
  106. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutObjectTaggingCommand.js +29 -51
  107. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutPublicAccessBlockCommand.js +28 -51
  108. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/RestoreObjectCommand.js +30 -51
  109. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/SelectObjectContentCommand.js +31 -47
  110. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/UploadPartCommand.js +31 -51
  111. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/UploadPartCopyCommand.js +27 -48
  112. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/WriteGetObjectResponseCommand.js +24 -46
  113. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/index.js +5 -0
  114. package/dist/node_modules/@aws-sdk/client-s3/dist-es/endpoint/EndpointParameters.js +13 -0
  115. package/dist/node_modules/@aws-sdk/client-s3/dist-es/endpoint/endpointResolver.js +24 -3
  116. package/dist/node_modules/@aws-sdk/client-s3/dist-es/endpoint/ruleset.js +3 -3
  117. package/dist/node_modules/@aws-sdk/client-s3/dist-es/extensionConfiguration.js +1 -0
  118. package/dist/node_modules/@aws-sdk/client-s3/dist-es/index.js +2 -2
  119. package/dist/node_modules/@aws-sdk/client-s3/dist-es/models/S3ServiceException.js +2 -1
  120. package/dist/node_modules/@aws-sdk/client-s3/dist-es/models/models_0.js +391 -1110
  121. package/dist/node_modules/@aws-sdk/client-s3/dist-es/models/models_1.js +105 -114
  122. package/dist/node_modules/@aws-sdk/client-s3/dist-es/pagination/ListBucketsPaginator.js +4 -0
  123. package/dist/node_modules/@aws-sdk/client-s3/dist-es/pagination/ListDirectoryBucketsPaginator.js +4 -0
  124. package/dist/node_modules/@aws-sdk/client-s3/dist-es/pagination/ListObjectsV2Paginator.js +2 -30
  125. package/dist/node_modules/@aws-sdk/client-s3/dist-es/pagination/ListPartsPaginator.js +2 -30
  126. package/dist/node_modules/@aws-sdk/client-s3/dist-es/pagination/index.js +2 -0
  127. package/dist/node_modules/@aws-sdk/client-s3/dist-es/protocols/Aws_restXml.js +4931 -7143
  128. package/dist/node_modules/@aws-sdk/client-s3/dist-es/runtimeConfig.browser.js +13 -19
  129. package/dist/node_modules/@aws-sdk/client-s3/dist-es/runtimeConfig.js +36 -29
  130. package/dist/node_modules/@aws-sdk/client-s3/dist-es/runtimeConfig.shared.js +40 -16
  131. package/dist/node_modules/@aws-sdk/client-s3/dist-es/runtimeExtensions.js +21 -0
  132. package/dist/node_modules/@aws-sdk/client-s3/dist-es/waiters/waitForBucketExists.js +1 -1
  133. package/dist/node_modules/@aws-sdk/client-s3/dist-es/waiters/waitForBucketNotExists.js +1 -1
  134. package/dist/node_modules/@aws-sdk/client-s3/dist-es/waiters/waitForObjectExists.js +1 -1
  135. package/dist/node_modules/@aws-sdk/client-s3/dist-es/waiters/waitForObjectNotExists.js +1 -1
  136. package/dist/node_modules/@aws-sdk/client-s3/dist-types/S3.d.ts +138 -5312
  137. package/dist/node_modules/@aws-sdk/client-s3/dist-types/S3Client.d.ts +107 -54
  138. package/dist/node_modules/@aws-sdk/client-s3/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
  139. package/dist/node_modules/@aws-sdk/client-s3/dist-types/auth/httpAuthSchemeProvider.d.ts +69 -0
  140. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/AbortMultipartUploadCommand.d.ts +123 -19
  141. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/CompleteMultipartUploadCommand.d.ts +244 -77
  142. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/CopyObjectCommand.d.ts +310 -172
  143. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/CreateBucketCommand.d.ts +236 -136
  144. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/CreateBucketMetadataTableConfigurationCommand.d.ts +134 -0
  145. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/CreateMultipartUploadCommand.d.ts +308 -223
  146. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/CreateSessionCommand.d.ts +196 -0
  147. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketAnalyticsConfigurationCommand.d.ts +53 -18
  148. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketCommand.d.ts +101 -17
  149. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketCorsCommand.d.ts +64 -18
  150. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketEncryptionCommand.d.ts +95 -25
  151. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketIntelligentTieringConfigurationCommand.d.ts +51 -16
  152. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketInventoryConfigurationCommand.d.ts +53 -16
  153. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketLifecycleCommand.d.ts +110 -22
  154. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketMetadataTableConfigurationCommand.d.ts +95 -0
  155. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketMetricsConfigurationCommand.d.ts +56 -21
  156. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketOwnershipControlsCommand.d.ts +52 -16
  157. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketPolicyCommand.d.ts +110 -32
  158. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketReplicationCommand.d.ts +65 -19
  159. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketTaggingCommand.d.ts +61 -15
  160. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketWebsiteCommand.d.ts +61 -17
  161. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteObjectCommand.d.ts +171 -33
  162. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteObjectTaggingCommand.d.ts +91 -21
  163. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteObjectsCommand.d.ts +258 -35
  164. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeletePublicAccessBlockCommand.d.ts +52 -17
  165. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketAccelerateConfigurationCommand.d.ts +61 -22
  166. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketAclCommand.d.ts +80 -24
  167. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketAnalyticsConfigurationCommand.d.ts +90 -21
  168. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketCorsCommand.d.ts +103 -17
  169. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketEncryptionCommand.d.ts +107 -22
  170. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketIntelligentTieringConfigurationCommand.d.ts +78 -16
  171. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketInventoryConfigurationCommand.d.ts +82 -19
  172. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketLifecycleConfigurationCommand.d.ts +192 -30
  173. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketLocationCommand.d.ts +78 -19
  174. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketLoggingCommand.d.ts +74 -16
  175. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketMetadataTableConfigurationCommand.d.ts +111 -0
  176. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketMetricsConfigurationCommand.d.ts +78 -23
  177. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketNotificationConfigurationCommand.d.ts +116 -19
  178. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketOwnershipControlsCommand.d.ts +62 -17
  179. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketPolicyCommand.d.ts +128 -32
  180. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketPolicyStatusCommand.d.ts +55 -17
  181. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketReplicationCommand.d.ts +143 -19
  182. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketRequestPaymentCommand.d.ts +70 -16
  183. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketTaggingCommand.d.ts +82 -16
  184. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketVersioningCommand.d.ts +70 -16
  185. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketWebsiteCommand.d.ts +99 -17
  186. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectAclCommand.d.ts +134 -22
  187. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectAttributesCommand.d.ts +264 -127
  188. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectCommand.d.ts +329 -178
  189. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectLegalHoldCommand.d.ts +58 -16
  190. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectLockConfigurationCommand.d.ts +62 -17
  191. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectRetentionCommand.d.ts +60 -16
  192. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectTaggingCommand.d.ts +117 -23
  193. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectTorrentCommand.d.ts +71 -17
  194. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetPublicAccessBlockCommand.d.ts +58 -18
  195. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/HeadBucketCommand.d.ts +134 -29
  196. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/HeadObjectCommand.d.ts +264 -99
  197. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/ListBucketAnalyticsConfigurationsCommand.d.ts +93 -22
  198. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/ListBucketIntelligentTieringConfigurationsCommand.d.ts +83 -16
  199. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/ListBucketInventoryConfigurationsCommand.d.ts +90 -23
  200. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/ListBucketMetricsConfigurationsCommand.d.ts +84 -25
  201. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/ListBucketsCommand.d.ts +109 -17
  202. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/ListDirectoryBucketsCommand.d.ts +107 -0
  203. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/ListMultipartUploadsCommand.d.ts +293 -35
  204. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/ListObjectVersionsCommand.d.ts +162 -23
  205. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/ListObjectsCommand.d.ts +139 -16
  206. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/ListObjectsV2Command.d.ts +218 -34
  207. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/ListPartsCommand.d.ts +183 -32
  208. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketAccelerateConfigurationCommand.d.ts +58 -25
  209. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketAclCommand.d.ts +209 -132
  210. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketAnalyticsConfigurationCommand.d.ts +91 -35
  211. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketCorsCommand.d.ts +121 -21
  212. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketEncryptionCommand.d.ts +173 -35
  213. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketIntelligentTieringConfigurationCommand.d.ts +108 -74
  214. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketInventoryConfigurationCommand.d.ts +130 -82
  215. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketLifecycleConfigurationCommand.d.ts +268 -114
  216. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketLoggingCommand.d.ts +153 -65
  217. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketMetricsConfigurationCommand.d.ts +78 -24
  218. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketNotificationConfigurationCommand.d.ts +143 -36
  219. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketOwnershipControlsCommand.d.ts +63 -17
  220. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketPolicyCommand.d.ts +127 -31
  221. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketReplicationCommand.d.ts +178 -51
  222. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketRequestPaymentCommand.d.ts +71 -17
  223. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketTaggingCommand.d.ts +112 -64
  224. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketVersioningCommand.d.ts +92 -34
  225. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketWebsiteCommand.d.ts +101 -19
  226. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutObjectAclCommand.d.ts +228 -139
  227. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutObjectCommand.d.ts +417 -109
  228. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutObjectLegalHoldCommand.d.ts +62 -16
  229. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutObjectLockConfigurationCommand.d.ts +75 -23
  230. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutObjectRetentionCommand.d.ts +66 -19
  231. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutObjectTaggingCommand.d.ts +116 -87
  232. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutPublicAccessBlockCommand.d.ts +60 -24
  233. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/RestoreObjectCommand.d.ts +309 -247
  234. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/SelectObjectContentCommand.d.ts +208 -108
  235. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/UploadPartCommand.d.ts +232 -108
  236. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/UploadPartCopyCommand.d.ts +296 -133
  237. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/WriteGetObjectResponseCommand.d.ts +122 -44
  238. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/index.d.ts +5 -0
  239. package/dist/node_modules/@aws-sdk/client-s3/dist-types/endpoint/EndpointParameters.d.ts +53 -2
  240. package/dist/node_modules/@aws-sdk/client-s3/dist-types/endpoint/endpointResolver.d.ts +1 -1
  241. package/dist/node_modules/@aws-sdk/client-s3/dist-types/endpoint/ruleset.d.ts +1 -1
  242. package/dist/node_modules/@aws-sdk/client-s3/dist-types/extensionConfiguration.d.ts +9 -0
  243. package/dist/node_modules/@aws-sdk/client-s3/dist-types/index.d.ts +10 -2
  244. package/dist/node_modules/@aws-sdk/client-s3/dist-types/models/S3ServiceException.d.ts +5 -1
  245. package/dist/node_modules/@aws-sdk/client-s3/dist-types/models/models_0.d.ts +7265 -3941
  246. package/dist/node_modules/@aws-sdk/client-s3/dist-types/models/models_1.d.ts +2870 -528
  247. package/dist/node_modules/@aws-sdk/client-s3/dist-types/pagination/Interfaces.d.ts +5 -3
  248. package/dist/node_modules/@aws-sdk/client-s3/dist-types/pagination/ListBucketsPaginator.d.ts +7 -0
  249. package/dist/node_modules/@aws-sdk/client-s3/dist-types/pagination/ListDirectoryBucketsPaginator.d.ts +7 -0
  250. package/dist/node_modules/@aws-sdk/client-s3/dist-types/pagination/ListObjectsV2Paginator.d.ts +5 -2
  251. package/dist/node_modules/@aws-sdk/client-s3/dist-types/pagination/ListPartsPaginator.d.ts +5 -2
  252. package/dist/node_modules/@aws-sdk/client-s3/dist-types/pagination/index.d.ts +2 -0
  253. package/dist/node_modules/@aws-sdk/client-s3/dist-types/protocols/Aws_restXml.d.ts +791 -188
  254. package/dist/node_modules/@aws-sdk/client-s3/dist-types/runtimeConfig.browser.d.ts +53 -38
  255. package/dist/node_modules/@aws-sdk/client-s3/dist-types/runtimeConfig.d.ts +30 -15
  256. package/dist/node_modules/@aws-sdk/client-s3/dist-types/runtimeConfig.native.d.ts +52 -37
  257. package/dist/node_modules/@aws-sdk/client-s3/dist-types/runtimeConfig.shared.d.ts +16 -8
  258. package/dist/node_modules/@aws-sdk/client-s3/dist-types/runtimeExtensions.d.ts +17 -0
  259. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/S3.d.ts +108 -2
  260. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/S3Client.d.ts +94 -52
  261. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +32 -0
  262. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +55 -0
  263. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/AbortMultipartUploadCommand.d.ts +34 -24
  264. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/CompleteMultipartUploadCommand.d.ts +34 -24
  265. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/CopyObjectCommand.d.ts +36 -23
  266. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/CreateBucketCommand.d.ts +36 -23
  267. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/CreateBucketMetadataTableConfigurationCommand.d.ts +47 -0
  268. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/CreateMultipartUploadCommand.d.ts +34 -24
  269. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/CreateSessionCommand.d.ts +47 -0
  270. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketAnalyticsConfigurationCommand.d.ts +34 -24
  271. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketCommand.d.ts +36 -23
  272. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketCorsCommand.d.ts +36 -23
  273. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketEncryptionCommand.d.ts +34 -24
  274. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketIntelligentTieringConfigurationCommand.d.ts +34 -24
  275. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketInventoryConfigurationCommand.d.ts +34 -24
  276. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketLifecycleCommand.d.ts +34 -24
  277. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketMetadataTableConfigurationCommand.d.ts +47 -0
  278. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketMetricsConfigurationCommand.d.ts +34 -24
  279. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketOwnershipControlsCommand.d.ts +34 -24
  280. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketPolicyCommand.d.ts +36 -23
  281. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketReplicationCommand.d.ts +34 -24
  282. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketTaggingCommand.d.ts +36 -23
  283. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketWebsiteCommand.d.ts +36 -23
  284. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteObjectCommand.d.ts +36 -23
  285. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteObjectTaggingCommand.d.ts +36 -23
  286. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteObjectsCommand.d.ts +36 -23
  287. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeletePublicAccessBlockCommand.d.ts +34 -24
  288. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketAccelerateConfigurationCommand.d.ts +34 -24
  289. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketAclCommand.d.ts +36 -23
  290. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketAnalyticsConfigurationCommand.d.ts +34 -24
  291. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketCorsCommand.d.ts +36 -23
  292. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketEncryptionCommand.d.ts +36 -23
  293. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketIntelligentTieringConfigurationCommand.d.ts +34 -24
  294. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketInventoryConfigurationCommand.d.ts +34 -24
  295. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketLifecycleConfigurationCommand.d.ts +34 -24
  296. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketLocationCommand.d.ts +36 -23
  297. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketLoggingCommand.d.ts +36 -23
  298. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketMetadataTableConfigurationCommand.d.ts +51 -0
  299. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketMetricsConfigurationCommand.d.ts +34 -24
  300. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketNotificationConfigurationCommand.d.ts +34 -24
  301. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketOwnershipControlsCommand.d.ts +34 -24
  302. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketPolicyCommand.d.ts +36 -23
  303. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketPolicyStatusCommand.d.ts +34 -24
  304. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketReplicationCommand.d.ts +34 -24
  305. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketRequestPaymentCommand.d.ts +34 -24
  306. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketTaggingCommand.d.ts +36 -23
  307. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketVersioningCommand.d.ts +36 -23
  308. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketWebsiteCommand.d.ts +36 -23
  309. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetObjectAclCommand.d.ts +36 -23
  310. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetObjectAttributesCommand.d.ts +36 -23
  311. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetObjectCommand.d.ts +41 -24
  312. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetObjectLegalHoldCommand.d.ts +36 -23
  313. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetObjectLockConfigurationCommand.d.ts +34 -24
  314. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetObjectRetentionCommand.d.ts +36 -23
  315. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetObjectTaggingCommand.d.ts +36 -23
  316. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetObjectTorrentCommand.d.ts +44 -24
  317. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetPublicAccessBlockCommand.d.ts +34 -24
  318. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/HeadBucketCommand.d.ts +40 -25
  319. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/HeadObjectCommand.d.ts +36 -23
  320. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/ListBucketAnalyticsConfigurationsCommand.d.ts +34 -24
  321. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/ListBucketIntelligentTieringConfigurationsCommand.d.ts +34 -24
  322. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/ListBucketInventoryConfigurationsCommand.d.ts +34 -24
  323. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/ListBucketMetricsConfigurationsCommand.d.ts +34 -24
  324. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/ListBucketsCommand.d.ts +38 -25
  325. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/ListDirectoryBucketsCommand.d.ts +51 -0
  326. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/ListMultipartUploadsCommand.d.ts +34 -24
  327. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/ListObjectVersionsCommand.d.ts +36 -23
  328. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/ListObjectsCommand.d.ts +36 -23
  329. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/ListObjectsV2Command.d.ts +36 -23
  330. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/ListPartsCommand.d.ts +36 -23
  331. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketAccelerateConfigurationCommand.d.ts +34 -24
  332. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketAclCommand.d.ts +36 -23
  333. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketAnalyticsConfigurationCommand.d.ts +34 -24
  334. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketCorsCommand.d.ts +37 -24
  335. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketEncryptionCommand.d.ts +37 -24
  336. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketIntelligentTieringConfigurationCommand.d.ts +35 -25
  337. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketInventoryConfigurationCommand.d.ts +35 -25
  338. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketLifecycleConfigurationCommand.d.ts +39 -25
  339. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketLoggingCommand.d.ts +37 -24
  340. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketMetricsConfigurationCommand.d.ts +35 -25
  341. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketNotificationConfigurationCommand.d.ts +35 -25
  342. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketOwnershipControlsCommand.d.ts +35 -25
  343. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketPolicyCommand.d.ts +37 -24
  344. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketReplicationCommand.d.ts +35 -25
  345. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketRequestPaymentCommand.d.ts +35 -25
  346. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketTaggingCommand.d.ts +37 -24
  347. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketVersioningCommand.d.ts +37 -24
  348. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketWebsiteCommand.d.ts +37 -24
  349. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutObjectAclCommand.d.ts +37 -24
  350. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutObjectCommand.d.ts +42 -30
  351. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutObjectLegalHoldCommand.d.ts +37 -24
  352. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutObjectLockConfigurationCommand.d.ts +35 -25
  353. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutObjectRetentionCommand.d.ts +36 -23
  354. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutObjectTaggingCommand.d.ts +36 -23
  355. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutPublicAccessBlockCommand.d.ts +34 -24
  356. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/RestoreObjectCommand.d.ts +36 -23
  357. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/SelectObjectContentCommand.d.ts +36 -23
  358. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/UploadPartCommand.d.ts +41 -29
  359. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/UploadPartCopyCommand.d.ts +36 -23
  360. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/WriteGetObjectResponseCommand.d.ts +41 -30
  361. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/index.d.ts +5 -0
  362. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +52 -5
  363. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/endpoint/endpointResolver.d.ts +1 -1
  364. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/endpoint/ruleset.d.ts +1 -1
  365. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/extensionConfiguration.d.ts +9 -0
  366. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/index.d.ts +5 -2
  367. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/models/S3ServiceException.d.ts +3 -1
  368. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/models/models_0.d.ts +1380 -1968
  369. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/models/models_1.d.ts +526 -265
  370. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/pagination/Interfaces.d.ts +2 -3
  371. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/pagination/ListBucketsPaginator.d.ts +11 -0
  372. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/pagination/ListDirectoryBucketsPaginator.d.ts +11 -0
  373. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/pagination/ListObjectsV2Paginator.d.ts +4 -4
  374. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/pagination/ListPartsPaginator.d.ts +4 -4
  375. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/pagination/index.d.ts +2 -0
  376. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/protocols/Aws_restXml.d.ts +248 -188
  377. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/runtimeConfig.browser.d.ts +104 -71
  378. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/runtimeConfig.d.ts +67 -35
  379. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/runtimeConfig.native.d.ts +120 -66
  380. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/runtimeConfig.shared.d.ts +21 -10
  381. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/runtimeExtensions.d.ts +11 -0
  382. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/waiters/waitForBucketExists.d.ts +1 -1
  383. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/waiters/waitForBucketNotExists.d.ts +1 -1
  384. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/waiters/waitForObjectExists.d.ts +1 -1
  385. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/waiters/waitForObjectNotExists.d.ts +1 -1
  386. package/dist/node_modules/@aws-sdk/client-s3/dist-types/waiters/waitForBucketExists.d.ts +1 -1
  387. package/dist/node_modules/@aws-sdk/client-s3/dist-types/waiters/waitForBucketNotExists.d.ts +1 -1
  388. package/dist/node_modules/@aws-sdk/client-s3/dist-types/waiters/waitForObjectExists.d.ts +1 -1
  389. package/dist/node_modules/@aws-sdk/client-s3/dist-types/waiters/waitForObjectNotExists.d.ts +1 -1
  390. package/dist/node_modules/@aws-sdk/client-s3/package.json +1 -1
  391. package/dist/node_modules/iconv-lite/.github/dependabot.yml +11 -0
  392. package/dist/node_modules/iconv-lite/.idea/codeStyles/Project.xml +47 -0
  393. package/dist/node_modules/iconv-lite/.idea/codeStyles/codeStyleConfig.xml +5 -0
  394. package/dist/node_modules/iconv-lite/.idea/iconv-lite.iml +12 -0
  395. package/dist/node_modules/iconv-lite/.idea/inspectionProfiles/Project_Default.xml +6 -0
  396. package/dist/node_modules/iconv-lite/.idea/modules.xml +8 -0
  397. package/dist/node_modules/iconv-lite/.idea/vcs.xml +6 -0
  398. package/dist/node_modules/iconv-lite/LICENSE +21 -0
  399. package/dist/node_modules/iconv-lite/encodings/dbcs-codec.js +597 -0
  400. package/dist/node_modules/iconv-lite/encodings/dbcs-data.js +188 -0
  401. package/dist/node_modules/iconv-lite/encodings/index.js +23 -0
  402. package/dist/node_modules/iconv-lite/encodings/internal.js +198 -0
  403. package/dist/node_modules/iconv-lite/encodings/sbcs-codec.js +72 -0
  404. package/dist/node_modules/iconv-lite/encodings/sbcs-data-generated.js +451 -0
  405. package/dist/node_modules/iconv-lite/encodings/sbcs-data.js +179 -0
  406. package/dist/node_modules/iconv-lite/encodings/tables/big5-added.json +122 -0
  407. package/dist/node_modules/iconv-lite/encodings/tables/cp936.json +264 -0
  408. package/dist/node_modules/iconv-lite/encodings/tables/cp949.json +273 -0
  409. package/dist/node_modules/iconv-lite/encodings/tables/cp950.json +177 -0
  410. package/dist/node_modules/iconv-lite/encodings/tables/eucjp.json +182 -0
  411. package/dist/node_modules/iconv-lite/encodings/tables/gb18030-ranges.json +1 -0
  412. package/dist/node_modules/iconv-lite/encodings/tables/gbk-added.json +56 -0
  413. package/dist/node_modules/iconv-lite/encodings/tables/shiftjis.json +125 -0
  414. package/dist/node_modules/iconv-lite/encodings/utf16.js +197 -0
  415. package/dist/node_modules/iconv-lite/encodings/utf32.js +319 -0
  416. package/dist/node_modules/iconv-lite/encodings/utf7.js +290 -0
  417. package/dist/node_modules/iconv-lite/lib/bom-handling.js +52 -0
  418. package/dist/node_modules/iconv-lite/lib/index.d.ts +41 -0
  419. package/dist/node_modules/iconv-lite/lib/index.js +1 -0
  420. package/dist/node_modules/iconv-lite/lib/streams.js +109 -0
  421. package/dist/node_modules/iconv-lite/package.json +1 -0
  422. package/dist/node_modules/mime-match/package.json +1 -1
  423. package/dist/node_modules/mkdirp/package.json +1 -1
  424. package/dist/node_modules/multer-aliyun-oss/index.js +2 -2
  425. package/dist/node_modules/multer-aliyun-oss/package.json +1 -1
  426. package/dist/node_modules/multer-cos/index.js +1 -1
  427. package/dist/node_modules/multer-cos/package.json +1 -1
  428. package/dist/node_modules/multer-s3/index.js +40813 -33
  429. package/dist/node_modules/multer-s3/package.json +1 -1
  430. package/dist/server/FileModel.js +8 -3
  431. package/dist/server/actions/attachments.d.ts +11 -1
  432. package/dist/server/actions/attachments.js +8 -6
  433. package/dist/server/collections/attachments.js +2 -2
  434. package/dist/server/collections/storages.js +1 -1
  435. package/dist/server/index.d.ts +1 -1
  436. package/dist/server/index.js +0 -2
  437. package/dist/server/migrations/20250225225034-increase-url-length.d.ts +14 -0
  438. package/dist/server/migrations/20250225225034-increase-url-length.js +105 -0
  439. package/dist/server/server.d.ts +15 -4
  440. package/dist/server/server.js +29 -29
  441. package/dist/server/storages/ali-oss.d.ts +3 -3
  442. package/dist/server/storages/ali-oss.js +10 -10
  443. package/dist/server/storages/index.d.ts +13 -12
  444. package/dist/server/storages/index.js +8 -1
  445. package/dist/server/storages/local.d.ts +5 -3
  446. package/dist/server/storages/local.js +16 -12
  447. package/dist/server/storages/s3.d.ts +4 -4
  448. package/dist/server/storages/s3.js +21 -21
  449. package/dist/server/storages/tx-cos.d.ts +4 -4
  450. package/dist/server/storages/tx-cos.js +16 -16
  451. package/dist/server/utils.js +5 -4
  452. package/package.json +4 -3
  453. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/S3.js +0 -1402
  454. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/S3Client.js +0 -47
  455. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/AbortMultipartUploadCommand.js +0 -52
  456. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/CompleteMultipartUploadCommand.js +0 -56
  457. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/CopyObjectCommand.js +0 -56
  458. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/CreateBucketCommand.js +0 -55
  459. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/CreateMultipartUploadCommand.js +0 -54
  460. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/DeleteBucketAnalyticsConfigurationCommand.js +0 -52
  461. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/DeleteBucketCommand.js +0 -52
  462. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/DeleteBucketCorsCommand.js +0 -52
  463. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/DeleteBucketEncryptionCommand.js +0 -52
  464. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/DeleteBucketIntelligentTieringConfigurationCommand.js +0 -52
  465. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/DeleteBucketInventoryConfigurationCommand.js +0 -52
  466. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/DeleteBucketLifecycleCommand.js +0 -52
  467. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/DeleteBucketMetricsConfigurationCommand.js +0 -52
  468. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/DeleteBucketOwnershipControlsCommand.js +0 -52
  469. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/DeleteBucketPolicyCommand.js +0 -52
  470. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/DeleteBucketReplicationCommand.js +0 -52
  471. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/DeleteBucketTaggingCommand.js +0 -52
  472. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/DeleteBucketWebsiteCommand.js +0 -52
  473. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/DeleteObjectCommand.js +0 -52
  474. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/DeleteObjectTaggingCommand.js +0 -52
  475. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/DeleteObjectsCommand.js +0 -58
  476. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/DeletePublicAccessBlockCommand.js +0 -52
  477. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetBucketAccelerateConfigurationCommand.js +0 -52
  478. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetBucketAclCommand.js +0 -52
  479. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetBucketAnalyticsConfigurationCommand.js +0 -52
  480. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetBucketCorsCommand.js +0 -52
  481. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetBucketEncryptionCommand.js +0 -52
  482. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetBucketIntelligentTieringConfigurationCommand.js +0 -52
  483. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetBucketInventoryConfigurationCommand.js +0 -52
  484. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetBucketLifecycleConfigurationCommand.js +0 -52
  485. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetBucketLocationCommand.js +0 -52
  486. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetBucketLoggingCommand.js +0 -52
  487. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetBucketMetricsConfigurationCommand.js +0 -52
  488. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetBucketNotificationConfigurationCommand.js +0 -52
  489. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetBucketOwnershipControlsCommand.js +0 -52
  490. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetBucketPolicyCommand.js +0 -52
  491. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetBucketPolicyStatusCommand.js +0 -52
  492. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetBucketReplicationCommand.js +0 -52
  493. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetBucketRequestPaymentCommand.js +0 -52
  494. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetBucketTaggingCommand.js +0 -52
  495. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetBucketVersioningCommand.js +0 -52
  496. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetBucketWebsiteCommand.js +0 -52
  497. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetObjectAclCommand.js +0 -52
  498. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetObjectAttributesCommand.js +0 -54
  499. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetObjectCommand.js +0 -61
  500. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetObjectLegalHoldCommand.js +0 -52
  501. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetObjectLockConfigurationCommand.js +0 -52
  502. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetObjectRetentionCommand.js +0 -52
  503. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetObjectTaggingCommand.js +0 -52
  504. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetObjectTorrentCommand.js +0 -52
  505. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetPublicAccessBlockCommand.js +0 -52
  506. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/HeadBucketCommand.js +0 -52
  507. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/HeadObjectCommand.js +0 -54
  508. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/ListBucketAnalyticsConfigurationsCommand.js +0 -52
  509. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/ListBucketIntelligentTieringConfigurationsCommand.js +0 -52
  510. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/ListBucketInventoryConfigurationsCommand.js +0 -52
  511. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/ListBucketMetricsConfigurationsCommand.js +0 -52
  512. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/ListBucketsCommand.js +0 -51
  513. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/ListMultipartUploadsCommand.js +0 -52
  514. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/ListObjectVersionsCommand.js +0 -52
  515. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/ListObjectsCommand.js +0 -52
  516. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/ListObjectsV2Command.js +0 -52
  517. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/ListPartsCommand.js +0 -54
  518. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutBucketAccelerateConfigurationCommand.js +0 -58
  519. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutBucketAclCommand.js +0 -58
  520. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutBucketAnalyticsConfigurationCommand.js +0 -52
  521. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutBucketCorsCommand.js +0 -58
  522. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutBucketEncryptionCommand.js +0 -58
  523. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutBucketIntelligentTieringConfigurationCommand.js +0 -52
  524. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutBucketInventoryConfigurationCommand.js +0 -52
  525. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutBucketLifecycleConfigurationCommand.js +0 -58
  526. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutBucketLoggingCommand.js +0 -58
  527. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutBucketMetricsConfigurationCommand.js +0 -52
  528. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutBucketNotificationConfigurationCommand.js +0 -52
  529. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutBucketOwnershipControlsCommand.js +0 -54
  530. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutBucketPolicyCommand.js +0 -58
  531. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutBucketReplicationCommand.js +0 -58
  532. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutBucketRequestPaymentCommand.js +0 -58
  533. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutBucketTaggingCommand.js +0 -58
  534. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutBucketVersioningCommand.js +0 -58
  535. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutBucketWebsiteCommand.js +0 -58
  536. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutObjectAclCommand.js +0 -58
  537. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutObjectCommand.js +0 -62
  538. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutObjectLegalHoldCommand.js +0 -58
  539. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutObjectLockConfigurationCommand.js +0 -58
  540. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutObjectRetentionCommand.js +0 -58
  541. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutObjectTaggingCommand.js +0 -58
  542. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutPublicAccessBlockCommand.js +0 -58
  543. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/RestoreObjectCommand.js +0 -58
  544. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/SelectObjectContentCommand.js +0 -54
  545. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/UploadPartCommand.js +0 -60
  546. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/UploadPartCopyCommand.js +0 -56
  547. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/WriteGetObjectResponseCommand.js +0 -52
  548. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/index.js +0 -96
  549. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/endpoint/EndpointParameters.js +0 -15
  550. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/models/S3ServiceException.js +0 -11
  551. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/models/index.js +0 -5
  552. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/models/models_0.js +0 -1569
  553. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/models/models_1.js +0 -250
  554. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/pagination/Interfaces.js +0 -2
  555. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/pagination/ListObjectsV2Paginator.js +0 -36
  556. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/pagination/ListPartsPaginator.js +0 -36
  557. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/pagination/index.js +0 -6
  558. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/protocols/Aws_restXml.js +0 -10102
  559. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/waiters/index.js +0 -7
  560. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/waiters/waitForBucketExists.js +0 -31
  561. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/waiters/waitForBucketNotExists.js +0 -30
  562. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/waiters/waitForObjectExists.js +0 -31
  563. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/waiters/waitForObjectNotExists.js +0 -30
@@ -1,41 +1,57 @@
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";
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { PutBucketAnalyticsConfigurationRequest } from "../models/models_0";
5
4
  import { S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3Client";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link PutBucketAnalyticsConfigurationCommand}.
14
+ */
6
15
  export interface PutBucketAnalyticsConfigurationCommandInput extends PutBucketAnalyticsConfigurationRequest {
7
16
  }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link PutBucketAnalyticsConfigurationCommand}.
21
+ */
8
22
  export interface PutBucketAnalyticsConfigurationCommandOutput extends __MetadataBearer {
9
23
  }
24
+ declare const PutBucketAnalyticsConfigurationCommand_base: {
25
+ new (input: PutBucketAnalyticsConfigurationCommandInput): import("@smithy/smithy-client").CommandImpl<PutBucketAnalyticsConfigurationCommandInput, PutBucketAnalyticsConfigurationCommandOutput, S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: PutBucketAnalyticsConfigurationCommandInput): import("@smithy/smithy-client").CommandImpl<PutBucketAnalyticsConfigurationCommandInput, PutBucketAnalyticsConfigurationCommandOutput, S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
10
29
  /**
11
- * <p>Sets an analytics configuration for the bucket (specified by the analytics configuration
30
+ * <note>
31
+ * <p>This operation is not supported for directory buckets.</p>
32
+ * </note>
33
+ * <p>Sets an analytics configuration for the bucket (specified by the analytics configuration
12
34
  * ID). You can have up to 1,000 analytics configurations per bucket.</p>
13
- *
14
35
  * <p>You can choose to have storage class analysis export analysis reports sent to a
15
36
  * comma-separated values (CSV) flat file. See the <code>DataExport</code> request element.
16
37
  * Reports are updated daily and are based on the object filters that you configure. When
17
38
  * selecting data export, you specify a destination bucket and an optional destination prefix
18
39
  * where the file is written. You can export the data to a destination bucket in a different
19
40
  * account. However, the destination bucket must be in the same Region as the bucket that you
20
- * are making the PUT analytics configuration to. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/analytics-storage-class.html">Amazon S3 Analytics – Storage Class
21
- * Analysis</a>. </p>
22
- *
41
+ * are making the PUT analytics configuration to. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/analytics-storage-class.html">Amazon S3
42
+ * Analytics – Storage Class Analysis</a>. </p>
23
43
  * <important>
24
44
  * <p>You must create a bucket policy on the destination bucket where the exported file is
25
45
  * written to grant permissions to Amazon S3 to write objects to the bucket. For an example
26
46
  * policy, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/example-bucket-policies.html#example-bucket-policies-use-case-9">Granting Permissions for Amazon S3 Inventory and Storage Class Analysis</a>.</p>
27
47
  * </important>
28
- *
29
48
  * <p>To use this operation, you must have permissions to perform the
30
49
  * <code>s3:PutAnalyticsConfiguration</code> action. The bucket owner has this permission
31
50
  * by default. The bucket owner can grant this permission to others. For more information
32
- * 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
33
- * Resources</a>.</p>
34
- *
35
- *
36
- * <p class="title">
37
- * <b>Special Errors</b>
38
- * </p>
51
+ * 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
52
+ * Access Permissions to Your Amazon S3 Resources</a>.</p>
53
+ * <p>
54
+ * <code>PutBucketAnalyticsConfiguration</code> has the following special errors:</p>
39
55
  * <ul>
40
56
  * <li>
41
57
  * <ul>
@@ -98,15 +114,8 @@ export interface PutBucketAnalyticsConfigurationCommandOutput extends __Metadata
98
114
  * </ul>
99
115
  * </li>
100
116
  * </ul>
101
- *
102
- *
103
- *
104
- *
105
- *
106
- *
107
- * <p class="title">
108
- * <b>Related Resources</b>
109
- * </p>
117
+ * <p>The following operations are related to
118
+ * <code>PutBucketAnalyticsConfiguration</code>:</p>
110
119
  * <ul>
111
120
  * <li>
112
121
  * <p>
@@ -130,23 +139,70 @@ export interface PutBucketAnalyticsConfigurationCommandOutput extends __Metadata
130
139
  * import { S3Client, PutBucketAnalyticsConfigurationCommand } from "@aws-sdk/client-s3"; // ES Modules import
131
140
  * // const { S3Client, PutBucketAnalyticsConfigurationCommand } = require("@aws-sdk/client-s3"); // CommonJS import
132
141
  * const client = new S3Client(config);
142
+ * const input = { // PutBucketAnalyticsConfigurationRequest
143
+ * Bucket: "STRING_VALUE", // required
144
+ * Id: "STRING_VALUE", // required
145
+ * AnalyticsConfiguration: { // AnalyticsConfiguration
146
+ * Id: "STRING_VALUE", // required
147
+ * Filter: { // AnalyticsFilter Union: only one key present
148
+ * Prefix: "STRING_VALUE",
149
+ * Tag: { // Tag
150
+ * Key: "STRING_VALUE", // required
151
+ * Value: "STRING_VALUE", // required
152
+ * },
153
+ * And: { // AnalyticsAndOperator
154
+ * Prefix: "STRING_VALUE",
155
+ * Tags: [ // TagSet
156
+ * {
157
+ * Key: "STRING_VALUE", // required
158
+ * Value: "STRING_VALUE", // required
159
+ * },
160
+ * ],
161
+ * },
162
+ * },
163
+ * StorageClassAnalysis: { // StorageClassAnalysis
164
+ * DataExport: { // StorageClassAnalysisDataExport
165
+ * OutputSchemaVersion: "V_1", // required
166
+ * Destination: { // AnalyticsExportDestination
167
+ * S3BucketDestination: { // AnalyticsS3BucketDestination
168
+ * Format: "CSV", // required
169
+ * BucketAccountId: "STRING_VALUE",
170
+ * Bucket: "STRING_VALUE", // required
171
+ * Prefix: "STRING_VALUE",
172
+ * },
173
+ * },
174
+ * },
175
+ * },
176
+ * },
177
+ * ExpectedBucketOwner: "STRING_VALUE",
178
+ * };
133
179
  * const command = new PutBucketAnalyticsConfigurationCommand(input);
134
180
  * const response = await client.send(command);
181
+ * // {};
182
+ *
135
183
  * ```
136
184
  *
185
+ * @param PutBucketAnalyticsConfigurationCommandInput - {@link PutBucketAnalyticsConfigurationCommandInput}
186
+ * @returns {@link PutBucketAnalyticsConfigurationCommandOutput}
137
187
  * @see {@link PutBucketAnalyticsConfigurationCommandInput} for command's `input` shape.
138
188
  * @see {@link PutBucketAnalyticsConfigurationCommandOutput} for command's `response` shape.
139
189
  * @see {@link S3ClientResolvedConfig | config} for S3Client's `config` shape.
140
190
  *
191
+ * @throws {@link S3ServiceException}
192
+ * <p>Base exception class for all service exceptions from S3 service.</p>
193
+ *
194
+ * @public
141
195
  */
142
- export declare class PutBucketAnalyticsConfigurationCommand extends $Command<PutBucketAnalyticsConfigurationCommandInput, PutBucketAnalyticsConfigurationCommandOutput, S3ClientResolvedConfig> {
143
- readonly input: PutBucketAnalyticsConfigurationCommandInput;
144
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
145
- constructor(input: PutBucketAnalyticsConfigurationCommandInput);
146
- /**
147
- * @internal
148
- */
149
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: S3ClientResolvedConfig, options?: __HttpHandlerOptions): Handler<PutBucketAnalyticsConfigurationCommandInput, PutBucketAnalyticsConfigurationCommandOutput>;
150
- private serialize;
151
- private deserialize;
196
+ export declare class PutBucketAnalyticsConfigurationCommand extends PutBucketAnalyticsConfigurationCommand_base {
197
+ /** @internal type navigation helper, not in runtime. */
198
+ protected static __types: {
199
+ api: {
200
+ input: PutBucketAnalyticsConfigurationRequest;
201
+ output: {};
202
+ };
203
+ sdk: {
204
+ input: PutBucketAnalyticsConfigurationCommandInput;
205
+ output: PutBucketAnalyticsConfigurationCommandOutput;
206
+ };
207
+ };
152
208
  }
@@ -1,14 +1,36 @@
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 { PutBucketCorsRequest } from "../models/models_0";
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { PutBucketCorsRequest } from "../models/models_1";
5
4
  import { S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3Client";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link PutBucketCorsCommand}.
14
+ */
6
15
  export interface PutBucketCorsCommandInput extends PutBucketCorsRequest {
7
16
  }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link PutBucketCorsCommand}.
21
+ */
8
22
  export interface PutBucketCorsCommandOutput extends __MetadataBearer {
9
23
  }
24
+ declare const PutBucketCorsCommand_base: {
25
+ new (input: PutBucketCorsCommandInput): import("@smithy/smithy-client").CommandImpl<PutBucketCorsCommandInput, PutBucketCorsCommandOutput, S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: PutBucketCorsCommandInput): import("@smithy/smithy-client").CommandImpl<PutBucketCorsCommandInput, PutBucketCorsCommandOutput, S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
10
29
  /**
11
- * <p>Sets the <code>cors</code> configuration for your bucket. If the configuration exists,
30
+ * <note>
31
+ * <p>This operation is not supported for directory buckets.</p>
32
+ * </note>
33
+ * <p>Sets the <code>cors</code> configuration for your bucket. If the configuration exists,
12
34
  * Amazon S3 replaces it.</p>
13
35
  * <p>To use this operation, you must be allowed to perform the <code>s3:PutBucketCORS</code>
14
36
  * action. By default, the bucket owner has this permission and can grant it to others.</p>
@@ -42,12 +64,9 @@ export interface PutBucketCorsCommandOutput extends __MetadataBearer {
42
64
  * </p>
43
65
  * </li>
44
66
  * </ul>
45
- * <p> For more information about CORS, go to <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/cors.html">Enabling
46
- * Cross-Origin Resource Sharing</a> in the <i>Amazon S3 User Guide</i>.</p>
47
- *
48
- * <p class="title">
49
- * <b>Related Resources</b>
50
- * </p>
67
+ * <p> For more information about CORS, go to <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/cors.html">Enabling Cross-Origin Resource Sharing</a> in
68
+ * the <i>Amazon S3 User Guide</i>.</p>
69
+ * <p>The following operations are related to <code>PutBucketCors</code>:</p>
51
70
  * <ul>
52
71
  * <li>
53
72
  * <p>
@@ -71,23 +90,104 @@ export interface PutBucketCorsCommandOutput extends __MetadataBearer {
71
90
  * import { S3Client, PutBucketCorsCommand } from "@aws-sdk/client-s3"; // ES Modules import
72
91
  * // const { S3Client, PutBucketCorsCommand } = require("@aws-sdk/client-s3"); // CommonJS import
73
92
  * const client = new S3Client(config);
93
+ * const input = { // PutBucketCorsRequest
94
+ * Bucket: "STRING_VALUE", // required
95
+ * CORSConfiguration: { // CORSConfiguration
96
+ * CORSRules: [ // CORSRules // required
97
+ * { // CORSRule
98
+ * ID: "STRING_VALUE",
99
+ * AllowedHeaders: [ // AllowedHeaders
100
+ * "STRING_VALUE",
101
+ * ],
102
+ * AllowedMethods: [ // AllowedMethods // required
103
+ * "STRING_VALUE",
104
+ * ],
105
+ * AllowedOrigins: [ // AllowedOrigins // required
106
+ * "STRING_VALUE",
107
+ * ],
108
+ * ExposeHeaders: [ // ExposeHeaders
109
+ * "STRING_VALUE",
110
+ * ],
111
+ * MaxAgeSeconds: Number("int"),
112
+ * },
113
+ * ],
114
+ * },
115
+ * ContentMD5: "STRING_VALUE",
116
+ * ChecksumAlgorithm: "CRC32" || "CRC32C" || "SHA1" || "SHA256" || "CRC64NVME",
117
+ * ExpectedBucketOwner: "STRING_VALUE",
118
+ * };
74
119
  * const command = new PutBucketCorsCommand(input);
75
120
  * const response = await client.send(command);
121
+ * // {};
122
+ *
76
123
  * ```
77
124
  *
125
+ * @param PutBucketCorsCommandInput - {@link PutBucketCorsCommandInput}
126
+ * @returns {@link PutBucketCorsCommandOutput}
78
127
  * @see {@link PutBucketCorsCommandInput} for command's `input` shape.
79
128
  * @see {@link PutBucketCorsCommandOutput} for command's `response` shape.
80
129
  * @see {@link S3ClientResolvedConfig | config} for S3Client's `config` shape.
81
130
  *
131
+ * @throws {@link S3ServiceException}
132
+ * <p>Base exception class for all service exceptions from S3 service.</p>
133
+ *
134
+ * @public
135
+ * @example To set cors configuration on a bucket.
136
+ * ```javascript
137
+ * // The following example enables PUT, POST, and DELETE requests from www.example.com, and enables GET requests from any domain.
138
+ * const input = {
139
+ * "Bucket": "",
140
+ * "CORSConfiguration": {
141
+ * "CORSRules": [
142
+ * {
143
+ * "AllowedHeaders": [
144
+ * "*"
145
+ * ],
146
+ * "AllowedMethods": [
147
+ * "PUT",
148
+ * "POST",
149
+ * "DELETE"
150
+ * ],
151
+ * "AllowedOrigins": [
152
+ * "http://www.example.com"
153
+ * ],
154
+ * "ExposeHeaders": [
155
+ * "x-amz-server-side-encryption"
156
+ * ],
157
+ * "MaxAgeSeconds": 3000
158
+ * },
159
+ * {
160
+ * "AllowedHeaders": [
161
+ * "Authorization"
162
+ * ],
163
+ * "AllowedMethods": [
164
+ * "GET"
165
+ * ],
166
+ * "AllowedOrigins": [
167
+ * "*"
168
+ * ],
169
+ * "MaxAgeSeconds": 3000
170
+ * }
171
+ * ]
172
+ * },
173
+ * "ContentMD5": ""
174
+ * };
175
+ * const command = new PutBucketCorsCommand(input);
176
+ * await client.send(command);
177
+ * // example id: to-set-cors-configuration-on-a-bucket-1483037818805
178
+ * ```
179
+ *
82
180
  */
83
- export declare class PutBucketCorsCommand extends $Command<PutBucketCorsCommandInput, PutBucketCorsCommandOutput, S3ClientResolvedConfig> {
84
- readonly input: PutBucketCorsCommandInput;
85
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
86
- constructor(input: PutBucketCorsCommandInput);
87
- /**
88
- * @internal
89
- */
90
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: S3ClientResolvedConfig, options?: __HttpHandlerOptions): Handler<PutBucketCorsCommandInput, PutBucketCorsCommandOutput>;
91
- private serialize;
92
- private deserialize;
181
+ export declare class PutBucketCorsCommand extends PutBucketCorsCommand_base {
182
+ /** @internal type navigation helper, not in runtime. */
183
+ protected static __types: {
184
+ api: {
185
+ input: PutBucketCorsRequest;
186
+ output: {};
187
+ };
188
+ sdk: {
189
+ input: PutBucketCorsCommandInput;
190
+ output: PutBucketCorsCommandOutput;
191
+ };
192
+ };
93
193
  }
@@ -1,36 +1,147 @@
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 { PutBucketEncryptionRequest } from "../models/models_0";
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { PutBucketEncryptionRequest } from "../models/models_1";
5
4
  import { S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3Client";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link PutBucketEncryptionCommand}.
14
+ */
6
15
  export interface PutBucketEncryptionCommandInput extends PutBucketEncryptionRequest {
7
16
  }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link PutBucketEncryptionCommand}.
21
+ */
8
22
  export interface PutBucketEncryptionCommandOutput extends __MetadataBearer {
9
23
  }
24
+ declare const PutBucketEncryptionCommand_base: {
25
+ new (input: PutBucketEncryptionCommandInput): import("@smithy/smithy-client").CommandImpl<PutBucketEncryptionCommandInput, PutBucketEncryptionCommandOutput, S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: PutBucketEncryptionCommandInput): import("@smithy/smithy-client").CommandImpl<PutBucketEncryptionCommandInput, PutBucketEncryptionCommandOutput, S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
10
29
  /**
11
- * <p>This action uses the <code>encryption</code> subresource to configure default
12
- * encryption and Amazon S3 Bucket Key for an existing bucket.</p>
13
- * <p>Default encryption for a bucket can use server-side encryption with Amazon S3-managed keys
14
- * (SSE-S3) or customer managed keys (SSE-KMS). If you specify default encryption
15
- * using SSE-KMS, you can also configure Amazon S3 Bucket Key. When the default encryption is SSE-KMS, if
16
- * you upload an object to the bucket and do not specify the KMS key to use for encryption, Amazon S3
17
- * uses the default Amazon Web Services managed KMS key for your account. For information about default
18
- * encryption, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/bucket-encryption.html">Amazon S3 default bucket encryption</a>
19
- * in the <i>Amazon S3 User Guide</i>. For more information about S3 Bucket Keys,
20
- * see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/bucket-key.html">Amazon S3 Bucket Keys</a> in the <i>Amazon S3 User Guide</i>.</p>
30
+ * <p>This operation configures default encryption and Amazon S3 Bucket Keys for an existing
31
+ * bucket.</p>
32
+ * <note>
33
+ * <p>
34
+ * <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>
35
+ * </code>. Virtual-hosted-style requests aren't supported.
36
+ * For more information about endpoints in Availability Zones, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/endpoint-directory-buckets-AZ.html">Regional and Zonal endpoints for directory buckets in Availability Zones</a> in the
37
+ * <i>Amazon S3 User Guide</i>. For more information about endpoints in Local Zones, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-lzs-for-directory-buckets.html">Concepts for directory buckets in Local Zones</a> in the
38
+ * <i>Amazon S3 User Guide</i>.</p>
39
+ * </note>
40
+ * <p>By default, all buckets have a default encryption configuration that uses server-side
41
+ * encryption with Amazon S3 managed keys (SSE-S3).</p>
42
+ * <note>
43
+ * <ul>
44
+ * <li>
45
+ * <p>
46
+ * <b>General purpose buckets</b>
47
+ * </p>
48
+ * <ul>
49
+ * <li>
50
+ * <p>You can optionally configure default encryption for a bucket by using
51
+ * server-side encryption with Key Management Service (KMS) keys (SSE-KMS) or dual-layer
52
+ * server-side encryption with Amazon Web Services KMS keys (DSSE-KMS). If you specify
53
+ * default encryption by using SSE-KMS, you can also configure <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/bucket-key.html">Amazon S3
54
+ * Bucket Keys</a>. For information about the bucket default encryption
55
+ * feature, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/bucket-encryption.html">Amazon S3 Bucket Default
56
+ * Encryption</a> in the <i>Amazon S3 User Guide</i>. </p>
57
+ * </li>
58
+ * <li>
59
+ * <p>If you use PutBucketEncryption to set your <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/bucket-encryption.html">default bucket
60
+ * encryption</a> to SSE-KMS, you should verify that your KMS key ID
61
+ * is correct. Amazon S3 doesn't validate the KMS key ID provided in
62
+ * PutBucketEncryption requests.</p>
63
+ * </li>
64
+ * </ul>
65
+ * </li>
66
+ * <li>
67
+ * <p>
68
+ * <b>Directory buckets </b> - You can
69
+ * optionally configure default encryption for a bucket by using server-side
70
+ * encryption with Key Management Service (KMS) keys (SSE-KMS).</p>
71
+ * <ul>
72
+ * <li>
73
+ * <p>We recommend that the bucket's default encryption uses the desired
74
+ * encryption configuration and you don't override the bucket default
75
+ * encryption in your <code>CreateSession</code> requests or <code>PUT</code>
76
+ * object requests. Then, new objects are automatically encrypted with the
77
+ * desired encryption settings.
78
+ * For more information about the encryption overriding behaviors in directory buckets, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-specifying-kms-encryption.html">Specifying server-side encryption with KMS for new object uploads</a>.</p>
79
+ * </li>
80
+ * <li>
81
+ * <p>Your SSE-KMS configuration can only support 1 <a href="https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#customer-cmk">customer managed key</a> per directory bucket's lifetime.
82
+ * The <a href="https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#aws-managed-cmk">Amazon Web Services managed key</a> (<code>aws/s3</code>) isn't supported.
83
+ * </p>
84
+ * </li>
85
+ * <li>
86
+ * <p>S3 Bucket Keys are always enabled for <code>GET</code> and <code>PUT</code> operations in a directory bucket and can’t be disabled. S3 Bucket Keys aren't supported, when you copy SSE-KMS encrypted objects from general purpose buckets
87
+ * to directory buckets, from directory buckets to general purpose buckets, or between directory buckets, through <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_CopyObject.html">CopyObject</a>, <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_UploadPartCopy.html">UploadPartCopy</a>, <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/directory-buckets-objects-Batch-Ops">the Copy operation in Batch Operations</a>, or
88
+ * <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/create-import-job">the import jobs</a>. In this case, Amazon S3 makes a call to KMS every time a copy request is made for a KMS-encrypted object.</p>
89
+ * </li>
90
+ * <li>
91
+ * <p>When you specify an <a href="https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#customer-cmk">KMS customer managed key</a> for encryption in your directory bucket, only use the key ID or key ARN. The key alias format of the KMS key isn't supported.</p>
92
+ * </li>
93
+ * <li>
94
+ * <p>For directory buckets, if you use PutBucketEncryption to set your <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/bucket-encryption.html">default bucket encryption</a> to SSE-KMS, Amazon S3 validates the
95
+ * KMS key ID provided in PutBucketEncryption requests.</p>
96
+ * </li>
97
+ * </ul>
98
+ * </li>
99
+ * </ul>
100
+ * </note>
21
101
  * <important>
22
- * <p>This action requires Amazon Web Services Signature Version 4. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/sig-v4-authenticating-requests.html"> Authenticating Requests (Amazon Web Services Signature
23
- * Version 4)</a>. </p>
102
+ * <p>If you're specifying a customer managed KMS key, we recommend using a fully
103
+ * qualified KMS key ARN. If you use a KMS key alias instead, then KMS resolves the
104
+ * key within the requester’s account. This behavior can result in data that's encrypted
105
+ * with a KMS key that belongs to the requester, and not the bucket owner.</p>
106
+ * <p>Also, this action requires Amazon Web Services Signature Version 4. For more information, see
107
+ * <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/sig-v4-authenticating-requests.html"> Authenticating
108
+ * Requests (Amazon Web Services Signature Version 4)</a>. </p>
24
109
  * </important>
25
- * <p>To use this operation, you must have permissions to perform the
26
- * <code>s3:PutEncryptionConfiguration</code> action. The bucket owner has this permission
27
- * by default. The bucket owner can grant this permission to others. For more information
28
- * 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
29
- * Resources</a> in the Amazon S3 User Guide. </p>
30
- *
31
- * <p class="title">
32
- * <b>Related Resources</b>
33
- * </p>
110
+ * <dl>
111
+ * <dt>Permissions</dt>
112
+ * <dd>
113
+ * <ul>
114
+ * <li>
115
+ * <p>
116
+ * <b>General purpose bucket permissions</b> - The
117
+ * <code>s3:PutEncryptionConfiguration</code> permission is required in a
118
+ * policy. The bucket owner has this permission by default. The bucket owner
119
+ * can grant this permission to others. For more information about permissions,
120
+ * 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 Operations</a> and <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-access-control.html">Managing Access
121
+ * Permissions to Your Amazon S3 Resources</a> in the
122
+ * <i>Amazon S3 User Guide</i>.</p>
123
+ * </li>
124
+ * <li>
125
+ * <p>
126
+ * <b>Directory bucket permissions</b> -
127
+ * To grant access to this API operation, you must have the
128
+ * <code>s3express:PutEncryptionConfiguration</code> permission in
129
+ * 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.
130
+ * 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>
131
+ * <p>To set a directory bucket default encryption with SSE-KMS, you must also
132
+ * have the <code>kms:GenerateDataKey</code> and the <code>kms:Decrypt</code>
133
+ * permissions in IAM identity-based policies and KMS key policies for the
134
+ * target KMS key.</p>
135
+ * </li>
136
+ * </ul>
137
+ * </dd>
138
+ * <dt>HTTP Host header syntax</dt>
139
+ * <dd>
140
+ * <p>
141
+ * <b>Directory buckets </b> - The HTTP Host header syntax is <code>s3express-control.<i>region-code</i>.amazonaws.com</code>.</p>
142
+ * </dd>
143
+ * </dl>
144
+ * <p>The following operations are related to <code>PutBucketEncryption</code>:</p>
34
145
  * <ul>
35
146
  * <li>
36
147
  * <p>
@@ -49,23 +160,50 @@ export interface PutBucketEncryptionCommandOutput extends __MetadataBearer {
49
160
  * import { S3Client, PutBucketEncryptionCommand } from "@aws-sdk/client-s3"; // ES Modules import
50
161
  * // const { S3Client, PutBucketEncryptionCommand } = require("@aws-sdk/client-s3"); // CommonJS import
51
162
  * const client = new S3Client(config);
163
+ * const input = { // PutBucketEncryptionRequest
164
+ * Bucket: "STRING_VALUE", // required
165
+ * ContentMD5: "STRING_VALUE",
166
+ * ChecksumAlgorithm: "CRC32" || "CRC32C" || "SHA1" || "SHA256" || "CRC64NVME",
167
+ * ServerSideEncryptionConfiguration: { // ServerSideEncryptionConfiguration
168
+ * Rules: [ // ServerSideEncryptionRules // required
169
+ * { // ServerSideEncryptionRule
170
+ * ApplyServerSideEncryptionByDefault: { // ServerSideEncryptionByDefault
171
+ * SSEAlgorithm: "AES256" || "aws:kms" || "aws:kms:dsse", // required
172
+ * KMSMasterKeyID: "STRING_VALUE",
173
+ * },
174
+ * BucketKeyEnabled: true || false,
175
+ * },
176
+ * ],
177
+ * },
178
+ * ExpectedBucketOwner: "STRING_VALUE",
179
+ * };
52
180
  * const command = new PutBucketEncryptionCommand(input);
53
181
  * const response = await client.send(command);
182
+ * // {};
183
+ *
54
184
  * ```
55
185
  *
186
+ * @param PutBucketEncryptionCommandInput - {@link PutBucketEncryptionCommandInput}
187
+ * @returns {@link PutBucketEncryptionCommandOutput}
56
188
  * @see {@link PutBucketEncryptionCommandInput} for command's `input` shape.
57
189
  * @see {@link PutBucketEncryptionCommandOutput} for command's `response` shape.
58
190
  * @see {@link S3ClientResolvedConfig | config} for S3Client's `config` shape.
59
191
  *
192
+ * @throws {@link S3ServiceException}
193
+ * <p>Base exception class for all service exceptions from S3 service.</p>
194
+ *
195
+ * @public
60
196
  */
61
- export declare class PutBucketEncryptionCommand extends $Command<PutBucketEncryptionCommandInput, PutBucketEncryptionCommandOutput, S3ClientResolvedConfig> {
62
- readonly input: PutBucketEncryptionCommandInput;
63
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
64
- constructor(input: PutBucketEncryptionCommandInput);
65
- /**
66
- * @internal
67
- */
68
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: S3ClientResolvedConfig, options?: __HttpHandlerOptions): Handler<PutBucketEncryptionCommandInput, PutBucketEncryptionCommandOutput>;
69
- private serialize;
70
- private deserialize;
197
+ export declare class PutBucketEncryptionCommand extends PutBucketEncryptionCommand_base {
198
+ /** @internal type navigation helper, not in runtime. */
199
+ protected static __types: {
200
+ api: {
201
+ input: PutBucketEncryptionRequest;
202
+ output: {};
203
+ };
204
+ sdk: {
205
+ input: PutBucketEncryptionCommandInput;
206
+ output: PutBucketEncryptionCommandOutput;
207
+ };
208
+ };
71
209
  }