@aws-sdk/client-s3 3.478.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 (385) 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-es/commands/AbortMultipartUploadCommand.js +20 -49
  98. package/dist-es/commands/CompleteMultipartUploadCommand.js +22 -51
  99. package/dist-es/commands/CopyObjectCommand.js +22 -50
  100. package/dist-es/commands/CreateBucketCommand.js +22 -51
  101. package/dist-es/commands/CreateMultipartUploadCommand.js +21 -50
  102. package/dist-es/commands/CreateSessionCommand.js +20 -48
  103. package/dist-es/commands/DeleteBucketAnalyticsConfigurationCommand.js +20 -49
  104. package/dist-es/commands/DeleteBucketCommand.js +20 -49
  105. package/dist-es/commands/DeleteBucketCorsCommand.js +20 -49
  106. package/dist-es/commands/DeleteBucketEncryptionCommand.js +20 -49
  107. package/dist-es/commands/DeleteBucketIntelligentTieringConfigurationCommand.js +20 -49
  108. package/dist-es/commands/DeleteBucketInventoryConfigurationCommand.js +20 -49
  109. package/dist-es/commands/DeleteBucketLifecycleCommand.js +20 -49
  110. package/dist-es/commands/DeleteBucketMetricsConfigurationCommand.js +20 -49
  111. package/dist-es/commands/DeleteBucketOwnershipControlsCommand.js +20 -49
  112. package/dist-es/commands/DeleteBucketPolicyCommand.js +20 -49
  113. package/dist-es/commands/DeleteBucketReplicationCommand.js +20 -49
  114. package/dist-es/commands/DeleteBucketTaggingCommand.js +20 -49
  115. package/dist-es/commands/DeleteBucketWebsiteCommand.js +20 -49
  116. package/dist-es/commands/DeleteObjectCommand.js +20 -49
  117. package/dist-es/commands/DeleteObjectTaggingCommand.js +19 -48
  118. package/dist-es/commands/DeleteObjectsCommand.js +21 -50
  119. package/dist-es/commands/DeletePublicAccessBlockCommand.js +20 -49
  120. package/dist-es/commands/GetBucketAccelerateConfigurationCommand.js +20 -49
  121. package/dist-es/commands/GetBucketAclCommand.js +20 -49
  122. package/dist-es/commands/GetBucketAnalyticsConfigurationCommand.js +20 -49
  123. package/dist-es/commands/GetBucketCorsCommand.js +20 -49
  124. package/dist-es/commands/GetBucketEncryptionCommand.js +20 -49
  125. package/dist-es/commands/GetBucketIntelligentTieringConfigurationCommand.js +20 -49
  126. package/dist-es/commands/GetBucketInventoryConfigurationCommand.js +20 -49
  127. package/dist-es/commands/GetBucketLifecycleConfigurationCommand.js +20 -49
  128. package/dist-es/commands/GetBucketLocationCommand.js +20 -49
  129. package/dist-es/commands/GetBucketLoggingCommand.js +20 -49
  130. package/dist-es/commands/GetBucketMetricsConfigurationCommand.js +20 -49
  131. package/dist-es/commands/GetBucketNotificationConfigurationCommand.js +20 -49
  132. package/dist-es/commands/GetBucketOwnershipControlsCommand.js +20 -49
  133. package/dist-es/commands/GetBucketPolicyCommand.js +20 -49
  134. package/dist-es/commands/GetBucketPolicyStatusCommand.js +20 -49
  135. package/dist-es/commands/GetBucketReplicationCommand.js +20 -49
  136. package/dist-es/commands/GetBucketRequestPaymentCommand.js +20 -49
  137. package/dist-es/commands/GetBucketTaggingCommand.js +20 -49
  138. package/dist-es/commands/GetBucketVersioningCommand.js +20 -49
  139. package/dist-es/commands/GetBucketWebsiteCommand.js +20 -49
  140. package/dist-es/commands/GetObjectAclCommand.js +20 -49
  141. package/dist-es/commands/GetObjectAttributesCommand.js +20 -49
  142. package/dist-es/commands/GetObjectCommand.js +23 -52
  143. package/dist-es/commands/GetObjectLegalHoldCommand.js +19 -48
  144. package/dist-es/commands/GetObjectLockConfigurationCommand.js +19 -48
  145. package/dist-es/commands/GetObjectRetentionCommand.js +19 -48
  146. package/dist-es/commands/GetObjectTaggingCommand.js +19 -48
  147. package/dist-es/commands/GetObjectTorrentCommand.js +19 -48
  148. package/dist-es/commands/GetPublicAccessBlockCommand.js +20 -49
  149. package/dist-es/commands/HeadBucketCommand.js +19 -48
  150. package/dist-es/commands/HeadObjectCommand.js +21 -50
  151. package/dist-es/commands/ListBucketAnalyticsConfigurationsCommand.js +20 -49
  152. package/dist-es/commands/ListBucketIntelligentTieringConfigurationsCommand.js +20 -49
  153. package/dist-es/commands/ListBucketInventoryConfigurationsCommand.js +20 -49
  154. package/dist-es/commands/ListBucketMetricsConfigurationsCommand.js +19 -48
  155. package/dist-es/commands/ListBucketsCommand.js +18 -47
  156. package/dist-es/commands/ListDirectoryBucketsCommand.js +19 -48
  157. package/dist-es/commands/ListMultipartUploadsCommand.js +20 -49
  158. package/dist-es/commands/ListObjectVersionsCommand.js +20 -49
  159. package/dist-es/commands/ListObjectsCommand.js +20 -49
  160. package/dist-es/commands/ListObjectsV2Command.js +20 -49
  161. package/dist-es/commands/ListPartsCommand.js +21 -50
  162. package/dist-es/commands/PutBucketAccelerateConfigurationCommand.js +22 -51
  163. package/dist-es/commands/PutBucketAclCommand.js +22 -51
  164. package/dist-es/commands/PutBucketAnalyticsConfigurationCommand.js +20 -49
  165. package/dist-es/commands/PutBucketCorsCommand.js +22 -51
  166. package/dist-es/commands/PutBucketEncryptionCommand.js +22 -51
  167. package/dist-es/commands/PutBucketIntelligentTieringConfigurationCommand.js +20 -49
  168. package/dist-es/commands/PutBucketInventoryConfigurationCommand.js +20 -49
  169. package/dist-es/commands/PutBucketLifecycleConfigurationCommand.js +22 -51
  170. package/dist-es/commands/PutBucketLoggingCommand.js +22 -51
  171. package/dist-es/commands/PutBucketMetricsConfigurationCommand.js +20 -49
  172. package/dist-es/commands/PutBucketNotificationConfigurationCommand.js +20 -49
  173. package/dist-es/commands/PutBucketOwnershipControlsCommand.js +21 -50
  174. package/dist-es/commands/PutBucketPolicyCommand.js +22 -51
  175. package/dist-es/commands/PutBucketReplicationCommand.js +22 -51
  176. package/dist-es/commands/PutBucketRequestPaymentCommand.js +22 -51
  177. package/dist-es/commands/PutBucketTaggingCommand.js +22 -51
  178. package/dist-es/commands/PutBucketVersioningCommand.js +22 -51
  179. package/dist-es/commands/PutBucketWebsiteCommand.js +22 -51
  180. package/dist-es/commands/PutObjectAclCommand.js +22 -51
  181. package/dist-es/commands/PutObjectCommand.js +24 -53
  182. package/dist-es/commands/PutObjectLegalHoldCommand.js +21 -50
  183. package/dist-es/commands/PutObjectLockConfigurationCommand.js +21 -50
  184. package/dist-es/commands/PutObjectRetentionCommand.js +21 -50
  185. package/dist-es/commands/PutObjectTaggingCommand.js +21 -50
  186. package/dist-es/commands/PutPublicAccessBlockCommand.js +22 -51
  187. package/dist-es/commands/RestoreObjectCommand.js +21 -50
  188. package/dist-es/commands/SelectObjectContentCommand.js +24 -52
  189. package/dist-es/commands/UploadPartCommand.js +23 -52
  190. package/dist-es/commands/UploadPartCopyCommand.js +22 -50
  191. package/dist-es/commands/WriteGetObjectResponseCommand.js +19 -48
  192. package/dist-es/endpoint/EndpointParameters.js +12 -0
  193. package/dist-types/commands/AbortMultipartUploadCommand.d.ts +6 -21
  194. package/dist-types/commands/CompleteMultipartUploadCommand.d.ts +6 -21
  195. package/dist-types/commands/CopyObjectCommand.d.ts +6 -21
  196. package/dist-types/commands/CreateBucketCommand.d.ts +19 -34
  197. package/dist-types/commands/CreateMultipartUploadCommand.d.ts +6 -21
  198. package/dist-types/commands/CreateSessionCommand.d.ts +6 -21
  199. package/dist-types/commands/DeleteBucketAnalyticsConfigurationCommand.d.ts +6 -21
  200. package/dist-types/commands/DeleteBucketCommand.d.ts +6 -21
  201. package/dist-types/commands/DeleteBucketCorsCommand.d.ts +6 -21
  202. package/dist-types/commands/DeleteBucketEncryptionCommand.d.ts +6 -21
  203. package/dist-types/commands/DeleteBucketIntelligentTieringConfigurationCommand.d.ts +6 -21
  204. package/dist-types/commands/DeleteBucketInventoryConfigurationCommand.d.ts +6 -21
  205. package/dist-types/commands/DeleteBucketLifecycleCommand.d.ts +6 -21
  206. package/dist-types/commands/DeleteBucketMetricsConfigurationCommand.d.ts +6 -21
  207. package/dist-types/commands/DeleteBucketOwnershipControlsCommand.d.ts +6 -21
  208. package/dist-types/commands/DeleteBucketPolicyCommand.d.ts +6 -21
  209. package/dist-types/commands/DeleteBucketReplicationCommand.d.ts +6 -21
  210. package/dist-types/commands/DeleteBucketTaggingCommand.d.ts +6 -21
  211. package/dist-types/commands/DeleteBucketWebsiteCommand.d.ts +6 -21
  212. package/dist-types/commands/DeleteObjectCommand.d.ts +16 -31
  213. package/dist-types/commands/DeleteObjectTaggingCommand.d.ts +6 -21
  214. package/dist-types/commands/DeleteObjectsCommand.d.ts +6 -21
  215. package/dist-types/commands/DeletePublicAccessBlockCommand.d.ts +6 -21
  216. package/dist-types/commands/GetBucketAccelerateConfigurationCommand.d.ts +6 -21
  217. package/dist-types/commands/GetBucketAclCommand.d.ts +6 -21
  218. package/dist-types/commands/GetBucketAnalyticsConfigurationCommand.d.ts +6 -21
  219. package/dist-types/commands/GetBucketCorsCommand.d.ts +6 -21
  220. package/dist-types/commands/GetBucketEncryptionCommand.d.ts +6 -21
  221. package/dist-types/commands/GetBucketIntelligentTieringConfigurationCommand.d.ts +6 -21
  222. package/dist-types/commands/GetBucketInventoryConfigurationCommand.d.ts +6 -21
  223. package/dist-types/commands/GetBucketLifecycleConfigurationCommand.d.ts +6 -21
  224. package/dist-types/commands/GetBucketLocationCommand.d.ts +6 -21
  225. package/dist-types/commands/GetBucketLoggingCommand.d.ts +6 -21
  226. package/dist-types/commands/GetBucketMetricsConfigurationCommand.d.ts +6 -21
  227. package/dist-types/commands/GetBucketNotificationConfigurationCommand.d.ts +6 -21
  228. package/dist-types/commands/GetBucketOwnershipControlsCommand.d.ts +6 -21
  229. package/dist-types/commands/GetBucketPolicyCommand.d.ts +6 -21
  230. package/dist-types/commands/GetBucketPolicyStatusCommand.d.ts +6 -21
  231. package/dist-types/commands/GetBucketReplicationCommand.d.ts +6 -21
  232. package/dist-types/commands/GetBucketRequestPaymentCommand.d.ts +6 -21
  233. package/dist-types/commands/GetBucketTaggingCommand.d.ts +6 -21
  234. package/dist-types/commands/GetBucketVersioningCommand.d.ts +6 -21
  235. package/dist-types/commands/GetBucketWebsiteCommand.d.ts +6 -21
  236. package/dist-types/commands/GetObjectAclCommand.d.ts +6 -21
  237. package/dist-types/commands/GetObjectAttributesCommand.d.ts +6 -21
  238. package/dist-types/commands/GetObjectCommand.d.ts +25 -40
  239. package/dist-types/commands/GetObjectLegalHoldCommand.d.ts +6 -21
  240. package/dist-types/commands/GetObjectLockConfigurationCommand.d.ts +6 -21
  241. package/dist-types/commands/GetObjectRetentionCommand.d.ts +6 -21
  242. package/dist-types/commands/GetObjectTaggingCommand.d.ts +6 -21
  243. package/dist-types/commands/GetObjectTorrentCommand.d.ts +6 -21
  244. package/dist-types/commands/GetPublicAccessBlockCommand.d.ts +6 -21
  245. package/dist-types/commands/HeadBucketCommand.d.ts +6 -21
  246. package/dist-types/commands/HeadObjectCommand.d.ts +6 -21
  247. package/dist-types/commands/ListBucketAnalyticsConfigurationsCommand.d.ts +6 -21
  248. package/dist-types/commands/ListBucketIntelligentTieringConfigurationsCommand.d.ts +6 -21
  249. package/dist-types/commands/ListBucketInventoryConfigurationsCommand.d.ts +6 -21
  250. package/dist-types/commands/ListBucketMetricsConfigurationsCommand.d.ts +6 -21
  251. package/dist-types/commands/ListBucketsCommand.d.ts +6 -21
  252. package/dist-types/commands/ListDirectoryBucketsCommand.d.ts +6 -21
  253. package/dist-types/commands/ListMultipartUploadsCommand.d.ts +38 -53
  254. package/dist-types/commands/ListObjectVersionsCommand.d.ts +6 -21
  255. package/dist-types/commands/ListObjectsCommand.d.ts +6 -21
  256. package/dist-types/commands/ListObjectsV2Command.d.ts +6 -21
  257. package/dist-types/commands/ListPartsCommand.d.ts +6 -21
  258. package/dist-types/commands/PutBucketAccelerateConfigurationCommand.d.ts +6 -21
  259. package/dist-types/commands/PutBucketAclCommand.d.ts +6 -21
  260. package/dist-types/commands/PutBucketAnalyticsConfigurationCommand.d.ts +6 -21
  261. package/dist-types/commands/PutBucketCorsCommand.d.ts +6 -21
  262. package/dist-types/commands/PutBucketEncryptionCommand.d.ts +6 -21
  263. package/dist-types/commands/PutBucketIntelligentTieringConfigurationCommand.d.ts +6 -21
  264. package/dist-types/commands/PutBucketInventoryConfigurationCommand.d.ts +6 -21
  265. package/dist-types/commands/PutBucketLifecycleConfigurationCommand.d.ts +6 -21
  266. package/dist-types/commands/PutBucketLoggingCommand.d.ts +6 -21
  267. package/dist-types/commands/PutBucketMetricsConfigurationCommand.d.ts +6 -21
  268. package/dist-types/commands/PutBucketNotificationConfigurationCommand.d.ts +6 -21
  269. package/dist-types/commands/PutBucketOwnershipControlsCommand.d.ts +6 -21
  270. package/dist-types/commands/PutBucketPolicyCommand.d.ts +6 -21
  271. package/dist-types/commands/PutBucketReplicationCommand.d.ts +6 -21
  272. package/dist-types/commands/PutBucketRequestPaymentCommand.d.ts +6 -21
  273. package/dist-types/commands/PutBucketTaggingCommand.d.ts +6 -21
  274. package/dist-types/commands/PutBucketVersioningCommand.d.ts +6 -21
  275. package/dist-types/commands/PutBucketWebsiteCommand.d.ts +6 -21
  276. package/dist-types/commands/PutObjectAclCommand.d.ts +6 -21
  277. package/dist-types/commands/PutObjectCommand.d.ts +51 -66
  278. package/dist-types/commands/PutObjectLegalHoldCommand.d.ts +6 -21
  279. package/dist-types/commands/PutObjectLockConfigurationCommand.d.ts +6 -21
  280. package/dist-types/commands/PutObjectRetentionCommand.d.ts +6 -21
  281. package/dist-types/commands/PutObjectTaggingCommand.d.ts +6 -21
  282. package/dist-types/commands/PutPublicAccessBlockCommand.d.ts +6 -21
  283. package/dist-types/commands/RestoreObjectCommand.d.ts +6 -21
  284. package/dist-types/commands/SelectObjectContentCommand.d.ts +6 -21
  285. package/dist-types/commands/UploadPartCommand.d.ts +6 -21
  286. package/dist-types/commands/UploadPartCopyCommand.d.ts +6 -21
  287. package/dist-types/commands/WriteGetObjectResponseCommand.d.ts +6 -21
  288. package/dist-types/endpoint/EndpointParameters.d.ts +42 -0
  289. package/dist-types/ts3.4/commands/AbortMultipartUploadCommand.d.ts +12 -24
  290. package/dist-types/ts3.4/commands/CompleteMultipartUploadCommand.d.ts +12 -24
  291. package/dist-types/ts3.4/commands/CopyObjectCommand.d.ts +14 -23
  292. package/dist-types/ts3.4/commands/CreateBucketCommand.d.ts +14 -23
  293. package/dist-types/ts3.4/commands/CreateMultipartUploadCommand.d.ts +12 -24
  294. package/dist-types/ts3.4/commands/CreateSessionCommand.d.ts +14 -23
  295. package/dist-types/ts3.4/commands/DeleteBucketAnalyticsConfigurationCommand.d.ts +12 -24
  296. package/dist-types/ts3.4/commands/DeleteBucketCommand.d.ts +14 -23
  297. package/dist-types/ts3.4/commands/DeleteBucketCorsCommand.d.ts +14 -23
  298. package/dist-types/ts3.4/commands/DeleteBucketEncryptionCommand.d.ts +12 -24
  299. package/dist-types/ts3.4/commands/DeleteBucketIntelligentTieringConfigurationCommand.d.ts +12 -24
  300. package/dist-types/ts3.4/commands/DeleteBucketInventoryConfigurationCommand.d.ts +12 -24
  301. package/dist-types/ts3.4/commands/DeleteBucketLifecycleCommand.d.ts +12 -24
  302. package/dist-types/ts3.4/commands/DeleteBucketMetricsConfigurationCommand.d.ts +12 -24
  303. package/dist-types/ts3.4/commands/DeleteBucketOwnershipControlsCommand.d.ts +12 -24
  304. package/dist-types/ts3.4/commands/DeleteBucketPolicyCommand.d.ts +14 -23
  305. package/dist-types/ts3.4/commands/DeleteBucketReplicationCommand.d.ts +12 -24
  306. package/dist-types/ts3.4/commands/DeleteBucketTaggingCommand.d.ts +14 -23
  307. package/dist-types/ts3.4/commands/DeleteBucketWebsiteCommand.d.ts +14 -23
  308. package/dist-types/ts3.4/commands/DeleteObjectCommand.d.ts +14 -23
  309. package/dist-types/ts3.4/commands/DeleteObjectTaggingCommand.d.ts +14 -23
  310. package/dist-types/ts3.4/commands/DeleteObjectsCommand.d.ts +14 -23
  311. package/dist-types/ts3.4/commands/DeletePublicAccessBlockCommand.d.ts +12 -24
  312. package/dist-types/ts3.4/commands/GetBucketAccelerateConfigurationCommand.d.ts +12 -24
  313. package/dist-types/ts3.4/commands/GetBucketAclCommand.d.ts +14 -23
  314. package/dist-types/ts3.4/commands/GetBucketAnalyticsConfigurationCommand.d.ts +12 -24
  315. package/dist-types/ts3.4/commands/GetBucketCorsCommand.d.ts +14 -23
  316. package/dist-types/ts3.4/commands/GetBucketEncryptionCommand.d.ts +14 -23
  317. package/dist-types/ts3.4/commands/GetBucketIntelligentTieringConfigurationCommand.d.ts +12 -24
  318. package/dist-types/ts3.4/commands/GetBucketInventoryConfigurationCommand.d.ts +12 -24
  319. package/dist-types/ts3.4/commands/GetBucketLifecycleConfigurationCommand.d.ts +12 -24
  320. package/dist-types/ts3.4/commands/GetBucketLocationCommand.d.ts +14 -23
  321. package/dist-types/ts3.4/commands/GetBucketLoggingCommand.d.ts +14 -23
  322. package/dist-types/ts3.4/commands/GetBucketMetricsConfigurationCommand.d.ts +12 -24
  323. package/dist-types/ts3.4/commands/GetBucketNotificationConfigurationCommand.d.ts +12 -24
  324. package/dist-types/ts3.4/commands/GetBucketOwnershipControlsCommand.d.ts +12 -24
  325. package/dist-types/ts3.4/commands/GetBucketPolicyCommand.d.ts +14 -23
  326. package/dist-types/ts3.4/commands/GetBucketPolicyStatusCommand.d.ts +12 -24
  327. package/dist-types/ts3.4/commands/GetBucketReplicationCommand.d.ts +12 -24
  328. package/dist-types/ts3.4/commands/GetBucketRequestPaymentCommand.d.ts +12 -24
  329. package/dist-types/ts3.4/commands/GetBucketTaggingCommand.d.ts +14 -23
  330. package/dist-types/ts3.4/commands/GetBucketVersioningCommand.d.ts +14 -23
  331. package/dist-types/ts3.4/commands/GetBucketWebsiteCommand.d.ts +14 -23
  332. package/dist-types/ts3.4/commands/GetObjectAclCommand.d.ts +14 -23
  333. package/dist-types/ts3.4/commands/GetObjectAttributesCommand.d.ts +14 -23
  334. package/dist-types/ts3.4/commands/GetObjectCommand.d.ts +13 -20
  335. package/dist-types/ts3.4/commands/GetObjectLegalHoldCommand.d.ts +14 -23
  336. package/dist-types/ts3.4/commands/GetObjectLockConfigurationCommand.d.ts +12 -24
  337. package/dist-types/ts3.4/commands/GetObjectRetentionCommand.d.ts +14 -23
  338. package/dist-types/ts3.4/commands/GetObjectTaggingCommand.d.ts +14 -23
  339. package/dist-types/ts3.4/commands/GetObjectTorrentCommand.d.ts +13 -20
  340. package/dist-types/ts3.4/commands/GetPublicAccessBlockCommand.d.ts +12 -24
  341. package/dist-types/ts3.4/commands/HeadBucketCommand.d.ts +14 -23
  342. package/dist-types/ts3.4/commands/HeadObjectCommand.d.ts +14 -23
  343. package/dist-types/ts3.4/commands/ListBucketAnalyticsConfigurationsCommand.d.ts +12 -24
  344. package/dist-types/ts3.4/commands/ListBucketIntelligentTieringConfigurationsCommand.d.ts +12 -24
  345. package/dist-types/ts3.4/commands/ListBucketInventoryConfigurationsCommand.d.ts +12 -24
  346. package/dist-types/ts3.4/commands/ListBucketMetricsConfigurationsCommand.d.ts +12 -24
  347. package/dist-types/ts3.4/commands/ListBucketsCommand.d.ts +14 -23
  348. package/dist-types/ts3.4/commands/ListDirectoryBucketsCommand.d.ts +12 -24
  349. package/dist-types/ts3.4/commands/ListMultipartUploadsCommand.d.ts +12 -24
  350. package/dist-types/ts3.4/commands/ListObjectVersionsCommand.d.ts +14 -23
  351. package/dist-types/ts3.4/commands/ListObjectsCommand.d.ts +14 -23
  352. package/dist-types/ts3.4/commands/ListObjectsV2Command.d.ts +14 -23
  353. package/dist-types/ts3.4/commands/ListPartsCommand.d.ts +14 -23
  354. package/dist-types/ts3.4/commands/PutBucketAccelerateConfigurationCommand.d.ts +12 -24
  355. package/dist-types/ts3.4/commands/PutBucketAclCommand.d.ts +14 -23
  356. package/dist-types/ts3.4/commands/PutBucketAnalyticsConfigurationCommand.d.ts +12 -24
  357. package/dist-types/ts3.4/commands/PutBucketCorsCommand.d.ts +14 -23
  358. package/dist-types/ts3.4/commands/PutBucketEncryptionCommand.d.ts +14 -23
  359. package/dist-types/ts3.4/commands/PutBucketIntelligentTieringConfigurationCommand.d.ts +12 -24
  360. package/dist-types/ts3.4/commands/PutBucketInventoryConfigurationCommand.d.ts +12 -24
  361. package/dist-types/ts3.4/commands/PutBucketLifecycleConfigurationCommand.d.ts +12 -24
  362. package/dist-types/ts3.4/commands/PutBucketLoggingCommand.d.ts +14 -23
  363. package/dist-types/ts3.4/commands/PutBucketMetricsConfigurationCommand.d.ts +12 -24
  364. package/dist-types/ts3.4/commands/PutBucketNotificationConfigurationCommand.d.ts +12 -24
  365. package/dist-types/ts3.4/commands/PutBucketOwnershipControlsCommand.d.ts +12 -24
  366. package/dist-types/ts3.4/commands/PutBucketPolicyCommand.d.ts +14 -23
  367. package/dist-types/ts3.4/commands/PutBucketReplicationCommand.d.ts +12 -24
  368. package/dist-types/ts3.4/commands/PutBucketRequestPaymentCommand.d.ts +12 -24
  369. package/dist-types/ts3.4/commands/PutBucketTaggingCommand.d.ts +14 -23
  370. package/dist-types/ts3.4/commands/PutBucketVersioningCommand.d.ts +14 -23
  371. package/dist-types/ts3.4/commands/PutBucketWebsiteCommand.d.ts +14 -23
  372. package/dist-types/ts3.4/commands/PutObjectAclCommand.d.ts +14 -23
  373. package/dist-types/ts3.4/commands/PutObjectCommand.d.ts +13 -20
  374. package/dist-types/ts3.4/commands/PutObjectLegalHoldCommand.d.ts +14 -23
  375. package/dist-types/ts3.4/commands/PutObjectLockConfigurationCommand.d.ts +12 -24
  376. package/dist-types/ts3.4/commands/PutObjectRetentionCommand.d.ts +14 -23
  377. package/dist-types/ts3.4/commands/PutObjectTaggingCommand.d.ts +14 -23
  378. package/dist-types/ts3.4/commands/PutPublicAccessBlockCommand.d.ts +12 -24
  379. package/dist-types/ts3.4/commands/RestoreObjectCommand.d.ts +14 -23
  380. package/dist-types/ts3.4/commands/SelectObjectContentCommand.d.ts +14 -23
  381. package/dist-types/ts3.4/commands/UploadPartCommand.d.ts +13 -20
  382. package/dist-types/ts3.4/commands/UploadPartCopyCommand.d.ts +14 -23
  383. package/dist-types/ts3.4/commands/WriteGetObjectResponseCommand.d.ts +11 -21
  384. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +42 -0
  385. package/package.json +11 -11
@@ -5,55 +5,26 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const Aws_restXml_1 = require("../protocols/Aws_restXml");
10
- class GetBucketRequestPaymentCommand extends smithy_client_1.Command {
11
- static getEndpointParameterInstructions() {
12
- return {
13
- UseS3ExpressControlEndpoint: { type: "staticContextParams", value: true },
14
- Bucket: { type: "contextParams", name: "Bucket" },
15
- ForcePathStyle: { type: "clientContextParams", name: "forcePathStyle" },
16
- UseArnRegion: { type: "clientContextParams", name: "useArnRegion" },
17
- DisableMultiRegionAccessPoints: { type: "clientContextParams", name: "disableMultiregionAccessPoints" },
18
- Accelerate: { type: "clientContextParams", name: "useAccelerateEndpoint" },
19
- DisableS3ExpressSessionAuth: { type: "clientContextParams", name: "disableS3ExpressSessionAuth" },
20
- UseGlobalEndpoint: { type: "builtInParams", name: "useGlobalEndpoint" },
21
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
22
- Endpoint: { type: "builtInParams", name: "endpoint" },
23
- Region: { type: "builtInParams", name: "region" },
24
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
25
- };
26
- }
27
- constructor(input) {
28
- super();
29
- this.input = input;
30
- }
31
- resolveMiddleware(clientStack, configuration, options) {
32
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
33
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, GetBucketRequestPaymentCommand.getEndpointParameterInstructions()));
34
- const stack = clientStack.concat(this.middlewareStack);
35
- const { logger } = configuration;
36
- const clientName = "S3Client";
37
- const commandName = "GetBucketRequestPaymentCommand";
38
- const handlerExecutionContext = {
39
- logger,
40
- clientName,
41
- commandName,
42
- inputFilterSensitiveLog: (_) => _,
43
- outputFilterSensitiveLog: (_) => _,
44
- [types_1.SMITHY_CONTEXT_KEY]: {
45
- service: "AmazonS3",
46
- operation: "GetBucketRequestPayment",
47
- },
48
- };
49
- const { requestHandler } = configuration;
50
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
51
- }
52
- serialize(input, context) {
53
- return (0, Aws_restXml_1.se_GetBucketRequestPaymentCommand)(input, context);
54
- }
55
- deserialize(output, context) {
56
- return (0, Aws_restXml_1.de_GetBucketRequestPaymentCommand)(output, context);
57
- }
10
+ class GetBucketRequestPaymentCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep({
13
+ ...EndpointParameters_1.commonParams,
14
+ UseS3ExpressControlEndpoint: { type: "staticContextParams", value: true },
15
+ Bucket: { type: "contextParams", name: "Bucket" },
16
+ })
17
+ .m(function (Command, cs, config, o) {
18
+ return [
19
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
20
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
21
+ ];
22
+ })
23
+ .s("AmazonS3", "GetBucketRequestPayment", {})
24
+ .n("S3Client", "GetBucketRequestPaymentCommand")
25
+ .f(void 0, void 0)
26
+ .ser(Aws_restXml_1.se_GetBucketRequestPaymentCommand)
27
+ .de(Aws_restXml_1.de_GetBucketRequestPaymentCommand)
28
+ .build() {
58
29
  }
59
30
  exports.GetBucketRequestPaymentCommand = GetBucketRequestPaymentCommand;
@@ -5,55 +5,26 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const Aws_restXml_1 = require("../protocols/Aws_restXml");
10
- class GetBucketTaggingCommand extends smithy_client_1.Command {
11
- static getEndpointParameterInstructions() {
12
- return {
13
- UseS3ExpressControlEndpoint: { type: "staticContextParams", value: true },
14
- Bucket: { type: "contextParams", name: "Bucket" },
15
- ForcePathStyle: { type: "clientContextParams", name: "forcePathStyle" },
16
- UseArnRegion: { type: "clientContextParams", name: "useArnRegion" },
17
- DisableMultiRegionAccessPoints: { type: "clientContextParams", name: "disableMultiregionAccessPoints" },
18
- Accelerate: { type: "clientContextParams", name: "useAccelerateEndpoint" },
19
- DisableS3ExpressSessionAuth: { type: "clientContextParams", name: "disableS3ExpressSessionAuth" },
20
- UseGlobalEndpoint: { type: "builtInParams", name: "useGlobalEndpoint" },
21
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
22
- Endpoint: { type: "builtInParams", name: "endpoint" },
23
- Region: { type: "builtInParams", name: "region" },
24
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
25
- };
26
- }
27
- constructor(input) {
28
- super();
29
- this.input = input;
30
- }
31
- resolveMiddleware(clientStack, configuration, options) {
32
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
33
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, GetBucketTaggingCommand.getEndpointParameterInstructions()));
34
- const stack = clientStack.concat(this.middlewareStack);
35
- const { logger } = configuration;
36
- const clientName = "S3Client";
37
- const commandName = "GetBucketTaggingCommand";
38
- const handlerExecutionContext = {
39
- logger,
40
- clientName,
41
- commandName,
42
- inputFilterSensitiveLog: (_) => _,
43
- outputFilterSensitiveLog: (_) => _,
44
- [types_1.SMITHY_CONTEXT_KEY]: {
45
- service: "AmazonS3",
46
- operation: "GetBucketTagging",
47
- },
48
- };
49
- const { requestHandler } = configuration;
50
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
51
- }
52
- serialize(input, context) {
53
- return (0, Aws_restXml_1.se_GetBucketTaggingCommand)(input, context);
54
- }
55
- deserialize(output, context) {
56
- return (0, Aws_restXml_1.de_GetBucketTaggingCommand)(output, context);
57
- }
10
+ class GetBucketTaggingCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep({
13
+ ...EndpointParameters_1.commonParams,
14
+ UseS3ExpressControlEndpoint: { type: "staticContextParams", value: true },
15
+ Bucket: { type: "contextParams", name: "Bucket" },
16
+ })
17
+ .m(function (Command, cs, config, o) {
18
+ return [
19
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
20
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
21
+ ];
22
+ })
23
+ .s("AmazonS3", "GetBucketTagging", {})
24
+ .n("S3Client", "GetBucketTaggingCommand")
25
+ .f(void 0, void 0)
26
+ .ser(Aws_restXml_1.se_GetBucketTaggingCommand)
27
+ .de(Aws_restXml_1.de_GetBucketTaggingCommand)
28
+ .build() {
58
29
  }
59
30
  exports.GetBucketTaggingCommand = GetBucketTaggingCommand;
@@ -5,55 +5,26 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const Aws_restXml_1 = require("../protocols/Aws_restXml");
10
- class GetBucketVersioningCommand extends smithy_client_1.Command {
11
- static getEndpointParameterInstructions() {
12
- return {
13
- UseS3ExpressControlEndpoint: { type: "staticContextParams", value: true },
14
- Bucket: { type: "contextParams", name: "Bucket" },
15
- ForcePathStyle: { type: "clientContextParams", name: "forcePathStyle" },
16
- UseArnRegion: { type: "clientContextParams", name: "useArnRegion" },
17
- DisableMultiRegionAccessPoints: { type: "clientContextParams", name: "disableMultiregionAccessPoints" },
18
- Accelerate: { type: "clientContextParams", name: "useAccelerateEndpoint" },
19
- DisableS3ExpressSessionAuth: { type: "clientContextParams", name: "disableS3ExpressSessionAuth" },
20
- UseGlobalEndpoint: { type: "builtInParams", name: "useGlobalEndpoint" },
21
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
22
- Endpoint: { type: "builtInParams", name: "endpoint" },
23
- Region: { type: "builtInParams", name: "region" },
24
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
25
- };
26
- }
27
- constructor(input) {
28
- super();
29
- this.input = input;
30
- }
31
- resolveMiddleware(clientStack, configuration, options) {
32
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
33
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, GetBucketVersioningCommand.getEndpointParameterInstructions()));
34
- const stack = clientStack.concat(this.middlewareStack);
35
- const { logger } = configuration;
36
- const clientName = "S3Client";
37
- const commandName = "GetBucketVersioningCommand";
38
- const handlerExecutionContext = {
39
- logger,
40
- clientName,
41
- commandName,
42
- inputFilterSensitiveLog: (_) => _,
43
- outputFilterSensitiveLog: (_) => _,
44
- [types_1.SMITHY_CONTEXT_KEY]: {
45
- service: "AmazonS3",
46
- operation: "GetBucketVersioning",
47
- },
48
- };
49
- const { requestHandler } = configuration;
50
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
51
- }
52
- serialize(input, context) {
53
- return (0, Aws_restXml_1.se_GetBucketVersioningCommand)(input, context);
54
- }
55
- deserialize(output, context) {
56
- return (0, Aws_restXml_1.de_GetBucketVersioningCommand)(output, context);
57
- }
10
+ class GetBucketVersioningCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep({
13
+ ...EndpointParameters_1.commonParams,
14
+ UseS3ExpressControlEndpoint: { type: "staticContextParams", value: true },
15
+ Bucket: { type: "contextParams", name: "Bucket" },
16
+ })
17
+ .m(function (Command, cs, config, o) {
18
+ return [
19
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
20
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
21
+ ];
22
+ })
23
+ .s("AmazonS3", "GetBucketVersioning", {})
24
+ .n("S3Client", "GetBucketVersioningCommand")
25
+ .f(void 0, void 0)
26
+ .ser(Aws_restXml_1.se_GetBucketVersioningCommand)
27
+ .de(Aws_restXml_1.de_GetBucketVersioningCommand)
28
+ .build() {
58
29
  }
59
30
  exports.GetBucketVersioningCommand = GetBucketVersioningCommand;
@@ -5,55 +5,26 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const Aws_restXml_1 = require("../protocols/Aws_restXml");
10
- class GetBucketWebsiteCommand extends smithy_client_1.Command {
11
- static getEndpointParameterInstructions() {
12
- return {
13
- UseS3ExpressControlEndpoint: { type: "staticContextParams", value: true },
14
- Bucket: { type: "contextParams", name: "Bucket" },
15
- ForcePathStyle: { type: "clientContextParams", name: "forcePathStyle" },
16
- UseArnRegion: { type: "clientContextParams", name: "useArnRegion" },
17
- DisableMultiRegionAccessPoints: { type: "clientContextParams", name: "disableMultiregionAccessPoints" },
18
- Accelerate: { type: "clientContextParams", name: "useAccelerateEndpoint" },
19
- DisableS3ExpressSessionAuth: { type: "clientContextParams", name: "disableS3ExpressSessionAuth" },
20
- UseGlobalEndpoint: { type: "builtInParams", name: "useGlobalEndpoint" },
21
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
22
- Endpoint: { type: "builtInParams", name: "endpoint" },
23
- Region: { type: "builtInParams", name: "region" },
24
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
25
- };
26
- }
27
- constructor(input) {
28
- super();
29
- this.input = input;
30
- }
31
- resolveMiddleware(clientStack, configuration, options) {
32
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
33
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, GetBucketWebsiteCommand.getEndpointParameterInstructions()));
34
- const stack = clientStack.concat(this.middlewareStack);
35
- const { logger } = configuration;
36
- const clientName = "S3Client";
37
- const commandName = "GetBucketWebsiteCommand";
38
- const handlerExecutionContext = {
39
- logger,
40
- clientName,
41
- commandName,
42
- inputFilterSensitiveLog: (_) => _,
43
- outputFilterSensitiveLog: (_) => _,
44
- [types_1.SMITHY_CONTEXT_KEY]: {
45
- service: "AmazonS3",
46
- operation: "GetBucketWebsite",
47
- },
48
- };
49
- const { requestHandler } = configuration;
50
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
51
- }
52
- serialize(input, context) {
53
- return (0, Aws_restXml_1.se_GetBucketWebsiteCommand)(input, context);
54
- }
55
- deserialize(output, context) {
56
- return (0, Aws_restXml_1.de_GetBucketWebsiteCommand)(output, context);
57
- }
10
+ class GetBucketWebsiteCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep({
13
+ ...EndpointParameters_1.commonParams,
14
+ UseS3ExpressControlEndpoint: { type: "staticContextParams", value: true },
15
+ Bucket: { type: "contextParams", name: "Bucket" },
16
+ })
17
+ .m(function (Command, cs, config, o) {
18
+ return [
19
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
20
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
21
+ ];
22
+ })
23
+ .s("AmazonS3", "GetBucketWebsite", {})
24
+ .n("S3Client", "GetBucketWebsiteCommand")
25
+ .f(void 0, void 0)
26
+ .ser(Aws_restXml_1.se_GetBucketWebsiteCommand)
27
+ .de(Aws_restXml_1.de_GetBucketWebsiteCommand)
28
+ .build() {
58
29
  }
59
30
  exports.GetBucketWebsiteCommand = GetBucketWebsiteCommand;
@@ -5,55 +5,26 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const Aws_restXml_1 = require("../protocols/Aws_restXml");
10
- class GetObjectAclCommand extends smithy_client_1.Command {
11
- static getEndpointParameterInstructions() {
12
- return {
13
- Bucket: { type: "contextParams", name: "Bucket" },
14
- Key: { type: "contextParams", name: "Key" },
15
- ForcePathStyle: { type: "clientContextParams", name: "forcePathStyle" },
16
- UseArnRegion: { type: "clientContextParams", name: "useArnRegion" },
17
- DisableMultiRegionAccessPoints: { type: "clientContextParams", name: "disableMultiregionAccessPoints" },
18
- Accelerate: { type: "clientContextParams", name: "useAccelerateEndpoint" },
19
- DisableS3ExpressSessionAuth: { type: "clientContextParams", name: "disableS3ExpressSessionAuth" },
20
- UseGlobalEndpoint: { type: "builtInParams", name: "useGlobalEndpoint" },
21
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
22
- Endpoint: { type: "builtInParams", name: "endpoint" },
23
- Region: { type: "builtInParams", name: "region" },
24
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
25
- };
26
- }
27
- constructor(input) {
28
- super();
29
- this.input = input;
30
- }
31
- resolveMiddleware(clientStack, configuration, options) {
32
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
33
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, GetObjectAclCommand.getEndpointParameterInstructions()));
34
- const stack = clientStack.concat(this.middlewareStack);
35
- const { logger } = configuration;
36
- const clientName = "S3Client";
37
- const commandName = "GetObjectAclCommand";
38
- const handlerExecutionContext = {
39
- logger,
40
- clientName,
41
- commandName,
42
- inputFilterSensitiveLog: (_) => _,
43
- outputFilterSensitiveLog: (_) => _,
44
- [types_1.SMITHY_CONTEXT_KEY]: {
45
- service: "AmazonS3",
46
- operation: "GetObjectAcl",
47
- },
48
- };
49
- const { requestHandler } = configuration;
50
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
51
- }
52
- serialize(input, context) {
53
- return (0, Aws_restXml_1.se_GetObjectAclCommand)(input, context);
54
- }
55
- deserialize(output, context) {
56
- return (0, Aws_restXml_1.de_GetObjectAclCommand)(output, context);
57
- }
10
+ class GetObjectAclCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep({
13
+ ...EndpointParameters_1.commonParams,
14
+ Bucket: { type: "contextParams", name: "Bucket" },
15
+ Key: { type: "contextParams", name: "Key" },
16
+ })
17
+ .m(function (Command, cs, config, o) {
18
+ return [
19
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
20
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
21
+ ];
22
+ })
23
+ .s("AmazonS3", "GetObjectAcl", {})
24
+ .n("S3Client", "GetObjectAclCommand")
25
+ .f(void 0, void 0)
26
+ .ser(Aws_restXml_1.se_GetObjectAclCommand)
27
+ .de(Aws_restXml_1.de_GetObjectAclCommand)
28
+ .build() {
58
29
  }
59
30
  exports.GetObjectAclCommand = GetObjectAclCommand;
@@ -6,56 +6,27 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
6
6
  const middleware_serde_1 = require("@smithy/middleware-serde");
7
7
  const smithy_client_1 = require("@smithy/smithy-client");
8
8
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
9
- const types_1 = require("@smithy/types");
9
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
10
10
  const models_0_1 = require("../models/models_0");
11
11
  const Aws_restXml_1 = require("../protocols/Aws_restXml");
12
- class GetObjectAttributesCommand extends smithy_client_1.Command {
13
- static getEndpointParameterInstructions() {
14
- return {
15
- Bucket: { type: "contextParams", name: "Bucket" },
16
- ForcePathStyle: { type: "clientContextParams", name: "forcePathStyle" },
17
- UseArnRegion: { type: "clientContextParams", name: "useArnRegion" },
18
- DisableMultiRegionAccessPoints: { type: "clientContextParams", name: "disableMultiregionAccessPoints" },
19
- Accelerate: { type: "clientContextParams", name: "useAccelerateEndpoint" },
20
- DisableS3ExpressSessionAuth: { type: "clientContextParams", name: "disableS3ExpressSessionAuth" },
21
- UseGlobalEndpoint: { type: "builtInParams", name: "useGlobalEndpoint" },
22
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
23
- Endpoint: { type: "builtInParams", name: "endpoint" },
24
- Region: { type: "builtInParams", name: "region" },
25
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
26
- };
27
- }
28
- constructor(input) {
29
- super();
30
- this.input = input;
31
- }
32
- resolveMiddleware(clientStack, configuration, options) {
33
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
34
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, GetObjectAttributesCommand.getEndpointParameterInstructions()));
35
- this.middlewareStack.use((0, middleware_ssec_1.getSsecPlugin)(configuration));
36
- const stack = clientStack.concat(this.middlewareStack);
37
- const { logger } = configuration;
38
- const clientName = "S3Client";
39
- const commandName = "GetObjectAttributesCommand";
40
- const handlerExecutionContext = {
41
- logger,
42
- clientName,
43
- commandName,
44
- inputFilterSensitiveLog: models_0_1.GetObjectAttributesRequestFilterSensitiveLog,
45
- outputFilterSensitiveLog: (_) => _,
46
- [types_1.SMITHY_CONTEXT_KEY]: {
47
- service: "AmazonS3",
48
- operation: "GetObjectAttributes",
49
- },
50
- };
51
- const { requestHandler } = configuration;
52
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
53
- }
54
- serialize(input, context) {
55
- return (0, Aws_restXml_1.se_GetObjectAttributesCommand)(input, context);
56
- }
57
- deserialize(output, context) {
58
- return (0, Aws_restXml_1.de_GetObjectAttributesCommand)(output, context);
59
- }
12
+ class GetObjectAttributesCommand extends smithy_client_1.Command
13
+ .classBuilder()
14
+ .ep({
15
+ ...EndpointParameters_1.commonParams,
16
+ Bucket: { type: "contextParams", name: "Bucket" },
17
+ })
18
+ .m(function (Command, cs, config, o) {
19
+ return [
20
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
21
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
22
+ (0, middleware_ssec_1.getSsecPlugin)(config),
23
+ ];
24
+ })
25
+ .s("AmazonS3", "GetObjectAttributes", {})
26
+ .n("S3Client", "GetObjectAttributesCommand")
27
+ .f(models_0_1.GetObjectAttributesRequestFilterSensitiveLog, void 0)
28
+ .ser(Aws_restXml_1.se_GetObjectAttributesCommand)
29
+ .de(Aws_restXml_1.de_GetObjectAttributesCommand)
30
+ .build() {
60
31
  }
61
32
  exports.GetObjectAttributesCommand = GetObjectAttributesCommand;
@@ -7,63 +7,34 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
7
7
  const middleware_serde_1 = require("@smithy/middleware-serde");
8
8
  const smithy_client_1 = require("@smithy/smithy-client");
9
9
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
10
- const types_1 = require("@smithy/types");
10
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
11
11
  const models_0_1 = require("../models/models_0");
12
12
  const Aws_restXml_1 = require("../protocols/Aws_restXml");
13
- class GetObjectCommand extends smithy_client_1.Command {
14
- static getEndpointParameterInstructions() {
15
- return {
16
- Bucket: { type: "contextParams", name: "Bucket" },
17
- Key: { type: "contextParams", name: "Key" },
18
- ForcePathStyle: { type: "clientContextParams", name: "forcePathStyle" },
19
- UseArnRegion: { type: "clientContextParams", name: "useArnRegion" },
20
- DisableMultiRegionAccessPoints: { type: "clientContextParams", name: "disableMultiregionAccessPoints" },
21
- Accelerate: { type: "clientContextParams", name: "useAccelerateEndpoint" },
22
- DisableS3ExpressSessionAuth: { type: "clientContextParams", name: "disableS3ExpressSessionAuth" },
23
- UseGlobalEndpoint: { type: "builtInParams", name: "useGlobalEndpoint" },
24
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
25
- Endpoint: { type: "builtInParams", name: "endpoint" },
26
- Region: { type: "builtInParams", name: "region" },
27
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
28
- };
29
- }
30
- constructor(input) {
31
- super();
32
- this.input = input;
33
- }
34
- resolveMiddleware(clientStack, configuration, options) {
35
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
36
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, GetObjectCommand.getEndpointParameterInstructions()));
37
- this.middlewareStack.use((0, middleware_ssec_1.getSsecPlugin)(configuration));
38
- this.middlewareStack.use((0, middleware_flexible_checksums_1.getFlexibleChecksumsPlugin)(configuration, {
13
+ class GetObjectCommand extends smithy_client_1.Command
14
+ .classBuilder()
15
+ .ep({
16
+ ...EndpointParameters_1.commonParams,
17
+ Bucket: { type: "contextParams", name: "Bucket" },
18
+ Key: { type: "contextParams", name: "Key" },
19
+ })
20
+ .m(function (Command, cs, config, o) {
21
+ return [
22
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
23
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
24
+ (0, middleware_ssec_1.getSsecPlugin)(config),
25
+ (0, middleware_flexible_checksums_1.getFlexibleChecksumsPlugin)(config, {
39
26
  input: this.input,
40
27
  requestChecksumRequired: false,
41
28
  requestValidationModeMember: "ChecksumMode",
42
29
  responseAlgorithms: ["CRC32", "CRC32C", "SHA256", "SHA1"],
43
- }));
44
- const stack = clientStack.concat(this.middlewareStack);
45
- const { logger } = configuration;
46
- const clientName = "S3Client";
47
- const commandName = "GetObjectCommand";
48
- const handlerExecutionContext = {
49
- logger,
50
- clientName,
51
- commandName,
52
- inputFilterSensitiveLog: models_0_1.GetObjectRequestFilterSensitiveLog,
53
- outputFilterSensitiveLog: models_0_1.GetObjectOutputFilterSensitiveLog,
54
- [types_1.SMITHY_CONTEXT_KEY]: {
55
- service: "AmazonS3",
56
- operation: "GetObject",
57
- },
58
- };
59
- const { requestHandler } = configuration;
60
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
61
- }
62
- serialize(input, context) {
63
- return (0, Aws_restXml_1.se_GetObjectCommand)(input, context);
64
- }
65
- deserialize(output, context) {
66
- return (0, Aws_restXml_1.de_GetObjectCommand)(output, context);
67
- }
30
+ }),
31
+ ];
32
+ })
33
+ .s("AmazonS3", "GetObject", {})
34
+ .n("S3Client", "GetObjectCommand")
35
+ .f(models_0_1.GetObjectRequestFilterSensitiveLog, models_0_1.GetObjectOutputFilterSensitiveLog)
36
+ .ser(Aws_restXml_1.se_GetObjectCommand)
37
+ .de(Aws_restXml_1.de_GetObjectCommand)
38
+ .build() {
68
39
  }
69
40
  exports.GetObjectCommand = GetObjectCommand;
@@ -5,54 +5,25 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const Aws_restXml_1 = require("../protocols/Aws_restXml");
10
- class GetObjectLegalHoldCommand extends smithy_client_1.Command {
11
- static getEndpointParameterInstructions() {
12
- return {
13
- Bucket: { type: "contextParams", name: "Bucket" },
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
- };
25
- }
26
- constructor(input) {
27
- super();
28
- this.input = input;
29
- }
30
- resolveMiddleware(clientStack, configuration, options) {
31
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
32
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, GetObjectLegalHoldCommand.getEndpointParameterInstructions()));
33
- const stack = clientStack.concat(this.middlewareStack);
34
- const { logger } = configuration;
35
- const clientName = "S3Client";
36
- const commandName = "GetObjectLegalHoldCommand";
37
- const handlerExecutionContext = {
38
- logger,
39
- clientName,
40
- commandName,
41
- inputFilterSensitiveLog: (_) => _,
42
- outputFilterSensitiveLog: (_) => _,
43
- [types_1.SMITHY_CONTEXT_KEY]: {
44
- service: "AmazonS3",
45
- operation: "GetObjectLegalHold",
46
- },
47
- };
48
- const { requestHandler } = configuration;
49
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
50
- }
51
- serialize(input, context) {
52
- return (0, Aws_restXml_1.se_GetObjectLegalHoldCommand)(input, context);
53
- }
54
- deserialize(output, context) {
55
- return (0, Aws_restXml_1.de_GetObjectLegalHoldCommand)(output, context);
56
- }
10
+ class GetObjectLegalHoldCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep({
13
+ ...EndpointParameters_1.commonParams,
14
+ Bucket: { type: "contextParams", name: "Bucket" },
15
+ })
16
+ .m(function (Command, cs, config, o) {
17
+ return [
18
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
19
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
20
+ ];
21
+ })
22
+ .s("AmazonS3", "GetObjectLegalHold", {})
23
+ .n("S3Client", "GetObjectLegalHoldCommand")
24
+ .f(void 0, void 0)
25
+ .ser(Aws_restXml_1.se_GetObjectLegalHoldCommand)
26
+ .de(Aws_restXml_1.de_GetObjectLegalHoldCommand)
27
+ .build() {
57
28
  }
58
29
  exports.GetObjectLegalHoldCommand = GetObjectLegalHoldCommand;