@aws-sdk/client-s3 3.651.1 → 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 (204) hide show
  1. package/dist-cjs/index.js +20 -3
  2. package/dist-es/commands/CreateSessionCommand.js +2 -2
  3. package/dist-es/models/models_0.js +7 -0
  4. package/dist-es/protocols/Aws_restXml.js +8 -0
  5. package/dist-types/commands/AbortMultipartUploadCommand.d.ts +11 -0
  6. package/dist-types/commands/CompleteMultipartUploadCommand.d.ts +19 -7
  7. package/dist-types/commands/CopyObjectCommand.d.ts +14 -0
  8. package/dist-types/commands/CreateBucketCommand.d.ts +11 -0
  9. package/dist-types/commands/CreateMultipartUploadCommand.d.ts +32 -1
  10. package/dist-types/commands/CreateSessionCommand.d.ts +55 -6
  11. package/dist-types/commands/DeleteBucketAnalyticsConfigurationCommand.d.ts +11 -0
  12. package/dist-types/commands/DeleteBucketCommand.d.ts +11 -0
  13. package/dist-types/commands/DeleteBucketCorsCommand.d.ts +11 -0
  14. package/dist-types/commands/DeleteBucketEncryptionCommand.d.ts +50 -12
  15. package/dist-types/commands/DeleteBucketIntelligentTieringConfigurationCommand.d.ts +11 -0
  16. package/dist-types/commands/DeleteBucketInventoryConfigurationCommand.d.ts +11 -0
  17. package/dist-types/commands/DeleteBucketLifecycleCommand.d.ts +11 -0
  18. package/dist-types/commands/DeleteBucketMetricsConfigurationCommand.d.ts +11 -0
  19. package/dist-types/commands/DeleteBucketOwnershipControlsCommand.d.ts +11 -0
  20. package/dist-types/commands/DeleteBucketPolicyCommand.d.ts +11 -0
  21. package/dist-types/commands/DeleteBucketReplicationCommand.d.ts +11 -0
  22. package/dist-types/commands/DeleteBucketTaggingCommand.d.ts +11 -0
  23. package/dist-types/commands/DeleteBucketWebsiteCommand.d.ts +11 -0
  24. package/dist-types/commands/DeleteObjectCommand.d.ts +11 -0
  25. package/dist-types/commands/DeleteObjectTaggingCommand.d.ts +11 -0
  26. package/dist-types/commands/DeleteObjectsCommand.d.ts +11 -0
  27. package/dist-types/commands/DeletePublicAccessBlockCommand.d.ts +11 -0
  28. package/dist-types/commands/GetBucketAccelerateConfigurationCommand.d.ts +11 -0
  29. package/dist-types/commands/GetBucketAclCommand.d.ts +11 -0
  30. package/dist-types/commands/GetBucketAnalyticsConfigurationCommand.d.ts +11 -0
  31. package/dist-types/commands/GetBucketCorsCommand.d.ts +11 -0
  32. package/dist-types/commands/GetBucketEncryptionCommand.d.ts +51 -11
  33. package/dist-types/commands/GetBucketIntelligentTieringConfigurationCommand.d.ts +11 -0
  34. package/dist-types/commands/GetBucketInventoryConfigurationCommand.d.ts +11 -0
  35. package/dist-types/commands/GetBucketLifecycleConfigurationCommand.d.ts +11 -0
  36. package/dist-types/commands/GetBucketLocationCommand.d.ts +11 -0
  37. package/dist-types/commands/GetBucketLoggingCommand.d.ts +11 -0
  38. package/dist-types/commands/GetBucketMetricsConfigurationCommand.d.ts +11 -0
  39. package/dist-types/commands/GetBucketNotificationConfigurationCommand.d.ts +11 -0
  40. package/dist-types/commands/GetBucketOwnershipControlsCommand.d.ts +11 -0
  41. package/dist-types/commands/GetBucketPolicyCommand.d.ts +11 -0
  42. package/dist-types/commands/GetBucketPolicyStatusCommand.d.ts +11 -0
  43. package/dist-types/commands/GetBucketReplicationCommand.d.ts +11 -0
  44. package/dist-types/commands/GetBucketRequestPaymentCommand.d.ts +11 -0
  45. package/dist-types/commands/GetBucketTaggingCommand.d.ts +11 -0
  46. package/dist-types/commands/GetBucketVersioningCommand.d.ts +11 -0
  47. package/dist-types/commands/GetBucketWebsiteCommand.d.ts +11 -0
  48. package/dist-types/commands/GetObjectAclCommand.d.ts +11 -0
  49. package/dist-types/commands/GetObjectAttributesCommand.d.ts +19 -2
  50. package/dist-types/commands/GetObjectCommand.d.ts +17 -0
  51. package/dist-types/commands/GetObjectLegalHoldCommand.d.ts +11 -0
  52. package/dist-types/commands/GetObjectLockConfigurationCommand.d.ts +11 -0
  53. package/dist-types/commands/GetObjectRetentionCommand.d.ts +11 -0
  54. package/dist-types/commands/GetObjectTaggingCommand.d.ts +11 -0
  55. package/dist-types/commands/GetObjectTorrentCommand.d.ts +11 -0
  56. package/dist-types/commands/GetPublicAccessBlockCommand.d.ts +11 -0
  57. package/dist-types/commands/HeadBucketCommand.d.ts +11 -0
  58. package/dist-types/commands/HeadObjectCommand.d.ts +16 -1
  59. package/dist-types/commands/ListBucketAnalyticsConfigurationsCommand.d.ts +11 -0
  60. package/dist-types/commands/ListBucketIntelligentTieringConfigurationsCommand.d.ts +11 -0
  61. package/dist-types/commands/ListBucketInventoryConfigurationsCommand.d.ts +11 -0
  62. package/dist-types/commands/ListBucketMetricsConfigurationsCommand.d.ts +11 -0
  63. package/dist-types/commands/ListBucketsCommand.d.ts +11 -0
  64. package/dist-types/commands/ListDirectoryBucketsCommand.d.ts +11 -0
  65. package/dist-types/commands/ListMultipartUploadsCommand.d.ts +11 -0
  66. package/dist-types/commands/ListObjectVersionsCommand.d.ts +11 -0
  67. package/dist-types/commands/ListObjectsCommand.d.ts +11 -0
  68. package/dist-types/commands/ListObjectsV2Command.d.ts +11 -0
  69. package/dist-types/commands/ListPartsCommand.d.ts +11 -0
  70. package/dist-types/commands/PutBucketAccelerateConfigurationCommand.d.ts +11 -0
  71. package/dist-types/commands/PutBucketAclCommand.d.ts +11 -0
  72. package/dist-types/commands/PutBucketAnalyticsConfigurationCommand.d.ts +11 -0
  73. package/dist-types/commands/PutBucketCorsCommand.d.ts +11 -0
  74. package/dist-types/commands/PutBucketEncryptionCommand.d.ts +99 -15
  75. package/dist-types/commands/PutBucketIntelligentTieringConfigurationCommand.d.ts +11 -0
  76. package/dist-types/commands/PutBucketInventoryConfigurationCommand.d.ts +11 -0
  77. package/dist-types/commands/PutBucketLifecycleConfigurationCommand.d.ts +11 -0
  78. package/dist-types/commands/PutBucketLoggingCommand.d.ts +11 -0
  79. package/dist-types/commands/PutBucketMetricsConfigurationCommand.d.ts +11 -0
  80. package/dist-types/commands/PutBucketNotificationConfigurationCommand.d.ts +11 -0
  81. package/dist-types/commands/PutBucketOwnershipControlsCommand.d.ts +11 -0
  82. package/dist-types/commands/PutBucketPolicyCommand.d.ts +11 -0
  83. package/dist-types/commands/PutBucketReplicationCommand.d.ts +11 -0
  84. package/dist-types/commands/PutBucketRequestPaymentCommand.d.ts +11 -0
  85. package/dist-types/commands/PutBucketTaggingCommand.d.ts +11 -0
  86. package/dist-types/commands/PutBucketVersioningCommand.d.ts +11 -0
  87. package/dist-types/commands/PutBucketWebsiteCommand.d.ts +11 -0
  88. package/dist-types/commands/PutObjectAclCommand.d.ts +11 -0
  89. package/dist-types/commands/PutObjectCommand.d.ts +14 -0
  90. package/dist-types/commands/PutObjectLegalHoldCommand.d.ts +11 -0
  91. package/dist-types/commands/PutObjectLockConfigurationCommand.d.ts +11 -0
  92. package/dist-types/commands/PutObjectRetentionCommand.d.ts +11 -0
  93. package/dist-types/commands/PutObjectTaggingCommand.d.ts +11 -0
  94. package/dist-types/commands/PutPublicAccessBlockCommand.d.ts +11 -0
  95. package/dist-types/commands/RestoreObjectCommand.d.ts +11 -0
  96. package/dist-types/commands/SelectObjectContentCommand.d.ts +11 -0
  97. package/dist-types/commands/UploadPartCommand.d.ts +18 -4
  98. package/dist-types/commands/UploadPartCopyCommand.d.ts +22 -1
  99. package/dist-types/commands/WriteGetObjectResponseCommand.d.ts +11 -0
  100. package/dist-types/models/models_0.d.ts +327 -148
  101. package/dist-types/models/models_1.d.ts +73 -79
  102. package/dist-types/runtimeConfig.browser.d.ts +2 -2
  103. package/dist-types/runtimeConfig.d.ts +2 -2
  104. package/dist-types/runtimeConfig.native.d.ts +2 -2
  105. package/dist-types/ts3.4/commands/AbortMultipartUploadCommand.d.ts +12 -1
  106. package/dist-types/ts3.4/commands/CompleteMultipartUploadCommand.d.ts +12 -1
  107. package/dist-types/ts3.4/commands/CopyObjectCommand.d.ts +12 -1
  108. package/dist-types/ts3.4/commands/CreateBucketCommand.d.ts +12 -1
  109. package/dist-types/ts3.4/commands/CreateMultipartUploadCommand.d.ts +12 -1
  110. package/dist-types/ts3.4/commands/CreateSessionCommand.d.ts +12 -1
  111. package/dist-types/ts3.4/commands/DeleteBucketAnalyticsConfigurationCommand.d.ts +12 -1
  112. package/dist-types/ts3.4/commands/DeleteBucketCommand.d.ts +12 -1
  113. package/dist-types/ts3.4/commands/DeleteBucketCorsCommand.d.ts +12 -1
  114. package/dist-types/ts3.4/commands/DeleteBucketEncryptionCommand.d.ts +12 -1
  115. package/dist-types/ts3.4/commands/DeleteBucketIntelligentTieringConfigurationCommand.d.ts +12 -1
  116. package/dist-types/ts3.4/commands/DeleteBucketInventoryConfigurationCommand.d.ts +12 -1
  117. package/dist-types/ts3.4/commands/DeleteBucketLifecycleCommand.d.ts +12 -1
  118. package/dist-types/ts3.4/commands/DeleteBucketMetricsConfigurationCommand.d.ts +12 -1
  119. package/dist-types/ts3.4/commands/DeleteBucketOwnershipControlsCommand.d.ts +12 -1
  120. package/dist-types/ts3.4/commands/DeleteBucketPolicyCommand.d.ts +12 -1
  121. package/dist-types/ts3.4/commands/DeleteBucketReplicationCommand.d.ts +12 -1
  122. package/dist-types/ts3.4/commands/DeleteBucketTaggingCommand.d.ts +12 -1
  123. package/dist-types/ts3.4/commands/DeleteBucketWebsiteCommand.d.ts +12 -1
  124. package/dist-types/ts3.4/commands/DeleteObjectCommand.d.ts +12 -1
  125. package/dist-types/ts3.4/commands/DeleteObjectTaggingCommand.d.ts +12 -1
  126. package/dist-types/ts3.4/commands/DeleteObjectsCommand.d.ts +12 -1
  127. package/dist-types/ts3.4/commands/DeletePublicAccessBlockCommand.d.ts +12 -1
  128. package/dist-types/ts3.4/commands/GetBucketAccelerateConfigurationCommand.d.ts +12 -1
  129. package/dist-types/ts3.4/commands/GetBucketAclCommand.d.ts +12 -1
  130. package/dist-types/ts3.4/commands/GetBucketAnalyticsConfigurationCommand.d.ts +12 -1
  131. package/dist-types/ts3.4/commands/GetBucketCorsCommand.d.ts +12 -1
  132. package/dist-types/ts3.4/commands/GetBucketEncryptionCommand.d.ts +12 -1
  133. package/dist-types/ts3.4/commands/GetBucketIntelligentTieringConfigurationCommand.d.ts +12 -1
  134. package/dist-types/ts3.4/commands/GetBucketInventoryConfigurationCommand.d.ts +12 -1
  135. package/dist-types/ts3.4/commands/GetBucketLifecycleConfigurationCommand.d.ts +12 -1
  136. package/dist-types/ts3.4/commands/GetBucketLocationCommand.d.ts +12 -1
  137. package/dist-types/ts3.4/commands/GetBucketLoggingCommand.d.ts +12 -1
  138. package/dist-types/ts3.4/commands/GetBucketMetricsConfigurationCommand.d.ts +12 -1
  139. package/dist-types/ts3.4/commands/GetBucketNotificationConfigurationCommand.d.ts +12 -1
  140. package/dist-types/ts3.4/commands/GetBucketOwnershipControlsCommand.d.ts +12 -1
  141. package/dist-types/ts3.4/commands/GetBucketPolicyCommand.d.ts +12 -1
  142. package/dist-types/ts3.4/commands/GetBucketPolicyStatusCommand.d.ts +12 -1
  143. package/dist-types/ts3.4/commands/GetBucketReplicationCommand.d.ts +12 -1
  144. package/dist-types/ts3.4/commands/GetBucketRequestPaymentCommand.d.ts +12 -1
  145. package/dist-types/ts3.4/commands/GetBucketTaggingCommand.d.ts +12 -1
  146. package/dist-types/ts3.4/commands/GetBucketVersioningCommand.d.ts +12 -1
  147. package/dist-types/ts3.4/commands/GetBucketWebsiteCommand.d.ts +12 -1
  148. package/dist-types/ts3.4/commands/GetObjectAclCommand.d.ts +12 -1
  149. package/dist-types/ts3.4/commands/GetObjectAttributesCommand.d.ts +12 -1
  150. package/dist-types/ts3.4/commands/GetObjectCommand.d.ts +12 -1
  151. package/dist-types/ts3.4/commands/GetObjectLegalHoldCommand.d.ts +12 -1
  152. package/dist-types/ts3.4/commands/GetObjectLockConfigurationCommand.d.ts +12 -1
  153. package/dist-types/ts3.4/commands/GetObjectRetentionCommand.d.ts +12 -1
  154. package/dist-types/ts3.4/commands/GetObjectTaggingCommand.d.ts +12 -1
  155. package/dist-types/ts3.4/commands/GetObjectTorrentCommand.d.ts +12 -1
  156. package/dist-types/ts3.4/commands/GetPublicAccessBlockCommand.d.ts +12 -1
  157. package/dist-types/ts3.4/commands/HeadBucketCommand.d.ts +12 -1
  158. package/dist-types/ts3.4/commands/HeadObjectCommand.d.ts +12 -1
  159. package/dist-types/ts3.4/commands/ListBucketAnalyticsConfigurationsCommand.d.ts +12 -1
  160. package/dist-types/ts3.4/commands/ListBucketIntelligentTieringConfigurationsCommand.d.ts +12 -1
  161. package/dist-types/ts3.4/commands/ListBucketInventoryConfigurationsCommand.d.ts +12 -1
  162. package/dist-types/ts3.4/commands/ListBucketMetricsConfigurationsCommand.d.ts +12 -1
  163. package/dist-types/ts3.4/commands/ListBucketsCommand.d.ts +12 -1
  164. package/dist-types/ts3.4/commands/ListDirectoryBucketsCommand.d.ts +12 -1
  165. package/dist-types/ts3.4/commands/ListMultipartUploadsCommand.d.ts +12 -1
  166. package/dist-types/ts3.4/commands/ListObjectVersionsCommand.d.ts +12 -1
  167. package/dist-types/ts3.4/commands/ListObjectsCommand.d.ts +12 -1
  168. package/dist-types/ts3.4/commands/ListObjectsV2Command.d.ts +12 -1
  169. package/dist-types/ts3.4/commands/ListPartsCommand.d.ts +12 -1
  170. package/dist-types/ts3.4/commands/PutBucketAccelerateConfigurationCommand.d.ts +12 -1
  171. package/dist-types/ts3.4/commands/PutBucketAclCommand.d.ts +12 -1
  172. package/dist-types/ts3.4/commands/PutBucketAnalyticsConfigurationCommand.d.ts +12 -1
  173. package/dist-types/ts3.4/commands/PutBucketCorsCommand.d.ts +12 -1
  174. package/dist-types/ts3.4/commands/PutBucketEncryptionCommand.d.ts +12 -1
  175. package/dist-types/ts3.4/commands/PutBucketIntelligentTieringConfigurationCommand.d.ts +12 -1
  176. package/dist-types/ts3.4/commands/PutBucketInventoryConfigurationCommand.d.ts +12 -1
  177. package/dist-types/ts3.4/commands/PutBucketLifecycleConfigurationCommand.d.ts +12 -1
  178. package/dist-types/ts3.4/commands/PutBucketLoggingCommand.d.ts +12 -1
  179. package/dist-types/ts3.4/commands/PutBucketMetricsConfigurationCommand.d.ts +12 -1
  180. package/dist-types/ts3.4/commands/PutBucketNotificationConfigurationCommand.d.ts +12 -1
  181. package/dist-types/ts3.4/commands/PutBucketOwnershipControlsCommand.d.ts +12 -1
  182. package/dist-types/ts3.4/commands/PutBucketPolicyCommand.d.ts +12 -1
  183. package/dist-types/ts3.4/commands/PutBucketReplicationCommand.d.ts +12 -1
  184. package/dist-types/ts3.4/commands/PutBucketRequestPaymentCommand.d.ts +12 -1
  185. package/dist-types/ts3.4/commands/PutBucketTaggingCommand.d.ts +12 -1
  186. package/dist-types/ts3.4/commands/PutBucketVersioningCommand.d.ts +12 -1
  187. package/dist-types/ts3.4/commands/PutBucketWebsiteCommand.d.ts +12 -1
  188. package/dist-types/ts3.4/commands/PutObjectAclCommand.d.ts +12 -1
  189. package/dist-types/ts3.4/commands/PutObjectCommand.d.ts +12 -1
  190. package/dist-types/ts3.4/commands/PutObjectLegalHoldCommand.d.ts +12 -1
  191. package/dist-types/ts3.4/commands/PutObjectLockConfigurationCommand.d.ts +12 -1
  192. package/dist-types/ts3.4/commands/PutObjectRetentionCommand.d.ts +12 -1
  193. package/dist-types/ts3.4/commands/PutObjectTaggingCommand.d.ts +12 -1
  194. package/dist-types/ts3.4/commands/PutPublicAccessBlockCommand.d.ts +12 -1
  195. package/dist-types/ts3.4/commands/RestoreObjectCommand.d.ts +12 -1
  196. package/dist-types/ts3.4/commands/SelectObjectContentCommand.d.ts +12 -1
  197. package/dist-types/ts3.4/commands/UploadPartCommand.d.ts +12 -1
  198. package/dist-types/ts3.4/commands/UploadPartCopyCommand.d.ts +12 -1
  199. package/dist-types/ts3.4/commands/WriteGetObjectResponseCommand.d.ts +12 -1
  200. package/dist-types/ts3.4/models/models_0.d.ts +11 -0
  201. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +8 -4
  202. package/dist-types/ts3.4/runtimeConfig.d.ts +8 -4
  203. package/dist-types/ts3.4/runtimeConfig.native.d.ts +8 -4
  204. package/package.json +52 -52
@@ -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
  }