@aws-sdk/client-s3 3.477.0 → 3.481.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 (397) hide show
  1. package/dist-cjs/commands/AbortMultipartUploadCommand.js +20 -49
  2. package/dist-cjs/commands/CompleteMultipartUploadCommand.js +22 -51
  3. package/dist-cjs/commands/CopyObjectCommand.js +22 -50
  4. package/dist-cjs/commands/CreateBucketCommand.js +22 -51
  5. package/dist-cjs/commands/CreateMultipartUploadCommand.js +21 -50
  6. package/dist-cjs/commands/CreateSessionCommand.js +20 -48
  7. package/dist-cjs/commands/DeleteBucketAnalyticsConfigurationCommand.js +20 -49
  8. package/dist-cjs/commands/DeleteBucketCommand.js +20 -49
  9. package/dist-cjs/commands/DeleteBucketCorsCommand.js +20 -49
  10. package/dist-cjs/commands/DeleteBucketEncryptionCommand.js +20 -49
  11. package/dist-cjs/commands/DeleteBucketIntelligentTieringConfigurationCommand.js +20 -49
  12. package/dist-cjs/commands/DeleteBucketInventoryConfigurationCommand.js +20 -49
  13. package/dist-cjs/commands/DeleteBucketLifecycleCommand.js +20 -49
  14. package/dist-cjs/commands/DeleteBucketMetricsConfigurationCommand.js +20 -49
  15. package/dist-cjs/commands/DeleteBucketOwnershipControlsCommand.js +20 -49
  16. package/dist-cjs/commands/DeleteBucketPolicyCommand.js +20 -49
  17. package/dist-cjs/commands/DeleteBucketReplicationCommand.js +20 -49
  18. package/dist-cjs/commands/DeleteBucketTaggingCommand.js +20 -49
  19. package/dist-cjs/commands/DeleteBucketWebsiteCommand.js +20 -49
  20. package/dist-cjs/commands/DeleteObjectCommand.js +20 -49
  21. package/dist-cjs/commands/DeleteObjectTaggingCommand.js +19 -48
  22. package/dist-cjs/commands/DeleteObjectsCommand.js +21 -50
  23. package/dist-cjs/commands/DeletePublicAccessBlockCommand.js +20 -49
  24. package/dist-cjs/commands/GetBucketAccelerateConfigurationCommand.js +20 -49
  25. package/dist-cjs/commands/GetBucketAclCommand.js +20 -49
  26. package/dist-cjs/commands/GetBucketAnalyticsConfigurationCommand.js +20 -49
  27. package/dist-cjs/commands/GetBucketCorsCommand.js +20 -49
  28. package/dist-cjs/commands/GetBucketEncryptionCommand.js +20 -49
  29. package/dist-cjs/commands/GetBucketIntelligentTieringConfigurationCommand.js +20 -49
  30. package/dist-cjs/commands/GetBucketInventoryConfigurationCommand.js +20 -49
  31. package/dist-cjs/commands/GetBucketLifecycleConfigurationCommand.js +20 -49
  32. package/dist-cjs/commands/GetBucketLocationCommand.js +20 -49
  33. package/dist-cjs/commands/GetBucketLoggingCommand.js +20 -49
  34. package/dist-cjs/commands/GetBucketMetricsConfigurationCommand.js +20 -49
  35. package/dist-cjs/commands/GetBucketNotificationConfigurationCommand.js +20 -49
  36. package/dist-cjs/commands/GetBucketOwnershipControlsCommand.js +20 -49
  37. package/dist-cjs/commands/GetBucketPolicyCommand.js +20 -49
  38. package/dist-cjs/commands/GetBucketPolicyStatusCommand.js +20 -49
  39. package/dist-cjs/commands/GetBucketReplicationCommand.js +20 -49
  40. package/dist-cjs/commands/GetBucketRequestPaymentCommand.js +20 -49
  41. package/dist-cjs/commands/GetBucketTaggingCommand.js +20 -49
  42. package/dist-cjs/commands/GetBucketVersioningCommand.js +20 -49
  43. package/dist-cjs/commands/GetBucketWebsiteCommand.js +20 -49
  44. package/dist-cjs/commands/GetObjectAclCommand.js +20 -49
  45. package/dist-cjs/commands/GetObjectAttributesCommand.js +20 -49
  46. package/dist-cjs/commands/GetObjectCommand.js +23 -52
  47. package/dist-cjs/commands/GetObjectLegalHoldCommand.js +19 -48
  48. package/dist-cjs/commands/GetObjectLockConfigurationCommand.js +19 -48
  49. package/dist-cjs/commands/GetObjectRetentionCommand.js +19 -48
  50. package/dist-cjs/commands/GetObjectTaggingCommand.js +19 -48
  51. package/dist-cjs/commands/GetObjectTorrentCommand.js +19 -48
  52. package/dist-cjs/commands/GetPublicAccessBlockCommand.js +20 -49
  53. package/dist-cjs/commands/HeadBucketCommand.js +19 -48
  54. package/dist-cjs/commands/HeadObjectCommand.js +21 -50
  55. package/dist-cjs/commands/ListBucketAnalyticsConfigurationsCommand.js +20 -49
  56. package/dist-cjs/commands/ListBucketIntelligentTieringConfigurationsCommand.js +20 -49
  57. package/dist-cjs/commands/ListBucketInventoryConfigurationsCommand.js +20 -49
  58. package/dist-cjs/commands/ListBucketMetricsConfigurationsCommand.js +19 -48
  59. package/dist-cjs/commands/ListBucketsCommand.js +18 -47
  60. package/dist-cjs/commands/ListDirectoryBucketsCommand.js +19 -48
  61. package/dist-cjs/commands/ListMultipartUploadsCommand.js +20 -49
  62. package/dist-cjs/commands/ListObjectVersionsCommand.js +20 -49
  63. package/dist-cjs/commands/ListObjectsCommand.js +20 -49
  64. package/dist-cjs/commands/ListObjectsV2Command.js +20 -49
  65. package/dist-cjs/commands/ListPartsCommand.js +21 -50
  66. package/dist-cjs/commands/PutBucketAccelerateConfigurationCommand.js +22 -51
  67. package/dist-cjs/commands/PutBucketAclCommand.js +22 -51
  68. package/dist-cjs/commands/PutBucketAnalyticsConfigurationCommand.js +20 -49
  69. package/dist-cjs/commands/PutBucketCorsCommand.js +22 -51
  70. package/dist-cjs/commands/PutBucketEncryptionCommand.js +22 -51
  71. package/dist-cjs/commands/PutBucketIntelligentTieringConfigurationCommand.js +20 -49
  72. package/dist-cjs/commands/PutBucketInventoryConfigurationCommand.js +20 -49
  73. package/dist-cjs/commands/PutBucketLifecycleConfigurationCommand.js +22 -51
  74. package/dist-cjs/commands/PutBucketLoggingCommand.js +22 -51
  75. package/dist-cjs/commands/PutBucketMetricsConfigurationCommand.js +20 -49
  76. package/dist-cjs/commands/PutBucketNotificationConfigurationCommand.js +20 -49
  77. package/dist-cjs/commands/PutBucketOwnershipControlsCommand.js +21 -50
  78. package/dist-cjs/commands/PutBucketPolicyCommand.js +22 -51
  79. package/dist-cjs/commands/PutBucketReplicationCommand.js +22 -51
  80. package/dist-cjs/commands/PutBucketRequestPaymentCommand.js +22 -51
  81. package/dist-cjs/commands/PutBucketTaggingCommand.js +22 -51
  82. package/dist-cjs/commands/PutBucketVersioningCommand.js +22 -51
  83. package/dist-cjs/commands/PutBucketWebsiteCommand.js +22 -51
  84. package/dist-cjs/commands/PutObjectAclCommand.js +22 -51
  85. package/dist-cjs/commands/PutObjectCommand.js +24 -53
  86. package/dist-cjs/commands/PutObjectLegalHoldCommand.js +21 -50
  87. package/dist-cjs/commands/PutObjectLockConfigurationCommand.js +21 -50
  88. package/dist-cjs/commands/PutObjectRetentionCommand.js +21 -50
  89. package/dist-cjs/commands/PutObjectTaggingCommand.js +21 -50
  90. package/dist-cjs/commands/PutPublicAccessBlockCommand.js +22 -51
  91. package/dist-cjs/commands/RestoreObjectCommand.js +21 -50
  92. package/dist-cjs/commands/SelectObjectContentCommand.js +24 -52
  93. package/dist-cjs/commands/UploadPartCommand.js +23 -52
  94. package/dist-cjs/commands/UploadPartCopyCommand.js +22 -50
  95. package/dist-cjs/commands/WriteGetObjectResponseCommand.js +19 -48
  96. package/dist-cjs/endpoint/EndpointParameters.js +13 -1
  97. package/dist-cjs/pagination/ListDirectoryBucketsPaginator.js +2 -24
  98. package/dist-cjs/pagination/ListObjectsV2Paginator.js +2 -24
  99. package/dist-cjs/pagination/ListPartsPaginator.js +2 -24
  100. package/dist-es/commands/AbortMultipartUploadCommand.js +20 -49
  101. package/dist-es/commands/CompleteMultipartUploadCommand.js +22 -51
  102. package/dist-es/commands/CopyObjectCommand.js +22 -50
  103. package/dist-es/commands/CreateBucketCommand.js +22 -51
  104. package/dist-es/commands/CreateMultipartUploadCommand.js +21 -50
  105. package/dist-es/commands/CreateSessionCommand.js +20 -48
  106. package/dist-es/commands/DeleteBucketAnalyticsConfigurationCommand.js +20 -49
  107. package/dist-es/commands/DeleteBucketCommand.js +20 -49
  108. package/dist-es/commands/DeleteBucketCorsCommand.js +20 -49
  109. package/dist-es/commands/DeleteBucketEncryptionCommand.js +20 -49
  110. package/dist-es/commands/DeleteBucketIntelligentTieringConfigurationCommand.js +20 -49
  111. package/dist-es/commands/DeleteBucketInventoryConfigurationCommand.js +20 -49
  112. package/dist-es/commands/DeleteBucketLifecycleCommand.js +20 -49
  113. package/dist-es/commands/DeleteBucketMetricsConfigurationCommand.js +20 -49
  114. package/dist-es/commands/DeleteBucketOwnershipControlsCommand.js +20 -49
  115. package/dist-es/commands/DeleteBucketPolicyCommand.js +20 -49
  116. package/dist-es/commands/DeleteBucketReplicationCommand.js +20 -49
  117. package/dist-es/commands/DeleteBucketTaggingCommand.js +20 -49
  118. package/dist-es/commands/DeleteBucketWebsiteCommand.js +20 -49
  119. package/dist-es/commands/DeleteObjectCommand.js +20 -49
  120. package/dist-es/commands/DeleteObjectTaggingCommand.js +19 -48
  121. package/dist-es/commands/DeleteObjectsCommand.js +21 -50
  122. package/dist-es/commands/DeletePublicAccessBlockCommand.js +20 -49
  123. package/dist-es/commands/GetBucketAccelerateConfigurationCommand.js +20 -49
  124. package/dist-es/commands/GetBucketAclCommand.js +20 -49
  125. package/dist-es/commands/GetBucketAnalyticsConfigurationCommand.js +20 -49
  126. package/dist-es/commands/GetBucketCorsCommand.js +20 -49
  127. package/dist-es/commands/GetBucketEncryptionCommand.js +20 -49
  128. package/dist-es/commands/GetBucketIntelligentTieringConfigurationCommand.js +20 -49
  129. package/dist-es/commands/GetBucketInventoryConfigurationCommand.js +20 -49
  130. package/dist-es/commands/GetBucketLifecycleConfigurationCommand.js +20 -49
  131. package/dist-es/commands/GetBucketLocationCommand.js +20 -49
  132. package/dist-es/commands/GetBucketLoggingCommand.js +20 -49
  133. package/dist-es/commands/GetBucketMetricsConfigurationCommand.js +20 -49
  134. package/dist-es/commands/GetBucketNotificationConfigurationCommand.js +20 -49
  135. package/dist-es/commands/GetBucketOwnershipControlsCommand.js +20 -49
  136. package/dist-es/commands/GetBucketPolicyCommand.js +20 -49
  137. package/dist-es/commands/GetBucketPolicyStatusCommand.js +20 -49
  138. package/dist-es/commands/GetBucketReplicationCommand.js +20 -49
  139. package/dist-es/commands/GetBucketRequestPaymentCommand.js +20 -49
  140. package/dist-es/commands/GetBucketTaggingCommand.js +20 -49
  141. package/dist-es/commands/GetBucketVersioningCommand.js +20 -49
  142. package/dist-es/commands/GetBucketWebsiteCommand.js +20 -49
  143. package/dist-es/commands/GetObjectAclCommand.js +20 -49
  144. package/dist-es/commands/GetObjectAttributesCommand.js +20 -49
  145. package/dist-es/commands/GetObjectCommand.js +23 -52
  146. package/dist-es/commands/GetObjectLegalHoldCommand.js +19 -48
  147. package/dist-es/commands/GetObjectLockConfigurationCommand.js +19 -48
  148. package/dist-es/commands/GetObjectRetentionCommand.js +19 -48
  149. package/dist-es/commands/GetObjectTaggingCommand.js +19 -48
  150. package/dist-es/commands/GetObjectTorrentCommand.js +19 -48
  151. package/dist-es/commands/GetPublicAccessBlockCommand.js +20 -49
  152. package/dist-es/commands/HeadBucketCommand.js +19 -48
  153. package/dist-es/commands/HeadObjectCommand.js +21 -50
  154. package/dist-es/commands/ListBucketAnalyticsConfigurationsCommand.js +20 -49
  155. package/dist-es/commands/ListBucketIntelligentTieringConfigurationsCommand.js +20 -49
  156. package/dist-es/commands/ListBucketInventoryConfigurationsCommand.js +20 -49
  157. package/dist-es/commands/ListBucketMetricsConfigurationsCommand.js +19 -48
  158. package/dist-es/commands/ListBucketsCommand.js +18 -47
  159. package/dist-es/commands/ListDirectoryBucketsCommand.js +19 -48
  160. package/dist-es/commands/ListMultipartUploadsCommand.js +20 -49
  161. package/dist-es/commands/ListObjectVersionsCommand.js +20 -49
  162. package/dist-es/commands/ListObjectsCommand.js +20 -49
  163. package/dist-es/commands/ListObjectsV2Command.js +20 -49
  164. package/dist-es/commands/ListPartsCommand.js +21 -50
  165. package/dist-es/commands/PutBucketAccelerateConfigurationCommand.js +22 -51
  166. package/dist-es/commands/PutBucketAclCommand.js +22 -51
  167. package/dist-es/commands/PutBucketAnalyticsConfigurationCommand.js +20 -49
  168. package/dist-es/commands/PutBucketCorsCommand.js +22 -51
  169. package/dist-es/commands/PutBucketEncryptionCommand.js +22 -51
  170. package/dist-es/commands/PutBucketIntelligentTieringConfigurationCommand.js +20 -49
  171. package/dist-es/commands/PutBucketInventoryConfigurationCommand.js +20 -49
  172. package/dist-es/commands/PutBucketLifecycleConfigurationCommand.js +22 -51
  173. package/dist-es/commands/PutBucketLoggingCommand.js +22 -51
  174. package/dist-es/commands/PutBucketMetricsConfigurationCommand.js +20 -49
  175. package/dist-es/commands/PutBucketNotificationConfigurationCommand.js +20 -49
  176. package/dist-es/commands/PutBucketOwnershipControlsCommand.js +21 -50
  177. package/dist-es/commands/PutBucketPolicyCommand.js +22 -51
  178. package/dist-es/commands/PutBucketReplicationCommand.js +22 -51
  179. package/dist-es/commands/PutBucketRequestPaymentCommand.js +22 -51
  180. package/dist-es/commands/PutBucketTaggingCommand.js +22 -51
  181. package/dist-es/commands/PutBucketVersioningCommand.js +22 -51
  182. package/dist-es/commands/PutBucketWebsiteCommand.js +22 -51
  183. package/dist-es/commands/PutObjectAclCommand.js +22 -51
  184. package/dist-es/commands/PutObjectCommand.js +24 -53
  185. package/dist-es/commands/PutObjectLegalHoldCommand.js +21 -50
  186. package/dist-es/commands/PutObjectLockConfigurationCommand.js +21 -50
  187. package/dist-es/commands/PutObjectRetentionCommand.js +21 -50
  188. package/dist-es/commands/PutObjectTaggingCommand.js +21 -50
  189. package/dist-es/commands/PutPublicAccessBlockCommand.js +22 -51
  190. package/dist-es/commands/RestoreObjectCommand.js +21 -50
  191. package/dist-es/commands/SelectObjectContentCommand.js +24 -52
  192. package/dist-es/commands/UploadPartCommand.js +23 -52
  193. package/dist-es/commands/UploadPartCopyCommand.js +22 -50
  194. package/dist-es/commands/WriteGetObjectResponseCommand.js +19 -48
  195. package/dist-es/endpoint/EndpointParameters.js +12 -0
  196. package/dist-es/pagination/ListDirectoryBucketsPaginator.js +2 -23
  197. package/dist-es/pagination/ListObjectsV2Paginator.js +2 -23
  198. package/dist-es/pagination/ListPartsPaginator.js +2 -23
  199. package/dist-types/commands/AbortMultipartUploadCommand.d.ts +6 -21
  200. package/dist-types/commands/CompleteMultipartUploadCommand.d.ts +6 -21
  201. package/dist-types/commands/CopyObjectCommand.d.ts +6 -21
  202. package/dist-types/commands/CreateBucketCommand.d.ts +19 -34
  203. package/dist-types/commands/CreateMultipartUploadCommand.d.ts +6 -21
  204. package/dist-types/commands/CreateSessionCommand.d.ts +6 -21
  205. package/dist-types/commands/DeleteBucketAnalyticsConfigurationCommand.d.ts +6 -21
  206. package/dist-types/commands/DeleteBucketCommand.d.ts +6 -21
  207. package/dist-types/commands/DeleteBucketCorsCommand.d.ts +6 -21
  208. package/dist-types/commands/DeleteBucketEncryptionCommand.d.ts +6 -21
  209. package/dist-types/commands/DeleteBucketIntelligentTieringConfigurationCommand.d.ts +6 -21
  210. package/dist-types/commands/DeleteBucketInventoryConfigurationCommand.d.ts +6 -21
  211. package/dist-types/commands/DeleteBucketLifecycleCommand.d.ts +6 -21
  212. package/dist-types/commands/DeleteBucketMetricsConfigurationCommand.d.ts +6 -21
  213. package/dist-types/commands/DeleteBucketOwnershipControlsCommand.d.ts +6 -21
  214. package/dist-types/commands/DeleteBucketPolicyCommand.d.ts +6 -21
  215. package/dist-types/commands/DeleteBucketReplicationCommand.d.ts +6 -21
  216. package/dist-types/commands/DeleteBucketTaggingCommand.d.ts +6 -21
  217. package/dist-types/commands/DeleteBucketWebsiteCommand.d.ts +6 -21
  218. package/dist-types/commands/DeleteObjectCommand.d.ts +16 -31
  219. package/dist-types/commands/DeleteObjectTaggingCommand.d.ts +6 -21
  220. package/dist-types/commands/DeleteObjectsCommand.d.ts +6 -21
  221. package/dist-types/commands/DeletePublicAccessBlockCommand.d.ts +6 -21
  222. package/dist-types/commands/GetBucketAccelerateConfigurationCommand.d.ts +6 -21
  223. package/dist-types/commands/GetBucketAclCommand.d.ts +6 -21
  224. package/dist-types/commands/GetBucketAnalyticsConfigurationCommand.d.ts +6 -21
  225. package/dist-types/commands/GetBucketCorsCommand.d.ts +6 -21
  226. package/dist-types/commands/GetBucketEncryptionCommand.d.ts +6 -21
  227. package/dist-types/commands/GetBucketIntelligentTieringConfigurationCommand.d.ts +6 -21
  228. package/dist-types/commands/GetBucketInventoryConfigurationCommand.d.ts +6 -21
  229. package/dist-types/commands/GetBucketLifecycleConfigurationCommand.d.ts +6 -21
  230. package/dist-types/commands/GetBucketLocationCommand.d.ts +6 -21
  231. package/dist-types/commands/GetBucketLoggingCommand.d.ts +6 -21
  232. package/dist-types/commands/GetBucketMetricsConfigurationCommand.d.ts +6 -21
  233. package/dist-types/commands/GetBucketNotificationConfigurationCommand.d.ts +6 -21
  234. package/dist-types/commands/GetBucketOwnershipControlsCommand.d.ts +6 -21
  235. package/dist-types/commands/GetBucketPolicyCommand.d.ts +6 -21
  236. package/dist-types/commands/GetBucketPolicyStatusCommand.d.ts +6 -21
  237. package/dist-types/commands/GetBucketReplicationCommand.d.ts +6 -21
  238. package/dist-types/commands/GetBucketRequestPaymentCommand.d.ts +6 -21
  239. package/dist-types/commands/GetBucketTaggingCommand.d.ts +6 -21
  240. package/dist-types/commands/GetBucketVersioningCommand.d.ts +6 -21
  241. package/dist-types/commands/GetBucketWebsiteCommand.d.ts +6 -21
  242. package/dist-types/commands/GetObjectAclCommand.d.ts +6 -21
  243. package/dist-types/commands/GetObjectAttributesCommand.d.ts +6 -21
  244. package/dist-types/commands/GetObjectCommand.d.ts +25 -40
  245. package/dist-types/commands/GetObjectLegalHoldCommand.d.ts +6 -21
  246. package/dist-types/commands/GetObjectLockConfigurationCommand.d.ts +6 -21
  247. package/dist-types/commands/GetObjectRetentionCommand.d.ts +6 -21
  248. package/dist-types/commands/GetObjectTaggingCommand.d.ts +6 -21
  249. package/dist-types/commands/GetObjectTorrentCommand.d.ts +6 -21
  250. package/dist-types/commands/GetPublicAccessBlockCommand.d.ts +6 -21
  251. package/dist-types/commands/HeadBucketCommand.d.ts +6 -21
  252. package/dist-types/commands/HeadObjectCommand.d.ts +6 -21
  253. package/dist-types/commands/ListBucketAnalyticsConfigurationsCommand.d.ts +6 -21
  254. package/dist-types/commands/ListBucketIntelligentTieringConfigurationsCommand.d.ts +6 -21
  255. package/dist-types/commands/ListBucketInventoryConfigurationsCommand.d.ts +6 -21
  256. package/dist-types/commands/ListBucketMetricsConfigurationsCommand.d.ts +6 -21
  257. package/dist-types/commands/ListBucketsCommand.d.ts +6 -21
  258. package/dist-types/commands/ListDirectoryBucketsCommand.d.ts +6 -21
  259. package/dist-types/commands/ListMultipartUploadsCommand.d.ts +38 -53
  260. package/dist-types/commands/ListObjectVersionsCommand.d.ts +6 -21
  261. package/dist-types/commands/ListObjectsCommand.d.ts +6 -21
  262. package/dist-types/commands/ListObjectsV2Command.d.ts +6 -21
  263. package/dist-types/commands/ListPartsCommand.d.ts +6 -21
  264. package/dist-types/commands/PutBucketAccelerateConfigurationCommand.d.ts +6 -21
  265. package/dist-types/commands/PutBucketAclCommand.d.ts +6 -21
  266. package/dist-types/commands/PutBucketAnalyticsConfigurationCommand.d.ts +6 -21
  267. package/dist-types/commands/PutBucketCorsCommand.d.ts +6 -21
  268. package/dist-types/commands/PutBucketEncryptionCommand.d.ts +6 -21
  269. package/dist-types/commands/PutBucketIntelligentTieringConfigurationCommand.d.ts +6 -21
  270. package/dist-types/commands/PutBucketInventoryConfigurationCommand.d.ts +6 -21
  271. package/dist-types/commands/PutBucketLifecycleConfigurationCommand.d.ts +6 -21
  272. package/dist-types/commands/PutBucketLoggingCommand.d.ts +6 -21
  273. package/dist-types/commands/PutBucketMetricsConfigurationCommand.d.ts +6 -21
  274. package/dist-types/commands/PutBucketNotificationConfigurationCommand.d.ts +6 -21
  275. package/dist-types/commands/PutBucketOwnershipControlsCommand.d.ts +6 -21
  276. package/dist-types/commands/PutBucketPolicyCommand.d.ts +6 -21
  277. package/dist-types/commands/PutBucketReplicationCommand.d.ts +6 -21
  278. package/dist-types/commands/PutBucketRequestPaymentCommand.d.ts +6 -21
  279. package/dist-types/commands/PutBucketTaggingCommand.d.ts +6 -21
  280. package/dist-types/commands/PutBucketVersioningCommand.d.ts +6 -21
  281. package/dist-types/commands/PutBucketWebsiteCommand.d.ts +6 -21
  282. package/dist-types/commands/PutObjectAclCommand.d.ts +6 -21
  283. package/dist-types/commands/PutObjectCommand.d.ts +51 -66
  284. package/dist-types/commands/PutObjectLegalHoldCommand.d.ts +6 -21
  285. package/dist-types/commands/PutObjectLockConfigurationCommand.d.ts +6 -21
  286. package/dist-types/commands/PutObjectRetentionCommand.d.ts +6 -21
  287. package/dist-types/commands/PutObjectTaggingCommand.d.ts +6 -21
  288. package/dist-types/commands/PutPublicAccessBlockCommand.d.ts +6 -21
  289. package/dist-types/commands/RestoreObjectCommand.d.ts +6 -21
  290. package/dist-types/commands/SelectObjectContentCommand.d.ts +6 -21
  291. package/dist-types/commands/UploadPartCommand.d.ts +6 -21
  292. package/dist-types/commands/UploadPartCopyCommand.d.ts +6 -21
  293. package/dist-types/commands/WriteGetObjectResponseCommand.d.ts +6 -21
  294. package/dist-types/endpoint/EndpointParameters.d.ts +42 -0
  295. package/dist-types/pagination/ListDirectoryBucketsPaginator.d.ts +1 -1
  296. package/dist-types/pagination/ListObjectsV2Paginator.d.ts +1 -1
  297. package/dist-types/pagination/ListPartsPaginator.d.ts +1 -1
  298. package/dist-types/ts3.4/commands/AbortMultipartUploadCommand.d.ts +12 -24
  299. package/dist-types/ts3.4/commands/CompleteMultipartUploadCommand.d.ts +12 -24
  300. package/dist-types/ts3.4/commands/CopyObjectCommand.d.ts +14 -23
  301. package/dist-types/ts3.4/commands/CreateBucketCommand.d.ts +14 -23
  302. package/dist-types/ts3.4/commands/CreateMultipartUploadCommand.d.ts +12 -24
  303. package/dist-types/ts3.4/commands/CreateSessionCommand.d.ts +14 -23
  304. package/dist-types/ts3.4/commands/DeleteBucketAnalyticsConfigurationCommand.d.ts +12 -24
  305. package/dist-types/ts3.4/commands/DeleteBucketCommand.d.ts +14 -23
  306. package/dist-types/ts3.4/commands/DeleteBucketCorsCommand.d.ts +14 -23
  307. package/dist-types/ts3.4/commands/DeleteBucketEncryptionCommand.d.ts +12 -24
  308. package/dist-types/ts3.4/commands/DeleteBucketIntelligentTieringConfigurationCommand.d.ts +12 -24
  309. package/dist-types/ts3.4/commands/DeleteBucketInventoryConfigurationCommand.d.ts +12 -24
  310. package/dist-types/ts3.4/commands/DeleteBucketLifecycleCommand.d.ts +12 -24
  311. package/dist-types/ts3.4/commands/DeleteBucketMetricsConfigurationCommand.d.ts +12 -24
  312. package/dist-types/ts3.4/commands/DeleteBucketOwnershipControlsCommand.d.ts +12 -24
  313. package/dist-types/ts3.4/commands/DeleteBucketPolicyCommand.d.ts +14 -23
  314. package/dist-types/ts3.4/commands/DeleteBucketReplicationCommand.d.ts +12 -24
  315. package/dist-types/ts3.4/commands/DeleteBucketTaggingCommand.d.ts +14 -23
  316. package/dist-types/ts3.4/commands/DeleteBucketWebsiteCommand.d.ts +14 -23
  317. package/dist-types/ts3.4/commands/DeleteObjectCommand.d.ts +14 -23
  318. package/dist-types/ts3.4/commands/DeleteObjectTaggingCommand.d.ts +14 -23
  319. package/dist-types/ts3.4/commands/DeleteObjectsCommand.d.ts +14 -23
  320. package/dist-types/ts3.4/commands/DeletePublicAccessBlockCommand.d.ts +12 -24
  321. package/dist-types/ts3.4/commands/GetBucketAccelerateConfigurationCommand.d.ts +12 -24
  322. package/dist-types/ts3.4/commands/GetBucketAclCommand.d.ts +14 -23
  323. package/dist-types/ts3.4/commands/GetBucketAnalyticsConfigurationCommand.d.ts +12 -24
  324. package/dist-types/ts3.4/commands/GetBucketCorsCommand.d.ts +14 -23
  325. package/dist-types/ts3.4/commands/GetBucketEncryptionCommand.d.ts +14 -23
  326. package/dist-types/ts3.4/commands/GetBucketIntelligentTieringConfigurationCommand.d.ts +12 -24
  327. package/dist-types/ts3.4/commands/GetBucketInventoryConfigurationCommand.d.ts +12 -24
  328. package/dist-types/ts3.4/commands/GetBucketLifecycleConfigurationCommand.d.ts +12 -24
  329. package/dist-types/ts3.4/commands/GetBucketLocationCommand.d.ts +14 -23
  330. package/dist-types/ts3.4/commands/GetBucketLoggingCommand.d.ts +14 -23
  331. package/dist-types/ts3.4/commands/GetBucketMetricsConfigurationCommand.d.ts +12 -24
  332. package/dist-types/ts3.4/commands/GetBucketNotificationConfigurationCommand.d.ts +12 -24
  333. package/dist-types/ts3.4/commands/GetBucketOwnershipControlsCommand.d.ts +12 -24
  334. package/dist-types/ts3.4/commands/GetBucketPolicyCommand.d.ts +14 -23
  335. package/dist-types/ts3.4/commands/GetBucketPolicyStatusCommand.d.ts +12 -24
  336. package/dist-types/ts3.4/commands/GetBucketReplicationCommand.d.ts +12 -24
  337. package/dist-types/ts3.4/commands/GetBucketRequestPaymentCommand.d.ts +12 -24
  338. package/dist-types/ts3.4/commands/GetBucketTaggingCommand.d.ts +14 -23
  339. package/dist-types/ts3.4/commands/GetBucketVersioningCommand.d.ts +14 -23
  340. package/dist-types/ts3.4/commands/GetBucketWebsiteCommand.d.ts +14 -23
  341. package/dist-types/ts3.4/commands/GetObjectAclCommand.d.ts +14 -23
  342. package/dist-types/ts3.4/commands/GetObjectAttributesCommand.d.ts +14 -23
  343. package/dist-types/ts3.4/commands/GetObjectCommand.d.ts +13 -20
  344. package/dist-types/ts3.4/commands/GetObjectLegalHoldCommand.d.ts +14 -23
  345. package/dist-types/ts3.4/commands/GetObjectLockConfigurationCommand.d.ts +12 -24
  346. package/dist-types/ts3.4/commands/GetObjectRetentionCommand.d.ts +14 -23
  347. package/dist-types/ts3.4/commands/GetObjectTaggingCommand.d.ts +14 -23
  348. package/dist-types/ts3.4/commands/GetObjectTorrentCommand.d.ts +13 -20
  349. package/dist-types/ts3.4/commands/GetPublicAccessBlockCommand.d.ts +12 -24
  350. package/dist-types/ts3.4/commands/HeadBucketCommand.d.ts +14 -23
  351. package/dist-types/ts3.4/commands/HeadObjectCommand.d.ts +14 -23
  352. package/dist-types/ts3.4/commands/ListBucketAnalyticsConfigurationsCommand.d.ts +12 -24
  353. package/dist-types/ts3.4/commands/ListBucketIntelligentTieringConfigurationsCommand.d.ts +12 -24
  354. package/dist-types/ts3.4/commands/ListBucketInventoryConfigurationsCommand.d.ts +12 -24
  355. package/dist-types/ts3.4/commands/ListBucketMetricsConfigurationsCommand.d.ts +12 -24
  356. package/dist-types/ts3.4/commands/ListBucketsCommand.d.ts +14 -23
  357. package/dist-types/ts3.4/commands/ListDirectoryBucketsCommand.d.ts +12 -24
  358. package/dist-types/ts3.4/commands/ListMultipartUploadsCommand.d.ts +12 -24
  359. package/dist-types/ts3.4/commands/ListObjectVersionsCommand.d.ts +14 -23
  360. package/dist-types/ts3.4/commands/ListObjectsCommand.d.ts +14 -23
  361. package/dist-types/ts3.4/commands/ListObjectsV2Command.d.ts +14 -23
  362. package/dist-types/ts3.4/commands/ListPartsCommand.d.ts +14 -23
  363. package/dist-types/ts3.4/commands/PutBucketAccelerateConfigurationCommand.d.ts +12 -24
  364. package/dist-types/ts3.4/commands/PutBucketAclCommand.d.ts +14 -23
  365. package/dist-types/ts3.4/commands/PutBucketAnalyticsConfigurationCommand.d.ts +12 -24
  366. package/dist-types/ts3.4/commands/PutBucketCorsCommand.d.ts +14 -23
  367. package/dist-types/ts3.4/commands/PutBucketEncryptionCommand.d.ts +14 -23
  368. package/dist-types/ts3.4/commands/PutBucketIntelligentTieringConfigurationCommand.d.ts +12 -24
  369. package/dist-types/ts3.4/commands/PutBucketInventoryConfigurationCommand.d.ts +12 -24
  370. package/dist-types/ts3.4/commands/PutBucketLifecycleConfigurationCommand.d.ts +12 -24
  371. package/dist-types/ts3.4/commands/PutBucketLoggingCommand.d.ts +14 -23
  372. package/dist-types/ts3.4/commands/PutBucketMetricsConfigurationCommand.d.ts +12 -24
  373. package/dist-types/ts3.4/commands/PutBucketNotificationConfigurationCommand.d.ts +12 -24
  374. package/dist-types/ts3.4/commands/PutBucketOwnershipControlsCommand.d.ts +12 -24
  375. package/dist-types/ts3.4/commands/PutBucketPolicyCommand.d.ts +14 -23
  376. package/dist-types/ts3.4/commands/PutBucketReplicationCommand.d.ts +12 -24
  377. package/dist-types/ts3.4/commands/PutBucketRequestPaymentCommand.d.ts +12 -24
  378. package/dist-types/ts3.4/commands/PutBucketTaggingCommand.d.ts +14 -23
  379. package/dist-types/ts3.4/commands/PutBucketVersioningCommand.d.ts +14 -23
  380. package/dist-types/ts3.4/commands/PutBucketWebsiteCommand.d.ts +14 -23
  381. package/dist-types/ts3.4/commands/PutObjectAclCommand.d.ts +14 -23
  382. package/dist-types/ts3.4/commands/PutObjectCommand.d.ts +13 -20
  383. package/dist-types/ts3.4/commands/PutObjectLegalHoldCommand.d.ts +14 -23
  384. package/dist-types/ts3.4/commands/PutObjectLockConfigurationCommand.d.ts +12 -24
  385. package/dist-types/ts3.4/commands/PutObjectRetentionCommand.d.ts +14 -23
  386. package/dist-types/ts3.4/commands/PutObjectTaggingCommand.d.ts +14 -23
  387. package/dist-types/ts3.4/commands/PutPublicAccessBlockCommand.d.ts +12 -24
  388. package/dist-types/ts3.4/commands/RestoreObjectCommand.d.ts +14 -23
  389. package/dist-types/ts3.4/commands/SelectObjectContentCommand.d.ts +14 -23
  390. package/dist-types/ts3.4/commands/UploadPartCommand.d.ts +13 -20
  391. package/dist-types/ts3.4/commands/UploadPartCopyCommand.d.ts +14 -23
  392. package/dist-types/ts3.4/commands/WriteGetObjectResponseCommand.d.ts +11 -21
  393. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +42 -0
  394. package/dist-types/ts3.4/pagination/ListDirectoryBucketsPaginator.d.ts +3 -3
  395. package/dist-types/ts3.4/pagination/ListObjectsV2Paginator.d.ts +3 -3
  396. package/dist-types/ts3.4/pagination/ListPartsPaginator.d.ts +3 -3
  397. package/package.json +13 -13
@@ -1,55 +1,26 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { WriteGetObjectResponseRequestFilterSensitiveLog } from "../models/models_1";
6
6
  import { de_WriteGetObjectResponseCommand, se_WriteGetObjectResponseCommand } from "../protocols/Aws_restXml";
7
7
  export { $Command };
8
- export class WriteGetObjectResponseCommand extends $Command {
9
- static getEndpointParameterInstructions() {
10
- return {
11
- UseObjectLambdaEndpoint: { type: "staticContextParams", value: true },
12
- ForcePathStyle: { type: "clientContextParams", name: "forcePathStyle" },
13
- UseArnRegion: { type: "clientContextParams", name: "useArnRegion" },
14
- DisableMultiRegionAccessPoints: { type: "clientContextParams", name: "disableMultiregionAccessPoints" },
15
- Accelerate: { type: "clientContextParams", name: "useAccelerateEndpoint" },
16
- DisableS3ExpressSessionAuth: { type: "clientContextParams", name: "disableS3ExpressSessionAuth" },
17
- UseGlobalEndpoint: { type: "builtInParams", name: "useGlobalEndpoint" },
18
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
19
- Endpoint: { type: "builtInParams", name: "endpoint" },
20
- Region: { type: "builtInParams", name: "region" },
21
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
22
- };
23
- }
24
- constructor(input) {
25
- super();
26
- this.input = input;
27
- }
28
- resolveMiddleware(clientStack, configuration, options) {
29
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
30
- this.middlewareStack.use(getEndpointPlugin(configuration, WriteGetObjectResponseCommand.getEndpointParameterInstructions()));
31
- const stack = clientStack.concat(this.middlewareStack);
32
- const { logger } = configuration;
33
- const clientName = "S3Client";
34
- const commandName = "WriteGetObjectResponseCommand";
35
- const handlerExecutionContext = {
36
- logger,
37
- clientName,
38
- commandName,
39
- inputFilterSensitiveLog: WriteGetObjectResponseRequestFilterSensitiveLog,
40
- outputFilterSensitiveLog: (_) => _,
41
- [SMITHY_CONTEXT_KEY]: {
42
- service: "AmazonS3",
43
- operation: "WriteGetObjectResponse",
44
- },
45
- };
46
- const { requestHandler } = configuration;
47
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
48
- }
49
- serialize(input, context) {
50
- return se_WriteGetObjectResponseCommand(input, context);
51
- }
52
- deserialize(output, context) {
53
- return de_WriteGetObjectResponseCommand(output, context);
54
- }
8
+ export class WriteGetObjectResponseCommand extends $Command
9
+ .classBuilder()
10
+ .ep({
11
+ ...commonParams,
12
+ UseObjectLambdaEndpoint: { type: "staticContextParams", value: true },
13
+ })
14
+ .m(function (Command, cs, config, o) {
15
+ return [
16
+ getSerdePlugin(config, this.serialize, this.deserialize),
17
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
18
+ ];
19
+ })
20
+ .s("AmazonS3", "WriteGetObjectResponse", {})
21
+ .n("S3Client", "WriteGetObjectResponseCommand")
22
+ .f(WriteGetObjectResponseRequestFilterSensitiveLog, void 0)
23
+ .ser(se_WriteGetObjectResponseCommand)
24
+ .de(de_WriteGetObjectResponseCommand)
25
+ .build() {
55
26
  }
@@ -10,3 +10,15 @@ export const resolveClientEndpointParameters = (options) => {
10
10
  defaultSigningName: "s3",
11
11
  };
12
12
  };
13
+ export const commonParams = {
14
+ ForcePathStyle: { type: "clientContextParams", name: "forcePathStyle" },
15
+ UseArnRegion: { type: "clientContextParams", name: "useArnRegion" },
16
+ DisableMultiRegionAccessPoints: { type: "clientContextParams", name: "disableMultiregionAccessPoints" },
17
+ Accelerate: { type: "clientContextParams", name: "useAccelerateEndpoint" },
18
+ DisableS3ExpressSessionAuth: { type: "clientContextParams", name: "disableS3ExpressSessionAuth" },
19
+ UseGlobalEndpoint: { type: "builtInParams", name: "useGlobalEndpoint" },
20
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
21
+ Endpoint: { type: "builtInParams", name: "endpoint" },
22
+ Region: { type: "builtInParams", name: "region" },
23
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
24
+ };
@@ -1,25 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { ListDirectoryBucketsCommand, } from "../commands/ListDirectoryBucketsCommand";
2
3
  import { S3Client } from "../S3Client";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new ListDirectoryBucketsCommand(input), ...args);
5
- };
6
- export async function* paginateListDirectoryBuckets(config, input, ...additionalArguments) {
7
- let token = config.startingToken || undefined;
8
- let hasNext = true;
9
- let page;
10
- while (hasNext) {
11
- input.ContinuationToken = token;
12
- input["MaxDirectoryBuckets"] = config.pageSize;
13
- if (config.client instanceof S3Client) {
14
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
- }
16
- else {
17
- throw new Error("Invalid client, expected S3 | S3Client");
18
- }
19
- yield page;
20
- const prevToken = token;
21
- token = page.ContinuationToken;
22
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
23
- }
24
- return undefined;
25
- }
4
+ export const paginateListDirectoryBuckets = createPaginator(S3Client, ListDirectoryBucketsCommand, "ContinuationToken", "ContinuationToken", "MaxDirectoryBuckets");
@@ -1,25 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { ListObjectsV2Command, } from "../commands/ListObjectsV2Command";
2
3
  import { S3Client } from "../S3Client";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new ListObjectsV2Command(input), ...args);
5
- };
6
- export async function* paginateListObjectsV2(config, input, ...additionalArguments) {
7
- let token = config.startingToken || undefined;
8
- let hasNext = true;
9
- let page;
10
- while (hasNext) {
11
- input.ContinuationToken = token;
12
- input["MaxKeys"] = config.pageSize;
13
- if (config.client instanceof S3Client) {
14
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
- }
16
- else {
17
- throw new Error("Invalid client, expected S3 | S3Client");
18
- }
19
- yield page;
20
- const prevToken = token;
21
- token = page.NextContinuationToken;
22
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
23
- }
24
- return undefined;
25
- }
4
+ export const paginateListObjectsV2 = createPaginator(S3Client, ListObjectsV2Command, "ContinuationToken", "NextContinuationToken", "MaxKeys");
@@ -1,25 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { ListPartsCommand } from "../commands/ListPartsCommand";
2
3
  import { S3Client } from "../S3Client";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new ListPartsCommand(input), ...args);
5
- };
6
- export async function* paginateListParts(config, input, ...additionalArguments) {
7
- let token = config.startingToken || undefined;
8
- let hasNext = true;
9
- let page;
10
- while (hasNext) {
11
- input.PartNumberMarker = token;
12
- input["MaxParts"] = config.pageSize;
13
- if (config.client instanceof S3Client) {
14
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
- }
16
- else {
17
- throw new Error("Invalid client, expected S3 | S3Client");
18
- }
19
- yield page;
20
- const prevToken = token;
21
- token = page.NextPartNumberMarker;
22
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
23
- }
24
- return undefined;
25
- }
4
+ export const paginateListParts = createPaginator(S3Client, ListPartsCommand, "PartNumberMarker", "NextPartNumberMarker", "MaxParts");
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { AbortMultipartUploadOutput, AbortMultipartUploadRequest } from "../models/models_0";
5
4
  import { S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3Client";
6
5
  /**
@@ -21,6 +20,10 @@ export interface AbortMultipartUploadCommandInput extends AbortMultipartUploadRe
21
20
  */
22
21
  export interface AbortMultipartUploadCommandOutput extends AbortMultipartUploadOutput, __MetadataBearer {
23
22
  }
23
+ declare const AbortMultipartUploadCommand_base: {
24
+ new (input: AbortMultipartUploadCommandInput): import("@smithy/smithy-client").CommandImpl<AbortMultipartUploadCommandInput, AbortMultipartUploadCommandOutput, S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>This operation aborts a multipart upload. After a multipart upload is aborted, no
@@ -141,23 +144,5 @@ export interface AbortMultipartUploadCommandOutput extends AbortMultipartUploadO
141
144
  * ```
142
145
  *
143
146
  */
144
- export declare class AbortMultipartUploadCommand extends $Command<AbortMultipartUploadCommandInput, AbortMultipartUploadCommandOutput, S3ClientResolvedConfig> {
145
- readonly input: AbortMultipartUploadCommandInput;
146
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
147
- /**
148
- * @public
149
- */
150
- constructor(input: AbortMultipartUploadCommandInput);
151
- /**
152
- * @internal
153
- */
154
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: S3ClientResolvedConfig, options?: __HttpHandlerOptions): Handler<AbortMultipartUploadCommandInput, AbortMultipartUploadCommandOutput>;
155
- /**
156
- * @internal
157
- */
158
- private serialize;
159
- /**
160
- * @internal
161
- */
162
- private deserialize;
147
+ export declare class AbortMultipartUploadCommand extends AbortMultipartUploadCommand_base {
163
148
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { CompleteMultipartUploadOutput, CompleteMultipartUploadRequest } from "../models/models_0";
5
4
  import { S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3Client";
6
5
  /**
@@ -21,6 +20,10 @@ export interface CompleteMultipartUploadCommandInput extends CompleteMultipartUp
21
20
  */
22
21
  export interface CompleteMultipartUploadCommandOutput extends CompleteMultipartUploadOutput, __MetadataBearer {
23
22
  }
23
+ declare const CompleteMultipartUploadCommand_base: {
24
+ new (input: CompleteMultipartUploadCommandInput): import("@smithy/smithy-client").CommandImpl<CompleteMultipartUploadCommandInput, CompleteMultipartUploadCommandOutput, S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Completes a multipart upload by assembling previously uploaded parts.</p>
@@ -274,23 +277,5 @@ export interface CompleteMultipartUploadCommandOutput extends CompleteMultipartU
274
277
  * ```
275
278
  *
276
279
  */
277
- export declare class CompleteMultipartUploadCommand extends $Command<CompleteMultipartUploadCommandInput, CompleteMultipartUploadCommandOutput, S3ClientResolvedConfig> {
278
- readonly input: CompleteMultipartUploadCommandInput;
279
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
280
- /**
281
- * @public
282
- */
283
- constructor(input: CompleteMultipartUploadCommandInput);
284
- /**
285
- * @internal
286
- */
287
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: S3ClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CompleteMultipartUploadCommandInput, CompleteMultipartUploadCommandOutput>;
288
- /**
289
- * @internal
290
- */
291
- private serialize;
292
- /**
293
- * @internal
294
- */
295
- private deserialize;
280
+ export declare class CompleteMultipartUploadCommand extends CompleteMultipartUploadCommand_base {
296
281
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { CopyObjectOutput, CopyObjectRequest } from "../models/models_0";
5
4
  import { S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3Client";
6
5
  /**
@@ -21,6 +20,10 @@ export interface CopyObjectCommandInput extends CopyObjectRequest {
21
20
  */
22
21
  export interface CopyObjectCommandOutput extends CopyObjectOutput, __MetadataBearer {
23
22
  }
23
+ declare const CopyObjectCommand_base: {
24
+ new (input: CopyObjectCommandInput): import("@smithy/smithy-client").CommandImpl<CopyObjectCommandInput, CopyObjectCommandOutput, S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Creates a copy of an object that is already stored in Amazon S3.</p>
@@ -292,23 +295,5 @@ export interface CopyObjectCommandOutput extends CopyObjectOutput, __MetadataBea
292
295
  * ```
293
296
  *
294
297
  */
295
- export declare class CopyObjectCommand extends $Command<CopyObjectCommandInput, CopyObjectCommandOutput, S3ClientResolvedConfig> {
296
- readonly input: CopyObjectCommandInput;
297
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
298
- /**
299
- * @public
300
- */
301
- constructor(input: CopyObjectCommandInput);
302
- /**
303
- * @internal
304
- */
305
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: S3ClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CopyObjectCommandInput, CopyObjectCommandOutput>;
306
- /**
307
- * @internal
308
- */
309
- private serialize;
310
- /**
311
- * @internal
312
- */
313
- private deserialize;
298
+ export declare class CopyObjectCommand extends CopyObjectCommand_base {
314
299
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { CreateBucketOutput, CreateBucketRequest } from "../models/models_0";
5
4
  import { S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3Client";
6
5
  /**
@@ -21,6 +20,10 @@ export interface CreateBucketCommandInput extends CreateBucketRequest {
21
20
  */
22
21
  export interface CreateBucketCommandOutput extends CreateBucketOutput, __MetadataBearer {
23
22
  }
23
+ declare const CreateBucketCommand_base: {
24
+ new (input: CreateBucketCommandInput): import("@smithy/smithy-client").CommandImpl<CreateBucketCommandInput, CreateBucketCommandOutput, S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <note>
@@ -202,59 +205,41 @@ export interface CreateBucketCommandOutput extends CreateBucketOutput, __Metadat
202
205
  * @throws {@link S3ServiceException}
203
206
  * <p>Base exception class for all service exceptions from S3 service.</p>
204
207
  *
205
- * @example To create a bucket in a specific region
208
+ * @example To create a bucket
206
209
  * ```javascript
207
- * // The following example creates a bucket. The request specifies an AWS region where to create the bucket.
210
+ * // The following example creates a bucket.
208
211
  * const input = {
209
- * "Bucket": "examplebucket",
210
- * "CreateBucketConfiguration": {
211
- * "LocationConstraint": "eu-west-1"
212
- * }
212
+ * "Bucket": "examplebucket"
213
213
  * };
214
214
  * const command = new CreateBucketCommand(input);
215
215
  * const response = await client.send(command);
216
216
  * /* response ==
217
217
  * {
218
- * "Location": "http://examplebucket.<Region>.s3.amazonaws.com/"
218
+ * "Location": "/examplebucket"
219
219
  * }
220
220
  * *\/
221
- * // example id: to-create-a-bucket-in-a-specific-region-1483399072992
221
+ * // example id: to-create-a-bucket--1472851826060
222
222
  * ```
223
223
  *
224
- * @example To create a bucket
224
+ * @example To create a bucket in a specific region
225
225
  * ```javascript
226
- * // The following example creates a bucket.
226
+ * // The following example creates a bucket. The request specifies an AWS region where to create the bucket.
227
227
  * const input = {
228
- * "Bucket": "examplebucket"
228
+ * "Bucket": "examplebucket",
229
+ * "CreateBucketConfiguration": {
230
+ * "LocationConstraint": "eu-west-1"
231
+ * }
229
232
  * };
230
233
  * const command = new CreateBucketCommand(input);
231
234
  * const response = await client.send(command);
232
235
  * /* response ==
233
236
  * {
234
- * "Location": "/examplebucket"
237
+ * "Location": "http://examplebucket.<Region>.s3.amazonaws.com/"
235
238
  * }
236
239
  * *\/
237
- * // example id: to-create-a-bucket--1472851826060
240
+ * // example id: to-create-a-bucket-in-a-specific-region-1483399072992
238
241
  * ```
239
242
  *
240
243
  */
241
- export declare class CreateBucketCommand extends $Command<CreateBucketCommandInput, CreateBucketCommandOutput, S3ClientResolvedConfig> {
242
- readonly input: CreateBucketCommandInput;
243
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
244
- /**
245
- * @public
246
- */
247
- constructor(input: CreateBucketCommandInput);
248
- /**
249
- * @internal
250
- */
251
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: S3ClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateBucketCommandInput, CreateBucketCommandOutput>;
252
- /**
253
- * @internal
254
- */
255
- private serialize;
256
- /**
257
- * @internal
258
- */
259
- private deserialize;
244
+ export declare class CreateBucketCommand extends CreateBucketCommand_base {
260
245
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { CreateMultipartUploadOutput, CreateMultipartUploadRequest } from "../models/models_0";
5
4
  import { S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3Client";
6
5
  /**
@@ -21,6 +20,10 @@ export interface CreateMultipartUploadCommandInput extends CreateMultipartUpload
21
20
  */
22
21
  export interface CreateMultipartUploadCommandOutput extends CreateMultipartUploadOutput, __MetadataBearer {
23
22
  }
23
+ declare const CreateMultipartUploadCommand_base: {
24
+ new (input: CreateMultipartUploadCommandInput): import("@smithy/smithy-client").CommandImpl<CreateMultipartUploadCommandInput, CreateMultipartUploadCommandOutput, S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>This action initiates a multipart upload and returns an upload ID. This upload ID is
@@ -329,23 +332,5 @@ export interface CreateMultipartUploadCommandOutput extends CreateMultipartUploa
329
332
  * ```
330
333
  *
331
334
  */
332
- export declare class CreateMultipartUploadCommand extends $Command<CreateMultipartUploadCommandInput, CreateMultipartUploadCommandOutput, S3ClientResolvedConfig> {
333
- readonly input: CreateMultipartUploadCommandInput;
334
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
335
- /**
336
- * @public
337
- */
338
- constructor(input: CreateMultipartUploadCommandInput);
339
- /**
340
- * @internal
341
- */
342
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: S3ClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateMultipartUploadCommandInput, CreateMultipartUploadCommandOutput>;
343
- /**
344
- * @internal
345
- */
346
- private serialize;
347
- /**
348
- * @internal
349
- */
350
- private deserialize;
335
+ export declare class CreateMultipartUploadCommand extends CreateMultipartUploadCommand_base {
351
336
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { CreateSessionOutput, CreateSessionRequest } from "../models/models_0";
5
4
  import { S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3Client";
6
5
  /**
@@ -21,6 +20,10 @@ export interface CreateSessionCommandInput extends CreateSessionRequest {
21
20
  */
22
21
  export interface CreateSessionCommandOutput extends CreateSessionOutput, __MetadataBearer {
23
22
  }
23
+ declare const CreateSessionCommand_base: {
24
+ new (input: CreateSessionCommandInput): import("@smithy/smithy-client").CommandImpl<CreateSessionCommandInput, CreateSessionCommandOutput, S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Creates a session that establishes temporary security credentials to support fast authentication and authorization for the Zonal endpoint APIs on directory buckets.
@@ -123,23 +126,5 @@ export interface CreateSessionCommandOutput extends CreateSessionOutput, __Metad
123
126
  * <p>Base exception class for all service exceptions from S3 service.</p>
124
127
  *
125
128
  */
126
- export declare class CreateSessionCommand extends $Command<CreateSessionCommandInput, CreateSessionCommandOutput, S3ClientResolvedConfig> {
127
- readonly input: CreateSessionCommandInput;
128
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
129
- /**
130
- * @public
131
- */
132
- constructor(input: CreateSessionCommandInput);
133
- /**
134
- * @internal
135
- */
136
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: S3ClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateSessionCommandInput, CreateSessionCommandOutput>;
137
- /**
138
- * @internal
139
- */
140
- private serialize;
141
- /**
142
- * @internal
143
- */
144
- private deserialize;
129
+ export declare class CreateSessionCommand extends CreateSessionCommand_base {
145
130
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { DeleteBucketAnalyticsConfigurationRequest } from "../models/models_0";
5
4
  import { S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3Client";
6
5
  /**
@@ -21,6 +20,10 @@ export interface DeleteBucketAnalyticsConfigurationCommandInput extends DeleteBu
21
20
  */
22
21
  export interface DeleteBucketAnalyticsConfigurationCommandOutput extends __MetadataBearer {
23
22
  }
23
+ declare const DeleteBucketAnalyticsConfigurationCommand_base: {
24
+ new (input: DeleteBucketAnalyticsConfigurationCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteBucketAnalyticsConfigurationCommandInput, DeleteBucketAnalyticsConfigurationCommandOutput, S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <note>
@@ -81,23 +84,5 @@ export interface DeleteBucketAnalyticsConfigurationCommandOutput extends __Metad
81
84
  * <p>Base exception class for all service exceptions from S3 service.</p>
82
85
  *
83
86
  */
84
- export declare class DeleteBucketAnalyticsConfigurationCommand extends $Command<DeleteBucketAnalyticsConfigurationCommandInput, DeleteBucketAnalyticsConfigurationCommandOutput, S3ClientResolvedConfig> {
85
- readonly input: DeleteBucketAnalyticsConfigurationCommandInput;
86
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
87
- /**
88
- * @public
89
- */
90
- constructor(input: DeleteBucketAnalyticsConfigurationCommandInput);
91
- /**
92
- * @internal
93
- */
94
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: S3ClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteBucketAnalyticsConfigurationCommandInput, DeleteBucketAnalyticsConfigurationCommandOutput>;
95
- /**
96
- * @internal
97
- */
98
- private serialize;
99
- /**
100
- * @internal
101
- */
102
- private deserialize;
87
+ export declare class DeleteBucketAnalyticsConfigurationCommand extends DeleteBucketAnalyticsConfigurationCommand_base {
103
88
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { DeleteBucketRequest } from "../models/models_0";
5
4
  import { S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3Client";
6
5
  /**
@@ -21,6 +20,10 @@ export interface DeleteBucketCommandInput extends DeleteBucketRequest {
21
20
  */
22
21
  export interface DeleteBucketCommandOutput extends __MetadataBearer {
23
22
  }
23
+ declare const DeleteBucketCommand_base: {
24
+ new (input: DeleteBucketCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteBucketCommandInput, DeleteBucketCommandOutput, S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Deletes the S3 bucket. All objects (including all object versions and delete markers) in
@@ -110,23 +113,5 @@ export interface DeleteBucketCommandOutput extends __MetadataBearer {
110
113
  * ```
111
114
  *
112
115
  */
113
- export declare class DeleteBucketCommand extends $Command<DeleteBucketCommandInput, DeleteBucketCommandOutput, S3ClientResolvedConfig> {
114
- readonly input: DeleteBucketCommandInput;
115
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
116
- /**
117
- * @public
118
- */
119
- constructor(input: DeleteBucketCommandInput);
120
- /**
121
- * @internal
122
- */
123
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: S3ClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteBucketCommandInput, DeleteBucketCommandOutput>;
124
- /**
125
- * @internal
126
- */
127
- private serialize;
128
- /**
129
- * @internal
130
- */
131
- private deserialize;
116
+ export declare class DeleteBucketCommand extends DeleteBucketCommand_base {
132
117
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { DeleteBucketCorsRequest } from "../models/models_0";
5
4
  import { S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3Client";
6
5
  /**
@@ -21,6 +20,10 @@ export interface DeleteBucketCorsCommandInput extends DeleteBucketCorsRequest {
21
20
  */
22
21
  export interface DeleteBucketCorsCommandOutput extends __MetadataBearer {
23
22
  }
23
+ declare const DeleteBucketCorsCommand_base: {
24
+ new (input: DeleteBucketCorsCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteBucketCorsCommandInput, DeleteBucketCorsCommandOutput, S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <note>
@@ -84,23 +87,5 @@ export interface DeleteBucketCorsCommandOutput extends __MetadataBearer {
84
87
  * ```
85
88
  *
86
89
  */
87
- export declare class DeleteBucketCorsCommand extends $Command<DeleteBucketCorsCommandInput, DeleteBucketCorsCommandOutput, S3ClientResolvedConfig> {
88
- readonly input: DeleteBucketCorsCommandInput;
89
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
90
- /**
91
- * @public
92
- */
93
- constructor(input: DeleteBucketCorsCommandInput);
94
- /**
95
- * @internal
96
- */
97
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: S3ClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteBucketCorsCommandInput, DeleteBucketCorsCommandOutput>;
98
- /**
99
- * @internal
100
- */
101
- private serialize;
102
- /**
103
- * @internal
104
- */
105
- private deserialize;
90
+ export declare class DeleteBucketCorsCommand extends DeleteBucketCorsCommand_base {
106
91
  }