@aws-sdk/client-s3 3.800.0 → 3.803.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 +20 -20
- package/dist-es/protocols/Aws_restXml.js +20 -20
- package/package.json +6 -6
package/dist-cjs/index.js
CHANGED
|
@@ -1254,6 +1254,10 @@ var se_CompleteMultipartUploadCommand = /* @__PURE__ */ __name(async (input, con
|
|
|
1254
1254
|
var se_CopyObjectCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1255
1255
|
const b = (0, import_core2.requestBuilder)(input, context);
|
|
1256
1256
|
const headers = (0, import_smithy_client.map)({}, import_smithy_client.isSerializableHeaderValue, {
|
|
1257
|
+
...input.Metadata !== void 0 && Object.keys(input.Metadata).reduce((acc, suffix) => {
|
|
1258
|
+
acc[`x-amz-meta-${suffix.toLowerCase()}`] = input.Metadata[suffix];
|
|
1259
|
+
return acc;
|
|
1260
|
+
}, {}),
|
|
1257
1261
|
[_xaa]: input[_ACL],
|
|
1258
1262
|
[_cc]: input[_CC],
|
|
1259
1263
|
[_xaca]: input[_CA],
|
|
@@ -1291,11 +1295,7 @@ var se_CopyObjectCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
|
1291
1295
|
[_xaolrud]: [() => (0, import_smithy_client.isSerializableHeaderValue)(input[_OLRUD]), () => (0, import_smithy_client.serializeDateTime)(input[_OLRUD]).toString()],
|
|
1292
1296
|
[_xaollh]: input[_OLLHS],
|
|
1293
1297
|
[_xaebo]: input[_EBO],
|
|
1294
|
-
[_xasebo]: input[_ESBO]
|
|
1295
|
-
...input.Metadata !== void 0 && Object.keys(input.Metadata).reduce((acc, suffix) => {
|
|
1296
|
-
acc[`x-amz-meta-${suffix.toLowerCase()}`] = input.Metadata[suffix];
|
|
1297
|
-
return acc;
|
|
1298
|
-
}, {})
|
|
1298
|
+
[_xasebo]: input[_ESBO]
|
|
1299
1299
|
});
|
|
1300
1300
|
b.bp("/{Key+}");
|
|
1301
1301
|
b.p("Bucket", () => input.Bucket, "{Bucket}", false);
|
|
@@ -1360,6 +1360,10 @@ var se_CreateBucketMetadataTableConfigurationCommand = /* @__PURE__ */ __name(as
|
|
|
1360
1360
|
var se_CreateMultipartUploadCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1361
1361
|
const b = (0, import_core2.requestBuilder)(input, context);
|
|
1362
1362
|
const headers = (0, import_smithy_client.map)({}, import_smithy_client.isSerializableHeaderValue, {
|
|
1363
|
+
...input.Metadata !== void 0 && Object.keys(input.Metadata).reduce((acc, suffix) => {
|
|
1364
|
+
acc[`x-amz-meta-${suffix.toLowerCase()}`] = input.Metadata[suffix];
|
|
1365
|
+
return acc;
|
|
1366
|
+
}, {}),
|
|
1363
1367
|
[_xaa]: input[_ACL],
|
|
1364
1368
|
[_cc]: input[_CC],
|
|
1365
1369
|
[_cd]: input[_CD],
|
|
@@ -1387,11 +1391,7 @@ var se_CreateMultipartUploadCommand = /* @__PURE__ */ __name(async (input, conte
|
|
|
1387
1391
|
[_xaollh]: input[_OLLHS],
|
|
1388
1392
|
[_xaebo]: input[_EBO],
|
|
1389
1393
|
[_xaca]: input[_CA],
|
|
1390
|
-
[_xact]: input[_CT]
|
|
1391
|
-
...input.Metadata !== void 0 && Object.keys(input.Metadata).reduce((acc, suffix) => {
|
|
1392
|
-
acc[`x-amz-meta-${suffix.toLowerCase()}`] = input.Metadata[suffix];
|
|
1393
|
-
return acc;
|
|
1394
|
-
}, {})
|
|
1394
|
+
[_xact]: input[_CT]
|
|
1395
1395
|
});
|
|
1396
1396
|
b.bp("/{Key+}");
|
|
1397
1397
|
b.p("Bucket", () => input.Bucket, "{Bucket}", false);
|
|
@@ -2839,6 +2839,10 @@ var se_PutBucketWebsiteCommand = /* @__PURE__ */ __name(async (input, context) =
|
|
|
2839
2839
|
var se_PutObjectCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
2840
2840
|
const b = (0, import_core2.requestBuilder)(input, context);
|
|
2841
2841
|
const headers = (0, import_smithy_client.map)({}, import_smithy_client.isSerializableHeaderValue, {
|
|
2842
|
+
...input.Metadata !== void 0 && Object.keys(input.Metadata).reduce((acc, suffix) => {
|
|
2843
|
+
acc[`x-amz-meta-${suffix.toLowerCase()}`] = input.Metadata[suffix];
|
|
2844
|
+
return acc;
|
|
2845
|
+
}, {}),
|
|
2842
2846
|
[_ct]: input[_CTo] || "application/octet-stream",
|
|
2843
2847
|
[_xaa]: input[_ACL],
|
|
2844
2848
|
[_cc]: input[_CC],
|
|
@@ -2875,11 +2879,7 @@ var se_PutObjectCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
|
2875
2879
|
[_xaolm]: input[_OLM],
|
|
2876
2880
|
[_xaolrud]: [() => (0, import_smithy_client.isSerializableHeaderValue)(input[_OLRUD]), () => (0, import_smithy_client.serializeDateTime)(input[_OLRUD]).toString()],
|
|
2877
2881
|
[_xaollh]: input[_OLLHS],
|
|
2878
|
-
[_xaebo]: input[_EBO]
|
|
2879
|
-
...input.Metadata !== void 0 && Object.keys(input.Metadata).reduce((acc, suffix) => {
|
|
2880
|
-
acc[`x-amz-meta-${suffix.toLowerCase()}`] = input.Metadata[suffix];
|
|
2881
|
-
return acc;
|
|
2882
|
-
}, {})
|
|
2882
|
+
[_xaebo]: input[_EBO]
|
|
2883
2883
|
});
|
|
2884
2884
|
b.bp("/{Key+}");
|
|
2885
2885
|
b.p("Bucket", () => input.Bucket, "{Bucket}", false);
|
|
@@ -3197,6 +3197,10 @@ var se_WriteGetObjectResponseCommand = /* @__PURE__ */ __name(async (input, cont
|
|
|
3197
3197
|
const b = (0, import_core2.requestBuilder)(input, context);
|
|
3198
3198
|
const headers = (0, import_smithy_client.map)({}, import_smithy_client.isSerializableHeaderValue, {
|
|
3199
3199
|
"x-amz-content-sha256": "UNSIGNED-PAYLOAD",
|
|
3200
|
+
...input.Metadata !== void 0 && Object.keys(input.Metadata).reduce((acc, suffix) => {
|
|
3201
|
+
acc[`x-amz-meta-${suffix.toLowerCase()}`] = input.Metadata[suffix];
|
|
3202
|
+
return acc;
|
|
3203
|
+
}, {}),
|
|
3200
3204
|
"content-type": "application/octet-stream",
|
|
3201
3205
|
[_xarr]: input[_RR],
|
|
3202
3206
|
[_xart]: input[_RT],
|
|
@@ -3239,11 +3243,7 @@ var se_WriteGetObjectResponseCommand = /* @__PURE__ */ __name(async (input, cont
|
|
|
3239
3243
|
[_xafhxasc]: input[_SC],
|
|
3240
3244
|
[_xafhxatc]: [() => (0, import_smithy_client.isSerializableHeaderValue)(input[_TC]), () => input[_TC].toString()],
|
|
3241
3245
|
[_xafhxavi]: input[_VI],
|
|
3242
|
-
[_xafhxassebke]: [() => (0, import_smithy_client.isSerializableHeaderValue)(input[_BKE]), () => input[_BKE].toString()]
|
|
3243
|
-
...input.Metadata !== void 0 && Object.keys(input.Metadata).reduce((acc, suffix) => {
|
|
3244
|
-
acc[`x-amz-meta-${suffix.toLowerCase()}`] = input.Metadata[suffix];
|
|
3245
|
-
return acc;
|
|
3246
|
-
}, {})
|
|
3246
|
+
[_xafhxassebke]: [() => (0, import_smithy_client.isSerializableHeaderValue)(input[_BKE]), () => input[_BKE].toString()]
|
|
3247
3247
|
});
|
|
3248
3248
|
b.bp("/WriteGetObjectResponse");
|
|
3249
3249
|
let body;
|
|
@@ -64,6 +64,11 @@ export const se_CompleteMultipartUploadCommand = async (input, context) => {
|
|
|
64
64
|
export const se_CopyObjectCommand = async (input, context) => {
|
|
65
65
|
const b = rb(input, context);
|
|
66
66
|
const headers = map({}, isSerializableHeaderValue, {
|
|
67
|
+
...(input.Metadata !== undefined &&
|
|
68
|
+
Object.keys(input.Metadata).reduce((acc, suffix) => {
|
|
69
|
+
acc[`x-amz-meta-${suffix.toLowerCase()}`] = input.Metadata[suffix];
|
|
70
|
+
return acc;
|
|
71
|
+
}, {})),
|
|
67
72
|
[_xaa]: input[_ACL],
|
|
68
73
|
[_cc]: input[_CC],
|
|
69
74
|
[_xaca]: input[_CA],
|
|
@@ -102,11 +107,6 @@ export const se_CopyObjectCommand = async (input, context) => {
|
|
|
102
107
|
[_xaollh]: input[_OLLHS],
|
|
103
108
|
[_xaebo]: input[_EBO],
|
|
104
109
|
[_xasebo]: input[_ESBO],
|
|
105
|
-
...(input.Metadata !== undefined &&
|
|
106
|
-
Object.keys(input.Metadata).reduce((acc, suffix) => {
|
|
107
|
-
acc[`x-amz-meta-${suffix.toLowerCase()}`] = input.Metadata[suffix];
|
|
108
|
-
return acc;
|
|
109
|
-
}, {})),
|
|
110
110
|
});
|
|
111
111
|
b.bp("/{Key+}");
|
|
112
112
|
b.p("Bucket", () => input.Bucket, "{Bucket}", false);
|
|
@@ -171,6 +171,11 @@ export const se_CreateBucketMetadataTableConfigurationCommand = async (input, co
|
|
|
171
171
|
export const se_CreateMultipartUploadCommand = async (input, context) => {
|
|
172
172
|
const b = rb(input, context);
|
|
173
173
|
const headers = map({}, isSerializableHeaderValue, {
|
|
174
|
+
...(input.Metadata !== undefined &&
|
|
175
|
+
Object.keys(input.Metadata).reduce((acc, suffix) => {
|
|
176
|
+
acc[`x-amz-meta-${suffix.toLowerCase()}`] = input.Metadata[suffix];
|
|
177
|
+
return acc;
|
|
178
|
+
}, {})),
|
|
174
179
|
[_xaa]: input[_ACL],
|
|
175
180
|
[_cc]: input[_CC],
|
|
176
181
|
[_cd]: input[_CD],
|
|
@@ -199,11 +204,6 @@ export const se_CreateMultipartUploadCommand = async (input, context) => {
|
|
|
199
204
|
[_xaebo]: input[_EBO],
|
|
200
205
|
[_xaca]: input[_CA],
|
|
201
206
|
[_xact]: input[_CT],
|
|
202
|
-
...(input.Metadata !== undefined &&
|
|
203
|
-
Object.keys(input.Metadata).reduce((acc, suffix) => {
|
|
204
|
-
acc[`x-amz-meta-${suffix.toLowerCase()}`] = input.Metadata[suffix];
|
|
205
|
-
return acc;
|
|
206
|
-
}, {})),
|
|
207
207
|
});
|
|
208
208
|
b.bp("/{Key+}");
|
|
209
209
|
b.p("Bucket", () => input.Bucket, "{Bucket}", false);
|
|
@@ -1651,6 +1651,11 @@ export const se_PutBucketWebsiteCommand = async (input, context) => {
|
|
|
1651
1651
|
export const se_PutObjectCommand = async (input, context) => {
|
|
1652
1652
|
const b = rb(input, context);
|
|
1653
1653
|
const headers = map({}, isSerializableHeaderValue, {
|
|
1654
|
+
...(input.Metadata !== undefined &&
|
|
1655
|
+
Object.keys(input.Metadata).reduce((acc, suffix) => {
|
|
1656
|
+
acc[`x-amz-meta-${suffix.toLowerCase()}`] = input.Metadata[suffix];
|
|
1657
|
+
return acc;
|
|
1658
|
+
}, {})),
|
|
1654
1659
|
[_ct]: input[_CTo] || "application/octet-stream",
|
|
1655
1660
|
[_xaa]: input[_ACL],
|
|
1656
1661
|
[_cc]: input[_CC],
|
|
@@ -1688,11 +1693,6 @@ export const se_PutObjectCommand = async (input, context) => {
|
|
|
1688
1693
|
[_xaolrud]: [() => isSerializableHeaderValue(input[_OLRUD]), () => __serializeDateTime(input[_OLRUD]).toString()],
|
|
1689
1694
|
[_xaollh]: input[_OLLHS],
|
|
1690
1695
|
[_xaebo]: input[_EBO],
|
|
1691
|
-
...(input.Metadata !== undefined &&
|
|
1692
|
-
Object.keys(input.Metadata).reduce((acc, suffix) => {
|
|
1693
|
-
acc[`x-amz-meta-${suffix.toLowerCase()}`] = input.Metadata[suffix];
|
|
1694
|
-
return acc;
|
|
1695
|
-
}, {})),
|
|
1696
1696
|
});
|
|
1697
1697
|
b.bp("/{Key+}");
|
|
1698
1698
|
b.p("Bucket", () => input.Bucket, "{Bucket}", false);
|
|
@@ -2010,6 +2010,11 @@ export const se_WriteGetObjectResponseCommand = async (input, context) => {
|
|
|
2010
2010
|
const b = rb(input, context);
|
|
2011
2011
|
const headers = map({}, isSerializableHeaderValue, {
|
|
2012
2012
|
"x-amz-content-sha256": "UNSIGNED-PAYLOAD",
|
|
2013
|
+
...(input.Metadata !== undefined &&
|
|
2014
|
+
Object.keys(input.Metadata).reduce((acc, suffix) => {
|
|
2015
|
+
acc[`x-amz-meta-${suffix.toLowerCase()}`] = input.Metadata[suffix];
|
|
2016
|
+
return acc;
|
|
2017
|
+
}, {})),
|
|
2013
2018
|
"content-type": "application/octet-stream",
|
|
2014
2019
|
[_xarr]: input[_RR],
|
|
2015
2020
|
[_xart]: input[_RT],
|
|
@@ -2053,11 +2058,6 @@ export const se_WriteGetObjectResponseCommand = async (input, context) => {
|
|
|
2053
2058
|
[_xafhxatc]: [() => isSerializableHeaderValue(input[_TC]), () => input[_TC].toString()],
|
|
2054
2059
|
[_xafhxavi]: input[_VI],
|
|
2055
2060
|
[_xafhxassebke]: [() => isSerializableHeaderValue(input[_BKE]), () => input[_BKE].toString()],
|
|
2056
|
-
...(input.Metadata !== undefined &&
|
|
2057
|
-
Object.keys(input.Metadata).reduce((acc, suffix) => {
|
|
2058
|
-
acc[`x-amz-meta-${suffix.toLowerCase()}`] = input.Metadata[suffix];
|
|
2059
|
-
return acc;
|
|
2060
|
-
}, {})),
|
|
2061
2061
|
});
|
|
2062
2062
|
b.bp("/WriteGetObjectResponse");
|
|
2063
2063
|
let body;
|
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.
|
|
4
|
+
"version": "3.803.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-s3",
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
29
29
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
30
30
|
"@aws-sdk/core": "3.799.0",
|
|
31
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
31
|
+
"@aws-sdk/credential-provider-node": "3.803.0",
|
|
32
32
|
"@aws-sdk/middleware-bucket-endpoint": "3.775.0",
|
|
33
33
|
"@aws-sdk/middleware-expect-continue": "3.775.0",
|
|
34
34
|
"@aws-sdk/middleware-flexible-checksums": "3.799.0",
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
"@aws-sdk/middleware-ssec": "3.775.0",
|
|
41
41
|
"@aws-sdk/middleware-user-agent": "3.799.0",
|
|
42
42
|
"@aws-sdk/region-config-resolver": "3.775.0",
|
|
43
|
-
"@aws-sdk/signature-v4-multi-region": "3.
|
|
43
|
+
"@aws-sdk/signature-v4-multi-region": "3.803.0",
|
|
44
44
|
"@aws-sdk/types": "3.775.0",
|
|
45
45
|
"@aws-sdk/util-endpoints": "3.787.0",
|
|
46
46
|
"@aws-sdk/util-user-agent-browser": "3.775.0",
|
|
@@ -59,7 +59,7 @@
|
|
|
59
59
|
"@smithy/md5-js": "^4.0.2",
|
|
60
60
|
"@smithy/middleware-content-length": "^4.0.2",
|
|
61
61
|
"@smithy/middleware-endpoint": "^4.1.1",
|
|
62
|
-
"@smithy/middleware-retry": "^4.1.
|
|
62
|
+
"@smithy/middleware-retry": "^4.1.2",
|
|
63
63
|
"@smithy/middleware-serde": "^4.0.3",
|
|
64
64
|
"@smithy/middleware-stack": "^4.0.2",
|
|
65
65
|
"@smithy/node-config-provider": "^4.0.2",
|
|
@@ -75,14 +75,14 @@
|
|
|
75
75
|
"@smithy/util-defaults-mode-node": "^4.0.9",
|
|
76
76
|
"@smithy/util-endpoints": "^3.0.2",
|
|
77
77
|
"@smithy/util-middleware": "^4.0.2",
|
|
78
|
-
"@smithy/util-retry": "^4.0.
|
|
78
|
+
"@smithy/util-retry": "^4.0.3",
|
|
79
79
|
"@smithy/util-stream": "^4.2.0",
|
|
80
80
|
"@smithy/util-utf8": "^4.0.0",
|
|
81
81
|
"@smithy/util-waiter": "^4.0.3",
|
|
82
82
|
"tslib": "^2.6.2"
|
|
83
83
|
},
|
|
84
84
|
"devDependencies": {
|
|
85
|
-
"@aws-sdk/signature-v4-crt": "3.
|
|
85
|
+
"@aws-sdk/signature-v4-crt": "3.803.0",
|
|
86
86
|
"@tsconfig/node18": "18.2.4",
|
|
87
87
|
"@types/node": "^18.19.69",
|
|
88
88
|
"concurrently": "7.0.0",
|