@aws-sdk/client-s3-control 3.259.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.
|
@@ -7385,7 +7385,7 @@ const parseErrorBody = async (errorBody, context) => {
|
|
|
7385
7385
|
return value;
|
|
7386
7386
|
};
|
|
7387
7387
|
const loadRestXmlErrorCode = (output, data) => {
|
|
7388
|
-
if (data.Error
|
|
7388
|
+
if (data.Error?.Code !== undefined) {
|
|
7389
7389
|
return data.Error.Code;
|
|
7390
7390
|
}
|
|
7391
7391
|
if (output.statusCode == 404) {
|
|
@@ -7258,7 +7258,7 @@ const parseErrorBody = async (errorBody, context) => {
|
|
|
7258
7258
|
return value;
|
|
7259
7259
|
};
|
|
7260
7260
|
const loadRestXmlErrorCode = (output, data) => {
|
|
7261
|
-
if (data.Error
|
|
7261
|
+
if (data.Error?.Code !== undefined) {
|
|
7262
7262
|
return data.Error.Code;
|
|
7263
7263
|
}
|
|
7264
7264
|
if (output.statusCode == 404) {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-s3-control",
|
|
3
3
|
"description": "AWS SDK for JavaScript S3 Control Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
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",
|
|
@@ -22,9 +22,9 @@
|
|
|
22
22
|
"dependencies": {
|
|
23
23
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
24
24
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
25
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
+
"@aws-sdk/client-sts": "3.261.0",
|
|
26
26
|
"@aws-sdk/config-resolver": "3.259.0",
|
|
27
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
27
|
+
"@aws-sdk/credential-provider-node": "3.261.0",
|
|
28
28
|
"@aws-sdk/fetch-http-handler": "3.257.0",
|
|
29
29
|
"@aws-sdk/hash-blob-browser": "3.257.0",
|
|
30
30
|
"@aws-sdk/hash-node": "3.257.0",
|
|
@@ -46,14 +46,14 @@
|
|
|
46
46
|
"@aws-sdk/node-config-provider": "3.259.0",
|
|
47
47
|
"@aws-sdk/node-http-handler": "3.257.0",
|
|
48
48
|
"@aws-sdk/protocol-http": "3.257.0",
|
|
49
|
-
"@aws-sdk/smithy-client": "3.
|
|
49
|
+
"@aws-sdk/smithy-client": "3.261.0",
|
|
50
50
|
"@aws-sdk/types": "3.257.0",
|
|
51
51
|
"@aws-sdk/url-parser": "3.257.0",
|
|
52
52
|
"@aws-sdk/util-base64": "3.208.0",
|
|
53
53
|
"@aws-sdk/util-body-length-browser": "3.188.0",
|
|
54
54
|
"@aws-sdk/util-body-length-node": "3.208.0",
|
|
55
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
56
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
55
|
+
"@aws-sdk/util-defaults-mode-browser": "3.261.0",
|
|
56
|
+
"@aws-sdk/util-defaults-mode-node": "3.261.0",
|
|
57
57
|
"@aws-sdk/util-endpoints": "3.257.0",
|
|
58
58
|
"@aws-sdk/util-retry": "3.257.0",
|
|
59
59
|
"@aws-sdk/util-user-agent-browser": "3.257.0",
|