@aws-sdk/client-s3 3.775.0 → 3.779.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 (103) hide show
  1. package/dist-cjs/endpoint/ruleset.js +3 -3
  2. package/dist-es/endpoint/ruleset.js +3 -3
  3. package/dist-types/commands/AbortMultipartUploadCommand.d.ts +9 -6
  4. package/dist-types/commands/CompleteMultipartUploadCommand.d.ts +16 -16
  5. package/dist-types/commands/CopyObjectCommand.d.ts +9 -9
  6. package/dist-types/commands/CreateBucketCommand.d.ts +15 -16
  7. package/dist-types/commands/CreateBucketMetadataTableConfigurationCommand.d.ts +1 -0
  8. package/dist-types/commands/CreateMultipartUploadCommand.d.ts +8 -8
  9. package/dist-types/commands/CreateSessionCommand.d.ts +1 -0
  10. package/dist-types/commands/DeleteBucketAnalyticsConfigurationCommand.d.ts +1 -0
  11. package/dist-types/commands/DeleteBucketCommand.d.ts +7 -4
  12. package/dist-types/commands/DeleteBucketCorsCommand.d.ts +7 -4
  13. package/dist-types/commands/DeleteBucketEncryptionCommand.d.ts +1 -0
  14. package/dist-types/commands/DeleteBucketIntelligentTieringConfigurationCommand.d.ts +1 -0
  15. package/dist-types/commands/DeleteBucketInventoryConfigurationCommand.d.ts +1 -0
  16. package/dist-types/commands/DeleteBucketLifecycleCommand.d.ts +7 -4
  17. package/dist-types/commands/DeleteBucketMetadataTableConfigurationCommand.d.ts +1 -0
  18. package/dist-types/commands/DeleteBucketMetricsConfigurationCommand.d.ts +1 -0
  19. package/dist-types/commands/DeleteBucketOwnershipControlsCommand.d.ts +1 -0
  20. package/dist-types/commands/DeleteBucketPolicyCommand.d.ts +7 -4
  21. package/dist-types/commands/DeleteBucketReplicationCommand.d.ts +7 -4
  22. package/dist-types/commands/DeleteBucketTaggingCommand.d.ts +7 -4
  23. package/dist-types/commands/DeleteBucketWebsiteCommand.d.ts +7 -4
  24. package/dist-types/commands/DeleteObjectCommand.d.ts +18 -13
  25. package/dist-types/commands/DeleteObjectTaggingCommand.d.ts +11 -12
  26. package/dist-types/commands/DeleteObjectsCommand.d.ts +30 -31
  27. package/dist-types/commands/DeletePublicAccessBlockCommand.d.ts +1 -0
  28. package/dist-types/commands/GetBucketAccelerateConfigurationCommand.d.ts +1 -0
  29. package/dist-types/commands/GetBucketAclCommand.d.ts +1 -0
  30. package/dist-types/commands/GetBucketAnalyticsConfigurationCommand.d.ts +1 -0
  31. package/dist-types/commands/GetBucketCorsCommand.d.ts +9 -9
  32. package/dist-types/commands/GetBucketEncryptionCommand.d.ts +1 -0
  33. package/dist-types/commands/GetBucketIntelligentTieringConfigurationCommand.d.ts +1 -0
  34. package/dist-types/commands/GetBucketInventoryConfigurationCommand.d.ts +1 -0
  35. package/dist-types/commands/GetBucketLifecycleConfigurationCommand.d.ts +11 -11
  36. package/dist-types/commands/GetBucketLocationCommand.d.ts +5 -5
  37. package/dist-types/commands/GetBucketLoggingCommand.d.ts +1 -0
  38. package/dist-types/commands/GetBucketMetadataTableConfigurationCommand.d.ts +1 -0
  39. package/dist-types/commands/GetBucketMetricsConfigurationCommand.d.ts +1 -0
  40. package/dist-types/commands/GetBucketNotificationConfigurationCommand.d.ts +1 -0
  41. package/dist-types/commands/GetBucketOwnershipControlsCommand.d.ts +1 -0
  42. package/dist-types/commands/GetBucketPolicyCommand.d.ts +5 -5
  43. package/dist-types/commands/GetBucketPolicyStatusCommand.d.ts +1 -0
  44. package/dist-types/commands/GetBucketReplicationCommand.d.ts +12 -12
  45. package/dist-types/commands/GetBucketRequestPaymentCommand.d.ts +5 -5
  46. package/dist-types/commands/GetBucketTaggingCommand.d.ts +9 -9
  47. package/dist-types/commands/GetBucketVersioningCommand.d.ts +6 -6
  48. package/dist-types/commands/GetBucketWebsiteCommand.d.ts +8 -8
  49. package/dist-types/commands/GetObjectAclCommand.d.ts +29 -29
  50. package/dist-types/commands/GetObjectAttributesCommand.d.ts +1 -0
  51. package/dist-types/commands/GetObjectCommand.d.ts +45 -31
  52. package/dist-types/commands/GetObjectLegalHoldCommand.d.ts +1 -0
  53. package/dist-types/commands/GetObjectLockConfigurationCommand.d.ts +1 -0
  54. package/dist-types/commands/GetObjectRetentionCommand.d.ts +1 -0
  55. package/dist-types/commands/GetObjectTaggingCommand.d.ts +19 -20
  56. package/dist-types/commands/GetObjectTorrentCommand.d.ts +18 -5
  57. package/dist-types/commands/GetPublicAccessBlockCommand.d.ts +1 -0
  58. package/dist-types/commands/HeadBucketCommand.d.ts +7 -4
  59. package/dist-types/commands/HeadObjectCommand.d.ts +12 -12
  60. package/dist-types/commands/ListBucketAnalyticsConfigurationsCommand.d.ts +1 -0
  61. package/dist-types/commands/ListBucketIntelligentTieringConfigurationsCommand.d.ts +1 -0
  62. package/dist-types/commands/ListBucketInventoryConfigurationsCommand.d.ts +1 -0
  63. package/dist-types/commands/ListBucketMetricsConfigurationsCommand.d.ts +1 -0
  64. package/dist-types/commands/ListBucketsCommand.d.ts +14 -14
  65. package/dist-types/commands/ListDirectoryBucketsCommand.d.ts +1 -0
  66. package/dist-types/commands/ListMultipartUploadsCommand.d.ts +62 -63
  67. package/dist-types/commands/ListObjectVersionsCommand.d.ts +26 -26
  68. package/dist-types/commands/ListObjectsCommand.d.ts +23 -23
  69. package/dist-types/commands/ListObjectsV2Command.d.ts +22 -22
  70. package/dist-types/commands/ListPartsCommand.d.ts +22 -22
  71. package/dist-types/commands/PutBucketAccelerateConfigurationCommand.d.ts +1 -0
  72. package/dist-types/commands/PutBucketAclCommand.d.ts +9 -6
  73. package/dist-types/commands/PutBucketAnalyticsConfigurationCommand.d.ts +1 -0
  74. package/dist-types/commands/PutBucketCorsCommand.d.ts +19 -16
  75. package/dist-types/commands/PutBucketEncryptionCommand.d.ts +1 -0
  76. package/dist-types/commands/PutBucketIntelligentTieringConfigurationCommand.d.ts +1 -0
  77. package/dist-types/commands/PutBucketInventoryConfigurationCommand.d.ts +1 -0
  78. package/dist-types/commands/PutBucketLifecycleConfigurationCommand.d.ts +18 -15
  79. package/dist-types/commands/PutBucketLoggingCommand.d.ts +16 -13
  80. package/dist-types/commands/PutBucketMetricsConfigurationCommand.d.ts +1 -0
  81. package/dist-types/commands/PutBucketNotificationConfigurationCommand.d.ts +11 -8
  82. package/dist-types/commands/PutBucketOwnershipControlsCommand.d.ts +1 -0
  83. package/dist-types/commands/PutBucketPolicyCommand.d.ts +8 -5
  84. package/dist-types/commands/PutBucketReplicationCommand.d.ts +15 -12
  85. package/dist-types/commands/PutBucketRequestPaymentCommand.d.ts +9 -6
  86. package/dist-types/commands/PutBucketTaggingCommand.d.ts +13 -10
  87. package/dist-types/commands/PutBucketVersioningCommand.d.ts +10 -7
  88. package/dist-types/commands/PutBucketWebsiteCommand.d.ts +13 -10
  89. package/dist-types/commands/PutObjectAclCommand.d.ts +11 -8
  90. package/dist-types/commands/PutObjectCommand.d.ts +68 -74
  91. package/dist-types/commands/PutObjectLegalHoldCommand.d.ts +1 -0
  92. package/dist-types/commands/PutObjectLockConfigurationCommand.d.ts +1 -0
  93. package/dist-types/commands/PutObjectRetentionCommand.d.ts +1 -0
  94. package/dist-types/commands/PutObjectTaggingCommand.d.ts +12 -12
  95. package/dist-types/commands/PutPublicAccessBlockCommand.d.ts +1 -0
  96. package/dist-types/commands/RestoreObjectCommand.d.ts +17 -16
  97. package/dist-types/commands/SelectObjectContentCommand.d.ts +1 -0
  98. package/dist-types/commands/UploadPartCommand.d.ts +9 -9
  99. package/dist-types/commands/UploadPartCopyCommand.d.ts +21 -22
  100. package/dist-types/commands/WriteGetObjectResponseCommand.d.ts +1 -0
  101. package/dist-types/models/models_0.d.ts +47 -48
  102. package/dist-types/models/models_1.d.ts +13 -14
  103. package/package.json +2 -2
@@ -300,152 +300,146 @@ declare const PutObjectCommand_base: {
300
300
  * @throws {@link S3ServiceException}
301
301
  * <p>Base exception class for all service exceptions from S3 service.</p>
302
302
  *
303
- * @public
304
- * @example To upload an object
303
+ *
304
+ * @example To create an object.
305
305
  * ```javascript
306
- * // The following example uploads an object to a versioning-enabled bucket. The source file is specified using Windows file syntax. S3 returns VersionId of the newly created object.
306
+ * // The following example creates an object. If the bucket is versioning enabled, S3 returns version ID in response.
307
307
  * const input = {
308
- * "Body": "HappyFace.jpg",
309
- * "Bucket": "examplebucket",
310
- * "Key": "HappyFace.jpg"
308
+ * Body: "filetoupload",
309
+ * Bucket: "examplebucket",
310
+ * Key: "objectkey"
311
311
  * };
312
312
  * const command = new PutObjectCommand(input);
313
313
  * const response = await client.send(command);
314
- * /* response ==
314
+ * /* response is
315
315
  * {
316
- * "ETag": "\"6805f2cfc46c0f04559748bb039d69ae\"",
317
- * "VersionId": "tpf3zF08nBplQK1XLOefGskR7mGDwcDk"
316
+ * ETag: `"6805f2cfc46c0f04559748bb039d69ae"`,
317
+ * VersionId: "Bvq0EDKxOcXLJXNo_Lkz37eM3R4pfzyQ"
318
318
  * }
319
319
  * *\/
320
- * // example id: to-upload-an-object-1481760101010
321
320
  * ```
322
321
  *
323
322
  * @example To upload an object (specify optional headers)
324
323
  * ```javascript
325
324
  * // The following example uploads an object. The request specifies optional request headers to directs S3 to use specific storage class and use server-side encryption.
326
325
  * const input = {
327
- * "Body": "HappyFace.jpg",
328
- * "Bucket": "examplebucket",
329
- * "Key": "HappyFace.jpg",
330
- * "ServerSideEncryption": "AES256",
331
- * "StorageClass": "STANDARD_IA"
326
+ * Body: "HappyFace.jpg",
327
+ * Bucket: "examplebucket",
328
+ * Key: "HappyFace.jpg",
329
+ * ServerSideEncryption: "AES256",
330
+ * StorageClass: "STANDARD_IA"
332
331
  * };
333
332
  * const command = new PutObjectCommand(input);
334
333
  * const response = await client.send(command);
335
- * /* response ==
334
+ * /* response is
336
335
  * {
337
- * "ETag": "\"6805f2cfc46c0f04559748bb039d69ae\"",
338
- * "ServerSideEncryption": "AES256",
339
- * "VersionId": "CG612hodqujkf8FaaNfp8U..FIhLROcp"
336
+ * ETag: `"6805f2cfc46c0f04559748bb039d69ae"`,
337
+ * ServerSideEncryption: "AES256",
338
+ * VersionId: "CG612hodqujkf8FaaNfp8U..FIhLROcp"
340
339
  * }
341
340
  * *\/
342
- * // example id: to-upload-an-object-(specify-optional-headers)
343
341
  * ```
344
342
  *
345
- * @example To create an object.
343
+ * @example To upload an object
346
344
  * ```javascript
347
- * // The following example creates an object. If the bucket is versioning enabled, S3 returns version ID in response.
345
+ * // The following example uploads an object to a versioning-enabled bucket. The source file is specified using Windows file syntax. S3 returns VersionId of the newly created object.
348
346
  * const input = {
349
- * "Body": "filetoupload",
350
- * "Bucket": "examplebucket",
351
- * "Key": "objectkey"
347
+ * Body: "HappyFace.jpg",
348
+ * Bucket: "examplebucket",
349
+ * Key: "HappyFace.jpg"
352
350
  * };
353
351
  * const command = new PutObjectCommand(input);
354
352
  * const response = await client.send(command);
355
- * /* response ==
353
+ * /* response is
356
354
  * {
357
- * "ETag": "\"6805f2cfc46c0f04559748bb039d69ae\"",
358
- * "VersionId": "Bvq0EDKxOcXLJXNo_Lkz37eM3R4pfzyQ"
355
+ * ETag: `"6805f2cfc46c0f04559748bb039d69ae"`,
356
+ * VersionId: "tpf3zF08nBplQK1XLOefGskR7mGDwcDk"
359
357
  * }
360
358
  * *\/
361
- * // example id: to-create-an-object-1483147613675
362
359
  * ```
363
360
  *
364
- * @example To upload an object and specify optional tags
361
+ * @example To upload an object and specify canned ACL.
365
362
  * ```javascript
366
- * // The following example uploads an object. The request specifies optional object tags. The bucket is versioned, therefore S3 returns version ID of the newly created object.
363
+ * // The following example uploads and object. The request specifies optional canned ACL (access control list) to all READ access to authenticated users. If the bucket is versioning enabled, S3 returns version ID in response.
367
364
  * const input = {
368
- * "Body": "c:\\HappyFace.jpg",
369
- * "Bucket": "examplebucket",
370
- * "Key": "HappyFace.jpg",
371
- * "Tagging": "key1=value1&key2=value2"
365
+ * ACL: "authenticated-read",
366
+ * Body: "filetoupload",
367
+ * Bucket: "examplebucket",
368
+ * Key: "exampleobject"
372
369
  * };
373
370
  * const command = new PutObjectCommand(input);
374
371
  * const response = await client.send(command);
375
- * /* response ==
372
+ * /* response is
376
373
  * {
377
- * "ETag": "\"6805f2cfc46c0f04559748bb039d69ae\"",
378
- * "VersionId": "psM2sYY4.o1501dSx8wMvnkOzSBB.V4a"
374
+ * ETag: `"6805f2cfc46c0f04559748bb039d69ae"`,
375
+ * VersionId: "Kirh.unyZwjQ69YxcQLA8z4F5j3kJJKr"
379
376
  * }
380
377
  * *\/
381
- * // example id: to-upload-an-object-and-specify-optional-tags-1481762310955
382
378
  * ```
383
379
  *
384
- * @example To upload an object and specify server-side encryption and object tags
380
+ * @example To upload an object and specify optional tags
385
381
  * ```javascript
386
- * // The following example uploads an object. The request specifies the optional server-side encryption option. The request also specifies optional object tags. If the bucket is versioning enabled, S3 returns version ID in response.
382
+ * // The following example uploads an object. The request specifies optional object tags. The bucket is versioned, therefore S3 returns version ID of the newly created object.
387
383
  * const input = {
388
- * "Body": "filetoupload",
389
- * "Bucket": "examplebucket",
390
- * "Key": "exampleobject",
391
- * "ServerSideEncryption": "AES256",
392
- * "Tagging": "key1=value1&key2=value2"
384
+ * Body: "c:\HappyFace.jpg",
385
+ * Bucket: "examplebucket",
386
+ * Key: "HappyFace.jpg",
387
+ * Tagging: "key1=value1&key2=value2"
393
388
  * };
394
389
  * const command = new PutObjectCommand(input);
395
390
  * const response = await client.send(command);
396
- * /* response ==
391
+ * /* response is
397
392
  * {
398
- * "ETag": "\"6805f2cfc46c0f04559748bb039d69ae\"",
399
- * "ServerSideEncryption": "AES256",
400
- * "VersionId": "Ri.vC6qVlA4dEnjgRV4ZHsHoFIjqEMNt"
393
+ * ETag: `"6805f2cfc46c0f04559748bb039d69ae"`,
394
+ * VersionId: "psM2sYY4.o1501dSx8wMvnkOzSBB.V4a"
401
395
  * }
402
396
  * *\/
403
- * // example id: to-upload-an-object-and-specify-server-side-encryption-and-object-tags-1483398331831
404
397
  * ```
405
398
  *
406
- * @example To upload object and specify user-defined metadata
399
+ * @example To upload an object and specify server-side encryption and object tags
407
400
  * ```javascript
408
- * // The following example creates an object. The request also specifies optional metadata. If the bucket is versioning enabled, S3 returns version ID in response.
401
+ * // The following example uploads an object. The request specifies the optional server-side encryption option. The request also specifies optional object tags. If the bucket is versioning enabled, S3 returns version ID in response.
409
402
  * const input = {
410
- * "Body": "filetoupload",
411
- * "Bucket": "examplebucket",
412
- * "Key": "exampleobject",
413
- * "Metadata": {
414
- * "metadata1": "value1",
415
- * "metadata2": "value2"
416
- * }
403
+ * Body: "filetoupload",
404
+ * Bucket: "examplebucket",
405
+ * Key: "exampleobject",
406
+ * ServerSideEncryption: "AES256",
407
+ * Tagging: "key1=value1&key2=value2"
417
408
  * };
418
409
  * const command = new PutObjectCommand(input);
419
410
  * const response = await client.send(command);
420
- * /* response ==
411
+ * /* response is
421
412
  * {
422
- * "ETag": "\"6805f2cfc46c0f04559748bb039d69ae\"",
423
- * "VersionId": "pSKidl4pHBiNwukdbcPXAIs.sshFFOc0"
413
+ * ETag: `"6805f2cfc46c0f04559748bb039d69ae"`,
414
+ * ServerSideEncryption: "AES256",
415
+ * VersionId: "Ri.vC6qVlA4dEnjgRV4ZHsHoFIjqEMNt"
424
416
  * }
425
417
  * *\/
426
- * // example id: to-upload-object-and-specify-user-defined-metadata-1483396974757
427
418
  * ```
428
419
  *
429
- * @example To upload an object and specify canned ACL.
420
+ * @example To upload object and specify user-defined metadata
430
421
  * ```javascript
431
- * // The following example uploads and object. The request specifies optional canned ACL (access control list) to all READ access to authenticated users. If the bucket is versioning enabled, S3 returns version ID in response.
422
+ * // The following example creates an object. The request also specifies optional metadata. If the bucket is versioning enabled, S3 returns version ID in response.
432
423
  * const input = {
433
- * "ACL": "authenticated-read",
434
- * "Body": "filetoupload",
435
- * "Bucket": "examplebucket",
436
- * "Key": "exampleobject"
424
+ * Body: "filetoupload",
425
+ * Bucket: "examplebucket",
426
+ * Key: "exampleobject",
427
+ * Metadata: {
428
+ * metadata1: "value1",
429
+ * metadata2: "value2"
430
+ * }
437
431
  * };
438
432
  * const command = new PutObjectCommand(input);
439
433
  * const response = await client.send(command);
440
- * /* response ==
434
+ * /* response is
441
435
  * {
442
- * "ETag": "\"6805f2cfc46c0f04559748bb039d69ae\"",
443
- * "VersionId": "Kirh.unyZwjQ69YxcQLA8z4F5j3kJJKr"
436
+ * ETag: `"6805f2cfc46c0f04559748bb039d69ae"`,
437
+ * VersionId: "pSKidl4pHBiNwukdbcPXAIs.sshFFOc0"
444
438
  * }
445
439
  * *\/
446
- * // example id: to-upload-an-object-and-specify-canned-acl-1483397779571
447
440
  * ```
448
441
  *
442
+ * @public
449
443
  */
450
444
  export declare class PutObjectCommand extends PutObjectCommand_base {
451
445
  /** @internal type navigation helper, not in runtime. */
@@ -69,6 +69,7 @@ declare const PutObjectLegalHoldCommand_base: {
69
69
  * @throws {@link S3ServiceException}
70
70
  * <p>Base exception class for all service exceptions from S3 service.</p>
71
71
  *
72
+ *
72
73
  * @public
73
74
  */
74
75
  export declare class PutObjectLegalHoldCommand extends PutObjectLegalHoldCommand_base {
@@ -92,6 +92,7 @@ declare const PutObjectLockConfigurationCommand_base: {
92
92
  * @throws {@link S3ServiceException}
93
93
  * <p>Base exception class for all service exceptions from S3 service.</p>
94
94
  *
95
+ *
95
96
  * @public
96
97
  */
97
98
  export declare class PutObjectLockConfigurationCommand extends PutObjectLockConfigurationCommand_base {
@@ -72,6 +72,7 @@ declare const PutObjectRetentionCommand_base: {
72
72
  * @throws {@link S3ServiceException}
73
73
  * <p>Base exception class for all service exceptions from S3 service.</p>
74
74
  *
75
+ *
75
76
  * @public
76
77
  */
77
78
  export declare class PutObjectRetentionCommand extends PutObjectRetentionCommand_base {
@@ -123,36 +123,36 @@ declare const PutObjectTaggingCommand_base: {
123
123
  * @throws {@link S3ServiceException}
124
124
  * <p>Base exception class for all service exceptions from S3 service.</p>
125
125
  *
126
- * @public
126
+ *
127
127
  * @example To add tags to an existing object
128
128
  * ```javascript
129
129
  * // The following example adds tags to an existing object.
130
130
  * const input = {
131
- * "Bucket": "examplebucket",
132
- * "Key": "HappyFace.jpg",
133
- * "Tagging": {
134
- * "TagSet": [
131
+ * Bucket: "examplebucket",
132
+ * Key: "HappyFace.jpg",
133
+ * Tagging: {
134
+ * TagSet: [
135
135
  * {
136
- * "Key": "Key3",
137
- * "Value": "Value3"
136
+ * Key: "Key3",
137
+ * Value: "Value3"
138
138
  * },
139
139
  * {
140
- * "Key": "Key4",
141
- * "Value": "Value4"
140
+ * Key: "Key4",
141
+ * Value: "Value4"
142
142
  * }
143
143
  * ]
144
144
  * }
145
145
  * };
146
146
  * const command = new PutObjectTaggingCommand(input);
147
147
  * const response = await client.send(command);
148
- * /* response ==
148
+ * /* response is
149
149
  * {
150
- * "VersionId": "null"
150
+ * VersionId: "null"
151
151
  * }
152
152
  * *\/
153
- * // example id: to-add-tags-to-an-existing-object-1481764668793
154
153
  * ```
155
154
  *
155
+ * @public
156
156
  */
157
157
  export declare class PutObjectTaggingCommand extends PutObjectTaggingCommand_base {
158
158
  /** @internal type navigation helper, not in runtime. */
@@ -100,6 +100,7 @@ declare const PutPublicAccessBlockCommand_base: {
100
100
  * @throws {@link S3ServiceException}
101
101
  * <p>Base exception class for all service exceptions from S3 service.</p>
102
102
  *
103
+ *
103
104
  * @public
104
105
  */
105
106
  export declare class PutPublicAccessBlockCommand extends PutPublicAccessBlockCommand_base {
@@ -71,10 +71,9 @@ declare const RestoreObjectCommand_base: {
71
71
  * </dd>
72
72
  * <dt>Restoring objects</dt>
73
73
  * <dd>
74
- * <p>Objects that you archive to the S3 Glacier Flexible Retrieval Flexible Retrieval
75
- * or S3 Glacier Deep Archive storage class, and S3 Intelligent-Tiering Archive or
74
+ * <p>Objects that you archive to the S3 Glacier Flexible Retrieval or S3 Glacier Deep Archive storage class, and S3 Intelligent-Tiering Archive or
76
75
  * S3 Intelligent-Tiering Deep Archive tiers, are not accessible in real time. For objects in the
77
- * S3 Glacier Flexible Retrieval Flexible Retrieval or S3 Glacier Deep Archive
76
+ * S3 Glacier Flexible Retrieval or S3 Glacier Deep Archive
78
77
  * storage classes, you must first initiate a restore request, and then wait until a
79
78
  * temporary copy of the object is available. If you want a permanent copy of the
80
79
  * object, create a copy of it in the Amazon S3 Standard storage class in your S3 bucket.
@@ -90,8 +89,7 @@ declare const RestoreObjectCommand_base: {
90
89
  * <li>
91
90
  * <p>
92
91
  * <code>Expedited</code> - Expedited retrievals allow you to quickly access
93
- * your data stored in the S3 Glacier Flexible Retrieval Flexible Retrieval
94
- * storage class or S3 Intelligent-Tiering Archive tier when occasional urgent requests
92
+ * your data stored in the S3 Glacier Flexible Retrieval storage class or S3 Intelligent-Tiering Archive tier when occasional urgent requests
95
93
  * for restoring archives are required. For all but the largest archived
96
94
  * objects (250 MB+), data accessed using Expedited retrievals is typically
97
95
  * made available within 1–5 minutes. Provisioned capacity ensures that
@@ -106,7 +104,7 @@ declare const RestoreObjectCommand_base: {
106
104
  * your archived objects within several hours. This is the default option for
107
105
  * retrieval requests that do not specify the retrieval option. Standard
108
106
  * retrievals typically finish within 3–5 hours for objects stored in the
109
- * S3 Glacier Flexible Retrieval Flexible Retrieval storage class or
107
+ * S3 Glacier Flexible Retrieval storage class or
110
108
  * S3 Intelligent-Tiering Archive tier. They typically finish within 12 hours for
111
109
  * objects stored in the S3 Glacier Deep Archive storage class or
112
110
  * S3 Intelligent-Tiering Deep Archive tier. Standard retrievals are free for objects stored
@@ -118,7 +116,7 @@ declare const RestoreObjectCommand_base: {
118
116
  * S3 Glacier Flexible Retrieval and S3 Intelligent-Tiering storage classes,
119
117
  * enabling you to retrieve large amounts, even petabytes, of data at no cost.
120
118
  * Bulk retrievals typically finish within 5–12 hours for objects stored in the
121
- * S3 Glacier Flexible Retrieval Flexible Retrieval storage class or
119
+ * S3 Glacier Flexible Retrieval storage class or
122
120
  * S3 Intelligent-Tiering Archive tier. Bulk retrievals are also the lowest-cost
123
121
  * retrieval option when restoring objects from
124
122
  * S3 Glacier Deep Archive. They typically finish within 48 hours for
@@ -348,25 +346,28 @@ declare const RestoreObjectCommand_base: {
348
346
  * @throws {@link S3ServiceException}
349
347
  * <p>Base exception class for all service exceptions from S3 service.</p>
350
348
  *
351
- * @public
349
+ *
352
350
  * @example To restore an archived object
353
351
  * ```javascript
354
352
  * // The following example restores for one day an archived copy of an object back into Amazon S3 bucket.
355
353
  * const input = {
356
- * "Bucket": "examplebucket",
357
- * "Key": "archivedobjectkey",
358
- * "RestoreRequest": {
359
- * "Days": 1,
360
- * "GlacierJobParameters": {
361
- * "Tier": "Expedited"
354
+ * Bucket: "examplebucket",
355
+ * Key: "archivedobjectkey",
356
+ * RestoreRequest: {
357
+ * Days: 1,
358
+ * GlacierJobParameters: {
359
+ * Tier: "Expedited"
362
360
  * }
363
361
  * }
364
362
  * };
365
363
  * const command = new RestoreObjectCommand(input);
366
- * await client.send(command);
367
- * // example id: to-restore-an-archived-object-1483049329953
364
+ * const response = await client.send(command);
365
+ * /* response is
366
+ * { /* empty *\/ }
367
+ * *\/
368
368
  * ```
369
369
  *
370
+ * @public
370
371
  */
371
372
  export declare class RestoreObjectCommand extends RestoreObjectCommand_base {
372
373
  /** @internal type navigation helper, not in runtime. */
@@ -237,6 +237,7 @@ declare const SelectObjectContentCommand_base: {
237
237
  * @throws {@link S3ServiceException}
238
238
  * <p>Base exception class for all service exceptions from S3 service.</p>
239
239
  *
240
+ *
240
241
  * @public
241
242
  */
242
243
  export declare class SelectObjectContentCommand extends SelectObjectContentCommand_base {
@@ -272,27 +272,27 @@ declare const UploadPartCommand_base: {
272
272
  * @throws {@link S3ServiceException}
273
273
  * <p>Base exception class for all service exceptions from S3 service.</p>
274
274
  *
275
- * @public
275
+ *
276
276
  * @example To upload a part
277
277
  * ```javascript
278
278
  * // The following example uploads part 1 of a multipart upload. The example specifies a file name for the part data. The Upload ID is same that is returned by the initiate multipart upload.
279
279
  * const input = {
280
- * "Body": "fileToUpload",
281
- * "Bucket": "examplebucket",
282
- * "Key": "examplelargeobject",
283
- * "PartNumber": "1",
284
- * "UploadId": "xadcOB_7YPBOJuoFiQ9cz4P3Pe6FIZwO4f7wN93uHsNBEw97pl5eNwzExg0LAT2dUN91cOmrEQHDsP3WA60CEg--"
280
+ * Body: "fileToUpload",
281
+ * Bucket: "examplebucket",
282
+ * Key: "examplelargeobject",
283
+ * PartNumber: 1,
284
+ * UploadId: "xadcOB_7YPBOJuoFiQ9cz4P3Pe6FIZwO4f7wN93uHsNBEw97pl5eNwzExg0LAT2dUN91cOmrEQHDsP3WA60CEg--"
285
285
  * };
286
286
  * const command = new UploadPartCommand(input);
287
287
  * const response = await client.send(command);
288
- * /* response ==
288
+ * /* response is
289
289
  * {
290
- * "ETag": "\"d8c2eafd90c266e19ab9dcacc479f8af\""
290
+ * ETag: `"d8c2eafd90c266e19ab9dcacc479f8af"`
291
291
  * }
292
292
  * *\/
293
- * // example id: to-upload-a-part-1481847914943
294
293
  * ```
295
294
  *
295
+ * @public
296
296
  */
297
297
  export declare class UploadPartCommand extends UploadPartCommand_base {
298
298
  /** @internal type navigation helper, not in runtime. */
@@ -312,54 +312,53 @@ declare const UploadPartCopyCommand_base: {
312
312
  * @throws {@link S3ServiceException}
313
313
  * <p>Base exception class for all service exceptions from S3 service.</p>
314
314
  *
315
- * @public
315
+ *
316
316
  * @example To upload a part by copying byte range from an existing object as data source
317
317
  * ```javascript
318
318
  * // The following example uploads a part of a multipart upload by copying a specified byte range from an existing object as data source.
319
319
  * const input = {
320
- * "Bucket": "examplebucket",
321
- * "CopySource": "/bucketname/sourceobjectkey",
322
- * "CopySourceRange": "bytes=1-100000",
323
- * "Key": "examplelargeobject",
324
- * "PartNumber": "2",
325
- * "UploadId": "exampleuoh_10OhKhT7YukE9bjzTPRiuaCotmZM_pFngJFir9OZNrSr5cWa3cq3LZSUsfjI4FI7PkP91We7Nrw--"
320
+ * Bucket: "examplebucket",
321
+ * CopySource: "/bucketname/sourceobjectkey",
322
+ * CopySourceRange: "bytes=1-100000",
323
+ * Key: "examplelargeobject",
324
+ * PartNumber: 2,
325
+ * UploadId: "exampleuoh_10OhKhT7YukE9bjzTPRiuaCotmZM_pFngJFir9OZNrSr5cWa3cq3LZSUsfjI4FI7PkP91We7Nrw--"
326
326
  * };
327
327
  * const command = new UploadPartCopyCommand(input);
328
328
  * const response = await client.send(command);
329
- * /* response ==
329
+ * /* response is
330
330
  * {
331
- * "CopyPartResult": {
332
- * "ETag": "\"65d16d19e65a7508a51f043180edcc36\"",
333
- * "LastModified": "2016-12-29T21:44:28.000Z"
331
+ * CopyPartResult: {
332
+ * ETag: `"65d16d19e65a7508a51f043180edcc36"`,
333
+ * LastModified: "2016-12-29T21:44:28.000Z"
334
334
  * }
335
335
  * }
336
336
  * *\/
337
- * // example id: to-upload-a-part-by-copying-byte-range-from-an-existing-object-as-data-source-1483048068594
338
337
  * ```
339
338
  *
340
339
  * @example To upload a part by copying data from an existing object as data source
341
340
  * ```javascript
342
341
  * // The following example uploads a part of a multipart upload by copying data from an existing object as data source.
343
342
  * const input = {
344
- * "Bucket": "examplebucket",
345
- * "CopySource": "/bucketname/sourceobjectkey",
346
- * "Key": "examplelargeobject",
347
- * "PartNumber": "1",
348
- * "UploadId": "exampleuoh_10OhKhT7YukE9bjzTPRiuaCotmZM_pFngJFir9OZNrSr5cWa3cq3LZSUsfjI4FI7PkP91We7Nrw--"
343
+ * Bucket: "examplebucket",
344
+ * CopySource: "/bucketname/sourceobjectkey",
345
+ * Key: "examplelargeobject",
346
+ * PartNumber: 1,
347
+ * UploadId: "exampleuoh_10OhKhT7YukE9bjzTPRiuaCotmZM_pFngJFir9OZNrSr5cWa3cq3LZSUsfjI4FI7PkP91We7Nrw--"
349
348
  * };
350
349
  * const command = new UploadPartCopyCommand(input);
351
350
  * const response = await client.send(command);
352
- * /* response ==
351
+ * /* response is
353
352
  * {
354
- * "CopyPartResult": {
355
- * "ETag": "\"b0c6f0e7e054ab8fa2536a2677f8734d\"",
356
- * "LastModified": "2016-12-29T21:24:43.000Z"
353
+ * CopyPartResult: {
354
+ * ETag: `"b0c6f0e7e054ab8fa2536a2677f8734d"`,
355
+ * LastModified: "2016-12-29T21:24:43.000Z"
357
356
  * }
358
357
  * }
359
358
  * *\/
360
- * // example id: to-upload-a-part-by-copying-data-from-an-existing-object-as-data-source-1483046746348
361
359
  * ```
362
360
  *
361
+ * @public
363
362
  */
364
363
  export declare class UploadPartCopyCommand extends UploadPartCopyCommand_base {
365
364
  /** @internal type navigation helper, not in runtime. */
@@ -131,6 +131,7 @@ declare const WriteGetObjectResponseCommand_base: {
131
131
  * @throws {@link S3ServiceException}
132
132
  * <p>Base exception class for all service exceptions from S3 service.</p>
133
133
  *
134
+ *
134
135
  * @public
135
136
  */
136
137
  export declare class WriteGetObjectResponseCommand extends WriteGetObjectResponseCommand_base {