@aws-sdk/client-s3 3.458.0 → 3.461.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (340) hide show
  1. package/README.md +16 -0
  2. package/dist-cjs/S3.js +4 -0
  3. package/dist-cjs/S3Client.js +3 -1
  4. package/dist-cjs/commands/AbortMultipartUploadCommand.js +1 -0
  5. package/dist-cjs/commands/CompleteMultipartUploadCommand.js +1 -0
  6. package/dist-cjs/commands/CopyObjectCommand.js +1 -0
  7. package/dist-cjs/commands/CreateBucketCommand.js +2 -0
  8. package/dist-cjs/commands/CreateMultipartUploadCommand.js +1 -0
  9. package/dist-cjs/commands/CreateSessionCommand.js +59 -0
  10. package/dist-cjs/commands/DeleteBucketAnalyticsConfigurationCommand.js +2 -0
  11. package/dist-cjs/commands/DeleteBucketCommand.js +2 -0
  12. package/dist-cjs/commands/DeleteBucketCorsCommand.js +2 -0
  13. package/dist-cjs/commands/DeleteBucketEncryptionCommand.js +2 -0
  14. package/dist-cjs/commands/DeleteBucketIntelligentTieringConfigurationCommand.js +2 -0
  15. package/dist-cjs/commands/DeleteBucketInventoryConfigurationCommand.js +2 -0
  16. package/dist-cjs/commands/DeleteBucketLifecycleCommand.js +2 -0
  17. package/dist-cjs/commands/DeleteBucketMetricsConfigurationCommand.js +2 -0
  18. package/dist-cjs/commands/DeleteBucketOwnershipControlsCommand.js +2 -0
  19. package/dist-cjs/commands/DeleteBucketPolicyCommand.js +2 -0
  20. package/dist-cjs/commands/DeleteBucketReplicationCommand.js +2 -0
  21. package/dist-cjs/commands/DeleteBucketTaggingCommand.js +2 -0
  22. package/dist-cjs/commands/DeleteBucketWebsiteCommand.js +2 -0
  23. package/dist-cjs/commands/DeleteObjectCommand.js +1 -0
  24. package/dist-cjs/commands/DeleteObjectTaggingCommand.js +1 -0
  25. package/dist-cjs/commands/DeleteObjectsCommand.js +1 -0
  26. package/dist-cjs/commands/DeletePublicAccessBlockCommand.js +2 -0
  27. package/dist-cjs/commands/GetBucketAccelerateConfigurationCommand.js +2 -0
  28. package/dist-cjs/commands/GetBucketAclCommand.js +2 -0
  29. package/dist-cjs/commands/GetBucketAnalyticsConfigurationCommand.js +2 -0
  30. package/dist-cjs/commands/GetBucketCorsCommand.js +2 -0
  31. package/dist-cjs/commands/GetBucketEncryptionCommand.js +2 -0
  32. package/dist-cjs/commands/GetBucketIntelligentTieringConfigurationCommand.js +2 -0
  33. package/dist-cjs/commands/GetBucketInventoryConfigurationCommand.js +2 -0
  34. package/dist-cjs/commands/GetBucketLifecycleConfigurationCommand.js +2 -0
  35. package/dist-cjs/commands/GetBucketLocationCommand.js +2 -0
  36. package/dist-cjs/commands/GetBucketLoggingCommand.js +2 -0
  37. package/dist-cjs/commands/GetBucketMetricsConfigurationCommand.js +2 -0
  38. package/dist-cjs/commands/GetBucketNotificationConfigurationCommand.js +2 -0
  39. package/dist-cjs/commands/GetBucketOwnershipControlsCommand.js +2 -0
  40. package/dist-cjs/commands/GetBucketPolicyCommand.js +2 -0
  41. package/dist-cjs/commands/GetBucketPolicyStatusCommand.js +2 -0
  42. package/dist-cjs/commands/GetBucketReplicationCommand.js +2 -0
  43. package/dist-cjs/commands/GetBucketRequestPaymentCommand.js +2 -0
  44. package/dist-cjs/commands/GetBucketTaggingCommand.js +2 -0
  45. package/dist-cjs/commands/GetBucketVersioningCommand.js +2 -0
  46. package/dist-cjs/commands/GetBucketWebsiteCommand.js +2 -0
  47. package/dist-cjs/commands/GetObjectAclCommand.js +1 -0
  48. package/dist-cjs/commands/GetObjectAttributesCommand.js +1 -0
  49. package/dist-cjs/commands/GetObjectCommand.js +1 -0
  50. package/dist-cjs/commands/GetObjectLegalHoldCommand.js +1 -0
  51. package/dist-cjs/commands/GetObjectLockConfigurationCommand.js +1 -0
  52. package/dist-cjs/commands/GetObjectRetentionCommand.js +1 -0
  53. package/dist-cjs/commands/GetObjectTaggingCommand.js +1 -0
  54. package/dist-cjs/commands/GetObjectTorrentCommand.js +1 -0
  55. package/dist-cjs/commands/GetPublicAccessBlockCommand.js +2 -0
  56. package/dist-cjs/commands/HeadBucketCommand.js +1 -0
  57. package/dist-cjs/commands/HeadObjectCommand.js +1 -0
  58. package/dist-cjs/commands/ListBucketAnalyticsConfigurationsCommand.js +2 -0
  59. package/dist-cjs/commands/ListBucketIntelligentTieringConfigurationsCommand.js +2 -0
  60. package/dist-cjs/commands/ListBucketInventoryConfigurationsCommand.js +2 -0
  61. package/dist-cjs/commands/ListBucketMetricsConfigurationsCommand.js +1 -0
  62. package/dist-cjs/commands/ListBucketsCommand.js +1 -0
  63. package/dist-cjs/commands/ListDirectoryBucketsCommand.js +58 -0
  64. package/dist-cjs/commands/ListMultipartUploadsCommand.js +1 -0
  65. package/dist-cjs/commands/ListObjectVersionsCommand.js +1 -0
  66. package/dist-cjs/commands/ListObjectsCommand.js +1 -0
  67. package/dist-cjs/commands/ListObjectsV2Command.js +1 -0
  68. package/dist-cjs/commands/ListPartsCommand.js +1 -0
  69. package/dist-cjs/commands/PutBucketAccelerateConfigurationCommand.js +2 -0
  70. package/dist-cjs/commands/PutBucketAclCommand.js +2 -0
  71. package/dist-cjs/commands/PutBucketAnalyticsConfigurationCommand.js +2 -0
  72. package/dist-cjs/commands/PutBucketCorsCommand.js +2 -0
  73. package/dist-cjs/commands/PutBucketEncryptionCommand.js +2 -0
  74. package/dist-cjs/commands/PutBucketIntelligentTieringConfigurationCommand.js +2 -0
  75. package/dist-cjs/commands/PutBucketInventoryConfigurationCommand.js +2 -0
  76. package/dist-cjs/commands/PutBucketLifecycleConfigurationCommand.js +2 -0
  77. package/dist-cjs/commands/PutBucketLoggingCommand.js +2 -0
  78. package/dist-cjs/commands/PutBucketMetricsConfigurationCommand.js +2 -0
  79. package/dist-cjs/commands/PutBucketNotificationConfigurationCommand.js +2 -0
  80. package/dist-cjs/commands/PutBucketOwnershipControlsCommand.js +2 -0
  81. package/dist-cjs/commands/PutBucketPolicyCommand.js +2 -0
  82. package/dist-cjs/commands/PutBucketReplicationCommand.js +2 -0
  83. package/dist-cjs/commands/PutBucketRequestPaymentCommand.js +2 -0
  84. package/dist-cjs/commands/PutBucketTaggingCommand.js +2 -0
  85. package/dist-cjs/commands/PutBucketVersioningCommand.js +2 -0
  86. package/dist-cjs/commands/PutBucketWebsiteCommand.js +2 -0
  87. package/dist-cjs/commands/PutObjectAclCommand.js +1 -0
  88. package/dist-cjs/commands/PutObjectCommand.js +4 -3
  89. package/dist-cjs/commands/PutObjectLegalHoldCommand.js +1 -0
  90. package/dist-cjs/commands/PutObjectLockConfigurationCommand.js +1 -0
  91. package/dist-cjs/commands/PutObjectRetentionCommand.js +1 -0
  92. package/dist-cjs/commands/PutObjectTaggingCommand.js +1 -0
  93. package/dist-cjs/commands/PutPublicAccessBlockCommand.js +2 -0
  94. package/dist-cjs/commands/RestoreObjectCommand.js +1 -0
  95. package/dist-cjs/commands/SelectObjectContentCommand.js +1 -0
  96. package/dist-cjs/commands/UploadPartCommand.js +1 -0
  97. package/dist-cjs/commands/UploadPartCopyCommand.js +1 -0
  98. package/dist-cjs/commands/WriteGetObjectResponseCommand.js +1 -0
  99. package/dist-cjs/commands/index.js +2 -0
  100. package/dist-cjs/endpoint/ruleset.js +3 -3
  101. package/dist-cjs/models/models_0.js +41 -32
  102. package/dist-cjs/models/models_1.js +18 -1
  103. package/dist-cjs/pagination/ListDirectoryBucketsPaginator.js +29 -0
  104. package/dist-cjs/pagination/index.js +1 -0
  105. package/dist-cjs/protocols/Aws_restXml.js +174 -4
  106. package/dist-cjs/runtimeConfig.js +2 -0
  107. package/dist-es/S3.js +4 -0
  108. package/dist-es/S3Client.js +4 -2
  109. package/dist-es/commands/AbortMultipartUploadCommand.js +1 -0
  110. package/dist-es/commands/CompleteMultipartUploadCommand.js +1 -0
  111. package/dist-es/commands/CopyObjectCommand.js +1 -0
  112. package/dist-es/commands/CreateBucketCommand.js +2 -0
  113. package/dist-es/commands/CreateMultipartUploadCommand.js +1 -0
  114. package/dist-es/commands/CreateSessionCommand.js +55 -0
  115. package/dist-es/commands/DeleteBucketAnalyticsConfigurationCommand.js +2 -0
  116. package/dist-es/commands/DeleteBucketCommand.js +2 -0
  117. package/dist-es/commands/DeleteBucketCorsCommand.js +2 -0
  118. package/dist-es/commands/DeleteBucketEncryptionCommand.js +2 -0
  119. package/dist-es/commands/DeleteBucketIntelligentTieringConfigurationCommand.js +2 -0
  120. package/dist-es/commands/DeleteBucketInventoryConfigurationCommand.js +2 -0
  121. package/dist-es/commands/DeleteBucketLifecycleCommand.js +2 -0
  122. package/dist-es/commands/DeleteBucketMetricsConfigurationCommand.js +2 -0
  123. package/dist-es/commands/DeleteBucketOwnershipControlsCommand.js +2 -0
  124. package/dist-es/commands/DeleteBucketPolicyCommand.js +2 -0
  125. package/dist-es/commands/DeleteBucketReplicationCommand.js +2 -0
  126. package/dist-es/commands/DeleteBucketTaggingCommand.js +2 -0
  127. package/dist-es/commands/DeleteBucketWebsiteCommand.js +2 -0
  128. package/dist-es/commands/DeleteObjectCommand.js +1 -0
  129. package/dist-es/commands/DeleteObjectTaggingCommand.js +1 -0
  130. package/dist-es/commands/DeleteObjectsCommand.js +1 -0
  131. package/dist-es/commands/DeletePublicAccessBlockCommand.js +2 -0
  132. package/dist-es/commands/GetBucketAccelerateConfigurationCommand.js +2 -0
  133. package/dist-es/commands/GetBucketAclCommand.js +2 -0
  134. package/dist-es/commands/GetBucketAnalyticsConfigurationCommand.js +2 -0
  135. package/dist-es/commands/GetBucketCorsCommand.js +2 -0
  136. package/dist-es/commands/GetBucketEncryptionCommand.js +2 -0
  137. package/dist-es/commands/GetBucketIntelligentTieringConfigurationCommand.js +2 -0
  138. package/dist-es/commands/GetBucketInventoryConfigurationCommand.js +2 -0
  139. package/dist-es/commands/GetBucketLifecycleConfigurationCommand.js +2 -0
  140. package/dist-es/commands/GetBucketLocationCommand.js +2 -0
  141. package/dist-es/commands/GetBucketLoggingCommand.js +2 -0
  142. package/dist-es/commands/GetBucketMetricsConfigurationCommand.js +2 -0
  143. package/dist-es/commands/GetBucketNotificationConfigurationCommand.js +2 -0
  144. package/dist-es/commands/GetBucketOwnershipControlsCommand.js +2 -0
  145. package/dist-es/commands/GetBucketPolicyCommand.js +2 -0
  146. package/dist-es/commands/GetBucketPolicyStatusCommand.js +2 -0
  147. package/dist-es/commands/GetBucketReplicationCommand.js +2 -0
  148. package/dist-es/commands/GetBucketRequestPaymentCommand.js +2 -0
  149. package/dist-es/commands/GetBucketTaggingCommand.js +2 -0
  150. package/dist-es/commands/GetBucketVersioningCommand.js +2 -0
  151. package/dist-es/commands/GetBucketWebsiteCommand.js +2 -0
  152. package/dist-es/commands/GetObjectAclCommand.js +1 -0
  153. package/dist-es/commands/GetObjectAttributesCommand.js +1 -0
  154. package/dist-es/commands/GetObjectCommand.js +1 -0
  155. package/dist-es/commands/GetObjectLegalHoldCommand.js +1 -0
  156. package/dist-es/commands/GetObjectLockConfigurationCommand.js +1 -0
  157. package/dist-es/commands/GetObjectRetentionCommand.js +1 -0
  158. package/dist-es/commands/GetObjectTaggingCommand.js +1 -0
  159. package/dist-es/commands/GetObjectTorrentCommand.js +1 -0
  160. package/dist-es/commands/GetPublicAccessBlockCommand.js +2 -0
  161. package/dist-es/commands/HeadBucketCommand.js +1 -0
  162. package/dist-es/commands/HeadObjectCommand.js +1 -0
  163. package/dist-es/commands/ListBucketAnalyticsConfigurationsCommand.js +2 -0
  164. package/dist-es/commands/ListBucketIntelligentTieringConfigurationsCommand.js +2 -0
  165. package/dist-es/commands/ListBucketInventoryConfigurationsCommand.js +2 -0
  166. package/dist-es/commands/ListBucketMetricsConfigurationsCommand.js +1 -0
  167. package/dist-es/commands/ListBucketsCommand.js +1 -0
  168. package/dist-es/commands/ListDirectoryBucketsCommand.js +54 -0
  169. package/dist-es/commands/ListMultipartUploadsCommand.js +1 -0
  170. package/dist-es/commands/ListObjectVersionsCommand.js +1 -0
  171. package/dist-es/commands/ListObjectsCommand.js +1 -0
  172. package/dist-es/commands/ListObjectsV2Command.js +1 -0
  173. package/dist-es/commands/ListPartsCommand.js +1 -0
  174. package/dist-es/commands/PutBucketAccelerateConfigurationCommand.js +2 -0
  175. package/dist-es/commands/PutBucketAclCommand.js +2 -0
  176. package/dist-es/commands/PutBucketAnalyticsConfigurationCommand.js +2 -0
  177. package/dist-es/commands/PutBucketCorsCommand.js +2 -0
  178. package/dist-es/commands/PutBucketEncryptionCommand.js +2 -0
  179. package/dist-es/commands/PutBucketIntelligentTieringConfigurationCommand.js +2 -0
  180. package/dist-es/commands/PutBucketInventoryConfigurationCommand.js +2 -0
  181. package/dist-es/commands/PutBucketLifecycleConfigurationCommand.js +2 -0
  182. package/dist-es/commands/PutBucketLoggingCommand.js +2 -0
  183. package/dist-es/commands/PutBucketMetricsConfigurationCommand.js +2 -0
  184. package/dist-es/commands/PutBucketNotificationConfigurationCommand.js +2 -0
  185. package/dist-es/commands/PutBucketOwnershipControlsCommand.js +2 -0
  186. package/dist-es/commands/PutBucketPolicyCommand.js +2 -0
  187. package/dist-es/commands/PutBucketReplicationCommand.js +2 -0
  188. package/dist-es/commands/PutBucketRequestPaymentCommand.js +2 -0
  189. package/dist-es/commands/PutBucketTaggingCommand.js +2 -0
  190. package/dist-es/commands/PutBucketVersioningCommand.js +2 -0
  191. package/dist-es/commands/PutBucketWebsiteCommand.js +2 -0
  192. package/dist-es/commands/PutObjectAclCommand.js +1 -0
  193. package/dist-es/commands/PutObjectCommand.js +2 -1
  194. package/dist-es/commands/PutObjectLegalHoldCommand.js +1 -0
  195. package/dist-es/commands/PutObjectLockConfigurationCommand.js +1 -0
  196. package/dist-es/commands/PutObjectRetentionCommand.js +1 -0
  197. package/dist-es/commands/PutObjectTaggingCommand.js +1 -0
  198. package/dist-es/commands/PutPublicAccessBlockCommand.js +2 -0
  199. package/dist-es/commands/RestoreObjectCommand.js +1 -0
  200. package/dist-es/commands/SelectObjectContentCommand.js +1 -0
  201. package/dist-es/commands/UploadPartCommand.js +1 -0
  202. package/dist-es/commands/UploadPartCopyCommand.js +1 -0
  203. package/dist-es/commands/WriteGetObjectResponseCommand.js +1 -0
  204. package/dist-es/commands/index.js +2 -0
  205. package/dist-es/endpoint/ruleset.js +3 -3
  206. package/dist-es/models/models_0.js +36 -27
  207. package/dist-es/models/models_1.js +15 -0
  208. package/dist-es/pagination/ListDirectoryBucketsPaginator.js +25 -0
  209. package/dist-es/pagination/index.js +1 -0
  210. package/dist-es/protocols/Aws_restXml.js +166 -0
  211. package/dist-es/runtimeConfig.js +2 -0
  212. package/dist-types/S3.d.ts +14 -0
  213. package/dist-types/S3Client.d.ts +4 -2
  214. package/dist-types/commands/AbortMultipartUploadCommand.d.ts +37 -5
  215. package/dist-types/commands/CompleteMultipartUploadCommand.d.ts +97 -61
  216. package/dist-types/commands/CopyObjectCommand.d.ts +108 -180
  217. package/dist-types/commands/CreateBucketCommand.d.ts +116 -95
  218. package/dist-types/commands/CreateMultipartUploadCommand.d.ts +146 -224
  219. package/dist-types/commands/CreateSessionCommand.d.ts +145 -0
  220. package/dist-types/commands/DeleteBucketAnalyticsConfigurationCommand.d.ts +4 -1
  221. package/dist-types/commands/DeleteBucketCommand.d.ts +35 -0
  222. package/dist-types/commands/DeleteBucketCorsCommand.d.ts +4 -1
  223. package/dist-types/commands/DeleteBucketEncryptionCommand.d.ts +4 -1
  224. package/dist-types/commands/DeleteBucketIntelligentTieringConfigurationCommand.d.ts +4 -1
  225. package/dist-types/commands/DeleteBucketInventoryConfigurationCommand.d.ts +4 -1
  226. package/dist-types/commands/DeleteBucketLifecycleCommand.d.ts +4 -1
  227. package/dist-types/commands/DeleteBucketMetricsConfigurationCommand.d.ts +4 -1
  228. package/dist-types/commands/DeleteBucketOwnershipControlsCommand.d.ts +4 -1
  229. package/dist-types/commands/DeleteBucketPolicyCommand.d.ts +48 -20
  230. package/dist-types/commands/DeleteBucketReplicationCommand.d.ts +4 -1
  231. package/dist-types/commands/DeleteBucketTaggingCommand.d.ts +4 -1
  232. package/dist-types/commands/DeleteBucketWebsiteCommand.d.ts +4 -1
  233. package/dist-types/commands/DeleteObjectCommand.d.ts +83 -11
  234. package/dist-types/commands/DeleteObjectTaggingCommand.d.ts +15 -12
  235. package/dist-types/commands/DeleteObjectsCommand.d.ts +109 -35
  236. package/dist-types/commands/DeletePublicAccessBlockCommand.d.ts +4 -1
  237. package/dist-types/commands/GetBucketAccelerateConfigurationCommand.d.ts +4 -1
  238. package/dist-types/commands/GetBucketAclCommand.d.ts +7 -4
  239. package/dist-types/commands/GetBucketAnalyticsConfigurationCommand.d.ts +4 -1
  240. package/dist-types/commands/GetBucketCorsCommand.d.ts +6 -3
  241. package/dist-types/commands/GetBucketEncryptionCommand.d.ts +4 -1
  242. package/dist-types/commands/GetBucketIntelligentTieringConfigurationCommand.d.ts +4 -1
  243. package/dist-types/commands/GetBucketInventoryConfigurationCommand.d.ts +4 -1
  244. package/dist-types/commands/GetBucketLifecycleConfigurationCommand.d.ts +3 -0
  245. package/dist-types/commands/GetBucketLocationCommand.d.ts +7 -4
  246. package/dist-types/commands/GetBucketLoggingCommand.d.ts +4 -1
  247. package/dist-types/commands/GetBucketMetricsConfigurationCommand.d.ts +4 -1
  248. package/dist-types/commands/GetBucketNotificationConfigurationCommand.d.ts +6 -3
  249. package/dist-types/commands/GetBucketOwnershipControlsCommand.d.ts +4 -1
  250. package/dist-types/commands/GetBucketPolicyCommand.d.ts +54 -24
  251. package/dist-types/commands/GetBucketPolicyStatusCommand.d.ts +4 -1
  252. package/dist-types/commands/GetBucketReplicationCommand.d.ts +5 -2
  253. package/dist-types/commands/GetBucketRequestPaymentCommand.d.ts +4 -1
  254. package/dist-types/commands/GetBucketTaggingCommand.d.ts +4 -1
  255. package/dist-types/commands/GetBucketVersioningCommand.d.ts +4 -1
  256. package/dist-types/commands/GetBucketWebsiteCommand.d.ts +4 -1
  257. package/dist-types/commands/GetObjectAclCommand.d.ts +5 -2
  258. package/dist-types/commands/GetObjectAttributesCommand.d.ts +113 -76
  259. package/dist-types/commands/GetObjectCommand.d.ts +122 -140
  260. package/dist-types/commands/GetObjectLegalHoldCommand.d.ts +5 -2
  261. package/dist-types/commands/GetObjectLockConfigurationCommand.d.ts +4 -1
  262. package/dist-types/commands/GetObjectRetentionCommand.d.ts +5 -2
  263. package/dist-types/commands/GetObjectTaggingCommand.d.ts +23 -20
  264. package/dist-types/commands/GetObjectTorrentCommand.d.ts +5 -2
  265. package/dist-types/commands/GetPublicAccessBlockCommand.d.ts +4 -1
  266. package/dist-types/commands/HeadBucketCommand.d.ts +53 -19
  267. package/dist-types/commands/HeadObjectCommand.d.ts +87 -83
  268. package/dist-types/commands/ListBucketAnalyticsConfigurationsCommand.d.ts +4 -1
  269. package/dist-types/commands/ListBucketIntelligentTieringConfigurationsCommand.d.ts +4 -1
  270. package/dist-types/commands/ListBucketInventoryConfigurationsCommand.d.ts +4 -1
  271. package/dist-types/commands/ListBucketMetricsConfigurationsCommand.d.ts +4 -1
  272. package/dist-types/commands/ListBucketsCommand.d.ts +4 -1
  273. package/dist-types/commands/ListDirectoryBucketsCommand.d.ts +98 -0
  274. package/dist-types/commands/ListMultipartUploadsCommand.d.ts +85 -17
  275. package/dist-types/commands/ListObjectVersionsCommand.d.ts +4 -1
  276. package/dist-types/commands/ListObjectsCommand.d.ts +5 -2
  277. package/dist-types/commands/ListObjectsV2Command.d.ts +52 -10
  278. package/dist-types/commands/ListPartsCommand.d.ts +47 -14
  279. package/dist-types/commands/PutBucketAccelerateConfigurationCommand.d.ts +4 -1
  280. package/dist-types/commands/PutBucketAclCommand.d.ts +5 -2
  281. package/dist-types/commands/PutBucketAnalyticsConfigurationCommand.d.ts +4 -1
  282. package/dist-types/commands/PutBucketCorsCommand.d.ts +4 -1
  283. package/dist-types/commands/PutBucketEncryptionCommand.d.ts +4 -1
  284. package/dist-types/commands/PutBucketIntelligentTieringConfigurationCommand.d.ts +4 -1
  285. package/dist-types/commands/PutBucketInventoryConfigurationCommand.d.ts +4 -1
  286. package/dist-types/commands/PutBucketLifecycleConfigurationCommand.d.ts +4 -1
  287. package/dist-types/commands/PutBucketLoggingCommand.d.ts +4 -1
  288. package/dist-types/commands/PutBucketMetricsConfigurationCommand.d.ts +4 -1
  289. package/dist-types/commands/PutBucketNotificationConfigurationCommand.d.ts +4 -1
  290. package/dist-types/commands/PutBucketOwnershipControlsCommand.d.ts +4 -1
  291. package/dist-types/commands/PutBucketPolicyCommand.d.ts +54 -19
  292. package/dist-types/commands/PutBucketReplicationCommand.d.ts +6 -3
  293. package/dist-types/commands/PutBucketRequestPaymentCommand.d.ts +5 -2
  294. package/dist-types/commands/PutBucketTaggingCommand.d.ts +5 -2
  295. package/dist-types/commands/PutBucketVersioningCommand.d.ts +5 -2
  296. package/dist-types/commands/PutBucketWebsiteCommand.d.ts +5 -2
  297. package/dist-types/commands/PutObjectAclCommand.d.ts +6 -3
  298. package/dist-types/commands/PutObjectCommand.d.ts +151 -114
  299. package/dist-types/commands/PutObjectLegalHoldCommand.d.ts +5 -2
  300. package/dist-types/commands/PutObjectLockConfigurationCommand.d.ts +4 -1
  301. package/dist-types/commands/PutObjectRetentionCommand.d.ts +5 -2
  302. package/dist-types/commands/PutObjectTaggingCommand.d.ts +4 -1
  303. package/dist-types/commands/PutPublicAccessBlockCommand.d.ts +4 -1
  304. package/dist-types/commands/RestoreObjectCommand.d.ts +6 -3
  305. package/dist-types/commands/SelectObjectContentCommand.d.ts +6 -3
  306. package/dist-types/commands/UploadPartCommand.d.ts +101 -62
  307. package/dist-types/commands/UploadPartCopyCommand.d.ts +121 -114
  308. package/dist-types/commands/WriteGetObjectResponseCommand.d.ts +5 -2
  309. package/dist-types/commands/index.d.ts +2 -0
  310. package/dist-types/endpoint/EndpointParameters.d.ts +3 -0
  311. package/dist-types/models/models_0.d.ts +2443 -1104
  312. package/dist-types/models/models_1.d.ts +1189 -81
  313. package/dist-types/pagination/ListDirectoryBucketsPaginator.d.ts +7 -0
  314. package/dist-types/pagination/index.d.ts +1 -0
  315. package/dist-types/protocols/Aws_restXml.d.ts +18 -0
  316. package/dist-types/runtimeConfig.browser.d.ts +2 -0
  317. package/dist-types/runtimeConfig.d.ts +2 -0
  318. package/dist-types/runtimeConfig.native.d.ts +2 -0
  319. package/dist-types/ts3.4/S3.d.ts +34 -0
  320. package/dist-types/ts3.4/S3Client.d.ts +12 -0
  321. package/dist-types/ts3.4/commands/CreateSessionCommand.d.ts +35 -0
  322. package/dist-types/ts3.4/commands/HeadBucketCommand.d.ts +4 -2
  323. package/dist-types/ts3.4/commands/ListDirectoryBucketsCommand.d.ts +42 -0
  324. package/dist-types/ts3.4/commands/PutBucketReplicationCommand.d.ts +1 -1
  325. package/dist-types/ts3.4/commands/PutBucketRequestPaymentCommand.d.ts +1 -1
  326. package/dist-types/ts3.4/commands/PutBucketTaggingCommand.d.ts +1 -1
  327. package/dist-types/ts3.4/commands/PutBucketVersioningCommand.d.ts +1 -1
  328. package/dist-types/ts3.4/commands/PutBucketWebsiteCommand.d.ts +1 -1
  329. package/dist-types/ts3.4/commands/PutObjectCommand.d.ts +1 -1
  330. package/dist-types/ts3.4/commands/index.d.ts +2 -0
  331. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +3 -0
  332. package/dist-types/ts3.4/models/models_0.d.ts +68 -124
  333. package/dist-types/ts3.4/models/models_1.d.ts +127 -1
  334. package/dist-types/ts3.4/pagination/ListDirectoryBucketsPaginator.d.ts +11 -0
  335. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  336. package/dist-types/ts3.4/protocols/Aws_restXml.d.ts +24 -0
  337. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +7 -0
  338. package/dist-types/ts3.4/runtimeConfig.d.ts +6 -0
  339. package/dist-types/ts3.4/runtimeConfig.native.d.ts +7 -0
  340. package/package.json +19 -19
@@ -25,6 +25,41 @@ export interface DeleteBucketCommandOutput extends __MetadataBearer {
25
25
  * @public
26
26
  * <p>Deletes the S3 bucket. All objects (including all object versions and delete markers) in
27
27
  * the bucket must be deleted before the bucket itself can be deleted.</p>
28
+ * <note>
29
+ * <ul>
30
+ * <li>
31
+ * <p>
32
+ * <b>Directory buckets</b> - If multipart uploads in a directory bucket are in progress, you can't delete the bucket until all the in-progress multipart uploads are aborted or completed.</p>
33
+ * </li>
34
+ * <li>
35
+ * <p>
36
+ * <b>Directory buckets </b> - For directory buckets, you must make requests for this API operation to the Regional endpoint. These endpoints support path-style requests in the format <code>https://s3express-control.<i>region_code</i>.amazonaws.com/<i>bucket-name</i>
37
+ * </code>. Virtual-hosted-style requests aren't supported.
38
+ * For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-Regions-and-Zones.html">Regional and Zonal endpoints</a> in the
39
+ * <i>Amazon S3 User Guide</i>.</p>
40
+ * </li>
41
+ * </ul>
42
+ * </note>
43
+ * <dl>
44
+ * <dt>Permissions</dt>
45
+ * <dd>
46
+ * <ul>
47
+ * <li>
48
+ * <p>
49
+ * <b>General purpose bucket permissions</b> - You must have the <code>s3:DeleteBucket</code> permission on the specified bucket in a policy.</p>
50
+ * </li>
51
+ * <li>
52
+ * <p>
53
+ * <b>Directory bucket permissions</b> - You must have the <code>s3express:DeleteBucket</code> permission in an IAM identity-based policy instead of a bucket policy. Cross-account access to this API operation isn't supported. This operation can only be performed by the Amazon Web Services account that owns the resource. For more information about directory bucket policies and permissions, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-security-iam.html">Amazon Web Services Identity and Access Management (IAM) for S3 Express One Zone</a> in the <i>Amazon S3 User Guide</i>.</p>
54
+ * </li>
55
+ * </ul>
56
+ * </dd>
57
+ * <dt>HTTP Host header syntax</dt>
58
+ * <dd>
59
+ * <p>
60
+ * <b>Directory buckets </b> - The HTTP Host header syntax is <code>s3express-control.<i>region</i>.amazonaws.com</code>.</p>
61
+ * </dd>
62
+ * </dl>
28
63
  * <p>The following operations are related to <code>DeleteBucket</code>:</p>
29
64
  * <ul>
30
65
  * <li>
@@ -23,7 +23,10 @@ export interface DeleteBucketCorsCommandOutput extends __MetadataBearer {
23
23
  }
24
24
  /**
25
25
  * @public
26
- * <p>Deletes the <code>cors</code> configuration information set for the bucket.</p>
26
+ * <note>
27
+ * <p>This operation is not supported by directory buckets.</p>
28
+ * </note>
29
+ * <p>Deletes the <code>cors</code> configuration information set for the bucket.</p>
27
30
  * <p>To use this operation, you must have permission to perform the
28
31
  * <code>s3:PutBucketCORS</code> action. The bucket owner has this permission by default
29
32
  * and can grant this permission to others. </p>
@@ -23,7 +23,10 @@ export interface DeleteBucketEncryptionCommandOutput extends __MetadataBearer {
23
23
  }
24
24
  /**
25
25
  * @public
26
- * <p>This implementation of the DELETE action resets the default encryption for the bucket as
26
+ * <note>
27
+ * <p>This operation is not supported by directory buckets.</p>
28
+ * </note>
29
+ * <p>This implementation of the DELETE action resets the default encryption for the bucket as
27
30
  * server-side encryption with Amazon S3 managed keys (SSE-S3). For information about the bucket
28
31
  * default encryption feature, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/bucket-encryption.html">Amazon S3 Bucket Default Encryption</a>
29
32
  * in the <i>Amazon S3 User Guide</i>.</p>
@@ -23,7 +23,10 @@ export interface DeleteBucketIntelligentTieringConfigurationCommandOutput extend
23
23
  }
24
24
  /**
25
25
  * @public
26
- * <p>Deletes the S3 Intelligent-Tiering configuration from the specified bucket.</p>
26
+ * <note>
27
+ * <p>This operation is not supported by directory buckets.</p>
28
+ * </note>
29
+ * <p>Deletes the S3 Intelligent-Tiering configuration from the specified bucket.</p>
27
30
  * <p>The S3 Intelligent-Tiering storage class is designed to optimize storage costs by automatically moving data to the most cost-effective storage access tier, without performance impact or operational overhead. S3 Intelligent-Tiering delivers automatic cost savings in three low latency and high throughput access tiers. To get the lowest storage cost on data that can be accessed in minutes to hours, you can choose to activate additional archiving capabilities.</p>
28
31
  * <p>The S3 Intelligent-Tiering storage class is the ideal storage class for data with unknown, changing, or unpredictable access patterns, independent of object size or retention period. If the size of an object is less than 128 KB, it is not monitored and not eligible for auto-tiering. Smaller objects can be stored, but they are always charged at the Frequent Access tier rates in the S3 Intelligent-Tiering storage class.</p>
29
32
  * <p>For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/storage-class-intro.html#sc-dynamic-data-access">Storage class for automatically optimizing frequently and infrequently accessed objects</a>.</p>
@@ -23,7 +23,10 @@ export interface DeleteBucketInventoryConfigurationCommandOutput extends __Metad
23
23
  }
24
24
  /**
25
25
  * @public
26
- * <p>Deletes an inventory configuration (identified by the inventory ID) from the
26
+ * <note>
27
+ * <p>This operation is not supported by directory buckets.</p>
28
+ * </note>
29
+ * <p>Deletes an inventory configuration (identified by the inventory ID) from the
27
30
  * bucket.</p>
28
31
  * <p>To use this operation, you must have permissions to perform the
29
32
  * <code>s3:PutInventoryConfiguration</code> action. The bucket owner has this permission
@@ -23,7 +23,10 @@ export interface DeleteBucketLifecycleCommandOutput extends __MetadataBearer {
23
23
  }
24
24
  /**
25
25
  * @public
26
- * <p>Deletes the lifecycle configuration from the specified bucket. Amazon S3 removes all the
26
+ * <note>
27
+ * <p>This operation is not supported by directory buckets.</p>
28
+ * </note>
29
+ * <p>Deletes the lifecycle configuration from the specified bucket. Amazon S3 removes all the
27
30
  * lifecycle configuration rules in the lifecycle subresource associated with the bucket. Your
28
31
  * objects never expire, and Amazon S3 no longer automatically deletes any objects on the basis of
29
32
  * rules contained in the deleted lifecycle configuration.</p>
@@ -23,7 +23,10 @@ export interface DeleteBucketMetricsConfigurationCommandOutput extends __Metadat
23
23
  }
24
24
  /**
25
25
  * @public
26
- * <p>Deletes a metrics configuration for the Amazon CloudWatch request metrics (specified by the
26
+ * <note>
27
+ * <p>This operation is not supported by directory buckets.</p>
28
+ * </note>
29
+ * <p>Deletes a metrics configuration for the Amazon CloudWatch request metrics (specified by the
27
30
  * metrics configuration ID) from the bucket. Note that this doesn't include the daily storage
28
31
  * metrics.</p>
29
32
  * <p> To use this operation, you must have permissions to perform the
@@ -23,7 +23,10 @@ export interface DeleteBucketOwnershipControlsCommandOutput extends __MetadataBe
23
23
  }
24
24
  /**
25
25
  * @public
26
- * <p>Removes <code>OwnershipControls</code> for an Amazon S3 bucket. To use this operation, you
26
+ * <note>
27
+ * <p>This operation is not supported by directory buckets.</p>
28
+ * </note>
29
+ * <p>Removes <code>OwnershipControls</code> for an Amazon S3 bucket. To use this operation, you
27
30
  * must have the <code>s3:PutBucketOwnershipControls</code> permission. For more information
28
31
  * about Amazon S3 permissions, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/using-with-s3-actions.html">Specifying Permissions in a
29
32
  * Policy</a>.</p>
@@ -23,26 +23,54 @@ export interface DeleteBucketPolicyCommandOutput extends __MetadataBearer {
23
23
  }
24
24
  /**
25
25
  * @public
26
- * <p>This implementation of the DELETE action uses the policy subresource to delete the
27
- * policy of a specified bucket. If you are using an identity other than the root user of the
28
- * Amazon Web Services account that owns the bucket, the calling identity must have the
29
- * <code>DeleteBucketPolicy</code> permissions on the specified bucket and belong to the
30
- * bucket owner's account to use this operation. </p>
31
- * <p>If you don't have <code>DeleteBucketPolicy</code> permissions, Amazon S3 returns a <code>403
32
- * Access Denied</code> error. If you have the correct permissions, but you're not using an
33
- * identity that belongs to the bucket owner's account, Amazon S3 returns a <code>405 Method Not
34
- * Allowed</code> error. </p>
35
- * <important>
36
- * <p>To ensure that bucket owners don't inadvertently lock themselves out of their own
37
- * buckets, the root principal in a bucket owner's Amazon Web Services account can perform the
38
- * <code>GetBucketPolicy</code>, <code>PutBucketPolicy</code>, and
39
- * <code>DeleteBucketPolicy</code> API actions, even if their bucket policy explicitly
40
- * denies the root principal's access. Bucket owner root principals can only be blocked
41
- * from performing these API actions by VPC endpoint policies and Amazon Web Services Organizations
42
- * policies.</p>
43
- * </important>
44
- * <p>For more information about bucket policies, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/using-iam-policies.html">Using Bucket Policies and
45
- * UserPolicies</a>. </p>
26
+ * <p>Deletes the
27
+ * policy of a specified bucket.</p>
28
+ * <note>
29
+ * <p>
30
+ * <b>Directory buckets </b> - For directory buckets, you must make requests for this API operation to the Regional endpoint. These endpoints support path-style requests in the format <code>https://s3express-control.<i>region_code</i>.amazonaws.com/<i>bucket-name</i>
31
+ * </code>. Virtual-hosted-style requests aren't supported.
32
+ * For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-Regions-and-Zones.html">Regional and Zonal endpoints</a> in the
33
+ * <i>Amazon S3 User Guide</i>.</p>
34
+ * </note>
35
+ * <dl>
36
+ * <dt>Permissions</dt>
37
+ * <dd>
38
+ * <p>If you are using an identity other than the
39
+ * root user of the Amazon Web Services account that owns the bucket, the calling identity must both have the
40
+ * <code>DeleteBucketPolicy</code> permissions on the specified bucket and belong to the
41
+ * bucket owner's account in order to use this operation.</p>
42
+ * <p>If you don't have <code>DeleteBucketPolicy</code> permissions, Amazon S3 returns a <code>403
43
+ * Access Denied</code> error. If you have the correct permissions, but you're not using an
44
+ * identity that belongs to the bucket owner's account, Amazon S3 returns a <code>405 Method Not
45
+ * Allowed</code> error.</p>
46
+ * <important>
47
+ * <p>To ensure that bucket owners don't inadvertently lock themselves out of their own
48
+ * buckets, the root principal in a bucket owner's Amazon Web Services account can perform the
49
+ * <code>GetBucketPolicy</code>, <code>PutBucketPolicy</code>, and
50
+ * <code>DeleteBucketPolicy</code> API actions, even if their bucket policy explicitly
51
+ * denies the root principal's access. Bucket owner root principals can only be blocked
52
+ * from performing these API actions by VPC endpoint policies and Amazon Web Services Organizations
53
+ * policies.</p>
54
+ * </important>
55
+ * <ul>
56
+ * <li>
57
+ * <p>
58
+ * <b>General purpose bucket permissions</b> - The <code>s3:DeleteBucketPolicy</code> permission is required in a policy.
59
+ * For more information about general purpose buckets bucket policies, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/using-iam-policies.html">Using Bucket Policies and User
60
+ * Policies</a> in the <i>Amazon S3 User Guide</i>.</p>
61
+ * </li>
62
+ * <li>
63
+ * <p>
64
+ * <b>Directory bucket permissions</b> - To grant access to this API operation, you must have the <code>s3express:DeleteBucketPolicy</code> permission in an IAM identity-based policy instead of a bucket policy. Cross-account access to this API operation isn't supported. This operation can only be performed by the Amazon Web Services account that owns the resource. For more information about directory bucket policies and permissions, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-security-iam.html">Amazon Web Services Identity and Access Management (IAM) for S3 Express One Zone</a> in the <i>Amazon S3 User Guide</i>.</p>
65
+ * </li>
66
+ * </ul>
67
+ * </dd>
68
+ * <dt>HTTP Host header syntax</dt>
69
+ * <dd>
70
+ * <p>
71
+ * <b>Directory buckets </b> - The HTTP Host header syntax is <code>s3express-control.<i>region</i>.amazonaws.com</code>.</p>
72
+ * </dd>
73
+ * </dl>
46
74
  * <p>The following operations are related to <code>DeleteBucketPolicy</code>
47
75
  * </p>
48
76
  * <ul>
@@ -23,7 +23,10 @@ export interface DeleteBucketReplicationCommandOutput extends __MetadataBearer {
23
23
  }
24
24
  /**
25
25
  * @public
26
- * <p> Deletes the replication configuration from the bucket.</p>
26
+ * <note>
27
+ * <p>This operation is not supported by directory buckets.</p>
28
+ * </note>
29
+ * <p> Deletes the replication configuration from the bucket.</p>
27
30
  * <p>To use this operation, you must have permissions to perform the
28
31
  * <code>s3:PutReplicationConfiguration</code> action. The bucket owner has these
29
32
  * permissions by default and can grant it to others. For more information about permissions,
@@ -23,7 +23,10 @@ export interface DeleteBucketTaggingCommandOutput extends __MetadataBearer {
23
23
  }
24
24
  /**
25
25
  * @public
26
- * <p>Deletes the tags from the bucket.</p>
26
+ * <note>
27
+ * <p>This operation is not supported by directory buckets.</p>
28
+ * </note>
29
+ * <p>Deletes the tags from the bucket.</p>
27
30
  * <p>To use this operation, you must have permission to perform the
28
31
  * <code>s3:PutBucketTagging</code> action. By default, the bucket owner has this
29
32
  * permission and can grant this permission to others. </p>
@@ -23,7 +23,10 @@ export interface DeleteBucketWebsiteCommandOutput extends __MetadataBearer {
23
23
  }
24
24
  /**
25
25
  * @public
26
- * <p>This action removes the website configuration for a bucket. Amazon S3 returns a <code>200
26
+ * <note>
27
+ * <p>This operation is not supported by directory buckets.</p>
28
+ * </note>
29
+ * <p>This action removes the website configuration for a bucket. Amazon S3 returns a <code>200
27
30
  * OK</code> response upon successfully deleting a website configuration on the specified
28
31
  * bucket. You will get a <code>200 OK</code> response if the website configuration you are
29
32
  * trying to delete does not exist on the bucket. Amazon S3 returns a <code>404</code> response if
@@ -23,24 +23,96 @@ export interface DeleteObjectCommandOutput extends DeleteObjectOutput, __Metadat
23
23
  }
24
24
  /**
25
25
  * @public
26
- * <p>Removes the null version (if there is one) of an object and inserts a delete marker,
27
- * which becomes the latest version of the object. If there isn't a null version, Amazon S3 does
28
- * not remove any objects but will still respond that the command was successful.</p>
29
- * <p>To remove a specific version, you must use the version Id subresource. Using this
30
- * subresource permanently deletes the version. If the object deleted is a delete marker, Amazon S3
31
- * sets the response header, <code>x-amz-delete-marker</code>, to true. </p>
26
+ * <p>Removes an object from a bucket. The behavior depends on the bucket's versioning state: </p>
27
+ * <ul>
28
+ * <li>
29
+ * <p>If versioning is enabled, the operation removes the null version (if there is one) of an object and inserts a delete marker,
30
+ * which becomes the latest version of the object. If there isn't a null version, Amazon S3 does
31
+ * not remove any objects but will still respond that the command was successful.</p>
32
+ * </li>
33
+ * <li>
34
+ * <p>If versioning is suspended or not enabled, the operation permanently deletes the object.</p>
35
+ * </li>
36
+ * </ul>
37
+ * <note>
38
+ * <ul>
39
+ * <li>
40
+ * <p>
41
+ * <b>Directory buckets</b> - S3 Versioning isn't enabled and supported for directory buckets. For this API operation, only the <code>null</code> value of the version ID is supported by directory buckets. You can only specify <code>null</code>
42
+ * to the <code>versionId</code> query parameter in the request.</p>
43
+ * </li>
44
+ * <li>
45
+ * <p>
46
+ * <b>Directory buckets</b> - For directory buckets, you must make requests for this API operation to the Zonal endpoint. These endpoints support virtual-hosted-style requests in the format <code>https://<i>bucket_name</i>.s3express-<i>az_id</i>.<i>region</i>.amazonaws.com/<i>key-name</i>
47
+ * </code>. Path-style requests are not supported. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-Regions-and-Zones.html">Regional and Zonal endpoints</a> in the
48
+ * <i>Amazon S3 User Guide</i>.</p>
49
+ * </li>
50
+ * </ul>
51
+ * </note>
52
+ * <p>To remove a specific version, you must use the <code>versionId</code> query parameter. Using this
53
+ * query parameter permanently deletes the version. If the object deleted is a delete marker, Amazon S3
54
+ * sets the response header <code>x-amz-delete-marker</code> to true. </p>
32
55
  * <p>If the object you want to delete is in a bucket where the bucket versioning
33
56
  * configuration is MFA Delete enabled, you must include the <code>x-amz-mfa</code> request
34
57
  * header in the DELETE <code>versionId</code> request. Requests that include
35
- * <code>x-amz-mfa</code> must use HTTPS. </p>
36
- * <p> For more information about MFA Delete, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/UsingMFADelete.html">Using MFA Delete</a>. To see sample
58
+ * <code>x-amz-mfa</code> must use HTTPS. For more information about MFA Delete, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/UsingMFADelete.html">Using MFA Delete</a> in the <i>Amazon S3
59
+ * User Guide</i>. To see sample
37
60
  * requests that use versioning, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/RESTObjectDELETE.html#ExampleVersionObjectDelete">Sample
38
61
  * Request</a>. </p>
39
- * <p>You can delete objects by explicitly calling DELETE Object or configure its lifecycle
40
- * (<a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutBucketLifecycle.html">PutBucketLifecycle</a>) to enable Amazon S3 to remove them for you. If you want to block
62
+ * <note>
63
+ * <p>
64
+ * <b>Directory buckets</b> - MFA delete is not supported by directory buckets.</p>
65
+ * </note>
66
+ * <p>You can delete objects by explicitly calling DELETE Object or calling
67
+ * (<a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutBucketLifecycle.html">PutBucketLifecycle</a>) to enable Amazon S3 to remove them for you. If you want to block
41
68
  * users or accounts from removing or deleting objects from your bucket, you must deny them
42
69
  * the <code>s3:DeleteObject</code>, <code>s3:DeleteObjectVersion</code>, and
43
- * <code>s3:PutLifeCycleConfiguration</code> actions. </p>
70
+ * <code>s3:PutLifeCycleConfiguration</code> actions. </p>
71
+ * <note>
72
+ * <p>
73
+ * <b>Directory buckets</b> - S3 Lifecycle is not supported by directory buckets.</p>
74
+ * </note>
75
+ * <dl>
76
+ * <dt>Permissions</dt>
77
+ * <dd>
78
+ * <ul>
79
+ * <li>
80
+ * <p>
81
+ * <b>General purpose bucket permissions</b> - The following permissions are required in your policies when your
82
+ * <code>DeleteObjects</code> request includes specific headers.</p>
83
+ * <ul>
84
+ * <li>
85
+ * <p>
86
+ * <b>
87
+ * <code>s3:DeleteObject</code>
88
+ * </b> - To delete an object from a bucket, you must always have the <code>s3:DeleteObject</code> permission.</p>
89
+ * </li>
90
+ * <li>
91
+ * <p>
92
+ * <b>
93
+ * <code>s3:DeleteObjectVersion</code>
94
+ * </b> - To delete a specific version of an object from a versiong-enabled bucket, you must have the <code>s3:DeleteObjectVersion</code> permission.</p>
95
+ * </li>
96
+ * </ul>
97
+ * </li>
98
+ * <li>
99
+ * <p>
100
+ * <b>Directory bucket permissions</b> - To grant access to this API operation on a directory bucket, we recommend that you use the <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_CreateSession.html">
101
+ * <code>CreateSession</code>
102
+ * </a> API operation for session-based authorization. Specifically, you grant the <code>s3express:CreateSession</code> permission to the directory bucket in a bucket policy or an IAM identity-based policy. Then, you make the <code>CreateSession</code> API call on the bucket to obtain a session token. With the session token in your request header, you can make API requests to this operation. After the session token expires, you make another <code>CreateSession</code> API call to generate a new session token for use.
103
+ * Amazon Web Services CLI or SDKs create session and refresh the session token automatically to avoid service interruptions when a session expires. For more information about authorization, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_CreateSession.html">
104
+ * <code>CreateSession</code>
105
+ * </a>.</p>
106
+ * </li>
107
+ * </ul>
108
+ * </dd>
109
+ * <dt>HTTP Host header syntax</dt>
110
+ * <dd>
111
+ * <p>
112
+ * <b>Directory buckets </b> - The HTTP Host header syntax is <code>
113
+ * <i>Bucket_name</i>.s3express-<i>az_id</i>.<i>region</i>.amazonaws.com</code>.</p>
114
+ * </dd>
115
+ * </dl>
44
116
  * <p>The following action is related to <code>DeleteObject</code>:</p>
45
117
  * <ul>
46
118
  * <li>
@@ -23,7 +23,10 @@ export interface DeleteObjectTaggingCommandOutput extends DeleteObjectTaggingOut
23
23
  }
24
24
  /**
25
25
  * @public
26
- * <p>Removes the entire tag set from the specified object. For more information about
26
+ * <note>
27
+ * <p>This operation is not supported by directory buckets.</p>
28
+ * </note>
29
+ * <p>Removes the entire tag set from the specified object. For more information about
27
30
  * managing object tags, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/object-tagging.html"> Object Tagging</a>.</p>
28
31
  * <p>To use this operation, you must have permission to perform the
29
32
  * <code>s3:DeleteObjectTagging</code> action.</p>
@@ -72,39 +75,39 @@ export interface DeleteObjectTaggingCommandOutput extends DeleteObjectTaggingOut
72
75
  * @throws {@link S3ServiceException}
73
76
  * <p>Base exception class for all service exceptions from S3 service.</p>
74
77
  *
75
- * @example To remove tag set from an object version
78
+ * @example To remove tag set from an object
76
79
  * ```javascript
77
- * // The following example removes tag set associated with the specified object version. The request specifies both the object key and object version.
80
+ * // The following example removes tag set associated with the specified object. If the bucket is versioning enabled, the operation removes tag set from the latest object version.
78
81
  * const input = {
79
82
  * "Bucket": "examplebucket",
80
- * "Key": "HappyFace.jpg",
81
- * "VersionId": "ydlaNkwWm0SfKJR.T1b1fIdPRbldTYRI"
83
+ * "Key": "HappyFace.jpg"
82
84
  * };
83
85
  * const command = new DeleteObjectTaggingCommand(input);
84
86
  * const response = await client.send(command);
85
87
  * /* response ==
86
88
  * {
87
- * "VersionId": "ydlaNkwWm0SfKJR.T1b1fIdPRbldTYRI"
89
+ * "VersionId": "null"
88
90
  * }
89
91
  * *\/
90
- * // example id: to-remove-tag-set-from-an-object-version-1483145285913
92
+ * // example id: to-remove-tag-set-from-an-object-1483145342862
91
93
  * ```
92
94
  *
93
- * @example To remove tag set from an object
95
+ * @example To remove tag set from an object version
94
96
  * ```javascript
95
- * // The following example removes tag set associated with the specified object. If the bucket is versioning enabled, the operation removes tag set from the latest object version.
97
+ * // The following example removes tag set associated with the specified object version. The request specifies both the object key and object version.
96
98
  * const input = {
97
99
  * "Bucket": "examplebucket",
98
- * "Key": "HappyFace.jpg"
100
+ * "Key": "HappyFace.jpg",
101
+ * "VersionId": "ydlaNkwWm0SfKJR.T1b1fIdPRbldTYRI"
99
102
  * };
100
103
  * const command = new DeleteObjectTaggingCommand(input);
101
104
  * const response = await client.send(command);
102
105
  * /* response ==
103
106
  * {
104
- * "VersionId": "null"
107
+ * "VersionId": "ydlaNkwWm0SfKJR.T1b1fIdPRbldTYRI"
105
108
  * }
106
109
  * *\/
107
- * // example id: to-remove-tag-set-from-an-object-1483145342862
110
+ * // example id: to-remove-tag-set-from-an-object-version-1483145285913
108
111
  * ```
109
112
  *
110
113
  */