@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
@@ -120,4 +120,15 @@ declare const GetBucketTaggingCommand_base: {
120
120
  *
121
121
  */
122
122
  export declare class GetBucketTaggingCommand extends GetBucketTaggingCommand_base {
123
+ /** @internal type navigation helper, not in runtime. */
124
+ protected static __types: {
125
+ api: {
126
+ input: GetBucketTaggingRequest;
127
+ output: GetBucketTaggingOutput;
128
+ };
129
+ sdk: {
130
+ input: GetBucketTaggingCommandInput;
131
+ output: GetBucketTaggingCommandOutput;
132
+ };
133
+ };
123
134
  }
@@ -101,4 +101,15 @@ declare const GetBucketVersioningCommand_base: {
101
101
  *
102
102
  */
103
103
  export declare class GetBucketVersioningCommand extends GetBucketVersioningCommand_base {
104
+ /** @internal type navigation helper, not in runtime. */
105
+ protected static __types: {
106
+ api: {
107
+ input: GetBucketVersioningRequest;
108
+ output: GetBucketVersioningOutput;
109
+ };
110
+ sdk: {
111
+ input: GetBucketVersioningCommandInput;
112
+ output: GetBucketVersioningCommandOutput;
113
+ };
114
+ };
104
115
  }
@@ -125,4 +125,15 @@ declare const GetBucketWebsiteCommand_base: {
125
125
  *
126
126
  */
127
127
  export declare class GetBucketWebsiteCommand extends GetBucketWebsiteCommand_base {
128
+ /** @internal type navigation helper, not in runtime. */
129
+ protected static __types: {
130
+ api: {
131
+ input: GetBucketWebsiteRequest;
132
+ output: GetBucketWebsiteOutput;
133
+ };
134
+ sdk: {
135
+ input: GetBucketWebsiteCommandInput;
136
+ output: GetBucketWebsiteCommandOutput;
137
+ };
138
+ };
128
139
  }
@@ -175,4 +175,15 @@ declare const GetObjectAclCommand_base: {
175
175
  *
176
176
  */
177
177
  export declare class GetObjectAclCommand extends GetObjectAclCommand_base {
178
+ /** @internal type navigation helper, not in runtime. */
179
+ protected static __types: {
180
+ api: {
181
+ input: GetObjectAclRequest;
182
+ output: GetObjectAclOutput;
183
+ };
184
+ sdk: {
185
+ input: GetObjectAclCommandInput;
186
+ output: GetObjectAclCommandOutput;
187
+ };
188
+ };
178
189
  }
@@ -46,7 +46,7 @@ declare const GetObjectAttributesCommand_base: {
46
46
  * <li>
47
47
  * <p>
48
48
  * <b>General purpose bucket permissions</b> - To use
49
- * <code>GetObjectAttributes</code>, you must have READ access to the object. The permissions that you need to use this operation with depend on whether the
49
+ * <code>GetObjectAttributes</code>, you must have READ access to the object. The permissions that you need to use this operation depend on whether the
50
50
  * bucket is versioned. If the bucket is versioned, you need both the
51
51
  * <code>s3:GetObjectVersion</code> and <code>s3:GetObjectVersionAttributes</code>
52
52
  * permissions for this operation. If the bucket is not versioned, you need the
@@ -76,6 +76,9 @@ declare const GetObjectAttributesCommand_base: {
76
76
  * 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">
77
77
  * <code>CreateSession</code>
78
78
  * </a>.</p>
79
+ * <p>If the object is encrypted with
80
+ * SSE-KMS, you must also have the
81
+ * <code>kms:GenerateDataKey</code> and <code>kms:Decrypt</code> permissions in IAM identity-based policies and KMS key policies for the KMS key.</p>
79
82
  * </li>
80
83
  * </ul>
81
84
  * </dd>
@@ -115,7 +118,10 @@ declare const GetObjectAttributesCommand_base: {
115
118
  * User Guide</i>.</p>
116
119
  * <note>
117
120
  * <p>
118
- * <b>Directory bucket permissions</b> - For directory buckets, only server-side encryption with Amazon S3 managed keys (SSE-S3) (<code>AES256</code>) is supported.</p>
121
+ * <b>Directory bucket permissions</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>). We recommend that the bucket's default encryption uses the desired encryption configuration and you don't override the bucket default encryption in your
122
+ * <code>CreateSession</code> requests or <code>PUT</code> object requests. Then, new objects
123
+ * are automatically encrypted with the desired encryption settings. For more
124
+ * 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>
119
125
  * </note>
120
126
  * </dd>
121
127
  * <dt>Versioning</dt>
@@ -287,4 +293,15 @@ declare const GetObjectAttributesCommand_base: {
287
293
  * @public
288
294
  */
289
295
  export declare class GetObjectAttributesCommand extends GetObjectAttributesCommand_base {
296
+ /** @internal type navigation helper, not in runtime. */
297
+ protected static __types: {
298
+ api: {
299
+ input: GetObjectAttributesRequest;
300
+ output: GetObjectAttributesOutput;
301
+ };
302
+ sdk: {
303
+ input: GetObjectAttributesCommandInput;
304
+ output: GetObjectAttributesCommandOutput;
305
+ };
306
+ };
290
307
  }
@@ -82,6 +82,9 @@ declare const GetObjectCommand_base: {
82
82
  * 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">
83
83
  * <code>CreateSession</code>
84
84
  * </a>.</p>
85
+ * <p>If the object is encrypted using
86
+ * SSE-KMS, you must also have the
87
+ * <code>kms:GenerateDataKey</code> and <code>kms:Decrypt</code> permissions in IAM identity-based policies and KMS key policies for the KMS key.</p>
85
88
  * </li>
86
89
  * </ul>
87
90
  * </dd>
@@ -104,6 +107,9 @@ declare const GetObjectCommand_base: {
104
107
  * be sent for the <code>GetObject</code> requests, if your object uses server-side encryption with Amazon S3 managed encryption keys (SSE-S3), server-side encryption with Key Management Service (KMS)
105
108
  * keys (SSE-KMS), or dual-layer server-side encryption with Amazon Web Services KMS keys (DSSE-KMS). If you include the header in your <code>GetObject</code> requests for the object that uses
106
109
  * these types of keys, you’ll get an HTTP <code>400 Bad Request</code> error.</p>
110
+ * <p>
111
+ * <b>Directory buckets</b> - For directory buckets, there are only two supported options for server-side encryption: SSE-S3 and SSE-KMS. SSE-C isn't supported. For more
112
+ * 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>
107
113
  * </dd>
108
114
  * <dt>Overriding response header values through the request</dt>
109
115
  * <dd>
@@ -327,4 +333,15 @@ declare const GetObjectCommand_base: {
327
333
  *
328
334
  */
329
335
  export declare class GetObjectCommand extends GetObjectCommand_base {
336
+ /** @internal type navigation helper, not in runtime. */
337
+ protected static __types: {
338
+ api: {
339
+ input: GetObjectRequest;
340
+ output: GetObjectOutput;
341
+ };
342
+ sdk: {
343
+ input: GetObjectCommandInput;
344
+ output: GetObjectCommandOutput;
345
+ };
346
+ };
330
347
  }
@@ -76,4 +76,15 @@ declare const GetObjectLegalHoldCommand_base: {
76
76
  * @public
77
77
  */
78
78
  export declare class GetObjectLegalHoldCommand extends GetObjectLegalHoldCommand_base {
79
+ /** @internal type navigation helper, not in runtime. */
80
+ protected static __types: {
81
+ api: {
82
+ input: GetObjectLegalHoldRequest;
83
+ output: GetObjectLegalHoldOutput;
84
+ };
85
+ sdk: {
86
+ input: GetObjectLegalHoldCommandInput;
87
+ output: GetObjectLegalHoldCommandOutput;
88
+ };
89
+ };
79
90
  }
@@ -80,4 +80,15 @@ declare const GetObjectLockConfigurationCommand_base: {
80
80
  * @public
81
81
  */
82
82
  export declare class GetObjectLockConfigurationCommand extends GetObjectLockConfigurationCommand_base {
83
+ /** @internal type navigation helper, not in runtime. */
84
+ protected static __types: {
85
+ api: {
86
+ input: GetObjectLockConfigurationRequest;
87
+ output: GetObjectLockConfigurationOutput;
88
+ };
89
+ sdk: {
90
+ input: GetObjectLockConfigurationCommandInput;
91
+ output: GetObjectLockConfigurationCommandOutput;
92
+ };
93
+ };
83
94
  }
@@ -77,4 +77,15 @@ declare const GetObjectRetentionCommand_base: {
77
77
  * @public
78
78
  */
79
79
  export declare class GetObjectRetentionCommand extends GetObjectRetentionCommand_base {
80
+ /** @internal type navigation helper, not in runtime. */
81
+ protected static __types: {
82
+ api: {
83
+ input: GetObjectRetentionRequest;
84
+ output: GetObjectRetentionOutput;
85
+ };
86
+ sdk: {
87
+ input: GetObjectRetentionCommandInput;
88
+ output: GetObjectRetentionCommandOutput;
89
+ };
90
+ };
80
91
  }
@@ -149,4 +149,15 @@ declare const GetObjectTaggingCommand_base: {
149
149
  *
150
150
  */
151
151
  export declare class GetObjectTaggingCommand extends GetObjectTaggingCommand_base {
152
+ /** @internal type navigation helper, not in runtime. */
153
+ protected static __types: {
154
+ api: {
155
+ input: GetObjectTaggingRequest;
156
+ output: GetObjectTaggingOutput;
157
+ };
158
+ sdk: {
159
+ input: GetObjectTaggingCommandInput;
160
+ output: GetObjectTaggingCommandOutput;
161
+ };
162
+ };
152
163
  }
@@ -93,4 +93,15 @@ declare const GetObjectTorrentCommand_base: {
93
93
  *
94
94
  */
95
95
  export declare class GetObjectTorrentCommand extends GetObjectTorrentCommand_base {
96
+ /** @internal type navigation helper, not in runtime. */
97
+ protected static __types: {
98
+ api: {
99
+ input: GetObjectTorrentRequest;
100
+ output: GetObjectTorrentOutput;
101
+ };
102
+ sdk: {
103
+ input: GetObjectTorrentCommandInput;
104
+ output: GetObjectTorrentCommandOutput;
105
+ };
106
+ };
96
107
  }
@@ -102,4 +102,15 @@ declare const GetPublicAccessBlockCommand_base: {
102
102
  * @public
103
103
  */
104
104
  export declare class GetPublicAccessBlockCommand extends GetPublicAccessBlockCommand_base {
105
+ /** @internal type navigation helper, not in runtime. */
106
+ protected static __types: {
107
+ api: {
108
+ input: GetPublicAccessBlockRequest;
109
+ output: GetPublicAccessBlockOutput;
110
+ };
111
+ sdk: {
112
+ input: GetPublicAccessBlockCommandInput;
113
+ output: GetPublicAccessBlockCommandOutput;
114
+ };
115
+ };
105
116
  }
@@ -126,4 +126,15 @@ declare const HeadBucketCommand_base: {
126
126
  *
127
127
  */
128
128
  export declare class HeadBucketCommand extends HeadBucketCommand_base {
129
+ /** @internal type navigation helper, not in runtime. */
130
+ protected static __types: {
131
+ api: {
132
+ input: HeadBucketRequest;
133
+ output: HeadBucketOutput;
134
+ };
135
+ sdk: {
136
+ input: HeadBucketCommandInput;
137
+ output: HeadBucketCommandOutput;
138
+ };
139
+ };
129
140
  }
@@ -72,6 +72,9 @@ declare const HeadObjectCommand_base: {
72
72
  * 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">
73
73
  * <code>CreateSession</code>
74
74
  * </a>.</p>
75
+ * <p>If you enable <code>x-amz-checksum-mode</code> in the request and the object is encrypted with
76
+ * Amazon Web Services Key Management Service (Amazon Web Services KMS), you must also have the
77
+ * <code>kms:GenerateDataKey</code> and <code>kms:Decrypt</code> permissions in IAM identity-based policies and KMS key policies for the KMS key to retrieve the checksum of the object.</p>
75
78
  * </li>
76
79
  * </ul>
77
80
  * </dd>
@@ -111,7 +114,8 @@ declare const HeadObjectCommand_base: {
111
114
  * User Guide</i>.</p>
112
115
  * <note>
113
116
  * <p>
114
- * <b>Directory bucket permissions</b> - For directory buckets, only server-side encryption with Amazon S3 managed keys (SSE-S3) (<code>AES256</code>) is supported.</p>
117
+ * <b>Directory bucket </b> - For directory buckets, there are only two supported options for server-side encryption: SSE-S3 and SSE-KMS. SSE-C isn't supported. For more
118
+ * 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>
115
119
  * </note>
116
120
  * </dd>
117
121
  * <dt>Versioning</dt>
@@ -274,4 +278,15 @@ declare const HeadObjectCommand_base: {
274
278
  *
275
279
  */
276
280
  export declare class HeadObjectCommand extends HeadObjectCommand_base {
281
+ /** @internal type navigation helper, not in runtime. */
282
+ protected static __types: {
283
+ api: {
284
+ input: HeadObjectRequest;
285
+ output: HeadObjectOutput;
286
+ };
287
+ sdk: {
288
+ input: HeadObjectCommandInput;
289
+ output: HeadObjectCommandOutput;
290
+ };
291
+ };
277
292
  }
@@ -133,4 +133,15 @@ declare const ListBucketAnalyticsConfigurationsCommand_base: {
133
133
  * @public
134
134
  */
135
135
  export declare class ListBucketAnalyticsConfigurationsCommand extends ListBucketAnalyticsConfigurationsCommand_base {
136
+ /** @internal type navigation helper, not in runtime. */
137
+ protected static __types: {
138
+ api: {
139
+ input: ListBucketAnalyticsConfigurationsRequest;
140
+ output: ListBucketAnalyticsConfigurationsOutput;
141
+ };
142
+ sdk: {
143
+ input: ListBucketAnalyticsConfigurationsCommandInput;
144
+ output: ListBucketAnalyticsConfigurationsCommandOutput;
145
+ };
146
+ };
136
147
  }
@@ -112,4 +112,15 @@ declare const ListBucketIntelligentTieringConfigurationsCommand_base: {
112
112
  * @public
113
113
  */
114
114
  export declare class ListBucketIntelligentTieringConfigurationsCommand extends ListBucketIntelligentTieringConfigurationsCommand_base {
115
+ /** @internal type navigation helper, not in runtime. */
116
+ protected static __types: {
117
+ api: {
118
+ input: ListBucketIntelligentTieringConfigurationsRequest;
119
+ output: ListBucketIntelligentTieringConfigurationsOutput;
120
+ };
121
+ sdk: {
122
+ input: ListBucketIntelligentTieringConfigurationsCommandInput;
123
+ output: ListBucketIntelligentTieringConfigurationsCommandOutput;
124
+ };
125
+ };
115
126
  }
@@ -128,4 +128,15 @@ declare const ListBucketInventoryConfigurationsCommand_base: {
128
128
  * @public
129
129
  */
130
130
  export declare class ListBucketInventoryConfigurationsCommand extends ListBucketInventoryConfigurationsCommand_base {
131
+ /** @internal type navigation helper, not in runtime. */
132
+ protected static __types: {
133
+ api: {
134
+ input: ListBucketInventoryConfigurationsRequest;
135
+ output: ListBucketInventoryConfigurationsOutput;
136
+ };
137
+ sdk: {
138
+ input: ListBucketInventoryConfigurationsCommandInput;
139
+ output: ListBucketInventoryConfigurationsCommandOutput;
140
+ };
141
+ };
131
142
  }
@@ -122,4 +122,15 @@ declare const ListBucketMetricsConfigurationsCommand_base: {
122
122
  * @public
123
123
  */
124
124
  export declare class ListBucketMetricsConfigurationsCommand extends ListBucketMetricsConfigurationsCommand_base {
125
+ /** @internal type navigation helper, not in runtime. */
126
+ protected static __types: {
127
+ api: {
128
+ input: ListBucketMetricsConfigurationsRequest;
129
+ output: ListBucketMetricsConfigurationsOutput;
130
+ };
131
+ sdk: {
132
+ input: ListBucketMetricsConfigurationsCommandInput;
133
+ output: ListBucketMetricsConfigurationsCommandOutput;
134
+ };
135
+ };
125
136
  }
@@ -105,4 +105,15 @@ declare const ListBucketsCommand_base: {
105
105
  *
106
106
  */
107
107
  export declare class ListBucketsCommand extends ListBucketsCommand_base {
108
+ /** @internal type navigation helper, not in runtime. */
109
+ protected static __types: {
110
+ api: {
111
+ input: ListBucketsRequest;
112
+ output: ListBucketsOutput;
113
+ };
114
+ sdk: {
115
+ input: ListBucketsCommandInput;
116
+ output: ListBucketsCommandOutput;
117
+ };
118
+ };
108
119
  }
@@ -82,4 +82,15 @@ declare const ListDirectoryBucketsCommand_base: {
82
82
  * @public
83
83
  */
84
84
  export declare class ListDirectoryBucketsCommand extends ListDirectoryBucketsCommand_base {
85
+ /** @internal type navigation helper, not in runtime. */
86
+ protected static __types: {
87
+ api: {
88
+ input: ListDirectoryBucketsRequest;
89
+ output: ListDirectoryBucketsOutput;
90
+ };
91
+ sdk: {
92
+ input: ListDirectoryBucketsCommandInput;
93
+ output: ListDirectoryBucketsCommandOutput;
94
+ };
95
+ };
85
96
  }
@@ -312,4 +312,15 @@ declare const ListMultipartUploadsCommand_base: {
312
312
  *
313
313
  */
314
314
  export declare class ListMultipartUploadsCommand extends ListMultipartUploadsCommand_base {
315
+ /** @internal type navigation helper, not in runtime. */
316
+ protected static __types: {
317
+ api: {
318
+ input: ListMultipartUploadsRequest;
319
+ output: ListMultipartUploadsOutput;
320
+ };
321
+ sdk: {
322
+ input: ListMultipartUploadsCommandInput;
323
+ output: ListMultipartUploadsCommandOutput;
324
+ };
325
+ };
315
326
  }
@@ -199,4 +199,15 @@ declare const ListObjectVersionsCommand_base: {
199
199
  *
200
200
  */
201
201
  export declare class ListObjectVersionsCommand extends ListObjectVersionsCommand_base {
202
+ /** @internal type navigation helper, not in runtime. */
203
+ protected static __types: {
204
+ api: {
205
+ input: ListObjectVersionsRequest;
206
+ output: ListObjectVersionsOutput;
207
+ };
208
+ sdk: {
209
+ input: ListObjectVersionsCommandInput;
210
+ output: ListObjectVersionsCommandOutput;
211
+ };
212
+ };
202
213
  }
@@ -182,4 +182,15 @@ declare const ListObjectsCommand_base: {
182
182
  *
183
183
  */
184
184
  export declare class ListObjectsCommand extends ListObjectsCommand_base {
185
+ /** @internal type navigation helper, not in runtime. */
186
+ protected static __types: {
187
+ api: {
188
+ input: ListObjectsRequest;
189
+ output: ListObjectsOutput;
190
+ };
191
+ sdk: {
192
+ input: ListObjectsCommandInput;
193
+ output: ListObjectsCommandOutput;
194
+ };
195
+ };
185
196
  }
@@ -237,4 +237,15 @@ declare const ListObjectsV2Command_base: {
237
237
  *
238
238
  */
239
239
  export declare class ListObjectsV2Command extends ListObjectsV2Command_base {
240
+ /** @internal type navigation helper, not in runtime. */
241
+ protected static __types: {
242
+ api: {
243
+ input: ListObjectsV2Request;
244
+ output: ListObjectsV2Output;
245
+ };
246
+ sdk: {
247
+ input: ListObjectsV2CommandInput;
248
+ output: ListObjectsV2CommandOutput;
249
+ };
250
+ };
240
251
  }
@@ -218,4 +218,15 @@ declare const ListPartsCommand_base: {
218
218
  *
219
219
  */
220
220
  export declare class ListPartsCommand extends ListPartsCommand_base {
221
+ /** @internal type navigation helper, not in runtime. */
222
+ protected static __types: {
223
+ api: {
224
+ input: ListPartsRequest;
225
+ output: ListPartsOutput;
226
+ };
227
+ sdk: {
228
+ input: ListPartsCommandInput;
229
+ output: ListPartsCommandOutput;
230
+ };
231
+ };
221
232
  }
@@ -101,4 +101,15 @@ declare const PutBucketAccelerateConfigurationCommand_base: {
101
101
  * @public
102
102
  */
103
103
  export declare class PutBucketAccelerateConfigurationCommand extends PutBucketAccelerateConfigurationCommand_base {
104
+ /** @internal type navigation helper, not in runtime. */
105
+ protected static __types: {
106
+ api: {
107
+ input: PutBucketAccelerateConfigurationRequest;
108
+ output: {};
109
+ };
110
+ sdk: {
111
+ input: PutBucketAccelerateConfigurationCommandInput;
112
+ output: PutBucketAccelerateConfigurationCommandOutput;
113
+ };
114
+ };
104
115
  }
@@ -295,4 +295,15 @@ declare const PutBucketAclCommand_base: {
295
295
  *
296
296
  */
297
297
  export declare class PutBucketAclCommand extends PutBucketAclCommand_base {
298
+ /** @internal type navigation helper, not in runtime. */
299
+ protected static __types: {
300
+ api: {
301
+ input: PutBucketAclRequest;
302
+ output: {};
303
+ };
304
+ sdk: {
305
+ input: PutBucketAclCommandInput;
306
+ output: PutBucketAclCommandOutput;
307
+ };
308
+ };
298
309
  }
@@ -194,4 +194,15 @@ declare const PutBucketAnalyticsConfigurationCommand_base: {
194
194
  * @public
195
195
  */
196
196
  export declare class PutBucketAnalyticsConfigurationCommand extends PutBucketAnalyticsConfigurationCommand_base {
197
+ /** @internal type navigation helper, not in runtime. */
198
+ protected static __types: {
199
+ api: {
200
+ input: PutBucketAnalyticsConfigurationRequest;
201
+ output: {};
202
+ };
203
+ sdk: {
204
+ input: PutBucketAnalyticsConfigurationCommandInput;
205
+ output: PutBucketAnalyticsConfigurationCommandOutput;
206
+ };
207
+ };
197
208
  }
@@ -179,4 +179,15 @@ declare const PutBucketCorsCommand_base: {
179
179
  *
180
180
  */
181
181
  export declare class PutBucketCorsCommand extends PutBucketCorsCommand_base {
182
+ /** @internal type navigation helper, not in runtime. */
183
+ protected static __types: {
184
+ api: {
185
+ input: PutBucketCorsRequest;
186
+ output: {};
187
+ };
188
+ sdk: {
189
+ input: PutBucketCorsCommandInput;
190
+ output: PutBucketCorsCommandOutput;
191
+ };
192
+ };
182
193
  }