@nocobase/plugin-file-manager 1.5.11 → 1.5.13

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (489) hide show
  1. package/dist/externalVersion.js +6 -6
  2. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/auth/httpAuthSchemeProvider.js +127 -0
  3. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/endpoint/endpointResolver.js +24 -3
  4. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/endpoint/ruleset.js +3 -3
  5. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/index.js +34520 -31
  6. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/runtimeConfig.browser.js +2 -2
  7. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/runtimeConfig.js +20 -11
  8. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/runtimeConfig.shared.js +15 -0
  9. package/dist/node_modules/@aws-sdk/client-s3/dist-es/S3.js +6 -0
  10. package/dist/node_modules/@aws-sdk/client-s3/dist-es/S3Client.js +26 -14
  11. package/dist/node_modules/@aws-sdk/client-s3/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
  12. package/dist/node_modules/@aws-sdk/client-s3/dist-es/auth/httpAuthSchemeProvider.js +123 -0
  13. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/AbortMultipartUploadCommand.js +22 -49
  14. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/CompleteMultipartUploadCommand.js +22 -51
  15. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/CopyObjectCommand.js +24 -50
  16. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/CreateBucketCommand.js +24 -51
  17. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/CreateBucketMetadataTableConfigurationCommand.js +31 -0
  18. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/CreateMultipartUploadCommand.js +23 -50
  19. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/CreateSessionCommand.js +23 -49
  20. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketAnalyticsConfigurationCommand.js +20 -49
  21. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketCommand.js +20 -49
  22. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketCorsCommand.js +20 -49
  23. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketEncryptionCommand.js +20 -49
  24. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketIntelligentTieringConfigurationCommand.js +20 -49
  25. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketInventoryConfigurationCommand.js +20 -49
  26. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketLifecycleCommand.js +20 -49
  27. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketMetadataTableConfigurationCommand.js +26 -0
  28. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketMetricsConfigurationCommand.js +20 -49
  29. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketOwnershipControlsCommand.js +20 -49
  30. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketPolicyCommand.js +20 -49
  31. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketReplicationCommand.js +20 -49
  32. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketTaggingCommand.js +20 -49
  33. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketWebsiteCommand.js +20 -49
  34. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteObjectCommand.js +22 -49
  35. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteObjectTaggingCommand.js +21 -48
  36. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteObjectsCommand.js +24 -52
  37. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeletePublicAccessBlockCommand.js +20 -49
  38. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketAccelerateConfigurationCommand.js +22 -49
  39. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketAclCommand.js +22 -49
  40. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketAnalyticsConfigurationCommand.js +22 -49
  41. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketCorsCommand.js +22 -49
  42. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketEncryptionCommand.js +22 -49
  43. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketIntelligentTieringConfigurationCommand.js +22 -49
  44. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketInventoryConfigurationCommand.js +22 -49
  45. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketLifecycleConfigurationCommand.js +22 -49
  46. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketLocationCommand.js +22 -49
  47. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketLoggingCommand.js +22 -49
  48. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketMetadataTableConfigurationCommand.js +28 -0
  49. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketMetricsConfigurationCommand.js +22 -49
  50. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketNotificationConfigurationCommand.js +22 -49
  51. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketOwnershipControlsCommand.js +22 -49
  52. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketPolicyCommand.js +22 -49
  53. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketPolicyStatusCommand.js +22 -49
  54. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketReplicationCommand.js +22 -49
  55. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketRequestPaymentCommand.js +22 -49
  56. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketTaggingCommand.js +22 -49
  57. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketVersioningCommand.js +22 -49
  58. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketWebsiteCommand.js +22 -49
  59. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetObjectAclCommand.js +22 -49
  60. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetObjectAttributesCommand.js +22 -49
  61. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetObjectCommand.js +26 -54
  62. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetObjectLegalHoldCommand.js +21 -48
  63. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetObjectLockConfigurationCommand.js +21 -48
  64. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetObjectRetentionCommand.js +21 -48
  65. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetObjectTaggingCommand.js +21 -48
  66. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetObjectTorrentCommand.js +19 -48
  67. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetPublicAccessBlockCommand.js +22 -49
  68. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/HeadBucketCommand.js +21 -48
  69. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/HeadObjectCommand.js +24 -50
  70. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/ListBucketAnalyticsConfigurationsCommand.js +22 -49
  71. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/ListBucketIntelligentTieringConfigurationsCommand.js +22 -49
  72. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/ListBucketInventoryConfigurationsCommand.js +22 -49
  73. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/ListBucketMetricsConfigurationsCommand.js +21 -48
  74. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/ListBucketsCommand.js +18 -47
  75. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/ListDirectoryBucketsCommand.js +21 -48
  76. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/ListMultipartUploadsCommand.js +22 -49
  77. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/ListObjectVersionsCommand.js +22 -49
  78. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/ListObjectsCommand.js +22 -49
  79. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/ListObjectsV2Command.js +22 -49
  80. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/ListPartsCommand.js +23 -50
  81. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketAccelerateConfigurationCommand.js +23 -53
  82. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketAclCommand.js +23 -53
  83. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketAnalyticsConfigurationCommand.js +20 -49
  84. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketCorsCommand.js +23 -53
  85. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketEncryptionCommand.js +24 -54
  86. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketIntelligentTieringConfigurationCommand.js +20 -49
  87. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketInventoryConfigurationCommand.js +21 -50
  88. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketLifecycleConfigurationCommand.js +25 -53
  89. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketLoggingCommand.js +23 -53
  90. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketMetricsConfigurationCommand.js +20 -49
  91. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketNotificationConfigurationCommand.js +20 -49
  92. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketOwnershipControlsCommand.js +23 -50
  93. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketPolicyCommand.js +23 -53
  94. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketReplicationCommand.js +23 -53
  95. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketRequestPaymentCommand.js +23 -53
  96. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketTaggingCommand.js +23 -53
  97. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketVersioningCommand.js +23 -53
  98. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketWebsiteCommand.js +23 -53
  99. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutObjectAclCommand.js +25 -53
  100. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutObjectCommand.js +27 -56
  101. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutObjectLegalHoldCommand.js +24 -52
  102. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutObjectLockConfigurationCommand.js +24 -52
  103. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutObjectRetentionCommand.js +24 -52
  104. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutObjectTaggingCommand.js +24 -52
  105. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutPublicAccessBlockCommand.js +23 -53
  106. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/RestoreObjectCommand.js +24 -52
  107. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/SelectObjectContentCommand.js +26 -52
  108. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/UploadPartCommand.js +26 -54
  109. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/UploadPartCopyCommand.js +22 -50
  110. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/WriteGetObjectResponseCommand.js +19 -48
  111. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/index.js +3 -0
  112. package/dist/node_modules/@aws-sdk/client-s3/dist-es/endpoint/EndpointParameters.js +12 -0
  113. package/dist/node_modules/@aws-sdk/client-s3/dist-es/endpoint/endpointResolver.js +24 -3
  114. package/dist/node_modules/@aws-sdk/client-s3/dist-es/endpoint/ruleset.js +3 -3
  115. package/dist/node_modules/@aws-sdk/client-s3/dist-es/index.js +0 -1
  116. package/dist/node_modules/@aws-sdk/client-s3/dist-es/models/models_0.js +41 -56
  117. package/dist/node_modules/@aws-sdk/client-s3/dist-es/models/models_1.js +63 -2
  118. package/dist/node_modules/@aws-sdk/client-s3/dist-es/pagination/ListBucketsPaginator.js +4 -0
  119. package/dist/node_modules/@aws-sdk/client-s3/dist-es/pagination/ListDirectoryBucketsPaginator.js +2 -23
  120. package/dist/node_modules/@aws-sdk/client-s3/dist-es/pagination/ListObjectsV2Paginator.js +2 -23
  121. package/dist/node_modules/@aws-sdk/client-s3/dist-es/pagination/ListPartsPaginator.js +2 -23
  122. package/dist/node_modules/@aws-sdk/client-s3/dist-es/pagination/index.js +1 -0
  123. package/dist/node_modules/@aws-sdk/client-s3/dist-es/protocols/Aws_restXml.js +4054 -5980
  124. package/dist/node_modules/@aws-sdk/client-s3/dist-es/runtimeConfig.browser.js +3 -3
  125. package/dist/node_modules/@aws-sdk/client-s3/dist-es/runtimeConfig.js +22 -13
  126. package/dist/node_modules/@aws-sdk/client-s3/dist-es/runtimeConfig.shared.js +15 -0
  127. package/dist/node_modules/@aws-sdk/client-s3/dist-es/runtimeExtensions.js +3 -0
  128. package/dist/node_modules/@aws-sdk/client-s3/dist-types/S3.d.ts +24 -1
  129. package/dist/node_modules/@aws-sdk/client-s3/dist-types/S3Client.d.ts +46 -23
  130. package/dist/node_modules/@aws-sdk/client-s3/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
  131. package/dist/node_modules/@aws-sdk/client-s3/dist-types/auth/httpAuthSchemeProvider.d.ts +69 -0
  132. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/AbortMultipartUploadCommand.d.ts +48 -32
  133. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/CompleteMultipartUploadCommand.d.ts +85 -64
  134. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/CopyObjectCommand.d.ts +130 -84
  135. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/CreateBucketCommand.d.ts +113 -90
  136. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/CreateBucketMetadataTableConfigurationCommand.d.ts +134 -0
  137. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/CreateMultipartUploadCommand.d.ts +152 -102
  138. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/CreateSessionCommand.d.ts +92 -41
  139. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketAnalyticsConfigurationCommand.d.ts +22 -24
  140. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketCommand.d.ts +35 -29
  141. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketCorsCommand.d.ts +22 -24
  142. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketEncryptionCommand.d.ts +68 -35
  143. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketIntelligentTieringConfigurationCommand.d.ts +22 -24
  144. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketInventoryConfigurationCommand.d.ts +22 -24
  145. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketLifecycleCommand.d.ts +74 -32
  146. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketMetadataTableConfigurationCommand.d.ts +95 -0
  147. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketMetricsConfigurationCommand.d.ts +22 -24
  148. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketOwnershipControlsCommand.d.ts +22 -24
  149. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketPolicyCommand.d.ts +50 -47
  150. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketReplicationCommand.d.ts +22 -24
  151. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketTaggingCommand.d.ts +22 -24
  152. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketWebsiteCommand.d.ts +22 -24
  153. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteObjectCommand.d.ts +34 -31
  154. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteObjectTaggingCommand.d.ts +33 -35
  155. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteObjectsCommand.d.ts +62 -50
  156. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeletePublicAccessBlockCommand.d.ts +22 -24
  157. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketAccelerateConfigurationCommand.d.ts +22 -24
  158. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketAclCommand.d.ts +22 -24
  159. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketAnalyticsConfigurationCommand.d.ts +22 -24
  160. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketCorsCommand.d.ts +22 -24
  161. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketEncryptionCommand.d.ts +69 -34
  162. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketIntelligentTieringConfigurationCommand.d.ts +22 -24
  163. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketInventoryConfigurationCommand.d.ts +22 -24
  164. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketLifecycleConfigurationCommand.d.ts +85 -41
  165. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketLocationCommand.d.ts +23 -25
  166. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketLoggingCommand.d.ts +22 -24
  167. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketMetadataTableConfigurationCommand.d.ts +111 -0
  168. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketMetricsConfigurationCommand.d.ts +22 -24
  169. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketNotificationConfigurationCommand.d.ts +22 -24
  170. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketOwnershipControlsCommand.d.ts +22 -24
  171. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketPolicyCommand.d.ts +55 -47
  172. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketPolicyStatusCommand.d.ts +22 -24
  173. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketReplicationCommand.d.ts +23 -25
  174. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketRequestPaymentCommand.d.ts +22 -24
  175. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketTaggingCommand.d.ts +22 -24
  176. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketVersioningCommand.d.ts +22 -24
  177. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketWebsiteCommand.d.ts +22 -24
  178. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectAclCommand.d.ts +22 -24
  179. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectAttributesCommand.d.ts +92 -66
  180. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectCommand.d.ts +111 -84
  181. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectLegalHoldCommand.d.ts +22 -24
  182. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectLockConfigurationCommand.d.ts +22 -24
  183. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectRetentionCommand.d.ts +22 -24
  184. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectTaggingCommand.d.ts +41 -43
  185. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectTorrentCommand.d.ts +23 -25
  186. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetPublicAccessBlockCommand.d.ts +22 -24
  187. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/HeadBucketCommand.d.ts +62 -45
  188. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/HeadObjectCommand.d.ts +101 -65
  189. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/ListBucketAnalyticsConfigurationsCommand.d.ts +22 -24
  190. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/ListBucketIntelligentTieringConfigurationsCommand.d.ts +22 -24
  191. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/ListBucketInventoryConfigurationsCommand.d.ts +22 -24
  192. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/ListBucketMetricsConfigurationsCommand.d.ts +22 -24
  193. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/ListBucketsCommand.d.ts +43 -30
  194. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/ListDirectoryBucketsCommand.d.ts +37 -28
  195. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/ListMultipartUploadsCommand.d.ts +108 -89
  196. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/ListObjectVersionsCommand.d.ts +25 -26
  197. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/ListObjectsCommand.d.ts +24 -25
  198. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/ListObjectsV2Command.d.ts +60 -37
  199. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/ListPartsCommand.d.ts +49 -43
  200. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketAccelerateConfigurationCommand.d.ts +23 -25
  201. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketAclCommand.d.ts +23 -25
  202. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketAnalyticsConfigurationCommand.d.ts +22 -24
  203. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketCorsCommand.d.ts +24 -26
  204. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketEncryptionCommand.d.ts +133 -42
  205. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketIntelligentTieringConfigurationCommand.d.ts +23 -25
  206. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketInventoryConfigurationCommand.d.ts +23 -25
  207. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketLifecycleConfigurationCommand.d.ts +116 -78
  208. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketLoggingCommand.d.ts +24 -26
  209. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketMetricsConfigurationCommand.d.ts +23 -25
  210. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketNotificationConfigurationCommand.d.ts +23 -25
  211. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketOwnershipControlsCommand.d.ts +23 -25
  212. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketPolicyCommand.d.ts +57 -49
  213. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketReplicationCommand.d.ts +26 -29
  214. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketRequestPaymentCommand.d.ts +23 -25
  215. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketTaggingCommand.d.ts +23 -25
  216. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketVersioningCommand.d.ts +31 -25
  217. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketWebsiteCommand.d.ts +23 -25
  218. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutObjectAclCommand.d.ts +23 -25
  219. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutObjectCommand.d.ts +158 -93
  220. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutObjectLegalHoldCommand.d.ts +23 -25
  221. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutObjectLockConfigurationCommand.d.ts +25 -27
  222. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutObjectRetentionCommand.d.ts +23 -25
  223. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutObjectTaggingCommand.d.ts +23 -25
  224. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutPublicAccessBlockCommand.d.ts +23 -25
  225. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/RestoreObjectCommand.d.ts +24 -85
  226. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/SelectObjectContentCommand.d.ts +23 -25
  227. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/UploadPartCommand.d.ts +95 -68
  228. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/UploadPartCopyCommand.d.ts +132 -85
  229. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/WriteGetObjectResponseCommand.d.ts +24 -25
  230. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/index.d.ts +3 -0
  231. package/dist/node_modules/@aws-sdk/client-s3/dist-types/endpoint/EndpointParameters.d.ts +43 -0
  232. package/dist/node_modules/@aws-sdk/client-s3/dist-types/extensionConfiguration.d.ts +2 -1
  233. package/dist/node_modules/@aws-sdk/client-s3/dist-types/index.d.ts +2 -3
  234. package/dist/node_modules/@aws-sdk/client-s3/dist-types/models/S3ServiceException.d.ts +2 -1
  235. package/dist/node_modules/@aws-sdk/client-s3/dist-types/models/models_0.d.ts +3842 -3109
  236. package/dist/node_modules/@aws-sdk/client-s3/dist-types/models/models_1.d.ts +1620 -883
  237. package/dist/node_modules/@aws-sdk/client-s3/dist-types/pagination/ListBucketsPaginator.d.ts +7 -0
  238. package/dist/node_modules/@aws-sdk/client-s3/dist-types/pagination/ListDirectoryBucketsPaginator.d.ts +1 -1
  239. package/dist/node_modules/@aws-sdk/client-s3/dist-types/pagination/ListObjectsV2Paginator.d.ts +1 -1
  240. package/dist/node_modules/@aws-sdk/client-s3/dist-types/pagination/ListPartsPaginator.d.ts +1 -1
  241. package/dist/node_modules/@aws-sdk/client-s3/dist-types/pagination/index.d.ts +1 -0
  242. package/dist/node_modules/@aws-sdk/client-s3/dist-types/protocols/Aws_restXml.d.ts +27 -0
  243. package/dist/node_modules/@aws-sdk/client-s3/dist-types/runtimeConfig.browser.d.ts +21 -13
  244. package/dist/node_modules/@aws-sdk/client-s3/dist-types/runtimeConfig.d.ts +20 -12
  245. package/dist/node_modules/@aws-sdk/client-s3/dist-types/runtimeConfig.native.d.ts +25 -17
  246. package/dist/node_modules/@aws-sdk/client-s3/dist-types/runtimeConfig.shared.d.ts +4 -2
  247. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/S3.d.ts +71 -0
  248. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/S3Client.d.ts +47 -24
  249. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +32 -0
  250. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +55 -0
  251. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/AbortMultipartUploadCommand.d.ts +33 -24
  252. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/CompleteMultipartUploadCommand.d.ts +33 -24
  253. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/CopyObjectCommand.d.ts +35 -23
  254. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/CreateBucketCommand.d.ts +35 -23
  255. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/CreateBucketMetadataTableConfigurationCommand.d.ts +47 -0
  256. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/CreateMultipartUploadCommand.d.ts +33 -24
  257. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/CreateSessionCommand.d.ts +35 -23
  258. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketAnalyticsConfigurationCommand.d.ts +33 -24
  259. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketCommand.d.ts +35 -23
  260. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketCorsCommand.d.ts +35 -23
  261. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketEncryptionCommand.d.ts +33 -24
  262. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketIntelligentTieringConfigurationCommand.d.ts +33 -24
  263. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketInventoryConfigurationCommand.d.ts +33 -24
  264. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketLifecycleCommand.d.ts +33 -24
  265. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketMetadataTableConfigurationCommand.d.ts +47 -0
  266. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketMetricsConfigurationCommand.d.ts +33 -24
  267. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketOwnershipControlsCommand.d.ts +33 -24
  268. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketPolicyCommand.d.ts +35 -23
  269. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketReplicationCommand.d.ts +33 -24
  270. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketTaggingCommand.d.ts +35 -23
  271. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketWebsiteCommand.d.ts +35 -23
  272. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteObjectCommand.d.ts +35 -23
  273. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteObjectTaggingCommand.d.ts +35 -23
  274. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteObjectsCommand.d.ts +35 -23
  275. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeletePublicAccessBlockCommand.d.ts +33 -24
  276. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketAccelerateConfigurationCommand.d.ts +33 -24
  277. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketAclCommand.d.ts +35 -23
  278. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketAnalyticsConfigurationCommand.d.ts +33 -24
  279. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketCorsCommand.d.ts +35 -23
  280. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketEncryptionCommand.d.ts +35 -23
  281. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketIntelligentTieringConfigurationCommand.d.ts +33 -24
  282. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketInventoryConfigurationCommand.d.ts +33 -24
  283. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketLifecycleConfigurationCommand.d.ts +33 -24
  284. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketLocationCommand.d.ts +35 -23
  285. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketLoggingCommand.d.ts +35 -23
  286. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketMetadataTableConfigurationCommand.d.ts +51 -0
  287. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketMetricsConfigurationCommand.d.ts +33 -24
  288. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketNotificationConfigurationCommand.d.ts +33 -24
  289. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketOwnershipControlsCommand.d.ts +33 -24
  290. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketPolicyCommand.d.ts +35 -23
  291. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketPolicyStatusCommand.d.ts +33 -24
  292. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketReplicationCommand.d.ts +33 -24
  293. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketRequestPaymentCommand.d.ts +33 -24
  294. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketTaggingCommand.d.ts +35 -23
  295. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketVersioningCommand.d.ts +35 -23
  296. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketWebsiteCommand.d.ts +35 -23
  297. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetObjectAclCommand.d.ts +35 -23
  298. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetObjectAttributesCommand.d.ts +35 -23
  299. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetObjectCommand.d.ts +34 -20
  300. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetObjectLegalHoldCommand.d.ts +35 -23
  301. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetObjectLockConfigurationCommand.d.ts +33 -24
  302. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetObjectRetentionCommand.d.ts +35 -23
  303. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetObjectTaggingCommand.d.ts +35 -23
  304. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetObjectTorrentCommand.d.ts +34 -20
  305. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetPublicAccessBlockCommand.d.ts +33 -24
  306. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/HeadBucketCommand.d.ts +35 -23
  307. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/HeadObjectCommand.d.ts +35 -23
  308. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/ListBucketAnalyticsConfigurationsCommand.d.ts +33 -24
  309. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/ListBucketIntelligentTieringConfigurationsCommand.d.ts +33 -24
  310. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/ListBucketInventoryConfigurationsCommand.d.ts +33 -24
  311. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/ListBucketMetricsConfigurationsCommand.d.ts +33 -24
  312. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/ListBucketsCommand.d.ts +37 -25
  313. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/ListDirectoryBucketsCommand.d.ts +33 -24
  314. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/ListMultipartUploadsCommand.d.ts +33 -24
  315. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/ListObjectVersionsCommand.d.ts +35 -23
  316. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/ListObjectsCommand.d.ts +35 -23
  317. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/ListObjectsV2Command.d.ts +35 -23
  318. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/ListPartsCommand.d.ts +35 -23
  319. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketAccelerateConfigurationCommand.d.ts +33 -24
  320. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketAclCommand.d.ts +35 -23
  321. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketAnalyticsConfigurationCommand.d.ts +33 -24
  322. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketCorsCommand.d.ts +36 -24
  323. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketEncryptionCommand.d.ts +36 -24
  324. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketIntelligentTieringConfigurationCommand.d.ts +34 -25
  325. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketInventoryConfigurationCommand.d.ts +34 -25
  326. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketLifecycleConfigurationCommand.d.ts +38 -25
  327. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketLoggingCommand.d.ts +36 -24
  328. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketMetricsConfigurationCommand.d.ts +34 -25
  329. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketNotificationConfigurationCommand.d.ts +34 -25
  330. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketOwnershipControlsCommand.d.ts +34 -25
  331. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketPolicyCommand.d.ts +36 -24
  332. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketReplicationCommand.d.ts +33 -24
  333. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketRequestPaymentCommand.d.ts +33 -24
  334. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketTaggingCommand.d.ts +35 -23
  335. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketVersioningCommand.d.ts +35 -23
  336. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketWebsiteCommand.d.ts +35 -23
  337. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutObjectAclCommand.d.ts +35 -23
  338. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutObjectCommand.d.ts +34 -20
  339. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutObjectLegalHoldCommand.d.ts +35 -23
  340. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutObjectLockConfigurationCommand.d.ts +33 -24
  341. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutObjectRetentionCommand.d.ts +35 -23
  342. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutObjectTaggingCommand.d.ts +35 -23
  343. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutPublicAccessBlockCommand.d.ts +33 -24
  344. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/RestoreObjectCommand.d.ts +35 -23
  345. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/SelectObjectContentCommand.d.ts +35 -23
  346. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/UploadPartCommand.d.ts +34 -20
  347. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/UploadPartCopyCommand.d.ts +35 -23
  348. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/WriteGetObjectResponseCommand.d.ts +32 -21
  349. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/index.d.ts +3 -0
  350. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +43 -0
  351. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/extensionConfiguration.d.ts +3 -1
  352. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/index.d.ts +0 -1
  353. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/models/S3ServiceException.d.ts +2 -1
  354. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/models/models_0.d.ts +878 -916
  355. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/models/models_1.d.ts +404 -271
  356. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/pagination/ListBucketsPaginator.d.ts +11 -0
  357. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/pagination/ListDirectoryBucketsPaginator.d.ts +3 -3
  358. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/pagination/ListObjectsV2Paginator.d.ts +3 -3
  359. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/pagination/ListPartsPaginator.d.ts +3 -3
  360. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/pagination/index.d.ts +1 -0
  361. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/protocols/Aws_restXml.d.ts +36 -0
  362. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/runtimeConfig.browser.d.ts +48 -31
  363. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/runtimeConfig.d.ts +48 -31
  364. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/runtimeConfig.native.d.ts +75 -39
  365. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -2
  366. package/dist/node_modules/@aws-sdk/client-s3/package.json +1 -1
  367. package/dist/node_modules/mime-match/package.json +1 -1
  368. package/dist/node_modules/mkdirp/package.json +1 -1
  369. package/dist/node_modules/multer-aliyun-oss/package.json +1 -1
  370. package/dist/node_modules/multer-cos/package.json +1 -1
  371. package/dist/node_modules/multer-s3/index.js +40813 -33
  372. package/dist/node_modules/multer-s3/package.json +1 -1
  373. package/package.json +3 -3
  374. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/S3.js +0 -201
  375. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/S3Client.js +0 -53
  376. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/AbortMultipartUploadCommand.js +0 -59
  377. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/CompleteMultipartUploadCommand.js +0 -64
  378. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/CopyObjectCommand.js +0 -63
  379. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/CreateBucketCommand.js +0 -62
  380. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/CreateMultipartUploadCommand.js +0 -62
  381. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/CreateSessionCommand.js +0 -59
  382. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/DeleteBucketAnalyticsConfigurationCommand.js +0 -59
  383. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/DeleteBucketCommand.js +0 -59
  384. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/DeleteBucketCorsCommand.js +0 -59
  385. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/DeleteBucketEncryptionCommand.js +0 -59
  386. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/DeleteBucketIntelligentTieringConfigurationCommand.js +0 -59
  387. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/DeleteBucketInventoryConfigurationCommand.js +0 -59
  388. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/DeleteBucketLifecycleCommand.js +0 -59
  389. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/DeleteBucketMetricsConfigurationCommand.js +0 -59
  390. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/DeleteBucketOwnershipControlsCommand.js +0 -59
  391. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/DeleteBucketPolicyCommand.js +0 -59
  392. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/DeleteBucketReplicationCommand.js +0 -59
  393. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/DeleteBucketTaggingCommand.js +0 -59
  394. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/DeleteBucketWebsiteCommand.js +0 -59
  395. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/DeleteObjectCommand.js +0 -59
  396. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/DeleteObjectTaggingCommand.js +0 -58
  397. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/DeleteObjectsCommand.js +0 -64
  398. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/DeletePublicAccessBlockCommand.js +0 -59
  399. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetBucketAccelerateConfigurationCommand.js +0 -59
  400. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetBucketAclCommand.js +0 -59
  401. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetBucketAnalyticsConfigurationCommand.js +0 -59
  402. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetBucketCorsCommand.js +0 -59
  403. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetBucketEncryptionCommand.js +0 -60
  404. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetBucketIntelligentTieringConfigurationCommand.js +0 -59
  405. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetBucketInventoryConfigurationCommand.js +0 -60
  406. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetBucketLifecycleConfigurationCommand.js +0 -59
  407. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetBucketLocationCommand.js +0 -59
  408. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetBucketLoggingCommand.js +0 -59
  409. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetBucketMetricsConfigurationCommand.js +0 -59
  410. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetBucketNotificationConfigurationCommand.js +0 -59
  411. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetBucketOwnershipControlsCommand.js +0 -59
  412. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetBucketPolicyCommand.js +0 -59
  413. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetBucketPolicyStatusCommand.js +0 -59
  414. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetBucketReplicationCommand.js +0 -59
  415. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetBucketRequestPaymentCommand.js +0 -59
  416. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetBucketTaggingCommand.js +0 -59
  417. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetBucketVersioningCommand.js +0 -59
  418. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetBucketWebsiteCommand.js +0 -59
  419. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetObjectAclCommand.js +0 -59
  420. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetObjectAttributesCommand.js +0 -61
  421. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetObjectCommand.js +0 -69
  422. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetObjectLegalHoldCommand.js +0 -58
  423. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetObjectLockConfigurationCommand.js +0 -58
  424. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetObjectRetentionCommand.js +0 -58
  425. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetObjectTaggingCommand.js +0 -58
  426. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetObjectTorrentCommand.js +0 -59
  427. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetPublicAccessBlockCommand.js +0 -59
  428. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/HeadBucketCommand.js +0 -58
  429. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/HeadObjectCommand.js +0 -62
  430. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/ListBucketAnalyticsConfigurationsCommand.js +0 -59
  431. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/ListBucketIntelligentTieringConfigurationsCommand.js +0 -59
  432. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/ListBucketInventoryConfigurationsCommand.js +0 -60
  433. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/ListBucketMetricsConfigurationsCommand.js +0 -58
  434. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/ListBucketsCommand.js +0 -57
  435. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/ListDirectoryBucketsCommand.js +0 -58
  436. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/ListMultipartUploadsCommand.js +0 -59
  437. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/ListObjectVersionsCommand.js +0 -59
  438. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/ListObjectsCommand.js +0 -59
  439. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/ListObjectsV2Command.js +0 -59
  440. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/ListPartsCommand.js +0 -62
  441. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutBucketAccelerateConfigurationCommand.js +0 -65
  442. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutBucketAclCommand.js +0 -65
  443. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutBucketAnalyticsConfigurationCommand.js +0 -59
  444. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutBucketCorsCommand.js +0 -65
  445. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutBucketEncryptionCommand.js +0 -66
  446. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutBucketIntelligentTieringConfigurationCommand.js +0 -59
  447. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutBucketInventoryConfigurationCommand.js +0 -60
  448. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutBucketLifecycleConfigurationCommand.js +0 -65
  449. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutBucketLoggingCommand.js +0 -65
  450. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutBucketMetricsConfigurationCommand.js +0 -59
  451. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutBucketNotificationConfigurationCommand.js +0 -59
  452. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutBucketOwnershipControlsCommand.js +0 -61
  453. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutBucketPolicyCommand.js +0 -65
  454. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutBucketReplicationCommand.js +0 -65
  455. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutBucketRequestPaymentCommand.js +0 -65
  456. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutBucketTaggingCommand.js +0 -65
  457. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutBucketVersioningCommand.js +0 -65
  458. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutBucketWebsiteCommand.js +0 -65
  459. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutObjectAclCommand.js +0 -65
  460. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutObjectCommand.js +0 -70
  461. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutObjectLegalHoldCommand.js +0 -64
  462. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutObjectLockConfigurationCommand.js +0 -64
  463. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutObjectRetentionCommand.js +0 -64
  464. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutObjectTaggingCommand.js +0 -64
  465. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutPublicAccessBlockCommand.js +0 -65
  466. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/RestoreObjectCommand.js +0 -65
  467. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/SelectObjectContentCommand.js +0 -64
  468. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/UploadPartCommand.js +0 -68
  469. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/UploadPartCopyCommand.js +0 -63
  470. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/WriteGetObjectResponseCommand.js +0 -59
  471. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/index.js +0 -98
  472. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/endpoint/EndpointParameters.js +0 -16
  473. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/extensionConfiguration.js +0 -2
  474. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/models/S3ServiceException.js +0 -12
  475. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/models/index.js +0 -5
  476. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/models/models_0.js +0 -647
  477. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/models/models_1.js +0 -156
  478. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/pagination/Interfaces.js +0 -2
  479. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/pagination/ListDirectoryBucketsPaginator.js +0 -29
  480. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/pagination/ListObjectsV2Paginator.js +0 -29
  481. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/pagination/ListPartsPaginator.js +0 -29
  482. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/pagination/index.js +0 -7
  483. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/protocols/Aws_restXml.js +0 -9820
  484. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/runtimeExtensions.js +0 -22
  485. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/waiters/index.js +0 -7
  486. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/waiters/waitForBucketExists.js +0 -31
  487. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/waiters/waitForBucketNotExists.js +0 -30
  488. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/waiters/waitForObjectExists.js +0 -31
  489. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/waiters/waitForObjectNotExists.js +0 -30
@@ -1,12 +1,12 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { CreateSessionOutput, CreateSessionRequest } from "../models/models_0";
5
4
  import { S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3Client";
6
5
  /**
7
6
  * @public
8
7
  */
9
- export { __MetadataBearer, $Command };
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
10
  /**
11
11
  * @public
12
12
  *
@@ -21,18 +21,22 @@ export interface CreateSessionCommandInput extends CreateSessionRequest {
21
21
  */
22
22
  export interface CreateSessionCommandOutput extends CreateSessionOutput, __MetadataBearer {
23
23
  }
24
+ declare const CreateSessionCommand_base: {
25
+ new (input: CreateSessionCommandInput): import("@smithy/smithy-client").CommandImpl<CreateSessionCommandInput, CreateSessionCommandOutput, S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: CreateSessionCommandInput): import("@smithy/smithy-client").CommandImpl<CreateSessionCommandInput, CreateSessionCommandOutput, S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
24
29
  /**
25
- * @public
26
- * <p>Creates a session that establishes temporary security credentials to support fast authentication and authorization for the Zonal endpoint APIs on directory buckets.
27
- * For more information about Zonal endpoint APIs that include the Availability Zone in the request endpoint, see
28
- * <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-APIs.html">S3 Express One Zone APIs</a> in the <i>Amazon S3 User Guide</i>.
29
- * </p>
30
+ * <p>Creates a session that establishes temporary security credentials to support fast
31
+ * authentication and authorization for the Zonal endpoint API operations on directory buckets. For more
32
+ * information about Zonal endpoint API operations that include the Availability Zone in the request endpoint, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-APIs.html">S3 Express One Zone
33
+ * APIs</a> in the <i>Amazon S3 User Guide</i>. </p>
30
34
  * <p>To make Zonal endpoint API requests on a directory bucket, use the <code>CreateSession</code>
31
35
  * API operation. Specifically, you grant <code>s3express:CreateSession</code> permission to a
32
36
  * bucket in a bucket policy or an IAM identity-based policy. Then, you use IAM credentials to make the
33
37
  * <code>CreateSession</code> API request on the bucket, which returns temporary security
34
38
  * credentials that include the access key ID, secret access key, session token, and
35
- * expiration. These credentials have associated permissions to access the Zonal endpoint APIs. After
39
+ * expiration. These credentials have associated permissions to access the Zonal endpoint API operations. After
36
40
  * the session is created, you don’t need to use other policies to grant permissions to each
37
41
  * Zonal endpoint API individually. Instead, in your Zonal endpoint API requests, you sign your requests by
38
42
  * applying the temporary security credentials of the session to the request headers and
@@ -50,41 +54,86 @@ export interface CreateSessionCommandOutput extends CreateSessionOutput, __Metad
50
54
  * <note>
51
55
  * <ul>
52
56
  * <li>
53
- * <p>You must make requests for this API operation to the Zonal endpoint. These endpoints support virtual-hosted-style requests in the format <code>https://<i>bucket_name</i>.s3express-<i>az_id</i>.<i>region</i>.amazonaws.com</code>. Path-style requests are not supported. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-Regions-and-Zones.html">Regional and Zonal endpoints</a> in the
57
+ * <p>You must make requests for this API operation to the Zonal endpoint. These endpoints support virtual-hosted-style requests in the format <code>https://<i>bucket-name</i>.s3express-<i>zone-id</i>.<i>region-code</i>.amazonaws.com</code>. Path-style requests are not supported. For more information about endpoints in Availability Zones, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/endpoint-directory-buckets-AZ.html">Regional and Zonal endpoints for directory buckets in Availability Zones</a> in the
58
+ * <i>Amazon S3 User Guide</i>. For more information about endpoints in Local Zones, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-lzs-for-directory-buckets.html">Concepts for directory buckets in Local Zones</a> in the
54
59
  * <i>Amazon S3 User Guide</i>.</p>
55
60
  * </li>
56
61
  * <li>
57
62
  * <p>
58
63
  * <b>
59
- * <code>CopyObject</code> API operation</b> - Unlike other Zonal endpoint APIs, the <code>CopyObject</code> API operation doesn't use the temporary security credentials returned from the <code>CreateSession</code> API operation for authentication and authorization. For information about authentication and authorization of the <code>CopyObject</code> API operation on directory buckets, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_CopyObject.html">CopyObject</a>.</p>
64
+ * <code>CopyObject</code> API operation</b> -
65
+ * Unlike other Zonal endpoint API operations, the <code>CopyObject</code> API operation doesn't use
66
+ * the temporary security credentials returned from the <code>CreateSession</code>
67
+ * API operation for authentication and authorization. For information about
68
+ * authentication and authorization of the <code>CopyObject</code> API operation on
69
+ * directory buckets, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_CopyObject.html">CopyObject</a>.</p>
60
70
  * </li>
61
71
  * <li>
62
72
  * <p>
63
73
  * <b>
64
- * <code>HeadBucket</code> API operation</b> - Unlike other Zonal endpoint APIs, the <code>HeadBucket</code> API operation doesn't use the temporary security credentials returned from the <code>CreateSession</code> API operation for authentication and authorization. For information about authentication and authorization of the <code>HeadBucket</code> API operation on directory buckets, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_HeadBucket.html">HeadBucket</a>.</p>
74
+ * <code>HeadBucket</code> API operation</b> -
75
+ * Unlike other Zonal endpoint API operations, the <code>HeadBucket</code> API operation doesn't use
76
+ * the temporary security credentials returned from the <code>CreateSession</code>
77
+ * API operation for authentication and authorization. For information about
78
+ * authentication and authorization of the <code>HeadBucket</code> API operation on
79
+ * directory buckets, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_HeadBucket.html">HeadBucket</a>.</p>
65
80
  * </li>
66
81
  * </ul>
67
82
  * </note>
68
83
  * <dl>
69
84
  * <dt>Permissions</dt>
70
85
  * <dd>
71
- * <p>To obtain temporary security credentials, you must create a bucket policy or an IAM identity-based policy that
72
- * grants <code>s3express:CreateSession</code> permission to the bucket. In a
73
- * policy, you can have the <code>s3express:SessionMode</code> condition key to
74
- * control who can create a <code>ReadWrite</code> or <code>ReadOnly</code> session.
75
- * For more information about <code>ReadWrite</code> or <code>ReadOnly</code>
76
- * sessions, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_CreateSession.html#API_CreateSession_RequestParameters">
86
+ * <p>To obtain temporary security credentials, you must create
87
+ * a bucket policy or an IAM identity-based policy that grants <code>s3express:CreateSession</code>
88
+ * permission to the bucket. In a policy, you can have the
89
+ * <code>s3express:SessionMode</code> condition key to control who can create a
90
+ * <code>ReadWrite</code> or <code>ReadOnly</code> session. For more information
91
+ * about <code>ReadWrite</code> or <code>ReadOnly</code> sessions, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_CreateSession.html#API_CreateSession_RequestParameters">
77
92
  * <code>x-amz-create-session-mode</code>
78
93
  * </a>. For example policies, see
79
- * <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-security-iam-example-bucket-policies.html">Example bucket policies for S3 Express One Zone</a> and <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-security-iam-identity-policies.html">Amazon Web Services Identity and Access Management (IAM) identity-based policies for S3 Express One Zone</a> in the
80
- * <i>Amazon S3 User Guide</i>. </p>
81
- * <p>To grant cross-account access to Zonal endpoint APIs, the bucket policy should also grant both accounts the <code>s3express:CreateSession</code> permission.</p>
94
+ * <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-security-iam-example-bucket-policies.html">Example bucket policies for S3 Express One Zone</a> and <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-security-iam-identity-policies.html">Amazon Web Services Identity and Access Management (IAM) identity-based policies for
95
+ * S3 Express One Zone</a> in the <i>Amazon S3 User Guide</i>. </p>
96
+ * <p>To grant cross-account access to Zonal endpoint API operations, the bucket policy should also
97
+ * grant both accounts the <code>s3express:CreateSession</code> permission.</p>
98
+ * <p>If you want to encrypt objects with SSE-KMS, you must also have the
99
+ * <code>kms:GenerateDataKey</code> and the <code>kms:Decrypt</code> permissions
100
+ * in IAM identity-based policies and KMS key policies for the target KMS
101
+ * key.</p>
102
+ * </dd>
103
+ * <dt>Encryption</dt>
104
+ * <dd>
105
+ * <p>For directory buckets, there are only two supported options for server-side encryption: server-side encryption with Amazon S3 managed keys (SSE-S3) (<code>AES256</code>) and server-side encryption with KMS keys (SSE-KMS) (<code>aws:kms</code>). We recommend that the bucket's default encryption uses the desired encryption configuration and you don't override the bucket default encryption in your
106
+ * <code>CreateSession</code> requests or <code>PUT</code> object requests. Then, new objects
107
+ * are automatically encrypted with the desired encryption settings. For more
108
+ * information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-serv-side-encryption.html">Protecting data with server-side encryption</a> in the <i>Amazon S3 User Guide</i>. For more information about the encryption overriding behaviors in directory buckets, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-specifying-kms-encryption.html">Specifying server-side encryption with KMS for new object uploads</a>.</p>
109
+ * <p>For <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-differences.html#s3-express-differences-api-operations">Zonal endpoint (object-level) API operations</a> except <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_CopyObject.html">CopyObject</a> and <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_UploadPartCopy.html">UploadPartCopy</a>,
110
+ * you authenticate and authorize requests through <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_CreateSession.html">CreateSession</a> for low latency.
111
+ * To encrypt new objects in a directory bucket with SSE-KMS, you must specify SSE-KMS as the directory bucket's default encryption configuration with a KMS key (specifically, a <a href="https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#customer-cmk">customer managed key</a>). Then, when a session is created for Zonal endpoint API operations, new objects are automatically encrypted and decrypted with SSE-KMS and S3 Bucket Keys during the session.</p>
112
+ * <note>
113
+ * <p>
114
+ * Only 1 <a href="https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#customer-cmk">customer managed key</a> is supported per directory bucket for the lifetime of the bucket. The <a href="https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#aws-managed-cmk">Amazon Web Services managed key</a> (<code>aws/s3</code>) isn't supported.
115
+ * After you specify SSE-KMS as your bucket's default encryption configuration with a customer managed key, you can't change the customer managed key for the bucket's SSE-KMS configuration.
116
+ * </p>
117
+ * </note>
118
+ * <p>In the Zonal endpoint API calls (except <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_CopyObject.html">CopyObject</a> and <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_UploadPartCopy.html">UploadPartCopy</a>) using the REST API,
119
+ * you can't override the values of the encryption settings (<code>x-amz-server-side-encryption</code>, <code>x-amz-server-side-encryption-aws-kms-key-id</code>, <code>x-amz-server-side-encryption-context</code>, and <code>x-amz-server-side-encryption-bucket-key-enabled</code>) from the <code>CreateSession</code> request.
120
+ * You don't need to explicitly specify these encryption settings values in Zonal endpoint API calls, and
121
+ * Amazon S3 will use the encryption settings values from the <code>CreateSession</code> request to protect new objects in the directory bucket.
122
+ * </p>
123
+ * <note>
124
+ * <p>When you use the CLI or the Amazon Web Services SDKs, for <code>CreateSession</code>, the session token refreshes automatically to avoid service interruptions when a session expires. The CLI or the Amazon Web Services SDKs use the bucket's default encryption configuration for the
125
+ * <code>CreateSession</code> request. It's not supported to override the encryption settings values in the <code>CreateSession</code> request.
126
+ * Also, in the Zonal endpoint API calls (except <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_CopyObject.html">CopyObject</a> and <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_UploadPartCopy.html">UploadPartCopy</a>),
127
+ * it's not supported to override the values of the encryption settings from the <code>CreateSession</code> request.
128
+ *
129
+ * </p>
130
+ * </note>
82
131
  * </dd>
83
132
  * <dt>HTTP Host header syntax</dt>
84
133
  * <dd>
85
134
  * <p>
86
135
  * <b>Directory buckets </b> - The HTTP Host header syntax is <code>
87
- * <i>Bucket_name</i>.s3express-<i>az_id</i>.<i>region</i>.amazonaws.com</code>.</p>
136
+ * <i>Bucket-name</i>.s3express-<i>zone-id</i>.<i>region-code</i>.amazonaws.com</code>.</p>
88
137
  * </dd>
89
138
  * </dl>
90
139
  * @example
@@ -96,10 +145,18 @@ export interface CreateSessionCommandOutput extends CreateSessionOutput, __Metad
96
145
  * const input = { // CreateSessionRequest
97
146
  * SessionMode: "ReadOnly" || "ReadWrite",
98
147
  * Bucket: "STRING_VALUE", // required
148
+ * ServerSideEncryption: "AES256" || "aws:kms" || "aws:kms:dsse",
149
+ * SSEKMSKeyId: "STRING_VALUE",
150
+ * SSEKMSEncryptionContext: "STRING_VALUE",
151
+ * BucketKeyEnabled: true || false,
99
152
  * };
100
153
  * const command = new CreateSessionCommand(input);
101
154
  * const response = await client.send(command);
102
155
  * // { // CreateSessionOutput
156
+ * // ServerSideEncryption: "AES256" || "aws:kms" || "aws:kms:dsse",
157
+ * // SSEKMSKeyId: "STRING_VALUE",
158
+ * // SSEKMSEncryptionContext: "STRING_VALUE",
159
+ * // BucketKeyEnabled: true || false,
103
160
  * // Credentials: { // SessionCredentials
104
161
  * // AccessKeyId: "STRING_VALUE", // required
105
162
  * // SecretAccessKey: "STRING_VALUE", // required
@@ -122,24 +179,18 @@ export interface CreateSessionCommandOutput extends CreateSessionOutput, __Metad
122
179
  * @throws {@link S3ServiceException}
123
180
  * <p>Base exception class for all service exceptions from S3 service.</p>
124
181
  *
182
+ * @public
125
183
  */
126
- export declare class CreateSessionCommand extends $Command<CreateSessionCommandInput, CreateSessionCommandOutput, S3ClientResolvedConfig> {
127
- readonly input: CreateSessionCommandInput;
128
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
129
- /**
130
- * @public
131
- */
132
- constructor(input: CreateSessionCommandInput);
133
- /**
134
- * @internal
135
- */
136
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: S3ClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateSessionCommandInput, CreateSessionCommandOutput>;
137
- /**
138
- * @internal
139
- */
140
- private serialize;
141
- /**
142
- * @internal
143
- */
144
- private deserialize;
184
+ export declare class CreateSessionCommand extends CreateSessionCommand_base {
185
+ /** @internal type navigation helper, not in runtime. */
186
+ protected static __types: {
187
+ api: {
188
+ input: CreateSessionRequest;
189
+ output: CreateSessionOutput;
190
+ };
191
+ sdk: {
192
+ input: CreateSessionCommandInput;
193
+ output: CreateSessionCommandOutput;
194
+ };
195
+ };
145
196
  }
@@ -1,12 +1,12 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { DeleteBucketAnalyticsConfigurationRequest } from "../models/models_0";
5
4
  import { S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3Client";
6
5
  /**
7
6
  * @public
8
7
  */
9
- export { __MetadataBearer, $Command };
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
10
  /**
11
11
  * @public
12
12
  *
@@ -21,10 +21,14 @@ export interface DeleteBucketAnalyticsConfigurationCommandInput extends DeleteBu
21
21
  */
22
22
  export interface DeleteBucketAnalyticsConfigurationCommandOutput extends __MetadataBearer {
23
23
  }
24
+ declare const DeleteBucketAnalyticsConfigurationCommand_base: {
25
+ new (input: DeleteBucketAnalyticsConfigurationCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteBucketAnalyticsConfigurationCommandInput, DeleteBucketAnalyticsConfigurationCommandOutput, S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: DeleteBucketAnalyticsConfigurationCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteBucketAnalyticsConfigurationCommandInput, DeleteBucketAnalyticsConfigurationCommandOutput, S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
24
29
  /**
25
- * @public
26
30
  * <note>
27
- * <p>This operation is not supported by directory buckets.</p>
31
+ * <p>This operation is not supported for directory buckets.</p>
28
32
  * </note>
29
33
  * <p>Deletes an analytics configuration for the bucket (specified by the analytics
30
34
  * configuration ID).</p>
@@ -80,24 +84,18 @@ export interface DeleteBucketAnalyticsConfigurationCommandOutput extends __Metad
80
84
  * @throws {@link S3ServiceException}
81
85
  * <p>Base exception class for all service exceptions from S3 service.</p>
82
86
  *
87
+ * @public
83
88
  */
84
- export declare class DeleteBucketAnalyticsConfigurationCommand extends $Command<DeleteBucketAnalyticsConfigurationCommandInput, DeleteBucketAnalyticsConfigurationCommandOutput, S3ClientResolvedConfig> {
85
- readonly input: DeleteBucketAnalyticsConfigurationCommandInput;
86
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
87
- /**
88
- * @public
89
- */
90
- constructor(input: DeleteBucketAnalyticsConfigurationCommandInput);
91
- /**
92
- * @internal
93
- */
94
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: S3ClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteBucketAnalyticsConfigurationCommandInput, DeleteBucketAnalyticsConfigurationCommandOutput>;
95
- /**
96
- * @internal
97
- */
98
- private serialize;
99
- /**
100
- * @internal
101
- */
102
- private deserialize;
89
+ export declare class DeleteBucketAnalyticsConfigurationCommand extends DeleteBucketAnalyticsConfigurationCommand_base {
90
+ /** @internal type navigation helper, not in runtime. */
91
+ protected static __types: {
92
+ api: {
93
+ input: DeleteBucketAnalyticsConfigurationRequest;
94
+ output: {};
95
+ };
96
+ sdk: {
97
+ input: DeleteBucketAnalyticsConfigurationCommandInput;
98
+ output: DeleteBucketAnalyticsConfigurationCommandOutput;
99
+ };
100
+ };
103
101
  }
@@ -1,12 +1,12 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { DeleteBucketRequest } from "../models/models_0";
5
4
  import { S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3Client";
6
5
  /**
7
6
  * @public
8
7
  */
9
- export { __MetadataBearer, $Command };
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
10
  /**
11
11
  * @public
12
12
  *
@@ -21,21 +21,28 @@ export interface DeleteBucketCommandInput extends DeleteBucketRequest {
21
21
  */
22
22
  export interface DeleteBucketCommandOutput extends __MetadataBearer {
23
23
  }
24
+ declare const DeleteBucketCommand_base: {
25
+ new (input: DeleteBucketCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteBucketCommandInput, DeleteBucketCommandOutput, S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: DeleteBucketCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteBucketCommandInput, DeleteBucketCommandOutput, S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
24
29
  /**
25
- * @public
26
30
  * <p>Deletes the S3 bucket. All objects (including all object versions and delete markers) in
27
31
  * the bucket must be deleted before the bucket itself can be deleted.</p>
28
32
  * <note>
29
33
  * <ul>
30
34
  * <li>
31
35
  * <p>
32
- * <b>Directory buckets</b> - If multipart uploads in a directory bucket are in progress, you can't delete the bucket until all the in-progress multipart uploads are aborted or completed.</p>
36
+ * <b>Directory buckets</b> - If multipart
37
+ * uploads in a directory bucket are in progress, you can't delete the bucket until
38
+ * all the in-progress multipart uploads are aborted or completed.</p>
33
39
  * </li>
34
40
  * <li>
35
41
  * <p>
36
- * <b>Directory buckets </b> - For directory buckets, you must make requests for this API operation to the Regional endpoint. These endpoints support path-style requests in the format <code>https://s3express-control.<i>region_code</i>.amazonaws.com/<i>bucket-name</i>
42
+ * <b>Directory buckets </b> - For directory buckets, you must make requests for this API operation to the Regional endpoint. These endpoints support path-style requests in the format <code>https://s3express-control.<i>region-code</i>.amazonaws.com/<i>bucket-name</i>
37
43
  * </code>. Virtual-hosted-style requests aren't supported.
38
- * For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-Regions-and-Zones.html">Regional and Zonal endpoints</a> in the
44
+ * For more information about endpoints in Availability Zones, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/endpoint-directory-buckets-AZ.html">Regional and Zonal endpoints for directory buckets in Availability Zones</a> in the
45
+ * <i>Amazon S3 User Guide</i>. For more information about endpoints in Local Zones, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-lzs-for-directory-buckets.html">Concepts for directory buckets in Local Zones</a> in the
39
46
  * <i>Amazon S3 User Guide</i>.</p>
40
47
  * </li>
41
48
  * </ul>
@@ -46,18 +53,23 @@ export interface DeleteBucketCommandOutput extends __MetadataBearer {
46
53
  * <ul>
47
54
  * <li>
48
55
  * <p>
49
- * <b>General purpose bucket permissions</b> - You must have the <code>s3:DeleteBucket</code> permission on the specified bucket in a policy.</p>
56
+ * <b>General purpose bucket permissions</b> - You
57
+ * must have the <code>s3:DeleteBucket</code> permission on the specified
58
+ * bucket in a policy.</p>
50
59
  * </li>
51
60
  * <li>
52
61
  * <p>
53
- * <b>Directory bucket permissions</b> - You must have the <code>s3express:DeleteBucket</code> permission in an IAM identity-based policy instead of a bucket policy. Cross-account access to this API operation isn't supported. This operation can only be performed by the Amazon Web Services account that owns the resource. For more information about directory bucket policies and permissions, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-security-iam.html">Amazon Web Services Identity and Access Management (IAM) for S3 Express One Zone</a> in the <i>Amazon S3 User Guide</i>.</p>
62
+ * <b>Directory bucket permissions</b> -
63
+ * You must have the <code>s3express:DeleteBucket</code> permission in
64
+ * an IAM identity-based policy instead of a bucket policy. Cross-account access to this API operation isn't supported. This operation can only be performed by the Amazon Web Services account that owns the resource.
65
+ * For more information about directory bucket policies and permissions, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-security-iam.html">Amazon Web Services Identity and Access Management (IAM) for S3 Express One Zone</a> in the <i>Amazon S3 User Guide</i>.</p>
54
66
  * </li>
55
67
  * </ul>
56
68
  * </dd>
57
69
  * <dt>HTTP Host header syntax</dt>
58
70
  * <dd>
59
71
  * <p>
60
- * <b>Directory buckets </b> - The HTTP Host header syntax is <code>s3express-control.<i>region</i>.amazonaws.com</code>.</p>
72
+ * <b>Directory buckets </b> - The HTTP Host header syntax is <code>s3express-control.<i>region-code</i>.amazonaws.com</code>.</p>
61
73
  * </dd>
62
74
  * </dl>
63
75
  * <p>The following operations are related to <code>DeleteBucket</code>:</p>
@@ -98,6 +110,7 @@ export interface DeleteBucketCommandOutput extends __MetadataBearer {
98
110
  * @throws {@link S3ServiceException}
99
111
  * <p>Base exception class for all service exceptions from S3 service.</p>
100
112
  *
113
+ * @public
101
114
  * @example To delete a bucket
102
115
  * ```javascript
103
116
  * // The following example deletes the specified bucket.
@@ -110,23 +123,16 @@ export interface DeleteBucketCommandOutput extends __MetadataBearer {
110
123
  * ```
111
124
  *
112
125
  */
113
- export declare class DeleteBucketCommand extends $Command<DeleteBucketCommandInput, DeleteBucketCommandOutput, S3ClientResolvedConfig> {
114
- readonly input: DeleteBucketCommandInput;
115
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
116
- /**
117
- * @public
118
- */
119
- constructor(input: DeleteBucketCommandInput);
120
- /**
121
- * @internal
122
- */
123
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: S3ClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteBucketCommandInput, DeleteBucketCommandOutput>;
124
- /**
125
- * @internal
126
- */
127
- private serialize;
128
- /**
129
- * @internal
130
- */
131
- private deserialize;
126
+ export declare class DeleteBucketCommand extends DeleteBucketCommand_base {
127
+ /** @internal type navigation helper, not in runtime. */
128
+ protected static __types: {
129
+ api: {
130
+ input: DeleteBucketRequest;
131
+ output: {};
132
+ };
133
+ sdk: {
134
+ input: DeleteBucketCommandInput;
135
+ output: DeleteBucketCommandOutput;
136
+ };
137
+ };
132
138
  }
@@ -1,12 +1,12 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { DeleteBucketCorsRequest } from "../models/models_0";
5
4
  import { S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3Client";
6
5
  /**
7
6
  * @public
8
7
  */
9
- export { __MetadataBearer, $Command };
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
10
  /**
11
11
  * @public
12
12
  *
@@ -21,10 +21,14 @@ export interface DeleteBucketCorsCommandInput extends DeleteBucketCorsRequest {
21
21
  */
22
22
  export interface DeleteBucketCorsCommandOutput extends __MetadataBearer {
23
23
  }
24
+ declare const DeleteBucketCorsCommand_base: {
25
+ new (input: DeleteBucketCorsCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteBucketCorsCommandInput, DeleteBucketCorsCommandOutput, S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: DeleteBucketCorsCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteBucketCorsCommandInput, DeleteBucketCorsCommandOutput, S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
24
29
  /**
25
- * @public
26
30
  * <note>
27
- * <p>This operation is not supported by directory buckets.</p>
31
+ * <p>This operation is not supported for directory buckets.</p>
28
32
  * </note>
29
33
  * <p>Deletes the <code>cors</code> configuration information set for the bucket.</p>
30
34
  * <p>To use this operation, you must have permission to perform the
@@ -72,6 +76,7 @@ export interface DeleteBucketCorsCommandOutput extends __MetadataBearer {
72
76
  * @throws {@link S3ServiceException}
73
77
  * <p>Base exception class for all service exceptions from S3 service.</p>
74
78
  *
79
+ * @public
75
80
  * @example To delete cors configuration on a bucket.
76
81
  * ```javascript
77
82
  * // The following example deletes CORS configuration on a bucket.
@@ -84,23 +89,16 @@ export interface DeleteBucketCorsCommandOutput extends __MetadataBearer {
84
89
  * ```
85
90
  *
86
91
  */
87
- export declare class DeleteBucketCorsCommand extends $Command<DeleteBucketCorsCommandInput, DeleteBucketCorsCommandOutput, S3ClientResolvedConfig> {
88
- readonly input: DeleteBucketCorsCommandInput;
89
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
90
- /**
91
- * @public
92
- */
93
- constructor(input: DeleteBucketCorsCommandInput);
94
- /**
95
- * @internal
96
- */
97
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: S3ClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteBucketCorsCommandInput, DeleteBucketCorsCommandOutput>;
98
- /**
99
- * @internal
100
- */
101
- private serialize;
102
- /**
103
- * @internal
104
- */
105
- private deserialize;
92
+ export declare class DeleteBucketCorsCommand extends DeleteBucketCorsCommand_base {
93
+ /** @internal type navigation helper, not in runtime. */
94
+ protected static __types: {
95
+ api: {
96
+ input: DeleteBucketCorsRequest;
97
+ output: {};
98
+ };
99
+ sdk: {
100
+ input: DeleteBucketCorsCommandInput;
101
+ output: DeleteBucketCorsCommandOutput;
102
+ };
103
+ };
106
104
  }
@@ -1,12 +1,12 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { DeleteBucketEncryptionRequest } from "../models/models_0";
5
4
  import { S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3Client";
6
5
  /**
7
6
  * @public
8
7
  */
9
- export { __MetadataBearer, $Command };
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
10
  /**
11
11
  * @public
12
12
  *
@@ -21,21 +21,60 @@ export interface DeleteBucketEncryptionCommandInput extends DeleteBucketEncrypti
21
21
  */
22
22
  export interface DeleteBucketEncryptionCommandOutput extends __MetadataBearer {
23
23
  }
24
+ declare const DeleteBucketEncryptionCommand_base: {
25
+ new (input: DeleteBucketEncryptionCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteBucketEncryptionCommandInput, DeleteBucketEncryptionCommandOutput, S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: DeleteBucketEncryptionCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteBucketEncryptionCommandInput, DeleteBucketEncryptionCommandOutput, S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
24
29
  /**
25
- * @public
26
- * <note>
27
- * <p>This operation is not supported by directory buckets.</p>
30
+ * <p>This implementation of the DELETE action resets the default encryption for the bucket as
31
+ * server-side encryption with Amazon S3 managed keys (SSE-S3).</p>
32
+ * <note>
33
+ * <ul>
34
+ * <li>
35
+ * <p>
36
+ * <b>General purpose buckets</b> - For information
37
+ * about the bucket default encryption feature, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/bucket-encryption.html">Amazon S3 Bucket Default
38
+ * Encryption</a> in the <i>Amazon S3 User Guide</i>.</p>
39
+ * </li>
40
+ * <li>
41
+ * <p>
42
+ * <b>Directory buckets</b> -
43
+ * For directory buckets, there are only two supported options for server-side encryption: SSE-S3 and SSE-KMS. For information about the default encryption
44
+ * configuration in directory buckets, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-bucket-encryption.html">Setting
45
+ * default server-side encryption behavior for directory buckets</a>.</p>
46
+ * </li>
47
+ * </ul>
28
48
  * </note>
29
- * <p>This implementation of the DELETE action resets the default encryption for the bucket as
30
- * server-side encryption with Amazon S3 managed keys (SSE-S3). For information about the bucket
31
- * default encryption feature, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/bucket-encryption.html">Amazon S3 Bucket Default Encryption</a>
32
- * in the <i>Amazon S3 User Guide</i>.</p>
33
- * <p>To use this operation, you must have permissions to perform the
34
- * <code>s3:PutEncryptionConfiguration</code> action. The bucket owner has this permission
35
- * by default. The bucket owner can grant this permission to others. For more information
36
- * about permissions, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-with-s3-actions.html#using-with-s3-actions-related-to-bucket-subresources">Permissions Related to Bucket Subresource Operations</a> and <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-access-control.html">Managing
37
- * Access Permissions to your Amazon S3 Resources</a> in the
38
- * <i>Amazon S3 User Guide</i>.</p>
49
+ * <dl>
50
+ * <dt>Permissions</dt>
51
+ * <dd>
52
+ * <ul>
53
+ * <li>
54
+ * <p>
55
+ * <b>General purpose bucket permissions</b> - The
56
+ * <code>s3:PutEncryptionConfiguration</code> permission is required in a
57
+ * policy. The bucket owner has this permission by default. The bucket owner
58
+ * can grant this permission to others. For more information about permissions,
59
+ * see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-with-s3-actions.html#using-with-s3-actions-related-to-bucket-subresources">Permissions Related to Bucket Operations</a> and <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-access-control.html">Managing Access
60
+ * Permissions to Your Amazon S3 Resources</a>.</p>
61
+ * </li>
62
+ * <li>
63
+ * <p>
64
+ * <b>Directory bucket permissions</b> -
65
+ * To grant access to this API operation, you must have the
66
+ * <code>s3express:PutEncryptionConfiguration</code> permission in
67
+ * an IAM identity-based policy instead of a bucket policy. Cross-account access to this API operation isn't supported. This operation can only be performed by the Amazon Web Services account that owns the resource.
68
+ * For more information about directory bucket policies and permissions, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-security-iam.html">Amazon Web Services Identity and Access Management (IAM) for S3 Express One Zone</a> in the <i>Amazon S3 User Guide</i>.</p>
69
+ * </li>
70
+ * </ul>
71
+ * </dd>
72
+ * <dt>HTTP Host header syntax</dt>
73
+ * <dd>
74
+ * <p>
75
+ * <b>Directory buckets </b> - The HTTP Host header syntax is <code>s3express-control.<i>region-code</i>.amazonaws.com</code>.</p>
76
+ * </dd>
77
+ * </dl>
39
78
  * <p>The following operations are related to <code>DeleteBucketEncryption</code>:</p>
40
79
  * <ul>
41
80
  * <li>
@@ -74,24 +113,18 @@ export interface DeleteBucketEncryptionCommandOutput extends __MetadataBearer {
74
113
  * @throws {@link S3ServiceException}
75
114
  * <p>Base exception class for all service exceptions from S3 service.</p>
76
115
  *
116
+ * @public
77
117
  */
78
- export declare class DeleteBucketEncryptionCommand extends $Command<DeleteBucketEncryptionCommandInput, DeleteBucketEncryptionCommandOutput, S3ClientResolvedConfig> {
79
- readonly input: DeleteBucketEncryptionCommandInput;
80
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
81
- /**
82
- * @public
83
- */
84
- constructor(input: DeleteBucketEncryptionCommandInput);
85
- /**
86
- * @internal
87
- */
88
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: S3ClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteBucketEncryptionCommandInput, DeleteBucketEncryptionCommandOutput>;
89
- /**
90
- * @internal
91
- */
92
- private serialize;
93
- /**
94
- * @internal
95
- */
96
- private deserialize;
118
+ export declare class DeleteBucketEncryptionCommand extends DeleteBucketEncryptionCommand_base {
119
+ /** @internal type navigation helper, not in runtime. */
120
+ protected static __types: {
121
+ api: {
122
+ input: DeleteBucketEncryptionRequest;
123
+ output: {};
124
+ };
125
+ sdk: {
126
+ input: DeleteBucketEncryptionCommandInput;
127
+ output: DeleteBucketEncryptionCommandOutput;
128
+ };
129
+ };
97
130
  }