@aws-sdk/client-s3 3.591.0 → 3.596.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.
- package/dist-cjs/index.js +0 -95
- package/dist-types/commands/AbortMultipartUploadCommand.d.ts +2 -1
- package/dist-types/commands/CompleteMultipartUploadCommand.d.ts +2 -1
- package/dist-types/commands/CopyObjectCommand.d.ts +2 -1
- package/dist-types/commands/CreateBucketCommand.d.ts +2 -1
- package/dist-types/commands/CreateMultipartUploadCommand.d.ts +2 -1
- package/dist-types/commands/CreateSessionCommand.d.ts +2 -1
- package/dist-types/commands/DeleteBucketAnalyticsConfigurationCommand.d.ts +2 -1
- package/dist-types/commands/DeleteBucketCommand.d.ts +2 -1
- package/dist-types/commands/DeleteBucketCorsCommand.d.ts +2 -1
- package/dist-types/commands/DeleteBucketEncryptionCommand.d.ts +2 -1
- package/dist-types/commands/DeleteBucketIntelligentTieringConfigurationCommand.d.ts +2 -1
- package/dist-types/commands/DeleteBucketInventoryConfigurationCommand.d.ts +2 -1
- package/dist-types/commands/DeleteBucketLifecycleCommand.d.ts +2 -1
- package/dist-types/commands/DeleteBucketMetricsConfigurationCommand.d.ts +2 -1
- package/dist-types/commands/DeleteBucketOwnershipControlsCommand.d.ts +2 -1
- package/dist-types/commands/DeleteBucketPolicyCommand.d.ts +2 -1
- package/dist-types/commands/DeleteBucketReplicationCommand.d.ts +2 -1
- package/dist-types/commands/DeleteBucketTaggingCommand.d.ts +2 -1
- package/dist-types/commands/DeleteBucketWebsiteCommand.d.ts +2 -1
- package/dist-types/commands/DeleteObjectCommand.d.ts +2 -1
- package/dist-types/commands/DeleteObjectTaggingCommand.d.ts +2 -1
- package/dist-types/commands/DeleteObjectsCommand.d.ts +24 -23
- package/dist-types/commands/DeletePublicAccessBlockCommand.d.ts +2 -1
- package/dist-types/commands/GetBucketAccelerateConfigurationCommand.d.ts +2 -1
- package/dist-types/commands/GetBucketAclCommand.d.ts +2 -1
- package/dist-types/commands/GetBucketAnalyticsConfigurationCommand.d.ts +2 -1
- package/dist-types/commands/GetBucketCorsCommand.d.ts +2 -1
- package/dist-types/commands/GetBucketEncryptionCommand.d.ts +2 -1
- package/dist-types/commands/GetBucketIntelligentTieringConfigurationCommand.d.ts +2 -1
- package/dist-types/commands/GetBucketInventoryConfigurationCommand.d.ts +2 -1
- package/dist-types/commands/GetBucketLifecycleConfigurationCommand.d.ts +2 -1
- package/dist-types/commands/GetBucketLocationCommand.d.ts +2 -1
- package/dist-types/commands/GetBucketLoggingCommand.d.ts +2 -1
- package/dist-types/commands/GetBucketMetricsConfigurationCommand.d.ts +2 -1
- package/dist-types/commands/GetBucketNotificationConfigurationCommand.d.ts +2 -1
- package/dist-types/commands/GetBucketOwnershipControlsCommand.d.ts +2 -1
- package/dist-types/commands/GetBucketPolicyCommand.d.ts +2 -1
- package/dist-types/commands/GetBucketPolicyStatusCommand.d.ts +2 -1
- package/dist-types/commands/GetBucketReplicationCommand.d.ts +2 -1
- package/dist-types/commands/GetBucketRequestPaymentCommand.d.ts +2 -1
- package/dist-types/commands/GetBucketTaggingCommand.d.ts +2 -1
- package/dist-types/commands/GetBucketVersioningCommand.d.ts +2 -1
- package/dist-types/commands/GetBucketWebsiteCommand.d.ts +2 -1
- package/dist-types/commands/GetObjectAclCommand.d.ts +2 -1
- package/dist-types/commands/GetObjectAttributesCommand.d.ts +2 -1
- package/dist-types/commands/GetObjectCommand.d.ts +2 -1
- package/dist-types/commands/GetObjectLegalHoldCommand.d.ts +2 -1
- package/dist-types/commands/GetObjectLockConfigurationCommand.d.ts +2 -1
- package/dist-types/commands/GetObjectRetentionCommand.d.ts +2 -1
- package/dist-types/commands/GetObjectTaggingCommand.d.ts +2 -1
- package/dist-types/commands/GetObjectTorrentCommand.d.ts +2 -1
- package/dist-types/commands/GetPublicAccessBlockCommand.d.ts +2 -1
- package/dist-types/commands/HeadBucketCommand.d.ts +2 -1
- package/dist-types/commands/HeadObjectCommand.d.ts +2 -1
- package/dist-types/commands/ListBucketAnalyticsConfigurationsCommand.d.ts +2 -1
- package/dist-types/commands/ListBucketIntelligentTieringConfigurationsCommand.d.ts +2 -1
- package/dist-types/commands/ListBucketInventoryConfigurationsCommand.d.ts +2 -1
- package/dist-types/commands/ListBucketMetricsConfigurationsCommand.d.ts +2 -1
- package/dist-types/commands/ListBucketsCommand.d.ts +2 -1
- package/dist-types/commands/ListDirectoryBucketsCommand.d.ts +2 -1
- package/dist-types/commands/ListMultipartUploadsCommand.d.ts +2 -1
- package/dist-types/commands/ListObjectVersionsCommand.d.ts +2 -1
- package/dist-types/commands/ListObjectsCommand.d.ts +2 -1
- package/dist-types/commands/ListObjectsV2Command.d.ts +2 -1
- package/dist-types/commands/ListPartsCommand.d.ts +2 -1
- package/dist-types/commands/PutBucketAccelerateConfigurationCommand.d.ts +2 -1
- package/dist-types/commands/PutBucketAclCommand.d.ts +2 -1
- package/dist-types/commands/PutBucketAnalyticsConfigurationCommand.d.ts +2 -1
- package/dist-types/commands/PutBucketCorsCommand.d.ts +2 -1
- package/dist-types/commands/PutBucketEncryptionCommand.d.ts +2 -1
- package/dist-types/commands/PutBucketIntelligentTieringConfigurationCommand.d.ts +2 -1
- package/dist-types/commands/PutBucketInventoryConfigurationCommand.d.ts +2 -1
- package/dist-types/commands/PutBucketLifecycleConfigurationCommand.d.ts +2 -1
- package/dist-types/commands/PutBucketLoggingCommand.d.ts +2 -1
- package/dist-types/commands/PutBucketMetricsConfigurationCommand.d.ts +2 -1
- package/dist-types/commands/PutBucketNotificationConfigurationCommand.d.ts +2 -1
- package/dist-types/commands/PutBucketOwnershipControlsCommand.d.ts +2 -1
- package/dist-types/commands/PutBucketPolicyCommand.d.ts +2 -1
- package/dist-types/commands/PutBucketReplicationCommand.d.ts +2 -1
- package/dist-types/commands/PutBucketRequestPaymentCommand.d.ts +2 -1
- package/dist-types/commands/PutBucketTaggingCommand.d.ts +2 -1
- package/dist-types/commands/PutBucketVersioningCommand.d.ts +2 -1
- package/dist-types/commands/PutBucketWebsiteCommand.d.ts +2 -1
- package/dist-types/commands/PutObjectAclCommand.d.ts +2 -1
- package/dist-types/commands/PutObjectCommand.d.ts +43 -42
- package/dist-types/commands/PutObjectLegalHoldCommand.d.ts +2 -1
- package/dist-types/commands/PutObjectLockConfigurationCommand.d.ts +2 -1
- package/dist-types/commands/PutObjectRetentionCommand.d.ts +2 -1
- package/dist-types/commands/PutObjectTaggingCommand.d.ts +2 -1
- package/dist-types/commands/PutPublicAccessBlockCommand.d.ts +2 -1
- package/dist-types/commands/RestoreObjectCommand.d.ts +2 -1
- package/dist-types/commands/SelectObjectContentCommand.d.ts +2 -1
- package/dist-types/commands/UploadPartCommand.d.ts +2 -1
- package/dist-types/commands/UploadPartCopyCommand.d.ts +2 -1
- package/dist-types/commands/WriteGetObjectResponseCommand.d.ts +2 -1
- package/dist-types/index.d.ts +2 -2
- package/dist-types/models/S3ServiceException.d.ts +2 -1
- package/dist-types/ts3.4/commands/AbortMultipartUploadCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/CompleteMultipartUploadCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/CopyObjectCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/CreateBucketCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/CreateMultipartUploadCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/CreateSessionCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/DeleteBucketAnalyticsConfigurationCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/DeleteBucketCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/DeleteBucketCorsCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/DeleteBucketEncryptionCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/DeleteBucketIntelligentTieringConfigurationCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/DeleteBucketInventoryConfigurationCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/DeleteBucketLifecycleCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/DeleteBucketMetricsConfigurationCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/DeleteBucketOwnershipControlsCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/DeleteBucketPolicyCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/DeleteBucketReplicationCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/DeleteBucketTaggingCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/DeleteBucketWebsiteCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/DeleteObjectCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/DeleteObjectTaggingCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/DeleteObjectsCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/DeletePublicAccessBlockCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/GetBucketAccelerateConfigurationCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/GetBucketAclCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/GetBucketAnalyticsConfigurationCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/GetBucketCorsCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/GetBucketEncryptionCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/GetBucketIntelligentTieringConfigurationCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/GetBucketInventoryConfigurationCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/GetBucketLifecycleConfigurationCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/GetBucketLocationCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/GetBucketLoggingCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/GetBucketMetricsConfigurationCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/GetBucketNotificationConfigurationCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/GetBucketOwnershipControlsCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/GetBucketPolicyCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/GetBucketPolicyStatusCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/GetBucketReplicationCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/GetBucketRequestPaymentCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/GetBucketTaggingCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/GetBucketVersioningCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/GetBucketWebsiteCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/GetObjectAclCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/GetObjectAttributesCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/GetObjectCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/GetObjectLegalHoldCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/GetObjectLockConfigurationCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/GetObjectRetentionCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/GetObjectTaggingCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/GetObjectTorrentCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/GetPublicAccessBlockCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/HeadBucketCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/HeadObjectCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/ListBucketAnalyticsConfigurationsCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/ListBucketIntelligentTieringConfigurationsCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/ListBucketInventoryConfigurationsCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/ListBucketMetricsConfigurationsCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/ListBucketsCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/ListDirectoryBucketsCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/ListMultipartUploadsCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/ListObjectVersionsCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/ListObjectsCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/ListObjectsV2Command.d.ts +2 -1
- package/dist-types/ts3.4/commands/ListPartsCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/PutBucketAccelerateConfigurationCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/PutBucketAclCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/PutBucketAnalyticsConfigurationCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/PutBucketCorsCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/PutBucketEncryptionCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/PutBucketIntelligentTieringConfigurationCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/PutBucketInventoryConfigurationCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/PutBucketLifecycleConfigurationCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/PutBucketLoggingCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/PutBucketMetricsConfigurationCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/PutBucketNotificationConfigurationCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/PutBucketOwnershipControlsCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/PutBucketPolicyCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/PutBucketReplicationCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/PutBucketRequestPaymentCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/PutBucketTaggingCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/PutBucketVersioningCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/PutBucketWebsiteCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/PutObjectAclCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/PutObjectCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/PutObjectLegalHoldCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/PutObjectLockConfigurationCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/PutObjectRetentionCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/PutObjectTaggingCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/PutPublicAccessBlockCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/RestoreObjectCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/SelectObjectContentCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/UploadPartCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/UploadPartCopyCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/WriteGetObjectResponseCommand.d.ts +2 -1
- package/dist-types/ts3.4/models/S3ServiceException.d.ts +2 -1
- package/package.json +6 -6
|
@@ -5,7 +5,8 @@ import { S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from ".
|
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
8
|
-
export { __MetadataBearer
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
9
10
|
/**
|
|
10
11
|
* @public
|
|
11
12
|
*
|
|
@@ -209,18 +210,20 @@ declare const DeleteObjectsCommand_base: {
|
|
|
209
210
|
* <p>Base exception class for all service exceptions from S3 service.</p>
|
|
210
211
|
*
|
|
211
212
|
* @public
|
|
212
|
-
* @example To delete multiple
|
|
213
|
+
* @example To delete multiple object versions from a versioned bucket
|
|
213
214
|
* ```javascript
|
|
214
|
-
* // The following example deletes objects from a bucket. The
|
|
215
|
+
* // The following example deletes objects from a bucket. The request specifies object versions. S3 deletes specific object versions and returns the key and versions of deleted objects in the response.
|
|
215
216
|
* const input = {
|
|
216
217
|
* "Bucket": "examplebucket",
|
|
217
218
|
* "Delete": {
|
|
218
219
|
* "Objects": [
|
|
219
220
|
* {
|
|
220
|
-
* "Key": "
|
|
221
|
+
* "Key": "HappyFace.jpg",
|
|
222
|
+
* "VersionId": "2LWg7lQLnY41.maGB5Z6SWW.dcq0vx7b"
|
|
221
223
|
* },
|
|
222
224
|
* {
|
|
223
|
-
* "Key": "
|
|
225
|
+
* "Key": "HappyFace.jpg",
|
|
226
|
+
* "VersionId": "yoz3HB.ZhCS_tKVEmIOr7qYyyAaZSKVd"
|
|
224
227
|
* }
|
|
225
228
|
* ],
|
|
226
229
|
* "Quiet": false
|
|
@@ -232,35 +235,31 @@ declare const DeleteObjectsCommand_base: {
|
|
|
232
235
|
* {
|
|
233
236
|
* "Deleted": [
|
|
234
237
|
* {
|
|
235
|
-
* "
|
|
236
|
-
* "
|
|
237
|
-
* "Key": "objectkey1"
|
|
238
|
+
* "Key": "HappyFace.jpg",
|
|
239
|
+
* "VersionId": "yoz3HB.ZhCS_tKVEmIOr7qYyyAaZSKVd"
|
|
238
240
|
* },
|
|
239
241
|
* {
|
|
240
|
-
* "
|
|
241
|
-
* "
|
|
242
|
-
* "Key": "objectkey2"
|
|
242
|
+
* "Key": "HappyFace.jpg",
|
|
243
|
+
* "VersionId": "2LWg7lQLnY41.maGB5Z6SWW.dcq0vx7b"
|
|
243
244
|
* }
|
|
244
245
|
* ]
|
|
245
246
|
* }
|
|
246
247
|
* *\/
|
|
247
|
-
* // example id: to-delete-multiple-
|
|
248
|
+
* // example id: to-delete-multiple-object-versions-from-a-versioned-bucket-1483147087737
|
|
248
249
|
* ```
|
|
249
250
|
*
|
|
250
|
-
* @example To delete multiple
|
|
251
|
+
* @example To delete multiple objects from a versioned bucket
|
|
251
252
|
* ```javascript
|
|
252
|
-
* // The following example deletes objects from a bucket. The request
|
|
253
|
+
* // The following example deletes objects from a bucket. The bucket is versioned, and the request does not specify the object version to delete. In this case, all versions remain in the bucket and S3 adds a delete marker.
|
|
253
254
|
* const input = {
|
|
254
255
|
* "Bucket": "examplebucket",
|
|
255
256
|
* "Delete": {
|
|
256
257
|
* "Objects": [
|
|
257
258
|
* {
|
|
258
|
-
* "Key": "
|
|
259
|
-
* "VersionId": "2LWg7lQLnY41.maGB5Z6SWW.dcq0vx7b"
|
|
259
|
+
* "Key": "objectkey1"
|
|
260
260
|
* },
|
|
261
261
|
* {
|
|
262
|
-
* "Key": "
|
|
263
|
-
* "VersionId": "yoz3HB.ZhCS_tKVEmIOr7qYyyAaZSKVd"
|
|
262
|
+
* "Key": "objectkey2"
|
|
264
263
|
* }
|
|
265
264
|
* ],
|
|
266
265
|
* "Quiet": false
|
|
@@ -272,17 +271,19 @@ declare const DeleteObjectsCommand_base: {
|
|
|
272
271
|
* {
|
|
273
272
|
* "Deleted": [
|
|
274
273
|
* {
|
|
275
|
-
* "
|
|
276
|
-
* "
|
|
274
|
+
* "DeleteMarker": "true",
|
|
275
|
+
* "DeleteMarkerVersionId": "A._w1z6EFiCF5uhtQMDal9JDkID9tQ7F",
|
|
276
|
+
* "Key": "objectkey1"
|
|
277
277
|
* },
|
|
278
278
|
* {
|
|
279
|
-
* "
|
|
280
|
-
* "
|
|
279
|
+
* "DeleteMarker": "true",
|
|
280
|
+
* "DeleteMarkerVersionId": "iOd_ORxhkKe_e8G8_oSGxt2PjsCZKlkt",
|
|
281
|
+
* "Key": "objectkey2"
|
|
281
282
|
* }
|
|
282
283
|
* ]
|
|
283
284
|
* }
|
|
284
285
|
* *\/
|
|
285
|
-
* // example id: to-delete-multiple-
|
|
286
|
+
* // example id: to-delete-multiple-objects-from-a-versioned-bucket-1483146248805
|
|
286
287
|
* ```
|
|
287
288
|
*
|
|
288
289
|
*/
|