@nocobase/plugin-file-manager 1.2.13-alpha → 1.3.0-alpha.20240710084543

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