@nocobase/plugin-file-manager 1.6.0-beta.2 → 1.6.0-beta.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (500) hide show
  1. package/dist/client/index.js +1 -1
  2. package/dist/client/schemas/storageTypes/ali-oss.d.ts +3 -0
  3. package/dist/client/schemas/storageTypes/index.d.ts +9 -0
  4. package/dist/client/schemas/storageTypes/s3.d.ts +3 -0
  5. package/dist/client/schemas/storageTypes/tx-cos.d.ts +3 -0
  6. package/dist/externalVersion.js +6 -6
  7. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/S3.js +1302 -101
  8. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/S3Client.js +12 -18
  9. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/AbortMultipartUploadCommand.js +13 -20
  10. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/CompleteMultipartUploadCommand.js +10 -18
  11. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/CopyObjectCommand.js +10 -17
  12. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/CreateBucketCommand.js +13 -20
  13. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/CreateMultipartUploadCommand.js +10 -18
  14. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/DeleteBucketAnalyticsConfigurationCommand.js +13 -20
  15. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/DeleteBucketCommand.js +13 -20
  16. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/DeleteBucketCorsCommand.js +13 -20
  17. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/DeleteBucketEncryptionCommand.js +13 -20
  18. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/DeleteBucketIntelligentTieringConfigurationCommand.js +13 -20
  19. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/DeleteBucketInventoryConfigurationCommand.js +13 -20
  20. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/DeleteBucketLifecycleCommand.js +13 -20
  21. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/DeleteBucketMetricsConfigurationCommand.js +13 -20
  22. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/DeleteBucketOwnershipControlsCommand.js +13 -20
  23. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/DeleteBucketPolicyCommand.js +13 -20
  24. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/DeleteBucketReplicationCommand.js +13 -20
  25. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/DeleteBucketTaggingCommand.js +13 -20
  26. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/DeleteBucketWebsiteCommand.js +13 -20
  27. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/DeleteObjectCommand.js +13 -20
  28. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/DeleteObjectTaggingCommand.js +13 -19
  29. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/DeleteObjectsCommand.js +13 -19
  30. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/DeletePublicAccessBlockCommand.js +13 -20
  31. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetBucketAccelerateConfigurationCommand.js +13 -20
  32. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetBucketAclCommand.js +13 -20
  33. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetBucketAnalyticsConfigurationCommand.js +13 -20
  34. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetBucketCorsCommand.js +13 -20
  35. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetBucketEncryptionCommand.js +11 -19
  36. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetBucketIntelligentTieringConfigurationCommand.js +13 -20
  37. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetBucketInventoryConfigurationCommand.js +11 -19
  38. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetBucketLifecycleConfigurationCommand.js +13 -20
  39. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetBucketLocationCommand.js +13 -20
  40. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetBucketLoggingCommand.js +13 -20
  41. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetBucketMetricsConfigurationCommand.js +13 -20
  42. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetBucketNotificationConfigurationCommand.js +13 -20
  43. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetBucketOwnershipControlsCommand.js +13 -20
  44. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetBucketPolicyCommand.js +13 -20
  45. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetBucketPolicyStatusCommand.js +13 -20
  46. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetBucketReplicationCommand.js +13 -20
  47. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetBucketRequestPaymentCommand.js +13 -20
  48. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetBucketTaggingCommand.js +13 -20
  49. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetBucketVersioningCommand.js +13 -20
  50. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetBucketWebsiteCommand.js +13 -20
  51. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetObjectAclCommand.js +13 -20
  52. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetObjectAttributesCommand.js +11 -18
  53. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetObjectCommand.js +10 -18
  54. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetObjectLegalHoldCommand.js +13 -19
  55. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetObjectLockConfigurationCommand.js +13 -19
  56. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetObjectRetentionCommand.js +13 -19
  57. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetObjectTaggingCommand.js +13 -19
  58. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetObjectTorrentCommand.js +11 -18
  59. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetPublicAccessBlockCommand.js +13 -20
  60. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/HeadBucketCommand.js +13 -19
  61. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/HeadObjectCommand.js +10 -18
  62. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/ListBucketAnalyticsConfigurationsCommand.js +13 -20
  63. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/ListBucketIntelligentTieringConfigurationsCommand.js +13 -20
  64. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/ListBucketInventoryConfigurationsCommand.js +11 -19
  65. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/ListBucketMetricsConfigurationsCommand.js +13 -19
  66. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/ListBucketsCommand.js +13 -19
  67. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/ListMultipartUploadsCommand.js +13 -20
  68. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/ListObjectVersionsCommand.js +13 -20
  69. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/ListObjectsCommand.js +13 -20
  70. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/ListObjectsV2Command.js +13 -20
  71. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/ListPartsCommand.js +11 -19
  72. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutBucketAccelerateConfigurationCommand.js +13 -20
  73. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutBucketAclCommand.js +13 -20
  74. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutBucketAnalyticsConfigurationCommand.js +13 -20
  75. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutBucketCorsCommand.js +13 -20
  76. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutBucketEncryptionCommand.js +11 -19
  77. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutBucketIntelligentTieringConfigurationCommand.js +13 -20
  78. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutBucketInventoryConfigurationCommand.js +11 -19
  79. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutBucketLifecycleConfigurationCommand.js +13 -20
  80. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutBucketLoggingCommand.js +13 -20
  81. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutBucketMetricsConfigurationCommand.js +13 -20
  82. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutBucketNotificationConfigurationCommand.js +13 -20
  83. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutBucketOwnershipControlsCommand.js +13 -20
  84. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutBucketPolicyCommand.js +13 -20
  85. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutBucketReplicationCommand.js +13 -20
  86. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutBucketRequestPaymentCommand.js +13 -20
  87. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutBucketTaggingCommand.js +13 -20
  88. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutBucketVersioningCommand.js +13 -20
  89. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutBucketWebsiteCommand.js +13 -20
  90. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutObjectAclCommand.js +13 -20
  91. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutObjectCommand.js +13 -21
  92. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutObjectLegalHoldCommand.js +13 -19
  93. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutObjectLockConfigurationCommand.js +13 -19
  94. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutObjectRetentionCommand.js +13 -19
  95. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutObjectTaggingCommand.js +13 -19
  96. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutPublicAccessBlockCommand.js +13 -20
  97. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/RestoreObjectCommand.js +11 -18
  98. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/SelectObjectContentCommand.js +10 -20
  99. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/UploadPartCommand.js +10 -18
  100. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/UploadPartCopyCommand.js +10 -17
  101. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/WriteGetObjectResponseCommand.js +11 -18
  102. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/index.js +0 -2
  103. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/endpoint/EndpointParameters.js +0 -1
  104. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/endpoint/endpointResolver.js +1 -1
  105. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/endpoint/ruleset.js +3 -3
  106. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/index.js +3 -3
  107. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/models/S3ServiceException.js +2 -3
  108. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/models/models_0.js +1300 -378
  109. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/models/models_1.js +143 -49
  110. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/pagination/ListObjectsV2Paginator.js +8 -1
  111. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/pagination/ListPartsPaginator.js +8 -1
  112. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/pagination/index.js +0 -1
  113. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/protocols/Aws_restXml.js +2257 -1975
  114. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/runtimeConfig.browser.js +16 -10
  115. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/runtimeConfig.js +18 -16
  116. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/runtimeConfig.shared.js +16 -25
  117. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/waiters/waitForBucketExists.js +1 -1
  118. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/waiters/waitForBucketNotExists.js +1 -1
  119. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/waiters/waitForObjectExists.js +1 -1
  120. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/waiters/waitForObjectNotExists.js +1 -1
  121. package/dist/node_modules/@aws-sdk/client-s3/dist-es/S3.js +1302 -101
  122. package/dist/node_modules/@aws-sdk/client-s3/dist-es/S3Client.js +12 -18
  123. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/AbortMultipartUploadCommand.js +13 -20
  124. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/CompleteMultipartUploadCommand.js +10 -18
  125. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/CopyObjectCommand.js +10 -17
  126. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/CreateBucketCommand.js +13 -20
  127. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/CreateMultipartUploadCommand.js +10 -18
  128. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketAnalyticsConfigurationCommand.js +13 -20
  129. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketCommand.js +13 -20
  130. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketCorsCommand.js +13 -20
  131. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketEncryptionCommand.js +13 -20
  132. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketIntelligentTieringConfigurationCommand.js +13 -20
  133. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketInventoryConfigurationCommand.js +13 -20
  134. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketLifecycleCommand.js +13 -20
  135. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketMetricsConfigurationCommand.js +13 -20
  136. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketOwnershipControlsCommand.js +13 -20
  137. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketPolicyCommand.js +13 -20
  138. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketReplicationCommand.js +13 -20
  139. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketTaggingCommand.js +13 -20
  140. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketWebsiteCommand.js +13 -20
  141. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteObjectCommand.js +13 -20
  142. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteObjectTaggingCommand.js +13 -19
  143. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteObjectsCommand.js +13 -19
  144. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeletePublicAccessBlockCommand.js +13 -20
  145. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketAccelerateConfigurationCommand.js +13 -20
  146. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketAclCommand.js +13 -20
  147. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketAnalyticsConfigurationCommand.js +13 -20
  148. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketCorsCommand.js +13 -20
  149. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketEncryptionCommand.js +12 -20
  150. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketIntelligentTieringConfigurationCommand.js +13 -20
  151. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketInventoryConfigurationCommand.js +12 -20
  152. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketLifecycleConfigurationCommand.js +13 -20
  153. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketLocationCommand.js +13 -20
  154. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketLoggingCommand.js +13 -20
  155. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketMetricsConfigurationCommand.js +13 -20
  156. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketNotificationConfigurationCommand.js +13 -20
  157. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketOwnershipControlsCommand.js +13 -20
  158. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketPolicyCommand.js +13 -20
  159. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketPolicyStatusCommand.js +13 -20
  160. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketReplicationCommand.js +13 -20
  161. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketRequestPaymentCommand.js +13 -20
  162. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketTaggingCommand.js +13 -20
  163. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketVersioningCommand.js +13 -20
  164. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketWebsiteCommand.js +13 -20
  165. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetObjectAclCommand.js +13 -20
  166. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetObjectAttributesCommand.js +12 -19
  167. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetObjectCommand.js +10 -18
  168. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetObjectLegalHoldCommand.js +13 -19
  169. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetObjectLockConfigurationCommand.js +13 -19
  170. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetObjectRetentionCommand.js +13 -19
  171. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetObjectTaggingCommand.js +13 -19
  172. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetObjectTorrentCommand.js +12 -19
  173. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetPublicAccessBlockCommand.js +13 -20
  174. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/HeadBucketCommand.js +13 -19
  175. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/HeadObjectCommand.js +10 -18
  176. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/ListBucketAnalyticsConfigurationsCommand.js +13 -20
  177. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/ListBucketIntelligentTieringConfigurationsCommand.js +13 -20
  178. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/ListBucketInventoryConfigurationsCommand.js +12 -20
  179. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/ListBucketMetricsConfigurationsCommand.js +13 -19
  180. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/ListBucketsCommand.js +13 -19
  181. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/ListMultipartUploadsCommand.js +13 -20
  182. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/ListObjectVersionsCommand.js +13 -20
  183. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/ListObjectsCommand.js +13 -20
  184. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/ListObjectsV2Command.js +13 -20
  185. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/ListPartsCommand.js +12 -20
  186. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketAccelerateConfigurationCommand.js +13 -20
  187. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketAclCommand.js +13 -20
  188. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketAnalyticsConfigurationCommand.js +13 -20
  189. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketCorsCommand.js +13 -20
  190. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketEncryptionCommand.js +11 -19
  191. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketIntelligentTieringConfigurationCommand.js +13 -20
  192. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketInventoryConfigurationCommand.js +11 -19
  193. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketLifecycleConfigurationCommand.js +13 -20
  194. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketLoggingCommand.js +13 -20
  195. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketMetricsConfigurationCommand.js +13 -20
  196. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketNotificationConfigurationCommand.js +13 -20
  197. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketOwnershipControlsCommand.js +13 -20
  198. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketPolicyCommand.js +13 -20
  199. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketReplicationCommand.js +13 -20
  200. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketRequestPaymentCommand.js +13 -20
  201. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketTaggingCommand.js +13 -20
  202. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketVersioningCommand.js +13 -20
  203. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketWebsiteCommand.js +13 -20
  204. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutObjectAclCommand.js +13 -20
  205. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutObjectCommand.js +11 -19
  206. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutObjectLegalHoldCommand.js +13 -19
  207. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutObjectLockConfigurationCommand.js +13 -19
  208. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutObjectRetentionCommand.js +13 -19
  209. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutObjectTaggingCommand.js +13 -19
  210. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutPublicAccessBlockCommand.js +13 -20
  211. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/RestoreObjectCommand.js +12 -19
  212. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/SelectObjectContentCommand.js +10 -20
  213. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/UploadPartCommand.js +10 -18
  214. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/UploadPartCopyCommand.js +10 -17
  215. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/WriteGetObjectResponseCommand.js +11 -18
  216. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/index.js +0 -2
  217. package/dist/node_modules/@aws-sdk/client-s3/dist-es/endpoint/EndpointParameters.js +0 -1
  218. package/dist/node_modules/@aws-sdk/client-s3/dist-es/endpoint/endpointResolver.js +1 -1
  219. package/dist/node_modules/@aws-sdk/client-s3/dist-es/endpoint/ruleset.js +3 -3
  220. package/dist/node_modules/@aws-sdk/client-s3/dist-es/index.js +2 -3
  221. package/dist/node_modules/@aws-sdk/client-s3/dist-es/models/S3ServiceException.js +1 -2
  222. package/dist/node_modules/@aws-sdk/client-s3/dist-es/models/models_0.js +1066 -362
  223. package/dist/node_modules/@aws-sdk/client-s3/dist-es/models/models_1.js +116 -46
  224. package/dist/node_modules/@aws-sdk/client-s3/dist-es/pagination/ListObjectsV2Paginator.js +8 -1
  225. package/dist/node_modules/@aws-sdk/client-s3/dist-es/pagination/ListPartsPaginator.js +8 -1
  226. package/dist/node_modules/@aws-sdk/client-s3/dist-es/pagination/index.js +0 -1
  227. package/dist/node_modules/@aws-sdk/client-s3/dist-es/protocols/Aws_restXml.js +1739 -1453
  228. package/dist/node_modules/@aws-sdk/client-s3/dist-es/runtimeConfig.browser.js +16 -10
  229. package/dist/node_modules/@aws-sdk/client-s3/dist-es/runtimeConfig.js +18 -16
  230. package/dist/node_modules/@aws-sdk/client-s3/dist-es/runtimeConfig.shared.js +16 -25
  231. package/dist/node_modules/@aws-sdk/client-s3/dist-es/waiters/waitForBucketExists.js +1 -1
  232. package/dist/node_modules/@aws-sdk/client-s3/dist-es/waiters/waitForBucketNotExists.js +1 -1
  233. package/dist/node_modules/@aws-sdk/client-s3/dist-es/waiters/waitForObjectExists.js +1 -1
  234. package/dist/node_modules/@aws-sdk/client-s3/dist-es/waiters/waitForObjectNotExists.js +1 -1
  235. package/dist/node_modules/@aws-sdk/client-s3/dist-types/S3.d.ts +5312 -115
  236. package/dist/node_modules/@aws-sdk/client-s3/dist-types/S3Client.d.ts +39 -69
  237. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/AbortMultipartUploadCommand.d.ts +8 -96
  238. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/CompleteMultipartUploadCommand.d.ts +66 -212
  239. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/CopyObjectCommand.d.ts +161 -253
  240. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/CreateBucketCommand.d.ts +124 -201
  241. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/CreateMultipartUploadCommand.d.ts +212 -247
  242. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketAnalyticsConfigurationCommand.d.ts +8 -45
  243. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketCommand.d.ts +7 -85
  244. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketCorsCommand.d.ts +8 -56
  245. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketEncryptionCommand.d.ts +12 -49
  246. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketIntelligentTieringConfigurationCommand.d.ts +6 -43
  247. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketInventoryConfigurationCommand.d.ts +6 -45
  248. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketLifecycleCommand.d.ts +8 -54
  249. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketMetricsConfigurationCommand.d.ts +11 -48
  250. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketOwnershipControlsCommand.d.ts +6 -44
  251. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketPolicyCommand.d.ts +22 -97
  252. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketReplicationCommand.d.ts +9 -57
  253. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketTaggingCommand.d.ts +5 -53
  254. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketWebsiteCommand.d.ts +7 -53
  255. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteObjectCommand.d.ts +23 -158
  256. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteObjectTaggingCommand.d.ts +11 -83
  257. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteObjectsCommand.d.ts +27 -238
  258. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeletePublicAccessBlockCommand.d.ts +7 -44
  259. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketAccelerateConfigurationCommand.d.ts +12 -53
  260. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketAclCommand.d.ts +14 -72
  261. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketAnalyticsConfigurationCommand.d.ts +11 -82
  262. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketCorsCommand.d.ts +7 -95
  263. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketEncryptionCommand.d.ts +10 -60
  264. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketIntelligentTieringConfigurationCommand.d.ts +6 -70
  265. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketInventoryConfigurationCommand.d.ts +9 -74
  266. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketLifecycleConfigurationCommand.d.ts +9 -127
  267. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketLocationCommand.d.ts +9 -70
  268. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketLoggingCommand.d.ts +6 -66
  269. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketMetricsConfigurationCommand.d.ts +13 -70
  270. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketNotificationConfigurationCommand.d.ts +9 -108
  271. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketOwnershipControlsCommand.d.ts +7 -54
  272. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketPolicyCommand.d.ts +22 -110
  273. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketPolicyStatusCommand.d.ts +7 -47
  274. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketReplicationCommand.d.ts +9 -135
  275. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketRequestPaymentCommand.d.ts +6 -62
  276. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketTaggingCommand.d.ts +6 -74
  277. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketVersioningCommand.d.ts +6 -62
  278. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketWebsiteCommand.d.ts +7 -91
  279. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectAclCommand.d.ts +12 -126
  280. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectAttributesCommand.d.ts +117 -228
  281. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectCommand.d.ts +166 -290
  282. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectLegalHoldCommand.d.ts +6 -50
  283. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectLockConfigurationCommand.d.ts +7 -54
  284. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectRetentionCommand.d.ts +6 -52
  285. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectTaggingCommand.d.ts +13 -109
  286. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectTorrentCommand.d.ts +7 -63
  287. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetPublicAccessBlockCommand.d.ts +8 -50
  288. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/HeadBucketCommand.d.ts +21 -109
  289. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/HeadObjectCommand.d.ts +87 -216
  290. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/ListBucketAnalyticsConfigurationsCommand.d.ts +12 -85
  291. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/ListBucketIntelligentTieringConfigurationsCommand.d.ts +6 -75
  292. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/ListBucketInventoryConfigurationsCommand.d.ts +13 -82
  293. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/ListBucketMetricsConfigurationsCommand.d.ts +15 -76
  294. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/ListBucketsCommand.d.ts +5 -84
  295. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/ListMultipartUploadsCommand.d.ts +23 -262
  296. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/ListObjectVersionsCommand.d.ts +13 -153
  297. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/ListObjectsCommand.d.ts +6 -130
  298. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/ListObjectsV2Command.d.ts +24 -185
  299. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/ListPartsCommand.d.ts +20 -165
  300. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketAccelerateConfigurationCommand.d.ts +15 -50
  301. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketAclCommand.d.ts +122 -201
  302. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketAnalyticsConfigurationCommand.d.ts +25 -83
  303. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketCorsCommand.d.ts +10 -112
  304. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketEncryptionCommand.d.ts +22 -69
  305. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketIntelligentTieringConfigurationCommand.d.ts +63 -99
  306. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketInventoryConfigurationCommand.d.ts +71 -121
  307. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketLifecycleConfigurationCommand.d.ts +81 -197
  308. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketLoggingCommand.d.ts +54 -144
  309. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketMetricsConfigurationCommand.d.ts +13 -69
  310. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketNotificationConfigurationCommand.d.ts +25 -134
  311. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketOwnershipControlsCommand.d.ts +6 -54
  312. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketPolicyCommand.d.ts +20 -108
  313. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketReplicationCommand.d.ts +41 -171
  314. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketRequestPaymentCommand.d.ts +7 -63
  315. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketTaggingCommand.d.ts +54 -104
  316. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketVersioningCommand.d.ts +24 -76
  317. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketWebsiteCommand.d.ts +9 -93
  318. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutObjectAclCommand.d.ts +129 -220
  319. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutObjectCommand.d.ts +99 -342
  320. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutObjectLegalHoldCommand.d.ts +6 -54
  321. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutObjectLockConfigurationCommand.d.ts +13 -67
  322. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutObjectRetentionCommand.d.ts +9 -58
  323. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutObjectTaggingCommand.d.ts +77 -108
  324. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutPublicAccessBlockCommand.d.ts +14 -52
  325. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/RestoreObjectCommand.d.ts +214 -337
  326. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/SelectObjectContentCommand.d.ts +98 -200
  327. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/UploadPartCommand.d.ts +92 -189
  328. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/UploadPartCopyCommand.d.ts +121 -237
  329. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/WriteGetObjectResponseCommand.d.ts +34 -113
  330. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/index.d.ts +0 -2
  331. package/dist/node_modules/@aws-sdk/client-s3/dist-types/endpoint/EndpointParameters.d.ts +2 -10
  332. package/dist/node_modules/@aws-sdk/client-s3/dist-types/endpoint/endpointResolver.d.ts +1 -1
  333. package/dist/node_modules/@aws-sdk/client-s3/dist-types/endpoint/ruleset.d.ts +1 -1
  334. package/dist/node_modules/@aws-sdk/client-s3/dist-types/index.d.ts +2 -11
  335. package/dist/node_modules/@aws-sdk/client-s3/dist-types/models/S3ServiceException.d.ts +1 -4
  336. package/dist/node_modules/@aws-sdk/client-s3/dist-types/models/models_0.d.ts +2799 -5390
  337. package/dist/node_modules/@aws-sdk/client-s3/dist-types/models/models_1.d.ts +354 -1959
  338. package/dist/node_modules/@aws-sdk/client-s3/dist-types/pagination/Interfaces.d.ts +3 -5
  339. package/dist/node_modules/@aws-sdk/client-s3/dist-types/pagination/ListObjectsV2Paginator.d.ts +1 -4
  340. package/dist/node_modules/@aws-sdk/client-s3/dist-types/pagination/ListPartsPaginator.d.ts +1 -4
  341. package/dist/node_modules/@aws-sdk/client-s3/dist-types/pagination/index.d.ts +0 -1
  342. package/dist/node_modules/@aws-sdk/client-s3/dist-types/protocols/Aws_restXml.d.ts +188 -764
  343. package/dist/node_modules/@aws-sdk/client-s3/dist-types/runtimeConfig.browser.d.ts +38 -45
  344. package/dist/node_modules/@aws-sdk/client-s3/dist-types/runtimeConfig.d.ts +9 -16
  345. package/dist/node_modules/@aws-sdk/client-s3/dist-types/runtimeConfig.native.d.ts +34 -41
  346. package/dist/node_modules/@aws-sdk/client-s3/dist-types/runtimeConfig.shared.d.ts +8 -14
  347. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/S3.d.ts +2 -37
  348. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/S3Client.d.ts +36 -55
  349. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/AbortMultipartUploadCommand.d.ts +3 -4
  350. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/CompleteMultipartUploadCommand.d.ts +3 -4
  351. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/CopyObjectCommand.d.ts +3 -4
  352. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/CreateBucketCommand.d.ts +3 -4
  353. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/CreateMultipartUploadCommand.d.ts +3 -4
  354. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketAnalyticsConfigurationCommand.d.ts +3 -4
  355. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketCommand.d.ts +3 -4
  356. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketCorsCommand.d.ts +3 -4
  357. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketEncryptionCommand.d.ts +3 -4
  358. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketIntelligentTieringConfigurationCommand.d.ts +3 -4
  359. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketInventoryConfigurationCommand.d.ts +3 -4
  360. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketLifecycleCommand.d.ts +3 -4
  361. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketMetricsConfigurationCommand.d.ts +3 -4
  362. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketOwnershipControlsCommand.d.ts +3 -4
  363. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketPolicyCommand.d.ts +3 -4
  364. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketReplicationCommand.d.ts +3 -4
  365. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketTaggingCommand.d.ts +3 -4
  366. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketWebsiteCommand.d.ts +3 -4
  367. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteObjectCommand.d.ts +3 -4
  368. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteObjectTaggingCommand.d.ts +3 -4
  369. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteObjectsCommand.d.ts +3 -4
  370. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeletePublicAccessBlockCommand.d.ts +3 -4
  371. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketAccelerateConfigurationCommand.d.ts +3 -4
  372. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketAclCommand.d.ts +3 -4
  373. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketAnalyticsConfigurationCommand.d.ts +3 -4
  374. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketCorsCommand.d.ts +3 -4
  375. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketEncryptionCommand.d.ts +3 -4
  376. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketIntelligentTieringConfigurationCommand.d.ts +3 -4
  377. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketInventoryConfigurationCommand.d.ts +3 -4
  378. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketLifecycleConfigurationCommand.d.ts +3 -4
  379. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketLocationCommand.d.ts +3 -4
  380. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketLoggingCommand.d.ts +3 -4
  381. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketMetricsConfigurationCommand.d.ts +3 -4
  382. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketNotificationConfigurationCommand.d.ts +3 -4
  383. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketOwnershipControlsCommand.d.ts +3 -4
  384. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketPolicyCommand.d.ts +3 -4
  385. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketPolicyStatusCommand.d.ts +3 -4
  386. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketReplicationCommand.d.ts +3 -4
  387. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketRequestPaymentCommand.d.ts +3 -4
  388. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketTaggingCommand.d.ts +3 -4
  389. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketVersioningCommand.d.ts +3 -4
  390. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketWebsiteCommand.d.ts +3 -4
  391. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetObjectAclCommand.d.ts +3 -4
  392. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetObjectAttributesCommand.d.ts +3 -4
  393. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetObjectCommand.d.ts +6 -9
  394. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetObjectLegalHoldCommand.d.ts +3 -4
  395. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetObjectLockConfigurationCommand.d.ts +3 -4
  396. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetObjectRetentionCommand.d.ts +3 -4
  397. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetObjectTaggingCommand.d.ts +3 -4
  398. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetObjectTorrentCommand.d.ts +6 -12
  399. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetPublicAccessBlockCommand.d.ts +3 -4
  400. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/HeadBucketCommand.d.ts +5 -8
  401. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/HeadObjectCommand.d.ts +3 -4
  402. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/ListBucketAnalyticsConfigurationsCommand.d.ts +3 -4
  403. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/ListBucketIntelligentTieringConfigurationsCommand.d.ts +3 -4
  404. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/ListBucketInventoryConfigurationsCommand.d.ts +3 -4
  405. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/ListBucketMetricsConfigurationsCommand.d.ts +3 -4
  406. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/ListBucketsCommand.d.ts +3 -4
  407. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/ListMultipartUploadsCommand.d.ts +3 -4
  408. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/ListObjectVersionsCommand.d.ts +3 -4
  409. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/ListObjectsCommand.d.ts +3 -4
  410. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/ListObjectsV2Command.d.ts +3 -4
  411. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/ListPartsCommand.d.ts +3 -4
  412. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketAccelerateConfigurationCommand.d.ts +3 -4
  413. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketAclCommand.d.ts +3 -4
  414. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketAnalyticsConfigurationCommand.d.ts +3 -4
  415. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketCorsCommand.d.ts +3 -4
  416. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketEncryptionCommand.d.ts +3 -4
  417. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketIntelligentTieringConfigurationCommand.d.ts +3 -4
  418. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketInventoryConfigurationCommand.d.ts +3 -4
  419. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketLifecycleConfigurationCommand.d.ts +3 -4
  420. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketLoggingCommand.d.ts +3 -4
  421. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketMetricsConfigurationCommand.d.ts +3 -4
  422. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketNotificationConfigurationCommand.d.ts +3 -4
  423. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketOwnershipControlsCommand.d.ts +3 -4
  424. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketPolicyCommand.d.ts +3 -4
  425. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketReplicationCommand.d.ts +4 -5
  426. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketRequestPaymentCommand.d.ts +4 -5
  427. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketTaggingCommand.d.ts +4 -5
  428. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketVersioningCommand.d.ts +4 -5
  429. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketWebsiteCommand.d.ts +4 -5
  430. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutObjectAclCommand.d.ts +4 -5
  431. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutObjectCommand.d.ts +12 -10
  432. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutObjectLegalHoldCommand.d.ts +4 -5
  433. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutObjectLockConfigurationCommand.d.ts +4 -5
  434. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutObjectRetentionCommand.d.ts +3 -4
  435. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutObjectTaggingCommand.d.ts +3 -4
  436. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutPublicAccessBlockCommand.d.ts +3 -4
  437. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/RestoreObjectCommand.d.ts +3 -4
  438. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/SelectObjectContentCommand.d.ts +3 -4
  439. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/UploadPartCommand.d.ts +11 -9
  440. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/UploadPartCopyCommand.d.ts +3 -4
  441. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/WriteGetObjectResponseCommand.d.ts +11 -11
  442. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/index.d.ts +0 -2
  443. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +5 -9
  444. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/endpoint/endpointResolver.d.ts +1 -1
  445. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/endpoint/ruleset.d.ts +1 -1
  446. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/index.d.ts +2 -6
  447. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/models/S3ServiceException.d.ts +1 -2
  448. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/models/models_0.d.ts +1189 -639
  449. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/models/models_1.d.ts +123 -251
  450. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/pagination/Interfaces.d.ts +3 -2
  451. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/pagination/ListObjectsV2Paginator.d.ts +1 -1
  452. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/pagination/ListPartsPaginator.d.ts +1 -1
  453. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/pagination/index.d.ts +0 -1
  454. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/protocols/Aws_restXml.d.ts +188 -212
  455. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/runtimeConfig.browser.d.ts +62 -78
  456. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/runtimeConfig.d.ts +14 -29
  457. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/runtimeConfig.native.d.ts +52 -70
  458. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/runtimeConfig.shared.d.ts +10 -19
  459. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/waiters/waitForBucketExists.d.ts +1 -1
  460. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/waiters/waitForBucketNotExists.d.ts +1 -1
  461. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/waiters/waitForObjectExists.d.ts +1 -1
  462. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/waiters/waitForObjectNotExists.d.ts +1 -1
  463. package/dist/node_modules/@aws-sdk/client-s3/dist-types/waiters/waitForBucketExists.d.ts +1 -1
  464. package/dist/node_modules/@aws-sdk/client-s3/dist-types/waiters/waitForBucketNotExists.d.ts +1 -1
  465. package/dist/node_modules/@aws-sdk/client-s3/dist-types/waiters/waitForObjectExists.d.ts +1 -1
  466. package/dist/node_modules/@aws-sdk/client-s3/dist-types/waiters/waitForObjectNotExists.d.ts +1 -1
  467. package/dist/node_modules/@aws-sdk/client-s3/package.json +1 -1
  468. package/dist/node_modules/mime-match/package.json +1 -1
  469. package/dist/node_modules/mkdirp/package.json +1 -1
  470. package/dist/node_modules/multer-aliyun-oss/package.json +1 -1
  471. package/dist/node_modules/multer-cos/index.js +1 -1
  472. package/dist/node_modules/multer-cos/package.json +1 -1
  473. package/dist/node_modules/multer-s3/index.js +4 -4
  474. package/dist/node_modules/multer-s3/package.json +1 -1
  475. package/dist/server/actions/attachments.js +2 -1
  476. package/dist/server/collections/attachments.js +1 -0
  477. package/dist/server/collections/storages.js +1 -0
  478. package/dist/server/server.d.ts +1 -0
  479. package/dist/server/server.js +8 -14
  480. package/package.json +3 -3
  481. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/CreateSessionCommand.js +0 -59
  482. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/ListDirectoryBucketsCommand.js +0 -58
  483. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/extensionConfiguration.js +0 -2
  484. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/pagination/ListDirectoryBucketsPaginator.js +0 -29
  485. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/runtimeExtensions.js +0 -22
  486. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/CreateSessionCommand.js +0 -55
  487. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/ListDirectoryBucketsCommand.js +0 -54
  488. package/dist/node_modules/@aws-sdk/client-s3/dist-es/extensionConfiguration.js +0 -1
  489. package/dist/node_modules/@aws-sdk/client-s3/dist-es/pagination/ListDirectoryBucketsPaginator.js +0 -25
  490. package/dist/node_modules/@aws-sdk/client-s3/dist-es/runtimeExtensions.js +0 -18
  491. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/CreateSessionCommand.d.ts +0 -145
  492. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/ListDirectoryBucketsCommand.d.ts +0 -98
  493. package/dist/node_modules/@aws-sdk/client-s3/dist-types/extensionConfiguration.d.ts +0 -8
  494. package/dist/node_modules/@aws-sdk/client-s3/dist-types/pagination/ListDirectoryBucketsPaginator.d.ts +0 -7
  495. package/dist/node_modules/@aws-sdk/client-s3/dist-types/runtimeExtensions.d.ts +0 -17
  496. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/CreateSessionCommand.d.ts +0 -35
  497. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/ListDirectoryBucketsCommand.d.ts +0 -42
  498. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/extensionConfiguration.d.ts +0 -7
  499. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/pagination/ListDirectoryBucketsPaginator.d.ts +0 -11
  500. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/runtimeExtensions.d.ts +0 -11
@@ -1,1340 +1,126 @@
1
- import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
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";
1
+ /// <reference types="node" />
2
+ import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
3
+ import { Readable } from "stream";
4
+ import { ChecksumAlgorithm, Grant, ObjectCannedACL, ObjectLockLegalHoldStatus, ObjectLockMode, ObjectLockRetention, PublicAccessBlockConfiguration, ReplicationStatus, RequestCharged, RequestPayer, ServerSideEncryption, StorageClass, Tagging } from "./models_0";
4
5
  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
- }
1098
- /**
1099
- * @public
1100
- */
1101
- export interface PutObjectLockConfigurationOutput {
1102
- /**
1103
- * @public
1104
- * <p>If present, indicates that the requester was successfully charged for the
1105
- * request.</p>
1106
- * <note>
1107
- * <p>This functionality is not supported for directory buckets.</p>
1108
- * </note>
1109
- */
1110
- RequestCharged?: RequestCharged;
1111
- }
1112
- /**
1113
- * @public
1114
- */
1115
- export interface PutObjectLockConfigurationRequest {
1116
- /**
1117
- * @public
1118
- * <p>The bucket whose Object Lock configuration you want to create or replace.</p>
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.
1120
- * For more information, please go to https://github.com/aws/aws-sdk-js-v3#known-issues</p>
1121
- */
1122
- Bucket: string | undefined;
1123
- /**
1124
- * @public
1125
- * <p>The Object Lock configuration that you want to apply to the specified bucket.</p>
1126
- */
1127
- ObjectLockConfiguration?: ObjectLockConfiguration;
1128
- /**
1129
- * @public
1130
- * <p>Confirms that the requester knows that they will be charged for the request. Bucket
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
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>
1139
- */
1140
- RequestPayer?: RequestPayer;
1141
- /**
1142
- * @public
1143
- * <p>A token to allow Object Lock to be enabled for an existing bucket.</p>
1144
- */
1145
- Token?: string;
1146
- /**
1147
- * @public
1148
- * <p>The MD5 hash for the request body.</p>
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>
1150
- */
1151
- ContentMD5?: string;
1152
- /**
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
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
1157
- * information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html">Checking object integrity</a> in
1158
- * the <i>Amazon S3 User Guide</i>.</p>
1159
- * <p>If you provide an individual checksum, Amazon S3 ignores any provided
1160
- * <code>ChecksumAlgorithm</code> parameter.</p>
1161
- */
1162
- ChecksumAlgorithm?: ChecksumAlgorithm;
1163
- /**
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>
1166
- */
1167
- ExpectedBucketOwner?: string;
1168
- }
1169
- /**
1170
- * @public
1171
- */
1172
6
  export interface PutObjectRetentionOutput {
1173
7
  /**
1174
- * @public
1175
8
  * <p>If present, indicates that the requester was successfully charged for the
1176
9
  * request.</p>
1177
- * <note>
1178
- * <p>This functionality is not supported for directory buckets.</p>
1179
- * </note>
1180
10
  */
1181
- RequestCharged?: RequestCharged;
11
+ RequestCharged?: RequestCharged | string;
1182
12
  }
1183
- /**
1184
- * @public
1185
- */
1186
13
  export interface PutObjectRetentionRequest {
1187
14
  /**
1188
- * @public
1189
15
  * <p>The bucket name that contains the object you want to apply this Object Retention
1190
16
  * configuration to. </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>
17
+ * <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>
1193
18
  * <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.
1194
19
  * For more information, please go to https://github.com/aws/aws-sdk-js-v3#known-issues</p>
1195
20
  */
1196
21
  Bucket: string | undefined;
1197
22
  /**
1198
- * @public
1199
23
  * <p>The key name for the object that you want to apply this Object Retention configuration
1200
24
  * to.</p>
1201
25
  */
1202
26
  Key: string | undefined;
1203
27
  /**
1204
- * @public
1205
28
  * <p>The container element for the Object Retention configuration.</p>
1206
29
  */
1207
30
  Retention?: ObjectLockRetention;
1208
31
  /**
1209
- * @public
1210
32
  * <p>Confirms that the requester knows that they will be charged for the request. Bucket
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
33
+ * owners need not specify this parameter in their requests. For information about downloading
34
+ * objects from Requester Pays buckets, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/ObjectsinRequesterPaysBuckets.html">Downloading Objects in
1215
35
  * 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>
1219
36
  */
1220
- RequestPayer?: RequestPayer;
37
+ RequestPayer?: RequestPayer | string;
1221
38
  /**
1222
- * @public
1223
39
  * <p>The version ID for the object that you want to apply this Object Retention configuration
1224
40
  * to.</p>
1225
41
  */
1226
42
  VersionId?: string;
1227
43
  /**
1228
- * @public
1229
44
  * <p>Indicates whether this action should bypass Governance-mode restrictions.</p>
1230
45
  */
1231
46
  BypassGovernanceRetention?: boolean;
1232
47
  /**
1233
- * @public
1234
48
  * <p>The MD5 hash for the request body.</p>
1235
49
  * <p>For requests made using the Amazon Web Services Command Line Interface (CLI) or Amazon Web Services SDKs, this field is calculated automatically.</p>
1236
50
  */
1237
51
  ContentMD5?: string;
1238
52
  /**
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
53
+ * <p>Indicates the algorithm used to create the checksum for the object when using the SDK. This header will not provide any
54
+ * additional functionality if not using the SDK. When sending this header, there must be a corresponding <code>x-amz-checksum</code> or
1242
55
  * <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
1243
56
  * information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html">Checking object integrity</a> in
1244
57
  * the <i>Amazon S3 User Guide</i>.</p>
1245
- * <p>If you provide an individual checksum, Amazon S3 ignores any provided
58
+ * <p>If you provide an individual checksum, Amazon S3 ignores any provided
1246
59
  * <code>ChecksumAlgorithm</code> parameter.</p>
1247
60
  */
1248
- ChecksumAlgorithm?: ChecksumAlgorithm;
61
+ ChecksumAlgorithm?: ChecksumAlgorithm | string;
1249
62
  /**
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>
63
+ * <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>
1252
64
  */
1253
65
  ExpectedBucketOwner?: string;
1254
66
  }
1255
- /**
1256
- * @public
1257
- */
1258
67
  export interface PutObjectTaggingOutput {
1259
68
  /**
1260
- * @public
1261
69
  * <p>The versionId of the object the tag-set was added to.</p>
1262
70
  */
1263
71
  VersionId?: string;
1264
72
  }
1265
- /**
1266
- * @public
1267
- */
1268
73
  export interface PutObjectTaggingRequest {
1269
74
  /**
1270
- * @public
1271
75
  * <p>The bucket name containing the object. </p>
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>
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>
76
+ * <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>
77
+ * <p>When using 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>
78
+ * <i>AccessPointName</i>-<i>AccountId</i>.<i>outpostID</i>.s3-outposts.<i>Region</i>.amazonaws.com</code>. When using this action with S3 on Outposts through the Amazon Web Services SDKs, you provide the Outposts bucket 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">Using Amazon S3 on Outposts</a> in the <i>Amazon S3 User Guide</i>.</p>
1277
79
  * <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.
1278
80
  * For more information, please go to https://github.com/aws/aws-sdk-js-v3#known-issues</p>
1279
81
  */
1280
82
  Bucket: string | undefined;
1281
83
  /**
1282
- * @public
1283
84
  * <p>Name of the object key.</p>
1284
85
  */
1285
86
  Key: string | undefined;
1286
87
  /**
1287
- * @public
1288
88
  * <p>The versionId of the object that the tag-set will be added to.</p>
1289
89
  */
1290
90
  VersionId?: string;
1291
91
  /**
1292
- * @public
1293
92
  * <p>The MD5 hash for the request body.</p>
1294
93
  * <p>For requests made using the Amazon Web Services Command Line Interface (CLI) or Amazon Web Services SDKs, this field is calculated automatically.</p>
1295
94
  */
1296
95
  ContentMD5?: string;
1297
96
  /**
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
97
+ * <p>Indicates the algorithm used to create the checksum for the object when using the SDK. This header will not provide any
98
+ * additional functionality if not using the SDK. When sending this header, there must be a corresponding <code>x-amz-checksum</code> or
1301
99
  * <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
1302
100
  * information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html">Checking object integrity</a> in
1303
101
  * the <i>Amazon S3 User Guide</i>.</p>
1304
- * <p>If you provide an individual checksum, Amazon S3 ignores any provided
102
+ * <p>If you provide an individual checksum, Amazon S3 ignores any provided
1305
103
  * <code>ChecksumAlgorithm</code> parameter.</p>
1306
104
  */
1307
- ChecksumAlgorithm?: ChecksumAlgorithm;
105
+ ChecksumAlgorithm?: ChecksumAlgorithm | string;
1308
106
  /**
1309
- * @public
1310
107
  * <p>Container for the <code>TagSet</code> and <code>Tag</code> elements</p>
1311
108
  */
1312
109
  Tagging: Tagging | undefined;
1313
110
  /**
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>
111
+ * <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>
1316
112
  */
1317
113
  ExpectedBucketOwner?: string;
1318
114
  /**
1319
- * @public
1320
115
  * <p>Confirms that the requester knows that they will be charged for the request. Bucket
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
116
+ * owners need not specify this parameter in their requests. For information about downloading
117
+ * objects from Requester Pays buckets, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/ObjectsinRequesterPaysBuckets.html">Downloading Objects in
1325
118
  * 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>
1329
119
  */
1330
- RequestPayer?: RequestPayer;
120
+ RequestPayer?: RequestPayer | string;
1331
121
  }
1332
- /**
1333
- * @public
1334
- */
1335
122
  export interface PutPublicAccessBlockRequest {
1336
123
  /**
1337
- * @public
1338
124
  * <p>The name of the Amazon S3 bucket whose <code>PublicAccessBlock</code> configuration you want
1339
125
  * to set.</p>
1340
126
  * <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.
@@ -1342,37 +128,32 @@ export interface PutPublicAccessBlockRequest {
1342
128
  */
1343
129
  Bucket: string | undefined;
1344
130
  /**
1345
- * @public
1346
131
  * <p>The MD5 hash of the <code>PutPublicAccessBlock</code> request body. </p>
1347
132
  * <p>For requests made using the Amazon Web Services Command Line Interface (CLI) or Amazon Web Services SDKs, this field is calculated automatically.</p>
1348
133
  */
1349
134
  ContentMD5?: string;
1350
135
  /**
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
136
+ * <p>Indicates the algorithm used to create the checksum for the object when using the SDK. This header will not provide any
137
+ * additional functionality if not using the SDK. When sending this header, there must be a corresponding <code>x-amz-checksum</code> or
1354
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
1355
139
  * information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html">Checking object integrity</a> in
1356
140
  * the <i>Amazon S3 User Guide</i>.</p>
1357
- * <p>If you provide an individual checksum, Amazon S3 ignores any provided
141
+ * <p>If you provide an individual checksum, Amazon S3 ignores any provided
1358
142
  * <code>ChecksumAlgorithm</code> parameter.</p>
1359
143
  */
1360
- ChecksumAlgorithm?: ChecksumAlgorithm;
144
+ ChecksumAlgorithm?: ChecksumAlgorithm | string;
1361
145
  /**
1362
- * @public
1363
146
  * <p>The <code>PublicAccessBlock</code> configuration that you want to apply to this Amazon S3
1364
147
  * bucket. You can enable the configuration options in any combination. For more information
1365
148
  * 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>
1366
149
  */
1367
150
  PublicAccessBlockConfiguration: PublicAccessBlockConfiguration | undefined;
1368
151
  /**
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>
152
+ * <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>
1371
153
  */
1372
154
  ExpectedBucketOwner?: string;
1373
155
  }
1374
156
  /**
1375
- * @public
1376
157
  * <p>This action is not allowed against this storage tier.</p>
1377
158
  */
1378
159
  export declare class ObjectAlreadyInActiveTierError extends __BaseException {
@@ -1383,194 +164,133 @@ export declare class ObjectAlreadyInActiveTierError extends __BaseException {
1383
164
  */
1384
165
  constructor(opts: __ExceptionOptionType<ObjectAlreadyInActiveTierError, __BaseException>);
1385
166
  }
1386
- /**
1387
- * @public
1388
- */
1389
167
  export interface RestoreObjectOutput {
1390
168
  /**
1391
- * @public
1392
169
  * <p>If present, indicates that the requester was successfully charged for the
1393
170
  * request.</p>
1394
- * <note>
1395
- * <p>This functionality is not supported for directory buckets.</p>
1396
- * </note>
1397
171
  */
1398
- RequestCharged?: RequestCharged;
172
+ RequestCharged?: RequestCharged | string;
1399
173
  /**
1400
- * @public
1401
174
  * <p>Indicates the path in the provided S3 output location where Select results will be
1402
175
  * restored to.</p>
1403
176
  */
1404
177
  RestoreOutputPath?: string;
1405
178
  }
179
+ export declare enum Tier {
180
+ Bulk = "Bulk",
181
+ Expedited = "Expedited",
182
+ Standard = "Standard"
183
+ }
1406
184
  /**
1407
- * @public
1408
- * @enum
1409
- */
1410
- export declare const Tier: {
1411
- readonly Bulk: "Bulk";
1412
- readonly Expedited: "Expedited";
1413
- readonly Standard: "Standard";
1414
- };
1415
- /**
1416
- * @public
1417
- */
1418
- export type Tier = (typeof Tier)[keyof typeof Tier];
1419
- /**
1420
- * @public
1421
185
  * <p>Container for S3 Glacier job parameters.</p>
1422
186
  */
1423
187
  export interface GlacierJobParameters {
1424
188
  /**
1425
- * @public
1426
189
  * <p>Retrieval tier at which the restore will be processed.</p>
1427
190
  */
1428
- Tier: Tier | undefined;
191
+ Tier: Tier | string | undefined;
1429
192
  }
1430
193
  /**
1431
- * @public
1432
194
  * <p>Contains the type of server-side encryption used.</p>
1433
195
  */
1434
196
  export interface Encryption {
1435
197
  /**
1436
- * @public
1437
198
  * <p>The server-side encryption algorithm used when storing job results in Amazon S3 (for example,
1438
- * AES256, <code>aws:kms</code>).</p>
199
+ * AES256, aws:kms).</p>
1439
200
  */
1440
- EncryptionType: ServerSideEncryption | undefined;
201
+ EncryptionType: ServerSideEncryption | string | undefined;
1441
202
  /**
1442
- * @public
1443
203
  * <p>If the encryption type is <code>aws:kms</code>, this optional value specifies the ID of
1444
- * the symmetric encryption customer managed key to use for encryption of job results. Amazon S3 only
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
1446
- * Developer Guide</i>.</p>
204
+ * the symmetric customer managed key to use for encryption of job results. Amazon S3 only
205
+ * supports symmetric keys. For more information, see <a href="https://docs.aws.amazon.com/kms/latest/developerguide/symmetric-asymmetric.html">Using symmetric and
206
+ * asymmetric keys</a> in the <i>Amazon Web Services Key Management Service Developer
207
+ * Guide</i>.</p>
1447
208
  */
1448
209
  KMSKeyId?: string;
1449
210
  /**
1450
- * @public
1451
211
  * <p>If the encryption type is <code>aws:kms</code>, this optional value can be used to
1452
212
  * specify the encryption context for the restore results.</p>
1453
213
  */
1454
214
  KMSContext?: string;
1455
215
  }
1456
216
  /**
1457
- * @public
1458
217
  * <p>A metadata key-value pair to store with an object.</p>
1459
218
  */
1460
219
  export interface MetadataEntry {
1461
220
  /**
1462
- * @public
1463
- * <p>Name of the object.</p>
221
+ * <p>Name of the Object.</p>
1464
222
  */
1465
223
  Name?: string;
1466
224
  /**
1467
- * @public
1468
- * <p>Value of the object.</p>
225
+ * <p>Value of the Object.</p>
1469
226
  */
1470
227
  Value?: string;
1471
228
  }
1472
229
  /**
1473
- * @public
1474
230
  * <p>Describes an Amazon S3 location that will receive the results of the restore request.</p>
1475
231
  */
1476
232
  export interface S3Location {
1477
233
  /**
1478
- * @public
1479
234
  * <p>The name of the bucket where the restore results will be placed.</p>
1480
235
  */
1481
236
  BucketName: string | undefined;
1482
237
  /**
1483
- * @public
1484
238
  * <p>The prefix that is prepended to the restore results for this request.</p>
1485
239
  */
1486
240
  Prefix: string | undefined;
1487
241
  /**
1488
- * @public
1489
242
  * <p>Contains the type of server-side encryption used.</p>
1490
243
  */
1491
244
  Encryption?: Encryption;
1492
245
  /**
1493
- * @public
1494
246
  * <p>The canned ACL to apply to the restore results.</p>
1495
247
  */
1496
- CannedACL?: ObjectCannedACL;
248
+ CannedACL?: ObjectCannedACL | string;
1497
249
  /**
1498
- * @public
1499
250
  * <p>A list of grants that control access to the staged results.</p>
1500
251
  */
1501
252
  AccessControlList?: Grant[];
1502
253
  /**
1503
- * @public
1504
254
  * <p>The tag-set that is applied to the restore results.</p>
1505
255
  */
1506
256
  Tagging?: Tagging;
1507
257
  /**
1508
- * @public
1509
258
  * <p>A list of metadata to store with the restore results in S3.</p>
1510
259
  */
1511
260
  UserMetadata?: MetadataEntry[];
1512
261
  /**
1513
- * @public
1514
262
  * <p>The class of storage used to store the restore results.</p>
1515
263
  */
1516
- StorageClass?: StorageClass;
264
+ StorageClass?: StorageClass | string;
1517
265
  }
1518
266
  /**
1519
- * @public
1520
267
  * <p>Describes the location where the restore job's output is stored.</p>
1521
268
  */
1522
269
  export interface OutputLocation {
1523
270
  /**
1524
- * @public
1525
271
  * <p>Describes an S3 location that will receive the results of the restore request.</p>
1526
272
  */
1527
273
  S3?: S3Location;
1528
274
  }
275
+ export declare enum ExpressionType {
276
+ SQL = "SQL"
277
+ }
278
+ export declare enum CompressionType {
279
+ BZIP2 = "BZIP2",
280
+ GZIP = "GZIP",
281
+ NONE = "NONE"
282
+ }
283
+ export declare enum FileHeaderInfo {
284
+ IGNORE = "IGNORE",
285
+ NONE = "NONE",
286
+ USE = "USE"
287
+ }
1529
288
  /**
1530
- * @public
1531
- * @enum
1532
- */
1533
- export declare const ExpressionType: {
1534
- readonly SQL: "SQL";
1535
- };
1536
- /**
1537
- * @public
1538
- */
1539
- export type ExpressionType = (typeof ExpressionType)[keyof typeof ExpressionType];
1540
- /**
1541
- * @public
1542
- * @enum
1543
- */
1544
- export declare const CompressionType: {
1545
- readonly BZIP2: "BZIP2";
1546
- readonly GZIP: "GZIP";
1547
- readonly NONE: "NONE";
1548
- };
1549
- /**
1550
- * @public
1551
- */
1552
- export type CompressionType = (typeof CompressionType)[keyof typeof CompressionType];
1553
- /**
1554
- * @public
1555
- * @enum
1556
- */
1557
- export declare const FileHeaderInfo: {
1558
- readonly IGNORE: "IGNORE";
1559
- readonly NONE: "NONE";
1560
- readonly USE: "USE";
1561
- };
1562
- /**
1563
- * @public
1564
- */
1565
- export type FileHeaderInfo = (typeof FileHeaderInfo)[keyof typeof FileHeaderInfo];
1566
- /**
1567
- * @public
1568
289
  * <p>Describes how an uncompressed comma-separated values (CSV)-formatted input object is
1569
290
  * formatted.</p>
1570
291
  */
1571
292
  export interface CSVInput {
1572
293
  /**
1573
- * @public
1574
294
  * <p>Describes the first line of input. Valid values are:</p>
1575
295
  * <ul>
1576
296
  * <li>
@@ -1590,37 +310,30 @@ export interface CSVInput {
1590
310
  * </li>
1591
311
  * </ul>
1592
312
  */
1593
- FileHeaderInfo?: FileHeaderInfo;
313
+ FileHeaderInfo?: FileHeaderInfo | string;
1594
314
  /**
1595
- * @public
1596
315
  * <p>A single character used to indicate that a row should be ignored when the character is
1597
- * present at the start of that row. You can specify any character to indicate a comment line.
1598
- * The default character is <code>#</code>.</p>
1599
- * <p>Default: <code>#</code>
1600
- * </p>
316
+ * present at the start of that row. You can specify any character to indicate a comment
317
+ * line.</p>
1601
318
  */
1602
319
  Comments?: string;
1603
320
  /**
1604
- * @public
1605
321
  * <p>A single character used for escaping the quotation mark character inside an already
1606
322
  * escaped value. For example, the value <code>""" a , b """</code> is parsed as <code>" a , b
1607
323
  * "</code>.</p>
1608
324
  */
1609
325
  QuoteEscapeCharacter?: string;
1610
326
  /**
1611
- * @public
1612
327
  * <p>A single character used to separate individual records in the input. Instead of the
1613
328
  * default value, you can specify an arbitrary delimiter.</p>
1614
329
  */
1615
330
  RecordDelimiter?: string;
1616
331
  /**
1617
- * @public
1618
332
  * <p>A single character used to separate individual fields in a record. You can specify an
1619
333
  * arbitrary delimiter.</p>
1620
334
  */
1621
335
  FieldDelimiter?: string;
1622
336
  /**
1623
- * @public
1624
337
  * <p>A single character used for escaping when the field delimiter is part of the value. For
1625
338
  * example, if the value is <code>a, b</code>, Amazon S3 wraps this field value in quotation marks,
1626
339
  * as follows: <code>" a , b "</code>.</p>
@@ -1632,89 +345,62 @@ export interface CSVInput {
1632
345
  */
1633
346
  QuoteCharacter?: string;
1634
347
  /**
1635
- * @public
1636
348
  * <p>Specifies that CSV field values may contain quoted record delimiters and such records
1637
349
  * should be allowed. Default value is FALSE. Setting this value to TRUE may lower
1638
350
  * performance.</p>
1639
351
  */
1640
352
  AllowQuotedRecordDelimiter?: boolean;
1641
353
  }
354
+ export declare enum JSONType {
355
+ DOCUMENT = "DOCUMENT",
356
+ LINES = "LINES"
357
+ }
1642
358
  /**
1643
- * @public
1644
- * @enum
1645
- */
1646
- export declare const JSONType: {
1647
- readonly DOCUMENT: "DOCUMENT";
1648
- readonly LINES: "LINES";
1649
- };
1650
- /**
1651
- * @public
1652
- */
1653
- export type JSONType = (typeof JSONType)[keyof typeof JSONType];
1654
- /**
1655
- * @public
1656
359
  * <p>Specifies JSON as object's input serialization format.</p>
1657
360
  */
1658
361
  export interface JSONInput {
1659
362
  /**
1660
- * @public
1661
363
  * <p>The type of JSON. Valid values: Document, Lines.</p>
1662
364
  */
1663
- Type?: JSONType;
365
+ Type?: JSONType | string;
1664
366
  }
1665
367
  /**
1666
- * @public
1667
368
  * <p>Container for Parquet.</p>
1668
369
  */
1669
370
  export interface ParquetInput {
1670
371
  }
1671
372
  /**
1672
- * @public
1673
373
  * <p>Describes the serialization format of the object.</p>
1674
374
  */
1675
375
  export interface InputSerialization {
1676
376
  /**
1677
- * @public
1678
377
  * <p>Describes the serialization of a CSV-encoded object.</p>
1679
378
  */
1680
379
  CSV?: CSVInput;
1681
380
  /**
1682
- * @public
1683
381
  * <p>Specifies object's compression format. Valid values: NONE, GZIP, BZIP2. Default Value:
1684
382
  * NONE.</p>
1685
383
  */
1686
- CompressionType?: CompressionType;
384
+ CompressionType?: CompressionType | string;
1687
385
  /**
1688
- * @public
1689
386
  * <p>Specifies JSON as object's input serialization format.</p>
1690
387
  */
1691
388
  JSON?: JSONInput;
1692
389
  /**
1693
- * @public
1694
390
  * <p>Specifies Parquet as object's input serialization format.</p>
1695
391
  */
1696
392
  Parquet?: ParquetInput;
1697
393
  }
394
+ export declare enum QuoteFields {
395
+ ALWAYS = "ALWAYS",
396
+ ASNEEDED = "ASNEEDED"
397
+ }
1698
398
  /**
1699
- * @public
1700
- * @enum
1701
- */
1702
- export declare const QuoteFields: {
1703
- readonly ALWAYS: "ALWAYS";
1704
- readonly ASNEEDED: "ASNEEDED";
1705
- };
1706
- /**
1707
- * @public
1708
- */
1709
- export type QuoteFields = (typeof QuoteFields)[keyof typeof QuoteFields];
1710
- /**
1711
- * @public
1712
399
  * <p>Describes how uncompressed comma-separated values (CSV)-formatted results are
1713
400
  * formatted.</p>
1714
401
  */
1715
402
  export interface CSVOutput {
1716
403
  /**
1717
- * @public
1718
404
  * <p>Indicates whether to use quotation marks around output fields. </p>
1719
405
  * <ul>
1720
406
  * <li>
@@ -1727,27 +413,23 @@ export interface CSVOutput {
1727
413
  * </li>
1728
414
  * </ul>
1729
415
  */
1730
- QuoteFields?: QuoteFields;
416
+ QuoteFields?: QuoteFields | string;
1731
417
  /**
1732
- * @public
1733
418
  * <p>The single character used for escaping the quote character inside an already escaped
1734
419
  * value.</p>
1735
420
  */
1736
421
  QuoteEscapeCharacter?: string;
1737
422
  /**
1738
- * @public
1739
423
  * <p>A single character used to separate individual records in the output. Instead of the
1740
424
  * default value, you can specify an arbitrary delimiter.</p>
1741
425
  */
1742
426
  RecordDelimiter?: string;
1743
427
  /**
1744
- * @public
1745
428
  * <p>The value used to separate individual fields in a record. You can specify an arbitrary
1746
429
  * delimiter.</p>
1747
430
  */
1748
431
  FieldDelimiter?: string;
1749
432
  /**
1750
- * @public
1751
433
  * <p>A single character used for escaping when the field delimiter is part of the value. For
1752
434
  * example, if the value is <code>a, b</code>, Amazon S3 wraps this field value in quotation marks,
1753
435
  * as follows: <code>" a , b "</code>.</p>
@@ -1755,77 +437,57 @@ export interface CSVOutput {
1755
437
  QuoteCharacter?: string;
1756
438
  }
1757
439
  /**
1758
- * @public
1759
440
  * <p>Specifies JSON as request's output serialization format.</p>
1760
441
  */
1761
442
  export interface JSONOutput {
1762
443
  /**
1763
- * @public
1764
444
  * <p>The value used to separate individual records in the output. If no value is specified,
1765
445
  * Amazon S3 uses a newline character ('\n').</p>
1766
446
  */
1767
447
  RecordDelimiter?: string;
1768
448
  }
1769
449
  /**
1770
- * @public
1771
450
  * <p>Describes how results of the Select job are serialized.</p>
1772
451
  */
1773
452
  export interface OutputSerialization {
1774
453
  /**
1775
- * @public
1776
454
  * <p>Describes the serialization of CSV-encoded Select results.</p>
1777
455
  */
1778
456
  CSV?: CSVOutput;
1779
457
  /**
1780
- * @public
1781
458
  * <p>Specifies JSON as request's output serialization format.</p>
1782
459
  */
1783
460
  JSON?: JSONOutput;
1784
461
  }
1785
462
  /**
1786
- * @public
1787
463
  * <p>Describes the parameters for Select job types.</p>
1788
464
  */
1789
465
  export interface SelectParameters {
1790
466
  /**
1791
- * @public
1792
467
  * <p>Describes the serialization format of the object.</p>
1793
468
  */
1794
469
  InputSerialization: InputSerialization | undefined;
1795
470
  /**
1796
- * @public
1797
471
  * <p>The type of the provided expression (for example, SQL).</p>
1798
472
  */
1799
- ExpressionType: ExpressionType | undefined;
473
+ ExpressionType: ExpressionType | string | undefined;
1800
474
  /**
1801
- * @public
1802
475
  * <p>The expression that is used to query the object.</p>
1803
476
  */
1804
477
  Expression: string | undefined;
1805
478
  /**
1806
- * @public
1807
479
  * <p>Describes how the results of the Select job are serialized.</p>
1808
480
  */
1809
481
  OutputSerialization: OutputSerialization | undefined;
1810
482
  }
483
+ export declare enum RestoreRequestType {
484
+ SELECT = "SELECT"
485
+ }
1811
486
  /**
1812
- * @public
1813
- * @enum
1814
- */
1815
- export declare const RestoreRequestType: {
1816
- readonly SELECT: "SELECT";
1817
- };
1818
- /**
1819
- * @public
1820
- */
1821
- export type RestoreRequestType = (typeof RestoreRequestType)[keyof typeof RestoreRequestType];
1822
- /**
1823
- * @public
1824
487
  * <p>Container for restore job parameters.</p>
1825
488
  */
1826
489
  export interface RestoreRequest {
1827
490
  /**
1828
- * @public
1829
491
  * <p>Lifetime of the active copy in days. Do not use with restores that specify
1830
492
  * <code>OutputLocation</code>.</p>
1831
493
  * <p>The Days element is required for regular restores, and must not be provided for select
@@ -1833,106 +495,81 @@ export interface RestoreRequest {
1833
495
  */
1834
496
  Days?: number;
1835
497
  /**
1836
- * @public
1837
498
  * <p>S3 Glacier related parameters pertaining to this job. Do not use with restores that
1838
499
  * specify <code>OutputLocation</code>.</p>
1839
500
  */
1840
501
  GlacierJobParameters?: GlacierJobParameters;
1841
502
  /**
1842
- * @public
1843
503
  * <p>Type of restore request.</p>
1844
504
  */
1845
- Type?: RestoreRequestType;
505
+ Type?: RestoreRequestType | string;
1846
506
  /**
1847
- * @public
1848
507
  * <p>Retrieval tier at which the restore will be processed.</p>
1849
508
  */
1850
- Tier?: Tier;
509
+ Tier?: Tier | string;
1851
510
  /**
1852
- * @public
1853
511
  * <p>The optional description for the job.</p>
1854
512
  */
1855
513
  Description?: string;
1856
514
  /**
1857
- * @public
1858
515
  * <p>Describes the parameters for Select job types.</p>
1859
516
  */
1860
517
  SelectParameters?: SelectParameters;
1861
518
  /**
1862
- * @public
1863
519
  * <p>Describes the location where the restore job's output is stored.</p>
1864
520
  */
1865
521
  OutputLocation?: OutputLocation;
1866
522
  }
1867
- /**
1868
- * @public
1869
- */
1870
523
  export interface RestoreObjectRequest {
1871
524
  /**
1872
- * @public
1873
525
  * <p>The bucket name containing the object to restore. </p>
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>
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>
526
+ * <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>
527
+ * <p>When using 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>
528
+ * <i>AccessPointName</i>-<i>AccountId</i>.<i>outpostID</i>.s3-outposts.<i>Region</i>.amazonaws.com</code>. When using this action with S3 on Outposts through the Amazon Web Services SDKs, you provide the Outposts bucket 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">Using Amazon S3 on Outposts</a> in the <i>Amazon S3 User Guide</i>.</p>
1879
529
  * <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.
1880
530
  * For more information, please go to https://github.com/aws/aws-sdk-js-v3#known-issues</p>
1881
531
  */
1882
532
  Bucket: string | undefined;
1883
533
  /**
1884
- * @public
1885
534
  * <p>Object key for which the action was initiated.</p>
1886
535
  */
1887
536
  Key: string | undefined;
1888
537
  /**
1889
- * @public
1890
538
  * <p>VersionId used to reference a specific version of the object.</p>
1891
539
  */
1892
540
  VersionId?: string;
1893
541
  /**
1894
- * @public
1895
542
  * <p>Container for restore job parameters.</p>
1896
543
  */
1897
544
  RestoreRequest?: RestoreRequest;
1898
545
  /**
1899
- * @public
1900
546
  * <p>Confirms that the requester knows that they will be charged for the request. Bucket
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
547
+ * owners need not specify this parameter in their requests. For information about downloading
548
+ * objects from Requester Pays buckets, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/ObjectsinRequesterPaysBuckets.html">Downloading Objects in
1905
549
  * 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>
1909
550
  */
1910
- RequestPayer?: RequestPayer;
551
+ RequestPayer?: RequestPayer | string;
1911
552
  /**
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
553
+ * <p>Indicates the algorithm used to create the checksum for the object when using the SDK. This header will not provide any
554
+ * additional functionality if not using the SDK. When sending this header, there must be a corresponding <code>x-amz-checksum</code> or
1915
555
  * <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
1916
556
  * information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html">Checking object integrity</a> in
1917
557
  * the <i>Amazon S3 User Guide</i>.</p>
1918
- * <p>If you provide an individual checksum, Amazon S3 ignores any provided
558
+ * <p>If you provide an individual checksum, Amazon S3 ignores any provided
1919
559
  * <code>ChecksumAlgorithm</code> parameter.</p>
1920
560
  */
1921
- ChecksumAlgorithm?: ChecksumAlgorithm;
561
+ ChecksumAlgorithm?: ChecksumAlgorithm | string;
1922
562
  /**
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>
563
+ * <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>
1925
564
  */
1926
565
  ExpectedBucketOwner?: string;
1927
566
  }
1928
567
  /**
1929
- * @public
1930
568
  * <p></p>
1931
569
  */
1932
570
  export interface ContinuationEvent {
1933
571
  }
1934
572
  /**
1935
- * @public
1936
573
  * <p>A message that indicates the request is complete and no more messages will be sent. You
1937
574
  * should not assume that the request is complete until the client receives an
1938
575
  * <code>EndEvent</code>.</p>
@@ -1940,91 +577,72 @@ export interface ContinuationEvent {
1940
577
  export interface EndEvent {
1941
578
  }
1942
579
  /**
1943
- * @public
1944
580
  * <p>This data type contains information about progress of an operation.</p>
1945
581
  */
1946
582
  export interface Progress {
1947
583
  /**
1948
- * @public
1949
584
  * <p>The current number of object bytes scanned.</p>
1950
585
  */
1951
586
  BytesScanned?: number;
1952
587
  /**
1953
- * @public
1954
588
  * <p>The current number of uncompressed object bytes processed.</p>
1955
589
  */
1956
590
  BytesProcessed?: number;
1957
591
  /**
1958
- * @public
1959
592
  * <p>The current number of bytes of records payload data returned.</p>
1960
593
  */
1961
594
  BytesReturned?: number;
1962
595
  }
1963
596
  /**
1964
- * @public
1965
597
  * <p>This data type contains information about the progress event of an operation.</p>
1966
598
  */
1967
599
  export interface ProgressEvent {
1968
600
  /**
1969
- * @public
1970
601
  * <p>The Progress event details.</p>
1971
602
  */
1972
603
  Details?: Progress;
1973
604
  }
1974
605
  /**
1975
- * @public
1976
606
  * <p>The container for the records event.</p>
1977
607
  */
1978
608
  export interface RecordsEvent {
1979
609
  /**
1980
- * @public
1981
610
  * <p>The byte array of partial, one or more result records.</p>
1982
611
  */
1983
612
  Payload?: Uint8Array;
1984
613
  }
1985
614
  /**
1986
- * @public
1987
615
  * <p>Container for the stats details.</p>
1988
616
  */
1989
617
  export interface Stats {
1990
618
  /**
1991
- * @public
1992
619
  * <p>The total number of object bytes scanned.</p>
1993
620
  */
1994
621
  BytesScanned?: number;
1995
622
  /**
1996
- * @public
1997
623
  * <p>The total number of uncompressed object bytes processed.</p>
1998
624
  */
1999
625
  BytesProcessed?: number;
2000
626
  /**
2001
- * @public
2002
627
  * <p>The total number of bytes of records payload data returned.</p>
2003
628
  */
2004
629
  BytesReturned?: number;
2005
630
  }
2006
631
  /**
2007
- * @public
2008
632
  * <p>Container for the Stats Event.</p>
2009
633
  */
2010
634
  export interface StatsEvent {
2011
635
  /**
2012
- * @public
2013
636
  * <p>The Stats event details.</p>
2014
637
  */
2015
638
  Details?: Stats;
2016
639
  }
2017
640
  /**
2018
- * @public
2019
641
  * <p>The container for selecting objects from a content event stream.</p>
2020
642
  */
2021
- export type SelectObjectContentEventStream = SelectObjectContentEventStream.ContMember | SelectObjectContentEventStream.EndMember | SelectObjectContentEventStream.ProgressMember | SelectObjectContentEventStream.RecordsMember | SelectObjectContentEventStream.StatsMember | SelectObjectContentEventStream.$UnknownMember;
2022
- /**
2023
- * @public
2024
- */
643
+ export declare type SelectObjectContentEventStream = SelectObjectContentEventStream.ContMember | SelectObjectContentEventStream.EndMember | SelectObjectContentEventStream.ProgressMember | SelectObjectContentEventStream.RecordsMember | SelectObjectContentEventStream.StatsMember | SelectObjectContentEventStream.$UnknownMember;
2025
644
  export declare namespace SelectObjectContentEventStream {
2026
645
  /**
2027
- * @public
2028
646
  * <p>The Records Event.</p>
2029
647
  */
2030
648
  interface RecordsMember {
@@ -2036,7 +654,6 @@ export declare namespace SelectObjectContentEventStream {
2036
654
  $unknown?: never;
2037
655
  }
2038
656
  /**
2039
- * @public
2040
657
  * <p>The Stats Event.</p>
2041
658
  */
2042
659
  interface StatsMember {
@@ -2048,7 +665,6 @@ export declare namespace SelectObjectContentEventStream {
2048
665
  $unknown?: never;
2049
666
  }
2050
667
  /**
2051
- * @public
2052
668
  * <p>The Progress Event.</p>
2053
669
  */
2054
670
  interface ProgressMember {
@@ -2060,7 +676,6 @@ export declare namespace SelectObjectContentEventStream {
2060
676
  $unknown?: never;
2061
677
  }
2062
678
  /**
2063
- * @public
2064
679
  * <p>The Continuation Event.</p>
2065
680
  */
2066
681
  interface ContMember {
@@ -2072,7 +687,6 @@ export declare namespace SelectObjectContentEventStream {
2072
687
  $unknown?: never;
2073
688
  }
2074
689
  /**
2075
- * @public
2076
690
  * <p>The End Event.</p>
2077
691
  */
2078
692
  interface EndMember {
@@ -2083,9 +697,6 @@ export declare namespace SelectObjectContentEventStream {
2083
697
  End: EndEvent;
2084
698
  $unknown?: never;
2085
699
  }
2086
- /**
2087
- * @public
2088
- */
2089
700
  interface $UnknownMember {
2090
701
  Records?: never;
2091
702
  Stats?: never;
@@ -2104,31 +715,24 @@ export declare namespace SelectObjectContentEventStream {
2104
715
  }
2105
716
  const visit: <T>(value: SelectObjectContentEventStream, visitor: Visitor<T>) => T;
2106
717
  }
2107
- /**
2108
- * @public
2109
- */
2110
718
  export interface SelectObjectContentOutput {
2111
719
  /**
2112
- * @public
2113
720
  * <p>The array of results.</p>
2114
721
  */
2115
722
  Payload?: AsyncIterable<SelectObjectContentEventStream>;
2116
723
  }
2117
724
  /**
2118
- * @public
2119
725
  * <p>Container for specifying if periodic <code>QueryProgress</code> messages should be
2120
726
  * sent.</p>
2121
727
  */
2122
728
  export interface RequestProgress {
2123
729
  /**
2124
- * @public
2125
730
  * <p>Specifies whether periodic QueryProgress frames should be sent. Valid values: TRUE,
2126
731
  * FALSE. Default value: FALSE.</p>
2127
732
  */
2128
733
  Enabled?: boolean;
2129
734
  }
2130
735
  /**
2131
- * @public
2132
736
  * <p>Specifies the byte range of the object to get the records from. A record is processed
2133
737
  * when its first byte is contained by the range. This parameter is optional, but when
2134
738
  * specified, it must not be empty. See RFC 2616, Section 14.35.1 about how to specify the
@@ -2136,7 +740,6 @@ export interface RequestProgress {
2136
740
  */
2137
741
  export interface ScanRange {
2138
742
  /**
2139
- * @public
2140
743
  * <p>Specifies the start of the byte range. This parameter is optional. Valid values:
2141
744
  * non-negative integers. The default value is 0. If only <code>start</code> is supplied, it
2142
745
  * means scan from that point to the end of the file. For example,
@@ -2145,7 +748,6 @@ export interface ScanRange {
2145
748
  */
2146
749
  Start?: number;
2147
750
  /**
2148
- * @public
2149
751
  * <p>Specifies the end of the byte range. This parameter is optional. Valid values:
2150
752
  * non-negative integers. The default value is one less than the size of the object being
2151
753
  * queried. If only the End parameter is supplied, it is interpreted to mean scan the last N
@@ -2156,7 +758,6 @@ export interface ScanRange {
2156
758
  End?: number;
2157
759
  }
2158
760
  /**
2159
- * @public
2160
761
  * <p>Request to filter the contents of an Amazon S3 object based on a simple Structured Query
2161
762
  * Language (SQL) statement. In the request, along with the SQL expression, you must specify a
2162
763
  * data serialization format (JSON or CSV) of the object. Amazon S3 uses this to parse object data
@@ -2166,19 +767,16 @@ export interface ScanRange {
2166
767
  */
2167
768
  export interface SelectObjectContentRequest {
2168
769
  /**
2169
- * @public
2170
770
  * <p>The S3 bucket.</p>
2171
771
  * <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.
2172
772
  * For more information, please go to https://github.com/aws/aws-sdk-js-v3#known-issues</p>
2173
773
  */
2174
774
  Bucket: string | undefined;
2175
775
  /**
2176
- * @public
2177
776
  * <p>The object key.</p>
2178
777
  */
2179
778
  Key: string | undefined;
2180
779
  /**
2181
- * @public
2182
780
  * <p>The server-side encryption (SSE) algorithm used to encrypt the object. This parameter is needed only when the object was created
2183
781
  * using a checksum algorithm. For more information,
2184
782
  * see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/ServerSideEncryptionCustomerKeys.html">Protecting data using SSE-C keys</a> in the
@@ -2186,7 +784,6 @@ export interface SelectObjectContentRequest {
2186
784
  */
2187
785
  SSECustomerAlgorithm?: string;
2188
786
  /**
2189
- * @public
2190
787
  * <p>The server-side encryption (SSE) customer managed key. This parameter is needed only when the object was created using a checksum algorithm.
2191
788
  * For more information, see
2192
789
  * <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/ServerSideEncryptionCustomerKeys.html">Protecting data using SSE-C keys</a> in the
@@ -2194,7 +791,6 @@ export interface SelectObjectContentRequest {
2194
791
  */
2195
792
  SSECustomerKey?: string;
2196
793
  /**
2197
- * @public
2198
794
  * <p>The MD5 server-side encryption (SSE) customer managed key. This parameter is needed only when the object was created using a checksum
2199
795
  * algorithm. For more information,
2200
796
  * see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/ServerSideEncryptionCustomerKeys.html">Protecting data using SSE-C keys</a> in the
@@ -2202,32 +798,26 @@ export interface SelectObjectContentRequest {
2202
798
  */
2203
799
  SSECustomerKeyMD5?: string;
2204
800
  /**
2205
- * @public
2206
801
  * <p>The expression that is used to query the object.</p>
2207
802
  */
2208
803
  Expression: string | undefined;
2209
804
  /**
2210
- * @public
2211
805
  * <p>The type of the provided expression (for example, SQL).</p>
2212
806
  */
2213
- ExpressionType: ExpressionType | undefined;
807
+ ExpressionType: ExpressionType | string | undefined;
2214
808
  /**
2215
- * @public
2216
809
  * <p>Specifies if periodic request progress information should be enabled.</p>
2217
810
  */
2218
811
  RequestProgress?: RequestProgress;
2219
812
  /**
2220
- * @public
2221
813
  * <p>Describes the format of the data in the object that is being queried.</p>
2222
814
  */
2223
815
  InputSerialization: InputSerialization | undefined;
2224
816
  /**
2225
- * @public
2226
817
  * <p>Describes the format of the data that you want Amazon S3 to return in response.</p>
2227
818
  */
2228
819
  OutputSerialization: OutputSerialization | undefined;
2229
820
  /**
2230
- * @public
2231
821
  * <p>Specifies the byte range of the object to get the records from. A record is processed
2232
822
  * when its first byte is contained by the range. This parameter is optional, but when
2233
823
  * specified, it must not be empty. See RFC 2616, Section 14.35.1 about how to specify the
@@ -2255,170 +845,112 @@ export interface SelectObjectContentRequest {
2255
845
  */
2256
846
  ScanRange?: ScanRange;
2257
847
  /**
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>
848
+ * <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>
2260
849
  */
2261
850
  ExpectedBucketOwner?: string;
2262
851
  }
2263
- /**
2264
- * @public
2265
- */
2266
852
  export interface UploadPartOutput {
2267
853
  /**
2268
- * @public
2269
- * <p>The server-side encryption algorithm used when you store this object in Amazon S3 (for example,
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>
854
+ * <p>The server-side encryption algorithm used when storing this object in Amazon S3 (for example,
855
+ * AES256, aws:kms).</p>
2274
856
  */
2275
- ServerSideEncryption?: ServerSideEncryption;
857
+ ServerSideEncryption?: ServerSideEncryption | string;
2276
858
  /**
2277
- * @public
2278
859
  * <p>Entity tag for the uploaded object.</p>
2279
860
  */
2280
861
  ETag?: string;
2281
862
  /**
2282
- * @public
2283
863
  * <p>The base64-encoded, 32-bit CRC32 checksum of the object. This will only be present if it was uploaded
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
864
+ * with the object. With multipart uploads, this may not be a checksum value of the object. For more information about how checksums are calculated
2285
865
  * with multipart uploads, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums">
2286
866
  * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p>
2287
867
  */
2288
868
  ChecksumCRC32?: string;
2289
869
  /**
2290
- * @public
2291
870
  * <p>The base64-encoded, 32-bit CRC32C checksum of the object. This will only be present if it was uploaded
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
871
+ * with the object. With multipart uploads, this may not be a checksum value of the object. For more information about how checksums are calculated
2293
872
  * with multipart uploads, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums">
2294
873
  * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p>
2295
874
  */
2296
875
  ChecksumCRC32C?: string;
2297
876
  /**
2298
- * @public
2299
877
  * <p>The base64-encoded, 160-bit SHA-1 digest of the object. This will only be present if it was uploaded
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
878
+ * with the object. With multipart uploads, this may not be a checksum value of the object. For more information about how checksums are calculated
2301
879
  * with multipart uploads, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums">
2302
880
  * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p>
2303
881
  */
2304
882
  ChecksumSHA1?: string;
2305
883
  /**
2306
- * @public
2307
884
  * <p>The base64-encoded, 256-bit SHA-256 digest of the object. This will only be present if it was uploaded
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
885
+ * with the object. With multipart uploads, this may not be a checksum value of the object. For more information about how checksums are calculated
2309
886
  * with multipart uploads, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums">
2310
887
  * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p>
2311
888
  */
2312
889
  ChecksumSHA256?: string;
2313
890
  /**
2314
- * @public
2315
891
  * <p>If server-side encryption with a customer-provided encryption key was requested, the
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>
892
+ * response will include this header confirming the encryption algorithm used.</p>
2320
893
  */
2321
894
  SSECustomerAlgorithm?: string;
2322
895
  /**
2323
- * @public
2324
896
  * <p>If server-side encryption with a customer-provided encryption key was requested, the
2325
- * response will include this header to provide the round-trip message integrity verification of
897
+ * response will include this header to provide round-trip message integrity verification of
2326
898
  * the customer-provided encryption key.</p>
2327
- * <note>
2328
- * <p>This functionality is not supported for directory buckets.</p>
2329
- * </note>
2330
899
  */
2331
900
  SSECustomerKeyMD5?: string;
2332
901
  /**
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>
902
+ * <p>If present, specifies the ID of the Amazon Web Services Key Management Service (Amazon Web Services KMS) symmetric
903
+ * customer managed key was used for the object.</p>
2339
904
  */
2340
905
  SSEKMSKeyId?: string;
2341
906
  /**
2342
- * @public
2343
- * <p>Indicates whether the multipart upload uses an S3 Bucket Key for server-side encryption
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>
907
+ * <p>Indicates whether the multipart upload uses an S3 Bucket Key for server-side encryption with Amazon Web Services KMS (SSE-KMS).</p>
2348
908
  */
2349
909
  BucketKeyEnabled?: boolean;
2350
910
  /**
2351
- * @public
2352
911
  * <p>If present, indicates that the requester was successfully charged for the
2353
912
  * request.</p>
2354
- * <note>
2355
- * <p>This functionality is not supported for directory buckets.</p>
2356
- * </note>
2357
913
  */
2358
- RequestCharged?: RequestCharged;
914
+ RequestCharged?: RequestCharged | string;
2359
915
  }
2360
- /**
2361
- * @public
2362
- */
2363
916
  export interface UploadPartRequest {
2364
917
  /**
2365
- * @public
2366
918
  * <p>Object data.</p>
2367
919
  */
2368
- Body?: StreamingBlobTypes;
920
+ Body?: Readable | ReadableStream | Blob;
2369
921
  /**
2370
- * @public
2371
922
  * <p>The name of the bucket to which the multipart upload was initiated.</p>
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>
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>
923
+ * <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>
924
+ * <p>When using 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>
925
+ * <i>AccessPointName</i>-<i>AccountId</i>.<i>outpostID</i>.s3-outposts.<i>Region</i>.amazonaws.com</code>. When using this action with S3 on Outposts through the Amazon Web Services SDKs, you provide the Outposts bucket 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">Using Amazon S3 on Outposts</a> in the <i>Amazon S3 User Guide</i>.</p>
2387
926
  * <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.
2388
927
  * For more information, please go to https://github.com/aws/aws-sdk-js-v3#known-issues</p>
2389
928
  */
2390
929
  Bucket: string | undefined;
2391
930
  /**
2392
- * @public
2393
931
  * <p>Size of the body in bytes. This parameter is useful when the size of the body cannot be
2394
932
  * determined automatically.</p>
2395
933
  */
2396
934
  ContentLength?: number;
2397
935
  /**
2398
- * @public
2399
936
  * <p>The base64-encoded 128-bit MD5 digest of the part data. This parameter is auto-populated
2400
937
  * when using the command from the CLI. This parameter is required if object lock parameters
2401
938
  * are specified.</p>
2402
- * <note>
2403
- * <p>This functionality is not supported for directory buckets.</p>
2404
- * </note>
2405
939
  */
2406
940
  ContentMD5?: string;
2407
941
  /**
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
942
+ * <p>Indicates the algorithm used to create the checksum for the object when using the SDK. This header will not provide any
943
+ * additional functionality if not using the SDK. When sending this header, there must be a corresponding <code>x-amz-checksum</code> or
2411
944
  * <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
2412
945
  * information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html">Checking object integrity</a> in
2413
946
  * the <i>Amazon S3 User Guide</i>.</p>
2414
- * <p>If you provide an individual checksum, Amazon S3 ignores any provided
947
+ * <p>If you provide an individual checksum, Amazon S3 ignores any provided
2415
948
  * <code>ChecksumAlgorithm</code> parameter.</p>
2416
- * <p>This checksum algorithm must be the same for all parts and it match the checksum value
2417
- * supplied in the <code>CreateMultipartUpload</code> request.</p>
949
+ * <p>This checksum algorithm must be the same for all parts and it match the checksum
950
+ * value supplied in the <code>CreateMultipartUpload</code> request.</p>
2418
951
  */
2419
- ChecksumAlgorithm?: ChecksumAlgorithm;
952
+ ChecksumAlgorithm?: ChecksumAlgorithm | string;
2420
953
  /**
2421
- * @public
2422
954
  * <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.
2423
955
  * This header specifies the base64-encoded, 32-bit CRC32 checksum of the object. For more information, see
2424
956
  * <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html">Checking object integrity</a> in the
@@ -2426,7 +958,6 @@ export interface UploadPartRequest {
2426
958
  */
2427
959
  ChecksumCRC32?: string;
2428
960
  /**
2429
- * @public
2430
961
  * <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.
2431
962
  * This header specifies the base64-encoded, 32-bit CRC32C checksum of the object. For more information, see
2432
963
  * <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html">Checking object integrity</a> in the
@@ -2434,7 +965,6 @@ export interface UploadPartRequest {
2434
965
  */
2435
966
  ChecksumCRC32C?: string;
2436
967
  /**
2437
- * @public
2438
968
  * <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.
2439
969
  * This header specifies the base64-encoded, 160-bit SHA-1 digest of the object. For more information, see
2440
970
  * <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html">Checking object integrity</a> in the
@@ -2442,7 +972,6 @@ export interface UploadPartRequest {
2442
972
  */
2443
973
  ChecksumSHA1?: string;
2444
974
  /**
2445
- * @public
2446
975
  * <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.
2447
976
  * This header specifies the base64-encoded, 256-bit SHA-256 digest of the object. For more information, see
2448
977
  * <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html">Checking object integrity</a> in the
@@ -2450,221 +979,142 @@ export interface UploadPartRequest {
2450
979
  */
2451
980
  ChecksumSHA256?: string;
2452
981
  /**
2453
- * @public
2454
982
  * <p>Object key for which the multipart upload was initiated.</p>
2455
983
  */
2456
984
  Key: string | undefined;
2457
985
  /**
2458
- * @public
2459
986
  * <p>Part number of part being uploaded. This is a positive integer between 1 and
2460
987
  * 10,000.</p>
2461
988
  */
2462
989
  PartNumber: number | undefined;
2463
990
  /**
2464
- * @public
2465
991
  * <p>Upload ID identifying the multipart upload whose part is being uploaded.</p>
2466
992
  */
2467
993
  UploadId: string | undefined;
2468
994
  /**
2469
- * @public
2470
- * <p>Specifies the algorithm to use when encrypting the object (for example,
995
+ * <p>Specifies the algorithm to use to when encrypting the object (for example,
2471
996
  * AES256).</p>
2472
- * <note>
2473
- * <p>This functionality is not supported for directory buckets.</p>
2474
- * </note>
2475
997
  */
2476
998
  SSECustomerAlgorithm?: string;
2477
999
  /**
2478
- * @public
2479
1000
  * <p>Specifies the customer-provided encryption key for Amazon S3 to use in encrypting data. This
2480
1001
  * value is used to store the object and then it is discarded; Amazon S3 does not store the
2481
1002
  * encryption key. The key must be appropriate for use with the algorithm specified in the
2482
1003
  * <code>x-amz-server-side-encryption-customer-algorithm header</code>. This must be the
2483
1004
  * 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>
2487
1005
  */
2488
1006
  SSECustomerKey?: string;
2489
1007
  /**
2490
- * @public
2491
1008
  * <p>Specifies the 128-bit MD5 digest of the encryption key according to RFC 1321. Amazon S3 uses
2492
1009
  * this header for a message integrity check to ensure that the encryption key was transmitted
2493
1010
  * without error.</p>
2494
- * <note>
2495
- * <p>This functionality is not supported for directory buckets.</p>
2496
- * </note>
2497
1011
  */
2498
1012
  SSECustomerKeyMD5?: string;
2499
1013
  /**
2500
- * @public
2501
1014
  * <p>Confirms that the requester knows that they will be charged for the request. Bucket
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
1015
+ * owners need not specify this parameter in their requests. For information about downloading
1016
+ * objects from Requester Pays buckets, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/ObjectsinRequesterPaysBuckets.html">Downloading Objects in
2506
1017
  * 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>
2510
1018
  */
2511
- RequestPayer?: RequestPayer;
1019
+ RequestPayer?: RequestPayer | string;
2512
1020
  /**
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>
1021
+ * <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>
2515
1022
  */
2516
1023
  ExpectedBucketOwner?: string;
2517
1024
  }
2518
1025
  /**
2519
- * @public
2520
1026
  * <p>Container for all response elements.</p>
2521
1027
  */
2522
1028
  export interface CopyPartResult {
2523
1029
  /**
2524
- * @public
2525
1030
  * <p>Entity tag of the object.</p>
2526
1031
  */
2527
1032
  ETag?: string;
2528
1033
  /**
2529
- * @public
2530
1034
  * <p>Date and time at which the object was uploaded.</p>
2531
1035
  */
2532
1036
  LastModified?: Date;
2533
1037
  /**
2534
- * @public
2535
1038
  * <p>The base64-encoded, 32-bit CRC32 checksum of the object. This will only be present if it was uploaded
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
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
2537
1040
  * with multipart uploads, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums">
2538
1041
  * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p>
2539
1042
  */
2540
1043
  ChecksumCRC32?: string;
2541
1044
  /**
2542
- * @public
2543
1045
  * <p>The base64-encoded, 32-bit CRC32C checksum of the object. This will only be present if it was uploaded
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
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
2545
1047
  * with multipart uploads, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums">
2546
1048
  * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p>
2547
1049
  */
2548
1050
  ChecksumCRC32C?: string;
2549
1051
  /**
2550
- * @public
2551
1052
  * <p>The base64-encoded, 160-bit SHA-1 digest of the object. This will only be present if it was uploaded
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
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
2553
1054
  * with multipart uploads, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums">
2554
1055
  * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p>
2555
1056
  */
2556
1057
  ChecksumSHA1?: string;
2557
1058
  /**
2558
- * @public
2559
1059
  * <p>The base64-encoded, 256-bit SHA-256 digest of the object. This will only be present if it was uploaded
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
1060
+ * with the object. With multipart uploads, this may not be a checksum value of the object. For more information about how checksums are calculated
2561
1061
  * with multipart uploads, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums">
2562
1062
  * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p>
2563
1063
  */
2564
1064
  ChecksumSHA256?: string;
2565
1065
  }
2566
- /**
2567
- * @public
2568
- */
2569
1066
  export interface UploadPartCopyOutput {
2570
1067
  /**
2571
- * @public
2572
1068
  * <p>The version of the source object that was copied, if you have enabled versioning on the
2573
1069
  * source bucket.</p>
2574
- * <note>
2575
- * <p>This functionality is not supported when the source object is in a directory bucket.</p>
2576
- * </note>
2577
1070
  */
2578
1071
  CopySourceVersionId?: string;
2579
1072
  /**
2580
- * @public
2581
1073
  * <p>Container for all response elements.</p>
2582
1074
  */
2583
1075
  CopyPartResult?: CopyPartResult;
2584
1076
  /**
2585
- * @public
2586
- * <p>The server-side encryption algorithm used when you store this object in Amazon S3 (for example,
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>
1077
+ * <p>The server-side encryption algorithm used when storing this object in Amazon S3 (for example,
1078
+ * AES256, aws:kms).</p>
2591
1079
  */
2592
- ServerSideEncryption?: ServerSideEncryption;
1080
+ ServerSideEncryption?: ServerSideEncryption | string;
2593
1081
  /**
2594
- * @public
2595
1082
  * <p>If server-side encryption with a customer-provided encryption key was requested, the
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>
1083
+ * response will include this header confirming the encryption algorithm used.</p>
2600
1084
  */
2601
1085
  SSECustomerAlgorithm?: string;
2602
1086
  /**
2603
- * @public
2604
1087
  * <p>If server-side encryption with a customer-provided encryption key was requested, the
2605
- * response will include this header to provide the round-trip message integrity verification of
1088
+ * response will include this header to provide round-trip message integrity verification of
2606
1089
  * the customer-provided encryption key.</p>
2607
- * <note>
2608
- * <p>This functionality is not supported for directory buckets.</p>
2609
- * </note>
2610
1090
  */
2611
1091
  SSECustomerKeyMD5?: string;
2612
1092
  /**
2613
- * @public
2614
- * <p>If present, indicates the ID of the Key Management Service (KMS) symmetric encryption customer managed key
2615
- * that was used for the object.</p>
2616
- * <note>
2617
- * <p>This functionality is not supported for directory buckets.</p>
2618
- * </note>
1093
+ * <p>If present, specifies the ID of the Amazon Web Services Key Management Service (Amazon Web Services KMS) symmetric
1094
+ * customer managed key that was used for the object.</p>
2619
1095
  */
2620
1096
  SSEKMSKeyId?: string;
2621
1097
  /**
2622
- * @public
2623
- * <p>Indicates whether the multipart upload uses an S3 Bucket Key for server-side encryption
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>
1098
+ * <p>Indicates whether the multipart upload uses an S3 Bucket Key for server-side encryption with Amazon Web Services KMS (SSE-KMS).</p>
2628
1099
  */
2629
1100
  BucketKeyEnabled?: boolean;
2630
1101
  /**
2631
- * @public
2632
1102
  * <p>If present, indicates that the requester was successfully charged for the
2633
1103
  * request.</p>
2634
- * <note>
2635
- * <p>This functionality is not supported for directory buckets.</p>
2636
- * </note>
2637
1104
  */
2638
- RequestCharged?: RequestCharged;
1105
+ RequestCharged?: RequestCharged | string;
2639
1106
  }
2640
- /**
2641
- * @public
2642
- */
2643
1107
  export interface UploadPartCopyRequest {
2644
1108
  /**
2645
- * @public
2646
1109
  * <p>The bucket name.</p>
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>
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>
1110
+ * <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>
1111
+ * <p>When using 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>
1112
+ * <i>AccessPointName</i>-<i>AccountId</i>.<i>outpostID</i>.s3-outposts.<i>Region</i>.amazonaws.com</code>. When using this action with S3 on Outposts through the Amazon Web Services SDKs, you provide the Outposts bucket 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">Using Amazon S3 on Outposts</a> in the <i>Amazon S3 User Guide</i>.</p>
2662
1113
  * <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.
2663
1114
  * For more information, please go to https://github.com/aws/aws-sdk-js-v3#known-issues</p>
2664
1115
  */
2665
1116
  Bucket: string | undefined;
2666
1117
  /**
2667
- * @public
2668
1118
  * <p>Specifies the source object for the copy operation. You specify the value in one of two
2669
1119
  * 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>
2670
1120
  * <ul>
@@ -2678,107 +1128,35 @@ export interface UploadPartCopyRequest {
2678
1128
  * <li>
2679
1129
  * <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>
2680
1130
  * <note>
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>
1131
+ * <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>
2689
1132
  * </note>
2690
1133
  * <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>
2691
1134
  * </li>
2692
1135
  * </ul>
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>
1136
+ * <p>To copy a specific version of an object, append <code>?versionId=<version-id></code>
1137
+ * to the value (for example,
1138
+ * <code>awsexamplebucket/reports/january.pdf?versionId=QUpfdndhfd8438MNFDN93jdnJFkdmqnh893</code>).
1139
+ * If you don't specify a version ID, Amazon S3 copies the latest version of the source
1140
+ * object.</p>
2710
1141
  */
2711
1142
  CopySource: string | undefined;
2712
1143
  /**
2713
- * @public
2714
1144
  * <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>
2727
1145
  */
2728
1146
  CopySourceIfMatch?: string;
2729
1147
  /**
2730
- * @public
2731
1148
  * <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>
2744
1149
  */
2745
1150
  CopySourceIfModifiedSince?: Date;
2746
1151
  /**
2747
- * @public
2748
1152
  * <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>
2761
1153
  */
2762
1154
  CopySourceIfNoneMatch?: string;
2763
1155
  /**
2764
- * @public
2765
1156
  * <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>
2778
1157
  */
2779
1158
  CopySourceIfUnmodifiedSince?: Date;
2780
1159
  /**
2781
- * @public
2782
1160
  * <p>The range of bytes to copy from the source object. The range value must use the form
2783
1161
  * bytes=first-last, where the first and last are the zero-based byte offsets to copy. For
2784
1162
  * example, bytes=0-9 indicates that you want to copy the first 10 bytes of the source. You
@@ -2786,205 +1164,165 @@ export interface UploadPartCopyRequest {
2786
1164
  */
2787
1165
  CopySourceRange?: string;
2788
1166
  /**
2789
- * @public
2790
1167
  * <p>Object key for which the multipart upload was initiated.</p>
2791
1168
  */
2792
1169
  Key: string | undefined;
2793
1170
  /**
2794
- * @public
2795
1171
  * <p>Part number of part being copied. This is a positive integer between 1 and
2796
1172
  * 10,000.</p>
2797
1173
  */
2798
1174
  PartNumber: number | undefined;
2799
1175
  /**
2800
- * @public
2801
1176
  * <p>Upload ID identifying the multipart upload whose part is being copied.</p>
2802
1177
  */
2803
1178
  UploadId: string | undefined;
2804
1179
  /**
2805
- * @public
2806
- * <p>Specifies the algorithm to use when encrypting the object (for example,
1180
+ * <p>Specifies the algorithm to use to when encrypting the object (for example,
2807
1181
  * AES256).</p>
2808
- * <note>
2809
- * <p>This functionality is not supported when the destination bucket is a directory bucket.</p>
2810
- * </note>
2811
1182
  */
2812
1183
  SSECustomerAlgorithm?: string;
2813
1184
  /**
2814
- * @public
2815
1185
  * <p>Specifies the customer-provided encryption key for Amazon S3 to use in encrypting data. This
2816
1186
  * value is used to store the object and then it is discarded; Amazon S3 does not store the
2817
1187
  * encryption key. The key must be appropriate for use with the algorithm specified in the
2818
1188
  * <code>x-amz-server-side-encryption-customer-algorithm</code> header. This must be the
2819
1189
  * 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>
2823
1190
  */
2824
1191
  SSECustomerKey?: string;
2825
1192
  /**
2826
- * @public
2827
1193
  * <p>Specifies the 128-bit MD5 digest of the encryption key according to RFC 1321. Amazon S3 uses
2828
1194
  * this header for a message integrity check to ensure that the encryption key was transmitted
2829
1195
  * without error.</p>
2830
- * <note>
2831
- * <p>This functionality is not supported when the destination bucket is a directory bucket.</p>
2832
- * </note>
2833
1196
  */
2834
1197
  SSECustomerKeyMD5?: string;
2835
1198
  /**
2836
- * @public
2837
1199
  * <p>Specifies the algorithm to use when decrypting the source object (for example,
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>
1200
+ * AES256).</p>
2842
1201
  */
2843
1202
  CopySourceSSECustomerAlgorithm?: string;
2844
1203
  /**
2845
- * @public
2846
1204
  * <p>Specifies the customer-provided encryption key for Amazon S3 to use to decrypt the source
2847
1205
  * object. The encryption key provided in this header must be one that was used when the
2848
1206
  * 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>
2852
1207
  */
2853
1208
  CopySourceSSECustomerKey?: string;
2854
1209
  /**
2855
- * @public
2856
1210
  * <p>Specifies the 128-bit MD5 digest of the encryption key according to RFC 1321. Amazon S3 uses
2857
1211
  * this header for a message integrity check to ensure that the encryption key was transmitted
2858
1212
  * without error.</p>
2859
- * <note>
2860
- * <p>This functionality is not supported when the source object is in a directory bucket.</p>
2861
- * </note>
2862
1213
  */
2863
1214
  CopySourceSSECustomerKeyMD5?: string;
2864
1215
  /**
2865
- * @public
2866
1216
  * <p>Confirms that the requester knows that they will be charged for the request. Bucket
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
1217
+ * owners need not specify this parameter in their requests. For information about downloading
1218
+ * objects from Requester Pays buckets, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/ObjectsinRequesterPaysBuckets.html">Downloading Objects in
2871
1219
  * 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>
2875
1220
  */
2876
- RequestPayer?: RequestPayer;
1221
+ RequestPayer?: RequestPayer | string;
2877
1222
  /**
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>
1223
+ * <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>
2880
1224
  */
2881
1225
  ExpectedBucketOwner?: string;
2882
1226
  /**
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>
1227
+ * <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>
2885
1228
  */
2886
1229
  ExpectedSourceBucketOwner?: string;
2887
1230
  }
2888
- /**
2889
- * @public
2890
- */
2891
1231
  export interface WriteGetObjectResponseRequest {
2892
1232
  /**
2893
- * @public
2894
1233
  * <p>Route prefix to the HTTP URL generated.</p>
2895
1234
  */
2896
1235
  RequestRoute: string | undefined;
2897
1236
  /**
2898
- * @public
2899
1237
  * <p>A single use encrypted token that maps <code>WriteGetObjectResponse</code> to the end
2900
1238
  * user <code>GetObject</code> request.</p>
2901
1239
  */
2902
1240
  RequestToken: string | undefined;
2903
1241
  /**
2904
- * @public
2905
1242
  * <p>The object data.</p>
2906
1243
  */
2907
- Body?: StreamingBlobTypes;
1244
+ Body?: Readable | ReadableStream | Blob;
2908
1245
  /**
2909
- * @public
2910
1246
  * <p>The integer status code for an HTTP response of a corresponding <code>GetObject</code>
2911
- * request. The following is a list of status codes.</p>
1247
+ * request.</p>
1248
+ * <p class="title">
1249
+ * <b>Status Codes</b>
1250
+ * </p>
2912
1251
  * <ul>
2913
1252
  * <li>
2914
- * <p>
1253
+ * <p>
2915
1254
  * <code>200 - OK</code>
2916
1255
  * </p>
2917
- * </li>
1256
+ * </li>
2918
1257
  * <li>
2919
- * <p>
1258
+ * <p>
2920
1259
  * <code>206 - Partial Content</code>
2921
1260
  * </p>
2922
- * </li>
1261
+ * </li>
2923
1262
  * <li>
2924
- * <p>
1263
+ * <p>
2925
1264
  * <code>304 - Not Modified</code>
2926
1265
  * </p>
2927
- * </li>
1266
+ * </li>
2928
1267
  * <li>
2929
- * <p>
1268
+ * <p>
2930
1269
  * <code>400 - Bad Request</code>
2931
- * </p>
2932
- * </li>
1270
+ * </p>
1271
+ * </li>
2933
1272
  * <li>
2934
- * <p>
1273
+ * <p>
2935
1274
  * <code>401 - Unauthorized</code>
2936
- * </p>
2937
- * </li>
1275
+ * </p>
1276
+ * </li>
2938
1277
  * <li>
2939
- * <p>
1278
+ * <p>
2940
1279
  * <code>403 - Forbidden</code>
2941
- * </p>
2942
- * </li>
1280
+ * </p>
1281
+ * </li>
2943
1282
  * <li>
2944
- * <p>
1283
+ * <p>
2945
1284
  * <code>404 - Not Found</code>
2946
- * </p>
2947
- * </li>
1285
+ * </p>
1286
+ * </li>
2948
1287
  * <li>
2949
- * <p>
1288
+ * <p>
2950
1289
  * <code>405 - Method Not Allowed</code>
2951
- * </p>
2952
- * </li>
1290
+ * </p>
1291
+ * </li>
2953
1292
  * <li>
2954
- * <p>
1293
+ * <p>
2955
1294
  * <code>409 - Conflict</code>
2956
- * </p>
2957
- * </li>
1295
+ * </p>
1296
+ * </li>
2958
1297
  * <li>
2959
- * <p>
1298
+ * <p>
2960
1299
  * <code>411 - Length Required</code>
2961
- * </p>
2962
- * </li>
1300
+ * </p>
1301
+ * </li>
2963
1302
  * <li>
2964
- * <p>
1303
+ * <p>
2965
1304
  * <code>412 - Precondition Failed</code>
2966
- * </p>
2967
- * </li>
1305
+ * </p>
1306
+ * </li>
2968
1307
  * <li>
2969
- * <p>
1308
+ * <p>
2970
1309
  * <code>416 - Range Not Satisfiable</code>
2971
- * </p>
2972
- * </li>
1310
+ * </p>
1311
+ * </li>
2973
1312
  * <li>
2974
- * <p>
1313
+ * <p>
2975
1314
  * <code>500 - Internal Server Error</code>
2976
- * </p>
2977
- * </li>
1315
+ * </p>
1316
+ * </li>
2978
1317
  * <li>
2979
- * <p>
1318
+ * <p>
2980
1319
  * <code>503 - Service Unavailable</code>
2981
- * </p>
2982
- * </li>
1320
+ * </p>
1321
+ * </li>
2983
1322
  * </ul>
2984
1323
  */
2985
1324
  StatusCode?: number;
2986
1325
  /**
2987
- * @public
2988
1326
  * <p>A string that uniquely identifies an error condition. Returned in the <Code> tag
2989
1327
  * of the error XML response for a corresponding <code>GetObject</code> call. Cannot be used
2990
1328
  * with a successful <code>StatusCode</code> header or when the transformed object is provided
@@ -2993,7 +1331,6 @@ export interface WriteGetObjectResponseRequest {
2993
1331
  */
2994
1332
  ErrorCode?: string;
2995
1333
  /**
2996
- * @public
2997
1334
  * <p>Contains a generic description of the error condition. Returned in the <Message>
2998
1335
  * tag of the error XML response for a corresponding <code>GetObject</code> call. Cannot be
2999
1336
  * used with a successful <code>StatusCode</code> header or when the transformed object is
@@ -3001,132 +1338,114 @@ export interface WriteGetObjectResponseRequest {
3001
1338
  */
3002
1339
  ErrorMessage?: string;
3003
1340
  /**
3004
- * @public
3005
1341
  * <p>Indicates that a range of bytes was specified.</p>
3006
1342
  */
3007
1343
  AcceptRanges?: string;
3008
1344
  /**
3009
- * @public
3010
1345
  * <p>Specifies caching behavior along the request/reply chain.</p>
3011
1346
  */
3012
1347
  CacheControl?: string;
3013
1348
  /**
3014
- * @public
3015
1349
  * <p>Specifies presentational information for the object.</p>
3016
1350
  */
3017
1351
  ContentDisposition?: string;
3018
1352
  /**
3019
- * @public
3020
1353
  * <p>Specifies what content encodings have been applied to the object and thus what decoding
3021
- * mechanisms must be applied to obtain the media-type referenced by the Content-Type header
3022
- * field.</p>
1354
+ * mechanisms must be applied to obtain the media-type referenced by the Content-Type header
1355
+ * field.</p>
3023
1356
  */
3024
1357
  ContentEncoding?: string;
3025
1358
  /**
3026
- * @public
3027
1359
  * <p>The language the content is in.</p>
3028
1360
  */
3029
1361
  ContentLanguage?: string;
3030
1362
  /**
3031
- * @public
3032
1363
  * <p>The size of the content body in bytes.</p>
3033
1364
  */
3034
1365
  ContentLength?: number;
3035
1366
  /**
3036
- * @public
3037
1367
  * <p>The portion of the object returned in the response.</p>
3038
1368
  */
3039
1369
  ContentRange?: string;
3040
1370
  /**
3041
- * @public
3042
1371
  * <p>A standard MIME type describing the format of the object data.</p>
3043
1372
  */
3044
1373
  ContentType?: string;
3045
1374
  /**
3046
- * @public
3047
- * <p>This header can be used as a data integrity check to verify that the data received is
3048
- * the same data that was originally sent. This specifies the base64-encoded, 32-bit CRC32
3049
- * checksum of the object returned by the Object Lambda function. This may not match the
3050
- * checksum for the object stored in Amazon S3. Amazon S3 will perform validation of the checksum values
3051
- * only when the original <code>GetObject</code> request required checksum validation. For
3052
- * more information about checksums, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html">Checking object
3053
- * integrity</a> in the <i>Amazon S3 User Guide</i>.</p>
3054
- * <p>Only one checksum header can be specified at a time. If you supply multiple checksum
3055
- * headers, this request will fail.</p>
3056
- * <p></p>
1375
+ * <p>This header can be used as a data integrity check to verify that the data received is the
1376
+ * same data that was originally sent. This specifies the base64-encoded, 32-bit CRC32 checksum
1377
+ * of the object returned by the Object Lambda function. This may not match the checksum for the
1378
+ * object stored in Amazon S3. Amazon S3 will perform validation of the checksum values only when the original
1379
+ * <code>GetObject</code> request required checksum validation. For more information about checksums, see
1380
+ * <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html">Checking
1381
+ * object integrity</a> in the <i>Amazon S3 User Guide</i>.</p>
1382
+ * <p>Only one checksum header can be specified at a time. If you supply multiple
1383
+ * checksum headers, this request will fail.</p>
1384
+ * <p></p>
3057
1385
  */
3058
1386
  ChecksumCRC32?: string;
3059
1387
  /**
3060
- * @public
3061
- * <p>This header can be used as a data integrity check to verify that the data received is
3062
- * the same data that was originally sent. This specifies the base64-encoded, 32-bit CRC32C
3063
- * checksum of the object returned by the Object Lambda function. This may not match the
3064
- * checksum for the object stored in Amazon S3. Amazon S3 will perform validation of the checksum values
3065
- * only when the original <code>GetObject</code> request required checksum validation. For
3066
- * more information about checksums, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html">Checking object
3067
- * integrity</a> in the <i>Amazon S3 User Guide</i>.</p>
3068
- * <p>Only one checksum header can be specified at a time. If you supply multiple checksum
3069
- * headers, this request will fail.</p>
1388
+ * <p>This header can be used as a data integrity check to verify that the data received is the
1389
+ * same data that was originally sent. This specifies the base64-encoded, 32-bit CRC32C checksum
1390
+ * of the object returned by the Object Lambda function. This may not match the checksum for the
1391
+ * object stored in Amazon S3. Amazon S3 will perform validation of the checksum values only when the original
1392
+ * <code>GetObject</code> request required checksum validation. For more information about checksums, see
1393
+ * <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html">Checking
1394
+ * object integrity</a> in the <i>Amazon S3 User Guide</i>.</p>
1395
+ * <p>Only one checksum header can be specified at a time. If you supply multiple
1396
+ * checksum headers, this request will fail.</p>
3070
1397
  */
3071
1398
  ChecksumCRC32C?: string;
3072
1399
  /**
3073
- * @public
3074
- * <p>This header can be used as a data integrity check to verify that the data received is
3075
- * the same data that was originally sent. This specifies the base64-encoded, 160-bit SHA-1
3076
- * digest of the object returned by the Object Lambda function. This may not match the
3077
- * checksum for the object stored in Amazon S3. Amazon S3 will perform validation of the checksum values
3078
- * only when the original <code>GetObject</code> request required checksum validation. For
3079
- * more information about checksums, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html">Checking object
3080
- * integrity</a> in the <i>Amazon S3 User Guide</i>.</p>
3081
- * <p>Only one checksum header can be specified at a time. If you supply multiple checksum
3082
- * headers, this request will fail.</p>
1400
+ * <p>This header can be used as a data integrity check to verify that the data received is the
1401
+ * same data that was originally sent. This specifies the base64-encoded, 160-bit SHA-1 digest
1402
+ * of the object returned by the Object Lambda function. This may not match the checksum for the
1403
+ * object stored in Amazon S3. Amazon S3 will perform validation of the checksum values only when the original
1404
+ * <code>GetObject</code> request required checksum validation. For more information about checksums, see
1405
+ * <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html">Checking
1406
+ * object integrity</a> in the <i>Amazon S3 User Guide</i>.</p>
1407
+ * <p>Only one checksum header can be specified at a time. If you supply multiple
1408
+ * checksum headers, this request will fail.</p>
3083
1409
  */
3084
1410
  ChecksumSHA1?: string;
3085
1411
  /**
3086
- * @public
3087
- * <p>This header can be used as a data integrity check to verify that the data received is
3088
- * the same data that was originally sent. This specifies the base64-encoded, 256-bit SHA-256
3089
- * digest of the object returned by the Object Lambda function. This may not match the
3090
- * checksum for the object stored in Amazon S3. Amazon S3 will perform validation of the checksum values
3091
- * only when the original <code>GetObject</code> request required checksum validation. For
3092
- * more information about checksums, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html">Checking object
3093
- * integrity</a> in the <i>Amazon S3 User Guide</i>.</p>
3094
- * <p>Only one checksum header can be specified at a time. If you supply multiple checksum
3095
- * headers, this request will fail.</p>
1412
+ * <p>This header can be used as a data integrity check to verify that the data received is the
1413
+ * same data that was originally sent. This specifies the base64-encoded, 256-bit SHA-256 digest
1414
+ * of the object returned by the Object Lambda function. This may not match the checksum for the
1415
+ * object stored in Amazon S3. Amazon S3 will perform validation of the checksum values only when the original
1416
+ * <code>GetObject</code> request required checksum validation. For more information about checksums, see
1417
+ * <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html">Checking
1418
+ * object integrity</a> in the <i>Amazon S3 User Guide</i>.</p>
1419
+ * <p>Only one checksum header can be specified at a time. If you supply multiple
1420
+ * checksum headers, this request will fail.</p>
3096
1421
  */
3097
1422
  ChecksumSHA256?: string;
3098
1423
  /**
3099
- * @public
3100
1424
  * <p>Specifies whether an object stored in Amazon S3 is (<code>true</code>) or is not
3101
1425
  * (<code>false</code>) a delete marker. </p>
3102
1426
  */
3103
1427
  DeleteMarker?: boolean;
3104
1428
  /**
3105
- * @public
3106
1429
  * <p>An opaque identifier assigned by a web server to a specific version of a resource found
3107
1430
  * at a URL. </p>
3108
1431
  */
3109
1432
  ETag?: string;
3110
1433
  /**
3111
- * @public
3112
1434
  * <p>The date and time at which the object is no longer cacheable.</p>
3113
1435
  */
3114
1436
  Expires?: Date;
3115
1437
  /**
3116
- * @public
3117
- * <p>If the object expiration is configured (see PUT Bucket lifecycle), the response includes
3118
- * this header. It includes the <code>expiry-date</code> and <code>rule-id</code> key-value
3119
- * pairs that provide the object expiration information. The value of the <code>rule-id</code>
3120
- * is URL-encoded. </p>
1438
+ * <p>If the object expiration is configured (see PUT Bucket lifecycle), the response
1439
+ * includes this header. It includes the <code>expiry-date</code> and <code>rule-id</code>
1440
+ * key-value pairs that provide the object expiration information. The value of the
1441
+ * <code>rule-id</code> is URL-encoded. </p>
3121
1442
  */
3122
1443
  Expiration?: string;
3123
1444
  /**
3124
- * @public
3125
1445
  * <p>The date and time that the object was last modified.</p>
3126
1446
  */
3127
1447
  LastModified?: Date;
3128
1448
  /**
3129
- * @public
3130
1449
  * <p>Set to the number of metadata entries not returned in <code>x-amz-meta</code> headers.
3131
1450
  * This can happen if you create metadata using an API like SOAP that supports more flexible
3132
1451
  * metadata than the REST API. For example, using SOAP, you can create metadata whose values
@@ -3134,72 +1453,54 @@ export interface WriteGetObjectResponseRequest {
3134
1453
  */
3135
1454
  MissingMeta?: number;
3136
1455
  /**
3137
- * @public
3138
1456
  * <p>A map of metadata to store with the object in S3.</p>
3139
1457
  */
3140
1458
  Metadata?: Record<string, string>;
3141
1459
  /**
3142
- * @public
3143
- * <p>Indicates whether an object stored in Amazon S3 has Object Lock enabled. For more information
3144
- * about S3 Object Lock, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/object-lock.html">Object Lock</a>.</p>
1460
+ * <p>Indicates whether an object stored in Amazon S3 has Object Lock enabled. For more
1461
+ * information about S3 Object Lock, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/object-lock.html">Object Lock</a>.</p>
3145
1462
  */
3146
- ObjectLockMode?: ObjectLockMode;
1463
+ ObjectLockMode?: ObjectLockMode | string;
3147
1464
  /**
3148
- * @public
3149
1465
  * <p>Indicates whether an object stored in Amazon S3 has an active legal hold.</p>
3150
1466
  */
3151
- ObjectLockLegalHoldStatus?: ObjectLockLegalHoldStatus;
1467
+ ObjectLockLegalHoldStatus?: ObjectLockLegalHoldStatus | string;
3152
1468
  /**
3153
- * @public
3154
1469
  * <p>The date and time when Object Lock is configured to expire.</p>
3155
1470
  */
3156
1471
  ObjectLockRetainUntilDate?: Date;
3157
1472
  /**
3158
- * @public
3159
1473
  * <p>The count of parts this object has.</p>
3160
1474
  */
3161
1475
  PartsCount?: number;
3162
1476
  /**
3163
- * @public
3164
- * <p>Indicates if request involves bucket that is either a source or destination in a
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>
1477
+ * <p>Indicates if request involves bucket that is either a source or destination in a Replication rule. For more
1478
+ * information about S3 Replication, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/replication.html">Replication</a>.</p>
3166
1479
  */
3167
- ReplicationStatus?: ReplicationStatus;
1480
+ ReplicationStatus?: ReplicationStatus | string;
3168
1481
  /**
3169
- * @public
3170
1482
  * <p>If present, indicates that the requester was successfully charged for the
3171
1483
  * request.</p>
3172
- * <note>
3173
- * <p>This functionality is not supported for directory buckets.</p>
3174
- * </note>
3175
1484
  */
3176
- RequestCharged?: RequestCharged;
1485
+ RequestCharged?: RequestCharged | string;
3177
1486
  /**
3178
- * @public
3179
1487
  * <p>Provides information about object restoration operation and expiration time of the
3180
- * restored object copy.</p>
1488
+ * restored object copy.</p>
3181
1489
  */
3182
1490
  Restore?: string;
3183
1491
  /**
3184
- * @public
3185
- * <p> The server-side encryption algorithm used when storing requested object in Amazon S3 (for
3186
- * example, AES256, <code>aws:kms</code>).</p>
1492
+ * <p> The server-side encryption algorithm used when storing requested object in Amazon S3 (for example, AES256, aws:kms).</p>
3187
1493
  */
3188
- ServerSideEncryption?: ServerSideEncryption;
1494
+ ServerSideEncryption?: ServerSideEncryption | string;
3189
1495
  /**
3190
- * @public
3191
- * <p>Encryption algorithm used if server-side encryption with a customer-provided encryption
3192
- * key was specified for object stored in Amazon S3.</p>
1496
+ * <p>Encryption algorithm used if server-side encryption with a customer-provided encryption key was specified for object stored in Amazon S3.</p>
3193
1497
  */
3194
1498
  SSECustomerAlgorithm?: string;
3195
1499
  /**
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
3198
- * encryption customer managed key that was used for stored in Amazon S3 object. </p>
1500
+ * <p> If present, specifies the ID of the Amazon Web Services Key Management Service (Amazon Web Services KMS) symmetric customer managed key that was used for stored in Amazon S3 object. </p>
3199
1501
  */
3200
1502
  SSEKMSKeyId?: string;
3201
1503
  /**
3202
- * @public
3203
1504
  * <p> 128-bit MD5 digest of customer-provided encryption key used in Amazon S3 to encrypt data
3204
1505
  * stored in S3. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/ServerSideEncryptionCustomerKeys.html">Protecting data
3205
1506
  * using server-side encryption with customer-provided encryption keys
@@ -3207,24 +1508,22 @@ export interface WriteGetObjectResponseRequest {
3207
1508
  */
3208
1509
  SSECustomerKeyMD5?: string;
3209
1510
  /**
3210
- * @public
3211
1511
  * <p>Provides storage class information of the object. Amazon S3 returns this header for all
3212
- * objects except for S3 Standard storage class objects.</p>
3213
- * <p>For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/storage-class-intro.html">Storage Classes</a>.</p>
1512
+ * objects except for S3 Standard storage class objects.</p>
1513
+ *
1514
+ * <p>For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/storage-class-intro.html">Storage
1515
+ * Classes</a>.</p>
3214
1516
  */
3215
- StorageClass?: StorageClass;
1517
+ StorageClass?: StorageClass | string;
3216
1518
  /**
3217
- * @public
3218
1519
  * <p>The number of tags, if any, on the object.</p>
3219
1520
  */
3220
1521
  TagCount?: number;
3221
1522
  /**
3222
- * @public
3223
1523
  * <p>An ID used to reference a specific version of the object.</p>
3224
1524
  */
3225
1525
  VersionId?: string;
3226
1526
  /**
3227
- * @public
3228
1527
  * <p> Indicates whether the object stored in Amazon S3 uses an S3 bucket key for server-side
3229
1528
  * encryption with Amazon Web Services KMS (SSE-KMS).</p>
3230
1529
  */
@@ -3233,15 +1532,39 @@ export interface WriteGetObjectResponseRequest {
3233
1532
  /**
3234
1533
  * @internal
3235
1534
  */
3236
- export declare const PutObjectOutputFilterSensitiveLog: (obj: PutObjectOutput) => any;
1535
+ export declare const PutObjectRetentionOutputFilterSensitiveLog: (obj: PutObjectRetentionOutput) => any;
1536
+ /**
1537
+ * @internal
1538
+ */
1539
+ export declare const PutObjectRetentionRequestFilterSensitiveLog: (obj: PutObjectRetentionRequest) => any;
1540
+ /**
1541
+ * @internal
1542
+ */
1543
+ export declare const PutObjectTaggingOutputFilterSensitiveLog: (obj: PutObjectTaggingOutput) => any;
1544
+ /**
1545
+ * @internal
1546
+ */
1547
+ export declare const PutObjectTaggingRequestFilterSensitiveLog: (obj: PutObjectTaggingRequest) => any;
1548
+ /**
1549
+ * @internal
1550
+ */
1551
+ export declare const PutPublicAccessBlockRequestFilterSensitiveLog: (obj: PutPublicAccessBlockRequest) => any;
3237
1552
  /**
3238
1553
  * @internal
3239
1554
  */
3240
- export declare const PutObjectRequestFilterSensitiveLog: (obj: PutObjectRequest) => any;
1555
+ export declare const RestoreObjectOutputFilterSensitiveLog: (obj: RestoreObjectOutput) => any;
1556
+ /**
1557
+ * @internal
1558
+ */
1559
+ export declare const GlacierJobParametersFilterSensitiveLog: (obj: GlacierJobParameters) => any;
3241
1560
  /**
3242
1561
  * @internal
3243
1562
  */
3244
1563
  export declare const EncryptionFilterSensitiveLog: (obj: Encryption) => any;
1564
+ /**
1565
+ * @internal
1566
+ */
1567
+ export declare const MetadataEntryFilterSensitiveLog: (obj: MetadataEntry) => any;
3245
1568
  /**
3246
1569
  * @internal
3247
1570
  */
@@ -3250,6 +1573,38 @@ export declare const S3LocationFilterSensitiveLog: (obj: S3Location) => any;
3250
1573
  * @internal
3251
1574
  */
3252
1575
  export declare const OutputLocationFilterSensitiveLog: (obj: OutputLocation) => any;
1576
+ /**
1577
+ * @internal
1578
+ */
1579
+ export declare const CSVInputFilterSensitiveLog: (obj: CSVInput) => any;
1580
+ /**
1581
+ * @internal
1582
+ */
1583
+ export declare const JSONInputFilterSensitiveLog: (obj: JSONInput) => any;
1584
+ /**
1585
+ * @internal
1586
+ */
1587
+ export declare const ParquetInputFilterSensitiveLog: (obj: ParquetInput) => any;
1588
+ /**
1589
+ * @internal
1590
+ */
1591
+ export declare const InputSerializationFilterSensitiveLog: (obj: InputSerialization) => any;
1592
+ /**
1593
+ * @internal
1594
+ */
1595
+ export declare const CSVOutputFilterSensitiveLog: (obj: CSVOutput) => any;
1596
+ /**
1597
+ * @internal
1598
+ */
1599
+ export declare const JSONOutputFilterSensitiveLog: (obj: JSONOutput) => any;
1600
+ /**
1601
+ * @internal
1602
+ */
1603
+ export declare const OutputSerializationFilterSensitiveLog: (obj: OutputSerialization) => any;
1604
+ /**
1605
+ * @internal
1606
+ */
1607
+ export declare const SelectParametersFilterSensitiveLog: (obj: SelectParameters) => any;
3253
1608
  /**
3254
1609
  * @internal
3255
1610
  */
@@ -3258,6 +1613,34 @@ export declare const RestoreRequestFilterSensitiveLog: (obj: RestoreRequest) =>
3258
1613
  * @internal
3259
1614
  */
3260
1615
  export declare const RestoreObjectRequestFilterSensitiveLog: (obj: RestoreObjectRequest) => any;
1616
+ /**
1617
+ * @internal
1618
+ */
1619
+ export declare const ContinuationEventFilterSensitiveLog: (obj: ContinuationEvent) => any;
1620
+ /**
1621
+ * @internal
1622
+ */
1623
+ export declare const EndEventFilterSensitiveLog: (obj: EndEvent) => any;
1624
+ /**
1625
+ * @internal
1626
+ */
1627
+ export declare const ProgressFilterSensitiveLog: (obj: Progress) => any;
1628
+ /**
1629
+ * @internal
1630
+ */
1631
+ export declare const ProgressEventFilterSensitiveLog: (obj: ProgressEvent) => any;
1632
+ /**
1633
+ * @internal
1634
+ */
1635
+ export declare const RecordsEventFilterSensitiveLog: (obj: RecordsEvent) => any;
1636
+ /**
1637
+ * @internal
1638
+ */
1639
+ export declare const StatsFilterSensitiveLog: (obj: Stats) => any;
1640
+ /**
1641
+ * @internal
1642
+ */
1643
+ export declare const StatsEventFilterSensitiveLog: (obj: StatsEvent) => any;
3261
1644
  /**
3262
1645
  * @internal
3263
1646
  */
@@ -3266,6 +1649,14 @@ export declare const SelectObjectContentEventStreamFilterSensitiveLog: (obj: Sel
3266
1649
  * @internal
3267
1650
  */
3268
1651
  export declare const SelectObjectContentOutputFilterSensitiveLog: (obj: SelectObjectContentOutput) => any;
1652
+ /**
1653
+ * @internal
1654
+ */
1655
+ export declare const RequestProgressFilterSensitiveLog: (obj: RequestProgress) => any;
1656
+ /**
1657
+ * @internal
1658
+ */
1659
+ export declare const ScanRangeFilterSensitiveLog: (obj: ScanRange) => any;
3269
1660
  /**
3270
1661
  * @internal
3271
1662
  */
@@ -3278,6 +1669,10 @@ export declare const UploadPartOutputFilterSensitiveLog: (obj: UploadPartOutput)
3278
1669
  * @internal
3279
1670
  */
3280
1671
  export declare const UploadPartRequestFilterSensitiveLog: (obj: UploadPartRequest) => any;
1672
+ /**
1673
+ * @internal
1674
+ */
1675
+ export declare const CopyPartResultFilterSensitiveLog: (obj: CopyPartResult) => any;
3281
1676
  /**
3282
1677
  * @internal
3283
1678
  */