@nocobase/plugin-file-manager 1.5.11 → 1.5.13

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 (489) hide show
  1. package/dist/externalVersion.js +6 -6
  2. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/auth/httpAuthSchemeProvider.js +127 -0
  3. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/endpoint/endpointResolver.js +24 -3
  4. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/endpoint/ruleset.js +3 -3
  5. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/index.js +34520 -31
  6. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/runtimeConfig.browser.js +2 -2
  7. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/runtimeConfig.js +20 -11
  8. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/runtimeConfig.shared.js +15 -0
  9. package/dist/node_modules/@aws-sdk/client-s3/dist-es/S3.js +6 -0
  10. package/dist/node_modules/@aws-sdk/client-s3/dist-es/S3Client.js +26 -14
  11. package/dist/node_modules/@aws-sdk/client-s3/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
  12. package/dist/node_modules/@aws-sdk/client-s3/dist-es/auth/httpAuthSchemeProvider.js +123 -0
  13. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/AbortMultipartUploadCommand.js +22 -49
  14. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/CompleteMultipartUploadCommand.js +22 -51
  15. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/CopyObjectCommand.js +24 -50
  16. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/CreateBucketCommand.js +24 -51
  17. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/CreateBucketMetadataTableConfigurationCommand.js +31 -0
  18. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/CreateMultipartUploadCommand.js +23 -50
  19. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/CreateSessionCommand.js +23 -49
  20. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketAnalyticsConfigurationCommand.js +20 -49
  21. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketCommand.js +20 -49
  22. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketCorsCommand.js +20 -49
  23. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketEncryptionCommand.js +20 -49
  24. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketIntelligentTieringConfigurationCommand.js +20 -49
  25. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketInventoryConfigurationCommand.js +20 -49
  26. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketLifecycleCommand.js +20 -49
  27. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketMetadataTableConfigurationCommand.js +26 -0
  28. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketMetricsConfigurationCommand.js +20 -49
  29. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketOwnershipControlsCommand.js +20 -49
  30. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketPolicyCommand.js +20 -49
  31. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketReplicationCommand.js +20 -49
  32. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketTaggingCommand.js +20 -49
  33. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketWebsiteCommand.js +20 -49
  34. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteObjectCommand.js +22 -49
  35. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteObjectTaggingCommand.js +21 -48
  36. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteObjectsCommand.js +24 -52
  37. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeletePublicAccessBlockCommand.js +20 -49
  38. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketAccelerateConfigurationCommand.js +22 -49
  39. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketAclCommand.js +22 -49
  40. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketAnalyticsConfigurationCommand.js +22 -49
  41. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketCorsCommand.js +22 -49
  42. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketEncryptionCommand.js +22 -49
  43. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketIntelligentTieringConfigurationCommand.js +22 -49
  44. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketInventoryConfigurationCommand.js +22 -49
  45. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketLifecycleConfigurationCommand.js +22 -49
  46. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketLocationCommand.js +22 -49
  47. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketLoggingCommand.js +22 -49
  48. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketMetadataTableConfigurationCommand.js +28 -0
  49. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketMetricsConfigurationCommand.js +22 -49
  50. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketNotificationConfigurationCommand.js +22 -49
  51. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketOwnershipControlsCommand.js +22 -49
  52. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketPolicyCommand.js +22 -49
  53. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketPolicyStatusCommand.js +22 -49
  54. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketReplicationCommand.js +22 -49
  55. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketRequestPaymentCommand.js +22 -49
  56. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketTaggingCommand.js +22 -49
  57. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketVersioningCommand.js +22 -49
  58. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketWebsiteCommand.js +22 -49
  59. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetObjectAclCommand.js +22 -49
  60. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetObjectAttributesCommand.js +22 -49
  61. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetObjectCommand.js +26 -54
  62. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetObjectLegalHoldCommand.js +21 -48
  63. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetObjectLockConfigurationCommand.js +21 -48
  64. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetObjectRetentionCommand.js +21 -48
  65. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetObjectTaggingCommand.js +21 -48
  66. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetObjectTorrentCommand.js +19 -48
  67. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetPublicAccessBlockCommand.js +22 -49
  68. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/HeadBucketCommand.js +21 -48
  69. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/HeadObjectCommand.js +24 -50
  70. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/ListBucketAnalyticsConfigurationsCommand.js +22 -49
  71. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/ListBucketIntelligentTieringConfigurationsCommand.js +22 -49
  72. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/ListBucketInventoryConfigurationsCommand.js +22 -49
  73. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/ListBucketMetricsConfigurationsCommand.js +21 -48
  74. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/ListBucketsCommand.js +18 -47
  75. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/ListDirectoryBucketsCommand.js +21 -48
  76. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/ListMultipartUploadsCommand.js +22 -49
  77. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/ListObjectVersionsCommand.js +22 -49
  78. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/ListObjectsCommand.js +22 -49
  79. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/ListObjectsV2Command.js +22 -49
  80. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/ListPartsCommand.js +23 -50
  81. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketAccelerateConfigurationCommand.js +23 -53
  82. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketAclCommand.js +23 -53
  83. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketAnalyticsConfigurationCommand.js +20 -49
  84. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketCorsCommand.js +23 -53
  85. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketEncryptionCommand.js +24 -54
  86. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketIntelligentTieringConfigurationCommand.js +20 -49
  87. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketInventoryConfigurationCommand.js +21 -50
  88. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketLifecycleConfigurationCommand.js +25 -53
  89. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketLoggingCommand.js +23 -53
  90. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketMetricsConfigurationCommand.js +20 -49
  91. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketNotificationConfigurationCommand.js +20 -49
  92. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketOwnershipControlsCommand.js +23 -50
  93. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketPolicyCommand.js +23 -53
  94. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketReplicationCommand.js +23 -53
  95. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketRequestPaymentCommand.js +23 -53
  96. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketTaggingCommand.js +23 -53
  97. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketVersioningCommand.js +23 -53
  98. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketWebsiteCommand.js +23 -53
  99. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutObjectAclCommand.js +25 -53
  100. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutObjectCommand.js +27 -56
  101. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutObjectLegalHoldCommand.js +24 -52
  102. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutObjectLockConfigurationCommand.js +24 -52
  103. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutObjectRetentionCommand.js +24 -52
  104. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutObjectTaggingCommand.js +24 -52
  105. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutPublicAccessBlockCommand.js +23 -53
  106. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/RestoreObjectCommand.js +24 -52
  107. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/SelectObjectContentCommand.js +26 -52
  108. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/UploadPartCommand.js +26 -54
  109. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/UploadPartCopyCommand.js +22 -50
  110. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/WriteGetObjectResponseCommand.js +19 -48
  111. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/index.js +3 -0
  112. package/dist/node_modules/@aws-sdk/client-s3/dist-es/endpoint/EndpointParameters.js +12 -0
  113. package/dist/node_modules/@aws-sdk/client-s3/dist-es/endpoint/endpointResolver.js +24 -3
  114. package/dist/node_modules/@aws-sdk/client-s3/dist-es/endpoint/ruleset.js +3 -3
  115. package/dist/node_modules/@aws-sdk/client-s3/dist-es/index.js +0 -1
  116. package/dist/node_modules/@aws-sdk/client-s3/dist-es/models/models_0.js +41 -56
  117. package/dist/node_modules/@aws-sdk/client-s3/dist-es/models/models_1.js +63 -2
  118. package/dist/node_modules/@aws-sdk/client-s3/dist-es/pagination/ListBucketsPaginator.js +4 -0
  119. package/dist/node_modules/@aws-sdk/client-s3/dist-es/pagination/ListDirectoryBucketsPaginator.js +2 -23
  120. package/dist/node_modules/@aws-sdk/client-s3/dist-es/pagination/ListObjectsV2Paginator.js +2 -23
  121. package/dist/node_modules/@aws-sdk/client-s3/dist-es/pagination/ListPartsPaginator.js +2 -23
  122. package/dist/node_modules/@aws-sdk/client-s3/dist-es/pagination/index.js +1 -0
  123. package/dist/node_modules/@aws-sdk/client-s3/dist-es/protocols/Aws_restXml.js +4054 -5980
  124. package/dist/node_modules/@aws-sdk/client-s3/dist-es/runtimeConfig.browser.js +3 -3
  125. package/dist/node_modules/@aws-sdk/client-s3/dist-es/runtimeConfig.js +22 -13
  126. package/dist/node_modules/@aws-sdk/client-s3/dist-es/runtimeConfig.shared.js +15 -0
  127. package/dist/node_modules/@aws-sdk/client-s3/dist-es/runtimeExtensions.js +3 -0
  128. package/dist/node_modules/@aws-sdk/client-s3/dist-types/S3.d.ts +24 -1
  129. package/dist/node_modules/@aws-sdk/client-s3/dist-types/S3Client.d.ts +46 -23
  130. package/dist/node_modules/@aws-sdk/client-s3/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
  131. package/dist/node_modules/@aws-sdk/client-s3/dist-types/auth/httpAuthSchemeProvider.d.ts +69 -0
  132. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/AbortMultipartUploadCommand.d.ts +48 -32
  133. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/CompleteMultipartUploadCommand.d.ts +85 -64
  134. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/CopyObjectCommand.d.ts +130 -84
  135. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/CreateBucketCommand.d.ts +113 -90
  136. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/CreateBucketMetadataTableConfigurationCommand.d.ts +134 -0
  137. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/CreateMultipartUploadCommand.d.ts +152 -102
  138. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/CreateSessionCommand.d.ts +92 -41
  139. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketAnalyticsConfigurationCommand.d.ts +22 -24
  140. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketCommand.d.ts +35 -29
  141. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketCorsCommand.d.ts +22 -24
  142. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketEncryptionCommand.d.ts +68 -35
  143. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketIntelligentTieringConfigurationCommand.d.ts +22 -24
  144. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketInventoryConfigurationCommand.d.ts +22 -24
  145. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketLifecycleCommand.d.ts +74 -32
  146. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketMetadataTableConfigurationCommand.d.ts +95 -0
  147. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketMetricsConfigurationCommand.d.ts +22 -24
  148. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketOwnershipControlsCommand.d.ts +22 -24
  149. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketPolicyCommand.d.ts +50 -47
  150. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketReplicationCommand.d.ts +22 -24
  151. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketTaggingCommand.d.ts +22 -24
  152. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketWebsiteCommand.d.ts +22 -24
  153. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteObjectCommand.d.ts +34 -31
  154. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteObjectTaggingCommand.d.ts +33 -35
  155. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteObjectsCommand.d.ts +62 -50
  156. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeletePublicAccessBlockCommand.d.ts +22 -24
  157. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketAccelerateConfigurationCommand.d.ts +22 -24
  158. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketAclCommand.d.ts +22 -24
  159. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketAnalyticsConfigurationCommand.d.ts +22 -24
  160. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketCorsCommand.d.ts +22 -24
  161. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketEncryptionCommand.d.ts +69 -34
  162. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketIntelligentTieringConfigurationCommand.d.ts +22 -24
  163. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketInventoryConfigurationCommand.d.ts +22 -24
  164. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketLifecycleConfigurationCommand.d.ts +85 -41
  165. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketLocationCommand.d.ts +23 -25
  166. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketLoggingCommand.d.ts +22 -24
  167. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketMetadataTableConfigurationCommand.d.ts +111 -0
  168. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketMetricsConfigurationCommand.d.ts +22 -24
  169. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketNotificationConfigurationCommand.d.ts +22 -24
  170. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketOwnershipControlsCommand.d.ts +22 -24
  171. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketPolicyCommand.d.ts +55 -47
  172. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketPolicyStatusCommand.d.ts +22 -24
  173. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketReplicationCommand.d.ts +23 -25
  174. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketRequestPaymentCommand.d.ts +22 -24
  175. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketTaggingCommand.d.ts +22 -24
  176. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketVersioningCommand.d.ts +22 -24
  177. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketWebsiteCommand.d.ts +22 -24
  178. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectAclCommand.d.ts +22 -24
  179. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectAttributesCommand.d.ts +92 -66
  180. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectCommand.d.ts +111 -84
  181. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectLegalHoldCommand.d.ts +22 -24
  182. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectLockConfigurationCommand.d.ts +22 -24
  183. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectRetentionCommand.d.ts +22 -24
  184. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectTaggingCommand.d.ts +41 -43
  185. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectTorrentCommand.d.ts +23 -25
  186. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetPublicAccessBlockCommand.d.ts +22 -24
  187. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/HeadBucketCommand.d.ts +62 -45
  188. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/HeadObjectCommand.d.ts +101 -65
  189. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/ListBucketAnalyticsConfigurationsCommand.d.ts +22 -24
  190. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/ListBucketIntelligentTieringConfigurationsCommand.d.ts +22 -24
  191. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/ListBucketInventoryConfigurationsCommand.d.ts +22 -24
  192. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/ListBucketMetricsConfigurationsCommand.d.ts +22 -24
  193. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/ListBucketsCommand.d.ts +43 -30
  194. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/ListDirectoryBucketsCommand.d.ts +37 -28
  195. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/ListMultipartUploadsCommand.d.ts +108 -89
  196. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/ListObjectVersionsCommand.d.ts +25 -26
  197. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/ListObjectsCommand.d.ts +24 -25
  198. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/ListObjectsV2Command.d.ts +60 -37
  199. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/ListPartsCommand.d.ts +49 -43
  200. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketAccelerateConfigurationCommand.d.ts +23 -25
  201. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketAclCommand.d.ts +23 -25
  202. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketAnalyticsConfigurationCommand.d.ts +22 -24
  203. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketCorsCommand.d.ts +24 -26
  204. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketEncryptionCommand.d.ts +133 -42
  205. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketIntelligentTieringConfigurationCommand.d.ts +23 -25
  206. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketInventoryConfigurationCommand.d.ts +23 -25
  207. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketLifecycleConfigurationCommand.d.ts +116 -78
  208. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketLoggingCommand.d.ts +24 -26
  209. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketMetricsConfigurationCommand.d.ts +23 -25
  210. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketNotificationConfigurationCommand.d.ts +23 -25
  211. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketOwnershipControlsCommand.d.ts +23 -25
  212. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketPolicyCommand.d.ts +57 -49
  213. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketReplicationCommand.d.ts +26 -29
  214. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketRequestPaymentCommand.d.ts +23 -25
  215. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketTaggingCommand.d.ts +23 -25
  216. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketVersioningCommand.d.ts +31 -25
  217. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketWebsiteCommand.d.ts +23 -25
  218. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutObjectAclCommand.d.ts +23 -25
  219. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutObjectCommand.d.ts +158 -93
  220. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutObjectLegalHoldCommand.d.ts +23 -25
  221. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutObjectLockConfigurationCommand.d.ts +25 -27
  222. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutObjectRetentionCommand.d.ts +23 -25
  223. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutObjectTaggingCommand.d.ts +23 -25
  224. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutPublicAccessBlockCommand.d.ts +23 -25
  225. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/RestoreObjectCommand.d.ts +24 -85
  226. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/SelectObjectContentCommand.d.ts +23 -25
  227. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/UploadPartCommand.d.ts +95 -68
  228. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/UploadPartCopyCommand.d.ts +132 -85
  229. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/WriteGetObjectResponseCommand.d.ts +24 -25
  230. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/index.d.ts +3 -0
  231. package/dist/node_modules/@aws-sdk/client-s3/dist-types/endpoint/EndpointParameters.d.ts +43 -0
  232. package/dist/node_modules/@aws-sdk/client-s3/dist-types/extensionConfiguration.d.ts +2 -1
  233. package/dist/node_modules/@aws-sdk/client-s3/dist-types/index.d.ts +2 -3
  234. package/dist/node_modules/@aws-sdk/client-s3/dist-types/models/S3ServiceException.d.ts +2 -1
  235. package/dist/node_modules/@aws-sdk/client-s3/dist-types/models/models_0.d.ts +3842 -3109
  236. package/dist/node_modules/@aws-sdk/client-s3/dist-types/models/models_1.d.ts +1620 -883
  237. package/dist/node_modules/@aws-sdk/client-s3/dist-types/pagination/ListBucketsPaginator.d.ts +7 -0
  238. package/dist/node_modules/@aws-sdk/client-s3/dist-types/pagination/ListDirectoryBucketsPaginator.d.ts +1 -1
  239. package/dist/node_modules/@aws-sdk/client-s3/dist-types/pagination/ListObjectsV2Paginator.d.ts +1 -1
  240. package/dist/node_modules/@aws-sdk/client-s3/dist-types/pagination/ListPartsPaginator.d.ts +1 -1
  241. package/dist/node_modules/@aws-sdk/client-s3/dist-types/pagination/index.d.ts +1 -0
  242. package/dist/node_modules/@aws-sdk/client-s3/dist-types/protocols/Aws_restXml.d.ts +27 -0
  243. package/dist/node_modules/@aws-sdk/client-s3/dist-types/runtimeConfig.browser.d.ts +21 -13
  244. package/dist/node_modules/@aws-sdk/client-s3/dist-types/runtimeConfig.d.ts +20 -12
  245. package/dist/node_modules/@aws-sdk/client-s3/dist-types/runtimeConfig.native.d.ts +25 -17
  246. package/dist/node_modules/@aws-sdk/client-s3/dist-types/runtimeConfig.shared.d.ts +4 -2
  247. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/S3.d.ts +71 -0
  248. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/S3Client.d.ts +47 -24
  249. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +32 -0
  250. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +55 -0
  251. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/AbortMultipartUploadCommand.d.ts +33 -24
  252. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/CompleteMultipartUploadCommand.d.ts +33 -24
  253. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/CopyObjectCommand.d.ts +35 -23
  254. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/CreateBucketCommand.d.ts +35 -23
  255. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/CreateBucketMetadataTableConfigurationCommand.d.ts +47 -0
  256. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/CreateMultipartUploadCommand.d.ts +33 -24
  257. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/CreateSessionCommand.d.ts +35 -23
  258. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketAnalyticsConfigurationCommand.d.ts +33 -24
  259. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketCommand.d.ts +35 -23
  260. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketCorsCommand.d.ts +35 -23
  261. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketEncryptionCommand.d.ts +33 -24
  262. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketIntelligentTieringConfigurationCommand.d.ts +33 -24
  263. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketInventoryConfigurationCommand.d.ts +33 -24
  264. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketLifecycleCommand.d.ts +33 -24
  265. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketMetadataTableConfigurationCommand.d.ts +47 -0
  266. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketMetricsConfigurationCommand.d.ts +33 -24
  267. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketOwnershipControlsCommand.d.ts +33 -24
  268. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketPolicyCommand.d.ts +35 -23
  269. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketReplicationCommand.d.ts +33 -24
  270. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketTaggingCommand.d.ts +35 -23
  271. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketWebsiteCommand.d.ts +35 -23
  272. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteObjectCommand.d.ts +35 -23
  273. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteObjectTaggingCommand.d.ts +35 -23
  274. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteObjectsCommand.d.ts +35 -23
  275. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeletePublicAccessBlockCommand.d.ts +33 -24
  276. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketAccelerateConfigurationCommand.d.ts +33 -24
  277. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketAclCommand.d.ts +35 -23
  278. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketAnalyticsConfigurationCommand.d.ts +33 -24
  279. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketCorsCommand.d.ts +35 -23
  280. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketEncryptionCommand.d.ts +35 -23
  281. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketIntelligentTieringConfigurationCommand.d.ts +33 -24
  282. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketInventoryConfigurationCommand.d.ts +33 -24
  283. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketLifecycleConfigurationCommand.d.ts +33 -24
  284. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketLocationCommand.d.ts +35 -23
  285. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketLoggingCommand.d.ts +35 -23
  286. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketMetadataTableConfigurationCommand.d.ts +51 -0
  287. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketMetricsConfigurationCommand.d.ts +33 -24
  288. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketNotificationConfigurationCommand.d.ts +33 -24
  289. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketOwnershipControlsCommand.d.ts +33 -24
  290. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketPolicyCommand.d.ts +35 -23
  291. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketPolicyStatusCommand.d.ts +33 -24
  292. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketReplicationCommand.d.ts +33 -24
  293. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketRequestPaymentCommand.d.ts +33 -24
  294. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketTaggingCommand.d.ts +35 -23
  295. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketVersioningCommand.d.ts +35 -23
  296. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketWebsiteCommand.d.ts +35 -23
  297. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetObjectAclCommand.d.ts +35 -23
  298. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetObjectAttributesCommand.d.ts +35 -23
  299. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetObjectCommand.d.ts +34 -20
  300. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetObjectLegalHoldCommand.d.ts +35 -23
  301. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetObjectLockConfigurationCommand.d.ts +33 -24
  302. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetObjectRetentionCommand.d.ts +35 -23
  303. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetObjectTaggingCommand.d.ts +35 -23
  304. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetObjectTorrentCommand.d.ts +34 -20
  305. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetPublicAccessBlockCommand.d.ts +33 -24
  306. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/HeadBucketCommand.d.ts +35 -23
  307. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/HeadObjectCommand.d.ts +35 -23
  308. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/ListBucketAnalyticsConfigurationsCommand.d.ts +33 -24
  309. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/ListBucketIntelligentTieringConfigurationsCommand.d.ts +33 -24
  310. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/ListBucketInventoryConfigurationsCommand.d.ts +33 -24
  311. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/ListBucketMetricsConfigurationsCommand.d.ts +33 -24
  312. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/ListBucketsCommand.d.ts +37 -25
  313. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/ListDirectoryBucketsCommand.d.ts +33 -24
  314. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/ListMultipartUploadsCommand.d.ts +33 -24
  315. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/ListObjectVersionsCommand.d.ts +35 -23
  316. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/ListObjectsCommand.d.ts +35 -23
  317. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/ListObjectsV2Command.d.ts +35 -23
  318. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/ListPartsCommand.d.ts +35 -23
  319. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketAccelerateConfigurationCommand.d.ts +33 -24
  320. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketAclCommand.d.ts +35 -23
  321. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketAnalyticsConfigurationCommand.d.ts +33 -24
  322. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketCorsCommand.d.ts +36 -24
  323. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketEncryptionCommand.d.ts +36 -24
  324. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketIntelligentTieringConfigurationCommand.d.ts +34 -25
  325. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketInventoryConfigurationCommand.d.ts +34 -25
  326. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketLifecycleConfigurationCommand.d.ts +38 -25
  327. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketLoggingCommand.d.ts +36 -24
  328. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketMetricsConfigurationCommand.d.ts +34 -25
  329. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketNotificationConfigurationCommand.d.ts +34 -25
  330. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketOwnershipControlsCommand.d.ts +34 -25
  331. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketPolicyCommand.d.ts +36 -24
  332. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketReplicationCommand.d.ts +33 -24
  333. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketRequestPaymentCommand.d.ts +33 -24
  334. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketTaggingCommand.d.ts +35 -23
  335. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketVersioningCommand.d.ts +35 -23
  336. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketWebsiteCommand.d.ts +35 -23
  337. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutObjectAclCommand.d.ts +35 -23
  338. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutObjectCommand.d.ts +34 -20
  339. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutObjectLegalHoldCommand.d.ts +35 -23
  340. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutObjectLockConfigurationCommand.d.ts +33 -24
  341. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutObjectRetentionCommand.d.ts +35 -23
  342. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutObjectTaggingCommand.d.ts +35 -23
  343. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutPublicAccessBlockCommand.d.ts +33 -24
  344. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/RestoreObjectCommand.d.ts +35 -23
  345. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/SelectObjectContentCommand.d.ts +35 -23
  346. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/UploadPartCommand.d.ts +34 -20
  347. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/UploadPartCopyCommand.d.ts +35 -23
  348. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/WriteGetObjectResponseCommand.d.ts +32 -21
  349. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/index.d.ts +3 -0
  350. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +43 -0
  351. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/extensionConfiguration.d.ts +3 -1
  352. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/index.d.ts +0 -1
  353. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/models/S3ServiceException.d.ts +2 -1
  354. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/models/models_0.d.ts +878 -916
  355. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/models/models_1.d.ts +404 -271
  356. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/pagination/ListBucketsPaginator.d.ts +11 -0
  357. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/pagination/ListDirectoryBucketsPaginator.d.ts +3 -3
  358. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/pagination/ListObjectsV2Paginator.d.ts +3 -3
  359. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/pagination/ListPartsPaginator.d.ts +3 -3
  360. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/pagination/index.d.ts +1 -0
  361. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/protocols/Aws_restXml.d.ts +36 -0
  362. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/runtimeConfig.browser.d.ts +48 -31
  363. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/runtimeConfig.d.ts +48 -31
  364. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/runtimeConfig.native.d.ts +75 -39
  365. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -2
  366. package/dist/node_modules/@aws-sdk/client-s3/package.json +1 -1
  367. package/dist/node_modules/mime-match/package.json +1 -1
  368. package/dist/node_modules/mkdirp/package.json +1 -1
  369. package/dist/node_modules/multer-aliyun-oss/package.json +1 -1
  370. package/dist/node_modules/multer-cos/package.json +1 -1
  371. package/dist/node_modules/multer-s3/index.js +40813 -33
  372. package/dist/node_modules/multer-s3/package.json +1 -1
  373. package/package.json +3 -3
  374. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/S3.js +0 -201
  375. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/S3Client.js +0 -53
  376. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/AbortMultipartUploadCommand.js +0 -59
  377. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/CompleteMultipartUploadCommand.js +0 -64
  378. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/CopyObjectCommand.js +0 -63
  379. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/CreateBucketCommand.js +0 -62
  380. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/CreateMultipartUploadCommand.js +0 -62
  381. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/CreateSessionCommand.js +0 -59
  382. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/DeleteBucketAnalyticsConfigurationCommand.js +0 -59
  383. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/DeleteBucketCommand.js +0 -59
  384. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/DeleteBucketCorsCommand.js +0 -59
  385. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/DeleteBucketEncryptionCommand.js +0 -59
  386. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/DeleteBucketIntelligentTieringConfigurationCommand.js +0 -59
  387. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/DeleteBucketInventoryConfigurationCommand.js +0 -59
  388. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/DeleteBucketLifecycleCommand.js +0 -59
  389. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/DeleteBucketMetricsConfigurationCommand.js +0 -59
  390. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/DeleteBucketOwnershipControlsCommand.js +0 -59
  391. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/DeleteBucketPolicyCommand.js +0 -59
  392. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/DeleteBucketReplicationCommand.js +0 -59
  393. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/DeleteBucketTaggingCommand.js +0 -59
  394. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/DeleteBucketWebsiteCommand.js +0 -59
  395. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/DeleteObjectCommand.js +0 -59
  396. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/DeleteObjectTaggingCommand.js +0 -58
  397. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/DeleteObjectsCommand.js +0 -64
  398. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/DeletePublicAccessBlockCommand.js +0 -59
  399. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetBucketAccelerateConfigurationCommand.js +0 -59
  400. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetBucketAclCommand.js +0 -59
  401. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetBucketAnalyticsConfigurationCommand.js +0 -59
  402. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetBucketCorsCommand.js +0 -59
  403. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetBucketEncryptionCommand.js +0 -60
  404. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetBucketIntelligentTieringConfigurationCommand.js +0 -59
  405. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetBucketInventoryConfigurationCommand.js +0 -60
  406. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetBucketLifecycleConfigurationCommand.js +0 -59
  407. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetBucketLocationCommand.js +0 -59
  408. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetBucketLoggingCommand.js +0 -59
  409. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetBucketMetricsConfigurationCommand.js +0 -59
  410. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetBucketNotificationConfigurationCommand.js +0 -59
  411. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetBucketOwnershipControlsCommand.js +0 -59
  412. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetBucketPolicyCommand.js +0 -59
  413. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetBucketPolicyStatusCommand.js +0 -59
  414. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetBucketReplicationCommand.js +0 -59
  415. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetBucketRequestPaymentCommand.js +0 -59
  416. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetBucketTaggingCommand.js +0 -59
  417. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetBucketVersioningCommand.js +0 -59
  418. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetBucketWebsiteCommand.js +0 -59
  419. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetObjectAclCommand.js +0 -59
  420. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetObjectAttributesCommand.js +0 -61
  421. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetObjectCommand.js +0 -69
  422. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetObjectLegalHoldCommand.js +0 -58
  423. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetObjectLockConfigurationCommand.js +0 -58
  424. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetObjectRetentionCommand.js +0 -58
  425. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetObjectTaggingCommand.js +0 -58
  426. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetObjectTorrentCommand.js +0 -59
  427. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetPublicAccessBlockCommand.js +0 -59
  428. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/HeadBucketCommand.js +0 -58
  429. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/HeadObjectCommand.js +0 -62
  430. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/ListBucketAnalyticsConfigurationsCommand.js +0 -59
  431. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/ListBucketIntelligentTieringConfigurationsCommand.js +0 -59
  432. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/ListBucketInventoryConfigurationsCommand.js +0 -60
  433. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/ListBucketMetricsConfigurationsCommand.js +0 -58
  434. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/ListBucketsCommand.js +0 -57
  435. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/ListDirectoryBucketsCommand.js +0 -58
  436. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/ListMultipartUploadsCommand.js +0 -59
  437. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/ListObjectVersionsCommand.js +0 -59
  438. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/ListObjectsCommand.js +0 -59
  439. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/ListObjectsV2Command.js +0 -59
  440. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/ListPartsCommand.js +0 -62
  441. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutBucketAccelerateConfigurationCommand.js +0 -65
  442. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutBucketAclCommand.js +0 -65
  443. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutBucketAnalyticsConfigurationCommand.js +0 -59
  444. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutBucketCorsCommand.js +0 -65
  445. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutBucketEncryptionCommand.js +0 -66
  446. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutBucketIntelligentTieringConfigurationCommand.js +0 -59
  447. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutBucketInventoryConfigurationCommand.js +0 -60
  448. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutBucketLifecycleConfigurationCommand.js +0 -65
  449. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutBucketLoggingCommand.js +0 -65
  450. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutBucketMetricsConfigurationCommand.js +0 -59
  451. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutBucketNotificationConfigurationCommand.js +0 -59
  452. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutBucketOwnershipControlsCommand.js +0 -61
  453. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutBucketPolicyCommand.js +0 -65
  454. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutBucketReplicationCommand.js +0 -65
  455. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutBucketRequestPaymentCommand.js +0 -65
  456. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutBucketTaggingCommand.js +0 -65
  457. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutBucketVersioningCommand.js +0 -65
  458. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutBucketWebsiteCommand.js +0 -65
  459. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutObjectAclCommand.js +0 -65
  460. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutObjectCommand.js +0 -70
  461. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutObjectLegalHoldCommand.js +0 -64
  462. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutObjectLockConfigurationCommand.js +0 -64
  463. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutObjectRetentionCommand.js +0 -64
  464. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutObjectTaggingCommand.js +0 -64
  465. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutPublicAccessBlockCommand.js +0 -65
  466. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/RestoreObjectCommand.js +0 -65
  467. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/SelectObjectContentCommand.js +0 -64
  468. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/UploadPartCommand.js +0 -68
  469. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/UploadPartCopyCommand.js +0 -63
  470. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/WriteGetObjectResponseCommand.js +0 -59
  471. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/index.js +0 -98
  472. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/endpoint/EndpointParameters.js +0 -16
  473. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/extensionConfiguration.js +0 -2
  474. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/models/S3ServiceException.js +0 -12
  475. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/models/index.js +0 -5
  476. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/models/models_0.js +0 -647
  477. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/models/models_1.js +0 -156
  478. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/pagination/Interfaces.js +0 -2
  479. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/pagination/ListDirectoryBucketsPaginator.js +0 -29
  480. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/pagination/ListObjectsV2Paginator.js +0 -29
  481. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/pagination/ListPartsPaginator.js +0 -29
  482. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/pagination/index.js +0 -7
  483. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/protocols/Aws_restXml.js +0 -9820
  484. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/runtimeExtensions.js +0 -22
  485. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/waiters/index.js +0 -7
  486. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/waiters/waitForBucketExists.js +0 -31
  487. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/waiters/waitForBucketNotExists.js +0 -30
  488. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/waiters/waitForObjectExists.js +0 -31
  489. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/waiters/waitForObjectNotExists.js +0 -30
@@ -29,12 +29,12 @@ const getRuntimeConfig = (config) => {
29
29
  bodyLengthChecker: config?.bodyLengthChecker ?? util_body_length_browser_1.calculateBodyLength,
30
30
  credentialDefaultProvider: config?.credentialDefaultProvider ?? ((_) => () => Promise.reject(new Error("Credential is missing"))),
31
31
  defaultUserAgentProvider: config?.defaultUserAgentProvider ??
32
- (0, util_user_agent_browser_1.defaultUserAgent)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
32
+ (0, util_user_agent_browser_1.createDefaultUserAgentProvider)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
33
33
  eventStreamSerdeProvider: config?.eventStreamSerdeProvider ?? eventstream_serde_browser_1.eventStreamSerdeProvider,
34
34
  maxAttempts: config?.maxAttempts ?? util_retry_1.DEFAULT_MAX_ATTEMPTS,
35
35
  md5: config?.md5 ?? md5_js_1.Md5,
36
36
  region: config?.region ?? (0, invalid_dependency_1.invalidProvider)("Region is missing"),
37
- requestHandler: config?.requestHandler ?? new fetch_http_handler_1.FetchHttpHandler(defaultConfigProvider),
37
+ requestHandler: fetch_http_handler_1.FetchHttpHandler.create(config?.requestHandler ?? defaultConfigProvider),
38
38
  retryMode: config?.retryMode ?? (async () => (await defaultConfigProvider()).retryMode || util_retry_1.DEFAULT_RETRY_MODE),
39
39
  sha1: config?.sha1 ?? sha1_browser_1.Sha1,
40
40
  sha256: config?.sha256 ?? sha256_browser_1.Sha256,
@@ -3,10 +3,10 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.getRuntimeConfig = void 0;
4
4
  const tslib_1 = require("tslib");
5
5
  const package_json_1 = tslib_1.__importDefault(require("../package.json"));
6
- const client_sts_1 = require("@aws-sdk/client-sts");
7
6
  const core_1 = require("@aws-sdk/core");
8
7
  const credential_provider_node_1 = require("@aws-sdk/credential-provider-node");
9
8
  const middleware_bucket_endpoint_1 = require("@aws-sdk/middleware-bucket-endpoint");
9
+ const middleware_flexible_checksums_1 = require("@aws-sdk/middleware-flexible-checksums");
10
10
  const middleware_sdk_s3_1 = require("@aws-sdk/middleware-sdk-s3");
11
11
  const util_user_agent_node_1 = require("@aws-sdk/util-user-agent-node");
12
12
  const config_resolver_1 = require("@smithy/config-resolver");
@@ -28,33 +28,42 @@ const getRuntimeConfig = (config) => {
28
28
  const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
29
29
  const clientSharedValues = (0, runtimeConfig_shared_1.getRuntimeConfig)(config);
30
30
  (0, core_1.emitWarningIfUnsupportedVersion)(process.version);
31
+ const profileConfig = { profile: config?.profile };
31
32
  return {
32
33
  ...clientSharedValues,
33
34
  ...config,
34
35
  runtime: "node",
35
36
  defaultsMode,
36
37
  bodyLengthChecker: config?.bodyLengthChecker ?? util_body_length_node_1.calculateBodyLength,
37
- credentialDefaultProvider: config?.credentialDefaultProvider ?? (0, client_sts_1.decorateDefaultCredentialProvider)(credential_provider_node_1.defaultProvider),
38
+ credentialDefaultProvider: config?.credentialDefaultProvider ?? credential_provider_node_1.defaultProvider,
38
39
  defaultUserAgentProvider: config?.defaultUserAgentProvider ??
39
- (0, util_user_agent_node_1.defaultUserAgent)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
40
- disableS3ExpressSessionAuth: config?.disableS3ExpressSessionAuth ?? (0, node_config_provider_1.loadConfig)(middleware_sdk_s3_1.NODE_DISABLE_S3_EXPRESS_SESSION_AUTH_OPTIONS),
40
+ (0, util_user_agent_node_1.createDefaultUserAgentProvider)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
41
+ disableS3ExpressSessionAuth: config?.disableS3ExpressSessionAuth ??
42
+ (0, node_config_provider_1.loadConfig)(middleware_sdk_s3_1.NODE_DISABLE_S3_EXPRESS_SESSION_AUTH_OPTIONS, profileConfig),
41
43
  eventStreamSerdeProvider: config?.eventStreamSerdeProvider ?? eventstream_serde_node_1.eventStreamSerdeProvider,
42
- maxAttempts: config?.maxAttempts ?? (0, node_config_provider_1.loadConfig)(middleware_retry_1.NODE_MAX_ATTEMPT_CONFIG_OPTIONS),
44
+ maxAttempts: config?.maxAttempts ?? (0, node_config_provider_1.loadConfig)(middleware_retry_1.NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config),
43
45
  md5: config?.md5 ?? hash_node_1.Hash.bind(null, "md5"),
44
- region: config?.region ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_REGION_CONFIG_OPTIONS, config_resolver_1.NODE_REGION_CONFIG_FILE_OPTIONS),
45
- requestHandler: config?.requestHandler ?? new node_http_handler_1.NodeHttpHandler(defaultConfigProvider),
46
+ region: config?.region ??
47
+ (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_REGION_CONFIG_OPTIONS, { ...config_resolver_1.NODE_REGION_CONFIG_FILE_OPTIONS, ...profileConfig }),
48
+ requestChecksumCalculation: config?.requestChecksumCalculation ??
49
+ (0, node_config_provider_1.loadConfig)(middleware_flexible_checksums_1.NODE_REQUEST_CHECKSUM_CALCULATION_CONFIG_OPTIONS, profileConfig),
50
+ requestHandler: node_http_handler_1.NodeHttpHandler.create(config?.requestHandler ?? defaultConfigProvider),
51
+ responseChecksumValidation: config?.responseChecksumValidation ??
52
+ (0, node_config_provider_1.loadConfig)(middleware_flexible_checksums_1.NODE_RESPONSE_CHECKSUM_VALIDATION_CONFIG_OPTIONS, profileConfig),
46
53
  retryMode: config?.retryMode ??
47
54
  (0, node_config_provider_1.loadConfig)({
48
55
  ...middleware_retry_1.NODE_RETRY_MODE_CONFIG_OPTIONS,
49
56
  default: async () => (await defaultConfigProvider()).retryMode || util_retry_1.DEFAULT_RETRY_MODE,
50
- }),
57
+ }, config),
51
58
  sha1: config?.sha1 ?? hash_node_1.Hash.bind(null, "sha1"),
52
59
  sha256: config?.sha256 ?? hash_node_1.Hash.bind(null, "sha256"),
60
+ sigv4aSigningRegionSet: config?.sigv4aSigningRegionSet ?? (0, node_config_provider_1.loadConfig)(core_1.NODE_SIGV4A_CONFIG_OPTIONS, profileConfig),
53
61
  streamCollector: config?.streamCollector ?? node_http_handler_1.streamCollector,
54
62
  streamHasher: config?.streamHasher ?? hash_stream_node_1.readableStreamHasher,
55
- useArnRegion: config?.useArnRegion ?? (0, node_config_provider_1.loadConfig)(middleware_bucket_endpoint_1.NODE_USE_ARN_REGION_CONFIG_OPTIONS),
56
- useDualstackEndpoint: config?.useDualstackEndpoint ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS),
57
- useFipsEndpoint: config?.useFipsEndpoint ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS),
63
+ useArnRegion: config?.useArnRegion ?? (0, node_config_provider_1.loadConfig)(middleware_bucket_endpoint_1.NODE_USE_ARN_REGION_CONFIG_OPTIONS, profileConfig),
64
+ useDualstackEndpoint: config?.useDualstackEndpoint ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, profileConfig),
65
+ useFipsEndpoint: config?.useFipsEndpoint ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, profileConfig),
66
+ userAgentAppId: config?.userAgentAppId ?? (0, node_config_provider_1.loadConfig)(util_user_agent_node_1.NODE_APP_ID_CONFIG_OPTIONS, profileConfig),
58
67
  };
59
68
  };
60
69
  exports.getRuntimeConfig = getRuntimeConfig;
@@ -1,12 +1,14 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.getRuntimeConfig = void 0;
4
+ const core_1 = require("@aws-sdk/core");
4
5
  const signature_v4_multi_region_1 = require("@aws-sdk/signature-v4-multi-region");
5
6
  const smithy_client_1 = require("@smithy/smithy-client");
6
7
  const url_parser_1 = require("@smithy/url-parser");
7
8
  const util_base64_1 = require("@smithy/util-base64");
8
9
  const util_stream_1 = require("@smithy/util-stream");
9
10
  const util_utf8_1 = require("@smithy/util-utf8");
11
+ const httpAuthSchemeProvider_1 = require("./auth/httpAuthSchemeProvider");
10
12
  const endpointResolver_1 = require("./endpoint/endpointResolver");
11
13
  const getRuntimeConfig = (config) => {
12
14
  return {
@@ -17,6 +19,19 @@ const getRuntimeConfig = (config) => {
17
19
  endpointProvider: config?.endpointProvider ?? endpointResolver_1.defaultEndpointResolver,
18
20
  extensions: config?.extensions ?? [],
19
21
  getAwsChunkedEncodingStream: config?.getAwsChunkedEncodingStream ?? util_stream_1.getAwsChunkedEncodingStream,
22
+ httpAuthSchemeProvider: config?.httpAuthSchemeProvider ?? httpAuthSchemeProvider_1.defaultS3HttpAuthSchemeProvider,
23
+ httpAuthSchemes: config?.httpAuthSchemes ?? [
24
+ {
25
+ schemeId: "aws.auth#sigv4",
26
+ identityProvider: (ipc) => ipc.getIdentityProvider("aws.auth#sigv4"),
27
+ signer: new core_1.AwsSdkSigV4Signer(),
28
+ },
29
+ {
30
+ schemeId: "aws.auth#sigv4a",
31
+ identityProvider: (ipc) => ipc.getIdentityProvider("aws.auth#sigv4a"),
32
+ signer: new core_1.AwsSdkSigV4ASigner(),
33
+ },
34
+ ],
20
35
  logger: config?.logger ?? new smithy_client_1.NoOpLogger(),
21
36
  sdkStreamMixin: config?.sdkStreamMixin ?? util_stream_1.sdkStreamMixin,
22
37
  serviceId: config?.serviceId ?? "S3",
@@ -3,6 +3,7 @@ import { AbortMultipartUploadCommand, } from "./commands/AbortMultipartUploadCom
3
3
  import { CompleteMultipartUploadCommand, } from "./commands/CompleteMultipartUploadCommand";
4
4
  import { CopyObjectCommand } from "./commands/CopyObjectCommand";
5
5
  import { CreateBucketCommand, } from "./commands/CreateBucketCommand";
6
+ import { CreateBucketMetadataTableConfigurationCommand, } from "./commands/CreateBucketMetadataTableConfigurationCommand";
6
7
  import { CreateMultipartUploadCommand, } from "./commands/CreateMultipartUploadCommand";
7
8
  import { CreateSessionCommand, } from "./commands/CreateSessionCommand";
8
9
  import { DeleteBucketAnalyticsConfigurationCommand, } from "./commands/DeleteBucketAnalyticsConfigurationCommand";
@@ -12,6 +13,7 @@ import { DeleteBucketEncryptionCommand, } from "./commands/DeleteBucketEncryptio
12
13
  import { DeleteBucketIntelligentTieringConfigurationCommand, } from "./commands/DeleteBucketIntelligentTieringConfigurationCommand";
13
14
  import { DeleteBucketInventoryConfigurationCommand, } from "./commands/DeleteBucketInventoryConfigurationCommand";
14
15
  import { DeleteBucketLifecycleCommand, } from "./commands/DeleteBucketLifecycleCommand";
16
+ import { DeleteBucketMetadataTableConfigurationCommand, } from "./commands/DeleteBucketMetadataTableConfigurationCommand";
15
17
  import { DeleteBucketMetricsConfigurationCommand, } from "./commands/DeleteBucketMetricsConfigurationCommand";
16
18
  import { DeleteBucketOwnershipControlsCommand, } from "./commands/DeleteBucketOwnershipControlsCommand";
17
19
  import { DeleteBucketPolicyCommand, } from "./commands/DeleteBucketPolicyCommand";
@@ -32,6 +34,7 @@ import { GetBucketInventoryConfigurationCommand, } from "./commands/GetBucketInv
32
34
  import { GetBucketLifecycleConfigurationCommand, } from "./commands/GetBucketLifecycleConfigurationCommand";
33
35
  import { GetBucketLocationCommand, } from "./commands/GetBucketLocationCommand";
34
36
  import { GetBucketLoggingCommand, } from "./commands/GetBucketLoggingCommand";
37
+ import { GetBucketMetadataTableConfigurationCommand, } from "./commands/GetBucketMetadataTableConfigurationCommand";
35
38
  import { GetBucketMetricsConfigurationCommand, } from "./commands/GetBucketMetricsConfigurationCommand";
36
39
  import { GetBucketNotificationConfigurationCommand, } from "./commands/GetBucketNotificationConfigurationCommand";
37
40
  import { GetBucketOwnershipControlsCommand, } from "./commands/GetBucketOwnershipControlsCommand";
@@ -100,6 +103,7 @@ const commands = {
100
103
  CompleteMultipartUploadCommand,
101
104
  CopyObjectCommand,
102
105
  CreateBucketCommand,
106
+ CreateBucketMetadataTableConfigurationCommand,
103
107
  CreateMultipartUploadCommand,
104
108
  CreateSessionCommand,
105
109
  DeleteBucketCommand,
@@ -109,6 +113,7 @@ const commands = {
109
113
  DeleteBucketIntelligentTieringConfigurationCommand,
110
114
  DeleteBucketInventoryConfigurationCommand,
111
115
  DeleteBucketLifecycleCommand,
116
+ DeleteBucketMetadataTableConfigurationCommand,
112
117
  DeleteBucketMetricsConfigurationCommand,
113
118
  DeleteBucketOwnershipControlsCommand,
114
119
  DeleteBucketPolicyCommand,
@@ -129,6 +134,7 @@ const commands = {
129
134
  GetBucketLifecycleConfigurationCommand,
130
135
  GetBucketLocationCommand,
131
136
  GetBucketLoggingCommand,
137
+ GetBucketMetadataTableConfigurationCommand,
132
138
  GetBucketMetricsConfigurationCommand,
133
139
  GetBucketNotificationConfigurationCommand,
134
140
  GetBucketOwnershipControlsCommand,
@@ -1,47 +1,59 @@
1
1
  import { getAddExpectContinuePlugin } from "@aws-sdk/middleware-expect-continue";
2
+ import { resolveFlexibleChecksumsConfig, } from "@aws-sdk/middleware-flexible-checksums";
2
3
  import { getHostHeaderPlugin, resolveHostHeaderConfig, } from "@aws-sdk/middleware-host-header";
3
4
  import { getLoggerPlugin } from "@aws-sdk/middleware-logger";
4
5
  import { getRecursionDetectionPlugin } from "@aws-sdk/middleware-recursion-detection";
5
- import { getRegionRedirectMiddlewarePlugin, getS3ExpressPlugin, getValidateBucketNamePlugin, resolveS3Config, } from "@aws-sdk/middleware-sdk-s3";
6
- import { getAwsAuthPlugin, resolveAwsAuthConfig, } from "@aws-sdk/middleware-signing";
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
8
  import { resolveRegionConfig } from "@smithy/config-resolver";
9
+ import { DefaultIdentityProviderConfig, getHttpAuthSchemeEndpointRuleSetPlugin, getHttpSigningPlugin, } from "@smithy/core";
9
10
  import { resolveEventStreamSerdeConfig, } from "@smithy/eventstream-serde-config-resolver";
10
11
  import { getContentLengthPlugin } from "@smithy/middleware-content-length";
11
12
  import { resolveEndpointConfig } from "@smithy/middleware-endpoint";
12
13
  import { getRetryPlugin, resolveRetryConfig } from "@smithy/middleware-retry";
13
14
  import { Client as __Client, } from "@smithy/smithy-client";
15
+ import { defaultS3HttpAuthSchemeParametersProvider, resolveHttpAuthSchemeConfig, } from "./auth/httpAuthSchemeProvider";
14
16
  import { CreateSessionCommand, } from "./commands/CreateSessionCommand";
15
17
  import { resolveClientEndpointParameters, } from "./endpoint/EndpointParameters";
16
18
  import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
17
19
  import { resolveRuntimeExtensions } from "./runtimeExtensions";
18
20
  export { __Client };
19
21
  export class S3Client extends __Client {
22
+ config;
20
23
  constructor(...[configuration]) {
21
24
  const _config_0 = __getRuntimeConfig(configuration || {});
22
25
  const _config_1 = resolveClientEndpointParameters(_config_0);
23
- const _config_2 = resolveRegionConfig(_config_1);
24
- const _config_3 = resolveEndpointConfig(_config_2);
26
+ const _config_2 = resolveUserAgentConfig(_config_1);
27
+ const _config_3 = resolveFlexibleChecksumsConfig(_config_2);
25
28
  const _config_4 = resolveRetryConfig(_config_3);
26
- const _config_5 = resolveHostHeaderConfig(_config_4);
27
- const _config_6 = resolveAwsAuthConfig(_config_5);
28
- const _config_7 = resolveS3Config(_config_6, { session: [() => this, CreateSessionCommand] });
29
- const _config_8 = resolveUserAgentConfig(_config_7);
30
- const _config_9 = resolveEventStreamSerdeConfig(_config_8);
31
- const _config_10 = resolveRuntimeExtensions(_config_9, configuration?.extensions || []);
32
- super(_config_10);
33
- this.config = _config_10;
29
+ const _config_5 = resolveRegionConfig(_config_4);
30
+ const _config_6 = resolveHostHeaderConfig(_config_5);
31
+ const _config_7 = resolveEndpointConfig(_config_6);
32
+ const _config_8 = resolveEventStreamSerdeConfig(_config_7);
33
+ const _config_9 = resolveHttpAuthSchemeConfig(_config_8);
34
+ const _config_10 = resolveS3Config(_config_9, { session: [() => this, CreateSessionCommand] });
35
+ const _config_11 = resolveRuntimeExtensions(_config_10, configuration?.extensions || []);
36
+ super(_config_11);
37
+ this.config = _config_11;
38
+ this.middlewareStack.use(getUserAgentPlugin(this.config));
34
39
  this.middlewareStack.use(getRetryPlugin(this.config));
35
40
  this.middlewareStack.use(getContentLengthPlugin(this.config));
36
41
  this.middlewareStack.use(getHostHeaderPlugin(this.config));
37
42
  this.middlewareStack.use(getLoggerPlugin(this.config));
38
43
  this.middlewareStack.use(getRecursionDetectionPlugin(this.config));
39
- this.middlewareStack.use(getAwsAuthPlugin(this.config));
44
+ this.middlewareStack.use(getHttpAuthSchemeEndpointRuleSetPlugin(this.config, {
45
+ httpAuthSchemeParametersProvider: defaultS3HttpAuthSchemeParametersProvider,
46
+ identityProviderConfigProvider: async (config) => new DefaultIdentityProviderConfig({
47
+ "aws.auth#sigv4": config.credentials,
48
+ "aws.auth#sigv4a": config.credentials,
49
+ }),
50
+ }));
51
+ this.middlewareStack.use(getHttpSigningPlugin(this.config));
40
52
  this.middlewareStack.use(getValidateBucketNamePlugin(this.config));
41
53
  this.middlewareStack.use(getAddExpectContinuePlugin(this.config));
42
54
  this.middlewareStack.use(getRegionRedirectMiddlewarePlugin(this.config));
43
55
  this.middlewareStack.use(getS3ExpressPlugin(this.config));
44
- this.middlewareStack.use(getUserAgentPlugin(this.config));
56
+ this.middlewareStack.use(getS3ExpressHttpSigningPlugin(this.config));
45
57
  }
46
58
  destroy() {
47
59
  super.destroy();
@@ -0,0 +1,38 @@
1
+ export const getHttpAuthExtensionConfiguration = (runtimeConfig) => {
2
+ const _httpAuthSchemes = runtimeConfig.httpAuthSchemes;
3
+ let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider;
4
+ let _credentials = runtimeConfig.credentials;
5
+ return {
6
+ setHttpAuthScheme(httpAuthScheme) {
7
+ const index = _httpAuthSchemes.findIndex((scheme) => scheme.schemeId === httpAuthScheme.schemeId);
8
+ if (index === -1) {
9
+ _httpAuthSchemes.push(httpAuthScheme);
10
+ }
11
+ else {
12
+ _httpAuthSchemes.splice(index, 1, httpAuthScheme);
13
+ }
14
+ },
15
+ httpAuthSchemes() {
16
+ return _httpAuthSchemes;
17
+ },
18
+ setHttpAuthSchemeProvider(httpAuthSchemeProvider) {
19
+ _httpAuthSchemeProvider = httpAuthSchemeProvider;
20
+ },
21
+ httpAuthSchemeProvider() {
22
+ return _httpAuthSchemeProvider;
23
+ },
24
+ setCredentials(credentials) {
25
+ _credentials = credentials;
26
+ },
27
+ credentials() {
28
+ return _credentials;
29
+ },
30
+ };
31
+ };
32
+ export const resolveHttpAuthRuntimeConfig = (config) => {
33
+ return {
34
+ httpAuthSchemes: config.httpAuthSchemes(),
35
+ httpAuthSchemeProvider: config.httpAuthSchemeProvider(),
36
+ credentials: config.credentials(),
37
+ };
38
+ };
@@ -0,0 +1,123 @@
1
+ import { resolveAwsSdkSigV4AConfig, resolveAwsSdkSigV4Config, } from "@aws-sdk/core";
2
+ import { signatureV4CrtContainer } from "@aws-sdk/signature-v4-multi-region";
3
+ import { resolveParams } from "@smithy/middleware-endpoint";
4
+ import { getSmithyContext, normalizeProvider } from "@smithy/util-middleware";
5
+ import { defaultEndpointResolver } from "../endpoint/endpointResolver";
6
+ const createEndpointRuleSetHttpAuthSchemeParametersProvider = (defaultHttpAuthSchemeParametersProvider) => async (config, context, input) => {
7
+ if (!input) {
8
+ throw new Error(`Could not find \`input\` for \`defaultEndpointRuleSetHttpAuthSchemeParametersProvider\``);
9
+ }
10
+ const defaultParameters = await defaultHttpAuthSchemeParametersProvider(config, context, input);
11
+ const instructionsFn = getSmithyContext(context)?.commandInstance?.constructor
12
+ ?.getEndpointParameterInstructions;
13
+ if (!instructionsFn) {
14
+ throw new Error(`getEndpointParameterInstructions() is not defined on \`${context.commandName}\``);
15
+ }
16
+ const endpointParameters = await resolveParams(input, { getEndpointParameterInstructions: instructionsFn }, config);
17
+ return Object.assign(defaultParameters, endpointParameters);
18
+ };
19
+ const _defaultS3HttpAuthSchemeParametersProvider = async (config, context, input) => {
20
+ return {
21
+ operation: getSmithyContext(context).operation,
22
+ region: (await normalizeProvider(config.region)()) ||
23
+ (() => {
24
+ throw new Error("expected `region` to be configured for `aws.auth#sigv4`");
25
+ })(),
26
+ };
27
+ };
28
+ export const defaultS3HttpAuthSchemeParametersProvider = createEndpointRuleSetHttpAuthSchemeParametersProvider(_defaultS3HttpAuthSchemeParametersProvider);
29
+ function createAwsAuthSigv4HttpAuthOption(authParameters) {
30
+ return {
31
+ schemeId: "aws.auth#sigv4",
32
+ signingProperties: {
33
+ name: "s3",
34
+ region: authParameters.region,
35
+ },
36
+ propertiesExtractor: (config, context) => ({
37
+ signingProperties: {
38
+ config,
39
+ context,
40
+ },
41
+ }),
42
+ };
43
+ }
44
+ function createAwsAuthSigv4aHttpAuthOption(authParameters) {
45
+ return {
46
+ schemeId: "aws.auth#sigv4a",
47
+ signingProperties: {
48
+ name: "s3",
49
+ region: authParameters.region,
50
+ },
51
+ propertiesExtractor: (config, context) => ({
52
+ signingProperties: {
53
+ config,
54
+ context,
55
+ },
56
+ }),
57
+ };
58
+ }
59
+ const createEndpointRuleSetHttpAuthSchemeProvider = (defaultEndpointResolver, defaultHttpAuthSchemeResolver, createHttpAuthOptionFunctions) => {
60
+ const endpointRuleSetHttpAuthSchemeProvider = (authParameters) => {
61
+ const endpoint = defaultEndpointResolver(authParameters);
62
+ const authSchemes = endpoint.properties?.authSchemes;
63
+ if (!authSchemes) {
64
+ return defaultHttpAuthSchemeResolver(authParameters);
65
+ }
66
+ const options = [];
67
+ for (const scheme of authSchemes) {
68
+ const { name: resolvedName, properties = {}, ...rest } = scheme;
69
+ const name = resolvedName.toLowerCase();
70
+ if (resolvedName !== name) {
71
+ console.warn(`HttpAuthScheme has been normalized with lowercasing: \`${resolvedName}\` to \`${name}\``);
72
+ }
73
+ let schemeId;
74
+ if (name === "sigv4a") {
75
+ schemeId = "aws.auth#sigv4a";
76
+ const sigv4Present = authSchemes.find((s) => {
77
+ const name = s.name.toLowerCase();
78
+ return name !== "sigv4a" && name.startsWith("sigv4");
79
+ });
80
+ if (!signatureV4CrtContainer.CrtSignerV4 && sigv4Present) {
81
+ continue;
82
+ }
83
+ }
84
+ else if (name.startsWith("sigv4")) {
85
+ schemeId = "aws.auth#sigv4";
86
+ }
87
+ else {
88
+ throw new Error(`Unknown HttpAuthScheme found in \`@smithy.rules#endpointRuleSet\`: \`${name}\``);
89
+ }
90
+ const createOption = createHttpAuthOptionFunctions[schemeId];
91
+ if (!createOption) {
92
+ throw new Error(`Could not find HttpAuthOption create function for \`${schemeId}\``);
93
+ }
94
+ const option = createOption(authParameters);
95
+ option.schemeId = schemeId;
96
+ option.signingProperties = { ...(option.signingProperties || {}), ...rest, ...properties };
97
+ options.push(option);
98
+ }
99
+ return options;
100
+ };
101
+ return endpointRuleSetHttpAuthSchemeProvider;
102
+ };
103
+ const _defaultS3HttpAuthSchemeProvider = (authParameters) => {
104
+ const options = [];
105
+ switch (authParameters.operation) {
106
+ default: {
107
+ options.push(createAwsAuthSigv4HttpAuthOption(authParameters));
108
+ options.push(createAwsAuthSigv4aHttpAuthOption(authParameters));
109
+ }
110
+ }
111
+ return options;
112
+ };
113
+ export const defaultS3HttpAuthSchemeProvider = createEndpointRuleSetHttpAuthSchemeProvider(defaultEndpointResolver, _defaultS3HttpAuthSchemeProvider, {
114
+ "aws.auth#sigv4": createAwsAuthSigv4HttpAuthOption,
115
+ "aws.auth#sigv4a": createAwsAuthSigv4aHttpAuthOption,
116
+ });
117
+ export const resolveHttpAuthSchemeConfig = (config) => {
118
+ const config_0 = resolveAwsSdkSigV4Config(config);
119
+ const config_1 = resolveAwsSdkSigV4AConfig(config_0);
120
+ return {
121
+ ...config_1,
122
+ };
123
+ };
@@ -1,55 +1,28 @@
1
+ import { getThrow200ExceptionsPlugin } from "@aws-sdk/middleware-sdk-s3";
1
2
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
3
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
4
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
5
+ import { commonParams } from "../endpoint/EndpointParameters";
5
6
  import { de_AbortMultipartUploadCommand, se_AbortMultipartUploadCommand } from "../protocols/Aws_restXml";
6
7
  export { $Command };
7
- export class AbortMultipartUploadCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- Bucket: { type: "contextParams", name: "Bucket" },
11
- Key: { type: "contextParams", name: "Key" },
12
- ForcePathStyle: { type: "clientContextParams", name: "forcePathStyle" },
13
- UseArnRegion: { type: "clientContextParams", name: "useArnRegion" },
14
- DisableMultiRegionAccessPoints: { type: "clientContextParams", name: "disableMultiregionAccessPoints" },
15
- Accelerate: { type: "clientContextParams", name: "useAccelerateEndpoint" },
16
- DisableS3ExpressSessionAuth: { type: "clientContextParams", name: "disableS3ExpressSessionAuth" },
17
- UseGlobalEndpoint: { type: "builtInParams", name: "useGlobalEndpoint" },
18
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
19
- Endpoint: { type: "builtInParams", name: "endpoint" },
20
- Region: { type: "builtInParams", name: "region" },
21
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
22
- };
23
- }
24
- constructor(input) {
25
- super();
26
- this.input = input;
27
- }
28
- resolveMiddleware(clientStack, configuration, options) {
29
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
30
- this.middlewareStack.use(getEndpointPlugin(configuration, AbortMultipartUploadCommand.getEndpointParameterInstructions()));
31
- const stack = clientStack.concat(this.middlewareStack);
32
- const { logger } = configuration;
33
- const clientName = "S3Client";
34
- const commandName = "AbortMultipartUploadCommand";
35
- const handlerExecutionContext = {
36
- logger,
37
- clientName,
38
- commandName,
39
- inputFilterSensitiveLog: (_) => _,
40
- outputFilterSensitiveLog: (_) => _,
41
- [SMITHY_CONTEXT_KEY]: {
42
- service: "AmazonS3",
43
- operation: "AbortMultipartUpload",
44
- },
45
- };
46
- const { requestHandler } = configuration;
47
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
48
- }
49
- serialize(input, context) {
50
- return se_AbortMultipartUploadCommand(input, context);
51
- }
52
- deserialize(output, context) {
53
- return de_AbortMultipartUploadCommand(output, context);
54
- }
8
+ export class AbortMultipartUploadCommand extends $Command
9
+ .classBuilder()
10
+ .ep({
11
+ ...commonParams,
12
+ Bucket: { type: "contextParams", name: "Bucket" },
13
+ Key: { type: "contextParams", name: "Key" },
14
+ })
15
+ .m(function (Command, cs, config, o) {
16
+ return [
17
+ getSerdePlugin(config, this.serialize, this.deserialize),
18
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
19
+ getThrow200ExceptionsPlugin(config),
20
+ ];
21
+ })
22
+ .s("AmazonS3", "AbortMultipartUpload", {})
23
+ .n("S3Client", "AbortMultipartUploadCommand")
24
+ .f(void 0, void 0)
25
+ .ser(se_AbortMultipartUploadCommand)
26
+ .de(de_AbortMultipartUploadCommand)
27
+ .build() {
55
28
  }
@@ -3,58 +3,29 @@ import { getSsecPlugin } from "@aws-sdk/middleware-ssec";
3
3
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
4
4
  import { getSerdePlugin } from "@smithy/middleware-serde";
5
5
  import { Command as $Command } from "@smithy/smithy-client";
6
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
6
+ import { commonParams } from "../endpoint/EndpointParameters";
7
7
  import { CompleteMultipartUploadOutputFilterSensitiveLog, CompleteMultipartUploadRequestFilterSensitiveLog, } from "../models/models_0";
8
8
  import { de_CompleteMultipartUploadCommand, se_CompleteMultipartUploadCommand } from "../protocols/Aws_restXml";
9
9
  export { $Command };
10
- export class CompleteMultipartUploadCommand extends $Command {
11
- static getEndpointParameterInstructions() {
12
- return {
13
- Bucket: { type: "contextParams", name: "Bucket" },
14
- Key: { type: "contextParams", name: "Key" },
15
- ForcePathStyle: { type: "clientContextParams", name: "forcePathStyle" },
16
- UseArnRegion: { type: "clientContextParams", name: "useArnRegion" },
17
- DisableMultiRegionAccessPoints: { type: "clientContextParams", name: "disableMultiregionAccessPoints" },
18
- Accelerate: { type: "clientContextParams", name: "useAccelerateEndpoint" },
19
- DisableS3ExpressSessionAuth: { type: "clientContextParams", name: "disableS3ExpressSessionAuth" },
20
- UseGlobalEndpoint: { type: "builtInParams", name: "useGlobalEndpoint" },
21
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
22
- Endpoint: { type: "builtInParams", name: "endpoint" },
23
- Region: { type: "builtInParams", name: "region" },
24
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
25
- };
26
- }
27
- constructor(input) {
28
- super();
29
- this.input = input;
30
- }
31
- resolveMiddleware(clientStack, configuration, options) {
32
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
33
- this.middlewareStack.use(getEndpointPlugin(configuration, CompleteMultipartUploadCommand.getEndpointParameterInstructions()));
34
- this.middlewareStack.use(getThrow200ExceptionsPlugin(configuration));
35
- this.middlewareStack.use(getSsecPlugin(configuration));
36
- const stack = clientStack.concat(this.middlewareStack);
37
- const { logger } = configuration;
38
- const clientName = "S3Client";
39
- const commandName = "CompleteMultipartUploadCommand";
40
- const handlerExecutionContext = {
41
- logger,
42
- clientName,
43
- commandName,
44
- inputFilterSensitiveLog: CompleteMultipartUploadRequestFilterSensitiveLog,
45
- outputFilterSensitiveLog: CompleteMultipartUploadOutputFilterSensitiveLog,
46
- [SMITHY_CONTEXT_KEY]: {
47
- service: "AmazonS3",
48
- operation: "CompleteMultipartUpload",
49
- },
50
- };
51
- const { requestHandler } = configuration;
52
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
53
- }
54
- serialize(input, context) {
55
- return se_CompleteMultipartUploadCommand(input, context);
56
- }
57
- deserialize(output, context) {
58
- return de_CompleteMultipartUploadCommand(output, context);
59
- }
10
+ export class CompleteMultipartUploadCommand extends $Command
11
+ .classBuilder()
12
+ .ep({
13
+ ...commonParams,
14
+ Bucket: { type: "contextParams", name: "Bucket" },
15
+ Key: { type: "contextParams", name: "Key" },
16
+ })
17
+ .m(function (Command, cs, config, o) {
18
+ return [
19
+ getSerdePlugin(config, this.serialize, this.deserialize),
20
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
21
+ getThrow200ExceptionsPlugin(config),
22
+ getSsecPlugin(config),
23
+ ];
24
+ })
25
+ .s("AmazonS3", "CompleteMultipartUpload", {})
26
+ .n("S3Client", "CompleteMultipartUploadCommand")
27
+ .f(CompleteMultipartUploadRequestFilterSensitiveLog, CompleteMultipartUploadOutputFilterSensitiveLog)
28
+ .ser(se_CompleteMultipartUploadCommand)
29
+ .de(de_CompleteMultipartUploadCommand)
30
+ .build() {
60
31
  }