@aws-sdk/client-s3 3.1045.0 → 3.1047.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 (372) hide show
  1. package/dist-cjs/auth/httpAuthSchemeProvider.js +7 -7
  2. package/dist-cjs/endpoint/bdd.js +2 -2
  3. package/dist-cjs/endpoint/endpointResolver.js +4 -4
  4. package/dist-cjs/index.js +262 -264
  5. package/dist-cjs/models/S3ServiceException.js +3 -3
  6. package/dist-cjs/runtimeConfig.browser.js +17 -20
  7. package/dist-cjs/runtimeConfig.js +29 -33
  8. package/dist-cjs/runtimeConfig.shared.js +11 -13
  9. package/dist-es/S3.js +1 -1
  10. package/dist-es/S3Client.js +6 -6
  11. package/dist-es/auth/httpAuthSchemeProvider.js +2 -2
  12. package/dist-es/commands/AbortMultipartUploadCommand.js +2 -2
  13. package/dist-es/commands/CompleteMultipartUploadCommand.js +2 -2
  14. package/dist-es/commands/CopyObjectCommand.js +2 -2
  15. package/dist-es/commands/CreateBucketCommand.js +2 -2
  16. package/dist-es/commands/CreateBucketMetadataConfigurationCommand.js +2 -2
  17. package/dist-es/commands/CreateBucketMetadataTableConfigurationCommand.js +2 -2
  18. package/dist-es/commands/CreateMultipartUploadCommand.js +2 -2
  19. package/dist-es/commands/CreateSessionCommand.js +2 -2
  20. package/dist-es/commands/DeleteBucketAnalyticsConfigurationCommand.js +2 -2
  21. package/dist-es/commands/DeleteBucketCommand.js +2 -2
  22. package/dist-es/commands/DeleteBucketCorsCommand.js +2 -2
  23. package/dist-es/commands/DeleteBucketEncryptionCommand.js +2 -2
  24. package/dist-es/commands/DeleteBucketIntelligentTieringConfigurationCommand.js +2 -2
  25. package/dist-es/commands/DeleteBucketInventoryConfigurationCommand.js +2 -2
  26. package/dist-es/commands/DeleteBucketLifecycleCommand.js +2 -2
  27. package/dist-es/commands/DeleteBucketMetadataConfigurationCommand.js +2 -2
  28. package/dist-es/commands/DeleteBucketMetadataTableConfigurationCommand.js +2 -2
  29. package/dist-es/commands/DeleteBucketMetricsConfigurationCommand.js +2 -2
  30. package/dist-es/commands/DeleteBucketOwnershipControlsCommand.js +2 -2
  31. package/dist-es/commands/DeleteBucketPolicyCommand.js +2 -2
  32. package/dist-es/commands/DeleteBucketReplicationCommand.js +2 -2
  33. package/dist-es/commands/DeleteBucketTaggingCommand.js +2 -2
  34. package/dist-es/commands/DeleteBucketWebsiteCommand.js +2 -2
  35. package/dist-es/commands/DeleteObjectCommand.js +2 -2
  36. package/dist-es/commands/DeleteObjectTaggingCommand.js +2 -2
  37. package/dist-es/commands/DeleteObjectsCommand.js +2 -2
  38. package/dist-es/commands/DeletePublicAccessBlockCommand.js +2 -2
  39. package/dist-es/commands/GetBucketAbacCommand.js +2 -2
  40. package/dist-es/commands/GetBucketAccelerateConfigurationCommand.js +2 -2
  41. package/dist-es/commands/GetBucketAclCommand.js +2 -2
  42. package/dist-es/commands/GetBucketAnalyticsConfigurationCommand.js +2 -2
  43. package/dist-es/commands/GetBucketCorsCommand.js +2 -2
  44. package/dist-es/commands/GetBucketEncryptionCommand.js +2 -2
  45. package/dist-es/commands/GetBucketIntelligentTieringConfigurationCommand.js +2 -2
  46. package/dist-es/commands/GetBucketInventoryConfigurationCommand.js +2 -2
  47. package/dist-es/commands/GetBucketLifecycleConfigurationCommand.js +2 -2
  48. package/dist-es/commands/GetBucketLocationCommand.js +2 -2
  49. package/dist-es/commands/GetBucketLoggingCommand.js +2 -2
  50. package/dist-es/commands/GetBucketMetadataConfigurationCommand.js +2 -2
  51. package/dist-es/commands/GetBucketMetadataTableConfigurationCommand.js +2 -2
  52. package/dist-es/commands/GetBucketMetricsConfigurationCommand.js +2 -2
  53. package/dist-es/commands/GetBucketNotificationConfigurationCommand.js +2 -2
  54. package/dist-es/commands/GetBucketOwnershipControlsCommand.js +2 -2
  55. package/dist-es/commands/GetBucketPolicyCommand.js +2 -2
  56. package/dist-es/commands/GetBucketPolicyStatusCommand.js +2 -2
  57. package/dist-es/commands/GetBucketReplicationCommand.js +2 -2
  58. package/dist-es/commands/GetBucketRequestPaymentCommand.js +2 -2
  59. package/dist-es/commands/GetBucketTaggingCommand.js +2 -2
  60. package/dist-es/commands/GetBucketVersioningCommand.js +2 -2
  61. package/dist-es/commands/GetBucketWebsiteCommand.js +2 -2
  62. package/dist-es/commands/GetObjectAclCommand.js +2 -2
  63. package/dist-es/commands/GetObjectAttributesCommand.js +2 -2
  64. package/dist-es/commands/GetObjectCommand.js +2 -2
  65. package/dist-es/commands/GetObjectLegalHoldCommand.js +2 -2
  66. package/dist-es/commands/GetObjectLockConfigurationCommand.js +2 -2
  67. package/dist-es/commands/GetObjectRetentionCommand.js +2 -2
  68. package/dist-es/commands/GetObjectTaggingCommand.js +2 -2
  69. package/dist-es/commands/GetObjectTorrentCommand.js +2 -2
  70. package/dist-es/commands/GetPublicAccessBlockCommand.js +2 -2
  71. package/dist-es/commands/HeadBucketCommand.js +2 -2
  72. package/dist-es/commands/HeadObjectCommand.js +2 -2
  73. package/dist-es/commands/ListBucketAnalyticsConfigurationsCommand.js +2 -2
  74. package/dist-es/commands/ListBucketIntelligentTieringConfigurationsCommand.js +2 -2
  75. package/dist-es/commands/ListBucketInventoryConfigurationsCommand.js +2 -2
  76. package/dist-es/commands/ListBucketMetricsConfigurationsCommand.js +2 -2
  77. package/dist-es/commands/ListBucketsCommand.js +2 -2
  78. package/dist-es/commands/ListDirectoryBucketsCommand.js +2 -2
  79. package/dist-es/commands/ListMultipartUploadsCommand.js +2 -2
  80. package/dist-es/commands/ListObjectVersionsCommand.js +2 -2
  81. package/dist-es/commands/ListObjectsCommand.js +2 -2
  82. package/dist-es/commands/ListObjectsV2Command.js +2 -2
  83. package/dist-es/commands/ListPartsCommand.js +2 -2
  84. package/dist-es/commands/PutBucketAbacCommand.js +2 -2
  85. package/dist-es/commands/PutBucketAccelerateConfigurationCommand.js +2 -2
  86. package/dist-es/commands/PutBucketAclCommand.js +2 -2
  87. package/dist-es/commands/PutBucketAnalyticsConfigurationCommand.js +2 -2
  88. package/dist-es/commands/PutBucketCorsCommand.js +2 -2
  89. package/dist-es/commands/PutBucketEncryptionCommand.js +2 -2
  90. package/dist-es/commands/PutBucketIntelligentTieringConfigurationCommand.js +2 -2
  91. package/dist-es/commands/PutBucketInventoryConfigurationCommand.js +2 -2
  92. package/dist-es/commands/PutBucketLifecycleConfigurationCommand.js +2 -2
  93. package/dist-es/commands/PutBucketLoggingCommand.js +2 -2
  94. package/dist-es/commands/PutBucketMetricsConfigurationCommand.js +2 -2
  95. package/dist-es/commands/PutBucketNotificationConfigurationCommand.js +2 -2
  96. package/dist-es/commands/PutBucketOwnershipControlsCommand.js +2 -2
  97. package/dist-es/commands/PutBucketPolicyCommand.js +2 -2
  98. package/dist-es/commands/PutBucketReplicationCommand.js +2 -2
  99. package/dist-es/commands/PutBucketRequestPaymentCommand.js +2 -2
  100. package/dist-es/commands/PutBucketTaggingCommand.js +2 -2
  101. package/dist-es/commands/PutBucketVersioningCommand.js +2 -2
  102. package/dist-es/commands/PutBucketWebsiteCommand.js +2 -2
  103. package/dist-es/commands/PutObjectAclCommand.js +2 -2
  104. package/dist-es/commands/PutObjectCommand.js +2 -2
  105. package/dist-es/commands/PutObjectLegalHoldCommand.js +2 -2
  106. package/dist-es/commands/PutObjectLockConfigurationCommand.js +2 -2
  107. package/dist-es/commands/PutObjectRetentionCommand.js +2 -2
  108. package/dist-es/commands/PutObjectTaggingCommand.js +2 -2
  109. package/dist-es/commands/PutPublicAccessBlockCommand.js +2 -2
  110. package/dist-es/commands/RenameObjectCommand.js +2 -2
  111. package/dist-es/commands/RestoreObjectCommand.js +2 -2
  112. package/dist-es/commands/SelectObjectContentCommand.js +2 -2
  113. package/dist-es/commands/UpdateBucketMetadataInventoryTableConfigurationCommand.js +2 -2
  114. package/dist-es/commands/UpdateBucketMetadataJournalTableConfigurationCommand.js +2 -2
  115. package/dist-es/commands/UpdateObjectEncryptionCommand.js +2 -2
  116. package/dist-es/commands/UploadPartCommand.js +2 -2
  117. package/dist-es/commands/UploadPartCopyCommand.js +2 -2
  118. package/dist-es/commands/WriteGetObjectResponseCommand.js +2 -2
  119. package/dist-es/endpoint/bdd.js +1 -1
  120. package/dist-es/endpoint/endpointResolver.js +1 -1
  121. package/dist-es/models/S3ServiceException.js +1 -1
  122. package/dist-es/runtimeConfig.browser.js +6 -9
  123. package/dist-es/runtimeConfig.js +6 -10
  124. package/dist-es/runtimeConfig.shared.js +3 -5
  125. package/dist-es/runtimeExtensions.js +2 -2
  126. package/dist-es/waiters/waitForBucketExists.js +1 -1
  127. package/dist-es/waiters/waitForBucketNotExists.js +1 -1
  128. package/dist-es/waiters/waitForObjectExists.js +1 -1
  129. package/dist-es/waiters/waitForObjectNotExists.js +1 -1
  130. package/dist-types/S3.d.ts +1 -1
  131. package/dist-types/S3Client.d.ts +6 -6
  132. package/dist-types/commands/AbortMultipartUploadCommand.d.ts +6 -4
  133. package/dist-types/commands/CompleteMultipartUploadCommand.d.ts +6 -4
  134. package/dist-types/commands/CopyObjectCommand.d.ts +6 -4
  135. package/dist-types/commands/CreateBucketCommand.d.ts +6 -4
  136. package/dist-types/commands/CreateBucketMetadataConfigurationCommand.d.ts +6 -4
  137. package/dist-types/commands/CreateBucketMetadataTableConfigurationCommand.d.ts +6 -4
  138. package/dist-types/commands/CreateMultipartUploadCommand.d.ts +6 -4
  139. package/dist-types/commands/CreateSessionCommand.d.ts +6 -4
  140. package/dist-types/commands/DeleteBucketAnalyticsConfigurationCommand.d.ts +6 -4
  141. package/dist-types/commands/DeleteBucketCommand.d.ts +6 -4
  142. package/dist-types/commands/DeleteBucketCorsCommand.d.ts +6 -4
  143. package/dist-types/commands/DeleteBucketEncryptionCommand.d.ts +6 -4
  144. package/dist-types/commands/DeleteBucketIntelligentTieringConfigurationCommand.d.ts +6 -4
  145. package/dist-types/commands/DeleteBucketInventoryConfigurationCommand.d.ts +6 -4
  146. package/dist-types/commands/DeleteBucketLifecycleCommand.d.ts +6 -4
  147. package/dist-types/commands/DeleteBucketMetadataConfigurationCommand.d.ts +6 -4
  148. package/dist-types/commands/DeleteBucketMetadataTableConfigurationCommand.d.ts +6 -4
  149. package/dist-types/commands/DeleteBucketMetricsConfigurationCommand.d.ts +6 -4
  150. package/dist-types/commands/DeleteBucketOwnershipControlsCommand.d.ts +6 -4
  151. package/dist-types/commands/DeleteBucketPolicyCommand.d.ts +6 -4
  152. package/dist-types/commands/DeleteBucketReplicationCommand.d.ts +6 -4
  153. package/dist-types/commands/DeleteBucketTaggingCommand.d.ts +6 -4
  154. package/dist-types/commands/DeleteBucketWebsiteCommand.d.ts +6 -4
  155. package/dist-types/commands/DeleteObjectCommand.d.ts +6 -4
  156. package/dist-types/commands/DeleteObjectTaggingCommand.d.ts +6 -4
  157. package/dist-types/commands/DeleteObjectsCommand.d.ts +6 -4
  158. package/dist-types/commands/DeletePublicAccessBlockCommand.d.ts +6 -4
  159. package/dist-types/commands/GetBucketAbacCommand.d.ts +6 -4
  160. package/dist-types/commands/GetBucketAccelerateConfigurationCommand.d.ts +6 -4
  161. package/dist-types/commands/GetBucketAclCommand.d.ts +6 -4
  162. package/dist-types/commands/GetBucketAnalyticsConfigurationCommand.d.ts +6 -4
  163. package/dist-types/commands/GetBucketCorsCommand.d.ts +6 -4
  164. package/dist-types/commands/GetBucketEncryptionCommand.d.ts +6 -4
  165. package/dist-types/commands/GetBucketIntelligentTieringConfigurationCommand.d.ts +6 -4
  166. package/dist-types/commands/GetBucketInventoryConfigurationCommand.d.ts +6 -4
  167. package/dist-types/commands/GetBucketLifecycleConfigurationCommand.d.ts +6 -4
  168. package/dist-types/commands/GetBucketLocationCommand.d.ts +6 -4
  169. package/dist-types/commands/GetBucketLoggingCommand.d.ts +6 -4
  170. package/dist-types/commands/GetBucketMetadataConfigurationCommand.d.ts +6 -4
  171. package/dist-types/commands/GetBucketMetadataTableConfigurationCommand.d.ts +6 -4
  172. package/dist-types/commands/GetBucketMetricsConfigurationCommand.d.ts +6 -4
  173. package/dist-types/commands/GetBucketNotificationConfigurationCommand.d.ts +6 -4
  174. package/dist-types/commands/GetBucketOwnershipControlsCommand.d.ts +6 -4
  175. package/dist-types/commands/GetBucketPolicyCommand.d.ts +6 -4
  176. package/dist-types/commands/GetBucketPolicyStatusCommand.d.ts +6 -4
  177. package/dist-types/commands/GetBucketReplicationCommand.d.ts +6 -4
  178. package/dist-types/commands/GetBucketRequestPaymentCommand.d.ts +6 -4
  179. package/dist-types/commands/GetBucketTaggingCommand.d.ts +6 -4
  180. package/dist-types/commands/GetBucketVersioningCommand.d.ts +6 -4
  181. package/dist-types/commands/GetBucketWebsiteCommand.d.ts +6 -4
  182. package/dist-types/commands/GetObjectAclCommand.d.ts +6 -4
  183. package/dist-types/commands/GetObjectAttributesCommand.d.ts +6 -4
  184. package/dist-types/commands/GetObjectCommand.d.ts +6 -4
  185. package/dist-types/commands/GetObjectLegalHoldCommand.d.ts +6 -4
  186. package/dist-types/commands/GetObjectLockConfigurationCommand.d.ts +6 -4
  187. package/dist-types/commands/GetObjectRetentionCommand.d.ts +6 -4
  188. package/dist-types/commands/GetObjectTaggingCommand.d.ts +6 -4
  189. package/dist-types/commands/GetObjectTorrentCommand.d.ts +6 -4
  190. package/dist-types/commands/GetPublicAccessBlockCommand.d.ts +6 -4
  191. package/dist-types/commands/HeadBucketCommand.d.ts +6 -4
  192. package/dist-types/commands/HeadObjectCommand.d.ts +6 -4
  193. package/dist-types/commands/ListBucketAnalyticsConfigurationsCommand.d.ts +6 -4
  194. package/dist-types/commands/ListBucketIntelligentTieringConfigurationsCommand.d.ts +6 -4
  195. package/dist-types/commands/ListBucketInventoryConfigurationsCommand.d.ts +6 -4
  196. package/dist-types/commands/ListBucketMetricsConfigurationsCommand.d.ts +6 -4
  197. package/dist-types/commands/ListBucketsCommand.d.ts +6 -4
  198. package/dist-types/commands/ListDirectoryBucketsCommand.d.ts +6 -4
  199. package/dist-types/commands/ListMultipartUploadsCommand.d.ts +6 -4
  200. package/dist-types/commands/ListObjectVersionsCommand.d.ts +6 -4
  201. package/dist-types/commands/ListObjectsCommand.d.ts +6 -4
  202. package/dist-types/commands/ListObjectsV2Command.d.ts +6 -4
  203. package/dist-types/commands/ListPartsCommand.d.ts +6 -4
  204. package/dist-types/commands/PutBucketAbacCommand.d.ts +6 -4
  205. package/dist-types/commands/PutBucketAccelerateConfigurationCommand.d.ts +6 -4
  206. package/dist-types/commands/PutBucketAclCommand.d.ts +6 -4
  207. package/dist-types/commands/PutBucketAnalyticsConfigurationCommand.d.ts +6 -4
  208. package/dist-types/commands/PutBucketCorsCommand.d.ts +6 -4
  209. package/dist-types/commands/PutBucketEncryptionCommand.d.ts +6 -4
  210. package/dist-types/commands/PutBucketIntelligentTieringConfigurationCommand.d.ts +6 -4
  211. package/dist-types/commands/PutBucketInventoryConfigurationCommand.d.ts +6 -4
  212. package/dist-types/commands/PutBucketLifecycleConfigurationCommand.d.ts +6 -4
  213. package/dist-types/commands/PutBucketLoggingCommand.d.ts +6 -4
  214. package/dist-types/commands/PutBucketMetricsConfigurationCommand.d.ts +6 -4
  215. package/dist-types/commands/PutBucketNotificationConfigurationCommand.d.ts +6 -4
  216. package/dist-types/commands/PutBucketOwnershipControlsCommand.d.ts +6 -4
  217. package/dist-types/commands/PutBucketPolicyCommand.d.ts +6 -4
  218. package/dist-types/commands/PutBucketReplicationCommand.d.ts +6 -4
  219. package/dist-types/commands/PutBucketRequestPaymentCommand.d.ts +6 -4
  220. package/dist-types/commands/PutBucketTaggingCommand.d.ts +6 -4
  221. package/dist-types/commands/PutBucketVersioningCommand.d.ts +6 -4
  222. package/dist-types/commands/PutBucketWebsiteCommand.d.ts +6 -4
  223. package/dist-types/commands/PutObjectAclCommand.d.ts +6 -4
  224. package/dist-types/commands/PutObjectCommand.d.ts +6 -4
  225. package/dist-types/commands/PutObjectLegalHoldCommand.d.ts +6 -4
  226. package/dist-types/commands/PutObjectLockConfigurationCommand.d.ts +6 -4
  227. package/dist-types/commands/PutObjectRetentionCommand.d.ts +6 -4
  228. package/dist-types/commands/PutObjectTaggingCommand.d.ts +6 -4
  229. package/dist-types/commands/PutPublicAccessBlockCommand.d.ts +6 -4
  230. package/dist-types/commands/RenameObjectCommand.d.ts +6 -4
  231. package/dist-types/commands/RestoreObjectCommand.d.ts +6 -4
  232. package/dist-types/commands/SelectObjectContentCommand.d.ts +6 -4
  233. package/dist-types/commands/UpdateBucketMetadataInventoryTableConfigurationCommand.d.ts +6 -4
  234. package/dist-types/commands/UpdateBucketMetadataJournalTableConfigurationCommand.d.ts +6 -4
  235. package/dist-types/commands/UpdateObjectEncryptionCommand.d.ts +6 -4
  236. package/dist-types/commands/UploadPartCommand.d.ts +6 -4
  237. package/dist-types/commands/UploadPartCopyCommand.d.ts +6 -4
  238. package/dist-types/commands/WriteGetObjectResponseCommand.d.ts +6 -4
  239. package/dist-types/endpoint/bdd.d.ts +1 -1
  240. package/dist-types/extensionConfiguration.d.ts +1 -1
  241. package/dist-types/models/S3ServiceException.d.ts +1 -1
  242. package/dist-types/models/errors.d.ts +1 -1
  243. package/dist-types/runtimeConfig.browser.d.ts +3 -3
  244. package/dist-types/runtimeConfig.d.ts +3 -3
  245. package/dist-types/runtimeConfig.native.d.ts +3 -3
  246. package/dist-types/runtimeConfig.shared.d.ts +1 -1
  247. package/dist-types/ts3.4/S3.d.ts +1 -1
  248. package/dist-types/ts3.4/S3Client.d.ts +12 -18
  249. package/dist-types/ts3.4/commands/AbortMultipartUploadCommand.d.ts +6 -4
  250. package/dist-types/ts3.4/commands/CompleteMultipartUploadCommand.d.ts +6 -4
  251. package/dist-types/ts3.4/commands/CopyObjectCommand.d.ts +6 -4
  252. package/dist-types/ts3.4/commands/CreateBucketCommand.d.ts +6 -4
  253. package/dist-types/ts3.4/commands/CreateBucketMetadataConfigurationCommand.d.ts +6 -4
  254. package/dist-types/ts3.4/commands/CreateBucketMetadataTableConfigurationCommand.d.ts +6 -4
  255. package/dist-types/ts3.4/commands/CreateMultipartUploadCommand.d.ts +6 -4
  256. package/dist-types/ts3.4/commands/CreateSessionCommand.d.ts +6 -4
  257. package/dist-types/ts3.4/commands/DeleteBucketAnalyticsConfigurationCommand.d.ts +6 -4
  258. package/dist-types/ts3.4/commands/DeleteBucketCommand.d.ts +6 -4
  259. package/dist-types/ts3.4/commands/DeleteBucketCorsCommand.d.ts +6 -4
  260. package/dist-types/ts3.4/commands/DeleteBucketEncryptionCommand.d.ts +6 -4
  261. package/dist-types/ts3.4/commands/DeleteBucketIntelligentTieringConfigurationCommand.d.ts +6 -4
  262. package/dist-types/ts3.4/commands/DeleteBucketInventoryConfigurationCommand.d.ts +6 -4
  263. package/dist-types/ts3.4/commands/DeleteBucketLifecycleCommand.d.ts +6 -4
  264. package/dist-types/ts3.4/commands/DeleteBucketMetadataConfigurationCommand.d.ts +6 -4
  265. package/dist-types/ts3.4/commands/DeleteBucketMetadataTableConfigurationCommand.d.ts +6 -4
  266. package/dist-types/ts3.4/commands/DeleteBucketMetricsConfigurationCommand.d.ts +6 -4
  267. package/dist-types/ts3.4/commands/DeleteBucketOwnershipControlsCommand.d.ts +6 -4
  268. package/dist-types/ts3.4/commands/DeleteBucketPolicyCommand.d.ts +6 -4
  269. package/dist-types/ts3.4/commands/DeleteBucketReplicationCommand.d.ts +6 -4
  270. package/dist-types/ts3.4/commands/DeleteBucketTaggingCommand.d.ts +6 -4
  271. package/dist-types/ts3.4/commands/DeleteBucketWebsiteCommand.d.ts +6 -4
  272. package/dist-types/ts3.4/commands/DeleteObjectCommand.d.ts +6 -4
  273. package/dist-types/ts3.4/commands/DeleteObjectTaggingCommand.d.ts +6 -4
  274. package/dist-types/ts3.4/commands/DeleteObjectsCommand.d.ts +6 -4
  275. package/dist-types/ts3.4/commands/DeletePublicAccessBlockCommand.d.ts +6 -4
  276. package/dist-types/ts3.4/commands/GetBucketAbacCommand.d.ts +6 -4
  277. package/dist-types/ts3.4/commands/GetBucketAccelerateConfigurationCommand.d.ts +6 -4
  278. package/dist-types/ts3.4/commands/GetBucketAclCommand.d.ts +6 -4
  279. package/dist-types/ts3.4/commands/GetBucketAnalyticsConfigurationCommand.d.ts +6 -4
  280. package/dist-types/ts3.4/commands/GetBucketCorsCommand.d.ts +6 -4
  281. package/dist-types/ts3.4/commands/GetBucketEncryptionCommand.d.ts +6 -4
  282. package/dist-types/ts3.4/commands/GetBucketIntelligentTieringConfigurationCommand.d.ts +6 -4
  283. package/dist-types/ts3.4/commands/GetBucketInventoryConfigurationCommand.d.ts +6 -4
  284. package/dist-types/ts3.4/commands/GetBucketLifecycleConfigurationCommand.d.ts +6 -4
  285. package/dist-types/ts3.4/commands/GetBucketLocationCommand.d.ts +6 -4
  286. package/dist-types/ts3.4/commands/GetBucketLoggingCommand.d.ts +6 -4
  287. package/dist-types/ts3.4/commands/GetBucketMetadataConfigurationCommand.d.ts +6 -4
  288. package/dist-types/ts3.4/commands/GetBucketMetadataTableConfigurationCommand.d.ts +6 -4
  289. package/dist-types/ts3.4/commands/GetBucketMetricsConfigurationCommand.d.ts +6 -4
  290. package/dist-types/ts3.4/commands/GetBucketNotificationConfigurationCommand.d.ts +6 -4
  291. package/dist-types/ts3.4/commands/GetBucketOwnershipControlsCommand.d.ts +6 -4
  292. package/dist-types/ts3.4/commands/GetBucketPolicyCommand.d.ts +6 -4
  293. package/dist-types/ts3.4/commands/GetBucketPolicyStatusCommand.d.ts +6 -4
  294. package/dist-types/ts3.4/commands/GetBucketReplicationCommand.d.ts +6 -4
  295. package/dist-types/ts3.4/commands/GetBucketRequestPaymentCommand.d.ts +6 -4
  296. package/dist-types/ts3.4/commands/GetBucketTaggingCommand.d.ts +6 -4
  297. package/dist-types/ts3.4/commands/GetBucketVersioningCommand.d.ts +6 -4
  298. package/dist-types/ts3.4/commands/GetBucketWebsiteCommand.d.ts +6 -4
  299. package/dist-types/ts3.4/commands/GetObjectAclCommand.d.ts +6 -4
  300. package/dist-types/ts3.4/commands/GetObjectAttributesCommand.d.ts +6 -4
  301. package/dist-types/ts3.4/commands/GetObjectCommand.d.ts +6 -8
  302. package/dist-types/ts3.4/commands/GetObjectLegalHoldCommand.d.ts +6 -4
  303. package/dist-types/ts3.4/commands/GetObjectLockConfigurationCommand.d.ts +6 -4
  304. package/dist-types/ts3.4/commands/GetObjectRetentionCommand.d.ts +6 -4
  305. package/dist-types/ts3.4/commands/GetObjectTaggingCommand.d.ts +6 -4
  306. package/dist-types/ts3.4/commands/GetObjectTorrentCommand.d.ts +6 -4
  307. package/dist-types/ts3.4/commands/GetPublicAccessBlockCommand.d.ts +6 -4
  308. package/dist-types/ts3.4/commands/HeadBucketCommand.d.ts +6 -4
  309. package/dist-types/ts3.4/commands/HeadObjectCommand.d.ts +6 -4
  310. package/dist-types/ts3.4/commands/ListBucketAnalyticsConfigurationsCommand.d.ts +6 -4
  311. package/dist-types/ts3.4/commands/ListBucketIntelligentTieringConfigurationsCommand.d.ts +6 -4
  312. package/dist-types/ts3.4/commands/ListBucketInventoryConfigurationsCommand.d.ts +6 -4
  313. package/dist-types/ts3.4/commands/ListBucketMetricsConfigurationsCommand.d.ts +6 -4
  314. package/dist-types/ts3.4/commands/ListBucketsCommand.d.ts +6 -4
  315. package/dist-types/ts3.4/commands/ListDirectoryBucketsCommand.d.ts +6 -4
  316. package/dist-types/ts3.4/commands/ListMultipartUploadsCommand.d.ts +6 -4
  317. package/dist-types/ts3.4/commands/ListObjectVersionsCommand.d.ts +6 -4
  318. package/dist-types/ts3.4/commands/ListObjectsCommand.d.ts +6 -4
  319. package/dist-types/ts3.4/commands/ListObjectsV2Command.d.ts +6 -4
  320. package/dist-types/ts3.4/commands/ListPartsCommand.d.ts +6 -8
  321. package/dist-types/ts3.4/commands/PutBucketAbacCommand.d.ts +6 -4
  322. package/dist-types/ts3.4/commands/PutBucketAccelerateConfigurationCommand.d.ts +6 -4
  323. package/dist-types/ts3.4/commands/PutBucketAclCommand.d.ts +6 -4
  324. package/dist-types/ts3.4/commands/PutBucketAnalyticsConfigurationCommand.d.ts +6 -4
  325. package/dist-types/ts3.4/commands/PutBucketCorsCommand.d.ts +6 -4
  326. package/dist-types/ts3.4/commands/PutBucketEncryptionCommand.d.ts +6 -4
  327. package/dist-types/ts3.4/commands/PutBucketIntelligentTieringConfigurationCommand.d.ts +6 -4
  328. package/dist-types/ts3.4/commands/PutBucketInventoryConfigurationCommand.d.ts +6 -4
  329. package/dist-types/ts3.4/commands/PutBucketLifecycleConfigurationCommand.d.ts +6 -4
  330. package/dist-types/ts3.4/commands/PutBucketLoggingCommand.d.ts +6 -4
  331. package/dist-types/ts3.4/commands/PutBucketMetricsConfigurationCommand.d.ts +6 -4
  332. package/dist-types/ts3.4/commands/PutBucketNotificationConfigurationCommand.d.ts +6 -4
  333. package/dist-types/ts3.4/commands/PutBucketOwnershipControlsCommand.d.ts +6 -4
  334. package/dist-types/ts3.4/commands/PutBucketPolicyCommand.d.ts +6 -4
  335. package/dist-types/ts3.4/commands/PutBucketReplicationCommand.d.ts +6 -4
  336. package/dist-types/ts3.4/commands/PutBucketRequestPaymentCommand.d.ts +6 -4
  337. package/dist-types/ts3.4/commands/PutBucketTaggingCommand.d.ts +6 -4
  338. package/dist-types/ts3.4/commands/PutBucketVersioningCommand.d.ts +6 -4
  339. package/dist-types/ts3.4/commands/PutBucketWebsiteCommand.d.ts +6 -4
  340. package/dist-types/ts3.4/commands/PutObjectAclCommand.d.ts +6 -4
  341. package/dist-types/ts3.4/commands/PutObjectCommand.d.ts +6 -8
  342. package/dist-types/ts3.4/commands/PutObjectLegalHoldCommand.d.ts +6 -4
  343. package/dist-types/ts3.4/commands/PutObjectLockConfigurationCommand.d.ts +6 -4
  344. package/dist-types/ts3.4/commands/PutObjectRetentionCommand.d.ts +6 -4
  345. package/dist-types/ts3.4/commands/PutObjectTaggingCommand.d.ts +6 -4
  346. package/dist-types/ts3.4/commands/PutPublicAccessBlockCommand.d.ts +6 -4
  347. package/dist-types/ts3.4/commands/RenameObjectCommand.d.ts +6 -4
  348. package/dist-types/ts3.4/commands/RestoreObjectCommand.d.ts +6 -4
  349. package/dist-types/ts3.4/commands/SelectObjectContentCommand.d.ts +6 -4
  350. package/dist-types/ts3.4/commands/UpdateBucketMetadataInventoryTableConfigurationCommand.d.ts +6 -4
  351. package/dist-types/ts3.4/commands/UpdateBucketMetadataJournalTableConfigurationCommand.d.ts +6 -4
  352. package/dist-types/ts3.4/commands/UpdateObjectEncryptionCommand.d.ts +6 -4
  353. package/dist-types/ts3.4/commands/UploadPartCommand.d.ts +6 -4
  354. package/dist-types/ts3.4/commands/UploadPartCopyCommand.d.ts +6 -4
  355. package/dist-types/ts3.4/commands/WriteGetObjectResponseCommand.d.ts +6 -4
  356. package/dist-types/ts3.4/endpoint/bdd.d.ts +1 -1
  357. package/dist-types/ts3.4/extensionConfiguration.d.ts +1 -1
  358. package/dist-types/ts3.4/models/S3ServiceException.d.ts +1 -1
  359. package/dist-types/ts3.4/models/errors.d.ts +1 -1
  360. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +3 -3
  361. package/dist-types/ts3.4/runtimeConfig.d.ts +3 -3
  362. package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -4
  363. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -1
  364. package/dist-types/ts3.4/waiters/waitForBucketExists.d.ts +1 -1
  365. package/dist-types/ts3.4/waiters/waitForBucketNotExists.d.ts +1 -1
  366. package/dist-types/ts3.4/waiters/waitForObjectExists.d.ts +1 -1
  367. package/dist-types/ts3.4/waiters/waitForObjectNotExists.d.ts +1 -1
  368. package/dist-types/waiters/waitForBucketExists.d.ts +1 -1
  369. package/dist-types/waiters/waitForBucketNotExists.d.ts +1 -1
  370. package/dist-types/waiters/waitForObjectExists.d.ts +1 -1
  371. package/dist-types/waiters/waitForObjectNotExists.d.ts +1 -1
  372. package/package.json +20 -49
@@ -1,9 +1,9 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.S3ServiceException = exports.__ServiceException = void 0;
4
- const smithy_client_1 = require("@smithy/smithy-client");
5
- Object.defineProperty(exports, "__ServiceException", { enumerable: true, get: function () { return smithy_client_1.ServiceException; } });
6
- class S3ServiceException extends smithy_client_1.ServiceException {
4
+ const client_1 = require("@smithy/core/client");
5
+ Object.defineProperty(exports, "__ServiceException", { enumerable: true, get: function () { return client_1.ServiceException; } });
6
+ class S3ServiceException extends client_1.ServiceException {
7
7
  constructor(options) {
8
8
  super(options);
9
9
  Object.setPrototypeOf(this, S3ServiceException.prototype);
@@ -6,41 +6,38 @@ const package_json_1 = tslib_1.__importDefault(require("../package.json"));
6
6
  const sha1_browser_1 = require("@aws-crypto/sha1-browser");
7
7
  const sha256_browser_1 = require("@aws-crypto/sha256-browser");
8
8
  const util_user_agent_browser_1 = require("@aws-sdk/util-user-agent-browser");
9
- const config_resolver_1 = require("@smithy/config-resolver");
10
- const eventstream_serde_browser_1 = require("@smithy/eventstream-serde-browser");
9
+ const checksum_1 = require("@smithy/core/checksum");
10
+ const client_1 = require("@smithy/core/client");
11
+ const config_1 = require("@smithy/core/config");
12
+ const event_streams_1 = require("@smithy/core/event-streams");
13
+ const retry_1 = require("@smithy/core/retry");
14
+ const serde_1 = require("@smithy/core/serde");
11
15
  const fetch_http_handler_1 = require("@smithy/fetch-http-handler");
12
- const hash_blob_browser_1 = require("@smithy/hash-blob-browser");
13
- const invalid_dependency_1 = require("@smithy/invalid-dependency");
14
- const md5_js_1 = require("@smithy/md5-js");
15
- const smithy_client_1 = require("@smithy/smithy-client");
16
- const util_body_length_browser_1 = require("@smithy/util-body-length-browser");
17
- const util_defaults_mode_browser_1 = require("@smithy/util-defaults-mode-browser");
18
- const util_retry_1 = require("@smithy/util-retry");
19
16
  const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
20
17
  const getRuntimeConfig = (config) => {
21
- const defaultsMode = (0, util_defaults_mode_browser_1.resolveDefaultsModeConfig)(config);
22
- const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
18
+ const defaultsMode = (0, config_1.resolveDefaultsModeConfig)(config);
19
+ const defaultConfigProvider = () => defaultsMode().then(client_1.loadConfigsForDefaultMode);
23
20
  const clientSharedValues = (0, runtimeConfig_shared_1.getRuntimeConfig)(config);
24
21
  return {
25
22
  ...clientSharedValues,
26
23
  ...config,
27
24
  runtime: "browser",
28
25
  defaultsMode,
29
- bodyLengthChecker: config?.bodyLengthChecker ?? util_body_length_browser_1.calculateBodyLength,
26
+ bodyLengthChecker: config?.bodyLengthChecker ?? serde_1.calculateBodyLength,
30
27
  credentialDefaultProvider: config?.credentialDefaultProvider ?? ((_) => () => Promise.reject(new Error("Credential is missing"))),
31
28
  defaultUserAgentProvider: config?.defaultUserAgentProvider ?? (0, util_user_agent_browser_1.createDefaultUserAgentProvider)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
32
- eventStreamSerdeProvider: config?.eventStreamSerdeProvider ?? eventstream_serde_browser_1.eventStreamSerdeProvider,
33
- maxAttempts: config?.maxAttempts ?? util_retry_1.DEFAULT_MAX_ATTEMPTS,
34
- md5: config?.md5 ?? md5_js_1.Md5,
35
- region: config?.region ?? (0, invalid_dependency_1.invalidProvider)("Region is missing"),
29
+ eventStreamSerdeProvider: config?.eventStreamSerdeProvider ?? event_streams_1.eventStreamSerdeProvider,
30
+ maxAttempts: config?.maxAttempts ?? retry_1.DEFAULT_MAX_ATTEMPTS,
31
+ md5: config?.md5 ?? checksum_1.Md5,
32
+ region: config?.region ?? (0, client_1.invalidProvider)("Region is missing"),
36
33
  requestHandler: fetch_http_handler_1.FetchHttpHandler.create(config?.requestHandler ?? defaultConfigProvider),
37
- retryMode: config?.retryMode ?? (async () => (await defaultConfigProvider()).retryMode || util_retry_1.DEFAULT_RETRY_MODE),
34
+ retryMode: config?.retryMode ?? (async () => (await defaultConfigProvider()).retryMode || retry_1.DEFAULT_RETRY_MODE),
38
35
  sha1: config?.sha1 ?? sha1_browser_1.Sha1,
39
36
  sha256: config?.sha256 ?? sha256_browser_1.Sha256,
40
37
  streamCollector: config?.streamCollector ?? fetch_http_handler_1.streamCollector,
41
- streamHasher: config?.streamHasher ?? hash_blob_browser_1.blobHasher,
42
- useDualstackEndpoint: config?.useDualstackEndpoint ?? (() => Promise.resolve(config_resolver_1.DEFAULT_USE_DUALSTACK_ENDPOINT)),
43
- useFipsEndpoint: config?.useFipsEndpoint ?? (() => Promise.resolve(config_resolver_1.DEFAULT_USE_FIPS_ENDPOINT)),
38
+ streamHasher: config?.streamHasher ?? checksum_1.blobHasher,
39
+ useDualstackEndpoint: config?.useDualstackEndpoint ?? (() => Promise.resolve(config_1.DEFAULT_USE_DUALSTACK_ENDPOINT)),
40
+ useFipsEndpoint: config?.useFipsEndpoint ?? (() => Promise.resolve(config_1.DEFAULT_USE_FIPS_ENDPOINT)),
44
41
  };
45
42
  };
46
43
  exports.getRuntimeConfig = getRuntimeConfig;
@@ -10,22 +10,18 @@ const middleware_bucket_endpoint_1 = require("@aws-sdk/middleware-bucket-endpoin
10
10
  const middleware_flexible_checksums_1 = require("@aws-sdk/middleware-flexible-checksums");
11
11
  const middleware_sdk_s3_1 = require("@aws-sdk/middleware-sdk-s3");
12
12
  const util_user_agent_node_1 = require("@aws-sdk/util-user-agent-node");
13
- const config_resolver_1 = require("@smithy/config-resolver");
14
- const eventstream_serde_node_1 = require("@smithy/eventstream-serde-node");
15
- const hash_node_1 = require("@smithy/hash-node");
16
- const hash_stream_node_1 = require("@smithy/hash-stream-node");
17
- const middleware_retry_1 = require("@smithy/middleware-retry");
18
- const node_config_provider_1 = require("@smithy/node-config-provider");
13
+ const checksum_1 = require("@smithy/core/checksum");
14
+ const client_2 = require("@smithy/core/client");
15
+ const config_1 = require("@smithy/core/config");
16
+ const event_streams_1 = require("@smithy/core/event-streams");
17
+ const retry_1 = require("@smithy/core/retry");
18
+ const serde_1 = require("@smithy/core/serde");
19
19
  const node_http_handler_1 = require("@smithy/node-http-handler");
20
- const smithy_client_1 = require("@smithy/smithy-client");
21
- const util_body_length_node_1 = require("@smithy/util-body-length-node");
22
- const util_defaults_mode_node_1 = require("@smithy/util-defaults-mode-node");
23
- const util_retry_1 = require("@smithy/util-retry");
24
20
  const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
25
21
  const getRuntimeConfig = (config) => {
26
- (0, smithy_client_1.emitWarningIfUnsupportedVersion)(process.version);
27
- const defaultsMode = (0, util_defaults_mode_node_1.resolveDefaultsModeConfig)(config);
28
- const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
22
+ (0, client_2.emitWarningIfUnsupportedVersion)(process.version);
23
+ const defaultsMode = (0, config_1.resolveDefaultsModeConfig)(config);
24
+ const defaultConfigProvider = () => defaultsMode().then(client_2.loadConfigsForDefaultMode);
29
25
  const clientSharedValues = (0, runtimeConfig_shared_1.getRuntimeConfig)(config);
30
26
  (0, client_1.emitWarningIfUnsupportedVersion)(process.version);
31
27
  const loaderConfig = {
@@ -37,32 +33,32 @@ const getRuntimeConfig = (config) => {
37
33
  ...config,
38
34
  runtime: "node",
39
35
  defaultsMode,
40
- authSchemePreference: config?.authSchemePreference ?? (0, node_config_provider_1.loadConfig)(httpAuthSchemes_1.NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, loaderConfig),
41
- bodyLengthChecker: config?.bodyLengthChecker ?? util_body_length_node_1.calculateBodyLength,
36
+ authSchemePreference: config?.authSchemePreference ?? (0, config_1.loadConfig)(httpAuthSchemes_1.NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, loaderConfig),
37
+ bodyLengthChecker: config?.bodyLengthChecker ?? serde_1.calculateBodyLength,
42
38
  credentialDefaultProvider: config?.credentialDefaultProvider ?? credential_provider_node_1.defaultProvider,
43
39
  defaultUserAgentProvider: config?.defaultUserAgentProvider ?? (0, util_user_agent_node_1.createDefaultUserAgentProvider)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
44
- disableS3ExpressSessionAuth: config?.disableS3ExpressSessionAuth ?? (0, node_config_provider_1.loadConfig)(middleware_sdk_s3_1.NODE_DISABLE_S3_EXPRESS_SESSION_AUTH_OPTIONS, loaderConfig),
45
- eventStreamSerdeProvider: config?.eventStreamSerdeProvider ?? eventstream_serde_node_1.eventStreamSerdeProvider,
46
- maxAttempts: config?.maxAttempts ?? (0, node_config_provider_1.loadConfig)(middleware_retry_1.NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config),
47
- md5: config?.md5 ?? hash_node_1.Hash.bind(null, "md5"),
48
- region: config?.region ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_REGION_CONFIG_OPTIONS, { ...config_resolver_1.NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }),
49
- requestChecksumCalculation: config?.requestChecksumCalculation ?? (0, node_config_provider_1.loadConfig)(middleware_flexible_checksums_1.NODE_REQUEST_CHECKSUM_CALCULATION_CONFIG_OPTIONS, loaderConfig),
40
+ disableS3ExpressSessionAuth: config?.disableS3ExpressSessionAuth ?? (0, config_1.loadConfig)(middleware_sdk_s3_1.NODE_DISABLE_S3_EXPRESS_SESSION_AUTH_OPTIONS, loaderConfig),
41
+ eventStreamSerdeProvider: config?.eventStreamSerdeProvider ?? event_streams_1.eventStreamSerdeProvider,
42
+ maxAttempts: config?.maxAttempts ?? (0, config_1.loadConfig)(retry_1.NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config),
43
+ md5: config?.md5 ?? serde_1.Hash.bind(null, "md5"),
44
+ region: config?.region ?? (0, config_1.loadConfig)(config_1.NODE_REGION_CONFIG_OPTIONS, { ...config_1.NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }),
45
+ requestChecksumCalculation: config?.requestChecksumCalculation ?? (0, config_1.loadConfig)(middleware_flexible_checksums_1.NODE_REQUEST_CHECKSUM_CALCULATION_CONFIG_OPTIONS, loaderConfig),
50
46
  requestHandler: node_http_handler_1.NodeHttpHandler.create(config?.requestHandler ?? defaultConfigProvider),
51
- responseChecksumValidation: config?.responseChecksumValidation ?? (0, node_config_provider_1.loadConfig)(middleware_flexible_checksums_1.NODE_RESPONSE_CHECKSUM_VALIDATION_CONFIG_OPTIONS, loaderConfig),
47
+ responseChecksumValidation: config?.responseChecksumValidation ?? (0, config_1.loadConfig)(middleware_flexible_checksums_1.NODE_RESPONSE_CHECKSUM_VALIDATION_CONFIG_OPTIONS, loaderConfig),
52
48
  retryMode: config?.retryMode ??
53
- (0, node_config_provider_1.loadConfig)({
54
- ...middleware_retry_1.NODE_RETRY_MODE_CONFIG_OPTIONS,
55
- default: async () => (await defaultConfigProvider()).retryMode || util_retry_1.DEFAULT_RETRY_MODE,
49
+ (0, config_1.loadConfig)({
50
+ ...retry_1.NODE_RETRY_MODE_CONFIG_OPTIONS,
51
+ default: async () => (await defaultConfigProvider()).retryMode || retry_1.DEFAULT_RETRY_MODE,
56
52
  }, config),
57
- sha1: config?.sha1 ?? hash_node_1.Hash.bind(null, "sha1"),
58
- sha256: config?.sha256 ?? hash_node_1.Hash.bind(null, "sha256"),
59
- sigv4aSigningRegionSet: config?.sigv4aSigningRegionSet ?? (0, node_config_provider_1.loadConfig)(httpAuthSchemes_1.NODE_SIGV4A_CONFIG_OPTIONS, loaderConfig),
53
+ sha1: config?.sha1 ?? serde_1.Hash.bind(null, "sha1"),
54
+ sha256: config?.sha256 ?? serde_1.Hash.bind(null, "sha256"),
55
+ sigv4aSigningRegionSet: config?.sigv4aSigningRegionSet ?? (0, config_1.loadConfig)(httpAuthSchemes_1.NODE_SIGV4A_CONFIG_OPTIONS, loaderConfig),
60
56
  streamCollector: config?.streamCollector ?? node_http_handler_1.streamCollector,
61
- streamHasher: config?.streamHasher ?? hash_stream_node_1.readableStreamHasher,
62
- useArnRegion: config?.useArnRegion ?? (0, node_config_provider_1.loadConfig)(middleware_bucket_endpoint_1.NODE_USE_ARN_REGION_CONFIG_OPTIONS, loaderConfig),
63
- useDualstackEndpoint: config?.useDualstackEndpoint ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
64
- useFipsEndpoint: config?.useFipsEndpoint ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
65
- userAgentAppId: config?.userAgentAppId ?? (0, node_config_provider_1.loadConfig)(util_user_agent_node_1.NODE_APP_ID_CONFIG_OPTIONS, loaderConfig),
57
+ streamHasher: config?.streamHasher ?? checksum_1.readableStreamHasher,
58
+ useArnRegion: config?.useArnRegion ?? (0, config_1.loadConfig)(middleware_bucket_endpoint_1.NODE_USE_ARN_REGION_CONFIG_OPTIONS, loaderConfig),
59
+ useDualstackEndpoint: config?.useDualstackEndpoint ?? (0, config_1.loadConfig)(config_1.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
60
+ useFipsEndpoint: config?.useFipsEndpoint ?? (0, config_1.loadConfig)(config_1.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
61
+ userAgentAppId: config?.userAgentAppId ?? (0, config_1.loadConfig)(util_user_agent_node_1.NODE_APP_ID_CONFIG_OPTIONS, loaderConfig),
66
62
  };
67
63
  };
68
64
  exports.getRuntimeConfig = getRuntimeConfig;
@@ -4,23 +4,21 @@ exports.getRuntimeConfig = void 0;
4
4
  const httpAuthSchemes_1 = require("@aws-sdk/core/httpAuthSchemes");
5
5
  const middleware_sdk_s3_1 = require("@aws-sdk/middleware-sdk-s3");
6
6
  const signature_v4_multi_region_1 = require("@aws-sdk/signature-v4-multi-region");
7
- const smithy_client_1 = require("@smithy/smithy-client");
8
- const url_parser_1 = require("@smithy/url-parser");
9
- const util_base64_1 = require("@smithy/util-base64");
10
- const util_stream_1 = require("@smithy/util-stream");
11
- const util_utf8_1 = require("@smithy/util-utf8");
7
+ const client_1 = require("@smithy/core/client");
8
+ const protocols_1 = require("@smithy/core/protocols");
9
+ const serde_1 = require("@smithy/core/serde");
12
10
  const httpAuthSchemeProvider_1 = require("./auth/httpAuthSchemeProvider");
13
11
  const endpointResolver_1 = require("./endpoint/endpointResolver");
14
12
  const schemas_0_1 = require("./schemas/schemas_0");
15
13
  const getRuntimeConfig = (config) => {
16
14
  return {
17
15
  apiVersion: "2006-03-01",
18
- base64Decoder: config?.base64Decoder ?? util_base64_1.fromBase64,
19
- base64Encoder: config?.base64Encoder ?? util_base64_1.toBase64,
16
+ base64Decoder: config?.base64Decoder ?? serde_1.fromBase64,
17
+ base64Encoder: config?.base64Encoder ?? serde_1.toBase64,
20
18
  disableHostPrefix: config?.disableHostPrefix ?? false,
21
19
  endpointProvider: config?.endpointProvider ?? endpointResolver_1.defaultEndpointResolver,
22
20
  extensions: config?.extensions ?? [],
23
- getAwsChunkedEncodingStream: config?.getAwsChunkedEncodingStream ?? util_stream_1.getAwsChunkedEncodingStream,
21
+ getAwsChunkedEncodingStream: config?.getAwsChunkedEncodingStream ?? serde_1.getAwsChunkedEncodingStream,
24
22
  httpAuthSchemeProvider: config?.httpAuthSchemeProvider ?? httpAuthSchemeProvider_1.defaultS3HttpAuthSchemeProvider,
25
23
  httpAuthSchemes: config?.httpAuthSchemes ?? [
26
24
  {
@@ -34,7 +32,7 @@ const getRuntimeConfig = (config) => {
34
32
  signer: new httpAuthSchemes_1.AwsSdkSigV4ASigner(),
35
33
  },
36
34
  ],
37
- logger: config?.logger ?? new smithy_client_1.NoOpLogger(),
35
+ logger: config?.logger ?? new client_1.NoOpLogger(),
38
36
  protocol: config?.protocol ?? middleware_sdk_s3_1.S3RestXmlProtocol,
39
37
  protocolSettings: config?.protocolSettings ?? {
40
38
  defaultNamespace: "com.amazonaws.s3",
@@ -43,14 +41,14 @@ const getRuntimeConfig = (config) => {
43
41
  version: "2006-03-01",
44
42
  serviceTarget: "AmazonS3",
45
43
  },
46
- sdkStreamMixin: config?.sdkStreamMixin ?? util_stream_1.sdkStreamMixin,
44
+ sdkStreamMixin: config?.sdkStreamMixin ?? serde_1.sdkStreamMixin,
47
45
  serviceId: config?.serviceId ?? "S3",
48
46
  signerConstructor: config?.signerConstructor ?? signature_v4_multi_region_1.SignatureV4MultiRegion,
49
47
  signingEscapePath: config?.signingEscapePath ?? false,
50
- urlParser: config?.urlParser ?? url_parser_1.parseUrl,
48
+ urlParser: config?.urlParser ?? protocols_1.parseUrl,
51
49
  useArnRegion: config?.useArnRegion ?? undefined,
52
- utf8Decoder: config?.utf8Decoder ?? util_utf8_1.fromUtf8,
53
- utf8Encoder: config?.utf8Encoder ?? util_utf8_1.toUtf8,
50
+ utf8Decoder: config?.utf8Decoder ?? serde_1.fromUtf8,
51
+ utf8Encoder: config?.utf8Encoder ?? serde_1.toUtf8,
54
52
  };
55
53
  };
56
54
  exports.getRuntimeConfig = getRuntimeConfig;
package/dist-es/S3.js CHANGED
@@ -1,4 +1,4 @@
1
- import { createAggregatedClient } from "@smithy/smithy-client";
1
+ import { createAggregatedClient } from "@smithy/core/client";
2
2
  import { AbortMultipartUploadCommand, } from "./commands/AbortMultipartUploadCommand";
3
3
  import { CompleteMultipartUploadCommand, } from "./commands/CompleteMultipartUploadCommand";
4
4
  import { CopyObjectCommand, } from "./commands/CopyObjectCommand";
@@ -5,14 +5,14 @@ import { getLoggerPlugin } from "@aws-sdk/middleware-logger";
5
5
  import { getRecursionDetectionPlugin } from "@aws-sdk/middleware-recursion-detection";
6
6
  import { getRegionRedirectMiddlewarePlugin, getS3ExpressHttpSigningPlugin, getS3ExpressPlugin, getValidateBucketNamePlugin, resolveS3Config, } from "@aws-sdk/middleware-sdk-s3";
7
7
  import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware-user-agent";
8
- import { resolveRegionConfig } from "@smithy/config-resolver";
9
8
  import { DefaultIdentityProviderConfig, getHttpAuthSchemeEndpointRuleSetPlugin, getHttpSigningPlugin, } from "@smithy/core";
9
+ import { Client as __Client, } from "@smithy/core/client";
10
+ import { resolveRegionConfig } from "@smithy/core/config";
11
+ import { resolveEndpointConfig } from "@smithy/core/endpoints";
12
+ import { resolveEventStreamSerdeConfig, } from "@smithy/core/event-streams";
13
+ import { getContentLengthPlugin } from "@smithy/core/protocols";
14
+ import { getRetryPlugin, resolveRetryConfig, } from "@smithy/core/retry";
10
15
  import { getSchemaSerdePlugin } from "@smithy/core/schema";
11
- import { resolveEventStreamSerdeConfig, } from "@smithy/eventstream-serde-config-resolver";
12
- import { getContentLengthPlugin } from "@smithy/middleware-content-length";
13
- import { resolveEndpointConfig, } from "@smithy/middleware-endpoint";
14
- import { getRetryPlugin, resolveRetryConfig, } from "@smithy/middleware-retry";
15
- import { Client as __Client, } from "@smithy/smithy-client";
16
16
  import { defaultS3HttpAuthSchemeParametersProvider, resolveHttpAuthSchemeConfig, } from "./auth/httpAuthSchemeProvider";
17
17
  import { CreateSessionCommand, } from "./commands/CreateSessionCommand";
18
18
  import { resolveClientEndpointParameters, } from "./endpoint/EndpointParameters";
@@ -1,7 +1,7 @@
1
1
  import { resolveAwsSdkSigV4AConfig, resolveAwsSdkSigV4Config, } from "@aws-sdk/core/httpAuthSchemes";
2
2
  import { SignatureV4MultiRegion } from "@aws-sdk/signature-v4-multi-region";
3
- import { resolveParams } from "@smithy/middleware-endpoint";
4
- import { getSmithyContext, normalizeProvider } from "@smithy/util-middleware";
3
+ import { getSmithyContext, normalizeProvider } from "@smithy/core/client";
4
+ import { resolveParams } from "@smithy/core/endpoints";
5
5
  import { defaultEndpointResolver } from "../endpoint/endpointResolver";
6
6
  const createEndpointRuleSetHttpAuthSchemeParametersProvider = (defaultHttpAuthSchemeParametersProvider) => async (config, context, input) => {
7
7
  if (!input) {
@@ -1,6 +1,6 @@
1
1
  import { getThrow200ExceptionsPlugin } from "@aws-sdk/middleware-sdk-s3";
2
- import { getEndpointPlugin } from "@smithy/middleware-endpoint";
3
- import { Command as $Command } from "@smithy/smithy-client";
2
+ import { Command as $Command } from "@smithy/core/client";
3
+ import { getEndpointPlugin } from "@smithy/core/endpoints";
4
4
  import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { AbortMultipartUpload$ } from "../schemas/schemas_0";
6
6
  export { $Command };
@@ -1,7 +1,7 @@
1
1
  import { getThrow200ExceptionsPlugin } from "@aws-sdk/middleware-sdk-s3";
2
2
  import { getSsecPlugin } from "@aws-sdk/middleware-ssec";
3
- import { getEndpointPlugin } from "@smithy/middleware-endpoint";
4
- import { Command as $Command } from "@smithy/smithy-client";
3
+ import { Command as $Command } from "@smithy/core/client";
4
+ import { getEndpointPlugin } from "@smithy/core/endpoints";
5
5
  import { commonParams } from "../endpoint/EndpointParameters";
6
6
  import { CompleteMultipartUpload$ } from "../schemas/schemas_0";
7
7
  export { $Command };
@@ -1,7 +1,7 @@
1
1
  import { getThrow200ExceptionsPlugin } from "@aws-sdk/middleware-sdk-s3";
2
2
  import { getSsecPlugin } from "@aws-sdk/middleware-ssec";
3
- import { getEndpointPlugin } from "@smithy/middleware-endpoint";
4
- import { Command as $Command } from "@smithy/smithy-client";
3
+ import { Command as $Command } from "@smithy/core/client";
4
+ import { getEndpointPlugin } from "@smithy/core/endpoints";
5
5
  import { commonParams } from "../endpoint/EndpointParameters";
6
6
  import { CopyObject$ } from "../schemas/schemas_0";
7
7
  export { $Command };
@@ -1,7 +1,7 @@
1
1
  import { getLocationConstraintPlugin } from "@aws-sdk/middleware-location-constraint";
2
2
  import { getThrow200ExceptionsPlugin } from "@aws-sdk/middleware-sdk-s3";
3
- import { getEndpointPlugin } from "@smithy/middleware-endpoint";
4
- import { Command as $Command } from "@smithy/smithy-client";
3
+ import { Command as $Command } from "@smithy/core/client";
4
+ import { getEndpointPlugin } from "@smithy/core/endpoints";
5
5
  import { commonParams } from "../endpoint/EndpointParameters";
6
6
  import { CreateBucket$ } from "../schemas/schemas_0";
7
7
  export { $Command };
@@ -1,6 +1,6 @@
1
1
  import { getFlexibleChecksumsPlugin } from "@aws-sdk/middleware-flexible-checksums";
2
- import { getEndpointPlugin } from "@smithy/middleware-endpoint";
3
- import { Command as $Command } from "@smithy/smithy-client";
2
+ import { Command as $Command } from "@smithy/core/client";
3
+ import { getEndpointPlugin } from "@smithy/core/endpoints";
4
4
  import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { CreateBucketMetadataConfiguration$ } from "../schemas/schemas_0";
6
6
  export { $Command };
@@ -1,6 +1,6 @@
1
1
  import { getFlexibleChecksumsPlugin } from "@aws-sdk/middleware-flexible-checksums";
2
- import { getEndpointPlugin } from "@smithy/middleware-endpoint";
3
- import { Command as $Command } from "@smithy/smithy-client";
2
+ import { Command as $Command } from "@smithy/core/client";
3
+ import { getEndpointPlugin } from "@smithy/core/endpoints";
4
4
  import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { CreateBucketMetadataTableConfiguration$ } from "../schemas/schemas_0";
6
6
  export { $Command };
@@ -1,7 +1,7 @@
1
1
  import { getThrow200ExceptionsPlugin } from "@aws-sdk/middleware-sdk-s3";
2
2
  import { getSsecPlugin } from "@aws-sdk/middleware-ssec";
3
- import { getEndpointPlugin } from "@smithy/middleware-endpoint";
4
- import { Command as $Command } from "@smithy/smithy-client";
3
+ import { Command as $Command } from "@smithy/core/client";
4
+ import { getEndpointPlugin } from "@smithy/core/endpoints";
5
5
  import { commonParams } from "../endpoint/EndpointParameters";
6
6
  import { CreateMultipartUpload$ } from "../schemas/schemas_0";
7
7
  export { $Command };
@@ -1,6 +1,6 @@
1
1
  import { getThrow200ExceptionsPlugin } from "@aws-sdk/middleware-sdk-s3";
2
- import { getEndpointPlugin } from "@smithy/middleware-endpoint";
3
- import { Command as $Command } from "@smithy/smithy-client";
2
+ import { Command as $Command } from "@smithy/core/client";
3
+ import { getEndpointPlugin } from "@smithy/core/endpoints";
4
4
  import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { CreateSession$ } from "../schemas/schemas_0";
6
6
  export { $Command };
@@ -1,5 +1,5 @@
1
- import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { Command as $Command } from "@smithy/smithy-client";
1
+ import { Command as $Command } from "@smithy/core/client";
2
+ import { getEndpointPlugin } from "@smithy/core/endpoints";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
4
  import { DeleteBucketAnalyticsConfiguration$ } from "../schemas/schemas_0";
5
5
  export { $Command };
@@ -1,5 +1,5 @@
1
- import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { Command as $Command } from "@smithy/smithy-client";
1
+ import { Command as $Command } from "@smithy/core/client";
2
+ import { getEndpointPlugin } from "@smithy/core/endpoints";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
4
  import { DeleteBucket$ } from "../schemas/schemas_0";
5
5
  export { $Command };
@@ -1,5 +1,5 @@
1
- import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { Command as $Command } from "@smithy/smithy-client";
1
+ import { Command as $Command } from "@smithy/core/client";
2
+ import { getEndpointPlugin } from "@smithy/core/endpoints";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
4
  import { DeleteBucketCors$ } from "../schemas/schemas_0";
5
5
  export { $Command };
@@ -1,5 +1,5 @@
1
- import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { Command as $Command } from "@smithy/smithy-client";
1
+ import { Command as $Command } from "@smithy/core/client";
2
+ import { getEndpointPlugin } from "@smithy/core/endpoints";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
4
  import { DeleteBucketEncryption$ } from "../schemas/schemas_0";
5
5
  export { $Command };
@@ -1,5 +1,5 @@
1
- import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { Command as $Command } from "@smithy/smithy-client";
1
+ import { Command as $Command } from "@smithy/core/client";
2
+ import { getEndpointPlugin } from "@smithy/core/endpoints";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
4
  import { DeleteBucketIntelligentTieringConfiguration$ } from "../schemas/schemas_0";
5
5
  export { $Command };
@@ -1,5 +1,5 @@
1
- import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { Command as $Command } from "@smithy/smithy-client";
1
+ import { Command as $Command } from "@smithy/core/client";
2
+ import { getEndpointPlugin } from "@smithy/core/endpoints";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
4
  import { DeleteBucketInventoryConfiguration$ } from "../schemas/schemas_0";
5
5
  export { $Command };
@@ -1,5 +1,5 @@
1
- import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { Command as $Command } from "@smithy/smithy-client";
1
+ import { Command as $Command } from "@smithy/core/client";
2
+ import { getEndpointPlugin } from "@smithy/core/endpoints";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
4
  import { DeleteBucketLifecycle$ } from "../schemas/schemas_0";
5
5
  export { $Command };
@@ -1,5 +1,5 @@
1
- import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { Command as $Command } from "@smithy/smithy-client";
1
+ import { Command as $Command } from "@smithy/core/client";
2
+ import { getEndpointPlugin } from "@smithy/core/endpoints";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
4
  import { DeleteBucketMetadataConfiguration$ } from "../schemas/schemas_0";
5
5
  export { $Command };
@@ -1,5 +1,5 @@
1
- import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { Command as $Command } from "@smithy/smithy-client";
1
+ import { Command as $Command } from "@smithy/core/client";
2
+ import { getEndpointPlugin } from "@smithy/core/endpoints";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
4
  import { DeleteBucketMetadataTableConfiguration$ } from "../schemas/schemas_0";
5
5
  export { $Command };
@@ -1,5 +1,5 @@
1
- import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { Command as $Command } from "@smithy/smithy-client";
1
+ import { Command as $Command } from "@smithy/core/client";
2
+ import { getEndpointPlugin } from "@smithy/core/endpoints";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
4
  import { DeleteBucketMetricsConfiguration$ } from "../schemas/schemas_0";
5
5
  export { $Command };
@@ -1,5 +1,5 @@
1
- import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { Command as $Command } from "@smithy/smithy-client";
1
+ import { Command as $Command } from "@smithy/core/client";
2
+ import { getEndpointPlugin } from "@smithy/core/endpoints";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
4
  import { DeleteBucketOwnershipControls$ } from "../schemas/schemas_0";
5
5
  export { $Command };
@@ -1,5 +1,5 @@
1
- import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { Command as $Command } from "@smithy/smithy-client";
1
+ import { Command as $Command } from "@smithy/core/client";
2
+ import { getEndpointPlugin } from "@smithy/core/endpoints";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
4
  import { DeleteBucketPolicy$ } from "../schemas/schemas_0";
5
5
  export { $Command };
@@ -1,5 +1,5 @@
1
- import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { Command as $Command } from "@smithy/smithy-client";
1
+ import { Command as $Command } from "@smithy/core/client";
2
+ import { getEndpointPlugin } from "@smithy/core/endpoints";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
4
  import { DeleteBucketReplication$ } from "../schemas/schemas_0";
5
5
  export { $Command };
@@ -1,5 +1,5 @@
1
- import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { Command as $Command } from "@smithy/smithy-client";
1
+ import { Command as $Command } from "@smithy/core/client";
2
+ import { getEndpointPlugin } from "@smithy/core/endpoints";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
4
  import { DeleteBucketTagging$ } from "../schemas/schemas_0";
5
5
  export { $Command };
@@ -1,5 +1,5 @@
1
- import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { Command as $Command } from "@smithy/smithy-client";
1
+ import { Command as $Command } from "@smithy/core/client";
2
+ import { getEndpointPlugin } from "@smithy/core/endpoints";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
4
  import { DeleteBucketWebsite$ } from "../schemas/schemas_0";
5
5
  export { $Command };
@@ -1,6 +1,6 @@
1
1
  import { getThrow200ExceptionsPlugin } from "@aws-sdk/middleware-sdk-s3";
2
- import { getEndpointPlugin } from "@smithy/middleware-endpoint";
3
- import { Command as $Command } from "@smithy/smithy-client";
2
+ import { Command as $Command } from "@smithy/core/client";
3
+ import { getEndpointPlugin } from "@smithy/core/endpoints";
4
4
  import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { DeleteObject$ } from "../schemas/schemas_0";
6
6
  export { $Command };
@@ -1,6 +1,6 @@
1
1
  import { getThrow200ExceptionsPlugin } from "@aws-sdk/middleware-sdk-s3";
2
- import { getEndpointPlugin } from "@smithy/middleware-endpoint";
3
- import { Command as $Command } from "@smithy/smithy-client";
2
+ import { Command as $Command } from "@smithy/core/client";
3
+ import { getEndpointPlugin } from "@smithy/core/endpoints";
4
4
  import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { DeleteObjectTagging$ } from "../schemas/schemas_0";
6
6
  export { $Command };
@@ -1,7 +1,7 @@
1
1
  import { getFlexibleChecksumsPlugin } from "@aws-sdk/middleware-flexible-checksums";
2
2
  import { getThrow200ExceptionsPlugin } from "@aws-sdk/middleware-sdk-s3";
3
- import { getEndpointPlugin } from "@smithy/middleware-endpoint";
4
- import { Command as $Command } from "@smithy/smithy-client";
3
+ import { Command as $Command } from "@smithy/core/client";
4
+ import { getEndpointPlugin } from "@smithy/core/endpoints";
5
5
  import { commonParams } from "../endpoint/EndpointParameters";
6
6
  import { DeleteObjects$ } from "../schemas/schemas_0";
7
7
  export { $Command };
@@ -1,5 +1,5 @@
1
- import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { Command as $Command } from "@smithy/smithy-client";
1
+ import { Command as $Command } from "@smithy/core/client";
2
+ import { getEndpointPlugin } from "@smithy/core/endpoints";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
4
  import { DeletePublicAccessBlock$ } from "../schemas/schemas_0";
5
5
  export { $Command };
@@ -1,6 +1,6 @@
1
1
  import { getThrow200ExceptionsPlugin } from "@aws-sdk/middleware-sdk-s3";
2
- import { getEndpointPlugin } from "@smithy/middleware-endpoint";
3
- import { Command as $Command } from "@smithy/smithy-client";
2
+ import { Command as $Command } from "@smithy/core/client";
3
+ import { getEndpointPlugin } from "@smithy/core/endpoints";
4
4
  import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { GetBucketAbac$ } from "../schemas/schemas_0";
6
6
  export { $Command };
@@ -1,6 +1,6 @@
1
1
  import { getThrow200ExceptionsPlugin } from "@aws-sdk/middleware-sdk-s3";
2
- import { getEndpointPlugin } from "@smithy/middleware-endpoint";
3
- import { Command as $Command } from "@smithy/smithy-client";
2
+ import { Command as $Command } from "@smithy/core/client";
3
+ import { getEndpointPlugin } from "@smithy/core/endpoints";
4
4
  import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { GetBucketAccelerateConfiguration$ } from "../schemas/schemas_0";
6
6
  export { $Command };
@@ -1,6 +1,6 @@
1
1
  import { getThrow200ExceptionsPlugin } from "@aws-sdk/middleware-sdk-s3";
2
- import { getEndpointPlugin } from "@smithy/middleware-endpoint";
3
- import { Command as $Command } from "@smithy/smithy-client";
2
+ import { Command as $Command } from "@smithy/core/client";
3
+ import { getEndpointPlugin } from "@smithy/core/endpoints";
4
4
  import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { GetBucketAcl$ } from "../schemas/schemas_0";
6
6
  export { $Command };
@@ -1,6 +1,6 @@
1
1
  import { getThrow200ExceptionsPlugin } from "@aws-sdk/middleware-sdk-s3";
2
- import { getEndpointPlugin } from "@smithy/middleware-endpoint";
3
- import { Command as $Command } from "@smithy/smithy-client";
2
+ import { Command as $Command } from "@smithy/core/client";
3
+ import { getEndpointPlugin } from "@smithy/core/endpoints";
4
4
  import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { GetBucketAnalyticsConfiguration$ } from "../schemas/schemas_0";
6
6
  export { $Command };
@@ -1,6 +1,6 @@
1
1
  import { getThrow200ExceptionsPlugin } from "@aws-sdk/middleware-sdk-s3";
2
- import { getEndpointPlugin } from "@smithy/middleware-endpoint";
3
- import { Command as $Command } from "@smithy/smithy-client";
2
+ import { Command as $Command } from "@smithy/core/client";
3
+ import { getEndpointPlugin } from "@smithy/core/endpoints";
4
4
  import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { GetBucketCors$ } from "../schemas/schemas_0";
6
6
  export { $Command };
@@ -1,6 +1,6 @@
1
1
  import { getThrow200ExceptionsPlugin } from "@aws-sdk/middleware-sdk-s3";
2
- import { getEndpointPlugin } from "@smithy/middleware-endpoint";
3
- import { Command as $Command } from "@smithy/smithy-client";
2
+ import { Command as $Command } from "@smithy/core/client";
3
+ import { getEndpointPlugin } from "@smithy/core/endpoints";
4
4
  import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { GetBucketEncryption$ } from "../schemas/schemas_0";
6
6
  export { $Command };