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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (382) hide show
  1. package/dist/externalVersion.js +11 -11
  2. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/S3.js +4 -0
  3. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/S3Client.js +10 -5
  4. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/AbortMultipartUploadCommand.js +7 -0
  5. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/CompleteMultipartUploadCommand.js +7 -0
  6. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/CopyObjectCommand.js +6 -0
  7. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/CreateBucketCommand.js +7 -0
  8. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/CreateMultipartUploadCommand.js +7 -0
  9. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/CreateSessionCommand.js +59 -0
  10. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/DeleteBucketAnalyticsConfigurationCommand.js +7 -0
  11. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/DeleteBucketCommand.js +7 -0
  12. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/DeleteBucketCorsCommand.js +7 -0
  13. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/DeleteBucketEncryptionCommand.js +7 -0
  14. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/DeleteBucketIntelligentTieringConfigurationCommand.js +7 -0
  15. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/DeleteBucketInventoryConfigurationCommand.js +7 -0
  16. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/DeleteBucketLifecycleCommand.js +7 -0
  17. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/DeleteBucketMetricsConfigurationCommand.js +7 -0
  18. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/DeleteBucketOwnershipControlsCommand.js +7 -0
  19. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/DeleteBucketPolicyCommand.js +7 -0
  20. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/DeleteBucketReplicationCommand.js +7 -0
  21. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/DeleteBucketTaggingCommand.js +7 -0
  22. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/DeleteBucketWebsiteCommand.js +7 -0
  23. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/DeleteObjectCommand.js +7 -0
  24. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/DeleteObjectTaggingCommand.js +6 -0
  25. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/DeleteObjectsCommand.js +6 -0
  26. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/DeletePublicAccessBlockCommand.js +7 -0
  27. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetBucketAccelerateConfigurationCommand.js +7 -0
  28. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetBucketAclCommand.js +7 -0
  29. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetBucketAnalyticsConfigurationCommand.js +7 -0
  30. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetBucketCorsCommand.js +7 -0
  31. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetBucketEncryptionCommand.js +7 -0
  32. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetBucketIntelligentTieringConfigurationCommand.js +7 -0
  33. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetBucketInventoryConfigurationCommand.js +7 -0
  34. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetBucketLifecycleConfigurationCommand.js +7 -0
  35. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetBucketLocationCommand.js +7 -0
  36. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetBucketLoggingCommand.js +7 -0
  37. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetBucketMetricsConfigurationCommand.js +7 -0
  38. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetBucketNotificationConfigurationCommand.js +7 -0
  39. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetBucketOwnershipControlsCommand.js +7 -0
  40. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetBucketPolicyCommand.js +7 -0
  41. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetBucketPolicyStatusCommand.js +7 -0
  42. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetBucketReplicationCommand.js +7 -0
  43. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetBucketRequestPaymentCommand.js +7 -0
  44. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetBucketTaggingCommand.js +7 -0
  45. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetBucketVersioningCommand.js +7 -0
  46. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetBucketWebsiteCommand.js +7 -0
  47. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetObjectAclCommand.js +7 -0
  48. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetObjectAttributesCommand.js +6 -0
  49. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetObjectCommand.js +7 -0
  50. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetObjectLegalHoldCommand.js +6 -0
  51. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetObjectLockConfigurationCommand.js +6 -0
  52. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetObjectRetentionCommand.js +6 -0
  53. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetObjectTaggingCommand.js +6 -0
  54. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetObjectTorrentCommand.js +6 -0
  55. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetPublicAccessBlockCommand.js +7 -0
  56. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/HeadBucketCommand.js +6 -0
  57. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/HeadObjectCommand.js +7 -0
  58. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/ListBucketAnalyticsConfigurationsCommand.js +7 -0
  59. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/ListBucketIntelligentTieringConfigurationsCommand.js +7 -0
  60. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/ListBucketInventoryConfigurationsCommand.js +7 -0
  61. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/ListBucketMetricsConfigurationsCommand.js +6 -0
  62. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/ListBucketsCommand.js +6 -0
  63. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/ListDirectoryBucketsCommand.js +58 -0
  64. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/ListMultipartUploadsCommand.js +7 -0
  65. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/ListObjectVersionsCommand.js +7 -0
  66. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/ListObjectsCommand.js +7 -0
  67. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/ListObjectsV2Command.js +7 -0
  68. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/ListPartsCommand.js +7 -0
  69. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutBucketAccelerateConfigurationCommand.js +7 -0
  70. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutBucketAclCommand.js +7 -0
  71. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutBucketAnalyticsConfigurationCommand.js +7 -0
  72. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutBucketCorsCommand.js +7 -0
  73. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutBucketEncryptionCommand.js +7 -0
  74. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutBucketIntelligentTieringConfigurationCommand.js +7 -0
  75. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutBucketInventoryConfigurationCommand.js +7 -0
  76. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutBucketLifecycleConfigurationCommand.js +7 -0
  77. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutBucketLoggingCommand.js +7 -0
  78. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutBucketMetricsConfigurationCommand.js +7 -0
  79. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutBucketNotificationConfigurationCommand.js +7 -0
  80. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutBucketOwnershipControlsCommand.js +7 -0
  81. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutBucketPolicyCommand.js +7 -0
  82. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutBucketReplicationCommand.js +7 -0
  83. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutBucketRequestPaymentCommand.js +7 -0
  84. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutBucketTaggingCommand.js +7 -0
  85. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutBucketVersioningCommand.js +7 -0
  86. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutBucketWebsiteCommand.js +7 -0
  87. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutObjectAclCommand.js +7 -0
  88. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutObjectCommand.js +10 -3
  89. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutObjectLegalHoldCommand.js +6 -0
  90. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutObjectLockConfigurationCommand.js +6 -0
  91. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutObjectRetentionCommand.js +6 -0
  92. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutObjectTaggingCommand.js +6 -0
  93. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutPublicAccessBlockCommand.js +7 -0
  94. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/RestoreObjectCommand.js +6 -0
  95. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/SelectObjectContentCommand.js +9 -0
  96. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/UploadPartCommand.js +7 -0
  97. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/UploadPartCopyCommand.js +6 -0
  98. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/WriteGetObjectResponseCommand.js +6 -0
  99. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/index.js +2 -0
  100. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/endpoint/EndpointParameters.js +1 -0
  101. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/endpoint/endpointResolver.js +1 -1
  102. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/endpoint/ruleset.js +3 -3
  103. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/extensionConfiguration.js +2 -0
  104. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/index.js +3 -3
  105. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/models/models_0.js +50 -32
  106. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/models/models_1.js +18 -1
  107. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/pagination/ListDirectoryBucketsPaginator.js +29 -0
  108. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/pagination/index.js +1 -0
  109. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/protocols/Aws_restXml.js +226 -97
  110. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/runtimeConfig.browser.js +2 -2
  111. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/runtimeConfig.js +5 -1
  112. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/runtimeConfig.shared.js +20 -17
  113. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/runtimeExtensions.js +22 -0
  114. package/dist/node_modules/@aws-sdk/client-s3/dist-es/S3.js +4 -0
  115. package/dist/node_modules/@aws-sdk/client-s3/dist-es/S3Client.js +11 -6
  116. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/AbortMultipartUploadCommand.js +7 -0
  117. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/CompleteMultipartUploadCommand.js +7 -0
  118. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/CopyObjectCommand.js +6 -0
  119. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/CreateBucketCommand.js +7 -0
  120. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/CreateMultipartUploadCommand.js +7 -0
  121. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/CreateSessionCommand.js +55 -0
  122. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketAnalyticsConfigurationCommand.js +7 -0
  123. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketCommand.js +7 -0
  124. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketCorsCommand.js +7 -0
  125. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketEncryptionCommand.js +7 -0
  126. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketIntelligentTieringConfigurationCommand.js +7 -0
  127. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketInventoryConfigurationCommand.js +7 -0
  128. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketLifecycleCommand.js +7 -0
  129. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketMetricsConfigurationCommand.js +7 -0
  130. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketOwnershipControlsCommand.js +7 -0
  131. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketPolicyCommand.js +7 -0
  132. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketReplicationCommand.js +7 -0
  133. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketTaggingCommand.js +7 -0
  134. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketWebsiteCommand.js +7 -0
  135. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteObjectCommand.js +7 -0
  136. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteObjectTaggingCommand.js +6 -0
  137. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteObjectsCommand.js +6 -0
  138. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeletePublicAccessBlockCommand.js +7 -0
  139. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketAccelerateConfigurationCommand.js +7 -0
  140. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketAclCommand.js +7 -0
  141. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketAnalyticsConfigurationCommand.js +7 -0
  142. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketCorsCommand.js +7 -0
  143. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketEncryptionCommand.js +7 -0
  144. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketIntelligentTieringConfigurationCommand.js +7 -0
  145. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketInventoryConfigurationCommand.js +7 -0
  146. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketLifecycleConfigurationCommand.js +7 -0
  147. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketLocationCommand.js +7 -0
  148. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketLoggingCommand.js +7 -0
  149. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketMetricsConfigurationCommand.js +7 -0
  150. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketNotificationConfigurationCommand.js +7 -0
  151. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketOwnershipControlsCommand.js +7 -0
  152. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketPolicyCommand.js +7 -0
  153. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketPolicyStatusCommand.js +7 -0
  154. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketReplicationCommand.js +7 -0
  155. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketRequestPaymentCommand.js +7 -0
  156. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketTaggingCommand.js +7 -0
  157. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketVersioningCommand.js +7 -0
  158. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketWebsiteCommand.js +7 -0
  159. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetObjectAclCommand.js +7 -0
  160. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetObjectAttributesCommand.js +6 -0
  161. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetObjectCommand.js +7 -0
  162. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetObjectLegalHoldCommand.js +6 -0
  163. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetObjectLockConfigurationCommand.js +6 -0
  164. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetObjectRetentionCommand.js +6 -0
  165. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetObjectTaggingCommand.js +6 -0
  166. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetObjectTorrentCommand.js +6 -0
  167. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetPublicAccessBlockCommand.js +7 -0
  168. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/HeadBucketCommand.js +6 -0
  169. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/HeadObjectCommand.js +7 -0
  170. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/ListBucketAnalyticsConfigurationsCommand.js +7 -0
  171. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/ListBucketIntelligentTieringConfigurationsCommand.js +7 -0
  172. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/ListBucketInventoryConfigurationsCommand.js +7 -0
  173. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/ListBucketMetricsConfigurationsCommand.js +6 -0
  174. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/ListBucketsCommand.js +6 -0
  175. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/ListDirectoryBucketsCommand.js +54 -0
  176. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/ListMultipartUploadsCommand.js +7 -0
  177. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/ListObjectVersionsCommand.js +7 -0
  178. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/ListObjectsCommand.js +7 -0
  179. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/ListObjectsV2Command.js +7 -0
  180. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/ListPartsCommand.js +7 -0
  181. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketAccelerateConfigurationCommand.js +7 -0
  182. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketAclCommand.js +7 -0
  183. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketAnalyticsConfigurationCommand.js +7 -0
  184. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketCorsCommand.js +7 -0
  185. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketEncryptionCommand.js +7 -0
  186. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketIntelligentTieringConfigurationCommand.js +7 -0
  187. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketInventoryConfigurationCommand.js +7 -0
  188. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketLifecycleConfigurationCommand.js +7 -0
  189. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketLoggingCommand.js +7 -0
  190. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketMetricsConfigurationCommand.js +7 -0
  191. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketNotificationConfigurationCommand.js +7 -0
  192. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketOwnershipControlsCommand.js +7 -0
  193. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketPolicyCommand.js +7 -0
  194. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketReplicationCommand.js +7 -0
  195. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketRequestPaymentCommand.js +7 -0
  196. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketTaggingCommand.js +7 -0
  197. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketVersioningCommand.js +7 -0
  198. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketWebsiteCommand.js +7 -0
  199. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutObjectAclCommand.js +7 -0
  200. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutObjectCommand.js +8 -1
  201. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutObjectLegalHoldCommand.js +6 -0
  202. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutObjectLockConfigurationCommand.js +6 -0
  203. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutObjectRetentionCommand.js +6 -0
  204. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutObjectTaggingCommand.js +6 -0
  205. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutPublicAccessBlockCommand.js +7 -0
  206. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/RestoreObjectCommand.js +6 -0
  207. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/SelectObjectContentCommand.js +9 -0
  208. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/UploadPartCommand.js +7 -0
  209. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/UploadPartCopyCommand.js +6 -0
  210. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/WriteGetObjectResponseCommand.js +6 -0
  211. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/index.js +2 -0
  212. package/dist/node_modules/@aws-sdk/client-s3/dist-es/endpoint/EndpointParameters.js +1 -0
  213. package/dist/node_modules/@aws-sdk/client-s3/dist-es/endpoint/endpointResolver.js +1 -1
  214. package/dist/node_modules/@aws-sdk/client-s3/dist-es/endpoint/ruleset.js +3 -3
  215. package/dist/node_modules/@aws-sdk/client-s3/dist-es/extensionConfiguration.js +1 -0
  216. package/dist/node_modules/@aws-sdk/client-s3/dist-es/index.js +1 -0
  217. package/dist/node_modules/@aws-sdk/client-s3/dist-es/models/models_0.js +45 -27
  218. package/dist/node_modules/@aws-sdk/client-s3/dist-es/models/models_1.js +15 -0
  219. package/dist/node_modules/@aws-sdk/client-s3/dist-es/pagination/ListDirectoryBucketsPaginator.js +25 -0
  220. package/dist/node_modules/@aws-sdk/client-s3/dist-es/pagination/index.js +1 -0
  221. package/dist/node_modules/@aws-sdk/client-s3/dist-es/protocols/Aws_restXml.js +218 -93
  222. package/dist/node_modules/@aws-sdk/client-s3/dist-es/runtimeConfig.browser.js +2 -2
  223. package/dist/node_modules/@aws-sdk/client-s3/dist-es/runtimeConfig.js +5 -1
  224. package/dist/node_modules/@aws-sdk/client-s3/dist-es/runtimeConfig.shared.js +20 -17
  225. package/dist/node_modules/@aws-sdk/client-s3/dist-es/runtimeExtensions.js +18 -0
  226. package/dist/node_modules/@aws-sdk/client-s3/dist-types/S3.d.ts +14 -0
  227. package/dist/node_modules/@aws-sdk/client-s3/dist-types/S3Client.d.ts +14 -5
  228. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/AbortMultipartUploadCommand.d.ts +37 -5
  229. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/CompleteMultipartUploadCommand.d.ts +98 -62
  230. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/CopyObjectCommand.d.ts +108 -164
  231. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/CreateBucketCommand.d.ts +116 -69
  232. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/CreateMultipartUploadCommand.d.ts +146 -222
  233. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/CreateSessionCommand.d.ts +145 -0
  234. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketAnalyticsConfigurationCommand.d.ts +4 -1
  235. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketCommand.d.ts +35 -0
  236. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketCorsCommand.d.ts +4 -1
  237. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketEncryptionCommand.d.ts +6 -3
  238. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketIntelligentTieringConfigurationCommand.d.ts +4 -1
  239. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketInventoryConfigurationCommand.d.ts +4 -1
  240. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketLifecycleCommand.d.ts +4 -1
  241. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketMetricsConfigurationCommand.d.ts +4 -1
  242. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketOwnershipControlsCommand.d.ts +4 -1
  243. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketPolicyCommand.d.ts +48 -19
  244. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketReplicationCommand.d.ts +4 -1
  245. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketTaggingCommand.d.ts +4 -1
  246. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketWebsiteCommand.d.ts +4 -1
  247. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteObjectCommand.d.ts +83 -11
  248. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteObjectTaggingCommand.d.ts +4 -1
  249. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteObjectsCommand.d.ts +109 -34
  250. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeletePublicAccessBlockCommand.d.ts +4 -1
  251. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketAccelerateConfigurationCommand.d.ts +6 -2
  252. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketAclCommand.d.ts +7 -4
  253. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketAnalyticsConfigurationCommand.d.ts +6 -2
  254. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketCorsCommand.d.ts +6 -3
  255. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketEncryptionCommand.d.ts +4 -1
  256. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketIntelligentTieringConfigurationCommand.d.ts +4 -1
  257. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketInventoryConfigurationCommand.d.ts +5 -2
  258. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketLifecycleConfigurationCommand.d.ts +3 -0
  259. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketLocationCommand.d.ts +7 -4
  260. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketLoggingCommand.d.ts +10 -1
  261. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketMetricsConfigurationCommand.d.ts +4 -1
  262. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketNotificationConfigurationCommand.d.ts +6 -3
  263. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketOwnershipControlsCommand.d.ts +4 -1
  264. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketPolicyCommand.d.ts +54 -23
  265. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketPolicyStatusCommand.d.ts +4 -1
  266. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketReplicationCommand.d.ts +5 -2
  267. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketRequestPaymentCommand.d.ts +4 -1
  268. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketTaggingCommand.d.ts +4 -1
  269. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketVersioningCommand.d.ts +4 -1
  270. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketWebsiteCommand.d.ts +4 -1
  271. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectAclCommand.d.ts +5 -2
  272. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectAttributesCommand.d.ts +113 -73
  273. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectCommand.d.ts +127 -136
  274. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectLegalHoldCommand.d.ts +5 -2
  275. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectLockConfigurationCommand.d.ts +4 -1
  276. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectRetentionCommand.d.ts +5 -2
  277. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectTaggingCommand.d.ts +23 -20
  278. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectTorrentCommand.d.ts +8 -4
  279. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetPublicAccessBlockCommand.d.ts +4 -1
  280. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/HeadBucketCommand.d.ts +53 -19
  281. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/HeadObjectCommand.d.ts +95 -80
  282. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/ListBucketAnalyticsConfigurationsCommand.d.ts +4 -1
  283. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/ListBucketIntelligentTieringConfigurationsCommand.d.ts +4 -1
  284. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/ListBucketInventoryConfigurationsCommand.d.ts +5 -2
  285. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/ListBucketMetricsConfigurationsCommand.d.ts +4 -1
  286. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/ListBucketsCommand.d.ts +4 -1
  287. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/ListDirectoryBucketsCommand.d.ts +98 -0
  288. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/ListMultipartUploadsCommand.d.ts +117 -49
  289. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/ListObjectVersionsCommand.d.ts +4 -2
  290. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/ListObjectsCommand.d.ts +5 -2
  291. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/ListObjectsV2Command.d.ts +52 -10
  292. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/ListPartsCommand.d.ts +47 -14
  293. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketAccelerateConfigurationCommand.d.ts +4 -1
  294. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketAclCommand.d.ts +46 -37
  295. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketAnalyticsConfigurationCommand.d.ts +6 -2
  296. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketCorsCommand.d.ts +4 -1
  297. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketEncryptionCommand.d.ts +8 -9
  298. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketIntelligentTieringConfigurationCommand.d.ts +9 -5
  299. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketInventoryConfigurationCommand.d.ts +23 -20
  300. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketLifecycleConfigurationCommand.d.ts +33 -26
  301. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketLoggingCommand.d.ts +22 -11
  302. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketMetricsConfigurationCommand.d.ts +4 -1
  303. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketNotificationConfigurationCommand.d.ts +4 -1
  304. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketOwnershipControlsCommand.d.ts +4 -1
  305. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketPolicyCommand.d.ts +54 -18
  306. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketReplicationCommand.d.ts +29 -20
  307. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketRequestPaymentCommand.d.ts +5 -2
  308. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketTaggingCommand.d.ts +23 -37
  309. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketVersioningCommand.d.ts +11 -8
  310. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketWebsiteCommand.d.ts +6 -2
  311. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutObjectAclCommand.d.ts +46 -40
  312. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutObjectCommand.d.ts +150 -119
  313. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutObjectLegalHoldCommand.d.ts +6 -3
  314. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutObjectLockConfigurationCommand.d.ts +7 -3
  315. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutObjectRetentionCommand.d.ts +5 -2
  316. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutObjectTaggingCommand.d.ts +24 -58
  317. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutPublicAccessBlockCommand.d.ts +4 -1
  318. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/RestoreObjectCommand.d.ts +99 -94
  319. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/SelectObjectContentCommand.d.ts +51 -42
  320. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/UploadPartCommand.d.ts +104 -71
  321. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/UploadPartCopyCommand.d.ts +108 -99
  322. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/WriteGetObjectResponseCommand.d.ts +9 -12
  323. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/index.d.ts +2 -0
  324. package/dist/node_modules/@aws-sdk/client-s3/dist-types/endpoint/EndpointParameters.d.ts +8 -0
  325. package/dist/node_modules/@aws-sdk/client-s3/dist-types/extensionConfiguration.d.ts +8 -0
  326. package/dist/node_modules/@aws-sdk/client-s3/dist-types/index.d.ts +4 -0
  327. package/dist/node_modules/@aws-sdk/client-s3/dist-types/models/models_0.d.ts +3714 -1386
  328. package/dist/node_modules/@aws-sdk/client-s3/dist-types/models/models_1.d.ts +1639 -111
  329. package/dist/node_modules/@aws-sdk/client-s3/dist-types/pagination/ListDirectoryBucketsPaginator.d.ts +7 -0
  330. package/dist/node_modules/@aws-sdk/client-s3/dist-types/pagination/index.d.ts +1 -0
  331. package/dist/node_modules/@aws-sdk/client-s3/dist-types/protocols/Aws_restXml.d.ts +18 -0
  332. package/dist/node_modules/@aws-sdk/client-s3/dist-types/runtimeConfig.browser.d.ts +9 -2
  333. package/dist/node_modules/@aws-sdk/client-s3/dist-types/runtimeConfig.d.ts +45 -37
  334. package/dist/node_modules/@aws-sdk/client-s3/dist-types/runtimeConfig.native.d.ts +9 -2
  335. package/dist/node_modules/@aws-sdk/client-s3/dist-types/runtimeConfig.shared.d.ts +2 -1
  336. package/dist/node_modules/@aws-sdk/client-s3/dist-types/runtimeExtensions.d.ts +17 -0
  337. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/S3.d.ts +34 -0
  338. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/S3Client.d.ts +17 -1
  339. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/CreateSessionCommand.d.ts +35 -0
  340. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetObjectCommand.d.ts +5 -3
  341. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetObjectTorrentCommand.d.ts +8 -3
  342. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/HeadBucketCommand.d.ts +4 -2
  343. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/ListDirectoryBucketsCommand.d.ts +42 -0
  344. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketReplicationCommand.d.ts +1 -1
  345. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketRequestPaymentCommand.d.ts +1 -1
  346. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketTaggingCommand.d.ts +1 -1
  347. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketVersioningCommand.d.ts +1 -1
  348. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketWebsiteCommand.d.ts +1 -1
  349. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutObjectAclCommand.d.ts +1 -1
  350. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutObjectCommand.d.ts +6 -8
  351. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutObjectLegalHoldCommand.d.ts +1 -1
  352. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/UploadPartCommand.d.ts +5 -7
  353. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/WriteGetObjectResponseCommand.d.ts +7 -7
  354. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/index.d.ts +2 -0
  355. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +5 -0
  356. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/extensionConfiguration.d.ts +7 -0
  357. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/index.d.ts +4 -0
  358. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/models/models_0.d.ts +235 -303
  359. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/models/models_1.d.ts +201 -41
  360. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/pagination/ListDirectoryBucketsPaginator.d.ts +11 -0
  361. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/pagination/index.d.ts +1 -0
  362. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/protocols/Aws_restXml.d.ts +24 -0
  363. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/runtimeConfig.browser.d.ts +18 -2
  364. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/runtimeConfig.d.ts +72 -54
  365. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/runtimeConfig.native.d.ts +18 -2
  366. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/runtimeConfig.shared.d.ts +2 -1
  367. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/runtimeExtensions.d.ts +11 -0
  368. package/dist/node_modules/@aws-sdk/client-s3/package.json +1 -1
  369. package/dist/node_modules/mime-match/package.json +1 -1
  370. package/dist/node_modules/mkdirp/package.json +1 -1
  371. package/dist/node_modules/multer-aliyun-oss/index.js +14 -106
  372. package/dist/node_modules/multer-aliyun-oss/package.json +1 -1
  373. package/dist/node_modules/multer-cos/index.js +4 -4
  374. package/dist/node_modules/multer-cos/package.json +1 -1
  375. package/dist/node_modules/multer-s3/index.js +4 -4
  376. package/dist/node_modules/multer-s3/package.json +1 -1
  377. package/dist/server/migrations/20231120142523-fix-storage.js +1 -0
  378. package/package.json +2 -2
  379. package/dist/node_modules/multer-aliyun-oss/bridge.js +0 -1010
  380. package/dist/node_modules/multer-aliyun-oss/events.js +0 -977
  381. package/dist/node_modules/multer-aliyun-oss/setup-node-sandbox.js +0 -461
  382. package/dist/node_modules/multer-aliyun-oss/setup-sandbox.js +0 -545
@@ -1,60 +1,1168 @@
1
- /// <reference types="node" />
2
1
  import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
3
- import { Readable } from "stream";
4
- import { ChecksumAlgorithm, Grant, ObjectCannedACL, ObjectLockConfiguration, ObjectLockLegalHoldStatus, ObjectLockMode, ObjectLockRetention, PublicAccessBlockConfiguration, ReplicationStatus, RequestCharged, RequestPayer, ServerSideEncryption, StorageClass, Tagging } from "./models_0";
2
+ import { StreamingBlobTypes } from "@smithy/types";
3
+ import { AccessControlPolicy, BucketVersioningStatus, ChecksumAlgorithm, ErrorDocument, Grant, IndexDocument, ObjectCannedACL, ObjectLockConfiguration, ObjectLockLegalHold, ObjectLockLegalHoldStatus, ObjectLockMode, ObjectLockRetention, Payer, PublicAccessBlockConfiguration, RedirectAllRequestsTo, ReplicationConfiguration, ReplicationStatus, RequestCharged, RequestPayer, RoutingRule, ServerSideEncryption, StorageClass, Tag } from "./models_0";
5
4
  import { S3ServiceException as __BaseException } from "./S3ServiceException";
5
+ /**
6
+ * @public
7
+ */
8
+ export interface PutBucketReplicationRequest {
9
+ /**
10
+ * @public
11
+ * <p>The name of the bucket</p>
12
+ * <p>Note: To supply the Multi-region Access Point (MRAP) to Bucket, you need to install the "@aws-sdk/signature-v4-crt" package to your project dependencies.
13
+ * For more information, please go to https://github.com/aws/aws-sdk-js-v3#known-issues</p>
14
+ */
15
+ Bucket: string | undefined;
16
+ /**
17
+ * @public
18
+ * <p>The base64-encoded 128-bit MD5 digest of the data. You must use this header as a message
19
+ * integrity check to verify that the request body was not corrupted in transit. For more
20
+ * information, see <a href="http://www.ietf.org/rfc/rfc1864.txt">RFC 1864</a>.</p>
21
+ * <p>For requests made using the Amazon Web Services Command Line Interface (CLI) or Amazon Web Services SDKs, this field is calculated automatically.</p>
22
+ */
23
+ ContentMD5?: string;
24
+ /**
25
+ * @public
26
+ * <p>Indicates the algorithm used to create the checksum for the object when you use the SDK. This header will not provide any
27
+ * additional functionality if you don't use the SDK. When you send this header, there must be a corresponding <code>x-amz-checksum</code> or
28
+ * <code>x-amz-trailer</code> header sent. Otherwise, Amazon S3 fails the request with the HTTP status code <code>400 Bad Request</code>. For more
29
+ * information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html">Checking object integrity</a> in
30
+ * the <i>Amazon S3 User Guide</i>.</p>
31
+ * <p>If you provide an individual checksum, Amazon S3 ignores any provided
32
+ * <code>ChecksumAlgorithm</code> parameter.</p>
33
+ */
34
+ ChecksumAlgorithm?: ChecksumAlgorithm;
35
+ /**
36
+ * @public
37
+ * <p>A container for replication rules. You can add up to 1,000 rules. The maximum size of a
38
+ * replication configuration is 2 MB.</p>
39
+ */
40
+ ReplicationConfiguration: ReplicationConfiguration | undefined;
41
+ /**
42
+ * @public
43
+ * <p>A token to allow Object Lock to be enabled for an existing bucket.</p>
44
+ */
45
+ Token?: string;
46
+ /**
47
+ * @public
48
+ * <p>The account ID of the expected bucket owner. If the account ID that you provide does not match the actual owner of the bucket, the request fails with the HTTP status code <code>403 Forbidden</code> (access denied).</p>
49
+ */
50
+ ExpectedBucketOwner?: string;
51
+ }
52
+ /**
53
+ * @public
54
+ * <p>Container for Payer.</p>
55
+ */
56
+ export interface RequestPaymentConfiguration {
57
+ /**
58
+ * @public
59
+ * <p>Specifies who pays for the download and request fees.</p>
60
+ */
61
+ Payer: Payer | undefined;
62
+ }
63
+ /**
64
+ * @public
65
+ */
66
+ export interface PutBucketRequestPaymentRequest {
67
+ /**
68
+ * @public
69
+ * <p>The bucket name.</p>
70
+ * <p>Note: To supply the Multi-region Access Point (MRAP) to Bucket, you need to install the "@aws-sdk/signature-v4-crt" package to your project dependencies.
71
+ * For more information, please go to https://github.com/aws/aws-sdk-js-v3#known-issues</p>
72
+ */
73
+ Bucket: string | undefined;
74
+ /**
75
+ * @public
76
+ * <p>The base64-encoded 128-bit MD5 digest of the data. You must use this header as a message
77
+ * integrity check to verify that the request body was not corrupted in transit. For more
78
+ * information, see <a href="http://www.ietf.org/rfc/rfc1864.txt">RFC 1864</a>.</p>
79
+ * <p>For requests made using the Amazon Web Services Command Line Interface (CLI) or Amazon Web Services SDKs, this field is calculated automatically.</p>
80
+ */
81
+ ContentMD5?: string;
82
+ /**
83
+ * @public
84
+ * <p>Indicates the algorithm used to create the checksum for the object when you use the SDK. This header will not provide any
85
+ * additional functionality if you don't use the SDK. When you send this header, there must be a corresponding <code>x-amz-checksum</code> or
86
+ * <code>x-amz-trailer</code> header sent. Otherwise, Amazon S3 fails the request with the HTTP status code <code>400 Bad Request</code>. For more
87
+ * information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html">Checking object integrity</a> in
88
+ * the <i>Amazon S3 User Guide</i>.</p>
89
+ * <p>If you provide an individual checksum, Amazon S3 ignores any provided
90
+ * <code>ChecksumAlgorithm</code> parameter.</p>
91
+ */
92
+ ChecksumAlgorithm?: ChecksumAlgorithm;
93
+ /**
94
+ * @public
95
+ * <p>Container for Payer.</p>
96
+ */
97
+ RequestPaymentConfiguration: RequestPaymentConfiguration | undefined;
98
+ /**
99
+ * @public
100
+ * <p>The account ID of the expected bucket owner. If the account ID that you provide does not match the actual owner of the bucket, the request fails with the HTTP status code <code>403 Forbidden</code> (access denied).</p>
101
+ */
102
+ ExpectedBucketOwner?: string;
103
+ }
104
+ /**
105
+ * @public
106
+ * <p>Container for <code>TagSet</code> elements.</p>
107
+ */
108
+ export interface Tagging {
109
+ /**
110
+ * @public
111
+ * <p>A collection for a set of tags</p>
112
+ */
113
+ TagSet: Tag[] | undefined;
114
+ }
115
+ /**
116
+ * @public
117
+ */
118
+ export interface PutBucketTaggingRequest {
119
+ /**
120
+ * @public
121
+ * <p>The bucket name.</p>
122
+ * <p>Note: To supply the Multi-region Access Point (MRAP) to Bucket, you need to install the "@aws-sdk/signature-v4-crt" package to your project dependencies.
123
+ * For more information, please go to https://github.com/aws/aws-sdk-js-v3#known-issues</p>
124
+ */
125
+ Bucket: string | undefined;
126
+ /**
127
+ * @public
128
+ * <p>The base64-encoded 128-bit MD5 digest of the data. You must use this header as a message
129
+ * integrity check to verify that the request body was not corrupted in transit. For more
130
+ * information, see <a href="http://www.ietf.org/rfc/rfc1864.txt">RFC 1864</a>.</p>
131
+ * <p>For requests made using the Amazon Web Services Command Line Interface (CLI) or Amazon Web Services SDKs, this field is calculated automatically.</p>
132
+ */
133
+ ContentMD5?: string;
134
+ /**
135
+ * @public
136
+ * <p>Indicates the algorithm used to create the checksum for the object when you use the SDK. This header will not provide any
137
+ * additional functionality if you don't use the SDK. When you send this header, there must be a corresponding <code>x-amz-checksum</code> or
138
+ * <code>x-amz-trailer</code> header sent. Otherwise, Amazon S3 fails the request with the HTTP status code <code>400 Bad Request</code>. For more
139
+ * information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html">Checking object integrity</a> in
140
+ * the <i>Amazon S3 User Guide</i>.</p>
141
+ * <p>If you provide an individual checksum, Amazon S3 ignores any provided
142
+ * <code>ChecksumAlgorithm</code> parameter.</p>
143
+ */
144
+ ChecksumAlgorithm?: ChecksumAlgorithm;
145
+ /**
146
+ * @public
147
+ * <p>Container for the <code>TagSet</code> and <code>Tag</code> elements.</p>
148
+ */
149
+ Tagging: Tagging | undefined;
150
+ /**
151
+ * @public
152
+ * <p>The account ID of the expected bucket owner. If the account ID that you provide does not match the actual owner of the bucket, the request fails with the HTTP status code <code>403 Forbidden</code> (access denied).</p>
153
+ */
154
+ ExpectedBucketOwner?: string;
155
+ }
156
+ /**
157
+ * @public
158
+ * @enum
159
+ */
160
+ export declare const MFADelete: {
161
+ readonly Disabled: "Disabled";
162
+ readonly Enabled: "Enabled";
163
+ };
164
+ /**
165
+ * @public
166
+ */
167
+ export type MFADelete = (typeof MFADelete)[keyof typeof MFADelete];
168
+ /**
169
+ * @public
170
+ * <p>Describes the versioning state of an Amazon S3 bucket. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/RESTBucketPUTVersioningStatus.html">PUT
171
+ * Bucket versioning</a> in the <i>Amazon S3 API Reference</i>.</p>
172
+ */
173
+ export interface VersioningConfiguration {
174
+ /**
175
+ * @public
176
+ * <p>Specifies whether MFA delete is enabled in the bucket versioning configuration. This
177
+ * element is only returned if the bucket has been configured with MFA delete. If the bucket
178
+ * has never been so configured, this element is not returned.</p>
179
+ */
180
+ MFADelete?: MFADelete;
181
+ /**
182
+ * @public
183
+ * <p>The versioning state of the bucket.</p>
184
+ */
185
+ Status?: BucketVersioningStatus;
186
+ }
187
+ /**
188
+ * @public
189
+ */
190
+ export interface PutBucketVersioningRequest {
191
+ /**
192
+ * @public
193
+ * <p>The bucket name.</p>
194
+ * <p>Note: To supply the Multi-region Access Point (MRAP) to Bucket, you need to install the "@aws-sdk/signature-v4-crt" package to your project dependencies.
195
+ * For more information, please go to https://github.com/aws/aws-sdk-js-v3#known-issues</p>
196
+ */
197
+ Bucket: string | undefined;
198
+ /**
199
+ * @public
200
+ * <p>>The base64-encoded 128-bit MD5 digest of the data. You must use this header as a
201
+ * message integrity check to verify that the request body was not corrupted in transit. For
202
+ * more information, see <a href="http://www.ietf.org/rfc/rfc1864.txt">RFC
203
+ * 1864</a>.</p>
204
+ * <p>For requests made using the Amazon Web Services Command Line Interface (CLI) or Amazon Web Services SDKs, this field is calculated automatically.</p>
205
+ */
206
+ ContentMD5?: string;
207
+ /**
208
+ * @public
209
+ * <p>Indicates the algorithm used to create the checksum for the object when you use the SDK. This header will not provide any
210
+ * additional functionality if you don't use the SDK. When you send this header, there must be a corresponding <code>x-amz-checksum</code> or
211
+ * <code>x-amz-trailer</code> header sent. Otherwise, Amazon S3 fails the request with the HTTP status code <code>400 Bad Request</code>. For more
212
+ * information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html">Checking object integrity</a> in
213
+ * the <i>Amazon S3 User Guide</i>.</p>
214
+ * <p>If you provide an individual checksum, Amazon S3 ignores any provided
215
+ * <code>ChecksumAlgorithm</code> parameter.</p>
216
+ */
217
+ ChecksumAlgorithm?: ChecksumAlgorithm;
218
+ /**
219
+ * @public
220
+ * <p>The concatenation of the authentication device's serial number, a space, and the value
221
+ * that is displayed on your authentication device.</p>
222
+ */
223
+ MFA?: string;
224
+ /**
225
+ * @public
226
+ * <p>Container for setting the versioning state.</p>
227
+ */
228
+ VersioningConfiguration: VersioningConfiguration | undefined;
229
+ /**
230
+ * @public
231
+ * <p>The account ID of the expected bucket owner. If the account ID that you provide does not match the actual owner of the bucket, the request fails with the HTTP status code <code>403 Forbidden</code> (access denied).</p>
232
+ */
233
+ ExpectedBucketOwner?: string;
234
+ }
235
+ /**
236
+ * @public
237
+ * <p>Specifies website configuration parameters for an Amazon S3 bucket.</p>
238
+ */
239
+ export interface WebsiteConfiguration {
240
+ /**
241
+ * @public
242
+ * <p>The name of the error document for the website.</p>
243
+ */
244
+ ErrorDocument?: ErrorDocument;
245
+ /**
246
+ * @public
247
+ * <p>The name of the index document for the website.</p>
248
+ */
249
+ IndexDocument?: IndexDocument;
250
+ /**
251
+ * @public
252
+ * <p>The redirect behavior for every request to this bucket's website endpoint.</p>
253
+ * <important>
254
+ * <p>If you specify this property, you can't specify any other property.</p>
255
+ * </important>
256
+ */
257
+ RedirectAllRequestsTo?: RedirectAllRequestsTo;
258
+ /**
259
+ * @public
260
+ * <p>Rules that define when a redirect is applied and the redirect behavior.</p>
261
+ */
262
+ RoutingRules?: RoutingRule[];
263
+ }
264
+ /**
265
+ * @public
266
+ */
267
+ export interface PutBucketWebsiteRequest {
268
+ /**
269
+ * @public
270
+ * <p>The bucket name.</p>
271
+ * <p>Note: To supply the Multi-region Access Point (MRAP) to Bucket, you need to install the "@aws-sdk/signature-v4-crt" package to your project dependencies.
272
+ * For more information, please go to https://github.com/aws/aws-sdk-js-v3#known-issues</p>
273
+ */
274
+ Bucket: string | undefined;
275
+ /**
276
+ * @public
277
+ * <p>The base64-encoded 128-bit MD5 digest of the data. You must use this header as a message
278
+ * integrity check to verify that the request body was not corrupted in transit. For more
279
+ * information, see <a href="http://www.ietf.org/rfc/rfc1864.txt">RFC 1864</a>.</p>
280
+ * <p>For requests made using the Amazon Web Services Command Line Interface (CLI) or Amazon Web Services SDKs, this field is calculated automatically.</p>
281
+ */
282
+ ContentMD5?: string;
283
+ /**
284
+ * @public
285
+ * <p>Indicates the algorithm used to create the checksum for the object when you use the SDK. This header will not provide any
286
+ * additional functionality if you don't use the SDK. When you send this header, there must be a corresponding <code>x-amz-checksum</code> or
287
+ * <code>x-amz-trailer</code> header sent. Otherwise, Amazon S3 fails the request with the HTTP status code <code>400 Bad Request</code>. For more
288
+ * information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html">Checking object integrity</a> in
289
+ * the <i>Amazon S3 User Guide</i>.</p>
290
+ * <p>If you provide an individual checksum, Amazon S3 ignores any provided
291
+ * <code>ChecksumAlgorithm</code> parameter.</p>
292
+ */
293
+ ChecksumAlgorithm?: ChecksumAlgorithm;
294
+ /**
295
+ * @public
296
+ * <p>Container for the request.</p>
297
+ */
298
+ WebsiteConfiguration: WebsiteConfiguration | undefined;
299
+ /**
300
+ * @public
301
+ * <p>The account ID of the expected bucket owner. If the account ID that you provide does not match the actual owner of the bucket, the request fails with the HTTP status code <code>403 Forbidden</code> (access denied).</p>
302
+ */
303
+ ExpectedBucketOwner?: string;
304
+ }
305
+ /**
306
+ * @public
307
+ */
308
+ export interface PutObjectOutput {
309
+ /**
310
+ * @public
311
+ * <p>If the expiration is configured for the object (see <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutBucketLifecycleConfiguration.html">PutBucketLifecycleConfiguration</a>) in the <i>Amazon S3 User Guide</i>, the response includes this header. It
312
+ * includes the <code>expiry-date</code> and <code>rule-id</code> key-value pairs that provide
313
+ * information about object expiration. The value of the <code>rule-id</code> is
314
+ * URL-encoded.</p>
315
+ * <note>
316
+ * <p>This functionality is not supported for directory buckets.</p>
317
+ * </note>
318
+ */
319
+ Expiration?: string;
320
+ /**
321
+ * @public
322
+ * <p>Entity tag for the uploaded object.</p>
323
+ * <p>
324
+ * <b>General purpose buckets </b> - To ensure that data is not corrupted traversing the network,
325
+ * for objects where the
326
+ * ETag is the MD5 digest of the object, you can calculate the MD5 while putting an object to Amazon S3 and compare the returned ETag to
327
+ * the calculated MD5 value.</p>
328
+ * <p>
329
+ * <b>Directory buckets </b> - The ETag for the object in a directory bucket isn't the MD5 digest of the object.</p>
330
+ */
331
+ ETag?: string;
332
+ /**
333
+ * @public
334
+ * <p>The base64-encoded, 32-bit CRC32 checksum of the object. This will only be present if it was uploaded
335
+ * with the object. When you use an API operation on an object that was uploaded using multipart uploads, this value may not be a direct checksum value of the full object. Instead, it's a calculation based on the checksum values of each individual part. For more information about how checksums are calculated
336
+ * with multipart uploads, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums">
337
+ * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p>
338
+ */
339
+ ChecksumCRC32?: string;
340
+ /**
341
+ * @public
342
+ * <p>The base64-encoded, 32-bit CRC32C checksum of the object. This will only be present if it was uploaded
343
+ * with the object. When you use an API operation on an object that was uploaded using multipart uploads, this value may not be a direct checksum value of the full object. Instead, it's a calculation based on the checksum values of each individual part. For more information about how checksums are calculated
344
+ * with multipart uploads, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums">
345
+ * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p>
346
+ */
347
+ ChecksumCRC32C?: string;
348
+ /**
349
+ * @public
350
+ * <p>The base64-encoded, 160-bit SHA-1 digest of the object. This will only be present if it was uploaded
351
+ * with the object. When you use the API operation on an object that was uploaded using multipart uploads, this value may not be a direct checksum value of the full object. Instead, it's a calculation based on the checksum values of each individual part. For more information about how checksums are calculated
352
+ * with multipart uploads, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums">
353
+ * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p>
354
+ */
355
+ ChecksumSHA1?: string;
356
+ /**
357
+ * @public
358
+ * <p>The base64-encoded, 256-bit SHA-256 digest of the object. This will only be present if it was uploaded
359
+ * with the object. When you use an API operation on an object that was uploaded using multipart uploads, this value may not be a direct checksum value of the full object. Instead, it's a calculation based on the checksum values of each individual part. For more information about how checksums are calculated
360
+ * with multipart uploads, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums">
361
+ * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p>
362
+ */
363
+ ChecksumSHA256?: string;
364
+ /**
365
+ * @public
366
+ * <p>The server-side encryption algorithm used when you store this object in Amazon S3 (for example,
367
+ * <code>AES256</code>, <code>aws:kms</code>, <code>aws:kms:dsse</code>).</p>
368
+ * <note>
369
+ * <p>For directory buckets, only server-side encryption with Amazon S3 managed keys (SSE-S3) (<code>AES256</code>) is supported.</p>
370
+ * </note>
371
+ */
372
+ ServerSideEncryption?: ServerSideEncryption;
373
+ /**
374
+ * @public
375
+ * <p>Version ID of the object.</p>
376
+ * <p>If you enable versioning for a bucket, Amazon S3 automatically generates a unique version ID
377
+ * for the object being stored. Amazon S3 returns this ID in the response. When you enable
378
+ * versioning for a bucket, if Amazon S3 receives multiple write requests for the same object
379
+ * simultaneously, it stores all of the objects. For more information about versioning, see
380
+ * <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/AddingObjectstoVersioningEnabledBuckets.html">Adding Objects to
381
+ * Versioning-Enabled Buckets</a> in the <i>Amazon S3
382
+ * User Guide</i>. For information about returning the versioning state
383
+ * of a bucket, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetBucketVersioning.html">GetBucketVersioning</a>. </p>
384
+ * <note>
385
+ * <p>This functionality is not supported for directory buckets.</p>
386
+ * </note>
387
+ */
388
+ VersionId?: string;
389
+ /**
390
+ * @public
391
+ * <p>If server-side encryption with a customer-provided encryption key was requested, the
392
+ * response will include this header to confirm the encryption algorithm that's used.</p>
393
+ * <note>
394
+ * <p>This functionality is not supported for directory buckets.</p>
395
+ * </note>
396
+ */
397
+ SSECustomerAlgorithm?: string;
398
+ /**
399
+ * @public
400
+ * <p>If server-side encryption with a customer-provided encryption key was requested, the
401
+ * response will include this header to provide the round-trip message integrity verification of
402
+ * the customer-provided encryption key.</p>
403
+ * <note>
404
+ * <p>This functionality is not supported for directory buckets.</p>
405
+ * </note>
406
+ */
407
+ SSECustomerKeyMD5?: string;
408
+ /**
409
+ * @public
410
+ * <p>If <code>x-amz-server-side-encryption</code> has a valid value of <code>aws:kms</code>
411
+ * or <code>aws:kms:dsse</code>, this header indicates the ID of the Key Management Service (KMS)
412
+ * symmetric encryption customer managed key that was used for the object. </p>
413
+ * <note>
414
+ * <p>This functionality is not supported for directory buckets.</p>
415
+ * </note>
416
+ */
417
+ SSEKMSKeyId?: string;
418
+ /**
419
+ * @public
420
+ * <p>If present, indicates the Amazon Web Services KMS Encryption Context to use for object encryption. The
421
+ * value of this header is a base64-encoded UTF-8 string holding JSON with the encryption
422
+ * context key-value pairs. This value is stored as object metadata and automatically gets
423
+ * passed on to Amazon Web Services KMS for future <code>GetObject</code> or <code>CopyObject</code>
424
+ * operations on this object.</p>
425
+ * <note>
426
+ * <p>This functionality is not supported for directory buckets.</p>
427
+ * </note>
428
+ */
429
+ SSEKMSEncryptionContext?: string;
430
+ /**
431
+ * @public
432
+ * <p>Indicates whether the uploaded object uses an S3 Bucket Key for server-side encryption
433
+ * with Key Management Service (KMS) keys (SSE-KMS).</p>
434
+ * <note>
435
+ * <p>This functionality is not supported for directory buckets.</p>
436
+ * </note>
437
+ */
438
+ BucketKeyEnabled?: boolean;
439
+ /**
440
+ * @public
441
+ * <p>If present, indicates that the requester was successfully charged for the
442
+ * request.</p>
443
+ * <note>
444
+ * <p>This functionality is not supported for directory buckets.</p>
445
+ * </note>
446
+ */
447
+ RequestCharged?: RequestCharged;
448
+ }
449
+ /**
450
+ * @public
451
+ */
452
+ export interface PutObjectRequest {
453
+ /**
454
+ * @public
455
+ * <p>The canned ACL to apply to the object. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/acl-overview.html#CannedACL">Canned
456
+ * ACL</a> in the <i>Amazon S3 User Guide</i>.</p>
457
+ * <p>When adding a new object, you can use headers to grant ACL-based permissions to
458
+ * individual Amazon Web Services accounts or to predefined groups defined by Amazon S3. These permissions are
459
+ * then added to the ACL on the object. By default, all objects are private. Only the owner
460
+ * has full access control. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/acl-overview.html">Access Control List (ACL) Overview</a>
461
+ * and <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/acl-using-rest-api.html">Managing
462
+ * ACLs Using the REST API</a> in the <i>Amazon S3 User Guide</i>.</p>
463
+ * <p>If the bucket that you're uploading objects to uses the bucket owner enforced setting
464
+ * for S3 Object Ownership, ACLs are disabled and no longer affect permissions. Buckets that
465
+ * use this setting only accept PUT requests that don't specify an ACL or PUT requests that
466
+ * specify bucket owner full control ACLs, such as the <code>bucket-owner-full-control</code>
467
+ * canned ACL or an equivalent form of this ACL expressed in the XML format. PUT requests that
468
+ * contain other ACLs (for example, custom grants to certain Amazon Web Services accounts) fail and return a
469
+ * <code>400</code> error with the error code <code>AccessControlListNotSupported</code>.
470
+ * For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/about-object-ownership.html"> Controlling ownership of
471
+ * objects and disabling ACLs</a> in the <i>Amazon S3 User Guide</i>.</p>
472
+ * <note>
473
+ * <ul>
474
+ * <li>
475
+ * <p>This functionality is not supported for directory buckets.</p>
476
+ * </li>
477
+ * <li>
478
+ * <p>This functionality is not supported for Amazon S3 on Outposts.</p>
479
+ * </li>
480
+ * </ul>
481
+ * </note>
482
+ */
483
+ ACL?: ObjectCannedACL;
484
+ /**
485
+ * @public
486
+ * <p>Object data.</p>
487
+ */
488
+ Body?: StreamingBlobTypes;
489
+ /**
490
+ * @public
491
+ * <p>The bucket name to which the PUT action was initiated. </p>
492
+ * <p>
493
+ * <b>Directory buckets</b> - When you use this operation with a directory bucket, you must use virtual-hosted-style requests in the format <code>
494
+ * <i>Bucket_name</i>.s3express-<i>az_id</i>.<i>region</i>.amazonaws.com</code>. Path-style requests are not supported. Directory bucket names must be unique in the chosen Availability Zone. Bucket names must follow the format <code>
495
+ * <i>bucket_base_name</i>--<i>az-id</i>--x-s3</code> (for example, <code>
496
+ * <i>DOC-EXAMPLE-BUCKET</i>--<i>usw2-az2</i>--x-s3</code>). For information about bucket naming
497
+ * restrictions, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/directory-bucket-naming-rules.html">Directory bucket naming
498
+ * rules</a> in the <i>Amazon S3 User Guide</i>.</p>
499
+ * <p>
500
+ * <b>Access points</b> - When you use this action with 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 <i>AccessPointName</i>-<i>AccountId</i>.s3-accesspoint.<i>Region</i>.amazonaws.com. When using this action with an access point through the Amazon Web Services SDKs, you provide the access point ARN in place of the bucket name. For more information about access point ARNs, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-access-points.html">Using access points</a> in the <i>Amazon S3 User Guide</i>.</p>
501
+ * <note>
502
+ * <p>Access points and Object Lambda access points are not supported by directory buckets.</p>
503
+ * </note>
504
+ * <p>
505
+ * <b>S3 on Outposts</b> - When you use this action with Amazon S3 on Outposts, you must direct requests to the S3 on Outposts hostname. The S3 on Outposts hostname takes the form <code>
506
+ * <i>AccessPointName</i>-<i>AccountId</i>.<i>outpostID</i>.s3-outposts.<i>Region</i>.amazonaws.com</code>. When you use this action with S3 on Outposts through the Amazon Web Services SDKs, you provide the Outposts access point ARN in place of the bucket name. For more information about S3 on Outposts ARNs, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html">What is S3 on Outposts?</a> in the <i>Amazon S3 User Guide</i>.</p>
507
+ * <p>Note: To supply the Multi-region Access Point (MRAP) to Bucket, you need to install the "@aws-sdk/signature-v4-crt" package to your project dependencies.
508
+ * For more information, please go to https://github.com/aws/aws-sdk-js-v3#known-issues</p>
509
+ */
510
+ Bucket: string | undefined;
511
+ /**
512
+ * @public
513
+ * <p>Can be used to specify caching behavior along the request/reply chain. For more
514
+ * information, see <a href="http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.9">http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.9</a>.</p>
515
+ */
516
+ CacheControl?: string;
517
+ /**
518
+ * @public
519
+ * <p>Specifies presentational information for the object. For more information, see <a href="https://www.rfc-editor.org/rfc/rfc6266#section-4">https://www.rfc-editor.org/rfc/rfc6266#section-4</a>.</p>
520
+ */
521
+ ContentDisposition?: string;
522
+ /**
523
+ * @public
524
+ * <p>Specifies what content encodings have been applied to the object and thus what decoding
525
+ * mechanisms must be applied to obtain the media-type referenced by the Content-Type header
526
+ * field. For more information, see <a href="https://www.rfc-editor.org/rfc/rfc9110.html#field.content-encoding">https://www.rfc-editor.org/rfc/rfc9110.html#field.content-encoding</a>.</p>
527
+ */
528
+ ContentEncoding?: string;
529
+ /**
530
+ * @public
531
+ * <p>The language the content is in.</p>
532
+ */
533
+ ContentLanguage?: string;
534
+ /**
535
+ * @public
536
+ * <p>Size of the body in bytes. This parameter is useful when the size of the body cannot be
537
+ * determined automatically. For more information, see <a href="https://www.rfc-editor.org/rfc/rfc9110.html#name-content-length">https://www.rfc-editor.org/rfc/rfc9110.html#name-content-length</a>.</p>
538
+ */
539
+ ContentLength?: number;
540
+ /**
541
+ * @public
542
+ * <p>The base64-encoded 128-bit MD5 digest of the message (without the headers) according to
543
+ * RFC 1864. This header can be used as a message integrity check to verify that the data is
544
+ * the same data that was originally sent. Although it is optional, we recommend using the
545
+ * Content-MD5 mechanism as an end-to-end integrity check. For more information about REST
546
+ * request authentication, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/RESTAuthentication.html">REST Authentication</a>.</p>
547
+ * <note>
548
+ * <p>The <code>Content-MD5</code> header is required for any request to upload an
549
+ * object with a retention period configured using Amazon S3 Object Lock. For more
550
+ * information about Amazon S3 Object Lock, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/object-lock-overview.html">Amazon S3 Object Lock
551
+ * Overview</a> in the <i>Amazon S3 User Guide</i>. </p>
552
+ * </note>
553
+ * <note>
554
+ * <p>This functionality is not supported for directory buckets.</p>
555
+ * </note>
556
+ */
557
+ ContentMD5?: string;
558
+ /**
559
+ * @public
560
+ * <p>A standard MIME type describing the format of the contents. For more information, see
561
+ * <a href="https://www.rfc-editor.org/rfc/rfc9110.html#name-content-type">https://www.rfc-editor.org/rfc/rfc9110.html#name-content-type</a>.</p>
562
+ */
563
+ ContentType?: string;
564
+ /**
565
+ * @public
566
+ * <p>Indicates the algorithm used to create the checksum for the object when you use the SDK. This header will not provide any
567
+ * additional functionality if you don't use the SDK. When you send this header, there must be a corresponding <code>x-amz-checksum-<i>algorithm</i>
568
+ * </code> or
569
+ * <code>x-amz-trailer</code> header sent. Otherwise, Amazon S3 fails the request with the HTTP status code <code>400 Bad Request</code>.</p>
570
+ * <p>For the <code>x-amz-checksum-<i>algorithm</i>
571
+ * </code> header, replace <code>
572
+ * <i>algorithm</i>
573
+ * </code> with the supported algorithm from the following list: </p>
574
+ * <ul>
575
+ * <li>
576
+ * <p>CRC32</p>
577
+ * </li>
578
+ * <li>
579
+ * <p>CRC32C</p>
580
+ * </li>
581
+ * <li>
582
+ * <p>SHA1</p>
583
+ * </li>
584
+ * <li>
585
+ * <p>SHA256</p>
586
+ * </li>
587
+ * </ul>
588
+ * <p>For more
589
+ * information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html">Checking object integrity</a> in
590
+ * the <i>Amazon S3 User Guide</i>.</p>
591
+ * <p>If the individual checksum value you provide through <code>x-amz-checksum-<i>algorithm</i>
592
+ * </code> doesn't match the checksum algorithm you set through <code>x-amz-sdk-checksum-algorithm</code>, Amazon S3 ignores any provided
593
+ * <code>ChecksumAlgorithm</code> parameter and uses the checksum algorithm that matches the provided value in <code>x-amz-checksum-<i>algorithm</i>
594
+ * </code>.</p>
595
+ * <note>
596
+ * <p>For directory buckets, when you use Amazon Web Services SDKs, <code>CRC32</code> is the default checksum algorithm that's used for performance.</p>
597
+ * </note>
598
+ */
599
+ ChecksumAlgorithm?: ChecksumAlgorithm;
600
+ /**
601
+ * @public
602
+ * <p>This header can be used as a data integrity check to verify that the data received is the same data that was originally sent.
603
+ * This header specifies the base64-encoded, 32-bit CRC32 checksum of the object. For more information, see
604
+ * <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html">Checking object integrity</a> in the
605
+ * <i>Amazon S3 User Guide</i>.</p>
606
+ */
607
+ ChecksumCRC32?: string;
608
+ /**
609
+ * @public
610
+ * <p>This header can be used as a data integrity check to verify that the data received is the same data that was originally sent.
611
+ * This header specifies the base64-encoded, 32-bit CRC32C checksum of the object. For more information, see
612
+ * <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html">Checking object integrity</a> in the
613
+ * <i>Amazon S3 User Guide</i>.</p>
614
+ */
615
+ ChecksumCRC32C?: string;
616
+ /**
617
+ * @public
618
+ * <p>This header can be used as a data integrity check to verify that the data received is the same data that was originally sent.
619
+ * This header specifies the base64-encoded, 160-bit SHA-1 digest of the object. For more information, see
620
+ * <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html">Checking object integrity</a> in the
621
+ * <i>Amazon S3 User Guide</i>.</p>
622
+ */
623
+ ChecksumSHA1?: string;
624
+ /**
625
+ * @public
626
+ * <p>This header can be used as a data integrity check to verify that the data received is the same data that was originally sent.
627
+ * This header specifies the base64-encoded, 256-bit SHA-256 digest of the object. For more information, see
628
+ * <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html">Checking object integrity</a> in the
629
+ * <i>Amazon S3 User Guide</i>.</p>
630
+ */
631
+ ChecksumSHA256?: string;
632
+ /**
633
+ * @public
634
+ * <p>The date and time at which the object is no longer cacheable. For more information, see
635
+ * <a href="https://www.rfc-editor.org/rfc/rfc7234#section-5.3">https://www.rfc-editor.org/rfc/rfc7234#section-5.3</a>.</p>
636
+ */
637
+ Expires?: Date;
638
+ /**
639
+ * @public
640
+ * <p>Gives the grantee READ, READ_ACP, and WRITE_ACP permissions on the object.</p>
641
+ * <note>
642
+ * <ul>
643
+ * <li>
644
+ * <p>This functionality is not supported for directory buckets.</p>
645
+ * </li>
646
+ * <li>
647
+ * <p>This functionality is not supported for Amazon S3 on Outposts.</p>
648
+ * </li>
649
+ * </ul>
650
+ * </note>
651
+ */
652
+ GrantFullControl?: string;
653
+ /**
654
+ * @public
655
+ * <p>Allows grantee to read the object data and its metadata.</p>
656
+ * <note>
657
+ * <ul>
658
+ * <li>
659
+ * <p>This functionality is not supported for directory buckets.</p>
660
+ * </li>
661
+ * <li>
662
+ * <p>This functionality is not supported for Amazon S3 on Outposts.</p>
663
+ * </li>
664
+ * </ul>
665
+ * </note>
666
+ */
667
+ GrantRead?: string;
668
+ /**
669
+ * @public
670
+ * <p>Allows grantee to read the object ACL.</p>
671
+ * <note>
672
+ * <ul>
673
+ * <li>
674
+ * <p>This functionality is not supported for directory buckets.</p>
675
+ * </li>
676
+ * <li>
677
+ * <p>This functionality is not supported for Amazon S3 on Outposts.</p>
678
+ * </li>
679
+ * </ul>
680
+ * </note>
681
+ */
682
+ GrantReadACP?: string;
683
+ /**
684
+ * @public
685
+ * <p>Allows grantee to write the ACL for the applicable object.</p>
686
+ * <note>
687
+ * <ul>
688
+ * <li>
689
+ * <p>This functionality is not supported for directory buckets.</p>
690
+ * </li>
691
+ * <li>
692
+ * <p>This functionality is not supported for Amazon S3 on Outposts.</p>
693
+ * </li>
694
+ * </ul>
695
+ * </note>
696
+ */
697
+ GrantWriteACP?: string;
698
+ /**
699
+ * @public
700
+ * <p>Object key for which the PUT action was initiated.</p>
701
+ */
702
+ Key: string | undefined;
703
+ /**
704
+ * @public
705
+ * <p>A map of metadata to store with the object in S3.</p>
706
+ */
707
+ Metadata?: Record<string, string>;
708
+ /**
709
+ * @public
710
+ * <p>The server-side encryption algorithm that was used when you store this object in Amazon S3 (for example,
711
+ * <code>AES256</code>, <code>aws:kms</code>, <code>aws:kms:dsse</code>).</p>
712
+ * <p>
713
+ * <b>General purpose buckets </b> - You have four mutually exclusive options to protect data using server-side encryption in
714
+ * Amazon S3, depending on how you choose to manage the encryption keys. Specifically, the
715
+ * encryption key options are Amazon S3 managed keys (SSE-S3), Amazon Web Services KMS keys (SSE-KMS or
716
+ * DSSE-KMS), and customer-provided keys (SSE-C). Amazon S3 encrypts data with server-side
717
+ * encryption by using Amazon S3 managed keys (SSE-S3) by default. You can optionally tell Amazon S3 to
718
+ * encrypt data at rest by using server-side encryption with other key options. For more
719
+ * information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/UsingServerSideEncryption.html">Using Server-Side
720
+ * Encryption</a> in the <i>Amazon S3 User Guide</i>.</p>
721
+ * <p>
722
+ * <b>Directory buckets </b> - For directory buckets, only the server-side encryption with Amazon S3 managed keys (SSE-S3) (<code>AES256</code>) value is supported.</p>
723
+ */
724
+ ServerSideEncryption?: ServerSideEncryption;
725
+ /**
726
+ * @public
727
+ * <p>By default, Amazon S3 uses the STANDARD Storage Class to store newly created objects. The
728
+ * STANDARD storage class provides high durability and high availability. Depending on
729
+ * performance needs, you can specify a different Storage Class. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/storage-class-intro.html">Storage Classes</a> in the
730
+ * <i>Amazon S3 User Guide</i>.</p>
731
+ * <note>
732
+ * <ul>
733
+ * <li>
734
+ * <p>For directory buckets, only the S3 Express One Zone storage class is supported to store newly created objects.</p>
735
+ * </li>
736
+ * <li>
737
+ * <p>Amazon S3 on Outposts only uses
738
+ * the OUTPOSTS Storage Class.</p>
739
+ * </li>
740
+ * </ul>
741
+ * </note>
742
+ */
743
+ StorageClass?: StorageClass;
744
+ /**
745
+ * @public
746
+ * <p>If the bucket is configured as a website, redirects requests for this object to another
747
+ * object in the same bucket or to an external URL. Amazon S3 stores the value of this header in
748
+ * the object metadata. For information about object metadata, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/UsingMetadata.html">Object Key and Metadata</a> in the <i>Amazon S3
749
+ * User Guide</i>.</p>
750
+ * <p>In the following example, the request header sets the redirect to an object
751
+ * (anotherPage.html) in the same bucket:</p>
752
+ * <p>
753
+ * <code>x-amz-website-redirect-location: /anotherPage.html</code>
754
+ * </p>
755
+ * <p>In the following example, the request header sets the object redirect to another
756
+ * website:</p>
757
+ * <p>
758
+ * <code>x-amz-website-redirect-location: http://www.example.com/</code>
759
+ * </p>
760
+ * <p>For more information about website hosting in Amazon S3, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/WebsiteHosting.html">Hosting Websites on Amazon S3</a> and
761
+ * <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/how-to-page-redirect.html">How to
762
+ * Configure Website Page Redirects</a> in the <i>Amazon S3
763
+ * User Guide</i>. </p>
764
+ * <note>
765
+ * <p>This functionality is not supported for directory buckets.</p>
766
+ * </note>
767
+ */
768
+ WebsiteRedirectLocation?: string;
769
+ /**
770
+ * @public
771
+ * <p>Specifies the algorithm to use when encrypting the object (for example,
772
+ * <code>AES256</code>).</p>
773
+ * <note>
774
+ * <p>This functionality is not supported for directory buckets.</p>
775
+ * </note>
776
+ */
777
+ SSECustomerAlgorithm?: string;
778
+ /**
779
+ * @public
780
+ * <p>Specifies the customer-provided encryption key for Amazon S3 to use in encrypting data. This
781
+ * value is used to store the object and then it is discarded; Amazon S3 does not store the
782
+ * encryption key. The key must be appropriate for use with the algorithm specified in the
783
+ * <code>x-amz-server-side-encryption-customer-algorithm</code> header.</p>
784
+ * <note>
785
+ * <p>This functionality is not supported for directory buckets.</p>
786
+ * </note>
787
+ */
788
+ SSECustomerKey?: string;
789
+ /**
790
+ * @public
791
+ * <p>Specifies the 128-bit MD5 digest of the encryption key according to RFC 1321. Amazon S3 uses
792
+ * this header for a message integrity check to ensure that the encryption key was transmitted
793
+ * without error.</p>
794
+ * <note>
795
+ * <p>This functionality is not supported for directory buckets.</p>
796
+ * </note>
797
+ */
798
+ SSECustomerKeyMD5?: string;
799
+ /**
800
+ * @public
801
+ * <p>If <code>x-amz-server-side-encryption</code> has a valid value of <code>aws:kms</code>
802
+ * or <code>aws:kms:dsse</code>, this header specifies the ID (Key ID, Key ARN, or Key Alias) of the Key Management Service (KMS)
803
+ * symmetric encryption customer managed key that was used for the object. If you specify
804
+ * <code>x-amz-server-side-encryption:aws:kms</code> or
805
+ * <code>x-amz-server-side-encryption:aws:kms:dsse</code>, but do not provide<code>
806
+ * x-amz-server-side-encryption-aws-kms-key-id</code>, Amazon S3 uses the Amazon Web Services managed key
807
+ * (<code>aws/s3</code>) to protect the data. If the KMS key does not exist in the same
808
+ * account that's issuing the command, you must use the full ARN and not just the ID. </p>
809
+ * <note>
810
+ * <p>This functionality is not supported for directory buckets.</p>
811
+ * </note>
812
+ */
813
+ SSEKMSKeyId?: string;
814
+ /**
815
+ * @public
816
+ * <p>Specifies the Amazon Web Services KMS Encryption Context to use for object encryption. The value of
817
+ * this header is a base64-encoded UTF-8 string holding JSON with the encryption context
818
+ * key-value pairs. This value is stored as object metadata and automatically gets passed on
819
+ * to Amazon Web Services KMS for future <code>GetObject</code> or <code>CopyObject</code> operations on
820
+ * this object. This value must be explicitly added during <code>CopyObject</code> operations.</p>
821
+ * <note>
822
+ * <p>This functionality is not supported for directory buckets.</p>
823
+ * </note>
824
+ */
825
+ SSEKMSEncryptionContext?: string;
826
+ /**
827
+ * @public
828
+ * <p>Specifies whether Amazon S3 should use an S3 Bucket Key for object encryption with
829
+ * server-side encryption using Key Management Service (KMS) keys (SSE-KMS). Setting this header to
830
+ * <code>true</code> causes Amazon S3 to use an S3 Bucket Key for object encryption with
831
+ * SSE-KMS.</p>
832
+ * <p>Specifying this header with a PUT action doesn’t affect bucket-level settings for S3
833
+ * Bucket Key.</p>
834
+ * <note>
835
+ * <p>This functionality is not supported for directory buckets.</p>
836
+ * </note>
837
+ */
838
+ BucketKeyEnabled?: boolean;
839
+ /**
840
+ * @public
841
+ * <p>Confirms that the requester knows that they will be charged for the request. Bucket
842
+ * owners need not specify this parameter in their requests. If either the source or
843
+ * destination S3 bucket has Requester Pays enabled, the requester will pay for
844
+ * corresponding charges to copy the object. For information about downloading objects from
845
+ * Requester Pays buckets, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/ObjectsinRequesterPaysBuckets.html">Downloading Objects in
846
+ * Requester Pays Buckets</a> in the <i>Amazon S3 User Guide</i>.</p>
847
+ * <note>
848
+ * <p>This functionality is not supported for directory buckets.</p>
849
+ * </note>
850
+ */
851
+ RequestPayer?: RequestPayer;
852
+ /**
853
+ * @public
854
+ * <p>The tag-set for the object. The tag-set must be encoded as URL Query parameters. (For
855
+ * example, "Key1=Value1")</p>
856
+ * <note>
857
+ * <p>This functionality is not supported for directory buckets.</p>
858
+ * </note>
859
+ */
860
+ Tagging?: string;
861
+ /**
862
+ * @public
863
+ * <p>The Object Lock mode that you want to apply to this object.</p>
864
+ * <note>
865
+ * <p>This functionality is not supported for directory buckets.</p>
866
+ * </note>
867
+ */
868
+ ObjectLockMode?: ObjectLockMode;
869
+ /**
870
+ * @public
871
+ * <p>The date and time when you want this object's Object Lock to expire. Must be formatted
872
+ * as a timestamp parameter.</p>
873
+ * <note>
874
+ * <p>This functionality is not supported for directory buckets.</p>
875
+ * </note>
876
+ */
877
+ ObjectLockRetainUntilDate?: Date;
878
+ /**
879
+ * @public
880
+ * <p>Specifies whether a legal hold will be applied to this object. For more information
881
+ * about S3 Object Lock, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/object-lock.html">Object Lock</a> in the <i>Amazon S3 User Guide</i>.</p>
882
+ * <note>
883
+ * <p>This functionality is not supported for directory buckets.</p>
884
+ * </note>
885
+ */
886
+ ObjectLockLegalHoldStatus?: ObjectLockLegalHoldStatus;
887
+ /**
888
+ * @public
889
+ * <p>The account ID of the expected bucket owner. If the account ID that you provide does not match the actual owner of the bucket, the request fails with the HTTP status code <code>403 Forbidden</code> (access denied).</p>
890
+ */
891
+ ExpectedBucketOwner?: string;
892
+ }
893
+ /**
894
+ * @public
895
+ */
896
+ export interface PutObjectAclOutput {
897
+ /**
898
+ * @public
899
+ * <p>If present, indicates that the requester was successfully charged for the
900
+ * request.</p>
901
+ * <note>
902
+ * <p>This functionality is not supported for directory buckets.</p>
903
+ * </note>
904
+ */
905
+ RequestCharged?: RequestCharged;
906
+ }
907
+ /**
908
+ * @public
909
+ */
910
+ export interface PutObjectAclRequest {
911
+ /**
912
+ * @public
913
+ * <p>The canned ACL to apply to the object. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/acl-overview.html#CannedACL">Canned
914
+ * ACL</a>.</p>
915
+ */
916
+ ACL?: ObjectCannedACL;
917
+ /**
918
+ * @public
919
+ * <p>Contains the elements that set the ACL permissions for an object per grantee.</p>
920
+ */
921
+ AccessControlPolicy?: AccessControlPolicy;
922
+ /**
923
+ * @public
924
+ * <p>The bucket name that contains the object to which you want to attach the ACL. </p>
925
+ * <p>
926
+ * <b>Access points</b> - When you use this action with 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 <i>AccessPointName</i>-<i>AccountId</i>.s3-accesspoint.<i>Region</i>.amazonaws.com. When using this action with an access point through the Amazon Web Services SDKs, you provide the access point ARN in place of the bucket name. For more information about access point ARNs, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-access-points.html">Using access points</a> in the <i>Amazon S3 User Guide</i>.</p>
927
+ * <p>
928
+ * <b>S3 on Outposts</b> - When you use this action with Amazon S3 on Outposts, you must direct requests to the S3 on Outposts hostname. The S3 on Outposts hostname takes the form <code>
929
+ * <i>AccessPointName</i>-<i>AccountId</i>.<i>outpostID</i>.s3-outposts.<i>Region</i>.amazonaws.com</code>. When you use this action with S3 on Outposts through the Amazon Web Services SDKs, you provide the Outposts access point ARN in place of the bucket name. For more information about S3 on Outposts ARNs, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html">What is S3 on Outposts?</a> in the <i>Amazon S3 User Guide</i>.</p>
930
+ * <p>Note: To supply the Multi-region Access Point (MRAP) to Bucket, you need to install the "@aws-sdk/signature-v4-crt" package to your project dependencies.
931
+ * For more information, please go to https://github.com/aws/aws-sdk-js-v3#known-issues</p>
932
+ */
933
+ Bucket: string | undefined;
934
+ /**
935
+ * @public
936
+ * <p>The base64-encoded 128-bit MD5 digest of the data. This header must be used as a message
937
+ * integrity check to verify that the request body was not corrupted in transit. For more
938
+ * information, go to <a href="http://www.ietf.org/rfc/rfc1864.txt">RFC
939
+ * 1864.></a>
940
+ * </p>
941
+ * <p>For requests made using the Amazon Web Services Command Line Interface (CLI) or Amazon Web Services SDKs, this field is calculated automatically.</p>
942
+ */
943
+ ContentMD5?: string;
944
+ /**
945
+ * @public
946
+ * <p>Indicates the algorithm used to create the checksum for the object when you use the SDK. This header will not provide any
947
+ * additional functionality if you don't use the SDK. When you send this header, there must be a corresponding <code>x-amz-checksum</code> or
948
+ * <code>x-amz-trailer</code> header sent. Otherwise, Amazon S3 fails the request with the HTTP status code <code>400 Bad Request</code>. For more
949
+ * information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html">Checking object integrity</a> in
950
+ * the <i>Amazon S3 User Guide</i>.</p>
951
+ * <p>If you provide an individual checksum, Amazon S3 ignores any provided
952
+ * <code>ChecksumAlgorithm</code> parameter.</p>
953
+ */
954
+ ChecksumAlgorithm?: ChecksumAlgorithm;
955
+ /**
956
+ * @public
957
+ * <p>Allows grantee the read, write, read ACP, and write ACP permissions on the
958
+ * bucket.</p>
959
+ * <p>This functionality is not supported for Amazon S3 on Outposts.</p>
960
+ */
961
+ GrantFullControl?: string;
962
+ /**
963
+ * @public
964
+ * <p>Allows grantee to list the objects in the bucket.</p>
965
+ * <p>This functionality is not supported for Amazon S3 on Outposts.</p>
966
+ */
967
+ GrantRead?: string;
968
+ /**
969
+ * @public
970
+ * <p>Allows grantee to read the bucket ACL.</p>
971
+ * <p>This functionality is not supported for Amazon S3 on Outposts.</p>
972
+ */
973
+ GrantReadACP?: string;
974
+ /**
975
+ * @public
976
+ * <p>Allows grantee to create new objects in the bucket.</p>
977
+ * <p>For the bucket and object owners of existing objects, also allows deletions and
978
+ * overwrites of those objects.</p>
979
+ */
980
+ GrantWrite?: string;
981
+ /**
982
+ * @public
983
+ * <p>Allows grantee to write the ACL for the applicable bucket.</p>
984
+ * <p>This functionality is not supported for Amazon S3 on Outposts.</p>
985
+ */
986
+ GrantWriteACP?: string;
987
+ /**
988
+ * @public
989
+ * <p>Key for which the PUT action was initiated.</p>
990
+ */
991
+ Key: string | undefined;
992
+ /**
993
+ * @public
994
+ * <p>Confirms that the requester knows that they will be charged for the request. Bucket
995
+ * owners need not specify this parameter in their requests. If either the source or
996
+ * destination S3 bucket has Requester Pays enabled, the requester will pay for
997
+ * corresponding charges to copy the object. For information about downloading objects from
998
+ * Requester Pays buckets, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/ObjectsinRequesterPaysBuckets.html">Downloading Objects in
999
+ * Requester Pays Buckets</a> in the <i>Amazon S3 User Guide</i>.</p>
1000
+ * <note>
1001
+ * <p>This functionality is not supported for directory buckets.</p>
1002
+ * </note>
1003
+ */
1004
+ RequestPayer?: RequestPayer;
1005
+ /**
1006
+ * @public
1007
+ * <p>Version ID used to reference a specific version of the object.</p>
1008
+ * <note>
1009
+ * <p>This functionality is not supported for directory buckets.</p>
1010
+ * </note>
1011
+ */
1012
+ VersionId?: string;
1013
+ /**
1014
+ * @public
1015
+ * <p>The account ID of the expected bucket owner. If the account ID that you provide does not match the actual owner of the bucket, the request fails with the HTTP status code <code>403 Forbidden</code> (access denied).</p>
1016
+ */
1017
+ ExpectedBucketOwner?: string;
1018
+ }
1019
+ /**
1020
+ * @public
1021
+ */
1022
+ export interface PutObjectLegalHoldOutput {
1023
+ /**
1024
+ * @public
1025
+ * <p>If present, indicates that the requester was successfully charged for the
1026
+ * request.</p>
1027
+ * <note>
1028
+ * <p>This functionality is not supported for directory buckets.</p>
1029
+ * </note>
1030
+ */
1031
+ RequestCharged?: RequestCharged;
1032
+ }
1033
+ /**
1034
+ * @public
1035
+ */
1036
+ export interface PutObjectLegalHoldRequest {
1037
+ /**
1038
+ * @public
1039
+ * <p>The bucket name containing the object that you want to place a legal hold on. </p>
1040
+ * <p>
1041
+ * <b>Access points</b> - When you use this action with 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 <i>AccessPointName</i>-<i>AccountId</i>.s3-accesspoint.<i>Region</i>.amazonaws.com. When using this action with an access point through the Amazon Web Services SDKs, you provide the access point ARN in place of the bucket name. For more information about access point ARNs, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-access-points.html">Using access points</a> in the <i>Amazon S3 User Guide</i>.</p>
1042
+ * <p>Note: To supply the Multi-region Access Point (MRAP) to Bucket, you need to install the "@aws-sdk/signature-v4-crt" package to your project dependencies.
1043
+ * For more information, please go to https://github.com/aws/aws-sdk-js-v3#known-issues</p>
1044
+ */
1045
+ Bucket: string | undefined;
1046
+ /**
1047
+ * @public
1048
+ * <p>The key name for the object that you want to place a legal hold on.</p>
1049
+ */
1050
+ Key: string | undefined;
1051
+ /**
1052
+ * @public
1053
+ * <p>Container element for the legal hold configuration you want to apply to the specified
1054
+ * object.</p>
1055
+ */
1056
+ LegalHold?: ObjectLockLegalHold;
1057
+ /**
1058
+ * @public
1059
+ * <p>Confirms that the requester knows that they will be charged for the request. Bucket
1060
+ * owners need not specify this parameter in their requests. If either the source or
1061
+ * destination S3 bucket has Requester Pays enabled, the requester will pay for
1062
+ * corresponding charges to copy the object. For information about downloading objects from
1063
+ * Requester Pays buckets, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/ObjectsinRequesterPaysBuckets.html">Downloading Objects in
1064
+ * Requester Pays Buckets</a> in the <i>Amazon S3 User Guide</i>.</p>
1065
+ * <note>
1066
+ * <p>This functionality is not supported for directory buckets.</p>
1067
+ * </note>
1068
+ */
1069
+ RequestPayer?: RequestPayer;
1070
+ /**
1071
+ * @public
1072
+ * <p>The version ID of the object that you want to place a legal hold on.</p>
1073
+ */
1074
+ VersionId?: string;
1075
+ /**
1076
+ * @public
1077
+ * <p>The MD5 hash for the request body.</p>
1078
+ * <p>For requests made using the Amazon Web Services Command Line Interface (CLI) or Amazon Web Services SDKs, this field is calculated automatically.</p>
1079
+ */
1080
+ ContentMD5?: string;
1081
+ /**
1082
+ * @public
1083
+ * <p>Indicates the algorithm used to create the checksum for the object when you use the SDK. This header will not provide any
1084
+ * additional functionality if you don't use the SDK. When you send this header, there must be a corresponding <code>x-amz-checksum</code> or
1085
+ * <code>x-amz-trailer</code> header sent. Otherwise, Amazon S3 fails the request with the HTTP status code <code>400 Bad Request</code>. For more
1086
+ * information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html">Checking object integrity</a> in
1087
+ * the <i>Amazon S3 User Guide</i>.</p>
1088
+ * <p>If you provide an individual checksum, Amazon S3 ignores any provided
1089
+ * <code>ChecksumAlgorithm</code> parameter.</p>
1090
+ */
1091
+ ChecksumAlgorithm?: ChecksumAlgorithm;
1092
+ /**
1093
+ * @public
1094
+ * <p>The account ID of the expected bucket owner. If the account ID that you provide does not match the actual owner of the bucket, the request fails with the HTTP status code <code>403 Forbidden</code> (access denied).</p>
1095
+ */
1096
+ ExpectedBucketOwner?: string;
1097
+ }
6
1098
  /**
7
1099
  * @public
8
1100
  */
9
1101
  export interface PutObjectLockConfigurationOutput {
10
1102
  /**
1103
+ * @public
11
1104
  * <p>If present, indicates that the requester was successfully charged for the
12
1105
  * request.</p>
1106
+ * <note>
1107
+ * <p>This functionality is not supported for directory buckets.</p>
1108
+ * </note>
13
1109
  */
14
- RequestCharged?: RequestCharged | string;
1110
+ RequestCharged?: RequestCharged;
15
1111
  }
16
1112
  /**
17
1113
  * @public
18
1114
  */
19
1115
  export interface PutObjectLockConfigurationRequest {
20
1116
  /**
1117
+ * @public
21
1118
  * <p>The bucket whose Object Lock configuration you want to create or replace.</p>
22
1119
  * <p>Note: To supply the Multi-region Access Point (MRAP) to Bucket, you need to install the "@aws-sdk/signature-v4-crt" package to your project dependencies.
23
1120
  * For more information, please go to https://github.com/aws/aws-sdk-js-v3#known-issues</p>
24
1121
  */
25
1122
  Bucket: string | undefined;
26
1123
  /**
1124
+ * @public
27
1125
  * <p>The Object Lock configuration that you want to apply to the specified bucket.</p>
28
1126
  */
29
1127
  ObjectLockConfiguration?: ObjectLockConfiguration;
30
1128
  /**
1129
+ * @public
31
1130
  * <p>Confirms that the requester knows that they will be charged for the request. Bucket
32
- * owners need not specify this parameter in their requests. For information about downloading
33
- * objects from Requester Pays buckets, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/ObjectsinRequesterPaysBuckets.html">Downloading Objects in
1131
+ * owners need not specify this parameter in their requests. If either the source or
1132
+ * destination S3 bucket has Requester Pays enabled, the requester will pay for
1133
+ * corresponding charges to copy the object. For information about downloading objects from
1134
+ * Requester Pays buckets, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/ObjectsinRequesterPaysBuckets.html">Downloading Objects in
34
1135
  * Requester Pays Buckets</a> in the <i>Amazon S3 User Guide</i>.</p>
1136
+ * <note>
1137
+ * <p>This functionality is not supported for directory buckets.</p>
1138
+ * </note>
35
1139
  */
36
- RequestPayer?: RequestPayer | string;
1140
+ RequestPayer?: RequestPayer;
37
1141
  /**
1142
+ * @public
38
1143
  * <p>A token to allow Object Lock to be enabled for an existing bucket.</p>
39
1144
  */
40
1145
  Token?: string;
41
1146
  /**
1147
+ * @public
42
1148
  * <p>The MD5 hash for the request body.</p>
43
1149
  * <p>For requests made using the Amazon Web Services Command Line Interface (CLI) or Amazon Web Services SDKs, this field is calculated automatically.</p>
44
1150
  */
45
1151
  ContentMD5?: string;
46
1152
  /**
47
- * <p>Indicates the algorithm used to create the checksum for the object when using the SDK. This header will not provide any
48
- * additional functionality if not using the SDK. When sending this header, there must be a corresponding <code>x-amz-checksum</code> or
1153
+ * @public
1154
+ * <p>Indicates the algorithm used to create the checksum for the object when you use the SDK. This header will not provide any
1155
+ * additional functionality if you don't use the SDK. When you send this header, there must be a corresponding <code>x-amz-checksum</code> or
49
1156
  * <code>x-amz-trailer</code> header sent. Otherwise, Amazon S3 fails the request with the HTTP status code <code>400 Bad Request</code>. For more
50
1157
  * information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html">Checking object integrity</a> in
51
1158
  * the <i>Amazon S3 User Guide</i>.</p>
52
1159
  * <p>If you provide an individual checksum, Amazon S3 ignores any provided
53
1160
  * <code>ChecksumAlgorithm</code> parameter.</p>
54
1161
  */
55
- ChecksumAlgorithm?: ChecksumAlgorithm | string;
1162
+ ChecksumAlgorithm?: ChecksumAlgorithm;
56
1163
  /**
57
- * <p>The account ID of the expected bucket owner. If the bucket is owned by a different account, the request fails with the HTTP status code <code>403 Forbidden</code> (access denied).</p>
1164
+ * @public
1165
+ * <p>The account ID of the expected bucket owner. If the account ID that you provide does not match the actual owner of the bucket, the request fails with the HTTP status code <code>403 Forbidden</code> (access denied).</p>
58
1166
  */
59
1167
  ExpectedBucketOwner?: string;
60
1168
  }
@@ -63,65 +1171,84 @@ export interface PutObjectLockConfigurationRequest {
63
1171
  */
64
1172
  export interface PutObjectRetentionOutput {
65
1173
  /**
1174
+ * @public
66
1175
  * <p>If present, indicates that the requester was successfully charged for the
67
1176
  * request.</p>
1177
+ * <note>
1178
+ * <p>This functionality is not supported for directory buckets.</p>
1179
+ * </note>
68
1180
  */
69
- RequestCharged?: RequestCharged | string;
1181
+ RequestCharged?: RequestCharged;
70
1182
  }
71
1183
  /**
72
1184
  * @public
73
1185
  */
74
1186
  export interface PutObjectRetentionRequest {
75
1187
  /**
1188
+ * @public
76
1189
  * <p>The bucket name that contains the object you want to apply this Object Retention
77
1190
  * configuration to. </p>
78
- * <p>When using this action with an access point, you must direct requests to the access point hostname. The access point hostname takes the form <i>AccessPointName</i>-<i>AccountId</i>.s3-accesspoint.<i>Region</i>.amazonaws.com. When using this action with an access point through the Amazon Web Services SDKs, you provide the access point ARN in place of the bucket name. For more information about access point ARNs, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-access-points.html">Using access points</a> in the <i>Amazon S3 User Guide</i>.</p>
1191
+ * <p>
1192
+ * <b>Access points</b> - When you use this action with 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 <i>AccessPointName</i>-<i>AccountId</i>.s3-accesspoint.<i>Region</i>.amazonaws.com. When using this action with an access point through the Amazon Web Services SDKs, you provide the access point ARN in place of the bucket name. For more information about access point ARNs, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-access-points.html">Using access points</a> in the <i>Amazon S3 User Guide</i>.</p>
79
1193
  * <p>Note: To supply the Multi-region Access Point (MRAP) to Bucket, you need to install the "@aws-sdk/signature-v4-crt" package to your project dependencies.
80
1194
  * For more information, please go to https://github.com/aws/aws-sdk-js-v3#known-issues</p>
81
1195
  */
82
1196
  Bucket: string | undefined;
83
1197
  /**
1198
+ * @public
84
1199
  * <p>The key name for the object that you want to apply this Object Retention configuration
85
1200
  * to.</p>
86
1201
  */
87
1202
  Key: string | undefined;
88
1203
  /**
1204
+ * @public
89
1205
  * <p>The container element for the Object Retention configuration.</p>
90
1206
  */
91
1207
  Retention?: ObjectLockRetention;
92
1208
  /**
1209
+ * @public
93
1210
  * <p>Confirms that the requester knows that they will be charged for the request. Bucket
94
- * owners need not specify this parameter in their requests. For information about downloading
95
- * objects from Requester Pays buckets, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/ObjectsinRequesterPaysBuckets.html">Downloading Objects in
1211
+ * owners need not specify this parameter in their requests. If either the source or
1212
+ * destination S3 bucket has Requester Pays enabled, the requester will pay for
1213
+ * corresponding charges to copy the object. For information about downloading objects from
1214
+ * Requester Pays buckets, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/ObjectsinRequesterPaysBuckets.html">Downloading Objects in
96
1215
  * Requester Pays Buckets</a> in the <i>Amazon S3 User Guide</i>.</p>
1216
+ * <note>
1217
+ * <p>This functionality is not supported for directory buckets.</p>
1218
+ * </note>
97
1219
  */
98
- RequestPayer?: RequestPayer | string;
1220
+ RequestPayer?: RequestPayer;
99
1221
  /**
1222
+ * @public
100
1223
  * <p>The version ID for the object that you want to apply this Object Retention configuration
101
1224
  * to.</p>
102
1225
  */
103
1226
  VersionId?: string;
104
1227
  /**
1228
+ * @public
105
1229
  * <p>Indicates whether this action should bypass Governance-mode restrictions.</p>
106
1230
  */
107
1231
  BypassGovernanceRetention?: boolean;
108
1232
  /**
1233
+ * @public
109
1234
  * <p>The MD5 hash for the request body.</p>
110
1235
  * <p>For requests made using the Amazon Web Services Command Line Interface (CLI) or Amazon Web Services SDKs, this field is calculated automatically.</p>
111
1236
  */
112
1237
  ContentMD5?: string;
113
1238
  /**
114
- * <p>Indicates the algorithm used to create the checksum for the object when using the SDK. This header will not provide any
115
- * additional functionality if not using the SDK. When sending this header, there must be a corresponding <code>x-amz-checksum</code> or
1239
+ * @public
1240
+ * <p>Indicates the algorithm used to create the checksum for the object when you use the SDK. This header will not provide any
1241
+ * additional functionality if you don't use the SDK. When you send this header, there must be a corresponding <code>x-amz-checksum</code> or
116
1242
  * <code>x-amz-trailer</code> header sent. Otherwise, Amazon S3 fails the request with the HTTP status code <code>400 Bad Request</code>. For more
117
1243
  * information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html">Checking object integrity</a> in
118
1244
  * the <i>Amazon S3 User Guide</i>.</p>
119
1245
  * <p>If you provide an individual checksum, Amazon S3 ignores any provided
120
1246
  * <code>ChecksumAlgorithm</code> parameter.</p>
121
1247
  */
122
- ChecksumAlgorithm?: ChecksumAlgorithm | string;
1248
+ ChecksumAlgorithm?: ChecksumAlgorithm;
123
1249
  /**
124
- * <p>The account ID of the expected bucket owner. If the bucket is owned by a different account, the request fails with the HTTP status code <code>403 Forbidden</code> (access denied).</p>
1250
+ * @public
1251
+ * <p>The account ID of the expected bucket owner. If the account ID that you provide does not match the actual owner of the bucket, the request fails with the HTTP status code <code>403 Forbidden</code> (access denied).</p>
125
1252
  */
126
1253
  ExpectedBucketOwner?: string;
127
1254
  }
@@ -130,6 +1257,7 @@ export interface PutObjectRetentionRequest {
130
1257
  */
131
1258
  export interface PutObjectTaggingOutput {
132
1259
  /**
1260
+ * @public
133
1261
  * <p>The versionId of the object the tag-set was added to.</p>
134
1262
  */
135
1263
  VersionId?: string;
@@ -139,58 +1267,74 @@ export interface PutObjectTaggingOutput {
139
1267
  */
140
1268
  export interface PutObjectTaggingRequest {
141
1269
  /**
1270
+ * @public
142
1271
  * <p>The bucket name containing the object. </p>
143
- * <p>When using this action with an access point, you must direct requests to the access point hostname. The access point hostname takes the form <i>AccessPointName</i>-<i>AccountId</i>.s3-accesspoint.<i>Region</i>.amazonaws.com. When using this action with an access point through the Amazon Web Services SDKs, you provide the access point ARN in place of the bucket name. For more information about access point ARNs, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-access-points.html">Using access points</a> in the <i>Amazon S3 User Guide</i>.</p>
144
- * <p>When you use this action with Amazon S3 on Outposts, you must direct requests to the S3 on Outposts hostname. The S3 on Outposts hostname takes the form <code>
1272
+ * <p>
1273
+ * <b>Access points</b> - When you use this action with 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 <i>AccessPointName</i>-<i>AccountId</i>.s3-accesspoint.<i>Region</i>.amazonaws.com. When using this action with an access point through the Amazon Web Services SDKs, you provide the access point ARN in place of the bucket name. For more information about access point ARNs, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-access-points.html">Using access points</a> in the <i>Amazon S3 User Guide</i>.</p>
1274
+ * <p>
1275
+ * <b>S3 on Outposts</b> - When you use this action with Amazon S3 on Outposts, you must direct requests to the S3 on Outposts hostname. The S3 on Outposts hostname takes the form <code>
145
1276
  * <i>AccessPointName</i>-<i>AccountId</i>.<i>outpostID</i>.s3-outposts.<i>Region</i>.amazonaws.com</code>. When you use this action with S3 on Outposts through the Amazon Web Services SDKs, you provide the Outposts access point ARN in place of the bucket name. For more information about S3 on Outposts ARNs, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html">What is S3 on Outposts?</a> in the <i>Amazon S3 User Guide</i>.</p>
146
1277
  * <p>Note: To supply the Multi-region Access Point (MRAP) to Bucket, you need to install the "@aws-sdk/signature-v4-crt" package to your project dependencies.
147
1278
  * For more information, please go to https://github.com/aws/aws-sdk-js-v3#known-issues</p>
148
1279
  */
149
1280
  Bucket: string | undefined;
150
1281
  /**
1282
+ * @public
151
1283
  * <p>Name of the object key.</p>
152
1284
  */
153
1285
  Key: string | undefined;
154
1286
  /**
1287
+ * @public
155
1288
  * <p>The versionId of the object that the tag-set will be added to.</p>
156
1289
  */
157
1290
  VersionId?: string;
158
1291
  /**
1292
+ * @public
159
1293
  * <p>The MD5 hash for the request body.</p>
160
1294
  * <p>For requests made using the Amazon Web Services Command Line Interface (CLI) or Amazon Web Services SDKs, this field is calculated automatically.</p>
161
1295
  */
162
1296
  ContentMD5?: string;
163
1297
  /**
164
- * <p>Indicates the algorithm used to create the checksum for the object when using the SDK. This header will not provide any
165
- * additional functionality if not using the SDK. When sending this header, there must be a corresponding <code>x-amz-checksum</code> or
1298
+ * @public
1299
+ * <p>Indicates the algorithm used to create the checksum for the object when you use the SDK. This header will not provide any
1300
+ * additional functionality if you don't use the SDK. When you send this header, there must be a corresponding <code>x-amz-checksum</code> or
166
1301
  * <code>x-amz-trailer</code> header sent. Otherwise, Amazon S3 fails the request with the HTTP status code <code>400 Bad Request</code>. For more
167
1302
  * information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html">Checking object integrity</a> in
168
1303
  * the <i>Amazon S3 User Guide</i>.</p>
169
1304
  * <p>If you provide an individual checksum, Amazon S3 ignores any provided
170
1305
  * <code>ChecksumAlgorithm</code> parameter.</p>
171
1306
  */
172
- ChecksumAlgorithm?: ChecksumAlgorithm | string;
1307
+ ChecksumAlgorithm?: ChecksumAlgorithm;
173
1308
  /**
1309
+ * @public
174
1310
  * <p>Container for the <code>TagSet</code> and <code>Tag</code> elements</p>
175
1311
  */
176
1312
  Tagging: Tagging | undefined;
177
1313
  /**
178
- * <p>The account ID of the expected bucket owner. If the bucket is owned by a different account, the request fails with the HTTP status code <code>403 Forbidden</code> (access denied).</p>
1314
+ * @public
1315
+ * <p>The account ID of the expected bucket owner. If the account ID that you provide does not match the actual owner of the bucket, the request fails with the HTTP status code <code>403 Forbidden</code> (access denied).</p>
179
1316
  */
180
1317
  ExpectedBucketOwner?: string;
181
1318
  /**
1319
+ * @public
182
1320
  * <p>Confirms that the requester knows that they will be charged for the request. Bucket
183
- * owners need not specify this parameter in their requests. For information about downloading
184
- * objects from Requester Pays buckets, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/ObjectsinRequesterPaysBuckets.html">Downloading Objects in
1321
+ * owners need not specify this parameter in their requests. If either the source or
1322
+ * destination S3 bucket has Requester Pays enabled, the requester will pay for
1323
+ * corresponding charges to copy the object. For information about downloading objects from
1324
+ * Requester Pays buckets, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/ObjectsinRequesterPaysBuckets.html">Downloading Objects in
185
1325
  * Requester Pays Buckets</a> in the <i>Amazon S3 User Guide</i>.</p>
1326
+ * <note>
1327
+ * <p>This functionality is not supported for directory buckets.</p>
1328
+ * </note>
186
1329
  */
187
- RequestPayer?: RequestPayer | string;
1330
+ RequestPayer?: RequestPayer;
188
1331
  }
189
1332
  /**
190
1333
  * @public
191
1334
  */
192
1335
  export interface PutPublicAccessBlockRequest {
193
1336
  /**
1337
+ * @public
194
1338
  * <p>The name of the Amazon S3 bucket whose <code>PublicAccessBlock</code> configuration you want
195
1339
  * to set.</p>
196
1340
  * <p>Note: To supply the Multi-region Access Point (MRAP) to Bucket, you need to install the "@aws-sdk/signature-v4-crt" package to your project dependencies.
@@ -198,28 +1342,32 @@ export interface PutPublicAccessBlockRequest {
198
1342
  */
199
1343
  Bucket: string | undefined;
200
1344
  /**
1345
+ * @public
201
1346
  * <p>The MD5 hash of the <code>PutPublicAccessBlock</code> request body. </p>
202
1347
  * <p>For requests made using the Amazon Web Services Command Line Interface (CLI) or Amazon Web Services SDKs, this field is calculated automatically.</p>
203
1348
  */
204
1349
  ContentMD5?: string;
205
1350
  /**
206
- * <p>Indicates the algorithm used to create the checksum for the object when using the SDK. This header will not provide any
207
- * additional functionality if not using the SDK. When sending this header, there must be a corresponding <code>x-amz-checksum</code> or
1351
+ * @public
1352
+ * <p>Indicates the algorithm used to create the checksum for the object when you use the SDK. This header will not provide any
1353
+ * additional functionality if you don't use the SDK. When you send this header, there must be a corresponding <code>x-amz-checksum</code> or
208
1354
  * <code>x-amz-trailer</code> header sent. Otherwise, Amazon S3 fails the request with the HTTP status code <code>400 Bad Request</code>. For more
209
1355
  * information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html">Checking object integrity</a> in
210
1356
  * the <i>Amazon S3 User Guide</i>.</p>
211
1357
  * <p>If you provide an individual checksum, Amazon S3 ignores any provided
212
1358
  * <code>ChecksumAlgorithm</code> parameter.</p>
213
1359
  */
214
- ChecksumAlgorithm?: ChecksumAlgorithm | string;
1360
+ ChecksumAlgorithm?: ChecksumAlgorithm;
215
1361
  /**
1362
+ * @public
216
1363
  * <p>The <code>PublicAccessBlock</code> configuration that you want to apply to this Amazon S3
217
1364
  * bucket. You can enable the configuration options in any combination. For more information
218
1365
  * about when Amazon S3 considers a bucket or object public, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/access-control-block-public-access.html#access-control-block-public-access-policy-status">The Meaning of "Public"</a> in the <i>Amazon S3 User Guide</i>.</p>
219
1366
  */
220
1367
  PublicAccessBlockConfiguration: PublicAccessBlockConfiguration | undefined;
221
1368
  /**
222
- * <p>The account ID of the expected bucket owner. If the bucket is owned by a different account, the request fails with the HTTP status code <code>403 Forbidden</code> (access denied).</p>
1369
+ * @public
1370
+ * <p>The account ID of the expected bucket owner. If the account ID that you provide does not match the actual owner of the bucket, the request fails with the HTTP status code <code>403 Forbidden</code> (access denied).</p>
223
1371
  */
224
1372
  ExpectedBucketOwner?: string;
225
1373
  }
@@ -240,11 +1388,16 @@ export declare class ObjectAlreadyInActiveTierError extends __BaseException {
240
1388
  */
241
1389
  export interface RestoreObjectOutput {
242
1390
  /**
1391
+ * @public
243
1392
  * <p>If present, indicates that the requester was successfully charged for the
244
1393
  * request.</p>
1394
+ * <note>
1395
+ * <p>This functionality is not supported for directory buckets.</p>
1396
+ * </note>
245
1397
  */
246
- RequestCharged?: RequestCharged | string;
1398
+ RequestCharged?: RequestCharged;
247
1399
  /**
1400
+ * @public
248
1401
  * <p>Indicates the path in the provided S3 output location where Select results will be
249
1402
  * restored to.</p>
250
1403
  */
@@ -269,9 +1422,10 @@ export type Tier = (typeof Tier)[keyof typeof Tier];
269
1422
  */
270
1423
  export interface GlacierJobParameters {
271
1424
  /**
1425
+ * @public
272
1426
  * <p>Retrieval tier at which the restore will be processed.</p>
273
1427
  */
274
- Tier: Tier | string | undefined;
1428
+ Tier: Tier | undefined;
275
1429
  }
276
1430
  /**
277
1431
  * @public
@@ -279,11 +1433,13 @@ export interface GlacierJobParameters {
279
1433
  */
280
1434
  export interface Encryption {
281
1435
  /**
1436
+ * @public
282
1437
  * <p>The server-side encryption algorithm used when storing job results in Amazon S3 (for example,
283
1438
  * AES256, <code>aws:kms</code>).</p>
284
1439
  */
285
- EncryptionType: ServerSideEncryption | string | undefined;
1440
+ EncryptionType: ServerSideEncryption | undefined;
286
1441
  /**
1442
+ * @public
287
1443
  * <p>If the encryption type is <code>aws:kms</code>, this optional value specifies the ID of
288
1444
  * the symmetric encryption customer managed key to use for encryption of job results. Amazon S3 only
289
1445
  * supports symmetric encryption KMS keys. For more information, see <a href="https://docs.aws.amazon.com/kms/latest/developerguide/symmetric-asymmetric.html">Asymmetric keys in KMS</a> in the <i>Amazon Web Services Key Management Service
@@ -291,6 +1447,7 @@ export interface Encryption {
291
1447
  */
292
1448
  KMSKeyId?: string;
293
1449
  /**
1450
+ * @public
294
1451
  * <p>If the encryption type is <code>aws:kms</code>, this optional value can be used to
295
1452
  * specify the encryption context for the restore results.</p>
296
1453
  */
@@ -302,10 +1459,12 @@ export interface Encryption {
302
1459
  */
303
1460
  export interface MetadataEntry {
304
1461
  /**
1462
+ * @public
305
1463
  * <p>Name of the object.</p>
306
1464
  */
307
1465
  Name?: string;
308
1466
  /**
1467
+ * @public
309
1468
  * <p>Value of the object.</p>
310
1469
  */
311
1470
  Value?: string;
@@ -316,37 +1475,45 @@ export interface MetadataEntry {
316
1475
  */
317
1476
  export interface S3Location {
318
1477
  /**
1478
+ * @public
319
1479
  * <p>The name of the bucket where the restore results will be placed.</p>
320
1480
  */
321
1481
  BucketName: string | undefined;
322
1482
  /**
1483
+ * @public
323
1484
  * <p>The prefix that is prepended to the restore results for this request.</p>
324
1485
  */
325
1486
  Prefix: string | undefined;
326
1487
  /**
1488
+ * @public
327
1489
  * <p>Contains the type of server-side encryption used.</p>
328
1490
  */
329
1491
  Encryption?: Encryption;
330
1492
  /**
1493
+ * @public
331
1494
  * <p>The canned ACL to apply to the restore results.</p>
332
1495
  */
333
- CannedACL?: ObjectCannedACL | string;
1496
+ CannedACL?: ObjectCannedACL;
334
1497
  /**
1498
+ * @public
335
1499
  * <p>A list of grants that control access to the staged results.</p>
336
1500
  */
337
1501
  AccessControlList?: Grant[];
338
1502
  /**
1503
+ * @public
339
1504
  * <p>The tag-set that is applied to the restore results.</p>
340
1505
  */
341
1506
  Tagging?: Tagging;
342
1507
  /**
1508
+ * @public
343
1509
  * <p>A list of metadata to store with the restore results in S3.</p>
344
1510
  */
345
1511
  UserMetadata?: MetadataEntry[];
346
1512
  /**
1513
+ * @public
347
1514
  * <p>The class of storage used to store the restore results.</p>
348
1515
  */
349
- StorageClass?: StorageClass | string;
1516
+ StorageClass?: StorageClass;
350
1517
  }
351
1518
  /**
352
1519
  * @public
@@ -354,6 +1521,7 @@ export interface S3Location {
354
1521
  */
355
1522
  export interface OutputLocation {
356
1523
  /**
1524
+ * @public
357
1525
  * <p>Describes an S3 location that will receive the results of the restore request.</p>
358
1526
  */
359
1527
  S3?: S3Location;
@@ -402,6 +1570,7 @@ export type FileHeaderInfo = (typeof FileHeaderInfo)[keyof typeof FileHeaderInfo
402
1570
  */
403
1571
  export interface CSVInput {
404
1572
  /**
1573
+ * @public
405
1574
  * <p>Describes the first line of input. Valid values are:</p>
406
1575
  * <ul>
407
1576
  * <li>
@@ -421,8 +1590,9 @@ export interface CSVInput {
421
1590
  * </li>
422
1591
  * </ul>
423
1592
  */
424
- FileHeaderInfo?: FileHeaderInfo | string;
1593
+ FileHeaderInfo?: FileHeaderInfo;
425
1594
  /**
1595
+ * @public
426
1596
  * <p>A single character used to indicate that a row should be ignored when the character is
427
1597
  * present at the start of that row. You can specify any character to indicate a comment line.
428
1598
  * The default character is <code>#</code>.</p>
@@ -431,22 +1601,26 @@ export interface CSVInput {
431
1601
  */
432
1602
  Comments?: string;
433
1603
  /**
1604
+ * @public
434
1605
  * <p>A single character used for escaping the quotation mark character inside an already
435
1606
  * escaped value. For example, the value <code>""" a , b """</code> is parsed as <code>" a , b
436
1607
  * "</code>.</p>
437
1608
  */
438
1609
  QuoteEscapeCharacter?: string;
439
1610
  /**
1611
+ * @public
440
1612
  * <p>A single character used to separate individual records in the input. Instead of the
441
1613
  * default value, you can specify an arbitrary delimiter.</p>
442
1614
  */
443
1615
  RecordDelimiter?: string;
444
1616
  /**
1617
+ * @public
445
1618
  * <p>A single character used to separate individual fields in a record. You can specify an
446
1619
  * arbitrary delimiter.</p>
447
1620
  */
448
1621
  FieldDelimiter?: string;
449
1622
  /**
1623
+ * @public
450
1624
  * <p>A single character used for escaping when the field delimiter is part of the value. For
451
1625
  * example, if the value is <code>a, b</code>, Amazon S3 wraps this field value in quotation marks,
452
1626
  * as follows: <code>" a , b "</code>.</p>
@@ -458,6 +1632,7 @@ export interface CSVInput {
458
1632
  */
459
1633
  QuoteCharacter?: string;
460
1634
  /**
1635
+ * @public
461
1636
  * <p>Specifies that CSV field values may contain quoted record delimiters and such records
462
1637
  * should be allowed. Default value is FALSE. Setting this value to TRUE may lower
463
1638
  * performance.</p>
@@ -482,9 +1657,10 @@ export type JSONType = (typeof JSONType)[keyof typeof JSONType];
482
1657
  */
483
1658
  export interface JSONInput {
484
1659
  /**
1660
+ * @public
485
1661
  * <p>The type of JSON. Valid values: Document, Lines.</p>
486
1662
  */
487
- Type?: JSONType | string;
1663
+ Type?: JSONType;
488
1664
  }
489
1665
  /**
490
1666
  * @public
@@ -498,19 +1674,23 @@ export interface ParquetInput {
498
1674
  */
499
1675
  export interface InputSerialization {
500
1676
  /**
1677
+ * @public
501
1678
  * <p>Describes the serialization of a CSV-encoded object.</p>
502
1679
  */
503
1680
  CSV?: CSVInput;
504
1681
  /**
1682
+ * @public
505
1683
  * <p>Specifies object's compression format. Valid values: NONE, GZIP, BZIP2. Default Value:
506
1684
  * NONE.</p>
507
1685
  */
508
- CompressionType?: CompressionType | string;
1686
+ CompressionType?: CompressionType;
509
1687
  /**
1688
+ * @public
510
1689
  * <p>Specifies JSON as object's input serialization format.</p>
511
1690
  */
512
1691
  JSON?: JSONInput;
513
1692
  /**
1693
+ * @public
514
1694
  * <p>Specifies Parquet as object's input serialization format.</p>
515
1695
  */
516
1696
  Parquet?: ParquetInput;
@@ -534,6 +1714,7 @@ export type QuoteFields = (typeof QuoteFields)[keyof typeof QuoteFields];
534
1714
  */
535
1715
  export interface CSVOutput {
536
1716
  /**
1717
+ * @public
537
1718
  * <p>Indicates whether to use quotation marks around output fields. </p>
538
1719
  * <ul>
539
1720
  * <li>
@@ -546,23 +1727,27 @@ export interface CSVOutput {
546
1727
  * </li>
547
1728
  * </ul>
548
1729
  */
549
- QuoteFields?: QuoteFields | string;
1730
+ QuoteFields?: QuoteFields;
550
1731
  /**
1732
+ * @public
551
1733
  * <p>The single character used for escaping the quote character inside an already escaped
552
1734
  * value.</p>
553
1735
  */
554
1736
  QuoteEscapeCharacter?: string;
555
1737
  /**
1738
+ * @public
556
1739
  * <p>A single character used to separate individual records in the output. Instead of the
557
1740
  * default value, you can specify an arbitrary delimiter.</p>
558
1741
  */
559
1742
  RecordDelimiter?: string;
560
1743
  /**
1744
+ * @public
561
1745
  * <p>The value used to separate individual fields in a record. You can specify an arbitrary
562
1746
  * delimiter.</p>
563
1747
  */
564
1748
  FieldDelimiter?: string;
565
1749
  /**
1750
+ * @public
566
1751
  * <p>A single character used for escaping when the field delimiter is part of the value. For
567
1752
  * example, if the value is <code>a, b</code>, Amazon S3 wraps this field value in quotation marks,
568
1753
  * as follows: <code>" a , b "</code>.</p>
@@ -575,6 +1760,7 @@ export interface CSVOutput {
575
1760
  */
576
1761
  export interface JSONOutput {
577
1762
  /**
1763
+ * @public
578
1764
  * <p>The value used to separate individual records in the output. If no value is specified,
579
1765
  * Amazon S3 uses a newline character ('\n').</p>
580
1766
  */
@@ -586,10 +1772,12 @@ export interface JSONOutput {
586
1772
  */
587
1773
  export interface OutputSerialization {
588
1774
  /**
1775
+ * @public
589
1776
  * <p>Describes the serialization of CSV-encoded Select results.</p>
590
1777
  */
591
1778
  CSV?: CSVOutput;
592
1779
  /**
1780
+ * @public
593
1781
  * <p>Specifies JSON as request's output serialization format.</p>
594
1782
  */
595
1783
  JSON?: JSONOutput;
@@ -600,18 +1788,22 @@ export interface OutputSerialization {
600
1788
  */
601
1789
  export interface SelectParameters {
602
1790
  /**
1791
+ * @public
603
1792
  * <p>Describes the serialization format of the object.</p>
604
1793
  */
605
1794
  InputSerialization: InputSerialization | undefined;
606
1795
  /**
1796
+ * @public
607
1797
  * <p>The type of the provided expression (for example, SQL).</p>
608
1798
  */
609
- ExpressionType: ExpressionType | string | undefined;
1799
+ ExpressionType: ExpressionType | undefined;
610
1800
  /**
1801
+ * @public
611
1802
  * <p>The expression that is used to query the object.</p>
612
1803
  */
613
1804
  Expression: string | undefined;
614
1805
  /**
1806
+ * @public
615
1807
  * <p>Describes how the results of the Select job are serialized.</p>
616
1808
  */
617
1809
  OutputSerialization: OutputSerialization | undefined;
@@ -633,6 +1825,7 @@ export type RestoreRequestType = (typeof RestoreRequestType)[keyof typeof Restor
633
1825
  */
634
1826
  export interface RestoreRequest {
635
1827
  /**
1828
+ * @public
636
1829
  * <p>Lifetime of the active copy in days. Do not use with restores that specify
637
1830
  * <code>OutputLocation</code>.</p>
638
1831
  * <p>The Days element is required for regular restores, and must not be provided for select
@@ -640,27 +1833,33 @@ export interface RestoreRequest {
640
1833
  */
641
1834
  Days?: number;
642
1835
  /**
1836
+ * @public
643
1837
  * <p>S3 Glacier related parameters pertaining to this job. Do not use with restores that
644
1838
  * specify <code>OutputLocation</code>.</p>
645
1839
  */
646
1840
  GlacierJobParameters?: GlacierJobParameters;
647
1841
  /**
1842
+ * @public
648
1843
  * <p>Type of restore request.</p>
649
1844
  */
650
- Type?: RestoreRequestType | string;
1845
+ Type?: RestoreRequestType;
651
1846
  /**
1847
+ * @public
652
1848
  * <p>Retrieval tier at which the restore will be processed.</p>
653
1849
  */
654
- Tier?: Tier | string;
1850
+ Tier?: Tier;
655
1851
  /**
1852
+ * @public
656
1853
  * <p>The optional description for the job.</p>
657
1854
  */
658
1855
  Description?: string;
659
1856
  /**
1857
+ * @public
660
1858
  * <p>Describes the parameters for Select job types.</p>
661
1859
  */
662
1860
  SelectParameters?: SelectParameters;
663
1861
  /**
1862
+ * @public
664
1863
  * <p>Describes the location where the restore job's output is stored.</p>
665
1864
  */
666
1865
  OutputLocation?: OutputLocation;
@@ -670,45 +1869,59 @@ export interface RestoreRequest {
670
1869
  */
671
1870
  export interface RestoreObjectRequest {
672
1871
  /**
1872
+ * @public
673
1873
  * <p>The bucket name containing the object to restore. </p>
674
- * <p>When using this action with an access point, you must direct requests to the access point hostname. The access point hostname takes the form <i>AccessPointName</i>-<i>AccountId</i>.s3-accesspoint.<i>Region</i>.amazonaws.com. When using this action with an access point through the Amazon Web Services SDKs, you provide the access point ARN in place of the bucket name. For more information about access point ARNs, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-access-points.html">Using access points</a> in the <i>Amazon S3 User Guide</i>.</p>
675
- * <p>When you use this action with Amazon S3 on Outposts, you must direct requests to the S3 on Outposts hostname. The S3 on Outposts hostname takes the form <code>
1874
+ * <p>
1875
+ * <b>Access points</b> - When you use this action with 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 <i>AccessPointName</i>-<i>AccountId</i>.s3-accesspoint.<i>Region</i>.amazonaws.com. When using this action with an access point through the Amazon Web Services SDKs, you provide the access point ARN in place of the bucket name. For more information about access point ARNs, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-access-points.html">Using access points</a> in the <i>Amazon S3 User Guide</i>.</p>
1876
+ * <p>
1877
+ * <b>S3 on Outposts</b> - When you use this action with Amazon S3 on Outposts, you must direct requests to the S3 on Outposts hostname. The S3 on Outposts hostname takes the form <code>
676
1878
  * <i>AccessPointName</i>-<i>AccountId</i>.<i>outpostID</i>.s3-outposts.<i>Region</i>.amazonaws.com</code>. When you use this action with S3 on Outposts through the Amazon Web Services SDKs, you provide the Outposts access point ARN in place of the bucket name. For more information about S3 on Outposts ARNs, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html">What is S3 on Outposts?</a> in the <i>Amazon S3 User Guide</i>.</p>
677
1879
  * <p>Note: To supply the Multi-region Access Point (MRAP) to Bucket, you need to install the "@aws-sdk/signature-v4-crt" package to your project dependencies.
678
1880
  * For more information, please go to https://github.com/aws/aws-sdk-js-v3#known-issues</p>
679
1881
  */
680
1882
  Bucket: string | undefined;
681
1883
  /**
1884
+ * @public
682
1885
  * <p>Object key for which the action was initiated.</p>
683
1886
  */
684
1887
  Key: string | undefined;
685
1888
  /**
1889
+ * @public
686
1890
  * <p>VersionId used to reference a specific version of the object.</p>
687
1891
  */
688
1892
  VersionId?: string;
689
1893
  /**
1894
+ * @public
690
1895
  * <p>Container for restore job parameters.</p>
691
1896
  */
692
1897
  RestoreRequest?: RestoreRequest;
693
1898
  /**
1899
+ * @public
694
1900
  * <p>Confirms that the requester knows that they will be charged for the request. Bucket
695
- * owners need not specify this parameter in their requests. For information about downloading
696
- * objects from Requester Pays buckets, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/ObjectsinRequesterPaysBuckets.html">Downloading Objects in
1901
+ * owners need not specify this parameter in their requests. If either the source or
1902
+ * destination S3 bucket has Requester Pays enabled, the requester will pay for
1903
+ * corresponding charges to copy the object. For information about downloading objects from
1904
+ * Requester Pays buckets, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/ObjectsinRequesterPaysBuckets.html">Downloading Objects in
697
1905
  * Requester Pays Buckets</a> in the <i>Amazon S3 User Guide</i>.</p>
1906
+ * <note>
1907
+ * <p>This functionality is not supported for directory buckets.</p>
1908
+ * </note>
698
1909
  */
699
- RequestPayer?: RequestPayer | string;
1910
+ RequestPayer?: RequestPayer;
700
1911
  /**
701
- * <p>Indicates the algorithm used to create the checksum for the object when using the SDK. This header will not provide any
702
- * additional functionality if not using the SDK. When sending this header, there must be a corresponding <code>x-amz-checksum</code> or
1912
+ * @public
1913
+ * <p>Indicates the algorithm used to create the checksum for the object when you use the SDK. This header will not provide any
1914
+ * additional functionality if you don't use the SDK. When you send this header, there must be a corresponding <code>x-amz-checksum</code> or
703
1915
  * <code>x-amz-trailer</code> header sent. Otherwise, Amazon S3 fails the request with the HTTP status code <code>400 Bad Request</code>. For more
704
1916
  * information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html">Checking object integrity</a> in
705
1917
  * the <i>Amazon S3 User Guide</i>.</p>
706
1918
  * <p>If you provide an individual checksum, Amazon S3 ignores any provided
707
1919
  * <code>ChecksumAlgorithm</code> parameter.</p>
708
1920
  */
709
- ChecksumAlgorithm?: ChecksumAlgorithm | string;
1921
+ ChecksumAlgorithm?: ChecksumAlgorithm;
710
1922
  /**
711
- * <p>The account ID of the expected bucket owner. If the bucket is owned by a different account, the request fails with the HTTP status code <code>403 Forbidden</code> (access denied).</p>
1923
+ * @public
1924
+ * <p>The account ID of the expected bucket owner. If the account ID that you provide does not match the actual owner of the bucket, the request fails with the HTTP status code <code>403 Forbidden</code> (access denied).</p>
712
1925
  */
713
1926
  ExpectedBucketOwner?: string;
714
1927
  }
@@ -732,14 +1945,17 @@ export interface EndEvent {
732
1945
  */
733
1946
  export interface Progress {
734
1947
  /**
1948
+ * @public
735
1949
  * <p>The current number of object bytes scanned.</p>
736
1950
  */
737
1951
  BytesScanned?: number;
738
1952
  /**
1953
+ * @public
739
1954
  * <p>The current number of uncompressed object bytes processed.</p>
740
1955
  */
741
1956
  BytesProcessed?: number;
742
1957
  /**
1958
+ * @public
743
1959
  * <p>The current number of bytes of records payload data returned.</p>
744
1960
  */
745
1961
  BytesReturned?: number;
@@ -750,6 +1966,7 @@ export interface Progress {
750
1966
  */
751
1967
  export interface ProgressEvent {
752
1968
  /**
1969
+ * @public
753
1970
  * <p>The Progress event details.</p>
754
1971
  */
755
1972
  Details?: Progress;
@@ -760,6 +1977,7 @@ export interface ProgressEvent {
760
1977
  */
761
1978
  export interface RecordsEvent {
762
1979
  /**
1980
+ * @public
763
1981
  * <p>The byte array of partial, one or more result records.</p>
764
1982
  */
765
1983
  Payload?: Uint8Array;
@@ -770,14 +1988,17 @@ export interface RecordsEvent {
770
1988
  */
771
1989
  export interface Stats {
772
1990
  /**
1991
+ * @public
773
1992
  * <p>The total number of object bytes scanned.</p>
774
1993
  */
775
1994
  BytesScanned?: number;
776
1995
  /**
1996
+ * @public
777
1997
  * <p>The total number of uncompressed object bytes processed.</p>
778
1998
  */
779
1999
  BytesProcessed?: number;
780
2000
  /**
2001
+ * @public
781
2002
  * <p>The total number of bytes of records payload data returned.</p>
782
2003
  */
783
2004
  BytesReturned?: number;
@@ -788,6 +2009,7 @@ export interface Stats {
788
2009
  */
789
2010
  export interface StatsEvent {
790
2011
  /**
2012
+ * @public
791
2013
  * <p>The Stats event details.</p>
792
2014
  */
793
2015
  Details?: Stats;
@@ -802,6 +2024,7 @@ export type SelectObjectContentEventStream = SelectObjectContentEventStream.Cont
802
2024
  */
803
2025
  export declare namespace SelectObjectContentEventStream {
804
2026
  /**
2027
+ * @public
805
2028
  * <p>The Records Event.</p>
806
2029
  */
807
2030
  interface RecordsMember {
@@ -813,6 +2036,7 @@ export declare namespace SelectObjectContentEventStream {
813
2036
  $unknown?: never;
814
2037
  }
815
2038
  /**
2039
+ * @public
816
2040
  * <p>The Stats Event.</p>
817
2041
  */
818
2042
  interface StatsMember {
@@ -824,6 +2048,7 @@ export declare namespace SelectObjectContentEventStream {
824
2048
  $unknown?: never;
825
2049
  }
826
2050
  /**
2051
+ * @public
827
2052
  * <p>The Progress Event.</p>
828
2053
  */
829
2054
  interface ProgressMember {
@@ -835,6 +2060,7 @@ export declare namespace SelectObjectContentEventStream {
835
2060
  $unknown?: never;
836
2061
  }
837
2062
  /**
2063
+ * @public
838
2064
  * <p>The Continuation Event.</p>
839
2065
  */
840
2066
  interface ContMember {
@@ -846,6 +2072,7 @@ export declare namespace SelectObjectContentEventStream {
846
2072
  $unknown?: never;
847
2073
  }
848
2074
  /**
2075
+ * @public
849
2076
  * <p>The End Event.</p>
850
2077
  */
851
2078
  interface EndMember {
@@ -856,6 +2083,9 @@ export declare namespace SelectObjectContentEventStream {
856
2083
  End: EndEvent;
857
2084
  $unknown?: never;
858
2085
  }
2086
+ /**
2087
+ * @public
2088
+ */
859
2089
  interface $UnknownMember {
860
2090
  Records?: never;
861
2091
  Stats?: never;
@@ -879,6 +2109,7 @@ export declare namespace SelectObjectContentEventStream {
879
2109
  */
880
2110
  export interface SelectObjectContentOutput {
881
2111
  /**
2112
+ * @public
882
2113
  * <p>The array of results.</p>
883
2114
  */
884
2115
  Payload?: AsyncIterable<SelectObjectContentEventStream>;
@@ -890,6 +2121,7 @@ export interface SelectObjectContentOutput {
890
2121
  */
891
2122
  export interface RequestProgress {
892
2123
  /**
2124
+ * @public
893
2125
  * <p>Specifies whether periodic QueryProgress frames should be sent. Valid values: TRUE,
894
2126
  * FALSE. Default value: FALSE.</p>
895
2127
  */
@@ -904,6 +2136,7 @@ export interface RequestProgress {
904
2136
  */
905
2137
  export interface ScanRange {
906
2138
  /**
2139
+ * @public
907
2140
  * <p>Specifies the start of the byte range. This parameter is optional. Valid values:
908
2141
  * non-negative integers. The default value is 0. If only <code>start</code> is supplied, it
909
2142
  * means scan from that point to the end of the file. For example,
@@ -912,6 +2145,7 @@ export interface ScanRange {
912
2145
  */
913
2146
  Start?: number;
914
2147
  /**
2148
+ * @public
915
2149
  * <p>Specifies the end of the byte range. This parameter is optional. Valid values:
916
2150
  * non-negative integers. The default value is one less than the size of the object being
917
2151
  * queried. If only the End parameter is supplied, it is interpreted to mean scan the last N
@@ -932,16 +2166,19 @@ export interface ScanRange {
932
2166
  */
933
2167
  export interface SelectObjectContentRequest {
934
2168
  /**
2169
+ * @public
935
2170
  * <p>The S3 bucket.</p>
936
2171
  * <p>Note: To supply the Multi-region Access Point (MRAP) to Bucket, you need to install the "@aws-sdk/signature-v4-crt" package to your project dependencies.
937
2172
  * For more information, please go to https://github.com/aws/aws-sdk-js-v3#known-issues</p>
938
2173
  */
939
2174
  Bucket: string | undefined;
940
2175
  /**
2176
+ * @public
941
2177
  * <p>The object key.</p>
942
2178
  */
943
2179
  Key: string | undefined;
944
2180
  /**
2181
+ * @public
945
2182
  * <p>The server-side encryption (SSE) algorithm used to encrypt the object. This parameter is needed only when the object was created
946
2183
  * using a checksum algorithm. For more information,
947
2184
  * see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/ServerSideEncryptionCustomerKeys.html">Protecting data using SSE-C keys</a> in the
@@ -949,6 +2186,7 @@ export interface SelectObjectContentRequest {
949
2186
  */
950
2187
  SSECustomerAlgorithm?: string;
951
2188
  /**
2189
+ * @public
952
2190
  * <p>The server-side encryption (SSE) customer managed key. This parameter is needed only when the object was created using a checksum algorithm.
953
2191
  * For more information, see
954
2192
  * <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/ServerSideEncryptionCustomerKeys.html">Protecting data using SSE-C keys</a> in the
@@ -956,6 +2194,7 @@ export interface SelectObjectContentRequest {
956
2194
  */
957
2195
  SSECustomerKey?: string;
958
2196
  /**
2197
+ * @public
959
2198
  * <p>The MD5 server-side encryption (SSE) customer managed key. This parameter is needed only when the object was created using a checksum
960
2199
  * algorithm. For more information,
961
2200
  * see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/ServerSideEncryptionCustomerKeys.html">Protecting data using SSE-C keys</a> in the
@@ -963,26 +2202,32 @@ export interface SelectObjectContentRequest {
963
2202
  */
964
2203
  SSECustomerKeyMD5?: string;
965
2204
  /**
2205
+ * @public
966
2206
  * <p>The expression that is used to query the object.</p>
967
2207
  */
968
2208
  Expression: string | undefined;
969
2209
  /**
2210
+ * @public
970
2211
  * <p>The type of the provided expression (for example, SQL).</p>
971
2212
  */
972
- ExpressionType: ExpressionType | string | undefined;
2213
+ ExpressionType: ExpressionType | undefined;
973
2214
  /**
2215
+ * @public
974
2216
  * <p>Specifies if periodic request progress information should be enabled.</p>
975
2217
  */
976
2218
  RequestProgress?: RequestProgress;
977
2219
  /**
2220
+ * @public
978
2221
  * <p>Describes the format of the data in the object that is being queried.</p>
979
2222
  */
980
2223
  InputSerialization: InputSerialization | undefined;
981
2224
  /**
2225
+ * @public
982
2226
  * <p>Describes the format of the data that you want Amazon S3 to return in response.</p>
983
2227
  */
984
2228
  OutputSerialization: OutputSerialization | undefined;
985
2229
  /**
2230
+ * @public
986
2231
  * <p>Specifies the byte range of the object to get the records from. A record is processed
987
2232
  * when its first byte is contained by the range. This parameter is optional, but when
988
2233
  * specified, it must not be empty. See RFC 2616, Section 14.35.1 about how to specify the
@@ -1010,7 +2255,8 @@ export interface SelectObjectContentRequest {
1010
2255
  */
1011
2256
  ScanRange?: ScanRange;
1012
2257
  /**
1013
- * <p>The account ID of the expected bucket owner. If the bucket is owned by a different account, the request fails with the HTTP status code <code>403 Forbidden</code> (access denied).</p>
2258
+ * @public
2259
+ * <p>The account ID of the expected bucket owner. If the account ID that you provide does not match the actual owner of the bucket, the request fails with the HTTP status code <code>403 Forbidden</code> (access denied).</p>
1014
2260
  */
1015
2261
  ExpectedBucketOwner?: string;
1016
2262
  }
@@ -1019,100 +2265,149 @@ export interface SelectObjectContentRequest {
1019
2265
  */
1020
2266
  export interface UploadPartOutput {
1021
2267
  /**
1022
- * <p>The server-side encryption algorithm used when storing this object in Amazon S3 (for example,
2268
+ * @public
2269
+ * <p>The server-side encryption algorithm used when you store this object in Amazon S3 (for example,
1023
2270
  * <code>AES256</code>, <code>aws:kms</code>).</p>
2271
+ * <note>
2272
+ * <p>For directory buckets, only server-side encryption with Amazon S3 managed keys (SSE-S3) (<code>AES256</code>) is supported.</p>
2273
+ * </note>
1024
2274
  */
1025
- ServerSideEncryption?: ServerSideEncryption | string;
2275
+ ServerSideEncryption?: ServerSideEncryption;
1026
2276
  /**
2277
+ * @public
1027
2278
  * <p>Entity tag for the uploaded object.</p>
1028
2279
  */
1029
2280
  ETag?: string;
1030
2281
  /**
2282
+ * @public
1031
2283
  * <p>The base64-encoded, 32-bit CRC32 checksum of the object. This will only be present if it was uploaded
1032
- * with the object. With multipart uploads, this may not be a checksum value of the object. For more information about how checksums are calculated
2284
+ * with the object. When you use an API operation on an object that was uploaded using multipart uploads, this value may not be a direct checksum value of the full object. Instead, it's a calculation based on the checksum values of each individual part. For more information about how checksums are calculated
1033
2285
  * with multipart uploads, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums">
1034
2286
  * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p>
1035
2287
  */
1036
2288
  ChecksumCRC32?: string;
1037
2289
  /**
2290
+ * @public
1038
2291
  * <p>The base64-encoded, 32-bit CRC32C checksum of the object. This will only be present if it was uploaded
1039
- * with the object. With multipart uploads, this may not be a checksum value of the object. For more information about how checksums are calculated
2292
+ * with the object. When you use an API operation on an object that was uploaded using multipart uploads, this value may not be a direct checksum value of the full object. Instead, it's a calculation based on the checksum values of each individual part. For more information about how checksums are calculated
1040
2293
  * with multipart uploads, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums">
1041
2294
  * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p>
1042
2295
  */
1043
2296
  ChecksumCRC32C?: string;
1044
2297
  /**
2298
+ * @public
1045
2299
  * <p>The base64-encoded, 160-bit SHA-1 digest of the object. This will only be present if it was uploaded
1046
- * with the object. With multipart uploads, this may not be a checksum value of the object. For more information about how checksums are calculated
2300
+ * with the object. When you use the API operation on an object that was uploaded using multipart uploads, this value may not be a direct checksum value of the full object. Instead, it's a calculation based on the checksum values of each individual part. For more information about how checksums are calculated
1047
2301
  * with multipart uploads, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums">
1048
2302
  * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p>
1049
2303
  */
1050
2304
  ChecksumSHA1?: string;
1051
2305
  /**
2306
+ * @public
1052
2307
  * <p>The base64-encoded, 256-bit SHA-256 digest of the object. This will only be present if it was uploaded
1053
- * with the object. With multipart uploads, this may not be a checksum value of the object. For more information about how checksums are calculated
2308
+ * with the object. When you use an API operation on an object that was uploaded using multipart uploads, this value may not be a direct checksum value of the full object. Instead, it's a calculation based on the checksum values of each individual part. For more information about how checksums are calculated
1054
2309
  * with multipart uploads, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums">
1055
2310
  * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p>
1056
2311
  */
1057
2312
  ChecksumSHA256?: string;
1058
2313
  /**
2314
+ * @public
1059
2315
  * <p>If server-side encryption with a customer-provided encryption key was requested, the
1060
- * response will include this header confirming the encryption algorithm used.</p>
2316
+ * response will include this header to confirm the encryption algorithm that's used.</p>
2317
+ * <note>
2318
+ * <p>This functionality is not supported for directory buckets.</p>
2319
+ * </note>
1061
2320
  */
1062
2321
  SSECustomerAlgorithm?: string;
1063
2322
  /**
2323
+ * @public
1064
2324
  * <p>If server-side encryption with a customer-provided encryption key was requested, the
1065
- * response will include this header to provide round-trip message integrity verification of
2325
+ * response will include this header to provide the round-trip message integrity verification of
1066
2326
  * the customer-provided encryption key.</p>
2327
+ * <note>
2328
+ * <p>This functionality is not supported for directory buckets.</p>
2329
+ * </note>
1067
2330
  */
1068
2331
  SSECustomerKeyMD5?: string;
1069
2332
  /**
1070
- * <p>If present, specifies the ID of the Key Management Service (KMS) symmetric encryption customer managed key
1071
- * was used for the object.</p>
2333
+ * @public
2334
+ * <p>If present, indicates the ID of the Key Management Service (KMS) symmetric encryption customer managed key
2335
+ * that was used for the object.</p>
2336
+ * <note>
2337
+ * <p>This functionality is not supported for directory buckets.</p>
2338
+ * </note>
1072
2339
  */
1073
2340
  SSEKMSKeyId?: string;
1074
2341
  /**
2342
+ * @public
1075
2343
  * <p>Indicates whether the multipart upload uses an S3 Bucket Key for server-side encryption
1076
2344
  * with Key Management Service (KMS) keys (SSE-KMS).</p>
2345
+ * <note>
2346
+ * <p>This functionality is not supported for directory buckets.</p>
2347
+ * </note>
1077
2348
  */
1078
2349
  BucketKeyEnabled?: boolean;
1079
2350
  /**
2351
+ * @public
1080
2352
  * <p>If present, indicates that the requester was successfully charged for the
1081
2353
  * request.</p>
2354
+ * <note>
2355
+ * <p>This functionality is not supported for directory buckets.</p>
2356
+ * </note>
1082
2357
  */
1083
- RequestCharged?: RequestCharged | string;
2358
+ RequestCharged?: RequestCharged;
1084
2359
  }
1085
2360
  /**
1086
2361
  * @public
1087
2362
  */
1088
2363
  export interface UploadPartRequest {
1089
2364
  /**
2365
+ * @public
1090
2366
  * <p>Object data.</p>
1091
2367
  */
1092
- Body?: Readable | ReadableStream | Blob;
2368
+ Body?: StreamingBlobTypes;
1093
2369
  /**
2370
+ * @public
1094
2371
  * <p>The name of the bucket to which the multipart upload was initiated.</p>
1095
- * <p>When using this action with an access point, you must direct requests to the access point hostname. The access point hostname takes the form <i>AccessPointName</i>-<i>AccountId</i>.s3-accesspoint.<i>Region</i>.amazonaws.com. When using this action with an access point through the Amazon Web Services SDKs, you provide the access point ARN in place of the bucket name. For more information about access point ARNs, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-access-points.html">Using access points</a> in the <i>Amazon S3 User Guide</i>.</p>
1096
- * <p>When you use this action with Amazon S3 on Outposts, you must direct requests to the S3 on Outposts hostname. The S3 on Outposts hostname takes the form <code>
2372
+ * <p>
2373
+ * <b>Directory buckets</b> - When you use this operation with a directory bucket, you must use virtual-hosted-style requests in the format <code>
2374
+ * <i>Bucket_name</i>.s3express-<i>az_id</i>.<i>region</i>.amazonaws.com</code>. Path-style requests are not supported. Directory bucket names must be unique in the chosen Availability Zone. Bucket names must follow the format <code>
2375
+ * <i>bucket_base_name</i>--<i>az-id</i>--x-s3</code> (for example, <code>
2376
+ * <i>DOC-EXAMPLE-BUCKET</i>--<i>usw2-az2</i>--x-s3</code>). For information about bucket naming
2377
+ * restrictions, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/directory-bucket-naming-rules.html">Directory bucket naming
2378
+ * rules</a> in the <i>Amazon S3 User Guide</i>.</p>
2379
+ * <p>
2380
+ * <b>Access points</b> - When you use this action with 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 <i>AccessPointName</i>-<i>AccountId</i>.s3-accesspoint.<i>Region</i>.amazonaws.com. When using this action with an access point through the Amazon Web Services SDKs, you provide the access point ARN in place of the bucket name. For more information about access point ARNs, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-access-points.html">Using access points</a> in the <i>Amazon S3 User Guide</i>.</p>
2381
+ * <note>
2382
+ * <p>Access points and Object Lambda access points are not supported by directory buckets.</p>
2383
+ * </note>
2384
+ * <p>
2385
+ * <b>S3 on Outposts</b> - When you use this action with Amazon S3 on Outposts, you must direct requests to the S3 on Outposts hostname. The S3 on Outposts hostname takes the form <code>
1097
2386
  * <i>AccessPointName</i>-<i>AccountId</i>.<i>outpostID</i>.s3-outposts.<i>Region</i>.amazonaws.com</code>. When you use this action with S3 on Outposts through the Amazon Web Services SDKs, you provide the Outposts access point ARN in place of the bucket name. For more information about S3 on Outposts ARNs, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html">What is S3 on Outposts?</a> in the <i>Amazon S3 User Guide</i>.</p>
1098
2387
  * <p>Note: To supply the Multi-region Access Point (MRAP) to Bucket, you need to install the "@aws-sdk/signature-v4-crt" package to your project dependencies.
1099
2388
  * For more information, please go to https://github.com/aws/aws-sdk-js-v3#known-issues</p>
1100
2389
  */
1101
2390
  Bucket: string | undefined;
1102
2391
  /**
2392
+ * @public
1103
2393
  * <p>Size of the body in bytes. This parameter is useful when the size of the body cannot be
1104
2394
  * determined automatically.</p>
1105
2395
  */
1106
2396
  ContentLength?: number;
1107
2397
  /**
2398
+ * @public
1108
2399
  * <p>The base64-encoded 128-bit MD5 digest of the part data. This parameter is auto-populated
1109
2400
  * when using the command from the CLI. This parameter is required if object lock parameters
1110
2401
  * are specified.</p>
2402
+ * <note>
2403
+ * <p>This functionality is not supported for directory buckets.</p>
2404
+ * </note>
1111
2405
  */
1112
2406
  ContentMD5?: string;
1113
2407
  /**
1114
- * <p>Indicates the algorithm used to create the checksum for the object when using the SDK. This header will not provide any
1115
- * additional functionality if not using the SDK. When sending this header, there must be a corresponding <code>x-amz-checksum</code> or
2408
+ * @public
2409
+ * <p>Indicates the algorithm used to create the checksum for the object when you use the SDK. This header will not provide any
2410
+ * additional functionality if you don't use the SDK. When you send this header, there must be a corresponding <code>x-amz-checksum</code> or
1116
2411
  * <code>x-amz-trailer</code> header sent. Otherwise, Amazon S3 fails the request with the HTTP status code <code>400 Bad Request</code>. For more
1117
2412
  * information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html">Checking object integrity</a> in
1118
2413
  * the <i>Amazon S3 User Guide</i>.</p>
@@ -1121,8 +2416,9 @@ export interface UploadPartRequest {
1121
2416
  * <p>This checksum algorithm must be the same for all parts and it match the checksum value
1122
2417
  * supplied in the <code>CreateMultipartUpload</code> request.</p>
1123
2418
  */
1124
- ChecksumAlgorithm?: ChecksumAlgorithm | string;
2419
+ ChecksumAlgorithm?: ChecksumAlgorithm;
1125
2420
  /**
2421
+ * @public
1126
2422
  * <p>This header can be used as a data integrity check to verify that the data received is the same data that was originally sent.
1127
2423
  * This header specifies the base64-encoded, 32-bit CRC32 checksum of the object. For more information, see
1128
2424
  * <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html">Checking object integrity</a> in the
@@ -1130,6 +2426,7 @@ export interface UploadPartRequest {
1130
2426
  */
1131
2427
  ChecksumCRC32?: string;
1132
2428
  /**
2429
+ * @public
1133
2430
  * <p>This header can be used as a data integrity check to verify that the data received is the same data that was originally sent.
1134
2431
  * This header specifies the base64-encoded, 32-bit CRC32C checksum of the object. For more information, see
1135
2432
  * <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html">Checking object integrity</a> in the
@@ -1137,6 +2434,7 @@ export interface UploadPartRequest {
1137
2434
  */
1138
2435
  ChecksumCRC32C?: string;
1139
2436
  /**
2437
+ * @public
1140
2438
  * <p>This header can be used as a data integrity check to verify that the data received is the same data that was originally sent.
1141
2439
  * This header specifies the base64-encoded, 160-bit SHA-1 digest of the object. For more information, see
1142
2440
  * <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html">Checking object integrity</a> in the
@@ -1144,6 +2442,7 @@ export interface UploadPartRequest {
1144
2442
  */
1145
2443
  ChecksumSHA1?: string;
1146
2444
  /**
2445
+ * @public
1147
2446
  * <p>This header can be used as a data integrity check to verify that the data received is the same data that was originally sent.
1148
2447
  * This header specifies the base64-encoded, 256-bit SHA-256 digest of the object. For more information, see
1149
2448
  * <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html">Checking object integrity</a> in the
@@ -1151,46 +2450,68 @@ export interface UploadPartRequest {
1151
2450
  */
1152
2451
  ChecksumSHA256?: string;
1153
2452
  /**
2453
+ * @public
1154
2454
  * <p>Object key for which the multipart upload was initiated.</p>
1155
2455
  */
1156
2456
  Key: string | undefined;
1157
2457
  /**
2458
+ * @public
1158
2459
  * <p>Part number of part being uploaded. This is a positive integer between 1 and
1159
2460
  * 10,000.</p>
1160
2461
  */
1161
2462
  PartNumber: number | undefined;
1162
2463
  /**
2464
+ * @public
1163
2465
  * <p>Upload ID identifying the multipart upload whose part is being uploaded.</p>
1164
2466
  */
1165
2467
  UploadId: string | undefined;
1166
2468
  /**
1167
- * <p>Specifies the algorithm to use to when encrypting the object (for example,
2469
+ * @public
2470
+ * <p>Specifies the algorithm to use when encrypting the object (for example,
1168
2471
  * AES256).</p>
2472
+ * <note>
2473
+ * <p>This functionality is not supported for directory buckets.</p>
2474
+ * </note>
1169
2475
  */
1170
2476
  SSECustomerAlgorithm?: string;
1171
2477
  /**
2478
+ * @public
1172
2479
  * <p>Specifies the customer-provided encryption key for Amazon S3 to use in encrypting data. This
1173
2480
  * value is used to store the object and then it is discarded; Amazon S3 does not store the
1174
2481
  * encryption key. The key must be appropriate for use with the algorithm specified in the
1175
2482
  * <code>x-amz-server-side-encryption-customer-algorithm header</code>. This must be the
1176
2483
  * same encryption key specified in the initiate multipart upload request.</p>
2484
+ * <note>
2485
+ * <p>This functionality is not supported for directory buckets.</p>
2486
+ * </note>
1177
2487
  */
1178
2488
  SSECustomerKey?: string;
1179
2489
  /**
2490
+ * @public
1180
2491
  * <p>Specifies the 128-bit MD5 digest of the encryption key according to RFC 1321. Amazon S3 uses
1181
2492
  * this header for a message integrity check to ensure that the encryption key was transmitted
1182
2493
  * without error.</p>
2494
+ * <note>
2495
+ * <p>This functionality is not supported for directory buckets.</p>
2496
+ * </note>
1183
2497
  */
1184
2498
  SSECustomerKeyMD5?: string;
1185
2499
  /**
2500
+ * @public
1186
2501
  * <p>Confirms that the requester knows that they will be charged for the request. Bucket
1187
- * owners need not specify this parameter in their requests. For information about downloading
1188
- * objects from Requester Pays buckets, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/ObjectsinRequesterPaysBuckets.html">Downloading Objects in
2502
+ * owners need not specify this parameter in their requests. If either the source or
2503
+ * destination S3 bucket has Requester Pays enabled, the requester will pay for
2504
+ * corresponding charges to copy the object. For information about downloading objects from
2505
+ * Requester Pays buckets, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/ObjectsinRequesterPaysBuckets.html">Downloading Objects in
1189
2506
  * Requester Pays Buckets</a> in the <i>Amazon S3 User Guide</i>.</p>
2507
+ * <note>
2508
+ * <p>This functionality is not supported for directory buckets.</p>
2509
+ * </note>
1190
2510
  */
1191
- RequestPayer?: RequestPayer | string;
2511
+ RequestPayer?: RequestPayer;
1192
2512
  /**
1193
- * <p>The account ID of the expected bucket owner. If the bucket is owned by a different account, the request fails with the HTTP status code <code>403 Forbidden</code> (access denied).</p>
2513
+ * @public
2514
+ * <p>The account ID of the expected bucket owner. If the account ID that you provide does not match the actual owner of the bucket, the request fails with the HTTP status code <code>403 Forbidden</code> (access denied).</p>
1194
2515
  */
1195
2516
  ExpectedBucketOwner?: string;
1196
2517
  }
@@ -1200,37 +2521,43 @@ export interface UploadPartRequest {
1200
2521
  */
1201
2522
  export interface CopyPartResult {
1202
2523
  /**
2524
+ * @public
1203
2525
  * <p>Entity tag of the object.</p>
1204
2526
  */
1205
2527
  ETag?: string;
1206
2528
  /**
2529
+ * @public
1207
2530
  * <p>Date and time at which the object was uploaded.</p>
1208
2531
  */
1209
2532
  LastModified?: Date;
1210
2533
  /**
2534
+ * @public
1211
2535
  * <p>The base64-encoded, 32-bit CRC32 checksum of the object. This will only be present if it was uploaded
1212
- * with the object. With multipart uploads, this may not be a checksum value of the object. For more information about how checksums are calculated
2536
+ * with the object. When you use an API operation on an object that was uploaded using multipart uploads, this value may not be a direct checksum value of the full object. Instead, it's a calculation based on the checksum values of each individual part. For more information about how checksums are calculated
1213
2537
  * with multipart uploads, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums">
1214
2538
  * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p>
1215
2539
  */
1216
2540
  ChecksumCRC32?: string;
1217
2541
  /**
2542
+ * @public
1218
2543
  * <p>The base64-encoded, 32-bit CRC32C checksum of the object. This will only be present if it was uploaded
1219
- * with the object. With multipart uploads, this may not be a checksum value of the object. For more information about how checksums are calculated
2544
+ * with the object. When you use an API operation on an object that was uploaded using multipart uploads, this value may not be a direct checksum value of the full object. Instead, it's a calculation based on the checksum values of each individual part. For more information about how checksums are calculated
1220
2545
  * with multipart uploads, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums">
1221
2546
  * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p>
1222
2547
  */
1223
2548
  ChecksumCRC32C?: string;
1224
2549
  /**
2550
+ * @public
1225
2551
  * <p>The base64-encoded, 160-bit SHA-1 digest of the object. This will only be present if it was uploaded
1226
- * with the object. With multipart uploads, this may not be a checksum value of the object. For more information about how checksums are calculated
2552
+ * with the object. When you use the API operation on an object that was uploaded using multipart uploads, this value may not be a direct checksum value of the full object. Instead, it's a calculation based on the checksum values of each individual part. For more information about how checksums are calculated
1227
2553
  * with multipart uploads, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums">
1228
2554
  * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p>
1229
2555
  */
1230
2556
  ChecksumSHA1?: string;
1231
2557
  /**
2558
+ * @public
1232
2559
  * <p>The base64-encoded, 256-bit SHA-256 digest of the object. This will only be present if it was uploaded
1233
- * with the object. With multipart uploads, this may not be a checksum value of the object. For more information about how checksums are calculated
2560
+ * with the object. When you use an API operation on an object that was uploaded using multipart uploads, this value may not be a direct checksum value of the full object. Instead, it's a calculation based on the checksum values of each individual part. For more information about how checksums are calculated
1234
2561
  * with multipart uploads, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums">
1235
2562
  * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p>
1236
2563
  */
@@ -1241,60 +2568,103 @@ export interface CopyPartResult {
1241
2568
  */
1242
2569
  export interface UploadPartCopyOutput {
1243
2570
  /**
2571
+ * @public
1244
2572
  * <p>The version of the source object that was copied, if you have enabled versioning on the
1245
2573
  * source bucket.</p>
2574
+ * <note>
2575
+ * <p>This functionality is not supported when the source object is in a directory bucket.</p>
2576
+ * </note>
1246
2577
  */
1247
2578
  CopySourceVersionId?: string;
1248
2579
  /**
2580
+ * @public
1249
2581
  * <p>Container for all response elements.</p>
1250
2582
  */
1251
2583
  CopyPartResult?: CopyPartResult;
1252
2584
  /**
1253
- * <p>The server-side encryption algorithm used when storing this object in Amazon S3 (for example,
2585
+ * @public
2586
+ * <p>The server-side encryption algorithm used when you store this object in Amazon S3 (for example,
1254
2587
  * <code>AES256</code>, <code>aws:kms</code>).</p>
2588
+ * <note>
2589
+ * <p>For directory buckets, only server-side encryption with Amazon S3 managed keys (SSE-S3) (<code>AES256</code>) is supported.</p>
2590
+ * </note>
1255
2591
  */
1256
- ServerSideEncryption?: ServerSideEncryption | string;
2592
+ ServerSideEncryption?: ServerSideEncryption;
1257
2593
  /**
2594
+ * @public
1258
2595
  * <p>If server-side encryption with a customer-provided encryption key was requested, the
1259
- * response will include this header confirming the encryption algorithm used.</p>
2596
+ * response will include this header to confirm the encryption algorithm that's used.</p>
2597
+ * <note>
2598
+ * <p>This functionality is not supported for directory buckets.</p>
2599
+ * </note>
1260
2600
  */
1261
2601
  SSECustomerAlgorithm?: string;
1262
2602
  /**
2603
+ * @public
1263
2604
  * <p>If server-side encryption with a customer-provided encryption key was requested, the
1264
- * response will include this header to provide round-trip message integrity verification of
2605
+ * response will include this header to provide the round-trip message integrity verification of
1265
2606
  * the customer-provided encryption key.</p>
2607
+ * <note>
2608
+ * <p>This functionality is not supported for directory buckets.</p>
2609
+ * </note>
1266
2610
  */
1267
2611
  SSECustomerKeyMD5?: string;
1268
2612
  /**
1269
- * <p>If present, specifies the ID of the Key Management Service (KMS) symmetric encryption customer managed key
2613
+ * @public
2614
+ * <p>If present, indicates the ID of the Key Management Service (KMS) symmetric encryption customer managed key
1270
2615
  * that was used for the object.</p>
2616
+ * <note>
2617
+ * <p>This functionality is not supported for directory buckets.</p>
2618
+ * </note>
1271
2619
  */
1272
2620
  SSEKMSKeyId?: string;
1273
2621
  /**
2622
+ * @public
1274
2623
  * <p>Indicates whether the multipart upload uses an S3 Bucket Key for server-side encryption
1275
2624
  * with Key Management Service (KMS) keys (SSE-KMS).</p>
2625
+ * <note>
2626
+ * <p>This functionality is not supported for directory buckets.</p>
2627
+ * </note>
1276
2628
  */
1277
2629
  BucketKeyEnabled?: boolean;
1278
2630
  /**
2631
+ * @public
1279
2632
  * <p>If present, indicates that the requester was successfully charged for the
1280
2633
  * request.</p>
2634
+ * <note>
2635
+ * <p>This functionality is not supported for directory buckets.</p>
2636
+ * </note>
1281
2637
  */
1282
- RequestCharged?: RequestCharged | string;
2638
+ RequestCharged?: RequestCharged;
1283
2639
  }
1284
2640
  /**
1285
2641
  * @public
1286
2642
  */
1287
2643
  export interface UploadPartCopyRequest {
1288
2644
  /**
2645
+ * @public
1289
2646
  * <p>The bucket name.</p>
1290
- * <p>When using this action with an access point, you must direct requests to the access point hostname. The access point hostname takes the form <i>AccessPointName</i>-<i>AccountId</i>.s3-accesspoint.<i>Region</i>.amazonaws.com. When using this action with an access point through the Amazon Web Services SDKs, you provide the access point ARN in place of the bucket name. For more information about access point ARNs, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-access-points.html">Using access points</a> in the <i>Amazon S3 User Guide</i>.</p>
1291
- * <p>When you use this action with Amazon S3 on Outposts, you must direct requests to the S3 on Outposts hostname. The S3 on Outposts hostname takes the form <code>
2647
+ * <p>
2648
+ * <b>Directory buckets</b> - When you use this operation with a directory bucket, you must use virtual-hosted-style requests in the format <code>
2649
+ * <i>Bucket_name</i>.s3express-<i>az_id</i>.<i>region</i>.amazonaws.com</code>. Path-style requests are not supported. Directory bucket names must be unique in the chosen Availability Zone. Bucket names must follow the format <code>
2650
+ * <i>bucket_base_name</i>--<i>az-id</i>--x-s3</code> (for example, <code>
2651
+ * <i>DOC-EXAMPLE-BUCKET</i>--<i>usw2-az2</i>--x-s3</code>). For information about bucket naming
2652
+ * restrictions, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/directory-bucket-naming-rules.html">Directory bucket naming
2653
+ * rules</a> in the <i>Amazon S3 User Guide</i>.</p>
2654
+ * <p>
2655
+ * <b>Access points</b> - When you use this action with 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 <i>AccessPointName</i>-<i>AccountId</i>.s3-accesspoint.<i>Region</i>.amazonaws.com. When using this action with an access point through the Amazon Web Services SDKs, you provide the access point ARN in place of the bucket name. For more information about access point ARNs, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-access-points.html">Using access points</a> in the <i>Amazon S3 User Guide</i>.</p>
2656
+ * <note>
2657
+ * <p>Access points and Object Lambda access points are not supported by directory buckets.</p>
2658
+ * </note>
2659
+ * <p>
2660
+ * <b>S3 on Outposts</b> - When you use this action with Amazon S3 on Outposts, you must direct requests to the S3 on Outposts hostname. The S3 on Outposts hostname takes the form <code>
1292
2661
  * <i>AccessPointName</i>-<i>AccountId</i>.<i>outpostID</i>.s3-outposts.<i>Region</i>.amazonaws.com</code>. When you use this action with S3 on Outposts through the Amazon Web Services SDKs, you provide the Outposts access point ARN in place of the bucket name. For more information about S3 on Outposts ARNs, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html">What is S3 on Outposts?</a> in the <i>Amazon S3 User Guide</i>.</p>
1293
2662
  * <p>Note: To supply the Multi-region Access Point (MRAP) to Bucket, you need to install the "@aws-sdk/signature-v4-crt" package to your project dependencies.
1294
2663
  * For more information, please go to https://github.com/aws/aws-sdk-js-v3#known-issues</p>
1295
2664
  */
1296
2665
  Bucket: string | undefined;
1297
2666
  /**
2667
+ * @public
1298
2668
  * <p>Specifies the source object for the copy operation. You specify the value in one of two
1299
2669
  * formats, depending on whether you want to access the source object through an <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/access-points.html">access point</a>:</p>
1300
2670
  * <ul>
@@ -1308,35 +2678,107 @@ export interface UploadPartCopyRequest {
1308
2678
  * <li>
1309
2679
  * <p>For objects accessed through access points, specify the Amazon Resource Name (ARN) of the object as accessed through the access point, in the format <code>arn:aws:s3:<Region>:<account-id>:accesspoint/<access-point-name>/object/<key></code>. For example, to copy the object <code>reports/january.pdf</code> through access point <code>my-access-point</code> owned by account <code>123456789012</code> in Region <code>us-west-2</code>, use the URL encoding of <code>arn:aws:s3:us-west-2:123456789012:accesspoint/my-access-point/object/reports/january.pdf</code>. The value must be URL encoded.</p>
1310
2680
  * <note>
1311
- * <p>Amazon S3 supports copy operations using access points only when the source and destination buckets are in the same Amazon Web Services Region.</p>
2681
+ * <ul>
2682
+ * <li>
2683
+ * <p>Amazon S3 supports copy operations using Access points only when the source and destination buckets are in the same Amazon Web Services Region.</p>
2684
+ * </li>
2685
+ * <li>
2686
+ * <p>Access points are not supported by directory buckets.</p>
2687
+ * </li>
2688
+ * </ul>
1312
2689
  * </note>
1313
2690
  * <p>Alternatively, for objects accessed through Amazon S3 on Outposts, specify the ARN of the object as accessed in the format <code>arn:aws:s3-outposts:<Region>:<account-id>:outpost/<outpost-id>/object/<key></code>. For example, to copy the object <code>reports/january.pdf</code> through outpost <code>my-outpost</code> owned by account <code>123456789012</code> in Region <code>us-west-2</code>, use the URL encoding of <code>arn:aws:s3-outposts:us-west-2:123456789012:outpost/my-outpost/object/reports/january.pdf</code>. The value must be URL-encoded. </p>
1314
2691
  * </li>
1315
2692
  * </ul>
1316
- * <p>To copy a specific version of an object, append <code>?versionId=<version-id></code>
1317
- * to the value (for example,
1318
- * <code>awsexamplebucket/reports/january.pdf?versionId=QUpfdndhfd8438MNFDN93jdnJFkdmqnh893</code>).
1319
- * If you don't specify a version ID, Amazon S3 copies the latest version of the source
1320
- * object.</p>
2693
+ * <p>If your bucket has versioning enabled, you could have multiple versions of the
2694
+ * same object. By default, <code>x-amz-copy-source</code> identifies the current
2695
+ * version of the source object to copy.
2696
+ * To copy a specific version of the source object to copy, append <code>?versionId=<version-id></code>
2697
+ * to the <code>x-amz-copy-source</code> request header (for example,
2698
+ * <code>x-amz-copy-source: /awsexamplebucket/reports/january.pdf?versionId=QUpfdndhfd8438MNFDN93jdnJFkdmqnh893</code>).
2699
+ * </p>
2700
+ * <p>If the current version is a delete marker and you
2701
+ * don't specify a versionId in the <code>x-amz-copy-source</code> request header, Amazon S3 returns a
2702
+ * <code>404 Not Found</code> error, because the object does not exist. If you specify versionId in the
2703
+ * <code>x-amz-copy-source</code> and the versionId is a delete marker, Amazon S3
2704
+ * returns an HTTP <code>400 Bad Request</code> error, because you are not allowed to specify a delete marker
2705
+ * as a version for the <code>x-amz-copy-source</code>. </p>
2706
+ * <note>
2707
+ * <p>
2708
+ * <b>Directory buckets</b> - S3 Versioning isn't enabled and supported for directory buckets.</p>
2709
+ * </note>
1321
2710
  */
1322
2711
  CopySource: string | undefined;
1323
2712
  /**
2713
+ * @public
1324
2714
  * <p>Copies the object if its entity tag (ETag) matches the specified tag.</p>
2715
+ * <p>If both of the
2716
+ * <code>x-amz-copy-source-if-match</code> and
2717
+ * <code>x-amz-copy-source-if-unmodified-since</code> headers are present in the
2718
+ * request as follows:</p>
2719
+ * <p>
2720
+ * <code>x-amz-copy-source-if-match</code> condition evaluates to <code>true</code>,
2721
+ * and;</p>
2722
+ * <p>
2723
+ * <code>x-amz-copy-source-if-unmodified-since</code> condition evaluates to
2724
+ * <code>false</code>;</p>
2725
+ * <p>Amazon S3 returns <code>200 OK</code> and copies the data.
2726
+ * </p>
1325
2727
  */
1326
2728
  CopySourceIfMatch?: string;
1327
2729
  /**
2730
+ * @public
1328
2731
  * <p>Copies the object if it has been modified since the specified time.</p>
2732
+ * <p>If both of the
2733
+ * <code>x-amz-copy-source-if-none-match</code> and
2734
+ * <code>x-amz-copy-source-if-modified-since</code> headers are present in the
2735
+ * request as follows:</p>
2736
+ * <p>
2737
+ * <code>x-amz-copy-source-if-none-match</code> condition evaluates to
2738
+ * <code>false</code>, and;</p>
2739
+ * <p>
2740
+ * <code>x-amz-copy-source-if-modified-since</code> condition evaluates to
2741
+ * <code>true</code>;</p>
2742
+ * <p>Amazon S3 returns <code>412 Precondition Failed</code> response code.
2743
+ * </p>
1329
2744
  */
1330
2745
  CopySourceIfModifiedSince?: Date;
1331
2746
  /**
2747
+ * @public
1332
2748
  * <p>Copies the object if its entity tag (ETag) is different than the specified ETag.</p>
2749
+ * <p>If both of the
2750
+ * <code>x-amz-copy-source-if-none-match</code> and
2751
+ * <code>x-amz-copy-source-if-modified-since</code> headers are present in the
2752
+ * request as follows:</p>
2753
+ * <p>
2754
+ * <code>x-amz-copy-source-if-none-match</code> condition evaluates to
2755
+ * <code>false</code>, and;</p>
2756
+ * <p>
2757
+ * <code>x-amz-copy-source-if-modified-since</code> condition evaluates to
2758
+ * <code>true</code>;</p>
2759
+ * <p>Amazon S3 returns <code>412 Precondition Failed</code> response code.
2760
+ * </p>
1333
2761
  */
1334
2762
  CopySourceIfNoneMatch?: string;
1335
2763
  /**
2764
+ * @public
1336
2765
  * <p>Copies the object if it hasn't been modified since the specified time.</p>
2766
+ * <p>If both of the
2767
+ * <code>x-amz-copy-source-if-match</code> and
2768
+ * <code>x-amz-copy-source-if-unmodified-since</code> headers are present in the
2769
+ * request as follows:</p>
2770
+ * <p>
2771
+ * <code>x-amz-copy-source-if-match</code> condition evaluates to <code>true</code>,
2772
+ * and;</p>
2773
+ * <p>
2774
+ * <code>x-amz-copy-source-if-unmodified-since</code> condition evaluates to
2775
+ * <code>false</code>;</p>
2776
+ * <p>Amazon S3 returns <code>200 OK</code> and copies the data.
2777
+ * </p>
1337
2778
  */
1338
2779
  CopySourceIfUnmodifiedSince?: Date;
1339
2780
  /**
2781
+ * @public
1340
2782
  * <p>The range of bytes to copy from the source object. The range value must use the form
1341
2783
  * bytes=first-last, where the first and last are the zero-based byte offsets to copy. For
1342
2784
  * example, bytes=0-9 indicates that you want to copy the first 10 bytes of the source. You
@@ -1344,67 +2786,102 @@ export interface UploadPartCopyRequest {
1344
2786
  */
1345
2787
  CopySourceRange?: string;
1346
2788
  /**
2789
+ * @public
1347
2790
  * <p>Object key for which the multipart upload was initiated.</p>
1348
2791
  */
1349
2792
  Key: string | undefined;
1350
2793
  /**
2794
+ * @public
1351
2795
  * <p>Part number of part being copied. This is a positive integer between 1 and
1352
2796
  * 10,000.</p>
1353
2797
  */
1354
2798
  PartNumber: number | undefined;
1355
2799
  /**
2800
+ * @public
1356
2801
  * <p>Upload ID identifying the multipart upload whose part is being copied.</p>
1357
2802
  */
1358
2803
  UploadId: string | undefined;
1359
2804
  /**
1360
- * <p>Specifies the algorithm to use to when encrypting the object (for example,
2805
+ * @public
2806
+ * <p>Specifies the algorithm to use when encrypting the object (for example,
1361
2807
  * AES256).</p>
2808
+ * <note>
2809
+ * <p>This functionality is not supported when the destination bucket is a directory bucket.</p>
2810
+ * </note>
1362
2811
  */
1363
2812
  SSECustomerAlgorithm?: string;
1364
2813
  /**
2814
+ * @public
1365
2815
  * <p>Specifies the customer-provided encryption key for Amazon S3 to use in encrypting data. This
1366
2816
  * value is used to store the object and then it is discarded; Amazon S3 does not store the
1367
2817
  * encryption key. The key must be appropriate for use with the algorithm specified in the
1368
2818
  * <code>x-amz-server-side-encryption-customer-algorithm</code> header. This must be the
1369
2819
  * same encryption key specified in the initiate multipart upload request.</p>
2820
+ * <note>
2821
+ * <p>This functionality is not supported when the destination bucket is a directory bucket.</p>
2822
+ * </note>
1370
2823
  */
1371
2824
  SSECustomerKey?: string;
1372
2825
  /**
2826
+ * @public
1373
2827
  * <p>Specifies the 128-bit MD5 digest of the encryption key according to RFC 1321. Amazon S3 uses
1374
2828
  * this header for a message integrity check to ensure that the encryption key was transmitted
1375
2829
  * without error.</p>
2830
+ * <note>
2831
+ * <p>This functionality is not supported when the destination bucket is a directory bucket.</p>
2832
+ * </note>
1376
2833
  */
1377
2834
  SSECustomerKeyMD5?: string;
1378
2835
  /**
2836
+ * @public
1379
2837
  * <p>Specifies the algorithm to use when decrypting the source object (for example,
1380
- * AES256).</p>
2838
+ * <code>AES256</code>).</p>
2839
+ * <note>
2840
+ * <p>This functionality is not supported when the source object is in a directory bucket.</p>
2841
+ * </note>
1381
2842
  */
1382
2843
  CopySourceSSECustomerAlgorithm?: string;
1383
2844
  /**
2845
+ * @public
1384
2846
  * <p>Specifies the customer-provided encryption key for Amazon S3 to use to decrypt the source
1385
2847
  * object. The encryption key provided in this header must be one that was used when the
1386
2848
  * source object was created.</p>
2849
+ * <note>
2850
+ * <p>This functionality is not supported when the source object is in a directory bucket.</p>
2851
+ * </note>
1387
2852
  */
1388
2853
  CopySourceSSECustomerKey?: string;
1389
2854
  /**
2855
+ * @public
1390
2856
  * <p>Specifies the 128-bit MD5 digest of the encryption key according to RFC 1321. Amazon S3 uses
1391
2857
  * this header for a message integrity check to ensure that the encryption key was transmitted
1392
2858
  * without error.</p>
2859
+ * <note>
2860
+ * <p>This functionality is not supported when the source object is in a directory bucket.</p>
2861
+ * </note>
1393
2862
  */
1394
2863
  CopySourceSSECustomerKeyMD5?: string;
1395
2864
  /**
2865
+ * @public
1396
2866
  * <p>Confirms that the requester knows that they will be charged for the request. Bucket
1397
- * owners need not specify this parameter in their requests. For information about downloading
1398
- * objects from Requester Pays buckets, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/ObjectsinRequesterPaysBuckets.html">Downloading Objects in
2867
+ * owners need not specify this parameter in their requests. If either the source or
2868
+ * destination S3 bucket has Requester Pays enabled, the requester will pay for
2869
+ * corresponding charges to copy the object. For information about downloading objects from
2870
+ * Requester Pays buckets, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/ObjectsinRequesterPaysBuckets.html">Downloading Objects in
1399
2871
  * Requester Pays Buckets</a> in the <i>Amazon S3 User Guide</i>.</p>
2872
+ * <note>
2873
+ * <p>This functionality is not supported for directory buckets.</p>
2874
+ * </note>
1400
2875
  */
1401
- RequestPayer?: RequestPayer | string;
2876
+ RequestPayer?: RequestPayer;
1402
2877
  /**
1403
- * <p>The account ID of the expected destination bucket owner. If the destination bucket is owned by a different account, the request fails with the HTTP status code <code>403 Forbidden</code> (access denied).</p>
2878
+ * @public
2879
+ * <p>The account ID of the expected destination bucket owner. If the account ID that you provide does not match the actual owner of the destination bucket, the request fails with the HTTP status code <code>403 Forbidden</code> (access denied).</p>
1404
2880
  */
1405
2881
  ExpectedBucketOwner?: string;
1406
2882
  /**
1407
- * <p>The account ID of the expected source bucket owner. If the source bucket is owned by a different account, the request fails with the HTTP status code <code>403 Forbidden</code> (access denied).</p>
2883
+ * @public
2884
+ * <p>The account ID of the expected source bucket owner. If the account ID that you provide does not match the actual owner of the source bucket, the request fails with the HTTP status code <code>403 Forbidden</code> (access denied).</p>
1408
2885
  */
1409
2886
  ExpectedSourceBucketOwner?: string;
1410
2887
  }
@@ -1413,19 +2890,23 @@ export interface UploadPartCopyRequest {
1413
2890
  */
1414
2891
  export interface WriteGetObjectResponseRequest {
1415
2892
  /**
2893
+ * @public
1416
2894
  * <p>Route prefix to the HTTP URL generated.</p>
1417
2895
  */
1418
2896
  RequestRoute: string | undefined;
1419
2897
  /**
2898
+ * @public
1420
2899
  * <p>A single use encrypted token that maps <code>WriteGetObjectResponse</code> to the end
1421
2900
  * user <code>GetObject</code> request.</p>
1422
2901
  */
1423
2902
  RequestToken: string | undefined;
1424
2903
  /**
2904
+ * @public
1425
2905
  * <p>The object data.</p>
1426
2906
  */
1427
- Body?: Readable | ReadableStream | Blob;
2907
+ Body?: StreamingBlobTypes;
1428
2908
  /**
2909
+ * @public
1429
2910
  * <p>The integer status code for an HTTP response of a corresponding <code>GetObject</code>
1430
2911
  * request. The following is a list of status codes.</p>
1431
2912
  * <ul>
@@ -1503,6 +2984,7 @@ export interface WriteGetObjectResponseRequest {
1503
2984
  */
1504
2985
  StatusCode?: number;
1505
2986
  /**
2987
+ * @public
1506
2988
  * <p>A string that uniquely identifies an error condition. Returned in the <Code> tag
1507
2989
  * of the error XML response for a corresponding <code>GetObject</code> call. Cannot be used
1508
2990
  * with a successful <code>StatusCode</code> header or when the transformed object is provided
@@ -1511,6 +2993,7 @@ export interface WriteGetObjectResponseRequest {
1511
2993
  */
1512
2994
  ErrorCode?: string;
1513
2995
  /**
2996
+ * @public
1514
2997
  * <p>Contains a generic description of the error condition. Returned in the <Message>
1515
2998
  * tag of the error XML response for a corresponding <code>GetObject</code> call. Cannot be
1516
2999
  * used with a successful <code>StatusCode</code> header or when the transformed object is
@@ -1518,40 +3001,49 @@ export interface WriteGetObjectResponseRequest {
1518
3001
  */
1519
3002
  ErrorMessage?: string;
1520
3003
  /**
3004
+ * @public
1521
3005
  * <p>Indicates that a range of bytes was specified.</p>
1522
3006
  */
1523
3007
  AcceptRanges?: string;
1524
3008
  /**
3009
+ * @public
1525
3010
  * <p>Specifies caching behavior along the request/reply chain.</p>
1526
3011
  */
1527
3012
  CacheControl?: string;
1528
3013
  /**
3014
+ * @public
1529
3015
  * <p>Specifies presentational information for the object.</p>
1530
3016
  */
1531
3017
  ContentDisposition?: string;
1532
3018
  /**
3019
+ * @public
1533
3020
  * <p>Specifies what content encodings have been applied to the object and thus what decoding
1534
3021
  * mechanisms must be applied to obtain the media-type referenced by the Content-Type header
1535
3022
  * field.</p>
1536
3023
  */
1537
3024
  ContentEncoding?: string;
1538
3025
  /**
3026
+ * @public
1539
3027
  * <p>The language the content is in.</p>
1540
3028
  */
1541
3029
  ContentLanguage?: string;
1542
3030
  /**
3031
+ * @public
1543
3032
  * <p>The size of the content body in bytes.</p>
1544
3033
  */
1545
3034
  ContentLength?: number;
1546
3035
  /**
3036
+ * @public
1547
3037
  * <p>The portion of the object returned in the response.</p>
1548
3038
  */
1549
3039
  ContentRange?: string;
1550
3040
  /**
3041
+ * @public
1551
3042
  * <p>A standard MIME type describing the format of the object data.</p>
1552
3043
  */
1553
3044
  ContentType?: string;
1554
3045
  /**
3046
+ * @public
1555
3047
  * <p>This header can be used as a data integrity check to verify that the data received is
1556
3048
  * the same data that was originally sent. This specifies the base64-encoded, 32-bit CRC32
1557
3049
  * checksum of the object returned by the Object Lambda function. This may not match the
@@ -1565,6 +3057,7 @@ export interface WriteGetObjectResponseRequest {
1565
3057
  */
1566
3058
  ChecksumCRC32?: string;
1567
3059
  /**
3060
+ * @public
1568
3061
  * <p>This header can be used as a data integrity check to verify that the data received is
1569
3062
  * the same data that was originally sent. This specifies the base64-encoded, 32-bit CRC32C
1570
3063
  * checksum of the object returned by the Object Lambda function. This may not match the
@@ -1577,6 +3070,7 @@ export interface WriteGetObjectResponseRequest {
1577
3070
  */
1578
3071
  ChecksumCRC32C?: string;
1579
3072
  /**
3073
+ * @public
1580
3074
  * <p>This header can be used as a data integrity check to verify that the data received is
1581
3075
  * the same data that was originally sent. This specifies the base64-encoded, 160-bit SHA-1
1582
3076
  * digest of the object returned by the Object Lambda function. This may not match the
@@ -1589,6 +3083,7 @@ export interface WriteGetObjectResponseRequest {
1589
3083
  */
1590
3084
  ChecksumSHA1?: string;
1591
3085
  /**
3086
+ * @public
1592
3087
  * <p>This header can be used as a data integrity check to verify that the data received is
1593
3088
  * the same data that was originally sent. This specifies the base64-encoded, 256-bit SHA-256
1594
3089
  * digest of the object returned by the Object Lambda function. This may not match the
@@ -1601,20 +3096,24 @@ export interface WriteGetObjectResponseRequest {
1601
3096
  */
1602
3097
  ChecksumSHA256?: string;
1603
3098
  /**
3099
+ * @public
1604
3100
  * <p>Specifies whether an object stored in Amazon S3 is (<code>true</code>) or is not
1605
3101
  * (<code>false</code>) a delete marker. </p>
1606
3102
  */
1607
3103
  DeleteMarker?: boolean;
1608
3104
  /**
3105
+ * @public
1609
3106
  * <p>An opaque identifier assigned by a web server to a specific version of a resource found
1610
3107
  * at a URL. </p>
1611
3108
  */
1612
3109
  ETag?: string;
1613
3110
  /**
3111
+ * @public
1614
3112
  * <p>The date and time at which the object is no longer cacheable.</p>
1615
3113
  */
1616
3114
  Expires?: Date;
1617
3115
  /**
3116
+ * @public
1618
3117
  * <p>If the object expiration is configured (see PUT Bucket lifecycle), the response includes
1619
3118
  * this header. It includes the <code>expiry-date</code> and <code>rule-id</code> key-value
1620
3119
  * pairs that provide the object expiration information. The value of the <code>rule-id</code>
@@ -1622,10 +3121,12 @@ export interface WriteGetObjectResponseRequest {
1622
3121
  */
1623
3122
  Expiration?: string;
1624
3123
  /**
3124
+ * @public
1625
3125
  * <p>The date and time that the object was last modified.</p>
1626
3126
  */
1627
3127
  LastModified?: Date;
1628
3128
  /**
3129
+ * @public
1629
3130
  * <p>Set to the number of metadata entries not returned in <code>x-amz-meta</code> headers.
1630
3131
  * This can happen if you create metadata using an API like SOAP that supports more flexible
1631
3132
  * metadata than the REST API. For example, using SOAP, you can create metadata whose values
@@ -1633,57 +3134,72 @@ export interface WriteGetObjectResponseRequest {
1633
3134
  */
1634
3135
  MissingMeta?: number;
1635
3136
  /**
3137
+ * @public
1636
3138
  * <p>A map of metadata to store with the object in S3.</p>
1637
3139
  */
1638
3140
  Metadata?: Record<string, string>;
1639
3141
  /**
3142
+ * @public
1640
3143
  * <p>Indicates whether an object stored in Amazon S3 has Object Lock enabled. For more information
1641
3144
  * about S3 Object Lock, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/object-lock.html">Object Lock</a>.</p>
1642
3145
  */
1643
- ObjectLockMode?: ObjectLockMode | string;
3146
+ ObjectLockMode?: ObjectLockMode;
1644
3147
  /**
3148
+ * @public
1645
3149
  * <p>Indicates whether an object stored in Amazon S3 has an active legal hold.</p>
1646
3150
  */
1647
- ObjectLockLegalHoldStatus?: ObjectLockLegalHoldStatus | string;
3151
+ ObjectLockLegalHoldStatus?: ObjectLockLegalHoldStatus;
1648
3152
  /**
3153
+ * @public
1649
3154
  * <p>The date and time when Object Lock is configured to expire.</p>
1650
3155
  */
1651
3156
  ObjectLockRetainUntilDate?: Date;
1652
3157
  /**
3158
+ * @public
1653
3159
  * <p>The count of parts this object has.</p>
1654
3160
  */
1655
3161
  PartsCount?: number;
1656
3162
  /**
3163
+ * @public
1657
3164
  * <p>Indicates if request involves bucket that is either a source or destination in a
1658
3165
  * Replication rule. For more information about S3 Replication, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/replication.html">Replication</a>.</p>
1659
3166
  */
1660
- ReplicationStatus?: ReplicationStatus | string;
3167
+ ReplicationStatus?: ReplicationStatus;
1661
3168
  /**
3169
+ * @public
1662
3170
  * <p>If present, indicates that the requester was successfully charged for the
1663
3171
  * request.</p>
3172
+ * <note>
3173
+ * <p>This functionality is not supported for directory buckets.</p>
3174
+ * </note>
1664
3175
  */
1665
- RequestCharged?: RequestCharged | string;
3176
+ RequestCharged?: RequestCharged;
1666
3177
  /**
3178
+ * @public
1667
3179
  * <p>Provides information about object restoration operation and expiration time of the
1668
3180
  * restored object copy.</p>
1669
3181
  */
1670
3182
  Restore?: string;
1671
3183
  /**
3184
+ * @public
1672
3185
  * <p> The server-side encryption algorithm used when storing requested object in Amazon S3 (for
1673
3186
  * example, AES256, <code>aws:kms</code>).</p>
1674
3187
  */
1675
- ServerSideEncryption?: ServerSideEncryption | string;
3188
+ ServerSideEncryption?: ServerSideEncryption;
1676
3189
  /**
3190
+ * @public
1677
3191
  * <p>Encryption algorithm used if server-side encryption with a customer-provided encryption
1678
3192
  * key was specified for object stored in Amazon S3.</p>
1679
3193
  */
1680
3194
  SSECustomerAlgorithm?: string;
1681
3195
  /**
1682
- * <p> If present, specifies the ID of the Amazon Web Services Key Management Service (Amazon Web Services KMS) symmetric
3196
+ * @public
3197
+ * <p> If present, specifies the ID (Key ID, Key ARN, or Key Alias) of the Amazon Web Services Key Management Service (Amazon Web Services KMS) symmetric
1683
3198
  * encryption customer managed key that was used for stored in Amazon S3 object. </p>
1684
3199
  */
1685
3200
  SSEKMSKeyId?: string;
1686
3201
  /**
3202
+ * @public
1687
3203
  * <p> 128-bit MD5 digest of customer-provided encryption key used in Amazon S3 to encrypt data
1688
3204
  * stored in S3. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/ServerSideEncryptionCustomerKeys.html">Protecting data
1689
3205
  * using server-side encryption with customer-provided encryption keys
@@ -1691,25 +3207,37 @@ export interface WriteGetObjectResponseRequest {
1691
3207
  */
1692
3208
  SSECustomerKeyMD5?: string;
1693
3209
  /**
3210
+ * @public
1694
3211
  * <p>Provides storage class information of the object. Amazon S3 returns this header for all
1695
3212
  * objects except for S3 Standard storage class objects.</p>
1696
3213
  * <p>For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/storage-class-intro.html">Storage Classes</a>.</p>
1697
3214
  */
1698
- StorageClass?: StorageClass | string;
3215
+ StorageClass?: StorageClass;
1699
3216
  /**
3217
+ * @public
1700
3218
  * <p>The number of tags, if any, on the object.</p>
1701
3219
  */
1702
3220
  TagCount?: number;
1703
3221
  /**
3222
+ * @public
1704
3223
  * <p>An ID used to reference a specific version of the object.</p>
1705
3224
  */
1706
3225
  VersionId?: string;
1707
3226
  /**
3227
+ * @public
1708
3228
  * <p> Indicates whether the object stored in Amazon S3 uses an S3 bucket key for server-side
1709
3229
  * encryption with Amazon Web Services KMS (SSE-KMS).</p>
1710
3230
  */
1711
3231
  BucketKeyEnabled?: boolean;
1712
3232
  }
3233
+ /**
3234
+ * @internal
3235
+ */
3236
+ export declare const PutObjectOutputFilterSensitiveLog: (obj: PutObjectOutput) => any;
3237
+ /**
3238
+ * @internal
3239
+ */
3240
+ export declare const PutObjectRequestFilterSensitiveLog: (obj: PutObjectRequest) => any;
1713
3241
  /**
1714
3242
  * @internal
1715
3243
  */