@aws-sdk/client-s3 3.258.0 → 3.261.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 (84) hide show
  1. package/dist-cjs/endpoint/ruleset.js +3 -3
  2. package/dist-cjs/protocols/Aws_restXml.js +1 -1
  3. package/dist-es/endpoint/ruleset.js +3 -3
  4. package/dist-es/protocols/Aws_restXml.js +1 -1
  5. package/dist-types/S3.d.ts +41 -356
  6. package/dist-types/commands/CompleteMultipartUploadCommand.d.ts +0 -3
  7. package/dist-types/commands/CopyObjectCommand.d.ts +0 -2
  8. package/dist-types/commands/CreateBucketCommand.d.ts +0 -1
  9. package/dist-types/commands/CreateMultipartUploadCommand.d.ts +0 -12
  10. package/dist-types/commands/DeleteBucketAnalyticsConfigurationCommand.d.ts +0 -2
  11. package/dist-types/commands/DeleteBucketCommand.d.ts +0 -1
  12. package/dist-types/commands/DeleteBucketCorsCommand.d.ts +0 -1
  13. package/dist-types/commands/DeleteBucketEncryptionCommand.d.ts +0 -1
  14. package/dist-types/commands/DeleteBucketLifecycleCommand.d.ts +0 -2
  15. package/dist-types/commands/DeleteBucketMetricsConfigurationCommand.d.ts +0 -2
  16. package/dist-types/commands/DeleteBucketPolicyCommand.d.ts +0 -3
  17. package/dist-types/commands/DeleteBucketReplicationCommand.d.ts +0 -2
  18. package/dist-types/commands/DeleteBucketTaggingCommand.d.ts +0 -1
  19. package/dist-types/commands/DeleteBucketWebsiteCommand.d.ts +0 -3
  20. package/dist-types/commands/DeleteObjectCommand.d.ts +0 -5
  21. package/dist-types/commands/DeleteObjectTaggingCommand.d.ts +0 -3
  22. package/dist-types/commands/DeleteObjectsCommand.d.ts +0 -5
  23. package/dist-types/commands/DeletePublicAccessBlockCommand.d.ts +0 -1
  24. package/dist-types/commands/GetBucketAccelerateConfigurationCommand.d.ts +0 -1
  25. package/dist-types/commands/GetBucketAclCommand.d.ts +0 -1
  26. package/dist-types/commands/GetBucketAnalyticsConfigurationCommand.d.ts +0 -1
  27. package/dist-types/commands/GetBucketCorsCommand.d.ts +0 -3
  28. package/dist-types/commands/GetBucketInventoryConfigurationCommand.d.ts +0 -3
  29. package/dist-types/commands/GetBucketLifecycleConfigurationCommand.d.ts +0 -2
  30. package/dist-types/commands/GetBucketLocationCommand.d.ts +0 -3
  31. package/dist-types/commands/GetBucketLoggingCommand.d.ts +0 -1
  32. package/dist-types/commands/GetBucketMetricsConfigurationCommand.d.ts +0 -3
  33. package/dist-types/commands/GetBucketNotificationConfigurationCommand.d.ts +0 -3
  34. package/dist-types/commands/GetBucketPolicyCommand.d.ts +0 -4
  35. package/dist-types/commands/GetBucketPolicyStatusCommand.d.ts +0 -2
  36. package/dist-types/commands/GetBucketReplicationCommand.d.ts +0 -5
  37. package/dist-types/commands/GetBucketRequestPaymentCommand.d.ts +0 -1
  38. package/dist-types/commands/GetBucketTaggingCommand.d.ts +0 -2
  39. package/dist-types/commands/GetBucketVersioningCommand.d.ts +0 -2
  40. package/dist-types/commands/GetObjectAclCommand.d.ts +1 -1
  41. package/dist-types/commands/GetObjectAttributesCommand.d.ts +40 -46
  42. package/dist-types/commands/GetObjectCommand.d.ts +0 -20
  43. package/dist-types/commands/GetObjectLegalHoldCommand.d.ts +0 -1
  44. package/dist-types/commands/GetObjectLockConfigurationCommand.d.ts +0 -1
  45. package/dist-types/commands/GetObjectRetentionCommand.d.ts +0 -1
  46. package/dist-types/commands/GetObjectTaggingCommand.d.ts +0 -4
  47. package/dist-types/commands/GetPublicAccessBlockCommand.d.ts +0 -3
  48. package/dist-types/commands/HeadBucketCommand.d.ts +0 -5
  49. package/dist-types/commands/HeadObjectCommand.d.ts +0 -7
  50. package/dist-types/commands/ListBucketAnalyticsConfigurationsCommand.d.ts +0 -4
  51. package/dist-types/commands/ListBucketInventoryConfigurationsCommand.d.ts +0 -4
  52. package/dist-types/commands/ListBucketMetricsConfigurationsCommand.d.ts +0 -4
  53. package/dist-types/commands/ListMultipartUploadsCommand.d.ts +0 -5
  54. package/dist-types/commands/ListObjectsCommand.d.ts +0 -2
  55. package/dist-types/commands/ListObjectsV2Command.d.ts +0 -4
  56. package/dist-types/commands/ListPartsCommand.d.ts +0 -3
  57. package/dist-types/commands/PutBucketAccelerateConfigurationCommand.d.ts +0 -8
  58. package/dist-types/commands/PutBucketAclCommand.d.ts +0 -7
  59. package/dist-types/commands/PutBucketAnalyticsConfigurationCommand.d.ts +0 -11
  60. package/dist-types/commands/PutBucketCorsCommand.d.ts +0 -1
  61. package/dist-types/commands/PutBucketEncryptionCommand.d.ts +0 -1
  62. package/dist-types/commands/PutBucketIntelligentTieringConfigurationCommand.d.ts +0 -1
  63. package/dist-types/commands/PutBucketInventoryConfigurationCommand.d.ts +0 -2
  64. package/dist-types/commands/PutBucketLifecycleConfigurationCommand.d.ts +0 -15
  65. package/dist-types/commands/PutBucketLoggingCommand.d.ts +0 -9
  66. package/dist-types/commands/PutBucketMetricsConfigurationCommand.d.ts +0 -4
  67. package/dist-types/commands/PutBucketNotificationConfigurationCommand.d.ts +0 -8
  68. package/dist-types/commands/PutBucketPolicyCommand.d.ts +0 -3
  69. package/dist-types/commands/PutBucketReplicationCommand.d.ts +0 -8
  70. package/dist-types/commands/PutBucketRequestPaymentCommand.d.ts +0 -1
  71. package/dist-types/commands/PutBucketTaggingCommand.d.ts +0 -4
  72. package/dist-types/commands/PutBucketVersioningCommand.d.ts +0 -6
  73. package/dist-types/commands/PutBucketWebsiteCommand.d.ts +0 -4
  74. package/dist-types/commands/PutObjectAclCommand.d.ts +0 -3
  75. package/dist-types/commands/PutObjectCommand.d.ts +0 -8
  76. package/dist-types/commands/PutObjectTaggingCommand.d.ts +0 -12
  77. package/dist-types/commands/PutPublicAccessBlockCommand.d.ts +0 -6
  78. package/dist-types/commands/RestoreObjectCommand.d.ts +0 -1
  79. package/dist-types/commands/SelectObjectContentCommand.d.ts +0 -3
  80. package/dist-types/commands/UploadPartCommand.d.ts +0 -18
  81. package/dist-types/commands/UploadPartCopyCommand.d.ts +0 -10
  82. package/dist-types/models/models_0.d.ts +21 -50
  83. package/dist-types/models/models_1.d.ts +52 -53
  84. package/package.json +12 -12
@@ -55,7 +55,7 @@ export interface PutObjectRetentionRequest {
55
55
  * <code>x-amz-trailer</code> header sent. Otherwise, Amazon S3 fails the request with the HTTP status code <code>400 Bad Request</code>. For more
56
56
  * information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html">Checking object integrity</a> in
57
57
  * the <i>Amazon S3 User Guide</i>.</p>
58
- * <p>If you provide an individual checksum, Amazon S3 ignores any provided
58
+ * <p>If you provide an individual checksum, Amazon S3 ignores any provided
59
59
  * <code>ChecksumAlgorithm</code> parameter.</p>
60
60
  */
61
61
  ChecksumAlgorithm?: ChecksumAlgorithm | string;
@@ -99,7 +99,7 @@ export interface PutObjectTaggingRequest {
99
99
  * <code>x-amz-trailer</code> header sent. Otherwise, Amazon S3 fails the request with the HTTP status code <code>400 Bad Request</code>. For more
100
100
  * information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html">Checking object integrity</a> in
101
101
  * the <i>Amazon S3 User Guide</i>.</p>
102
- * <p>If you provide an individual checksum, Amazon S3 ignores any provided
102
+ * <p>If you provide an individual checksum, Amazon S3 ignores any provided
103
103
  * <code>ChecksumAlgorithm</code> parameter.</p>
104
104
  */
105
105
  ChecksumAlgorithm?: ChecksumAlgorithm | string;
@@ -138,7 +138,7 @@ export interface PutPublicAccessBlockRequest {
138
138
  * <code>x-amz-trailer</code> header sent. Otherwise, Amazon S3 fails the request with the HTTP status code <code>400 Bad Request</code>. For more
139
139
  * information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html">Checking object integrity</a> in
140
140
  * the <i>Amazon S3 User Guide</i>.</p>
141
- * <p>If you provide an individual checksum, Amazon S3 ignores any provided
141
+ * <p>If you provide an individual checksum, Amazon S3 ignores any provided
142
142
  * <code>ChecksumAlgorithm</code> parameter.</p>
143
143
  */
144
144
  ChecksumAlgorithm?: ChecksumAlgorithm | string;
@@ -555,7 +555,7 @@ export interface RestoreObjectRequest {
555
555
  * <code>x-amz-trailer</code> header sent. Otherwise, Amazon S3 fails the request with the HTTP status code <code>400 Bad Request</code>. For more
556
556
  * information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html">Checking object integrity</a> in
557
557
  * the <i>Amazon S3 User Guide</i>.</p>
558
- * <p>If you provide an individual checksum, Amazon S3 ignores any provided
558
+ * <p>If you provide an individual checksum, Amazon S3 ignores any provided
559
559
  * <code>ChecksumAlgorithm</code> parameter.</p>
560
560
  */
561
561
  ChecksumAlgorithm?: ChecksumAlgorithm | string;
@@ -944,9 +944,9 @@ export interface UploadPartRequest {
944
944
  * <code>x-amz-trailer</code> header sent. Otherwise, Amazon S3 fails the request with the HTTP status code <code>400 Bad Request</code>. For more
945
945
  * information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html">Checking object integrity</a> in
946
946
  * the <i>Amazon S3 User Guide</i>.</p>
947
- * <p>If you provide an individual checksum, Amazon S3 ignores any provided
947
+ * <p>If you provide an individual checksum, Amazon S3 ignores any provided
948
948
  * <code>ChecksumAlgorithm</code> parameter.</p>
949
- * <p>This checksum algorithm must be the same for all parts and it match the checksum
949
+ * <p>This checksum algorithm must be the same for all parts and it match the checksum
950
950
  * value supplied in the <code>CreateMultipartUpload</code> request.</p>
951
951
  */
952
952
  ChecksumAlgorithm?: ChecksumAlgorithm | string;
@@ -1245,80 +1245,80 @@ export interface WriteGetObjectResponseRequest {
1245
1245
  /**
1246
1246
  * <p>The integer status code for an HTTP response of a corresponding <code>GetObject</code>
1247
1247
  * request.</p>
1248
- * <p class="title">
1248
+ * <p class="title">
1249
1249
  * <b>Status Codes</b>
1250
1250
  * </p>
1251
1251
  * <ul>
1252
1252
  * <li>
1253
- * <p>
1253
+ * <p>
1254
1254
  * <code>200 - OK</code>
1255
1255
  * </p>
1256
- * </li>
1256
+ * </li>
1257
1257
  * <li>
1258
- * <p>
1258
+ * <p>
1259
1259
  * <code>206 - Partial Content</code>
1260
1260
  * </p>
1261
- * </li>
1261
+ * </li>
1262
1262
  * <li>
1263
- * <p>
1263
+ * <p>
1264
1264
  * <code>304 - Not Modified</code>
1265
1265
  * </p>
1266
- * </li>
1266
+ * </li>
1267
1267
  * <li>
1268
- * <p>
1268
+ * <p>
1269
1269
  * <code>400 - Bad Request</code>
1270
- * </p>
1271
- * </li>
1270
+ * </p>
1271
+ * </li>
1272
1272
  * <li>
1273
- * <p>
1273
+ * <p>
1274
1274
  * <code>401 - Unauthorized</code>
1275
- * </p>
1276
- * </li>
1275
+ * </p>
1276
+ * </li>
1277
1277
  * <li>
1278
- * <p>
1278
+ * <p>
1279
1279
  * <code>403 - Forbidden</code>
1280
- * </p>
1281
- * </li>
1280
+ * </p>
1281
+ * </li>
1282
1282
  * <li>
1283
- * <p>
1283
+ * <p>
1284
1284
  * <code>404 - Not Found</code>
1285
- * </p>
1286
- * </li>
1285
+ * </p>
1286
+ * </li>
1287
1287
  * <li>
1288
- * <p>
1288
+ * <p>
1289
1289
  * <code>405 - Method Not Allowed</code>
1290
- * </p>
1291
- * </li>
1290
+ * </p>
1291
+ * </li>
1292
1292
  * <li>
1293
- * <p>
1293
+ * <p>
1294
1294
  * <code>409 - Conflict</code>
1295
- * </p>
1296
- * </li>
1295
+ * </p>
1296
+ * </li>
1297
1297
  * <li>
1298
- * <p>
1298
+ * <p>
1299
1299
  * <code>411 - Length Required</code>
1300
- * </p>
1301
- * </li>
1300
+ * </p>
1301
+ * </li>
1302
1302
  * <li>
1303
- * <p>
1303
+ * <p>
1304
1304
  * <code>412 - Precondition Failed</code>
1305
- * </p>
1306
- * </li>
1305
+ * </p>
1306
+ * </li>
1307
1307
  * <li>
1308
- * <p>
1308
+ * <p>
1309
1309
  * <code>416 - Range Not Satisfiable</code>
1310
- * </p>
1311
- * </li>
1310
+ * </p>
1311
+ * </li>
1312
1312
  * <li>
1313
- * <p>
1313
+ * <p>
1314
1314
  * <code>500 - Internal Server Error</code>
1315
- * </p>
1316
- * </li>
1315
+ * </p>
1316
+ * </li>
1317
1317
  * <li>
1318
- * <p>
1318
+ * <p>
1319
1319
  * <code>503 - Service Unavailable</code>
1320
- * </p>
1321
- * </li>
1320
+ * </p>
1321
+ * </li>
1322
1322
  * </ul>
1323
1323
  */
1324
1324
  StatusCode?: number;
@@ -1379,9 +1379,9 @@ export interface WriteGetObjectResponseRequest {
1379
1379
  * <code>GetObject</code> request required checksum validation. For more information about checksums, see
1380
1380
  * <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html">Checking
1381
1381
  * object integrity</a> in the <i>Amazon S3 User Guide</i>.</p>
1382
- * <p>Only one checksum header can be specified at a time. If you supply multiple
1382
+ * <p>Only one checksum header can be specified at a time. If you supply multiple
1383
1383
  * checksum headers, this request will fail.</p>
1384
- * <p></p>
1384
+ * <p></p>
1385
1385
  */
1386
1386
  ChecksumCRC32?: string;
1387
1387
  /**
@@ -1392,7 +1392,7 @@ export interface WriteGetObjectResponseRequest {
1392
1392
  * <code>GetObject</code> request required checksum validation. For more information about checksums, see
1393
1393
  * <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html">Checking
1394
1394
  * object integrity</a> in the <i>Amazon S3 User Guide</i>.</p>
1395
- * <p>Only one checksum header can be specified at a time. If you supply multiple
1395
+ * <p>Only one checksum header can be specified at a time. If you supply multiple
1396
1396
  * checksum headers, this request will fail.</p>
1397
1397
  */
1398
1398
  ChecksumCRC32C?: string;
@@ -1404,7 +1404,7 @@ export interface WriteGetObjectResponseRequest {
1404
1404
  * <code>GetObject</code> request required checksum validation. For more information about checksums, see
1405
1405
  * <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html">Checking
1406
1406
  * object integrity</a> in the <i>Amazon S3 User Guide</i>.</p>
1407
- * <p>Only one checksum header can be specified at a time. If you supply multiple
1407
+ * <p>Only one checksum header can be specified at a time. If you supply multiple
1408
1408
  * checksum headers, this request will fail.</p>
1409
1409
  */
1410
1410
  ChecksumSHA1?: string;
@@ -1416,7 +1416,7 @@ export interface WriteGetObjectResponseRequest {
1416
1416
  * <code>GetObject</code> request required checksum validation. For more information about checksums, see
1417
1417
  * <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html">Checking
1418
1418
  * object integrity</a> in the <i>Amazon S3 User Guide</i>.</p>
1419
- * <p>Only one checksum header can be specified at a time. If you supply multiple
1419
+ * <p>Only one checksum header can be specified at a time. If you supply multiple
1420
1420
  * checksum headers, this request will fail.</p>
1421
1421
  */
1422
1422
  ChecksumSHA256?: string;
@@ -1510,8 +1510,7 @@ export interface WriteGetObjectResponseRequest {
1510
1510
  /**
1511
1511
  * <p>Provides storage class information of the object. Amazon S3 returns this header for all
1512
1512
  * objects except for S3 Standard storage class objects.</p>
1513
- *
1514
- * <p>For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/storage-class-intro.html">Storage
1513
+ * <p>For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/storage-class-intro.html">Storage
1515
1514
  * Classes</a>.</p>
1516
1515
  */
1517
1516
  StorageClass?: StorageClass | string;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-s3",
3
3
  "description": "AWS SDK for JavaScript S3 Client for Node.js, Browser and React Native",
4
- "version": "3.258.0",
4
+ "version": "3.261.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -24,9 +24,9 @@
24
24
  "@aws-crypto/sha1-browser": "3.0.0",
25
25
  "@aws-crypto/sha256-browser": "3.0.0",
26
26
  "@aws-crypto/sha256-js": "3.0.0",
27
- "@aws-sdk/client-sts": "3.258.0",
28
- "@aws-sdk/config-resolver": "3.257.0",
29
- "@aws-sdk/credential-provider-node": "3.258.0",
27
+ "@aws-sdk/client-sts": "3.261.0",
28
+ "@aws-sdk/config-resolver": "3.259.0",
29
+ "@aws-sdk/credential-provider-node": "3.261.0",
30
30
  "@aws-sdk/eventstream-serde-browser": "3.258.0",
31
31
  "@aws-sdk/eventstream-serde-config-resolver": "3.257.0",
32
32
  "@aws-sdk/eventstream-serde-node": "3.258.0",
@@ -36,40 +36,40 @@
36
36
  "@aws-sdk/hash-stream-node": "3.257.0",
37
37
  "@aws-sdk/invalid-dependency": "3.257.0",
38
38
  "@aws-sdk/md5-js": "3.258.0",
39
- "@aws-sdk/middleware-bucket-endpoint": "3.257.0",
39
+ "@aws-sdk/middleware-bucket-endpoint": "3.259.0",
40
40
  "@aws-sdk/middleware-content-length": "3.257.0",
41
41
  "@aws-sdk/middleware-endpoint": "3.257.0",
42
42
  "@aws-sdk/middleware-expect-continue": "3.257.0",
43
- "@aws-sdk/middleware-flexible-checksums": "3.257.0",
43
+ "@aws-sdk/middleware-flexible-checksums": "3.259.0",
44
44
  "@aws-sdk/middleware-host-header": "3.257.0",
45
45
  "@aws-sdk/middleware-location-constraint": "3.257.0",
46
46
  "@aws-sdk/middleware-logger": "3.257.0",
47
47
  "@aws-sdk/middleware-recursion-detection": "3.257.0",
48
- "@aws-sdk/middleware-retry": "3.257.0",
48
+ "@aws-sdk/middleware-retry": "3.259.0",
49
49
  "@aws-sdk/middleware-sdk-s3": "3.257.0",
50
50
  "@aws-sdk/middleware-serde": "3.257.0",
51
51
  "@aws-sdk/middleware-signing": "3.257.0",
52
52
  "@aws-sdk/middleware-ssec": "3.257.0",
53
53
  "@aws-sdk/middleware-stack": "3.257.0",
54
54
  "@aws-sdk/middleware-user-agent": "3.257.0",
55
- "@aws-sdk/node-config-provider": "3.257.0",
55
+ "@aws-sdk/node-config-provider": "3.259.0",
56
56
  "@aws-sdk/node-http-handler": "3.257.0",
57
57
  "@aws-sdk/protocol-http": "3.257.0",
58
58
  "@aws-sdk/signature-v4-multi-region": "3.257.0",
59
- "@aws-sdk/smithy-client": "3.257.0",
59
+ "@aws-sdk/smithy-client": "3.261.0",
60
60
  "@aws-sdk/types": "3.257.0",
61
61
  "@aws-sdk/url-parser": "3.257.0",
62
62
  "@aws-sdk/util-base64": "3.208.0",
63
63
  "@aws-sdk/util-body-length-browser": "3.188.0",
64
64
  "@aws-sdk/util-body-length-node": "3.208.0",
65
- "@aws-sdk/util-defaults-mode-browser": "3.257.0",
66
- "@aws-sdk/util-defaults-mode-node": "3.257.0",
65
+ "@aws-sdk/util-defaults-mode-browser": "3.261.0",
66
+ "@aws-sdk/util-defaults-mode-node": "3.261.0",
67
67
  "@aws-sdk/util-endpoints": "3.257.0",
68
68
  "@aws-sdk/util-retry": "3.257.0",
69
69
  "@aws-sdk/util-stream-browser": "3.258.0",
70
70
  "@aws-sdk/util-stream-node": "3.257.0",
71
71
  "@aws-sdk/util-user-agent-browser": "3.257.0",
72
- "@aws-sdk/util-user-agent-node": "3.257.0",
72
+ "@aws-sdk/util-user-agent-node": "3.259.0",
73
73
  "@aws-sdk/util-utf8": "3.254.0",
74
74
  "@aws-sdk/util-waiter": "3.257.0",
75
75
  "@aws-sdk/xml-builder": "3.201.0",