@aws-sdk/client-s3 3.460.0 → 3.462.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 +7 -7
@@ -24,166 +24,141 @@ export interface GetObjectCommandOutput extends Omit<GetObjectOutput, "Body">, _
24
24
  }
25
25
  /**
26
26
  * @public
27
- * <p>Retrieves objects from Amazon S3. To use <code>GET</code>, you must have <code>READ</code>
28
- * access to the object. If you grant <code>READ</code> access to the anonymous user, you can
29
- * return the object without using an authorization header.</p>
30
- * <p>An Amazon S3 bucket has no directory hierarchy such as you would find in a typical computer
31
- * file system. You can, however, create a logical hierarchy by using object key names that
32
- * imply a folder structure. For example, instead of naming an object <code>sample.jpg</code>,
33
- * you can name it <code>photos/2006/February/sample.jpg</code>.</p>
34
- * <p>To get an object from such a logical hierarchy, specify the full key name for the object
35
- * in the <code>GET</code> operation. For a virtual hosted-style request example, if you have
36
- * the object <code>photos/2006/February/sample.jpg</code>, specify the resource as
27
+ * <p>Retrieves an object from Amazon S3.</p>
28
+ * <p>In the <code>GetObject</code> request, specify the full key name for the object.</p>
29
+ * <p>
30
+ * <b>General purpose buckets</b> - Both the virtual-hosted-style requests and the path-style requests are supported. For a virtual hosted-style request example, if you have
31
+ * the object <code>photos/2006/February/sample.jpg</code>, specify the object key name as
37
32
  * <code>/photos/2006/February/sample.jpg</code>. For a path-style request example, if you
38
33
  * have the object <code>photos/2006/February/sample.jpg</code> in the bucket named
39
- * <code>examplebucket</code>, specify the resource as
34
+ * <code>examplebucket</code>, specify the object key name as
40
35
  * <code>/examplebucket/photos/2006/February/sample.jpg</code>. For more information about
41
36
  * request types, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/VirtualHosting.html#VirtualHostingSpecifyBucket">HTTP Host
42
- * Header Bucket Specification</a>.</p>
43
- * <p>For more information about returning the ACL of an object, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetObjectAcl.html">GetObjectAcl</a>.</p>
44
- * <p>If the object you are retrieving is stored in the S3 Glacier Flexible Retrieval or
45
- * S3 Glacier Deep Archive storage class, or S3 Intelligent-Tiering Archive or
46
- * S3 Intelligent-Tiering Deep Archive tiers, before you can retrieve the object you must first restore a
47
- * copy using <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_RestoreObject.html">RestoreObject</a>. Otherwise, this action returns an
48
- * <code>InvalidObjectState</code> error. For information about restoring archived objects,
49
- * see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/restoring-objects.html">Restoring
50
- * Archived Objects</a>.</p>
51
- * <p>Encryption request headers, like <code>x-amz-server-side-encryption</code>, should not
52
- * be sent for GET requests if your object uses server-side encryption with Key Management Service (KMS)
53
- * keys (SSE-KMS), dual-layer server-side encryption with Amazon Web Services KMS keys (DSSE-KMS), or
54
- * server-side encryption with Amazon S3 managed encryption keys (SSE-S3). If your object does use
55
- * these types of keys, you’ll get an HTTP 400 Bad Request error.</p>
56
- * <p>If you encrypt an object by using server-side encryption with customer-provided
57
- * encryption keys (SSE-C) when you store the object in Amazon S3, then when you GET the object,
58
- * you must use the following headers:</p>
59
- * <ul>
60
- * <li>
61
- * <p>
62
- * <code>x-amz-server-side-encryption-customer-algorithm</code>
63
- * </p>
64
- * </li>
65
- * <li>
66
- * <p>
67
- * <code>x-amz-server-side-encryption-customer-key</code>
68
- * </p>
69
- * </li>
70
- * <li>
71
- * <p>
72
- * <code>x-amz-server-side-encryption-customer-key-MD5</code>
73
- * </p>
74
- * </li>
75
- * </ul>
76
- * <p>For more information about SSE-C, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/ServerSideEncryptionCustomerKeys.html">Server-Side Encryption
77
- * (Using Customer-Provided Encryption Keys)</a>.</p>
78
- * <p>Assuming you have the relevant permission to read object tags, the response also returns
79
- * the <code>x-amz-tagging-count</code> header that provides the count of number of tags
80
- * associated with the object. You can use <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetObjectTagging.html">GetObjectTagging</a> to retrieve
81
- * the tag set associated with an object.</p>
37
+ * Header Bucket Specification</a> in the <i>Amazon S3 User Guide</i>.</p>
38
+ * <p>
39
+ * <b>Directory buckets</b> - Only virtual-hosted-style requests are supported. For a virtual hosted-style request example, if you have the object <code>photos/2006/February/sample.jpg</code> in the bucket named <code>examplebucket--use1-az5--x-s3</code>, specify the object key name as <code>/photos/2006/February/sample.jpg</code>. Also, when you make requests to this API operation, your requests are sent 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>
40
+ * </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
41
+ * <i>Amazon S3 User Guide</i>.</p>
82
42
  * <dl>
83
43
  * <dt>Permissions</dt>
84
44
  * <dd>
85
- * <p>You need the relevant read object (or version) permission for this operation.
86
- * For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/using-with-s3-actions.html">Specifying Permissions in
87
- * a Policy</a>. If the object that you request doesn’t exist, the error that
88
- * Amazon S3 returns depends on whether you also have the <code>s3:ListBucket</code>
89
- * permission.</p>
90
- * <p>If you have the <code>s3:ListBucket</code> permission on the bucket, Amazon S3
91
- * returns an HTTP status code 404 (Not Found) error.</p>
92
- * <p>If you don’t have the <code>s3:ListBucket</code> permission, Amazon S3 returns an
93
- * HTTP status code 403 ("access denied") error.</p>
45
+ * <ul>
46
+ * <li>
47
+ * <p>
48
+ * <b>General purpose bucket permissions</b> - You must have the required permissions in a policy. To use <code>GetObject</code>, you must have the <code>READ</code>
49
+ * access to the object (or version). If you grant <code>READ</code> access to the anonymous user, the <code>GetObject</code> operation
50
+ * returns the object without using an authorization header. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/using-with-s3-actions.html">Specifying permissions in
51
+ * a policy</a> in the <i>Amazon S3 User Guide</i>.</p>
52
+ * <p>If you include a <code>versionId</code> in your request header, you must have the
53
+ * <code>s3:GetObjectVersion</code> permission to access a specific
54
+ * version of an object. The <code>s3:GetObject</code> permission is not required in this scenario.</p>
55
+ * <p>If you request the
56
+ * current version of an object without a specific <code>versionId</code> in the request header, only
57
+ * the <code>s3:GetObject</code> permission is required. The <code>s3:GetObjectVersion</code> permission is not required in this scenario.
58
+ * </p>
59
+ * <p>If the object that you request doesn’t exist, the error that
60
+ * Amazon S3 returns depends on whether you also have the <code>s3:ListBucket</code>
61
+ * permission.</p>
62
+ * <ul>
63
+ * <li>
64
+ * <p>If you have the <code>s3:ListBucket</code> permission on the bucket, Amazon S3
65
+ * returns an HTTP status code <code>404 Not Found</code> error.</p>
66
+ * </li>
67
+ * <li>
68
+ * <p>If you don’t have the <code>s3:ListBucket</code> permission, Amazon S3 returns an
69
+ * HTTP status code <code>403 Access Denied</code> error.</p>
70
+ * </li>
71
+ * </ul>
72
+ * </li>
73
+ * <li>
74
+ * <p>
75
+ * <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">
76
+ * <code>CreateSession</code>
77
+ * </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.
78
+ * 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">
79
+ * <code>CreateSession</code>
80
+ * </a>.</p>
81
+ * </li>
82
+ * </ul>
83
+ * </dd>
84
+ * <dt>Storage classes</dt>
85
+ * <dd>
86
+ * <p>If the object you are retrieving is stored in the S3 Glacier Flexible Retrieval storage class, the
87
+ * S3 Glacier Deep Archive storage class, the S3 Intelligent-Tiering Archive Access tier, or the
88
+ * S3 Intelligent-Tiering Deep Archive Access tier, before you can retrieve the object you must first restore a
89
+ * copy using <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_RestoreObject.html">RestoreObject</a>. Otherwise, this operation returns an
90
+ * <code>InvalidObjectState</code> error. For information about restoring archived objects,
91
+ * see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/restoring-objects.html">Restoring
92
+ * Archived Objects</a> in the <i>Amazon S3 User Guide</i>.</p>
93
+ * <p>
94
+ * <b>Directory buckets </b> - For directory buckets, only the S3 Express One Zone storage class is supported to store newly created objects.
95
+ * Unsupported storage class values won't write a destination object and will respond with the HTTP status code <code>400 Bad Request</code>.</p>
94
96
  * </dd>
95
- * <dt>Versioning</dt>
97
+ * <dt>Encryption</dt>
96
98
  * <dd>
97
- * <p>By default, the <code>GET</code> action returns the current version of an
98
- * object. To return a different version, use the <code>versionId</code>
99
- * subresource.</p>
100
- * <note>
101
- * <ul>
102
- * <li>
103
- * <p>If you supply a <code>versionId</code>, you need the
104
- * <code>s3:GetObjectVersion</code> permission to access a specific
105
- * version of an object. If you request a specific version, you do not need
106
- * to have the <code>s3:GetObject</code> permission. If you request the
107
- * current version without a specific version ID, only
108
- * <code>s3:GetObject</code> permission is required.
109
- * <code>s3:GetObjectVersion</code> permission won't be required.</p>
110
- * </li>
111
- * <li>
112
- * <p>If the current version of the object is a delete marker, Amazon S3 behaves as if the object was deleted and includes <code>x-amz-delete-marker: true</code> in the response.</p>
113
- * </li>
114
- * <li>
115
- * <p>If the specified version is a delete marker, the response returns a 405 (Method Not Allowed) error and the <code>Last-Modified: timestamp</code> response header.</p>
116
- * </li>
117
- * </ul>
118
- * </note>
119
- * <p>For more information about versioning, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutBucketVersioning.html">PutBucketVersioning</a>. </p>
99
+ * <p>Encryption request headers, like <code>x-amz-server-side-encryption</code>, should not
100
+ * be sent for the <code>GetObject</code> requests, if your object uses server-side encryption with Amazon S3 managed encryption keys (SSE-S3), server-side encryption with Key Management Service (KMS)
101
+ * keys (SSE-KMS), or dual-layer server-side encryption with Amazon Web Services KMS keys (DSSE-KMS). If you include the header in your <code>GetObject</code> requests for the object that uses
102
+ * these types of keys, you’ll get an HTTP <code>400 Bad Request</code> error.</p>
120
103
  * </dd>
121
- * <dt>Overriding Response Header Values</dt>
104
+ * <dt>Overriding response header values through the request</dt>
122
105
  * <dd>
123
- * <p>There are times when you want to override certain response header values in a
124
- * <code>GET</code> response. For example, you might override the
125
- * <code>Content-Disposition</code> response header value in your <code>GET</code>
106
+ * <p>There are times when you want to override certain response header values of a
107
+ * <code>GetObject</code> response. For example, you might override the
108
+ * <code>Content-Disposition</code> response header value through your <code>GetObject</code>
126
109
  * request.</p>
127
- * <p>You can override values for a set of response headers using the following query
128
- * parameters. These response header values are sent only on a successful request,
129
- * that is, when status code 200 OK is returned. The set of headers you can override
130
- * using these parameters is a subset of the headers that Amazon S3 accepts when you
131
- * create an object. The response headers that you can override for the
132
- * <code>GET</code> response are <code>Content-Type</code>,
133
- * <code>Content-Language</code>, <code>Expires</code>,
134
- * <code>Cache-Control</code>, <code>Content-Disposition</code>, and
135
- * <code>Content-Encoding</code>. To override these header values in the
136
- * <code>GET</code> response, you use the following request parameters.</p>
137
- * <note>
138
- * <p>You must sign the request, either using an Authorization header or a
139
- * presigned URL, when using these parameters. They cannot be used with an
140
- * unsigned (anonymous) request.</p>
141
- * </note>
110
+ * <p>You can override values for a set of response headers. These modified response header values are included only in a successful response, that is, when the HTTP status code <code>200 OK</code> is returned.
111
+ * The headers you can override using the following query parameters in the request are a subset of the headers that Amazon S3 accepts when you create an object.
112
+ * </p>
113
+ * <p>The response headers that you can override for the
114
+ * <code>GetObject</code> response are <code>Cache-Control</code>, <code>Content-Disposition</code>,
115
+ * <code>Content-Encoding</code>, <code>Content-Language</code>, <code>Content-Type</code>, and <code>Expires</code>.</p>
116
+ * <p>To override values for a set of response headers in the
117
+ * <code>GetObject</code> response, you can use the following query
118
+ * parameters in the request.</p>
142
119
  * <ul>
143
120
  * <li>
144
121
  * <p>
145
- * <code>response-content-type</code>
122
+ * <code>response-cache-control</code>
146
123
  * </p>
147
124
  * </li>
148
125
  * <li>
149
126
  * <p>
150
- * <code>response-content-language</code>
127
+ * <code>response-content-disposition</code>
151
128
  * </p>
152
129
  * </li>
153
130
  * <li>
154
131
  * <p>
155
- * <code>response-expires</code>
132
+ * <code>response-content-encoding</code>
156
133
  * </p>
157
134
  * </li>
158
135
  * <li>
159
136
  * <p>
160
- * <code>response-cache-control</code>
137
+ * <code>response-content-language</code>
161
138
  * </p>
162
139
  * </li>
163
140
  * <li>
164
141
  * <p>
165
- * <code>response-content-disposition</code>
142
+ * <code>response-content-type</code>
166
143
  * </p>
167
144
  * </li>
168
145
  * <li>
169
146
  * <p>
170
- * <code>response-content-encoding</code>
147
+ * <code>response-expires</code>
171
148
  * </p>
172
149
  * </li>
173
150
  * </ul>
151
+ * <note>
152
+ * <p>When you use these parameters, you must sign the request by using either an Authorization header or a
153
+ * presigned URL. These parameters cannot be used with an
154
+ * unsigned (anonymous) request.</p>
155
+ * </note>
174
156
  * </dd>
175
- * <dt>Overriding Response Header Values</dt>
157
+ * <dt>HTTP Host header syntax</dt>
176
158
  * <dd>
177
- * <p>If both of the <code>If-Match</code> and <code>If-Unmodified-Since</code>
178
- * headers are present in the request as follows: <code>If-Match</code> condition
179
- * evaluates to <code>true</code>, and; <code>If-Unmodified-Since</code> condition
180
- * evaluates to <code>false</code>; then, S3 returns 200 OK and the data requested. </p>
181
- * <p>If both of the <code>If-None-Match</code> and <code>If-Modified-Since</code>
182
- * headers are present in the request as follows:<code> If-None-Match</code>
183
- * condition evaluates to <code>false</code>, and; <code>If-Modified-Since</code>
184
- * condition evaluates to <code>true</code>; then, S3 returns 304 Not Modified
185
- * response code.</p>
186
- * <p>For more information about conditional requests, see <a href="https://tools.ietf.org/html/rfc7232">RFC 7232</a>.</p>
159
+ * <p>
160
+ * <b>Directory buckets </b> - The HTTP Host header syntax is <code>
161
+ * <i>Bucket_name</i>.s3express-<i>az_id</i>.<i>region</i>.amazonaws.com</code>.</p>
187
162
  * </dd>
188
163
  * </dl>
189
164
  * <p>The following operations are related to <code>GetObject</code>:</p>
@@ -261,7 +236,7 @@ export interface GetObjectCommandOutput extends Omit<GetObjectOutput, "Body">, _
261
236
  * // SSECustomerKeyMD5: "STRING_VALUE",
262
237
  * // SSEKMSKeyId: "STRING_VALUE",
263
238
  * // BucketKeyEnabled: true || false,
264
- * // StorageClass: "STANDARD" || "REDUCED_REDUNDANCY" || "STANDARD_IA" || "ONEZONE_IA" || "INTELLIGENT_TIERING" || "GLACIER" || "DEEP_ARCHIVE" || "OUTPOSTS" || "GLACIER_IR" || "SNOW",
239
+ * // StorageClass: "STANDARD" || "REDUCED_REDUNDANCY" || "STANDARD_IA" || "ONEZONE_IA" || "INTELLIGENT_TIERING" || "GLACIER" || "DEEP_ARCHIVE" || "OUTPOSTS" || "GLACIER_IR" || "SNOW" || "EXPRESS_ONEZONE",
265
240
  * // RequestCharged: "requester",
266
241
  * // ReplicationStatus: "COMPLETE" || "PENDING" || "FAILED" || "REPLICA" || "COMPLETED",
267
242
  * // PartsCount: Number("int"),
@@ -281,6 +256,13 @@ export interface GetObjectCommandOutput extends Omit<GetObjectOutput, "Body">, _
281
256
  *
282
257
  * @throws {@link InvalidObjectState} (client fault)
283
258
  * <p>Object is archived and inaccessible until restored.</p>
259
+ * <p>If the object you are retrieving is stored in the S3 Glacier Flexible Retrieval storage class, the
260
+ * S3 Glacier Deep Archive storage class, the S3 Intelligent-Tiering Archive Access tier, or the
261
+ * S3 Intelligent-Tiering Deep Archive Access tier, before you can retrieve the object you must first restore a
262
+ * copy using <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_RestoreObject.html">RestoreObject</a>. Otherwise, this operation returns an
263
+ * <code>InvalidObjectState</code> error. For information about restoring archived objects,
264
+ * see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/restoring-objects.html">Restoring
265
+ * Archived Objects</a> in the <i>Amazon S3 User Guide</i>.</p>
284
266
  *
285
267
  * @throws {@link NoSuchKey} (client fault)
286
268
  * <p>The specified key does not exist.</p>
@@ -288,53 +270,53 @@ export interface GetObjectCommandOutput extends Omit<GetObjectOutput, "Body">, _
288
270
  * @throws {@link S3ServiceException}
289
271
  * <p>Base exception class for all service exceptions from S3 service.</p>
290
272
  *
291
- * @example To retrieve a byte range of an object
273
+ * @example To retrieve an object
292
274
  * ```javascript
293
- * // The following example retrieves an object for an S3 bucket. The request specifies the range header to retrieve a specific byte range.
275
+ * // The following example retrieves an object for an S3 bucket.
294
276
  * const input = {
295
277
  * "Bucket": "examplebucket",
296
- * "Key": "SampleFile.txt",
297
- * "Range": "bytes=0-9"
278
+ * "Key": "HappyFace.jpg"
298
279
  * };
299
280
  * const command = new GetObjectCommand(input);
300
281
  * const response = await client.send(command);
301
282
  * /* response ==
302
283
  * {
303
284
  * "AcceptRanges": "bytes",
304
- * "ContentLength": "10",
305
- * "ContentRange": "bytes 0-9/43",
306
- * "ContentType": "text/plain",
307
- * "ETag": "\"0d94420ffd0bc68cd3d152506b97a9cc\"",
308
- * "LastModified": "Thu, 09 Oct 2014 22:57:28 GMT",
285
+ * "ContentLength": "3191",
286
+ * "ContentType": "image/jpeg",
287
+ * "ETag": "\"6805f2cfc46c0f04559748bb039d69ae\"",
288
+ * "LastModified": "Thu, 15 Dec 2016 01:19:41 GMT",
309
289
  * "Metadata": {},
290
+ * "TagCount": 2,
310
291
  * "VersionId": "null"
311
292
  * }
312
293
  * *\/
313
- * // example id: to-retrieve-a-byte-range-of-an-object--1481832674603
294
+ * // example id: to-retrieve-an-object-1481827837012
314
295
  * ```
315
296
  *
316
- * @example To retrieve an object
297
+ * @example To retrieve a byte range of an object
317
298
  * ```javascript
318
- * // The following example retrieves an object for an S3 bucket.
299
+ * // The following example retrieves an object for an S3 bucket. The request specifies the range header to retrieve a specific byte range.
319
300
  * const input = {
320
301
  * "Bucket": "examplebucket",
321
- * "Key": "HappyFace.jpg"
302
+ * "Key": "SampleFile.txt",
303
+ * "Range": "bytes=0-9"
322
304
  * };
323
305
  * const command = new GetObjectCommand(input);
324
306
  * const response = await client.send(command);
325
307
  * /* response ==
326
308
  * {
327
309
  * "AcceptRanges": "bytes",
328
- * "ContentLength": "3191",
329
- * "ContentType": "image/jpeg",
330
- * "ETag": "\"6805f2cfc46c0f04559748bb039d69ae\"",
331
- * "LastModified": "Thu, 15 Dec 2016 01:19:41 GMT",
310
+ * "ContentLength": "10",
311
+ * "ContentRange": "bytes 0-9/43",
312
+ * "ContentType": "text/plain",
313
+ * "ETag": "\"0d94420ffd0bc68cd3d152506b97a9cc\"",
314
+ * "LastModified": "Thu, 09 Oct 2014 22:57:28 GMT",
332
315
  * "Metadata": {},
333
- * "TagCount": 2,
334
316
  * "VersionId": "null"
335
317
  * }
336
318
  * *\/
337
- * // example id: to-retrieve-an-object-1481827837012
319
+ * // example id: to-retrieve-a-byte-range-of-an-object--1481832674603
338
320
  * ```
339
321
  *
340
322
  */
@@ -23,9 +23,12 @@ export interface GetObjectLegalHoldCommandOutput extends GetObjectLegalHoldOutpu
23
23
  }
24
24
  /**
25
25
  * @public
26
- * <p>Gets an object's current legal hold status. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/object-lock.html">Locking
26
+ * <note>
27
+ * <p>This operation is not supported by directory buckets.</p>
28
+ * </note>
29
+ * <p>Gets an object's current legal hold status. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/object-lock.html">Locking
27
30
  * Objects</a>.</p>
28
- * <p>This action is not supported by Amazon S3 on Outposts.</p>
31
+ * <p>This functionality is not supported for Amazon S3 on Outposts.</p>
29
32
  * <p>The following action is related to <code>GetObjectLegalHold</code>:</p>
30
33
  * <ul>
31
34
  * <li>
@@ -23,7 +23,10 @@ export interface GetObjectLockConfigurationCommandOutput extends GetObjectLockCo
23
23
  }
24
24
  /**
25
25
  * @public
26
- * <p>Gets the Object Lock configuration for a bucket. The rule specified in the Object Lock
26
+ * <note>
27
+ * <p>This operation is not supported by directory buckets.</p>
28
+ * </note>
29
+ * <p>Gets the Object Lock configuration for a bucket. The rule specified in the Object Lock
27
30
  * configuration will be applied by default to every new object placed in the specified
28
31
  * bucket. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/object-lock.html">Locking Objects</a>.</p>
29
32
  * <p>The following action is related to <code>GetObjectLockConfiguration</code>:</p>
@@ -23,9 +23,12 @@ export interface GetObjectRetentionCommandOutput extends GetObjectRetentionOutpu
23
23
  }
24
24
  /**
25
25
  * @public
26
- * <p>Retrieves an object's retention settings. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/object-lock.html">Locking
26
+ * <note>
27
+ * <p>This operation is not supported by directory buckets.</p>
28
+ * </note>
29
+ * <p>Retrieves an object's retention settings. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/object-lock.html">Locking
27
30
  * Objects</a>.</p>
28
- * <p>This action is not supported by Amazon S3 on Outposts.</p>
31
+ * <p>This functionality is not supported for Amazon S3 on Outposts.</p>
29
32
  * <p>The following action is related to <code>GetObjectRetention</code>:</p>
30
33
  * <ul>
31
34
  * <li>
@@ -23,7 +23,10 @@ export interface GetObjectTaggingCommandOutput extends GetObjectTaggingOutput, _
23
23
  }
24
24
  /**
25
25
  * @public
26
- * <p>Returns the tag-set of an object. You send the GET request against the tagging
26
+ * <note>
27
+ * <p>This operation is not supported by directory buckets.</p>
28
+ * </note>
29
+ * <p>Returns the tag-set of an object. You send the GET request against the tagging
27
30
  * subresource associated with the object.</p>
28
31
  * <p>To use this operation, you must have permission to perform the
29
32
  * <code>s3:GetObjectTagging</code> action. By default, the GET action returns information
@@ -88,12 +91,13 @@ export interface GetObjectTaggingCommandOutput extends GetObjectTaggingOutput, _
88
91
  * @throws {@link S3ServiceException}
89
92
  * <p>Base exception class for all service exceptions from S3 service.</p>
90
93
  *
91
- * @example To retrieve tag set of an object
94
+ * @example To retrieve tag set of a specific object version
92
95
  * ```javascript
93
- * // The following example retrieves tag set of an object.
96
+ * // The following example retrieves tag set of an object. The request specifies object version.
94
97
  * const input = {
95
98
  * "Bucket": "examplebucket",
96
- * "Key": "HappyFace.jpg"
99
+ * "Key": "exampleobject",
100
+ * "VersionId": "ydlaNkwWm0SfKJR.T1b1fIdPRbldTYRI"
97
101
  * };
98
102
  * const command = new GetObjectTaggingCommand(input);
99
103
  * const response = await client.send(command);
@@ -101,27 +105,22 @@ export interface GetObjectTaggingCommandOutput extends GetObjectTaggingOutput, _
101
105
  * {
102
106
  * "TagSet": [
103
107
  * {
104
- * "Key": "Key4",
105
- * "Value": "Value4"
106
- * },
107
- * {
108
- * "Key": "Key3",
109
- * "Value": "Value3"
108
+ * "Key": "Key1",
109
+ * "Value": "Value1"
110
110
  * }
111
111
  * ],
112
- * "VersionId": "null"
112
+ * "VersionId": "ydlaNkwWm0SfKJR.T1b1fIdPRbldTYRI"
113
113
  * }
114
114
  * *\/
115
- * // example id: to-retrieve-tag-set-of-an-object-1481833847896
115
+ * // example id: to-retrieve-tag-set-of-a-specific-object-version-1483400283663
116
116
  * ```
117
117
  *
118
- * @example To retrieve tag set of a specific object version
118
+ * @example To retrieve tag set of an object
119
119
  * ```javascript
120
- * // The following example retrieves tag set of an object. The request specifies object version.
120
+ * // The following example retrieves tag set of an object.
121
121
  * const input = {
122
122
  * "Bucket": "examplebucket",
123
- * "Key": "exampleobject",
124
- * "VersionId": "ydlaNkwWm0SfKJR.T1b1fIdPRbldTYRI"
123
+ * "Key": "HappyFace.jpg"
125
124
  * };
126
125
  * const command = new GetObjectTaggingCommand(input);
127
126
  * const response = await client.send(command);
@@ -129,14 +128,18 @@ export interface GetObjectTaggingCommandOutput extends GetObjectTaggingOutput, _
129
128
  * {
130
129
  * "TagSet": [
131
130
  * {
132
- * "Key": "Key1",
133
- * "Value": "Value1"
131
+ * "Key": "Key4",
132
+ * "Value": "Value4"
133
+ * },
134
+ * {
135
+ * "Key": "Key3",
136
+ * "Value": "Value3"
134
137
  * }
135
138
  * ],
136
- * "VersionId": "ydlaNkwWm0SfKJR.T1b1fIdPRbldTYRI"
139
+ * "VersionId": "null"
137
140
  * }
138
141
  * *\/
139
- * // example id: to-retrieve-tag-set-of-a-specific-object-version-1483400283663
142
+ * // example id: to-retrieve-tag-set-of-an-object-1481833847896
140
143
  * ```
141
144
  *
142
145
  */
@@ -24,7 +24,10 @@ export interface GetObjectTorrentCommandOutput extends Omit<GetObjectTorrentOutp
24
24
  }
25
25
  /**
26
26
  * @public
27
- * <p>Returns torrent files from a bucket. BitTorrent can save you bandwidth when you're
27
+ * <note>
28
+ * <p>This operation is not supported by directory buckets.</p>
29
+ * </note>
30
+ * <p>Returns torrent files from a bucket. BitTorrent can save you bandwidth when you're
28
31
  * distributing large files.</p>
29
32
  * <note>
30
33
  * <p>You can get torrent only for objects that are less than 5 GB in size, and that are
@@ -32,7 +35,7 @@ export interface GetObjectTorrentCommandOutput extends Omit<GetObjectTorrentOutp
32
35
  * key.</p>
33
36
  * </note>
34
37
  * <p>To use GET, you must have READ access to the object.</p>
35
- * <p>This action is not supported by Amazon S3 on Outposts.</p>
38
+ * <p>This functionality is not supported for Amazon S3 on Outposts.</p>
36
39
  * <p>The following action is related to <code>GetObjectTorrent</code>:</p>
37
40
  * <ul>
38
41
  * <li>
@@ -23,7 +23,10 @@ export interface GetPublicAccessBlockCommandOutput extends GetPublicAccessBlockO
23
23
  }
24
24
  /**
25
25
  * @public
26
- * <p>Retrieves the <code>PublicAccessBlock</code> configuration for an Amazon S3 bucket. To use
26
+ * <note>
27
+ * <p>This operation is not supported by directory buckets.</p>
28
+ * </note>
29
+ * <p>Retrieves the <code>PublicAccessBlock</code> configuration for an Amazon S3 bucket. To use
27
30
  * this operation, you must have the <code>s3:GetBucketPublicAccessBlock</code> permission.
28
31
  * For more information 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>