@aws-sdk/client-s3 3.651.0 → 3.654.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (209) hide show
  1. package/dist-cjs/index.js +33 -14
  2. package/dist-cjs/runtimeConfig.js +3 -0
  3. package/dist-es/S3Client.js +12 -10
  4. package/dist-es/commands/CreateSessionCommand.js +2 -2
  5. package/dist-es/models/models_0.js +7 -0
  6. package/dist-es/protocols/Aws_restXml.js +8 -0
  7. package/dist-es/runtimeConfig.js +3 -0
  8. package/dist-types/S3Client.d.ts +3 -2
  9. package/dist-types/commands/AbortMultipartUploadCommand.d.ts +11 -0
  10. package/dist-types/commands/CompleteMultipartUploadCommand.d.ts +19 -7
  11. package/dist-types/commands/CopyObjectCommand.d.ts +14 -0
  12. package/dist-types/commands/CreateBucketCommand.d.ts +11 -0
  13. package/dist-types/commands/CreateMultipartUploadCommand.d.ts +32 -1
  14. package/dist-types/commands/CreateSessionCommand.d.ts +55 -6
  15. package/dist-types/commands/DeleteBucketAnalyticsConfigurationCommand.d.ts +11 -0
  16. package/dist-types/commands/DeleteBucketCommand.d.ts +11 -0
  17. package/dist-types/commands/DeleteBucketCorsCommand.d.ts +11 -0
  18. package/dist-types/commands/DeleteBucketEncryptionCommand.d.ts +50 -12
  19. package/dist-types/commands/DeleteBucketIntelligentTieringConfigurationCommand.d.ts +11 -0
  20. package/dist-types/commands/DeleteBucketInventoryConfigurationCommand.d.ts +11 -0
  21. package/dist-types/commands/DeleteBucketLifecycleCommand.d.ts +11 -0
  22. package/dist-types/commands/DeleteBucketMetricsConfigurationCommand.d.ts +11 -0
  23. package/dist-types/commands/DeleteBucketOwnershipControlsCommand.d.ts +11 -0
  24. package/dist-types/commands/DeleteBucketPolicyCommand.d.ts +11 -0
  25. package/dist-types/commands/DeleteBucketReplicationCommand.d.ts +11 -0
  26. package/dist-types/commands/DeleteBucketTaggingCommand.d.ts +11 -0
  27. package/dist-types/commands/DeleteBucketWebsiteCommand.d.ts +11 -0
  28. package/dist-types/commands/DeleteObjectCommand.d.ts +11 -0
  29. package/dist-types/commands/DeleteObjectTaggingCommand.d.ts +11 -0
  30. package/dist-types/commands/DeleteObjectsCommand.d.ts +11 -0
  31. package/dist-types/commands/DeletePublicAccessBlockCommand.d.ts +11 -0
  32. package/dist-types/commands/GetBucketAccelerateConfigurationCommand.d.ts +11 -0
  33. package/dist-types/commands/GetBucketAclCommand.d.ts +11 -0
  34. package/dist-types/commands/GetBucketAnalyticsConfigurationCommand.d.ts +11 -0
  35. package/dist-types/commands/GetBucketCorsCommand.d.ts +11 -0
  36. package/dist-types/commands/GetBucketEncryptionCommand.d.ts +51 -11
  37. package/dist-types/commands/GetBucketIntelligentTieringConfigurationCommand.d.ts +11 -0
  38. package/dist-types/commands/GetBucketInventoryConfigurationCommand.d.ts +11 -0
  39. package/dist-types/commands/GetBucketLifecycleConfigurationCommand.d.ts +11 -0
  40. package/dist-types/commands/GetBucketLocationCommand.d.ts +11 -0
  41. package/dist-types/commands/GetBucketLoggingCommand.d.ts +11 -0
  42. package/dist-types/commands/GetBucketMetricsConfigurationCommand.d.ts +11 -0
  43. package/dist-types/commands/GetBucketNotificationConfigurationCommand.d.ts +11 -0
  44. package/dist-types/commands/GetBucketOwnershipControlsCommand.d.ts +11 -0
  45. package/dist-types/commands/GetBucketPolicyCommand.d.ts +11 -0
  46. package/dist-types/commands/GetBucketPolicyStatusCommand.d.ts +11 -0
  47. package/dist-types/commands/GetBucketReplicationCommand.d.ts +11 -0
  48. package/dist-types/commands/GetBucketRequestPaymentCommand.d.ts +11 -0
  49. package/dist-types/commands/GetBucketTaggingCommand.d.ts +11 -0
  50. package/dist-types/commands/GetBucketVersioningCommand.d.ts +11 -0
  51. package/dist-types/commands/GetBucketWebsiteCommand.d.ts +11 -0
  52. package/dist-types/commands/GetObjectAclCommand.d.ts +11 -0
  53. package/dist-types/commands/GetObjectAttributesCommand.d.ts +19 -2
  54. package/dist-types/commands/GetObjectCommand.d.ts +17 -0
  55. package/dist-types/commands/GetObjectLegalHoldCommand.d.ts +11 -0
  56. package/dist-types/commands/GetObjectLockConfigurationCommand.d.ts +11 -0
  57. package/dist-types/commands/GetObjectRetentionCommand.d.ts +11 -0
  58. package/dist-types/commands/GetObjectTaggingCommand.d.ts +11 -0
  59. package/dist-types/commands/GetObjectTorrentCommand.d.ts +11 -0
  60. package/dist-types/commands/GetPublicAccessBlockCommand.d.ts +11 -0
  61. package/dist-types/commands/HeadBucketCommand.d.ts +11 -0
  62. package/dist-types/commands/HeadObjectCommand.d.ts +16 -1
  63. package/dist-types/commands/ListBucketAnalyticsConfigurationsCommand.d.ts +11 -0
  64. package/dist-types/commands/ListBucketIntelligentTieringConfigurationsCommand.d.ts +11 -0
  65. package/dist-types/commands/ListBucketInventoryConfigurationsCommand.d.ts +11 -0
  66. package/dist-types/commands/ListBucketMetricsConfigurationsCommand.d.ts +11 -0
  67. package/dist-types/commands/ListBucketsCommand.d.ts +11 -0
  68. package/dist-types/commands/ListDirectoryBucketsCommand.d.ts +11 -0
  69. package/dist-types/commands/ListMultipartUploadsCommand.d.ts +11 -0
  70. package/dist-types/commands/ListObjectVersionsCommand.d.ts +11 -0
  71. package/dist-types/commands/ListObjectsCommand.d.ts +11 -0
  72. package/dist-types/commands/ListObjectsV2Command.d.ts +11 -0
  73. package/dist-types/commands/ListPartsCommand.d.ts +11 -0
  74. package/dist-types/commands/PutBucketAccelerateConfigurationCommand.d.ts +11 -0
  75. package/dist-types/commands/PutBucketAclCommand.d.ts +11 -0
  76. package/dist-types/commands/PutBucketAnalyticsConfigurationCommand.d.ts +11 -0
  77. package/dist-types/commands/PutBucketCorsCommand.d.ts +11 -0
  78. package/dist-types/commands/PutBucketEncryptionCommand.d.ts +99 -15
  79. package/dist-types/commands/PutBucketIntelligentTieringConfigurationCommand.d.ts +11 -0
  80. package/dist-types/commands/PutBucketInventoryConfigurationCommand.d.ts +11 -0
  81. package/dist-types/commands/PutBucketLifecycleConfigurationCommand.d.ts +11 -0
  82. package/dist-types/commands/PutBucketLoggingCommand.d.ts +11 -0
  83. package/dist-types/commands/PutBucketMetricsConfigurationCommand.d.ts +11 -0
  84. package/dist-types/commands/PutBucketNotificationConfigurationCommand.d.ts +11 -0
  85. package/dist-types/commands/PutBucketOwnershipControlsCommand.d.ts +11 -0
  86. package/dist-types/commands/PutBucketPolicyCommand.d.ts +11 -0
  87. package/dist-types/commands/PutBucketReplicationCommand.d.ts +11 -0
  88. package/dist-types/commands/PutBucketRequestPaymentCommand.d.ts +11 -0
  89. package/dist-types/commands/PutBucketTaggingCommand.d.ts +11 -0
  90. package/dist-types/commands/PutBucketVersioningCommand.d.ts +11 -0
  91. package/dist-types/commands/PutBucketWebsiteCommand.d.ts +11 -0
  92. package/dist-types/commands/PutObjectAclCommand.d.ts +11 -0
  93. package/dist-types/commands/PutObjectCommand.d.ts +14 -0
  94. package/dist-types/commands/PutObjectLegalHoldCommand.d.ts +11 -0
  95. package/dist-types/commands/PutObjectLockConfigurationCommand.d.ts +11 -0
  96. package/dist-types/commands/PutObjectRetentionCommand.d.ts +11 -0
  97. package/dist-types/commands/PutObjectTaggingCommand.d.ts +11 -0
  98. package/dist-types/commands/PutPublicAccessBlockCommand.d.ts +11 -0
  99. package/dist-types/commands/RestoreObjectCommand.d.ts +11 -0
  100. package/dist-types/commands/SelectObjectContentCommand.d.ts +11 -0
  101. package/dist-types/commands/UploadPartCommand.d.ts +18 -4
  102. package/dist-types/commands/UploadPartCopyCommand.d.ts +22 -1
  103. package/dist-types/commands/WriteGetObjectResponseCommand.d.ts +11 -0
  104. package/dist-types/models/models_0.d.ts +327 -148
  105. package/dist-types/models/models_1.d.ts +73 -79
  106. package/dist-types/runtimeConfig.browser.d.ts +2 -0
  107. package/dist-types/runtimeConfig.d.ts +2 -0
  108. package/dist-types/runtimeConfig.native.d.ts +2 -0
  109. package/dist-types/ts3.4/S3Client.d.ts +6 -0
  110. package/dist-types/ts3.4/commands/AbortMultipartUploadCommand.d.ts +12 -1
  111. package/dist-types/ts3.4/commands/CompleteMultipartUploadCommand.d.ts +12 -1
  112. package/dist-types/ts3.4/commands/CopyObjectCommand.d.ts +12 -1
  113. package/dist-types/ts3.4/commands/CreateBucketCommand.d.ts +12 -1
  114. package/dist-types/ts3.4/commands/CreateMultipartUploadCommand.d.ts +12 -1
  115. package/dist-types/ts3.4/commands/CreateSessionCommand.d.ts +12 -1
  116. package/dist-types/ts3.4/commands/DeleteBucketAnalyticsConfigurationCommand.d.ts +12 -1
  117. package/dist-types/ts3.4/commands/DeleteBucketCommand.d.ts +12 -1
  118. package/dist-types/ts3.4/commands/DeleteBucketCorsCommand.d.ts +12 -1
  119. package/dist-types/ts3.4/commands/DeleteBucketEncryptionCommand.d.ts +12 -1
  120. package/dist-types/ts3.4/commands/DeleteBucketIntelligentTieringConfigurationCommand.d.ts +12 -1
  121. package/dist-types/ts3.4/commands/DeleteBucketInventoryConfigurationCommand.d.ts +12 -1
  122. package/dist-types/ts3.4/commands/DeleteBucketLifecycleCommand.d.ts +12 -1
  123. package/dist-types/ts3.4/commands/DeleteBucketMetricsConfigurationCommand.d.ts +12 -1
  124. package/dist-types/ts3.4/commands/DeleteBucketOwnershipControlsCommand.d.ts +12 -1
  125. package/dist-types/ts3.4/commands/DeleteBucketPolicyCommand.d.ts +12 -1
  126. package/dist-types/ts3.4/commands/DeleteBucketReplicationCommand.d.ts +12 -1
  127. package/dist-types/ts3.4/commands/DeleteBucketTaggingCommand.d.ts +12 -1
  128. package/dist-types/ts3.4/commands/DeleteBucketWebsiteCommand.d.ts +12 -1
  129. package/dist-types/ts3.4/commands/DeleteObjectCommand.d.ts +12 -1
  130. package/dist-types/ts3.4/commands/DeleteObjectTaggingCommand.d.ts +12 -1
  131. package/dist-types/ts3.4/commands/DeleteObjectsCommand.d.ts +12 -1
  132. package/dist-types/ts3.4/commands/DeletePublicAccessBlockCommand.d.ts +12 -1
  133. package/dist-types/ts3.4/commands/GetBucketAccelerateConfigurationCommand.d.ts +12 -1
  134. package/dist-types/ts3.4/commands/GetBucketAclCommand.d.ts +12 -1
  135. package/dist-types/ts3.4/commands/GetBucketAnalyticsConfigurationCommand.d.ts +12 -1
  136. package/dist-types/ts3.4/commands/GetBucketCorsCommand.d.ts +12 -1
  137. package/dist-types/ts3.4/commands/GetBucketEncryptionCommand.d.ts +12 -1
  138. package/dist-types/ts3.4/commands/GetBucketIntelligentTieringConfigurationCommand.d.ts +12 -1
  139. package/dist-types/ts3.4/commands/GetBucketInventoryConfigurationCommand.d.ts +12 -1
  140. package/dist-types/ts3.4/commands/GetBucketLifecycleConfigurationCommand.d.ts +12 -1
  141. package/dist-types/ts3.4/commands/GetBucketLocationCommand.d.ts +12 -1
  142. package/dist-types/ts3.4/commands/GetBucketLoggingCommand.d.ts +12 -1
  143. package/dist-types/ts3.4/commands/GetBucketMetricsConfigurationCommand.d.ts +12 -1
  144. package/dist-types/ts3.4/commands/GetBucketNotificationConfigurationCommand.d.ts +12 -1
  145. package/dist-types/ts3.4/commands/GetBucketOwnershipControlsCommand.d.ts +12 -1
  146. package/dist-types/ts3.4/commands/GetBucketPolicyCommand.d.ts +12 -1
  147. package/dist-types/ts3.4/commands/GetBucketPolicyStatusCommand.d.ts +12 -1
  148. package/dist-types/ts3.4/commands/GetBucketReplicationCommand.d.ts +12 -1
  149. package/dist-types/ts3.4/commands/GetBucketRequestPaymentCommand.d.ts +12 -1
  150. package/dist-types/ts3.4/commands/GetBucketTaggingCommand.d.ts +12 -1
  151. package/dist-types/ts3.4/commands/GetBucketVersioningCommand.d.ts +12 -1
  152. package/dist-types/ts3.4/commands/GetBucketWebsiteCommand.d.ts +12 -1
  153. package/dist-types/ts3.4/commands/GetObjectAclCommand.d.ts +12 -1
  154. package/dist-types/ts3.4/commands/GetObjectAttributesCommand.d.ts +12 -1
  155. package/dist-types/ts3.4/commands/GetObjectCommand.d.ts +12 -1
  156. package/dist-types/ts3.4/commands/GetObjectLegalHoldCommand.d.ts +12 -1
  157. package/dist-types/ts3.4/commands/GetObjectLockConfigurationCommand.d.ts +12 -1
  158. package/dist-types/ts3.4/commands/GetObjectRetentionCommand.d.ts +12 -1
  159. package/dist-types/ts3.4/commands/GetObjectTaggingCommand.d.ts +12 -1
  160. package/dist-types/ts3.4/commands/GetObjectTorrentCommand.d.ts +12 -1
  161. package/dist-types/ts3.4/commands/GetPublicAccessBlockCommand.d.ts +12 -1
  162. package/dist-types/ts3.4/commands/HeadBucketCommand.d.ts +12 -1
  163. package/dist-types/ts3.4/commands/HeadObjectCommand.d.ts +12 -1
  164. package/dist-types/ts3.4/commands/ListBucketAnalyticsConfigurationsCommand.d.ts +12 -1
  165. package/dist-types/ts3.4/commands/ListBucketIntelligentTieringConfigurationsCommand.d.ts +12 -1
  166. package/dist-types/ts3.4/commands/ListBucketInventoryConfigurationsCommand.d.ts +12 -1
  167. package/dist-types/ts3.4/commands/ListBucketMetricsConfigurationsCommand.d.ts +12 -1
  168. package/dist-types/ts3.4/commands/ListBucketsCommand.d.ts +12 -1
  169. package/dist-types/ts3.4/commands/ListDirectoryBucketsCommand.d.ts +12 -1
  170. package/dist-types/ts3.4/commands/ListMultipartUploadsCommand.d.ts +12 -1
  171. package/dist-types/ts3.4/commands/ListObjectVersionsCommand.d.ts +12 -1
  172. package/dist-types/ts3.4/commands/ListObjectsCommand.d.ts +12 -1
  173. package/dist-types/ts3.4/commands/ListObjectsV2Command.d.ts +12 -1
  174. package/dist-types/ts3.4/commands/ListPartsCommand.d.ts +12 -1
  175. package/dist-types/ts3.4/commands/PutBucketAccelerateConfigurationCommand.d.ts +12 -1
  176. package/dist-types/ts3.4/commands/PutBucketAclCommand.d.ts +12 -1
  177. package/dist-types/ts3.4/commands/PutBucketAnalyticsConfigurationCommand.d.ts +12 -1
  178. package/dist-types/ts3.4/commands/PutBucketCorsCommand.d.ts +12 -1
  179. package/dist-types/ts3.4/commands/PutBucketEncryptionCommand.d.ts +12 -1
  180. package/dist-types/ts3.4/commands/PutBucketIntelligentTieringConfigurationCommand.d.ts +12 -1
  181. package/dist-types/ts3.4/commands/PutBucketInventoryConfigurationCommand.d.ts +12 -1
  182. package/dist-types/ts3.4/commands/PutBucketLifecycleConfigurationCommand.d.ts +12 -1
  183. package/dist-types/ts3.4/commands/PutBucketLoggingCommand.d.ts +12 -1
  184. package/dist-types/ts3.4/commands/PutBucketMetricsConfigurationCommand.d.ts +12 -1
  185. package/dist-types/ts3.4/commands/PutBucketNotificationConfigurationCommand.d.ts +12 -1
  186. package/dist-types/ts3.4/commands/PutBucketOwnershipControlsCommand.d.ts +12 -1
  187. package/dist-types/ts3.4/commands/PutBucketPolicyCommand.d.ts +12 -1
  188. package/dist-types/ts3.4/commands/PutBucketReplicationCommand.d.ts +12 -1
  189. package/dist-types/ts3.4/commands/PutBucketRequestPaymentCommand.d.ts +12 -1
  190. package/dist-types/ts3.4/commands/PutBucketTaggingCommand.d.ts +12 -1
  191. package/dist-types/ts3.4/commands/PutBucketVersioningCommand.d.ts +12 -1
  192. package/dist-types/ts3.4/commands/PutBucketWebsiteCommand.d.ts +12 -1
  193. package/dist-types/ts3.4/commands/PutObjectAclCommand.d.ts +12 -1
  194. package/dist-types/ts3.4/commands/PutObjectCommand.d.ts +12 -1
  195. package/dist-types/ts3.4/commands/PutObjectLegalHoldCommand.d.ts +12 -1
  196. package/dist-types/ts3.4/commands/PutObjectLockConfigurationCommand.d.ts +12 -1
  197. package/dist-types/ts3.4/commands/PutObjectRetentionCommand.d.ts +12 -1
  198. package/dist-types/ts3.4/commands/PutObjectTaggingCommand.d.ts +12 -1
  199. package/dist-types/ts3.4/commands/PutPublicAccessBlockCommand.d.ts +12 -1
  200. package/dist-types/ts3.4/commands/RestoreObjectCommand.d.ts +12 -1
  201. package/dist-types/ts3.4/commands/SelectObjectContentCommand.d.ts +12 -1
  202. package/dist-types/ts3.4/commands/UploadPartCommand.d.ts +12 -1
  203. package/dist-types/ts3.4/commands/UploadPartCopyCommand.d.ts +12 -1
  204. package/dist-types/ts3.4/commands/WriteGetObjectResponseCommand.d.ts +12 -1
  205. package/dist-types/ts3.4/models/models_0.d.ts +11 -0
  206. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +12 -0
  207. package/dist-types/ts3.4/runtimeConfig.d.ts +10 -0
  208. package/dist-types/ts3.4/runtimeConfig.native.d.ts +12 -0
  209. package/package.json +52 -52
@@ -27,17 +27,70 @@ declare const PutBucketEncryptionCommand_base: {
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
- * <note>
31
- * <p>This operation is not supported by directory buckets.</p>
32
- * </note>
33
- * <p>This action uses the <code>encryption</code> subresource to configure default encryption
30
+ * <p>This operation configures default encryption
34
31
  * and Amazon S3 Bucket Keys for an existing bucket.</p>
32
+ * <note>
33
+ * <p>
34
+ * <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>
35
+ * </code>. Virtual-hosted-style requests aren't supported.
36
+ * 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
37
+ * <i>Amazon S3 User Guide</i>.</p>
38
+ * </note>
35
39
  * <p>By default, all buckets have a default encryption configuration that uses server-side
36
- * encryption with Amazon S3 managed keys (SSE-S3). You can optionally configure default encryption
37
- * for a bucket by using server-side encryption with Key Management Service (KMS) keys (SSE-KMS) or
38
- * dual-layer server-side encryption with Amazon Web Services KMS keys (DSSE-KMS). If you specify default encryption by using
39
- * SSE-KMS, you can also configure <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/bucket-key.html">Amazon S3 Bucket
40
- * Keys</a>. If you use PutBucketEncryption to set your <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/bucket-encryption.html">default bucket encryption</a> to SSE-KMS, you should verify that your KMS key ID is correct. Amazon S3 does not validate the KMS key ID provided in PutBucketEncryption requests.</p>
40
+ * encryption with Amazon S3 managed keys (SSE-S3).</p>
41
+ * <note>
42
+ * <ul>
43
+ * <li>
44
+ * <p>
45
+ * <b>General purpose buckets</b>
46
+ * </p>
47
+ * <ul>
48
+ * <li>
49
+ * <p>You can optionally configure default encryption
50
+ * for a bucket by using server-side encryption with Key Management Service (KMS) keys (SSE-KMS) or
51
+ * dual-layer server-side encryption with Amazon Web Services KMS keys (DSSE-KMS).
52
+ * If you specify default encryption by using
53
+ * SSE-KMS, you can also configure <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/bucket-key.html">Amazon S3 Bucket
54
+ * Keys</a>. For information about the bucket default
55
+ * encryption feature, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/bucket-encryption.html">Amazon S3 Bucket Default Encryption</a>
56
+ * in the <i>Amazon S3 User Guide</i>.
57
+ * </p>
58
+ * </li>
59
+ * <li>
60
+ * <p>If you use PutBucketEncryption to set your <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/bucket-encryption.html">default bucket encryption</a> to SSE-KMS, you should verify that your KMS key ID is correct. Amazon S3 doesn't validate the KMS key ID provided in PutBucketEncryption requests.</p>
61
+ * </li>
62
+ * </ul>
63
+ * </li>
64
+ * <li>
65
+ * <p>
66
+ * <b>Directory buckets </b> - You can optionally configure default encryption
67
+ * for a bucket by using server-side encryption with Key Management Service (KMS) keys (SSE-KMS).</p>
68
+ * <ul>
69
+ * <li>
70
+ * <p>We recommend that the bucket's default encryption uses the desired encryption configuration and you don't override the bucket default encryption in your
71
+ * <code>CreateSession</code> requests or <code>PUT</code> object requests. Then, new objects
72
+ * are automatically encrypted with the desired encryption settings. 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>
73
+ * </li>
74
+ * <li>
75
+ * <p>Your SSE-KMS configuration can only support 1 <a href="https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#customer-cmk">customer managed key</a> per directory bucket for the lifetime of the bucket.
76
+ * <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.
77
+ * </p>
78
+ * </li>
79
+ * <li>
80
+ * <p>S3 Bucket Keys are always enabled for <code>GET</code> and <code>PUT</code> operations in a directory bucket and can’t be disabled. S3 Bucket Keys aren't supported, when you copy SSE-KMS encrypted objects from general purpose buckets
81
+ * to directory buckets, from directory buckets to general purpose buckets, or between directory buckets, through <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_CopyObject.html">CopyObject</a>, <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_UploadPartCopy.html">UploadPartCopy</a>, <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/directory-buckets-objects-Batch-Ops">the Copy operation in Batch Operations</a>, or
82
+ * <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/create-import-job">the import jobs</a>. In this case, Amazon S3 makes a call to KMS every time a copy request is made for a KMS-encrypted object.</p>
83
+ * </li>
84
+ * <li>
85
+ * <p>When you specify an <a href="https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#customer-cmk">KMS customer managed key</a> for encryption in your directory bucket, only use the key ID or key ARN. The key alias format of the KMS key isn't supported.</p>
86
+ * </li>
87
+ * <li>
88
+ * <p>For directory buckets, if you use PutBucketEncryption to set your <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/bucket-encryption.html">default bucket encryption</a> to SSE-KMS, Amazon S3 validates the KMS key ID provided in PutBucketEncryption requests.</p>
89
+ * </li>
90
+ * </ul>
91
+ * </li>
92
+ * </ul>
93
+ * </note>
41
94
  * <important>
42
95
  * <p>If you're specifying a customer managed KMS key, we recommend using a fully qualified
43
96
  * KMS key ARN. If you use a KMS key alias instead, then KMS resolves the key within the
@@ -46,12 +99,32 @@ declare const PutBucketEncryptionCommand_base: {
46
99
  * <p>Also, this action requires Amazon Web Services Signature Version 4. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/sig-v4-authenticating-requests.html">
47
100
  * Authenticating Requests (Amazon Web Services Signature Version 4)</a>. </p>
48
101
  * </important>
49
- * <p>To use this operation, you must have permission to perform the
50
- * <code>s3:PutEncryptionConfiguration</code> action. The bucket owner has this permission
51
- * by default. The bucket owner can grant this permission to others. For more information
52
- * 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
53
- * Access Permissions to Your Amazon S3 Resources</a> in the
54
- * <i>Amazon S3 User Guide</i>. </p>
102
+ * <dl>
103
+ * <dt>Permissions</dt>
104
+ * <dd>
105
+ * <ul>
106
+ * <li>
107
+ * <p>
108
+ * <b>General purpose bucket permissions</b> - The <code>s3:PutEncryptionConfiguration</code> permission is required in a policy.
109
+ * The bucket owner has this permission
110
+ * by default. The bucket owner can grant this permission to others. For more information
111
+ * 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 Operations</a> and <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-access-control.html">Managing
112
+ * Access Permissions to Your Amazon S3 Resources</a> in the
113
+ * <i>Amazon S3 User Guide</i>.</p>
114
+ * </li>
115
+ * <li>
116
+ * <p>
117
+ * <b>Directory bucket permissions</b> - To grant access to this API operation, you must have the <code>s3express:PutEncryptionConfiguration</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>
118
+ * <p>To set a directory bucket default encryption with SSE-KMS, you must also have the <code>kms:GenerateDataKey</code> and the <code>kms:Decrypt</code> permissions in IAM identity-based policies and KMS key policies for the target KMS key.</p>
119
+ * </li>
120
+ * </ul>
121
+ * </dd>
122
+ * <dt>HTTP Host header syntax</dt>
123
+ * <dd>
124
+ * <p>
125
+ * <b>Directory buckets </b> - The HTTP Host header syntax is <code>s3express-control.<i>region</i>.amazonaws.com</code>.</p>
126
+ * </dd>
127
+ * </dl>
55
128
  * <p>The following operations are related to <code>PutBucketEncryption</code>:</p>
56
129
  * <ul>
57
130
  * <li>
@@ -106,4 +179,15 @@ declare const PutBucketEncryptionCommand_base: {
106
179
  * @public
107
180
  */
108
181
  export declare class PutBucketEncryptionCommand extends PutBucketEncryptionCommand_base {
182
+ /** @internal type navigation helper, not in runtime. */
183
+ protected static __types: {
184
+ api: {
185
+ input: PutBucketEncryptionRequest;
186
+ output: {};
187
+ };
188
+ sdk: {
189
+ input: PutBucketEncryptionCommandInput;
190
+ output: PutBucketEncryptionCommandOutput;
191
+ };
192
+ };
109
193
  }
@@ -139,4 +139,15 @@ declare const PutBucketIntelligentTieringConfigurationCommand_base: {
139
139
  * @public
140
140
  */
141
141
  export declare class PutBucketIntelligentTieringConfigurationCommand extends PutBucketIntelligentTieringConfigurationCommand_base {
142
+ /** @internal type navigation helper, not in runtime. */
143
+ protected static __types: {
144
+ api: {
145
+ input: PutBucketIntelligentTieringConfigurationRequest;
146
+ output: {};
147
+ };
148
+ sdk: {
149
+ input: PutBucketIntelligentTieringConfigurationCommandInput;
150
+ output: PutBucketIntelligentTieringConfigurationCommandOutput;
151
+ };
152
+ };
142
153
  }
@@ -171,4 +171,15 @@ declare const PutBucketInventoryConfigurationCommand_base: {
171
171
  * @public
172
172
  */
173
173
  export declare class PutBucketInventoryConfigurationCommand extends PutBucketInventoryConfigurationCommand_base {
174
+ /** @internal type navigation helper, not in runtime. */
175
+ protected static __types: {
176
+ api: {
177
+ input: PutBucketInventoryConfigurationRequest;
178
+ output: {};
179
+ };
180
+ sdk: {
181
+ input: PutBucketInventoryConfigurationCommandInput;
182
+ output: PutBucketInventoryConfigurationCommandOutput;
183
+ };
184
+ };
174
185
  }
@@ -234,4 +234,15 @@ declare const PutBucketLifecycleConfigurationCommand_base: {
234
234
  *
235
235
  */
236
236
  export declare class PutBucketLifecycleConfigurationCommand extends PutBucketLifecycleConfigurationCommand_base {
237
+ /** @internal type navigation helper, not in runtime. */
238
+ protected static __types: {
239
+ api: {
240
+ input: PutBucketLifecycleConfigurationRequest;
241
+ output: {};
242
+ };
243
+ sdk: {
244
+ input: PutBucketLifecycleConfigurationCommandInput;
245
+ output: PutBucketLifecycleConfigurationCommandOutput;
246
+ };
247
+ };
237
248
  }
@@ -195,4 +195,15 @@ declare const PutBucketLoggingCommand_base: {
195
195
  *
196
196
  */
197
197
  export declare class PutBucketLoggingCommand extends PutBucketLoggingCommand_base {
198
+ /** @internal type navigation helper, not in runtime. */
199
+ protected static __types: {
200
+ api: {
201
+ input: PutBucketLoggingRequest;
202
+ output: {};
203
+ };
204
+ sdk: {
205
+ input: PutBucketLoggingCommandInput;
206
+ output: PutBucketLoggingCommandOutput;
207
+ };
208
+ };
198
209
  }
@@ -127,4 +127,15 @@ declare const PutBucketMetricsConfigurationCommand_base: {
127
127
  * @public
128
128
  */
129
129
  export declare class PutBucketMetricsConfigurationCommand extends PutBucketMetricsConfigurationCommand_base {
130
+ /** @internal type navigation helper, not in runtime. */
131
+ protected static __types: {
132
+ api: {
133
+ input: PutBucketMetricsConfigurationRequest;
134
+ output: {};
135
+ };
136
+ sdk: {
137
+ input: PutBucketMetricsConfigurationCommandInput;
138
+ output: PutBucketMetricsConfigurationCommandOutput;
139
+ };
140
+ };
130
141
  }
@@ -192,4 +192,15 @@ declare const PutBucketNotificationConfigurationCommand_base: {
192
192
  *
193
193
  */
194
194
  export declare class PutBucketNotificationConfigurationCommand extends PutBucketNotificationConfigurationCommand_base {
195
+ /** @internal type navigation helper, not in runtime. */
196
+ protected static __types: {
197
+ api: {
198
+ input: PutBucketNotificationConfigurationRequest;
199
+ output: {};
200
+ };
201
+ sdk: {
202
+ input: PutBucketNotificationConfigurationCommandInput;
203
+ output: PutBucketNotificationConfigurationCommandOutput;
204
+ };
205
+ };
195
206
  }
@@ -85,4 +85,15 @@ declare const PutBucketOwnershipControlsCommand_base: {
85
85
  * @public
86
86
  */
87
87
  export declare class PutBucketOwnershipControlsCommand extends PutBucketOwnershipControlsCommand_base {
88
+ /** @internal type navigation helper, not in runtime. */
89
+ protected static __types: {
90
+ api: {
91
+ input: PutBucketOwnershipControlsRequest;
92
+ output: {};
93
+ };
94
+ sdk: {
95
+ input: PutBucketOwnershipControlsCommandInput;
96
+ output: PutBucketOwnershipControlsCommandOutput;
97
+ };
98
+ };
88
99
  }
@@ -138,4 +138,15 @@ declare const PutBucketPolicyCommand_base: {
138
138
  *
139
139
  */
140
140
  export declare class PutBucketPolicyCommand extends PutBucketPolicyCommand_base {
141
+ /** @internal type navigation helper, not in runtime. */
142
+ protected static __types: {
143
+ api: {
144
+ input: PutBucketPolicyRequest;
145
+ output: {};
146
+ };
147
+ sdk: {
148
+ input: PutBucketPolicyCommandInput;
149
+ output: PutBucketPolicyCommandOutput;
150
+ };
151
+ };
141
152
  }
@@ -220,4 +220,15 @@ declare const PutBucketReplicationCommand_base: {
220
220
  *
221
221
  */
222
222
  export declare class PutBucketReplicationCommand extends PutBucketReplicationCommand_base {
223
+ /** @internal type navigation helper, not in runtime. */
224
+ protected static __types: {
225
+ api: {
226
+ input: PutBucketReplicationRequest;
227
+ output: {};
228
+ };
229
+ sdk: {
230
+ input: PutBucketReplicationCommandInput;
231
+ output: PutBucketReplicationCommandOutput;
232
+ };
233
+ };
223
234
  }
@@ -95,4 +95,15 @@ declare const PutBucketRequestPaymentCommand_base: {
95
95
  *
96
96
  */
97
97
  export declare class PutBucketRequestPaymentCommand extends PutBucketRequestPaymentCommand_base {
98
+ /** @internal type navigation helper, not in runtime. */
99
+ protected static __types: {
100
+ api: {
101
+ input: PutBucketRequestPaymentRequest;
102
+ output: {};
103
+ };
104
+ sdk: {
105
+ input: PutBucketRequestPaymentCommandInput;
106
+ output: PutBucketRequestPaymentCommandOutput;
107
+ };
108
+ };
98
109
  }
@@ -149,4 +149,15 @@ declare const PutBucketTaggingCommand_base: {
149
149
  *
150
150
  */
151
151
  export declare class PutBucketTaggingCommand extends PutBucketTaggingCommand_base {
152
+ /** @internal type navigation helper, not in runtime. */
153
+ protected static __types: {
154
+ api: {
155
+ input: PutBucketTaggingRequest;
156
+ output: {};
157
+ };
158
+ sdk: {
159
+ input: PutBucketTaggingCommandInput;
160
+ output: PutBucketTaggingCommandOutput;
161
+ };
162
+ };
152
163
  }
@@ -130,4 +130,15 @@ declare const PutBucketVersioningCommand_base: {
130
130
  *
131
131
  */
132
132
  export declare class PutBucketVersioningCommand extends PutBucketVersioningCommand_base {
133
+ /** @internal type navigation helper, not in runtime. */
134
+ protected static __types: {
135
+ api: {
136
+ input: PutBucketVersioningRequest;
137
+ output: {};
138
+ };
139
+ sdk: {
140
+ input: PutBucketVersioningCommandInput;
141
+ output: PutBucketVersioningCommandOutput;
142
+ };
143
+ };
133
144
  }
@@ -230,4 +230,15 @@ declare const PutBucketWebsiteCommand_base: {
230
230
  *
231
231
  */
232
232
  export declare class PutBucketWebsiteCommand extends PutBucketWebsiteCommand_base {
233
+ /** @internal type navigation helper, not in runtime. */
234
+ protected static __types: {
235
+ api: {
236
+ input: PutBucketWebsiteRequest;
237
+ output: {};
238
+ };
239
+ sdk: {
240
+ input: PutBucketWebsiteCommandInput;
241
+ output: PutBucketWebsiteCommandOutput;
242
+ };
243
+ };
233
244
  }
@@ -293,4 +293,15 @@ declare const PutObjectAclCommand_base: {
293
293
  *
294
294
  */
295
295
  export declare class PutObjectAclCommand extends PutObjectAclCommand_base {
296
+ /** @internal type navigation helper, not in runtime. */
297
+ protected static __types: {
298
+ api: {
299
+ input: PutObjectAclRequest;
300
+ output: PutObjectAclOutput;
301
+ };
302
+ sdk: {
303
+ input: PutObjectAclCommandInput;
304
+ output: PutObjectAclCommandOutput;
305
+ };
306
+ };
296
307
  }
@@ -116,6 +116,9 @@ declare const PutObjectCommand_base: {
116
116
  * Amazon Web Services CLI or SDKs create session and refresh the session token automatically to avoid service interruptions when a session expires. For more information about authorization, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_CreateSession.html">
117
117
  * <code>CreateSession</code>
118
118
  * </a>.</p>
119
+ * <p>If the object is encrypted with
120
+ * SSE-KMS, you must also have the
121
+ * <code>kms:GenerateDataKey</code> and <code>kms:Decrypt</code> permissions in IAM identity-based policies and KMS key policies for the KMS key.</p>
119
122
  * </li>
120
123
  * </ul>
121
124
  * </dd>
@@ -382,4 +385,15 @@ declare const PutObjectCommand_base: {
382
385
  *
383
386
  */
384
387
  export declare class PutObjectCommand extends PutObjectCommand_base {
388
+ /** @internal type navigation helper, not in runtime. */
389
+ protected static __types: {
390
+ api: {
391
+ input: PutObjectRequest;
392
+ output: PutObjectOutput;
393
+ };
394
+ sdk: {
395
+ input: PutObjectCommandInput;
396
+ output: PutObjectCommandOutput;
397
+ };
398
+ };
385
399
  }
@@ -72,4 +72,15 @@ declare const PutObjectLegalHoldCommand_base: {
72
72
  * @public
73
73
  */
74
74
  export declare class PutObjectLegalHoldCommand extends PutObjectLegalHoldCommand_base {
75
+ /** @internal type navigation helper, not in runtime. */
76
+ protected static __types: {
77
+ api: {
78
+ input: PutObjectLegalHoldRequest;
79
+ output: PutObjectLegalHoldOutput;
80
+ };
81
+ sdk: {
82
+ input: PutObjectLegalHoldCommandInput;
83
+ output: PutObjectLegalHoldCommandOutput;
84
+ };
85
+ };
75
86
  }
@@ -95,4 +95,15 @@ declare const PutObjectLockConfigurationCommand_base: {
95
95
  * @public
96
96
  */
97
97
  export declare class PutObjectLockConfigurationCommand extends PutObjectLockConfigurationCommand_base {
98
+ /** @internal type navigation helper, not in runtime. */
99
+ protected static __types: {
100
+ api: {
101
+ input: PutObjectLockConfigurationRequest;
102
+ output: PutObjectLockConfigurationOutput;
103
+ };
104
+ sdk: {
105
+ input: PutObjectLockConfigurationCommandInput;
106
+ output: PutObjectLockConfigurationCommandOutput;
107
+ };
108
+ };
98
109
  }
@@ -75,4 +75,15 @@ declare const PutObjectRetentionCommand_base: {
75
75
  * @public
76
76
  */
77
77
  export declare class PutObjectRetentionCommand extends PutObjectRetentionCommand_base {
78
+ /** @internal type navigation helper, not in runtime. */
79
+ protected static __types: {
80
+ api: {
81
+ input: PutObjectRetentionRequest;
82
+ output: PutObjectRetentionOutput;
83
+ };
84
+ sdk: {
85
+ input: PutObjectRetentionCommandInput;
86
+ output: PutObjectRetentionCommandOutput;
87
+ };
88
+ };
78
89
  }
@@ -155,4 +155,15 @@ declare const PutObjectTaggingCommand_base: {
155
155
  *
156
156
  */
157
157
  export declare class PutObjectTaggingCommand extends PutObjectTaggingCommand_base {
158
+ /** @internal type navigation helper, not in runtime. */
159
+ protected static __types: {
160
+ api: {
161
+ input: PutObjectTaggingRequest;
162
+ output: PutObjectTaggingOutput;
163
+ };
164
+ sdk: {
165
+ input: PutObjectTaggingCommandInput;
166
+ output: PutObjectTaggingCommandOutput;
167
+ };
168
+ };
158
169
  }
@@ -103,4 +103,15 @@ declare const PutPublicAccessBlockCommand_base: {
103
103
  * @public
104
104
  */
105
105
  export declare class PutPublicAccessBlockCommand extends PutPublicAccessBlockCommand_base {
106
+ /** @internal type navigation helper, not in runtime. */
107
+ protected static __types: {
108
+ api: {
109
+ input: PutPublicAccessBlockRequest;
110
+ output: {};
111
+ };
112
+ sdk: {
113
+ input: PutPublicAccessBlockCommandInput;
114
+ output: PutPublicAccessBlockCommandOutput;
115
+ };
116
+ };
106
117
  }
@@ -373,4 +373,15 @@ declare const RestoreObjectCommand_base: {
373
373
  *
374
374
  */
375
375
  export declare class RestoreObjectCommand extends RestoreObjectCommand_base {
376
+ /** @internal type navigation helper, not in runtime. */
377
+ protected static __types: {
378
+ api: {
379
+ input: RestoreObjectRequest;
380
+ output: RestoreObjectOutput;
381
+ };
382
+ sdk: {
383
+ input: RestoreObjectCommandInput;
384
+ output: RestoreObjectCommandOutput;
385
+ };
386
+ };
376
387
  }
@@ -244,4 +244,15 @@ declare const SelectObjectContentCommand_base: {
244
244
  * @public
245
245
  */
246
246
  export declare class SelectObjectContentCommand extends SelectObjectContentCommand_base {
247
+ /** @internal type navigation helper, not in runtime. */
248
+ protected static __types: {
249
+ api: {
250
+ input: SelectObjectContentRequest;
251
+ output: SelectObjectContentOutput;
252
+ };
253
+ sdk: {
254
+ input: SelectObjectContentCommandInput;
255
+ output: SelectObjectContentCommandOutput;
256
+ };
257
+ };
247
258
  }
@@ -89,6 +89,9 @@ declare const UploadPartCommand_base: {
89
89
  * Amazon Web Services CLI or SDKs create session and refresh the session token automatically to avoid service interruptions when a session expires. For more information about authorization, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_CreateSession.html">
90
90
  * <code>CreateSession</code>
91
91
  * </a>.</p>
92
+ * <p>If the object is encrypted with
93
+ * SSE-KMS, you must also have the
94
+ * <code>kms:GenerateDataKey</code> and <code>kms:Decrypt</code> permissions in IAM identity-based policies and KMS key policies for the KMS key.</p>
92
95
  * </li>
93
96
  * </ul>
94
97
  * </dd>
@@ -138,15 +141,15 @@ declare const UploadPartCommand_base: {
138
141
  * <p>x-amz-server-side-encryption-customer-key-MD5</p>
139
142
  * </li>
140
143
  * </ul>
144
+ * <p>
145
+ * For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/UsingServerSideEncryption.html">Using Server-Side
146
+ * Encryption</a> in the <i>Amazon S3 User Guide</i>.</p>
141
147
  * </li>
142
148
  * <li>
143
149
  * <p>
144
- * <b>Directory bucket</b> - For directory buckets, only server-side encryption with Amazon S3 managed keys (SSE-S3) (<code>AES256</code>) is supported. </p>
150
+ * <b>Directory buckets </b> - 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>).</p>
145
151
  * </li>
146
152
  * </ul>
147
- * <p>
148
- * For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/UsingServerSideEncryption.html">Using Server-Side
149
- * Encryption</a> in the <i>Amazon S3 User Guide</i>.</p>
150
153
  * </dd>
151
154
  * <dt>Special errors</dt>
152
155
  * <dd>
@@ -278,4 +281,15 @@ declare const UploadPartCommand_base: {
278
281
  *
279
282
  */
280
283
  export declare class UploadPartCommand extends UploadPartCommand_base {
284
+ /** @internal type navigation helper, not in runtime. */
285
+ protected static __types: {
286
+ api: {
287
+ input: UploadPartRequest;
288
+ output: UploadPartOutput;
289
+ };
290
+ sdk: {
291
+ input: UploadPartCommandInput;
292
+ output: UploadPartCommandOutput;
293
+ };
294
+ };
281
295
  }
@@ -134,6 +134,9 @@ declare const UploadPartCopyCommand_base: {
134
134
  * key cannot be set to <code>ReadOnly</code> on the copy destination. </p>
135
135
  * </li>
136
136
  * </ul>
137
+ * <p>If the object is encrypted with
138
+ * SSE-KMS, you must also have the
139
+ * <code>kms:GenerateDataKey</code> and <code>kms:Decrypt</code> permissions in IAM identity-based policies and KMS key policies for the KMS key.</p>
137
140
  * <p>For example policies, see <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
138
141
  * <i>Amazon S3 User Guide</i>.</p>
139
142
  * </li>
@@ -152,7 +155,14 @@ declare const UploadPartCopyCommand_base: {
152
155
  * </li>
153
156
  * <li>
154
157
  * <p>
155
- * <b>Directory buckets </b> - For directory buckets, only server-side encryption with Amazon S3 managed keys (SSE-S3) (<code>AES256</code>) is supported.</p>
158
+ * <b>Directory buckets </b> - 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>). For more
159
+ * 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>.</p>
160
+ * <note>
161
+ * <p>For directory buckets, when you perform a <code>CreateMultipartUpload</code> operation and an <code>UploadPartCopy</code> operation,
162
+ * the request headers you provide in the <code>CreateMultipartUpload</code> request must match the default encryption configuration of the destination bucket. </p>
163
+ * </note>
164
+ * <p>S3 Bucket Keys aren't supported, when you copy SSE-KMS encrypted objects from general purpose buckets
165
+ * to directory buckets, from directory buckets to general purpose buckets, or between directory buckets, through <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_UploadPartCopy.html">UploadPartCopy</a>. In this case, Amazon S3 makes a call to KMS every time a copy request is made for a KMS-encrypted object.</p>
156
166
  * </li>
157
167
  * </ul>
158
168
  * </dd>
@@ -336,4 +346,15 @@ declare const UploadPartCopyCommand_base: {
336
346
  *
337
347
  */
338
348
  export declare class UploadPartCopyCommand extends UploadPartCopyCommand_base {
349
+ /** @internal type navigation helper, not in runtime. */
350
+ protected static __types: {
351
+ api: {
352
+ input: UploadPartCopyRequest;
353
+ output: UploadPartCopyOutput;
354
+ };
355
+ sdk: {
356
+ input: UploadPartCopyCommandInput;
357
+ output: UploadPartCopyCommandOutput;
358
+ };
359
+ };
339
360
  }
@@ -133,4 +133,15 @@ declare const WriteGetObjectResponseCommand_base: {
133
133
  * @public
134
134
  */
135
135
  export declare class WriteGetObjectResponseCommand extends WriteGetObjectResponseCommand_base {
136
+ /** @internal type navigation helper, not in runtime. */
137
+ protected static __types: {
138
+ api: {
139
+ input: WriteGetObjectResponseRequest;
140
+ output: {};
141
+ };
142
+ sdk: {
143
+ input: WriteGetObjectResponseCommandInput;
144
+ output: WriteGetObjectResponseCommandOutput;
145
+ };
146
+ };
136
147
  }