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