@nocobase/plugin-file-manager 1.6.0-beta.2 → 1.6.0-beta.4

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 (500) hide show
  1. package/dist/client/index.js +1 -1
  2. package/dist/client/schemas/storageTypes/ali-oss.d.ts +3 -0
  3. package/dist/client/schemas/storageTypes/index.d.ts +9 -0
  4. package/dist/client/schemas/storageTypes/s3.d.ts +3 -0
  5. package/dist/client/schemas/storageTypes/tx-cos.d.ts +3 -0
  6. package/dist/externalVersion.js +6 -6
  7. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/S3.js +1302 -101
  8. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/S3Client.js +12 -18
  9. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/AbortMultipartUploadCommand.js +13 -20
  10. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/CompleteMultipartUploadCommand.js +10 -18
  11. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/CopyObjectCommand.js +10 -17
  12. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/CreateBucketCommand.js +13 -20
  13. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/CreateMultipartUploadCommand.js +10 -18
  14. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/DeleteBucketAnalyticsConfigurationCommand.js +13 -20
  15. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/DeleteBucketCommand.js +13 -20
  16. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/DeleteBucketCorsCommand.js +13 -20
  17. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/DeleteBucketEncryptionCommand.js +13 -20
  18. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/DeleteBucketIntelligentTieringConfigurationCommand.js +13 -20
  19. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/DeleteBucketInventoryConfigurationCommand.js +13 -20
  20. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/DeleteBucketLifecycleCommand.js +13 -20
  21. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/DeleteBucketMetricsConfigurationCommand.js +13 -20
  22. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/DeleteBucketOwnershipControlsCommand.js +13 -20
  23. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/DeleteBucketPolicyCommand.js +13 -20
  24. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/DeleteBucketReplicationCommand.js +13 -20
  25. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/DeleteBucketTaggingCommand.js +13 -20
  26. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/DeleteBucketWebsiteCommand.js +13 -20
  27. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/DeleteObjectCommand.js +13 -20
  28. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/DeleteObjectTaggingCommand.js +13 -19
  29. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/DeleteObjectsCommand.js +13 -19
  30. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/DeletePublicAccessBlockCommand.js +13 -20
  31. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetBucketAccelerateConfigurationCommand.js +13 -20
  32. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetBucketAclCommand.js +13 -20
  33. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetBucketAnalyticsConfigurationCommand.js +13 -20
  34. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetBucketCorsCommand.js +13 -20
  35. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetBucketEncryptionCommand.js +11 -19
  36. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetBucketIntelligentTieringConfigurationCommand.js +13 -20
  37. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetBucketInventoryConfigurationCommand.js +11 -19
  38. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetBucketLifecycleConfigurationCommand.js +13 -20
  39. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetBucketLocationCommand.js +13 -20
  40. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetBucketLoggingCommand.js +13 -20
  41. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetBucketMetricsConfigurationCommand.js +13 -20
  42. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetBucketNotificationConfigurationCommand.js +13 -20
  43. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetBucketOwnershipControlsCommand.js +13 -20
  44. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetBucketPolicyCommand.js +13 -20
  45. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetBucketPolicyStatusCommand.js +13 -20
  46. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetBucketReplicationCommand.js +13 -20
  47. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetBucketRequestPaymentCommand.js +13 -20
  48. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetBucketTaggingCommand.js +13 -20
  49. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetBucketVersioningCommand.js +13 -20
  50. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetBucketWebsiteCommand.js +13 -20
  51. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetObjectAclCommand.js +13 -20
  52. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetObjectAttributesCommand.js +11 -18
  53. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetObjectCommand.js +10 -18
  54. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetObjectLegalHoldCommand.js +13 -19
  55. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetObjectLockConfigurationCommand.js +13 -19
  56. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetObjectRetentionCommand.js +13 -19
  57. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetObjectTaggingCommand.js +13 -19
  58. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetObjectTorrentCommand.js +11 -18
  59. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetPublicAccessBlockCommand.js +13 -20
  60. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/HeadBucketCommand.js +13 -19
  61. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/HeadObjectCommand.js +10 -18
  62. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/ListBucketAnalyticsConfigurationsCommand.js +13 -20
  63. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/ListBucketIntelligentTieringConfigurationsCommand.js +13 -20
  64. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/ListBucketInventoryConfigurationsCommand.js +11 -19
  65. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/ListBucketMetricsConfigurationsCommand.js +13 -19
  66. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/ListBucketsCommand.js +13 -19
  67. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/ListMultipartUploadsCommand.js +13 -20
  68. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/ListObjectVersionsCommand.js +13 -20
  69. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/ListObjectsCommand.js +13 -20
  70. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/ListObjectsV2Command.js +13 -20
  71. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/ListPartsCommand.js +11 -19
  72. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutBucketAccelerateConfigurationCommand.js +13 -20
  73. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutBucketAclCommand.js +13 -20
  74. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutBucketAnalyticsConfigurationCommand.js +13 -20
  75. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutBucketCorsCommand.js +13 -20
  76. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutBucketEncryptionCommand.js +11 -19
  77. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutBucketIntelligentTieringConfigurationCommand.js +13 -20
  78. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutBucketInventoryConfigurationCommand.js +11 -19
  79. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutBucketLifecycleConfigurationCommand.js +13 -20
  80. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutBucketLoggingCommand.js +13 -20
  81. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutBucketMetricsConfigurationCommand.js +13 -20
  82. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutBucketNotificationConfigurationCommand.js +13 -20
  83. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutBucketOwnershipControlsCommand.js +13 -20
  84. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutBucketPolicyCommand.js +13 -20
  85. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutBucketReplicationCommand.js +13 -20
  86. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutBucketRequestPaymentCommand.js +13 -20
  87. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutBucketTaggingCommand.js +13 -20
  88. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutBucketVersioningCommand.js +13 -20
  89. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutBucketWebsiteCommand.js +13 -20
  90. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutObjectAclCommand.js +13 -20
  91. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutObjectCommand.js +13 -21
  92. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutObjectLegalHoldCommand.js +13 -19
  93. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutObjectLockConfigurationCommand.js +13 -19
  94. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutObjectRetentionCommand.js +13 -19
  95. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutObjectTaggingCommand.js +13 -19
  96. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutPublicAccessBlockCommand.js +13 -20
  97. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/RestoreObjectCommand.js +11 -18
  98. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/SelectObjectContentCommand.js +10 -20
  99. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/UploadPartCommand.js +10 -18
  100. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/UploadPartCopyCommand.js +10 -17
  101. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/WriteGetObjectResponseCommand.js +11 -18
  102. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/index.js +0 -2
  103. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/endpoint/EndpointParameters.js +0 -1
  104. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/endpoint/endpointResolver.js +1 -1
  105. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/endpoint/ruleset.js +3 -3
  106. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/index.js +3 -3
  107. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/models/S3ServiceException.js +2 -3
  108. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/models/models_0.js +1300 -378
  109. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/models/models_1.js +143 -49
  110. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/pagination/ListObjectsV2Paginator.js +8 -1
  111. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/pagination/ListPartsPaginator.js +8 -1
  112. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/pagination/index.js +0 -1
  113. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/protocols/Aws_restXml.js +2257 -1975
  114. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/runtimeConfig.browser.js +16 -10
  115. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/runtimeConfig.js +18 -16
  116. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/runtimeConfig.shared.js +16 -25
  117. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/waiters/waitForBucketExists.js +1 -1
  118. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/waiters/waitForBucketNotExists.js +1 -1
  119. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/waiters/waitForObjectExists.js +1 -1
  120. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/waiters/waitForObjectNotExists.js +1 -1
  121. package/dist/node_modules/@aws-sdk/client-s3/dist-es/S3.js +1302 -101
  122. package/dist/node_modules/@aws-sdk/client-s3/dist-es/S3Client.js +12 -18
  123. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/AbortMultipartUploadCommand.js +13 -20
  124. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/CompleteMultipartUploadCommand.js +10 -18
  125. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/CopyObjectCommand.js +10 -17
  126. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/CreateBucketCommand.js +13 -20
  127. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/CreateMultipartUploadCommand.js +10 -18
  128. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketAnalyticsConfigurationCommand.js +13 -20
  129. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketCommand.js +13 -20
  130. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketCorsCommand.js +13 -20
  131. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketEncryptionCommand.js +13 -20
  132. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketIntelligentTieringConfigurationCommand.js +13 -20
  133. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketInventoryConfigurationCommand.js +13 -20
  134. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketLifecycleCommand.js +13 -20
  135. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketMetricsConfigurationCommand.js +13 -20
  136. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketOwnershipControlsCommand.js +13 -20
  137. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketPolicyCommand.js +13 -20
  138. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketReplicationCommand.js +13 -20
  139. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketTaggingCommand.js +13 -20
  140. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketWebsiteCommand.js +13 -20
  141. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteObjectCommand.js +13 -20
  142. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteObjectTaggingCommand.js +13 -19
  143. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteObjectsCommand.js +13 -19
  144. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeletePublicAccessBlockCommand.js +13 -20
  145. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketAccelerateConfigurationCommand.js +13 -20
  146. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketAclCommand.js +13 -20
  147. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketAnalyticsConfigurationCommand.js +13 -20
  148. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketCorsCommand.js +13 -20
  149. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketEncryptionCommand.js +12 -20
  150. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketIntelligentTieringConfigurationCommand.js +13 -20
  151. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketInventoryConfigurationCommand.js +12 -20
  152. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketLifecycleConfigurationCommand.js +13 -20
  153. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketLocationCommand.js +13 -20
  154. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketLoggingCommand.js +13 -20
  155. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketMetricsConfigurationCommand.js +13 -20
  156. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketNotificationConfigurationCommand.js +13 -20
  157. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketOwnershipControlsCommand.js +13 -20
  158. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketPolicyCommand.js +13 -20
  159. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketPolicyStatusCommand.js +13 -20
  160. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketReplicationCommand.js +13 -20
  161. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketRequestPaymentCommand.js +13 -20
  162. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketTaggingCommand.js +13 -20
  163. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketVersioningCommand.js +13 -20
  164. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketWebsiteCommand.js +13 -20
  165. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetObjectAclCommand.js +13 -20
  166. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetObjectAttributesCommand.js +12 -19
  167. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetObjectCommand.js +10 -18
  168. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetObjectLegalHoldCommand.js +13 -19
  169. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetObjectLockConfigurationCommand.js +13 -19
  170. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetObjectRetentionCommand.js +13 -19
  171. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetObjectTaggingCommand.js +13 -19
  172. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetObjectTorrentCommand.js +12 -19
  173. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetPublicAccessBlockCommand.js +13 -20
  174. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/HeadBucketCommand.js +13 -19
  175. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/HeadObjectCommand.js +10 -18
  176. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/ListBucketAnalyticsConfigurationsCommand.js +13 -20
  177. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/ListBucketIntelligentTieringConfigurationsCommand.js +13 -20
  178. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/ListBucketInventoryConfigurationsCommand.js +12 -20
  179. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/ListBucketMetricsConfigurationsCommand.js +13 -19
  180. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/ListBucketsCommand.js +13 -19
  181. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/ListMultipartUploadsCommand.js +13 -20
  182. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/ListObjectVersionsCommand.js +13 -20
  183. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/ListObjectsCommand.js +13 -20
  184. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/ListObjectsV2Command.js +13 -20
  185. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/ListPartsCommand.js +12 -20
  186. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketAccelerateConfigurationCommand.js +13 -20
  187. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketAclCommand.js +13 -20
  188. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketAnalyticsConfigurationCommand.js +13 -20
  189. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketCorsCommand.js +13 -20
  190. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketEncryptionCommand.js +11 -19
  191. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketIntelligentTieringConfigurationCommand.js +13 -20
  192. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketInventoryConfigurationCommand.js +11 -19
  193. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketLifecycleConfigurationCommand.js +13 -20
  194. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketLoggingCommand.js +13 -20
  195. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketMetricsConfigurationCommand.js +13 -20
  196. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketNotificationConfigurationCommand.js +13 -20
  197. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketOwnershipControlsCommand.js +13 -20
  198. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketPolicyCommand.js +13 -20
  199. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketReplicationCommand.js +13 -20
  200. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketRequestPaymentCommand.js +13 -20
  201. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketTaggingCommand.js +13 -20
  202. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketVersioningCommand.js +13 -20
  203. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketWebsiteCommand.js +13 -20
  204. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutObjectAclCommand.js +13 -20
  205. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutObjectCommand.js +11 -19
  206. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutObjectLegalHoldCommand.js +13 -19
  207. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutObjectLockConfigurationCommand.js +13 -19
  208. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutObjectRetentionCommand.js +13 -19
  209. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutObjectTaggingCommand.js +13 -19
  210. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutPublicAccessBlockCommand.js +13 -20
  211. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/RestoreObjectCommand.js +12 -19
  212. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/SelectObjectContentCommand.js +10 -20
  213. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/UploadPartCommand.js +10 -18
  214. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/UploadPartCopyCommand.js +10 -17
  215. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/WriteGetObjectResponseCommand.js +11 -18
  216. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/index.js +0 -2
  217. package/dist/node_modules/@aws-sdk/client-s3/dist-es/endpoint/EndpointParameters.js +0 -1
  218. package/dist/node_modules/@aws-sdk/client-s3/dist-es/endpoint/endpointResolver.js +1 -1
  219. package/dist/node_modules/@aws-sdk/client-s3/dist-es/endpoint/ruleset.js +3 -3
  220. package/dist/node_modules/@aws-sdk/client-s3/dist-es/index.js +2 -3
  221. package/dist/node_modules/@aws-sdk/client-s3/dist-es/models/S3ServiceException.js +1 -2
  222. package/dist/node_modules/@aws-sdk/client-s3/dist-es/models/models_0.js +1066 -362
  223. package/dist/node_modules/@aws-sdk/client-s3/dist-es/models/models_1.js +116 -46
  224. package/dist/node_modules/@aws-sdk/client-s3/dist-es/pagination/ListObjectsV2Paginator.js +8 -1
  225. package/dist/node_modules/@aws-sdk/client-s3/dist-es/pagination/ListPartsPaginator.js +8 -1
  226. package/dist/node_modules/@aws-sdk/client-s3/dist-es/pagination/index.js +0 -1
  227. package/dist/node_modules/@aws-sdk/client-s3/dist-es/protocols/Aws_restXml.js +1739 -1453
  228. package/dist/node_modules/@aws-sdk/client-s3/dist-es/runtimeConfig.browser.js +16 -10
  229. package/dist/node_modules/@aws-sdk/client-s3/dist-es/runtimeConfig.js +18 -16
  230. package/dist/node_modules/@aws-sdk/client-s3/dist-es/runtimeConfig.shared.js +16 -25
  231. package/dist/node_modules/@aws-sdk/client-s3/dist-es/waiters/waitForBucketExists.js +1 -1
  232. package/dist/node_modules/@aws-sdk/client-s3/dist-es/waiters/waitForBucketNotExists.js +1 -1
  233. package/dist/node_modules/@aws-sdk/client-s3/dist-es/waiters/waitForObjectExists.js +1 -1
  234. package/dist/node_modules/@aws-sdk/client-s3/dist-es/waiters/waitForObjectNotExists.js +1 -1
  235. package/dist/node_modules/@aws-sdk/client-s3/dist-types/S3.d.ts +5312 -115
  236. package/dist/node_modules/@aws-sdk/client-s3/dist-types/S3Client.d.ts +39 -69
  237. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/AbortMultipartUploadCommand.d.ts +8 -96
  238. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/CompleteMultipartUploadCommand.d.ts +66 -212
  239. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/CopyObjectCommand.d.ts +161 -253
  240. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/CreateBucketCommand.d.ts +124 -201
  241. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/CreateMultipartUploadCommand.d.ts +212 -247
  242. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketAnalyticsConfigurationCommand.d.ts +8 -45
  243. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketCommand.d.ts +7 -85
  244. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketCorsCommand.d.ts +8 -56
  245. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketEncryptionCommand.d.ts +12 -49
  246. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketIntelligentTieringConfigurationCommand.d.ts +6 -43
  247. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketInventoryConfigurationCommand.d.ts +6 -45
  248. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketLifecycleCommand.d.ts +8 -54
  249. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketMetricsConfigurationCommand.d.ts +11 -48
  250. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketOwnershipControlsCommand.d.ts +6 -44
  251. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketPolicyCommand.d.ts +22 -97
  252. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketReplicationCommand.d.ts +9 -57
  253. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketTaggingCommand.d.ts +5 -53
  254. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketWebsiteCommand.d.ts +7 -53
  255. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteObjectCommand.d.ts +23 -158
  256. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteObjectTaggingCommand.d.ts +11 -83
  257. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteObjectsCommand.d.ts +27 -238
  258. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeletePublicAccessBlockCommand.d.ts +7 -44
  259. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketAccelerateConfigurationCommand.d.ts +12 -53
  260. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketAclCommand.d.ts +14 -72
  261. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketAnalyticsConfigurationCommand.d.ts +11 -82
  262. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketCorsCommand.d.ts +7 -95
  263. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketEncryptionCommand.d.ts +10 -60
  264. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketIntelligentTieringConfigurationCommand.d.ts +6 -70
  265. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketInventoryConfigurationCommand.d.ts +9 -74
  266. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketLifecycleConfigurationCommand.d.ts +9 -127
  267. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketLocationCommand.d.ts +9 -70
  268. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketLoggingCommand.d.ts +6 -66
  269. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketMetricsConfigurationCommand.d.ts +13 -70
  270. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketNotificationConfigurationCommand.d.ts +9 -108
  271. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketOwnershipControlsCommand.d.ts +7 -54
  272. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketPolicyCommand.d.ts +22 -110
  273. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketPolicyStatusCommand.d.ts +7 -47
  274. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketReplicationCommand.d.ts +9 -135
  275. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketRequestPaymentCommand.d.ts +6 -62
  276. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketTaggingCommand.d.ts +6 -74
  277. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketVersioningCommand.d.ts +6 -62
  278. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketWebsiteCommand.d.ts +7 -91
  279. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectAclCommand.d.ts +12 -126
  280. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectAttributesCommand.d.ts +117 -228
  281. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectCommand.d.ts +166 -290
  282. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectLegalHoldCommand.d.ts +6 -50
  283. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectLockConfigurationCommand.d.ts +7 -54
  284. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectRetentionCommand.d.ts +6 -52
  285. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectTaggingCommand.d.ts +13 -109
  286. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectTorrentCommand.d.ts +7 -63
  287. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetPublicAccessBlockCommand.d.ts +8 -50
  288. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/HeadBucketCommand.d.ts +21 -109
  289. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/HeadObjectCommand.d.ts +87 -216
  290. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/ListBucketAnalyticsConfigurationsCommand.d.ts +12 -85
  291. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/ListBucketIntelligentTieringConfigurationsCommand.d.ts +6 -75
  292. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/ListBucketInventoryConfigurationsCommand.d.ts +13 -82
  293. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/ListBucketMetricsConfigurationsCommand.d.ts +15 -76
  294. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/ListBucketsCommand.d.ts +5 -84
  295. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/ListMultipartUploadsCommand.d.ts +23 -262
  296. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/ListObjectVersionsCommand.d.ts +13 -153
  297. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/ListObjectsCommand.d.ts +6 -130
  298. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/ListObjectsV2Command.d.ts +24 -185
  299. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/ListPartsCommand.d.ts +20 -165
  300. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketAccelerateConfigurationCommand.d.ts +15 -50
  301. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketAclCommand.d.ts +122 -201
  302. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketAnalyticsConfigurationCommand.d.ts +25 -83
  303. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketCorsCommand.d.ts +10 -112
  304. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketEncryptionCommand.d.ts +22 -69
  305. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketIntelligentTieringConfigurationCommand.d.ts +63 -99
  306. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketInventoryConfigurationCommand.d.ts +71 -121
  307. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketLifecycleConfigurationCommand.d.ts +81 -197
  308. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketLoggingCommand.d.ts +54 -144
  309. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketMetricsConfigurationCommand.d.ts +13 -69
  310. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketNotificationConfigurationCommand.d.ts +25 -134
  311. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketOwnershipControlsCommand.d.ts +6 -54
  312. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketPolicyCommand.d.ts +20 -108
  313. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketReplicationCommand.d.ts +41 -171
  314. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketRequestPaymentCommand.d.ts +7 -63
  315. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketTaggingCommand.d.ts +54 -104
  316. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketVersioningCommand.d.ts +24 -76
  317. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketWebsiteCommand.d.ts +9 -93
  318. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutObjectAclCommand.d.ts +129 -220
  319. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutObjectCommand.d.ts +99 -342
  320. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutObjectLegalHoldCommand.d.ts +6 -54
  321. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutObjectLockConfigurationCommand.d.ts +13 -67
  322. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutObjectRetentionCommand.d.ts +9 -58
  323. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutObjectTaggingCommand.d.ts +77 -108
  324. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutPublicAccessBlockCommand.d.ts +14 -52
  325. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/RestoreObjectCommand.d.ts +214 -337
  326. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/SelectObjectContentCommand.d.ts +98 -200
  327. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/UploadPartCommand.d.ts +92 -189
  328. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/UploadPartCopyCommand.d.ts +121 -237
  329. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/WriteGetObjectResponseCommand.d.ts +34 -113
  330. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/index.d.ts +0 -2
  331. package/dist/node_modules/@aws-sdk/client-s3/dist-types/endpoint/EndpointParameters.d.ts +2 -10
  332. package/dist/node_modules/@aws-sdk/client-s3/dist-types/endpoint/endpointResolver.d.ts +1 -1
  333. package/dist/node_modules/@aws-sdk/client-s3/dist-types/endpoint/ruleset.d.ts +1 -1
  334. package/dist/node_modules/@aws-sdk/client-s3/dist-types/index.d.ts +2 -11
  335. package/dist/node_modules/@aws-sdk/client-s3/dist-types/models/S3ServiceException.d.ts +1 -4
  336. package/dist/node_modules/@aws-sdk/client-s3/dist-types/models/models_0.d.ts +2799 -5390
  337. package/dist/node_modules/@aws-sdk/client-s3/dist-types/models/models_1.d.ts +354 -1959
  338. package/dist/node_modules/@aws-sdk/client-s3/dist-types/pagination/Interfaces.d.ts +3 -5
  339. package/dist/node_modules/@aws-sdk/client-s3/dist-types/pagination/ListObjectsV2Paginator.d.ts +1 -4
  340. package/dist/node_modules/@aws-sdk/client-s3/dist-types/pagination/ListPartsPaginator.d.ts +1 -4
  341. package/dist/node_modules/@aws-sdk/client-s3/dist-types/pagination/index.d.ts +0 -1
  342. package/dist/node_modules/@aws-sdk/client-s3/dist-types/protocols/Aws_restXml.d.ts +188 -764
  343. package/dist/node_modules/@aws-sdk/client-s3/dist-types/runtimeConfig.browser.d.ts +38 -45
  344. package/dist/node_modules/@aws-sdk/client-s3/dist-types/runtimeConfig.d.ts +9 -16
  345. package/dist/node_modules/@aws-sdk/client-s3/dist-types/runtimeConfig.native.d.ts +34 -41
  346. package/dist/node_modules/@aws-sdk/client-s3/dist-types/runtimeConfig.shared.d.ts +8 -14
  347. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/S3.d.ts +2 -37
  348. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/S3Client.d.ts +36 -55
  349. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/AbortMultipartUploadCommand.d.ts +3 -4
  350. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/CompleteMultipartUploadCommand.d.ts +3 -4
  351. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/CopyObjectCommand.d.ts +3 -4
  352. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/CreateBucketCommand.d.ts +3 -4
  353. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/CreateMultipartUploadCommand.d.ts +3 -4
  354. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketAnalyticsConfigurationCommand.d.ts +3 -4
  355. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketCommand.d.ts +3 -4
  356. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketCorsCommand.d.ts +3 -4
  357. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketEncryptionCommand.d.ts +3 -4
  358. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketIntelligentTieringConfigurationCommand.d.ts +3 -4
  359. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketInventoryConfigurationCommand.d.ts +3 -4
  360. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketLifecycleCommand.d.ts +3 -4
  361. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketMetricsConfigurationCommand.d.ts +3 -4
  362. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketOwnershipControlsCommand.d.ts +3 -4
  363. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketPolicyCommand.d.ts +3 -4
  364. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketReplicationCommand.d.ts +3 -4
  365. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketTaggingCommand.d.ts +3 -4
  366. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketWebsiteCommand.d.ts +3 -4
  367. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteObjectCommand.d.ts +3 -4
  368. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteObjectTaggingCommand.d.ts +3 -4
  369. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteObjectsCommand.d.ts +3 -4
  370. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeletePublicAccessBlockCommand.d.ts +3 -4
  371. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketAccelerateConfigurationCommand.d.ts +3 -4
  372. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketAclCommand.d.ts +3 -4
  373. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketAnalyticsConfigurationCommand.d.ts +3 -4
  374. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketCorsCommand.d.ts +3 -4
  375. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketEncryptionCommand.d.ts +3 -4
  376. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketIntelligentTieringConfigurationCommand.d.ts +3 -4
  377. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketInventoryConfigurationCommand.d.ts +3 -4
  378. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketLifecycleConfigurationCommand.d.ts +3 -4
  379. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketLocationCommand.d.ts +3 -4
  380. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketLoggingCommand.d.ts +3 -4
  381. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketMetricsConfigurationCommand.d.ts +3 -4
  382. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketNotificationConfigurationCommand.d.ts +3 -4
  383. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketOwnershipControlsCommand.d.ts +3 -4
  384. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketPolicyCommand.d.ts +3 -4
  385. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketPolicyStatusCommand.d.ts +3 -4
  386. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketReplicationCommand.d.ts +3 -4
  387. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketRequestPaymentCommand.d.ts +3 -4
  388. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketTaggingCommand.d.ts +3 -4
  389. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketVersioningCommand.d.ts +3 -4
  390. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketWebsiteCommand.d.ts +3 -4
  391. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetObjectAclCommand.d.ts +3 -4
  392. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetObjectAttributesCommand.d.ts +3 -4
  393. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetObjectCommand.d.ts +6 -9
  394. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetObjectLegalHoldCommand.d.ts +3 -4
  395. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetObjectLockConfigurationCommand.d.ts +3 -4
  396. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetObjectRetentionCommand.d.ts +3 -4
  397. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetObjectTaggingCommand.d.ts +3 -4
  398. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetObjectTorrentCommand.d.ts +6 -12
  399. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetPublicAccessBlockCommand.d.ts +3 -4
  400. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/HeadBucketCommand.d.ts +5 -8
  401. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/HeadObjectCommand.d.ts +3 -4
  402. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/ListBucketAnalyticsConfigurationsCommand.d.ts +3 -4
  403. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/ListBucketIntelligentTieringConfigurationsCommand.d.ts +3 -4
  404. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/ListBucketInventoryConfigurationsCommand.d.ts +3 -4
  405. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/ListBucketMetricsConfigurationsCommand.d.ts +3 -4
  406. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/ListBucketsCommand.d.ts +3 -4
  407. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/ListMultipartUploadsCommand.d.ts +3 -4
  408. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/ListObjectVersionsCommand.d.ts +3 -4
  409. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/ListObjectsCommand.d.ts +3 -4
  410. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/ListObjectsV2Command.d.ts +3 -4
  411. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/ListPartsCommand.d.ts +3 -4
  412. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketAccelerateConfigurationCommand.d.ts +3 -4
  413. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketAclCommand.d.ts +3 -4
  414. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketAnalyticsConfigurationCommand.d.ts +3 -4
  415. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketCorsCommand.d.ts +3 -4
  416. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketEncryptionCommand.d.ts +3 -4
  417. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketIntelligentTieringConfigurationCommand.d.ts +3 -4
  418. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketInventoryConfigurationCommand.d.ts +3 -4
  419. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketLifecycleConfigurationCommand.d.ts +3 -4
  420. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketLoggingCommand.d.ts +3 -4
  421. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketMetricsConfigurationCommand.d.ts +3 -4
  422. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketNotificationConfigurationCommand.d.ts +3 -4
  423. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketOwnershipControlsCommand.d.ts +3 -4
  424. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketPolicyCommand.d.ts +3 -4
  425. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketReplicationCommand.d.ts +4 -5
  426. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketRequestPaymentCommand.d.ts +4 -5
  427. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketTaggingCommand.d.ts +4 -5
  428. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketVersioningCommand.d.ts +4 -5
  429. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketWebsiteCommand.d.ts +4 -5
  430. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutObjectAclCommand.d.ts +4 -5
  431. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutObjectCommand.d.ts +12 -10
  432. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutObjectLegalHoldCommand.d.ts +4 -5
  433. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutObjectLockConfigurationCommand.d.ts +4 -5
  434. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutObjectRetentionCommand.d.ts +3 -4
  435. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutObjectTaggingCommand.d.ts +3 -4
  436. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutPublicAccessBlockCommand.d.ts +3 -4
  437. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/RestoreObjectCommand.d.ts +3 -4
  438. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/SelectObjectContentCommand.d.ts +3 -4
  439. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/UploadPartCommand.d.ts +11 -9
  440. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/UploadPartCopyCommand.d.ts +3 -4
  441. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/WriteGetObjectResponseCommand.d.ts +11 -11
  442. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/index.d.ts +0 -2
  443. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +5 -9
  444. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/endpoint/endpointResolver.d.ts +1 -1
  445. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/endpoint/ruleset.d.ts +1 -1
  446. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/index.d.ts +2 -6
  447. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/models/S3ServiceException.d.ts +1 -2
  448. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/models/models_0.d.ts +1189 -639
  449. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/models/models_1.d.ts +123 -251
  450. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/pagination/Interfaces.d.ts +3 -2
  451. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/pagination/ListObjectsV2Paginator.d.ts +1 -1
  452. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/pagination/ListPartsPaginator.d.ts +1 -1
  453. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/pagination/index.d.ts +0 -1
  454. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/protocols/Aws_restXml.d.ts +188 -212
  455. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/runtimeConfig.browser.d.ts +62 -78
  456. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/runtimeConfig.d.ts +14 -29
  457. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/runtimeConfig.native.d.ts +52 -70
  458. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/runtimeConfig.shared.d.ts +10 -19
  459. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/waiters/waitForBucketExists.d.ts +1 -1
  460. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/waiters/waitForBucketNotExists.d.ts +1 -1
  461. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/waiters/waitForObjectExists.d.ts +1 -1
  462. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/waiters/waitForObjectNotExists.d.ts +1 -1
  463. package/dist/node_modules/@aws-sdk/client-s3/dist-types/waiters/waitForBucketExists.d.ts +1 -1
  464. package/dist/node_modules/@aws-sdk/client-s3/dist-types/waiters/waitForBucketNotExists.d.ts +1 -1
  465. package/dist/node_modules/@aws-sdk/client-s3/dist-types/waiters/waitForObjectExists.d.ts +1 -1
  466. package/dist/node_modules/@aws-sdk/client-s3/dist-types/waiters/waitForObjectNotExists.d.ts +1 -1
  467. package/dist/node_modules/@aws-sdk/client-s3/package.json +1 -1
  468. package/dist/node_modules/mime-match/package.json +1 -1
  469. package/dist/node_modules/mkdirp/package.json +1 -1
  470. package/dist/node_modules/multer-aliyun-oss/package.json +1 -1
  471. package/dist/node_modules/multer-cos/index.js +1 -1
  472. package/dist/node_modules/multer-cos/package.json +1 -1
  473. package/dist/node_modules/multer-s3/index.js +4 -4
  474. package/dist/node_modules/multer-s3/package.json +1 -1
  475. package/dist/server/actions/attachments.js +2 -1
  476. package/dist/server/collections/attachments.js +1 -0
  477. package/dist/server/collections/storages.js +1 -0
  478. package/dist/server/server.d.ts +1 -0
  479. package/dist/server/server.js +8 -14
  480. package/package.json +3 -3
  481. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/CreateSessionCommand.js +0 -59
  482. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/ListDirectoryBucketsCommand.js +0 -58
  483. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/extensionConfiguration.js +0 -2
  484. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/pagination/ListDirectoryBucketsPaginator.js +0 -29
  485. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/runtimeExtensions.js +0 -22
  486. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/CreateSessionCommand.js +0 -55
  487. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/ListDirectoryBucketsCommand.js +0 -54
  488. package/dist/node_modules/@aws-sdk/client-s3/dist-es/extensionConfiguration.js +0 -1
  489. package/dist/node_modules/@aws-sdk/client-s3/dist-es/pagination/ListDirectoryBucketsPaginator.js +0 -25
  490. package/dist/node_modules/@aws-sdk/client-s3/dist-es/runtimeExtensions.js +0 -18
  491. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/CreateSessionCommand.d.ts +0 -145
  492. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/ListDirectoryBucketsCommand.d.ts +0 -98
  493. package/dist/node_modules/@aws-sdk/client-s3/dist-types/extensionConfiguration.d.ts +0 -8
  494. package/dist/node_modules/@aws-sdk/client-s3/dist-types/pagination/ListDirectoryBucketsPaginator.d.ts +0 -7
  495. package/dist/node_modules/@aws-sdk/client-s3/dist-types/runtimeExtensions.d.ts +0 -17
  496. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/CreateSessionCommand.d.ts +0 -35
  497. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/ListDirectoryBucketsCommand.d.ts +0 -42
  498. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/extensionConfiguration.d.ts +0 -7
  499. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/pagination/ListDirectoryBucketsPaginator.d.ts +0 -11
  500. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/runtimeExtensions.d.ts +0 -11
@@ -1,10 +1,8 @@
1
- import { createAggregatedClient } from "@smithy/smithy-client";
2
1
  import { AbortMultipartUploadCommand, } from "./commands/AbortMultipartUploadCommand";
3
2
  import { CompleteMultipartUploadCommand, } from "./commands/CompleteMultipartUploadCommand";
4
3
  import { CopyObjectCommand } from "./commands/CopyObjectCommand";
5
4
  import { CreateBucketCommand, } from "./commands/CreateBucketCommand";
6
5
  import { CreateMultipartUploadCommand, } from "./commands/CreateMultipartUploadCommand";
7
- import { CreateSessionCommand, } from "./commands/CreateSessionCommand";
8
6
  import { DeleteBucketAnalyticsConfigurationCommand, } from "./commands/DeleteBucketAnalyticsConfigurationCommand";
9
7
  import { DeleteBucketCommand, } from "./commands/DeleteBucketCommand";
10
8
  import { DeleteBucketCorsCommand, } from "./commands/DeleteBucketCorsCommand";
@@ -58,7 +56,6 @@ import { ListBucketIntelligentTieringConfigurationsCommand, } from "./commands/L
58
56
  import { ListBucketInventoryConfigurationsCommand, } from "./commands/ListBucketInventoryConfigurationsCommand";
59
57
  import { ListBucketMetricsConfigurationsCommand, } from "./commands/ListBucketMetricsConfigurationsCommand";
60
58
  import { ListBucketsCommand } from "./commands/ListBucketsCommand";
61
- import { ListDirectoryBucketsCommand, } from "./commands/ListDirectoryBucketsCommand";
62
59
  import { ListMultipartUploadsCommand, } from "./commands/ListMultipartUploadsCommand";
63
60
  import { ListObjectsCommand } from "./commands/ListObjectsCommand";
64
61
  import { ListObjectsV2Command, } from "./commands/ListObjectsV2Command";
@@ -95,103 +92,1307 @@ import { UploadPartCommand } from "./commands/UploadPartCommand";
95
92
  import { UploadPartCopyCommand, } from "./commands/UploadPartCopyCommand";
96
93
  import { WriteGetObjectResponseCommand, } from "./commands/WriteGetObjectResponseCommand";
97
94
  import { S3Client } from "./S3Client";
98
- const commands = {
99
- AbortMultipartUploadCommand,
100
- CompleteMultipartUploadCommand,
101
- CopyObjectCommand,
102
- CreateBucketCommand,
103
- CreateMultipartUploadCommand,
104
- CreateSessionCommand,
105
- DeleteBucketCommand,
106
- DeleteBucketAnalyticsConfigurationCommand,
107
- DeleteBucketCorsCommand,
108
- DeleteBucketEncryptionCommand,
109
- DeleteBucketIntelligentTieringConfigurationCommand,
110
- DeleteBucketInventoryConfigurationCommand,
111
- DeleteBucketLifecycleCommand,
112
- DeleteBucketMetricsConfigurationCommand,
113
- DeleteBucketOwnershipControlsCommand,
114
- DeleteBucketPolicyCommand,
115
- DeleteBucketReplicationCommand,
116
- DeleteBucketTaggingCommand,
117
- DeleteBucketWebsiteCommand,
118
- DeleteObjectCommand,
119
- DeleteObjectsCommand,
120
- DeleteObjectTaggingCommand,
121
- DeletePublicAccessBlockCommand,
122
- GetBucketAccelerateConfigurationCommand,
123
- GetBucketAclCommand,
124
- GetBucketAnalyticsConfigurationCommand,
125
- GetBucketCorsCommand,
126
- GetBucketEncryptionCommand,
127
- GetBucketIntelligentTieringConfigurationCommand,
128
- GetBucketInventoryConfigurationCommand,
129
- GetBucketLifecycleConfigurationCommand,
130
- GetBucketLocationCommand,
131
- GetBucketLoggingCommand,
132
- GetBucketMetricsConfigurationCommand,
133
- GetBucketNotificationConfigurationCommand,
134
- GetBucketOwnershipControlsCommand,
135
- GetBucketPolicyCommand,
136
- GetBucketPolicyStatusCommand,
137
- GetBucketReplicationCommand,
138
- GetBucketRequestPaymentCommand,
139
- GetBucketTaggingCommand,
140
- GetBucketVersioningCommand,
141
- GetBucketWebsiteCommand,
142
- GetObjectCommand,
143
- GetObjectAclCommand,
144
- GetObjectAttributesCommand,
145
- GetObjectLegalHoldCommand,
146
- GetObjectLockConfigurationCommand,
147
- GetObjectRetentionCommand,
148
- GetObjectTaggingCommand,
149
- GetObjectTorrentCommand,
150
- GetPublicAccessBlockCommand,
151
- HeadBucketCommand,
152
- HeadObjectCommand,
153
- ListBucketAnalyticsConfigurationsCommand,
154
- ListBucketIntelligentTieringConfigurationsCommand,
155
- ListBucketInventoryConfigurationsCommand,
156
- ListBucketMetricsConfigurationsCommand,
157
- ListBucketsCommand,
158
- ListDirectoryBucketsCommand,
159
- ListMultipartUploadsCommand,
160
- ListObjectsCommand,
161
- ListObjectsV2Command,
162
- ListObjectVersionsCommand,
163
- ListPartsCommand,
164
- PutBucketAccelerateConfigurationCommand,
165
- PutBucketAclCommand,
166
- PutBucketAnalyticsConfigurationCommand,
167
- PutBucketCorsCommand,
168
- PutBucketEncryptionCommand,
169
- PutBucketIntelligentTieringConfigurationCommand,
170
- PutBucketInventoryConfigurationCommand,
171
- PutBucketLifecycleConfigurationCommand,
172
- PutBucketLoggingCommand,
173
- PutBucketMetricsConfigurationCommand,
174
- PutBucketNotificationConfigurationCommand,
175
- PutBucketOwnershipControlsCommand,
176
- PutBucketPolicyCommand,
177
- PutBucketReplicationCommand,
178
- PutBucketRequestPaymentCommand,
179
- PutBucketTaggingCommand,
180
- PutBucketVersioningCommand,
181
- PutBucketWebsiteCommand,
182
- PutObjectCommand,
183
- PutObjectAclCommand,
184
- PutObjectLegalHoldCommand,
185
- PutObjectLockConfigurationCommand,
186
- PutObjectRetentionCommand,
187
- PutObjectTaggingCommand,
188
- PutPublicAccessBlockCommand,
189
- RestoreObjectCommand,
190
- SelectObjectContentCommand,
191
- UploadPartCommand,
192
- UploadPartCopyCommand,
193
- WriteGetObjectResponseCommand,
194
- };
195
95
  export class S3 extends S3Client {
96
+ abortMultipartUpload(args, optionsOrCb, cb) {
97
+ const command = new AbortMultipartUploadCommand(args);
98
+ if (typeof optionsOrCb === "function") {
99
+ this.send(command, optionsOrCb);
100
+ }
101
+ else if (typeof cb === "function") {
102
+ if (typeof optionsOrCb !== "object")
103
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
104
+ this.send(command, optionsOrCb || {}, cb);
105
+ }
106
+ else {
107
+ return this.send(command, optionsOrCb);
108
+ }
109
+ }
110
+ completeMultipartUpload(args, optionsOrCb, cb) {
111
+ const command = new CompleteMultipartUploadCommand(args);
112
+ if (typeof optionsOrCb === "function") {
113
+ this.send(command, optionsOrCb);
114
+ }
115
+ else if (typeof cb === "function") {
116
+ if (typeof optionsOrCb !== "object")
117
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
118
+ this.send(command, optionsOrCb || {}, cb);
119
+ }
120
+ else {
121
+ return this.send(command, optionsOrCb);
122
+ }
123
+ }
124
+ copyObject(args, optionsOrCb, cb) {
125
+ const command = new CopyObjectCommand(args);
126
+ if (typeof optionsOrCb === "function") {
127
+ this.send(command, optionsOrCb);
128
+ }
129
+ else if (typeof cb === "function") {
130
+ if (typeof optionsOrCb !== "object")
131
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
132
+ this.send(command, optionsOrCb || {}, cb);
133
+ }
134
+ else {
135
+ return this.send(command, optionsOrCb);
136
+ }
137
+ }
138
+ createBucket(args, optionsOrCb, cb) {
139
+ const command = new CreateBucketCommand(args);
140
+ if (typeof optionsOrCb === "function") {
141
+ this.send(command, optionsOrCb);
142
+ }
143
+ else if (typeof cb === "function") {
144
+ if (typeof optionsOrCb !== "object")
145
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
146
+ this.send(command, optionsOrCb || {}, cb);
147
+ }
148
+ else {
149
+ return this.send(command, optionsOrCb);
150
+ }
151
+ }
152
+ createMultipartUpload(args, optionsOrCb, cb) {
153
+ const command = new CreateMultipartUploadCommand(args);
154
+ if (typeof optionsOrCb === "function") {
155
+ this.send(command, optionsOrCb);
156
+ }
157
+ else if (typeof cb === "function") {
158
+ if (typeof optionsOrCb !== "object")
159
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
160
+ this.send(command, optionsOrCb || {}, cb);
161
+ }
162
+ else {
163
+ return this.send(command, optionsOrCb);
164
+ }
165
+ }
166
+ deleteBucket(args, optionsOrCb, cb) {
167
+ const command = new DeleteBucketCommand(args);
168
+ if (typeof optionsOrCb === "function") {
169
+ this.send(command, optionsOrCb);
170
+ }
171
+ else if (typeof cb === "function") {
172
+ if (typeof optionsOrCb !== "object")
173
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
174
+ this.send(command, optionsOrCb || {}, cb);
175
+ }
176
+ else {
177
+ return this.send(command, optionsOrCb);
178
+ }
179
+ }
180
+ deleteBucketAnalyticsConfiguration(args, optionsOrCb, cb) {
181
+ const command = new DeleteBucketAnalyticsConfigurationCommand(args);
182
+ if (typeof optionsOrCb === "function") {
183
+ this.send(command, optionsOrCb);
184
+ }
185
+ else if (typeof cb === "function") {
186
+ if (typeof optionsOrCb !== "object")
187
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
188
+ this.send(command, optionsOrCb || {}, cb);
189
+ }
190
+ else {
191
+ return this.send(command, optionsOrCb);
192
+ }
193
+ }
194
+ deleteBucketCors(args, optionsOrCb, cb) {
195
+ const command = new DeleteBucketCorsCommand(args);
196
+ if (typeof optionsOrCb === "function") {
197
+ this.send(command, optionsOrCb);
198
+ }
199
+ else if (typeof cb === "function") {
200
+ if (typeof optionsOrCb !== "object")
201
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
202
+ this.send(command, optionsOrCb || {}, cb);
203
+ }
204
+ else {
205
+ return this.send(command, optionsOrCb);
206
+ }
207
+ }
208
+ deleteBucketEncryption(args, optionsOrCb, cb) {
209
+ const command = new DeleteBucketEncryptionCommand(args);
210
+ if (typeof optionsOrCb === "function") {
211
+ this.send(command, optionsOrCb);
212
+ }
213
+ else if (typeof cb === "function") {
214
+ if (typeof optionsOrCb !== "object")
215
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
216
+ this.send(command, optionsOrCb || {}, cb);
217
+ }
218
+ else {
219
+ return this.send(command, optionsOrCb);
220
+ }
221
+ }
222
+ deleteBucketIntelligentTieringConfiguration(args, optionsOrCb, cb) {
223
+ const command = new DeleteBucketIntelligentTieringConfigurationCommand(args);
224
+ if (typeof optionsOrCb === "function") {
225
+ this.send(command, optionsOrCb);
226
+ }
227
+ else if (typeof cb === "function") {
228
+ if (typeof optionsOrCb !== "object")
229
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
230
+ this.send(command, optionsOrCb || {}, cb);
231
+ }
232
+ else {
233
+ return this.send(command, optionsOrCb);
234
+ }
235
+ }
236
+ deleteBucketInventoryConfiguration(args, optionsOrCb, cb) {
237
+ const command = new DeleteBucketInventoryConfigurationCommand(args);
238
+ if (typeof optionsOrCb === "function") {
239
+ this.send(command, optionsOrCb);
240
+ }
241
+ else if (typeof cb === "function") {
242
+ if (typeof optionsOrCb !== "object")
243
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
244
+ this.send(command, optionsOrCb || {}, cb);
245
+ }
246
+ else {
247
+ return this.send(command, optionsOrCb);
248
+ }
249
+ }
250
+ deleteBucketLifecycle(args, optionsOrCb, cb) {
251
+ const command = new DeleteBucketLifecycleCommand(args);
252
+ if (typeof optionsOrCb === "function") {
253
+ this.send(command, optionsOrCb);
254
+ }
255
+ else if (typeof cb === "function") {
256
+ if (typeof optionsOrCb !== "object")
257
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
258
+ this.send(command, optionsOrCb || {}, cb);
259
+ }
260
+ else {
261
+ return this.send(command, optionsOrCb);
262
+ }
263
+ }
264
+ deleteBucketMetricsConfiguration(args, optionsOrCb, cb) {
265
+ const command = new DeleteBucketMetricsConfigurationCommand(args);
266
+ if (typeof optionsOrCb === "function") {
267
+ this.send(command, optionsOrCb);
268
+ }
269
+ else if (typeof cb === "function") {
270
+ if (typeof optionsOrCb !== "object")
271
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
272
+ this.send(command, optionsOrCb || {}, cb);
273
+ }
274
+ else {
275
+ return this.send(command, optionsOrCb);
276
+ }
277
+ }
278
+ deleteBucketOwnershipControls(args, optionsOrCb, cb) {
279
+ const command = new DeleteBucketOwnershipControlsCommand(args);
280
+ if (typeof optionsOrCb === "function") {
281
+ this.send(command, optionsOrCb);
282
+ }
283
+ else if (typeof cb === "function") {
284
+ if (typeof optionsOrCb !== "object")
285
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
286
+ this.send(command, optionsOrCb || {}, cb);
287
+ }
288
+ else {
289
+ return this.send(command, optionsOrCb);
290
+ }
291
+ }
292
+ deleteBucketPolicy(args, optionsOrCb, cb) {
293
+ const command = new DeleteBucketPolicyCommand(args);
294
+ if (typeof optionsOrCb === "function") {
295
+ this.send(command, optionsOrCb);
296
+ }
297
+ else if (typeof cb === "function") {
298
+ if (typeof optionsOrCb !== "object")
299
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
300
+ this.send(command, optionsOrCb || {}, cb);
301
+ }
302
+ else {
303
+ return this.send(command, optionsOrCb);
304
+ }
305
+ }
306
+ deleteBucketReplication(args, optionsOrCb, cb) {
307
+ const command = new DeleteBucketReplicationCommand(args);
308
+ if (typeof optionsOrCb === "function") {
309
+ this.send(command, optionsOrCb);
310
+ }
311
+ else if (typeof cb === "function") {
312
+ if (typeof optionsOrCb !== "object")
313
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
314
+ this.send(command, optionsOrCb || {}, cb);
315
+ }
316
+ else {
317
+ return this.send(command, optionsOrCb);
318
+ }
319
+ }
320
+ deleteBucketTagging(args, optionsOrCb, cb) {
321
+ const command = new DeleteBucketTaggingCommand(args);
322
+ if (typeof optionsOrCb === "function") {
323
+ this.send(command, optionsOrCb);
324
+ }
325
+ else if (typeof cb === "function") {
326
+ if (typeof optionsOrCb !== "object")
327
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
328
+ this.send(command, optionsOrCb || {}, cb);
329
+ }
330
+ else {
331
+ return this.send(command, optionsOrCb);
332
+ }
333
+ }
334
+ deleteBucketWebsite(args, optionsOrCb, cb) {
335
+ const command = new DeleteBucketWebsiteCommand(args);
336
+ if (typeof optionsOrCb === "function") {
337
+ this.send(command, optionsOrCb);
338
+ }
339
+ else if (typeof cb === "function") {
340
+ if (typeof optionsOrCb !== "object")
341
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
342
+ this.send(command, optionsOrCb || {}, cb);
343
+ }
344
+ else {
345
+ return this.send(command, optionsOrCb);
346
+ }
347
+ }
348
+ deleteObject(args, optionsOrCb, cb) {
349
+ const command = new DeleteObjectCommand(args);
350
+ if (typeof optionsOrCb === "function") {
351
+ this.send(command, optionsOrCb);
352
+ }
353
+ else if (typeof cb === "function") {
354
+ if (typeof optionsOrCb !== "object")
355
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
356
+ this.send(command, optionsOrCb || {}, cb);
357
+ }
358
+ else {
359
+ return this.send(command, optionsOrCb);
360
+ }
361
+ }
362
+ deleteObjects(args, optionsOrCb, cb) {
363
+ const command = new DeleteObjectsCommand(args);
364
+ if (typeof optionsOrCb === "function") {
365
+ this.send(command, optionsOrCb);
366
+ }
367
+ else if (typeof cb === "function") {
368
+ if (typeof optionsOrCb !== "object")
369
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
370
+ this.send(command, optionsOrCb || {}, cb);
371
+ }
372
+ else {
373
+ return this.send(command, optionsOrCb);
374
+ }
375
+ }
376
+ deleteObjectTagging(args, optionsOrCb, cb) {
377
+ const command = new DeleteObjectTaggingCommand(args);
378
+ if (typeof optionsOrCb === "function") {
379
+ this.send(command, optionsOrCb);
380
+ }
381
+ else if (typeof cb === "function") {
382
+ if (typeof optionsOrCb !== "object")
383
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
384
+ this.send(command, optionsOrCb || {}, cb);
385
+ }
386
+ else {
387
+ return this.send(command, optionsOrCb);
388
+ }
389
+ }
390
+ deletePublicAccessBlock(args, optionsOrCb, cb) {
391
+ const command = new DeletePublicAccessBlockCommand(args);
392
+ if (typeof optionsOrCb === "function") {
393
+ this.send(command, optionsOrCb);
394
+ }
395
+ else if (typeof cb === "function") {
396
+ if (typeof optionsOrCb !== "object")
397
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
398
+ this.send(command, optionsOrCb || {}, cb);
399
+ }
400
+ else {
401
+ return this.send(command, optionsOrCb);
402
+ }
403
+ }
404
+ getBucketAccelerateConfiguration(args, optionsOrCb, cb) {
405
+ const command = new GetBucketAccelerateConfigurationCommand(args);
406
+ if (typeof optionsOrCb === "function") {
407
+ this.send(command, optionsOrCb);
408
+ }
409
+ else if (typeof cb === "function") {
410
+ if (typeof optionsOrCb !== "object")
411
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
412
+ this.send(command, optionsOrCb || {}, cb);
413
+ }
414
+ else {
415
+ return this.send(command, optionsOrCb);
416
+ }
417
+ }
418
+ getBucketAcl(args, optionsOrCb, cb) {
419
+ const command = new GetBucketAclCommand(args);
420
+ if (typeof optionsOrCb === "function") {
421
+ this.send(command, optionsOrCb);
422
+ }
423
+ else if (typeof cb === "function") {
424
+ if (typeof optionsOrCb !== "object")
425
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
426
+ this.send(command, optionsOrCb || {}, cb);
427
+ }
428
+ else {
429
+ return this.send(command, optionsOrCb);
430
+ }
431
+ }
432
+ getBucketAnalyticsConfiguration(args, optionsOrCb, cb) {
433
+ const command = new GetBucketAnalyticsConfigurationCommand(args);
434
+ if (typeof optionsOrCb === "function") {
435
+ this.send(command, optionsOrCb);
436
+ }
437
+ else if (typeof cb === "function") {
438
+ if (typeof optionsOrCb !== "object")
439
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
440
+ this.send(command, optionsOrCb || {}, cb);
441
+ }
442
+ else {
443
+ return this.send(command, optionsOrCb);
444
+ }
445
+ }
446
+ getBucketCors(args, optionsOrCb, cb) {
447
+ const command = new GetBucketCorsCommand(args);
448
+ if (typeof optionsOrCb === "function") {
449
+ this.send(command, optionsOrCb);
450
+ }
451
+ else if (typeof cb === "function") {
452
+ if (typeof optionsOrCb !== "object")
453
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
454
+ this.send(command, optionsOrCb || {}, cb);
455
+ }
456
+ else {
457
+ return this.send(command, optionsOrCb);
458
+ }
459
+ }
460
+ getBucketEncryption(args, optionsOrCb, cb) {
461
+ const command = new GetBucketEncryptionCommand(args);
462
+ if (typeof optionsOrCb === "function") {
463
+ this.send(command, optionsOrCb);
464
+ }
465
+ else if (typeof cb === "function") {
466
+ if (typeof optionsOrCb !== "object")
467
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
468
+ this.send(command, optionsOrCb || {}, cb);
469
+ }
470
+ else {
471
+ return this.send(command, optionsOrCb);
472
+ }
473
+ }
474
+ getBucketIntelligentTieringConfiguration(args, optionsOrCb, cb) {
475
+ const command = new GetBucketIntelligentTieringConfigurationCommand(args);
476
+ if (typeof optionsOrCb === "function") {
477
+ this.send(command, optionsOrCb);
478
+ }
479
+ else if (typeof cb === "function") {
480
+ if (typeof optionsOrCb !== "object")
481
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
482
+ this.send(command, optionsOrCb || {}, cb);
483
+ }
484
+ else {
485
+ return this.send(command, optionsOrCb);
486
+ }
487
+ }
488
+ getBucketInventoryConfiguration(args, optionsOrCb, cb) {
489
+ const command = new GetBucketInventoryConfigurationCommand(args);
490
+ if (typeof optionsOrCb === "function") {
491
+ this.send(command, optionsOrCb);
492
+ }
493
+ else if (typeof cb === "function") {
494
+ if (typeof optionsOrCb !== "object")
495
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
496
+ this.send(command, optionsOrCb || {}, cb);
497
+ }
498
+ else {
499
+ return this.send(command, optionsOrCb);
500
+ }
501
+ }
502
+ getBucketLifecycleConfiguration(args, optionsOrCb, cb) {
503
+ const command = new GetBucketLifecycleConfigurationCommand(args);
504
+ if (typeof optionsOrCb === "function") {
505
+ this.send(command, optionsOrCb);
506
+ }
507
+ else if (typeof cb === "function") {
508
+ if (typeof optionsOrCb !== "object")
509
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
510
+ this.send(command, optionsOrCb || {}, cb);
511
+ }
512
+ else {
513
+ return this.send(command, optionsOrCb);
514
+ }
515
+ }
516
+ getBucketLocation(args, optionsOrCb, cb) {
517
+ const command = new GetBucketLocationCommand(args);
518
+ if (typeof optionsOrCb === "function") {
519
+ this.send(command, optionsOrCb);
520
+ }
521
+ else if (typeof cb === "function") {
522
+ if (typeof optionsOrCb !== "object")
523
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
524
+ this.send(command, optionsOrCb || {}, cb);
525
+ }
526
+ else {
527
+ return this.send(command, optionsOrCb);
528
+ }
529
+ }
530
+ getBucketLogging(args, optionsOrCb, cb) {
531
+ const command = new GetBucketLoggingCommand(args);
532
+ if (typeof optionsOrCb === "function") {
533
+ this.send(command, optionsOrCb);
534
+ }
535
+ else if (typeof cb === "function") {
536
+ if (typeof optionsOrCb !== "object")
537
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
538
+ this.send(command, optionsOrCb || {}, cb);
539
+ }
540
+ else {
541
+ return this.send(command, optionsOrCb);
542
+ }
543
+ }
544
+ getBucketMetricsConfiguration(args, optionsOrCb, cb) {
545
+ const command = new GetBucketMetricsConfigurationCommand(args);
546
+ if (typeof optionsOrCb === "function") {
547
+ this.send(command, optionsOrCb);
548
+ }
549
+ else if (typeof cb === "function") {
550
+ if (typeof optionsOrCb !== "object")
551
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
552
+ this.send(command, optionsOrCb || {}, cb);
553
+ }
554
+ else {
555
+ return this.send(command, optionsOrCb);
556
+ }
557
+ }
558
+ getBucketNotificationConfiguration(args, optionsOrCb, cb) {
559
+ const command = new GetBucketNotificationConfigurationCommand(args);
560
+ if (typeof optionsOrCb === "function") {
561
+ this.send(command, optionsOrCb);
562
+ }
563
+ else if (typeof cb === "function") {
564
+ if (typeof optionsOrCb !== "object")
565
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
566
+ this.send(command, optionsOrCb || {}, cb);
567
+ }
568
+ else {
569
+ return this.send(command, optionsOrCb);
570
+ }
571
+ }
572
+ getBucketOwnershipControls(args, optionsOrCb, cb) {
573
+ const command = new GetBucketOwnershipControlsCommand(args);
574
+ if (typeof optionsOrCb === "function") {
575
+ this.send(command, optionsOrCb);
576
+ }
577
+ else if (typeof cb === "function") {
578
+ if (typeof optionsOrCb !== "object")
579
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
580
+ this.send(command, optionsOrCb || {}, cb);
581
+ }
582
+ else {
583
+ return this.send(command, optionsOrCb);
584
+ }
585
+ }
586
+ getBucketPolicy(args, optionsOrCb, cb) {
587
+ const command = new GetBucketPolicyCommand(args);
588
+ if (typeof optionsOrCb === "function") {
589
+ this.send(command, optionsOrCb);
590
+ }
591
+ else if (typeof cb === "function") {
592
+ if (typeof optionsOrCb !== "object")
593
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
594
+ this.send(command, optionsOrCb || {}, cb);
595
+ }
596
+ else {
597
+ return this.send(command, optionsOrCb);
598
+ }
599
+ }
600
+ getBucketPolicyStatus(args, optionsOrCb, cb) {
601
+ const command = new GetBucketPolicyStatusCommand(args);
602
+ if (typeof optionsOrCb === "function") {
603
+ this.send(command, optionsOrCb);
604
+ }
605
+ else if (typeof cb === "function") {
606
+ if (typeof optionsOrCb !== "object")
607
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
608
+ this.send(command, optionsOrCb || {}, cb);
609
+ }
610
+ else {
611
+ return this.send(command, optionsOrCb);
612
+ }
613
+ }
614
+ getBucketReplication(args, optionsOrCb, cb) {
615
+ const command = new GetBucketReplicationCommand(args);
616
+ if (typeof optionsOrCb === "function") {
617
+ this.send(command, optionsOrCb);
618
+ }
619
+ else if (typeof cb === "function") {
620
+ if (typeof optionsOrCb !== "object")
621
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
622
+ this.send(command, optionsOrCb || {}, cb);
623
+ }
624
+ else {
625
+ return this.send(command, optionsOrCb);
626
+ }
627
+ }
628
+ getBucketRequestPayment(args, optionsOrCb, cb) {
629
+ const command = new GetBucketRequestPaymentCommand(args);
630
+ if (typeof optionsOrCb === "function") {
631
+ this.send(command, optionsOrCb);
632
+ }
633
+ else if (typeof cb === "function") {
634
+ if (typeof optionsOrCb !== "object")
635
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
636
+ this.send(command, optionsOrCb || {}, cb);
637
+ }
638
+ else {
639
+ return this.send(command, optionsOrCb);
640
+ }
641
+ }
642
+ getBucketTagging(args, optionsOrCb, cb) {
643
+ const command = new GetBucketTaggingCommand(args);
644
+ if (typeof optionsOrCb === "function") {
645
+ this.send(command, optionsOrCb);
646
+ }
647
+ else if (typeof cb === "function") {
648
+ if (typeof optionsOrCb !== "object")
649
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
650
+ this.send(command, optionsOrCb || {}, cb);
651
+ }
652
+ else {
653
+ return this.send(command, optionsOrCb);
654
+ }
655
+ }
656
+ getBucketVersioning(args, optionsOrCb, cb) {
657
+ const command = new GetBucketVersioningCommand(args);
658
+ if (typeof optionsOrCb === "function") {
659
+ this.send(command, optionsOrCb);
660
+ }
661
+ else if (typeof cb === "function") {
662
+ if (typeof optionsOrCb !== "object")
663
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
664
+ this.send(command, optionsOrCb || {}, cb);
665
+ }
666
+ else {
667
+ return this.send(command, optionsOrCb);
668
+ }
669
+ }
670
+ getBucketWebsite(args, optionsOrCb, cb) {
671
+ const command = new GetBucketWebsiteCommand(args);
672
+ if (typeof optionsOrCb === "function") {
673
+ this.send(command, optionsOrCb);
674
+ }
675
+ else if (typeof cb === "function") {
676
+ if (typeof optionsOrCb !== "object")
677
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
678
+ this.send(command, optionsOrCb || {}, cb);
679
+ }
680
+ else {
681
+ return this.send(command, optionsOrCb);
682
+ }
683
+ }
684
+ getObject(args, optionsOrCb, cb) {
685
+ const command = new GetObjectCommand(args);
686
+ if (typeof optionsOrCb === "function") {
687
+ this.send(command, optionsOrCb);
688
+ }
689
+ else if (typeof cb === "function") {
690
+ if (typeof optionsOrCb !== "object")
691
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
692
+ this.send(command, optionsOrCb || {}, cb);
693
+ }
694
+ else {
695
+ return this.send(command, optionsOrCb);
696
+ }
697
+ }
698
+ getObjectAcl(args, optionsOrCb, cb) {
699
+ const command = new GetObjectAclCommand(args);
700
+ if (typeof optionsOrCb === "function") {
701
+ this.send(command, optionsOrCb);
702
+ }
703
+ else if (typeof cb === "function") {
704
+ if (typeof optionsOrCb !== "object")
705
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
706
+ this.send(command, optionsOrCb || {}, cb);
707
+ }
708
+ else {
709
+ return this.send(command, optionsOrCb);
710
+ }
711
+ }
712
+ getObjectAttributes(args, optionsOrCb, cb) {
713
+ const command = new GetObjectAttributesCommand(args);
714
+ if (typeof optionsOrCb === "function") {
715
+ this.send(command, optionsOrCb);
716
+ }
717
+ else if (typeof cb === "function") {
718
+ if (typeof optionsOrCb !== "object")
719
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
720
+ this.send(command, optionsOrCb || {}, cb);
721
+ }
722
+ else {
723
+ return this.send(command, optionsOrCb);
724
+ }
725
+ }
726
+ getObjectLegalHold(args, optionsOrCb, cb) {
727
+ const command = new GetObjectLegalHoldCommand(args);
728
+ if (typeof optionsOrCb === "function") {
729
+ this.send(command, optionsOrCb);
730
+ }
731
+ else if (typeof cb === "function") {
732
+ if (typeof optionsOrCb !== "object")
733
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
734
+ this.send(command, optionsOrCb || {}, cb);
735
+ }
736
+ else {
737
+ return this.send(command, optionsOrCb);
738
+ }
739
+ }
740
+ getObjectLockConfiguration(args, optionsOrCb, cb) {
741
+ const command = new GetObjectLockConfigurationCommand(args);
742
+ if (typeof optionsOrCb === "function") {
743
+ this.send(command, optionsOrCb);
744
+ }
745
+ else if (typeof cb === "function") {
746
+ if (typeof optionsOrCb !== "object")
747
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
748
+ this.send(command, optionsOrCb || {}, cb);
749
+ }
750
+ else {
751
+ return this.send(command, optionsOrCb);
752
+ }
753
+ }
754
+ getObjectRetention(args, optionsOrCb, cb) {
755
+ const command = new GetObjectRetentionCommand(args);
756
+ if (typeof optionsOrCb === "function") {
757
+ this.send(command, optionsOrCb);
758
+ }
759
+ else if (typeof cb === "function") {
760
+ if (typeof optionsOrCb !== "object")
761
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
762
+ this.send(command, optionsOrCb || {}, cb);
763
+ }
764
+ else {
765
+ return this.send(command, optionsOrCb);
766
+ }
767
+ }
768
+ getObjectTagging(args, optionsOrCb, cb) {
769
+ const command = new GetObjectTaggingCommand(args);
770
+ if (typeof optionsOrCb === "function") {
771
+ this.send(command, optionsOrCb);
772
+ }
773
+ else if (typeof cb === "function") {
774
+ if (typeof optionsOrCb !== "object")
775
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
776
+ this.send(command, optionsOrCb || {}, cb);
777
+ }
778
+ else {
779
+ return this.send(command, optionsOrCb);
780
+ }
781
+ }
782
+ getObjectTorrent(args, optionsOrCb, cb) {
783
+ const command = new GetObjectTorrentCommand(args);
784
+ if (typeof optionsOrCb === "function") {
785
+ this.send(command, optionsOrCb);
786
+ }
787
+ else if (typeof cb === "function") {
788
+ if (typeof optionsOrCb !== "object")
789
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
790
+ this.send(command, optionsOrCb || {}, cb);
791
+ }
792
+ else {
793
+ return this.send(command, optionsOrCb);
794
+ }
795
+ }
796
+ getPublicAccessBlock(args, optionsOrCb, cb) {
797
+ const command = new GetPublicAccessBlockCommand(args);
798
+ if (typeof optionsOrCb === "function") {
799
+ this.send(command, optionsOrCb);
800
+ }
801
+ else if (typeof cb === "function") {
802
+ if (typeof optionsOrCb !== "object")
803
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
804
+ this.send(command, optionsOrCb || {}, cb);
805
+ }
806
+ else {
807
+ return this.send(command, optionsOrCb);
808
+ }
809
+ }
810
+ headBucket(args, optionsOrCb, cb) {
811
+ const command = new HeadBucketCommand(args);
812
+ if (typeof optionsOrCb === "function") {
813
+ this.send(command, optionsOrCb);
814
+ }
815
+ else if (typeof cb === "function") {
816
+ if (typeof optionsOrCb !== "object")
817
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
818
+ this.send(command, optionsOrCb || {}, cb);
819
+ }
820
+ else {
821
+ return this.send(command, optionsOrCb);
822
+ }
823
+ }
824
+ headObject(args, optionsOrCb, cb) {
825
+ const command = new HeadObjectCommand(args);
826
+ if (typeof optionsOrCb === "function") {
827
+ this.send(command, optionsOrCb);
828
+ }
829
+ else if (typeof cb === "function") {
830
+ if (typeof optionsOrCb !== "object")
831
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
832
+ this.send(command, optionsOrCb || {}, cb);
833
+ }
834
+ else {
835
+ return this.send(command, optionsOrCb);
836
+ }
837
+ }
838
+ listBucketAnalyticsConfigurations(args, optionsOrCb, cb) {
839
+ const command = new ListBucketAnalyticsConfigurationsCommand(args);
840
+ if (typeof optionsOrCb === "function") {
841
+ this.send(command, optionsOrCb);
842
+ }
843
+ else if (typeof cb === "function") {
844
+ if (typeof optionsOrCb !== "object")
845
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
846
+ this.send(command, optionsOrCb || {}, cb);
847
+ }
848
+ else {
849
+ return this.send(command, optionsOrCb);
850
+ }
851
+ }
852
+ listBucketIntelligentTieringConfigurations(args, optionsOrCb, cb) {
853
+ const command = new ListBucketIntelligentTieringConfigurationsCommand(args);
854
+ if (typeof optionsOrCb === "function") {
855
+ this.send(command, optionsOrCb);
856
+ }
857
+ else if (typeof cb === "function") {
858
+ if (typeof optionsOrCb !== "object")
859
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
860
+ this.send(command, optionsOrCb || {}, cb);
861
+ }
862
+ else {
863
+ return this.send(command, optionsOrCb);
864
+ }
865
+ }
866
+ listBucketInventoryConfigurations(args, optionsOrCb, cb) {
867
+ const command = new ListBucketInventoryConfigurationsCommand(args);
868
+ if (typeof optionsOrCb === "function") {
869
+ this.send(command, optionsOrCb);
870
+ }
871
+ else if (typeof cb === "function") {
872
+ if (typeof optionsOrCb !== "object")
873
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
874
+ this.send(command, optionsOrCb || {}, cb);
875
+ }
876
+ else {
877
+ return this.send(command, optionsOrCb);
878
+ }
879
+ }
880
+ listBucketMetricsConfigurations(args, optionsOrCb, cb) {
881
+ const command = new ListBucketMetricsConfigurationsCommand(args);
882
+ if (typeof optionsOrCb === "function") {
883
+ this.send(command, optionsOrCb);
884
+ }
885
+ else if (typeof cb === "function") {
886
+ if (typeof optionsOrCb !== "object")
887
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
888
+ this.send(command, optionsOrCb || {}, cb);
889
+ }
890
+ else {
891
+ return this.send(command, optionsOrCb);
892
+ }
893
+ }
894
+ listBuckets(args, optionsOrCb, cb) {
895
+ const command = new ListBucketsCommand(args);
896
+ if (typeof optionsOrCb === "function") {
897
+ this.send(command, optionsOrCb);
898
+ }
899
+ else if (typeof cb === "function") {
900
+ if (typeof optionsOrCb !== "object")
901
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
902
+ this.send(command, optionsOrCb || {}, cb);
903
+ }
904
+ else {
905
+ return this.send(command, optionsOrCb);
906
+ }
907
+ }
908
+ listMultipartUploads(args, optionsOrCb, cb) {
909
+ const command = new ListMultipartUploadsCommand(args);
910
+ if (typeof optionsOrCb === "function") {
911
+ this.send(command, optionsOrCb);
912
+ }
913
+ else if (typeof cb === "function") {
914
+ if (typeof optionsOrCb !== "object")
915
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
916
+ this.send(command, optionsOrCb || {}, cb);
917
+ }
918
+ else {
919
+ return this.send(command, optionsOrCb);
920
+ }
921
+ }
922
+ listObjects(args, optionsOrCb, cb) {
923
+ const command = new ListObjectsCommand(args);
924
+ if (typeof optionsOrCb === "function") {
925
+ this.send(command, optionsOrCb);
926
+ }
927
+ else if (typeof cb === "function") {
928
+ if (typeof optionsOrCb !== "object")
929
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
930
+ this.send(command, optionsOrCb || {}, cb);
931
+ }
932
+ else {
933
+ return this.send(command, optionsOrCb);
934
+ }
935
+ }
936
+ listObjectsV2(args, optionsOrCb, cb) {
937
+ const command = new ListObjectsV2Command(args);
938
+ if (typeof optionsOrCb === "function") {
939
+ this.send(command, optionsOrCb);
940
+ }
941
+ else if (typeof cb === "function") {
942
+ if (typeof optionsOrCb !== "object")
943
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
944
+ this.send(command, optionsOrCb || {}, cb);
945
+ }
946
+ else {
947
+ return this.send(command, optionsOrCb);
948
+ }
949
+ }
950
+ listObjectVersions(args, optionsOrCb, cb) {
951
+ const command = new ListObjectVersionsCommand(args);
952
+ if (typeof optionsOrCb === "function") {
953
+ this.send(command, optionsOrCb);
954
+ }
955
+ else if (typeof cb === "function") {
956
+ if (typeof optionsOrCb !== "object")
957
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
958
+ this.send(command, optionsOrCb || {}, cb);
959
+ }
960
+ else {
961
+ return this.send(command, optionsOrCb);
962
+ }
963
+ }
964
+ listParts(args, optionsOrCb, cb) {
965
+ const command = new ListPartsCommand(args);
966
+ if (typeof optionsOrCb === "function") {
967
+ this.send(command, optionsOrCb);
968
+ }
969
+ else if (typeof cb === "function") {
970
+ if (typeof optionsOrCb !== "object")
971
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
972
+ this.send(command, optionsOrCb || {}, cb);
973
+ }
974
+ else {
975
+ return this.send(command, optionsOrCb);
976
+ }
977
+ }
978
+ putBucketAccelerateConfiguration(args, optionsOrCb, cb) {
979
+ const command = new PutBucketAccelerateConfigurationCommand(args);
980
+ if (typeof optionsOrCb === "function") {
981
+ this.send(command, optionsOrCb);
982
+ }
983
+ else if (typeof cb === "function") {
984
+ if (typeof optionsOrCb !== "object")
985
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
986
+ this.send(command, optionsOrCb || {}, cb);
987
+ }
988
+ else {
989
+ return this.send(command, optionsOrCb);
990
+ }
991
+ }
992
+ putBucketAcl(args, optionsOrCb, cb) {
993
+ const command = new PutBucketAclCommand(args);
994
+ if (typeof optionsOrCb === "function") {
995
+ this.send(command, optionsOrCb);
996
+ }
997
+ else if (typeof cb === "function") {
998
+ if (typeof optionsOrCb !== "object")
999
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1000
+ this.send(command, optionsOrCb || {}, cb);
1001
+ }
1002
+ else {
1003
+ return this.send(command, optionsOrCb);
1004
+ }
1005
+ }
1006
+ putBucketAnalyticsConfiguration(args, optionsOrCb, cb) {
1007
+ const command = new PutBucketAnalyticsConfigurationCommand(args);
1008
+ if (typeof optionsOrCb === "function") {
1009
+ this.send(command, optionsOrCb);
1010
+ }
1011
+ else if (typeof cb === "function") {
1012
+ if (typeof optionsOrCb !== "object")
1013
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1014
+ this.send(command, optionsOrCb || {}, cb);
1015
+ }
1016
+ else {
1017
+ return this.send(command, optionsOrCb);
1018
+ }
1019
+ }
1020
+ putBucketCors(args, optionsOrCb, cb) {
1021
+ const command = new PutBucketCorsCommand(args);
1022
+ if (typeof optionsOrCb === "function") {
1023
+ this.send(command, optionsOrCb);
1024
+ }
1025
+ else if (typeof cb === "function") {
1026
+ if (typeof optionsOrCb !== "object")
1027
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1028
+ this.send(command, optionsOrCb || {}, cb);
1029
+ }
1030
+ else {
1031
+ return this.send(command, optionsOrCb);
1032
+ }
1033
+ }
1034
+ putBucketEncryption(args, optionsOrCb, cb) {
1035
+ const command = new PutBucketEncryptionCommand(args);
1036
+ if (typeof optionsOrCb === "function") {
1037
+ this.send(command, optionsOrCb);
1038
+ }
1039
+ else if (typeof cb === "function") {
1040
+ if (typeof optionsOrCb !== "object")
1041
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1042
+ this.send(command, optionsOrCb || {}, cb);
1043
+ }
1044
+ else {
1045
+ return this.send(command, optionsOrCb);
1046
+ }
1047
+ }
1048
+ putBucketIntelligentTieringConfiguration(args, optionsOrCb, cb) {
1049
+ const command = new PutBucketIntelligentTieringConfigurationCommand(args);
1050
+ if (typeof optionsOrCb === "function") {
1051
+ this.send(command, optionsOrCb);
1052
+ }
1053
+ else if (typeof cb === "function") {
1054
+ if (typeof optionsOrCb !== "object")
1055
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1056
+ this.send(command, optionsOrCb || {}, cb);
1057
+ }
1058
+ else {
1059
+ return this.send(command, optionsOrCb);
1060
+ }
1061
+ }
1062
+ putBucketInventoryConfiguration(args, optionsOrCb, cb) {
1063
+ const command = new PutBucketInventoryConfigurationCommand(args);
1064
+ if (typeof optionsOrCb === "function") {
1065
+ this.send(command, optionsOrCb);
1066
+ }
1067
+ else if (typeof cb === "function") {
1068
+ if (typeof optionsOrCb !== "object")
1069
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1070
+ this.send(command, optionsOrCb || {}, cb);
1071
+ }
1072
+ else {
1073
+ return this.send(command, optionsOrCb);
1074
+ }
1075
+ }
1076
+ putBucketLifecycleConfiguration(args, optionsOrCb, cb) {
1077
+ const command = new PutBucketLifecycleConfigurationCommand(args);
1078
+ if (typeof optionsOrCb === "function") {
1079
+ this.send(command, optionsOrCb);
1080
+ }
1081
+ else if (typeof cb === "function") {
1082
+ if (typeof optionsOrCb !== "object")
1083
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1084
+ this.send(command, optionsOrCb || {}, cb);
1085
+ }
1086
+ else {
1087
+ return this.send(command, optionsOrCb);
1088
+ }
1089
+ }
1090
+ putBucketLogging(args, optionsOrCb, cb) {
1091
+ const command = new PutBucketLoggingCommand(args);
1092
+ if (typeof optionsOrCb === "function") {
1093
+ this.send(command, optionsOrCb);
1094
+ }
1095
+ else if (typeof cb === "function") {
1096
+ if (typeof optionsOrCb !== "object")
1097
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1098
+ this.send(command, optionsOrCb || {}, cb);
1099
+ }
1100
+ else {
1101
+ return this.send(command, optionsOrCb);
1102
+ }
1103
+ }
1104
+ putBucketMetricsConfiguration(args, optionsOrCb, cb) {
1105
+ const command = new PutBucketMetricsConfigurationCommand(args);
1106
+ if (typeof optionsOrCb === "function") {
1107
+ this.send(command, optionsOrCb);
1108
+ }
1109
+ else if (typeof cb === "function") {
1110
+ if (typeof optionsOrCb !== "object")
1111
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1112
+ this.send(command, optionsOrCb || {}, cb);
1113
+ }
1114
+ else {
1115
+ return this.send(command, optionsOrCb);
1116
+ }
1117
+ }
1118
+ putBucketNotificationConfiguration(args, optionsOrCb, cb) {
1119
+ const command = new PutBucketNotificationConfigurationCommand(args);
1120
+ if (typeof optionsOrCb === "function") {
1121
+ this.send(command, optionsOrCb);
1122
+ }
1123
+ else if (typeof cb === "function") {
1124
+ if (typeof optionsOrCb !== "object")
1125
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1126
+ this.send(command, optionsOrCb || {}, cb);
1127
+ }
1128
+ else {
1129
+ return this.send(command, optionsOrCb);
1130
+ }
1131
+ }
1132
+ putBucketOwnershipControls(args, optionsOrCb, cb) {
1133
+ const command = new PutBucketOwnershipControlsCommand(args);
1134
+ if (typeof optionsOrCb === "function") {
1135
+ this.send(command, optionsOrCb);
1136
+ }
1137
+ else if (typeof cb === "function") {
1138
+ if (typeof optionsOrCb !== "object")
1139
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1140
+ this.send(command, optionsOrCb || {}, cb);
1141
+ }
1142
+ else {
1143
+ return this.send(command, optionsOrCb);
1144
+ }
1145
+ }
1146
+ putBucketPolicy(args, optionsOrCb, cb) {
1147
+ const command = new PutBucketPolicyCommand(args);
1148
+ if (typeof optionsOrCb === "function") {
1149
+ this.send(command, optionsOrCb);
1150
+ }
1151
+ else if (typeof cb === "function") {
1152
+ if (typeof optionsOrCb !== "object")
1153
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1154
+ this.send(command, optionsOrCb || {}, cb);
1155
+ }
1156
+ else {
1157
+ return this.send(command, optionsOrCb);
1158
+ }
1159
+ }
1160
+ putBucketReplication(args, optionsOrCb, cb) {
1161
+ const command = new PutBucketReplicationCommand(args);
1162
+ if (typeof optionsOrCb === "function") {
1163
+ this.send(command, optionsOrCb);
1164
+ }
1165
+ else if (typeof cb === "function") {
1166
+ if (typeof optionsOrCb !== "object")
1167
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1168
+ this.send(command, optionsOrCb || {}, cb);
1169
+ }
1170
+ else {
1171
+ return this.send(command, optionsOrCb);
1172
+ }
1173
+ }
1174
+ putBucketRequestPayment(args, optionsOrCb, cb) {
1175
+ const command = new PutBucketRequestPaymentCommand(args);
1176
+ if (typeof optionsOrCb === "function") {
1177
+ this.send(command, optionsOrCb);
1178
+ }
1179
+ else if (typeof cb === "function") {
1180
+ if (typeof optionsOrCb !== "object")
1181
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1182
+ this.send(command, optionsOrCb || {}, cb);
1183
+ }
1184
+ else {
1185
+ return this.send(command, optionsOrCb);
1186
+ }
1187
+ }
1188
+ putBucketTagging(args, optionsOrCb, cb) {
1189
+ const command = new PutBucketTaggingCommand(args);
1190
+ if (typeof optionsOrCb === "function") {
1191
+ this.send(command, optionsOrCb);
1192
+ }
1193
+ else if (typeof cb === "function") {
1194
+ if (typeof optionsOrCb !== "object")
1195
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1196
+ this.send(command, optionsOrCb || {}, cb);
1197
+ }
1198
+ else {
1199
+ return this.send(command, optionsOrCb);
1200
+ }
1201
+ }
1202
+ putBucketVersioning(args, optionsOrCb, cb) {
1203
+ const command = new PutBucketVersioningCommand(args);
1204
+ if (typeof optionsOrCb === "function") {
1205
+ this.send(command, optionsOrCb);
1206
+ }
1207
+ else if (typeof cb === "function") {
1208
+ if (typeof optionsOrCb !== "object")
1209
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1210
+ this.send(command, optionsOrCb || {}, cb);
1211
+ }
1212
+ else {
1213
+ return this.send(command, optionsOrCb);
1214
+ }
1215
+ }
1216
+ putBucketWebsite(args, optionsOrCb, cb) {
1217
+ const command = new PutBucketWebsiteCommand(args);
1218
+ if (typeof optionsOrCb === "function") {
1219
+ this.send(command, optionsOrCb);
1220
+ }
1221
+ else if (typeof cb === "function") {
1222
+ if (typeof optionsOrCb !== "object")
1223
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1224
+ this.send(command, optionsOrCb || {}, cb);
1225
+ }
1226
+ else {
1227
+ return this.send(command, optionsOrCb);
1228
+ }
1229
+ }
1230
+ putObject(args, optionsOrCb, cb) {
1231
+ const command = new PutObjectCommand(args);
1232
+ if (typeof optionsOrCb === "function") {
1233
+ this.send(command, optionsOrCb);
1234
+ }
1235
+ else if (typeof cb === "function") {
1236
+ if (typeof optionsOrCb !== "object")
1237
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1238
+ this.send(command, optionsOrCb || {}, cb);
1239
+ }
1240
+ else {
1241
+ return this.send(command, optionsOrCb);
1242
+ }
1243
+ }
1244
+ putObjectAcl(args, optionsOrCb, cb) {
1245
+ const command = new PutObjectAclCommand(args);
1246
+ if (typeof optionsOrCb === "function") {
1247
+ this.send(command, optionsOrCb);
1248
+ }
1249
+ else if (typeof cb === "function") {
1250
+ if (typeof optionsOrCb !== "object")
1251
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1252
+ this.send(command, optionsOrCb || {}, cb);
1253
+ }
1254
+ else {
1255
+ return this.send(command, optionsOrCb);
1256
+ }
1257
+ }
1258
+ putObjectLegalHold(args, optionsOrCb, cb) {
1259
+ const command = new PutObjectLegalHoldCommand(args);
1260
+ if (typeof optionsOrCb === "function") {
1261
+ this.send(command, optionsOrCb);
1262
+ }
1263
+ else if (typeof cb === "function") {
1264
+ if (typeof optionsOrCb !== "object")
1265
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1266
+ this.send(command, optionsOrCb || {}, cb);
1267
+ }
1268
+ else {
1269
+ return this.send(command, optionsOrCb);
1270
+ }
1271
+ }
1272
+ putObjectLockConfiguration(args, optionsOrCb, cb) {
1273
+ const command = new PutObjectLockConfigurationCommand(args);
1274
+ if (typeof optionsOrCb === "function") {
1275
+ this.send(command, optionsOrCb);
1276
+ }
1277
+ else if (typeof cb === "function") {
1278
+ if (typeof optionsOrCb !== "object")
1279
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1280
+ this.send(command, optionsOrCb || {}, cb);
1281
+ }
1282
+ else {
1283
+ return this.send(command, optionsOrCb);
1284
+ }
1285
+ }
1286
+ putObjectRetention(args, optionsOrCb, cb) {
1287
+ const command = new PutObjectRetentionCommand(args);
1288
+ if (typeof optionsOrCb === "function") {
1289
+ this.send(command, optionsOrCb);
1290
+ }
1291
+ else if (typeof cb === "function") {
1292
+ if (typeof optionsOrCb !== "object")
1293
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1294
+ this.send(command, optionsOrCb || {}, cb);
1295
+ }
1296
+ else {
1297
+ return this.send(command, optionsOrCb);
1298
+ }
1299
+ }
1300
+ putObjectTagging(args, optionsOrCb, cb) {
1301
+ const command = new PutObjectTaggingCommand(args);
1302
+ if (typeof optionsOrCb === "function") {
1303
+ this.send(command, optionsOrCb);
1304
+ }
1305
+ else if (typeof cb === "function") {
1306
+ if (typeof optionsOrCb !== "object")
1307
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1308
+ this.send(command, optionsOrCb || {}, cb);
1309
+ }
1310
+ else {
1311
+ return this.send(command, optionsOrCb);
1312
+ }
1313
+ }
1314
+ putPublicAccessBlock(args, optionsOrCb, cb) {
1315
+ const command = new PutPublicAccessBlockCommand(args);
1316
+ if (typeof optionsOrCb === "function") {
1317
+ this.send(command, optionsOrCb);
1318
+ }
1319
+ else if (typeof cb === "function") {
1320
+ if (typeof optionsOrCb !== "object")
1321
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1322
+ this.send(command, optionsOrCb || {}, cb);
1323
+ }
1324
+ else {
1325
+ return this.send(command, optionsOrCb);
1326
+ }
1327
+ }
1328
+ restoreObject(args, optionsOrCb, cb) {
1329
+ const command = new RestoreObjectCommand(args);
1330
+ if (typeof optionsOrCb === "function") {
1331
+ this.send(command, optionsOrCb);
1332
+ }
1333
+ else if (typeof cb === "function") {
1334
+ if (typeof optionsOrCb !== "object")
1335
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1336
+ this.send(command, optionsOrCb || {}, cb);
1337
+ }
1338
+ else {
1339
+ return this.send(command, optionsOrCb);
1340
+ }
1341
+ }
1342
+ selectObjectContent(args, optionsOrCb, cb) {
1343
+ const command = new SelectObjectContentCommand(args);
1344
+ if (typeof optionsOrCb === "function") {
1345
+ this.send(command, optionsOrCb);
1346
+ }
1347
+ else if (typeof cb === "function") {
1348
+ if (typeof optionsOrCb !== "object")
1349
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1350
+ this.send(command, optionsOrCb || {}, cb);
1351
+ }
1352
+ else {
1353
+ return this.send(command, optionsOrCb);
1354
+ }
1355
+ }
1356
+ uploadPart(args, optionsOrCb, cb) {
1357
+ const command = new UploadPartCommand(args);
1358
+ if (typeof optionsOrCb === "function") {
1359
+ this.send(command, optionsOrCb);
1360
+ }
1361
+ else if (typeof cb === "function") {
1362
+ if (typeof optionsOrCb !== "object")
1363
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1364
+ this.send(command, optionsOrCb || {}, cb);
1365
+ }
1366
+ else {
1367
+ return this.send(command, optionsOrCb);
1368
+ }
1369
+ }
1370
+ uploadPartCopy(args, optionsOrCb, cb) {
1371
+ const command = new UploadPartCopyCommand(args);
1372
+ if (typeof optionsOrCb === "function") {
1373
+ this.send(command, optionsOrCb);
1374
+ }
1375
+ else if (typeof cb === "function") {
1376
+ if (typeof optionsOrCb !== "object")
1377
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1378
+ this.send(command, optionsOrCb || {}, cb);
1379
+ }
1380
+ else {
1381
+ return this.send(command, optionsOrCb);
1382
+ }
1383
+ }
1384
+ writeGetObjectResponse(args, optionsOrCb, cb) {
1385
+ const command = new WriteGetObjectResponseCommand(args);
1386
+ if (typeof optionsOrCb === "function") {
1387
+ this.send(command, optionsOrCb);
1388
+ }
1389
+ else if (typeof cb === "function") {
1390
+ if (typeof optionsOrCb !== "object")
1391
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1392
+ this.send(command, optionsOrCb || {}, cb);
1393
+ }
1394
+ else {
1395
+ return this.send(command, optionsOrCb);
1396
+ }
1397
+ }
196
1398
  }
197
- createAggregatedClient(commands, S3);