@aws-sdk/client-s3 3.1045.0 → 3.1046.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
@@ -3,26 +3,26 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.resolveHttpAuthSchemeConfig = exports.defaultS3HttpAuthSchemeProvider = exports.defaultS3HttpAuthSchemeParametersProvider = void 0;
4
4
  const httpAuthSchemes_1 = require("@aws-sdk/core/httpAuthSchemes");
5
5
  const signature_v4_multi_region_1 = require("@aws-sdk/signature-v4-multi-region");
6
- const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
7
- const util_middleware_1 = require("@smithy/util-middleware");
6
+ const client_1 = require("@smithy/core/client");
7
+ const endpoints_1 = require("@smithy/core/endpoints");
8
8
  const endpointResolver_1 = require("../endpoint/endpointResolver");
9
9
  const createEndpointRuleSetHttpAuthSchemeParametersProvider = (defaultHttpAuthSchemeParametersProvider) => async (config, context, input) => {
10
10
  if (!input) {
11
11
  throw new Error("Could not find `input` for `defaultEndpointRuleSetHttpAuthSchemeParametersProvider`");
12
12
  }
13
13
  const defaultParameters = await defaultHttpAuthSchemeParametersProvider(config, context, input);
14
- const instructionsFn = (0, util_middleware_1.getSmithyContext)(context)?.commandInstance?.constructor
14
+ const instructionsFn = (0, client_1.getSmithyContext)(context)?.commandInstance?.constructor
15
15
  ?.getEndpointParameterInstructions;
16
16
  if (!instructionsFn) {
17
17
  throw new Error(`getEndpointParameterInstructions() is not defined on '${context.commandName}'`);
18
18
  }
19
- const endpointParameters = await (0, middleware_endpoint_1.resolveParams)(input, { getEndpointParameterInstructions: instructionsFn }, config);
19
+ const endpointParameters = await (0, endpoints_1.resolveParams)(input, { getEndpointParameterInstructions: instructionsFn }, config);
20
20
  return Object.assign(defaultParameters, endpointParameters);
21
21
  };
22
22
  const _defaultS3HttpAuthSchemeParametersProvider = async (config, context, input) => {
23
23
  return {
24
- operation: (0, util_middleware_1.getSmithyContext)(context).operation,
25
- region: await (0, util_middleware_1.normalizeProvider)(config.region)() || (() => {
24
+ operation: (0, client_1.getSmithyContext)(context).operation,
25
+ region: await (0, client_1.normalizeProvider)(config.region)() || (() => {
26
26
  throw new Error("expected `region` to be configured for `aws.auth#sigv4`");
27
27
  })(),
28
28
  };
@@ -120,7 +120,7 @@ const resolveHttpAuthSchemeConfig = (config) => {
120
120
  const config_0 = (0, httpAuthSchemes_1.resolveAwsSdkSigV4Config)(config);
121
121
  const config_1 = (0, httpAuthSchemes_1.resolveAwsSdkSigV4AConfig)(config_0);
122
122
  return Object.assign(config_1, {
123
- authSchemePreference: (0, util_middleware_1.normalizeProvider)(config.authSchemePreference ?? []),
123
+ authSchemePreference: (0, client_1.normalizeProvider)(config.authSchemePreference ?? []),
124
124
  });
125
125
  };
126
126
  exports.resolveHttpAuthSchemeConfig = resolveHttpAuthSchemeConfig;
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.bdd = void 0;
4
- const util_endpoints_1 = require("@smithy/util-endpoints");
4
+ const endpoints_1 = require("@smithy/core/endpoints");
5
5
  const aw = "ref", ax = "argv", ay = "backend", az = "authSchemes", aA = "disableDoubleEncoding", aB = "signingName", aC = "signingRegion", aD = "signingRegionSet";
6
6
  const a = -1, b = true, c = false, d = "isSet", e = "booleanEquals", f = "stringEquals", g = "coalesce", h = "substring", i = "", j = "aws.partition", k = "partitionResult", l = "accessPointSuffix", m = "regionPrefix", n = (n) => "outpostId_ssa_" + n + i, o = "hardwareType", p = "ite", q = "isValidHostLabel", s = "sigv4", t = "aws.isVirtualHostableS3Bucket", u = "url", v = "getAttr", w = "bucketArn", x = "--", y = "arnType", z = "accesspoint", A = (n) => "accessPointName_ssa_" + n + i, B = "s3-object-lambda", C = "s3-outposts", D = "bucketPartition", E = "us-east-1", F = "outpostType", G = "name", H = "s3", I = "{url#scheme}://{Bucket}.{url#authority}{url#path}", J = "{url#scheme}://{url#authority}{url#path}", K = "{url#scheme}://{url#authority}{url#normalizedPath}{Bucket}", L = "https://{Bucket}.s3-accelerate.{partitionResult#dnsSuffix}", M = "https://{Bucket}.s3.{partitionResult#dnsSuffix}", N = (n) => "{url#scheme}://{accessPointName_ssa_" + n + "}-{bucketArn#accountId}.{url#authority}{url#path}", O = (n) => "Invalid ARN: The access point name may only contain a-z, A-Z, 0-9 and `-`. Found: `{accessPointName_ssa_" + n + "}`", P = "sigv4a", Q = "{url#scheme}://{url#authority}{url#normalizedPath}{uri_encoded_bucket}", R = "https://s3.{partitionResult#dnsSuffix}/{uri_encoded_bucket}", S = "https://s3.{partitionResult#dnsSuffix}", T = { [aw]: "UseFIPS" }, U = { [aw]: "UseDualStack" }, V = { [aw]: "Bucket" }, W = { "fn": v, [ax]: [{ [aw]: k }, G] }, X = { [aw]: u }, Y = { [aw]: "Region" }, Z = { [aw]: w }, aa = { [aw]: y }, ab = { [aw]: "accessPointName_ssa_1" }, ac = { "fn": v, [ax]: [Z, "region"] }, ad = { [aw]: o }, ae = { "fn": v, [ax]: [Z, "service"] }, af = { "fn": v, [ax]: [Z, "accountId"] }, ag = { [ay]: "S3Express", [az]: [{ [aA]: true, [G]: "{_s3e_auth}", [aB]: "s3express", [aC]: "{Region}" }] }, ah = { [ay]: "S3Express", [az]: [{ [aA]: true, [G]: s, [aB]: "s3express", [aC]: "{Region}" }] }, ai = { [az]: [{ [aA]: true, [G]: P, [aB]: C, [aD]: ["*"] }, { [aA]: true, [G]: s, [aB]: C, [aC]: "{Region}" }] }, aj = { [az]: [{ [aA]: true, [G]: s, [aB]: H, [aC]: E }] }, ak = { [az]: [{ [aA]: true, [G]: s, [aB]: H, [aC]: "{Region}" }] }, al = { [az]: [{ [aA]: true, [G]: s, [aB]: B, [aC]: "{bucketArn#region}" }] }, am = { [az]: [{ [aA]: true, [G]: s, [aB]: H, [aC]: "{bucketArn#region}" }] }, an = { [az]: [{ [aA]: true, [G]: P, [aB]: C, [aD]: ["*"] }, { [aA]: true, [G]: s, [aB]: C, [aC]: "{bucketArn#region}" }] }, ao = { [az]: [{ [aA]: true, [G]: s, [aB]: B, [aC]: "{Region}" }] }, ap = [Y], aq = [{ [aw]: "Endpoint" }], as = [V], at = [V, 0, 7, true], au = [Z, "resourceId[1]"], av = ["*"];
7
7
  const _data = {
@@ -758,4 +758,4 @@ const nodes = new Int32Array([
758
758
  44, r + 15, 553,
759
759
  45, r + 15, r + 20,
760
760
  ]);
761
- exports.bdd = util_endpoints_1.BinaryDecisionDiagram.from(nodes, root, _data.conditions, _data.results);
761
+ exports.bdd = endpoints_1.BinaryDecisionDiagram.from(nodes, root, _data.conditions, _data.results);
@@ -2,9 +2,9 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.defaultEndpointResolver = void 0;
4
4
  const util_endpoints_1 = require("@aws-sdk/util-endpoints");
5
- const util_endpoints_2 = require("@smithy/util-endpoints");
5
+ const endpoints_1 = require("@smithy/core/endpoints");
6
6
  const bdd_1 = require("./bdd");
7
- const cache = new util_endpoints_2.EndpointCache({
7
+ const cache = new endpoints_1.EndpointCache({
8
8
  size: 50,
9
9
  params: [
10
10
  "Accelerate",
@@ -24,10 +24,10 @@ const cache = new util_endpoints_2.EndpointCache({
24
24
  ],
25
25
  });
26
26
  const defaultEndpointResolver = (endpointParams, context = {}) => {
27
- return cache.get(endpointParams, () => (0, util_endpoints_2.decideEndpoint)(bdd_1.bdd, {
27
+ return cache.get(endpointParams, () => (0, endpoints_1.decideEndpoint)(bdd_1.bdd, {
28
28
  endpointParams: endpointParams,
29
29
  logger: context.logger,
30
30
  }));
31
31
  };
32
32
  exports.defaultEndpointResolver = defaultEndpointResolver;
33
- util_endpoints_2.customEndpointFunctions.aws = util_endpoints_1.awsEndpointFunctions;
33
+ endpoints_1.customEndpointFunctions.aws = util_endpoints_1.awsEndpointFunctions;