@aws-sdk/client-glacier 3.658.0 → 3.658.1
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 +5 -6
- package/dist-es/protocols/Aws_restJson1.js +1 -6
- package/package.json +13 -13
package/dist-cjs/index.js
CHANGED
|
@@ -515,7 +515,7 @@ var se_AddTagsToVaultCommand = /* @__PURE__ */ __name(async (input, context) =>
|
|
|
515
515
|
}, "se_AddTagsToVaultCommand");
|
|
516
516
|
var se_CompleteMultipartUploadCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
517
517
|
const b = (0, import_core.requestBuilder)(input, context);
|
|
518
|
-
const headers = (0, import_smithy_client.map)({}, isSerializableHeaderValue, {
|
|
518
|
+
const headers = (0, import_smithy_client.map)({}, import_smithy_client.isSerializableHeaderValue, {
|
|
519
519
|
[_xaas]: input[_aS],
|
|
520
520
|
[_xasth]: input[_c]
|
|
521
521
|
});
|
|
@@ -621,7 +621,7 @@ var se_GetDataRetrievalPolicyCommand = /* @__PURE__ */ __name(async (input, cont
|
|
|
621
621
|
}, "se_GetDataRetrievalPolicyCommand");
|
|
622
622
|
var se_GetJobOutputCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
623
623
|
const b = (0, import_core.requestBuilder)(input, context);
|
|
624
|
-
const headers = (0, import_smithy_client.map)({}, isSerializableHeaderValue, {
|
|
624
|
+
const headers = (0, import_smithy_client.map)({}, import_smithy_client.isSerializableHeaderValue, {
|
|
625
625
|
[_r]: input[_r]
|
|
626
626
|
});
|
|
627
627
|
b.bp("/{accountId}/vaults/{vaultName}/jobs/{jobId}/output");
|
|
@@ -683,7 +683,7 @@ var se_InitiateJobCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
|
683
683
|
}, "se_InitiateJobCommand");
|
|
684
684
|
var se_InitiateMultipartUploadCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
685
685
|
const b = (0, import_core.requestBuilder)(input, context);
|
|
686
|
-
const headers = (0, import_smithy_client.map)({}, isSerializableHeaderValue, {
|
|
686
|
+
const headers = (0, import_smithy_client.map)({}, import_smithy_client.isSerializableHeaderValue, {
|
|
687
687
|
[_xaad]: input[_aD],
|
|
688
688
|
[_xaps]: input[_pS]
|
|
689
689
|
});
|
|
@@ -875,7 +875,7 @@ var se_SetVaultNotificationsCommand = /* @__PURE__ */ __name(async (input, conte
|
|
|
875
875
|
}, "se_SetVaultNotificationsCommand");
|
|
876
876
|
var se_UploadArchiveCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
877
877
|
const b = (0, import_core.requestBuilder)(input, context);
|
|
878
|
-
const headers = (0, import_smithy_client.map)({}, isSerializableHeaderValue, {
|
|
878
|
+
const headers = (0, import_smithy_client.map)({}, import_smithy_client.isSerializableHeaderValue, {
|
|
879
879
|
"content-type": "application/octet-stream",
|
|
880
880
|
[_xaad]: input[_aD],
|
|
881
881
|
[_xasth]: input[_c]
|
|
@@ -892,7 +892,7 @@ var se_UploadArchiveCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
|
892
892
|
}, "se_UploadArchiveCommand");
|
|
893
893
|
var se_UploadMultipartPartCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
894
894
|
const b = (0, import_core.requestBuilder)(input, context);
|
|
895
|
-
const headers = (0, import_smithy_client.map)({}, isSerializableHeaderValue, {
|
|
895
|
+
const headers = (0, import_smithy_client.map)({}, import_smithy_client.isSerializableHeaderValue, {
|
|
896
896
|
"content-type": "application/octet-stream",
|
|
897
897
|
[_xasth]: input[_c],
|
|
898
898
|
[_cr]: input[_r]
|
|
@@ -1509,7 +1509,6 @@ var deserializeMetadata = /* @__PURE__ */ __name((output) => ({
|
|
|
1509
1509
|
extendedRequestId: output.headers["x-amz-id-2"],
|
|
1510
1510
|
cfId: output.headers["x-amz-cf-id"]
|
|
1511
1511
|
}), "deserializeMetadata");
|
|
1512
|
-
var isSerializableHeaderValue = /* @__PURE__ */ __name((value) => value !== void 0 && value !== null && value !== "" && (!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) && (!Object.getOwnPropertyNames(value).includes("size") || value.size != 0), "isSerializableHeaderValue");
|
|
1513
1512
|
var _aD = "archiveDescription";
|
|
1514
1513
|
var _aI = "archiveId";
|
|
1515
1514
|
var _aR = "acceptRanges";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { loadRestJsonErrorCode, parseJsonBody as parseBody, parseJsonErrorBody as parseErrorBody } from "@aws-sdk/core";
|
|
2
2
|
import { requestBuilder as rb } from "@smithy/core";
|
|
3
|
-
import { _json, collectBody, decorateServiceException as __decorateServiceException, expectBoolean as __expectBoolean, expectLong as __expectLong, expectNonNull as __expectNonNull, expectObject as __expectObject, expectString as __expectString, map, take, withBaseException, } from "@smithy/smithy-client";
|
|
3
|
+
import { _json, collectBody, decorateServiceException as __decorateServiceException, expectBoolean as __expectBoolean, expectLong as __expectLong, expectNonNull as __expectNonNull, expectObject as __expectObject, expectString as __expectString, isSerializableHeaderValue, map, take, withBaseException, } from "@smithy/smithy-client";
|
|
4
4
|
import { GlacierServiceException as __BaseException } from "../models/GlacierServiceException";
|
|
5
5
|
import { InsufficientCapacityException, InvalidParameterValueException, LimitExceededException, MissingParameterValueException, PolicyEnforcedException, RequestTimeoutException, ResourceNotFoundException, ServiceUnavailableException, } from "../models/models_0";
|
|
6
6
|
export const se_AbortMultipartUploadCommand = async (input, context) => {
|
|
@@ -1035,11 +1035,6 @@ const deserializeMetadata = (output) => ({
|
|
|
1035
1035
|
cfId: output.headers["x-amz-cf-id"],
|
|
1036
1036
|
});
|
|
1037
1037
|
const collectBodyString = (streamBody, context) => collectBody(streamBody, context).then((body) => context.utf8Encoder(body));
|
|
1038
|
-
const isSerializableHeaderValue = (value) => value !== undefined &&
|
|
1039
|
-
value !== null &&
|
|
1040
|
-
value !== "" &&
|
|
1041
|
-
(!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) &&
|
|
1042
|
-
(!Object.getOwnPropertyNames(value).includes("size") || value.size != 0);
|
|
1043
1038
|
const _aD = "archiveDescription";
|
|
1044
1039
|
const _aI = "archiveId";
|
|
1045
1040
|
const _aR = "acceptRanges";
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-glacier",
|
|
3
3
|
"description": "AWS SDK for JavaScript Glacier Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.658.
|
|
4
|
+
"version": "3.658.1",
|
|
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-glacier",
|
|
@@ -22,10 +22,10 @@
|
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
23
|
"@aws-sdk/body-checksum-browser": "3.654.0",
|
|
24
24
|
"@aws-sdk/body-checksum-node": "3.654.0",
|
|
25
|
-
"@aws-sdk/client-sso-oidc": "3.658.
|
|
26
|
-
"@aws-sdk/client-sts": "3.658.
|
|
27
|
-
"@aws-sdk/core": "3.658.
|
|
28
|
-
"@aws-sdk/credential-provider-node": "3.658.
|
|
25
|
+
"@aws-sdk/client-sso-oidc": "3.658.1",
|
|
26
|
+
"@aws-sdk/client-sts": "3.658.1",
|
|
27
|
+
"@aws-sdk/core": "3.658.1",
|
|
28
|
+
"@aws-sdk/credential-provider-node": "3.658.1",
|
|
29
29
|
"@aws-sdk/middleware-host-header": "3.654.0",
|
|
30
30
|
"@aws-sdk/middleware-logger": "3.654.0",
|
|
31
31
|
"@aws-sdk/middleware-recursion-detection": "3.654.0",
|
|
@@ -37,30 +37,30 @@
|
|
|
37
37
|
"@aws-sdk/util-user-agent-browser": "3.654.0",
|
|
38
38
|
"@aws-sdk/util-user-agent-node": "3.654.0",
|
|
39
39
|
"@smithy/config-resolver": "^3.0.8",
|
|
40
|
-
"@smithy/core": "^2.4.
|
|
41
|
-
"@smithy/fetch-http-handler": "^3.2.
|
|
40
|
+
"@smithy/core": "^2.4.6",
|
|
41
|
+
"@smithy/fetch-http-handler": "^3.2.8",
|
|
42
42
|
"@smithy/hash-node": "^3.0.6",
|
|
43
43
|
"@smithy/invalid-dependency": "^3.0.6",
|
|
44
44
|
"@smithy/middleware-content-length": "^3.0.8",
|
|
45
45
|
"@smithy/middleware-endpoint": "^3.1.3",
|
|
46
|
-
"@smithy/middleware-retry": "^3.0.
|
|
46
|
+
"@smithy/middleware-retry": "^3.0.21",
|
|
47
47
|
"@smithy/middleware-serde": "^3.0.6",
|
|
48
48
|
"@smithy/middleware-stack": "^3.0.6",
|
|
49
49
|
"@smithy/node-config-provider": "^3.1.7",
|
|
50
|
-
"@smithy/node-http-handler": "^3.2.
|
|
50
|
+
"@smithy/node-http-handler": "^3.2.3",
|
|
51
51
|
"@smithy/protocol-http": "^4.1.3",
|
|
52
|
-
"@smithy/smithy-client": "^3.3.
|
|
52
|
+
"@smithy/smithy-client": "^3.3.5",
|
|
53
53
|
"@smithy/types": "^3.4.2",
|
|
54
54
|
"@smithy/url-parser": "^3.0.6",
|
|
55
55
|
"@smithy/util-base64": "^3.0.0",
|
|
56
56
|
"@smithy/util-body-length-browser": "^3.0.0",
|
|
57
57
|
"@smithy/util-body-length-node": "^3.0.0",
|
|
58
|
-
"@smithy/util-defaults-mode-browser": "^3.0.
|
|
59
|
-
"@smithy/util-defaults-mode-node": "^3.0.
|
|
58
|
+
"@smithy/util-defaults-mode-browser": "^3.0.21",
|
|
59
|
+
"@smithy/util-defaults-mode-node": "^3.0.21",
|
|
60
60
|
"@smithy/util-endpoints": "^2.1.2",
|
|
61
61
|
"@smithy/util-middleware": "^3.0.6",
|
|
62
62
|
"@smithy/util-retry": "^3.0.6",
|
|
63
|
-
"@smithy/util-stream": "^3.1.
|
|
63
|
+
"@smithy/util-stream": "^3.1.8",
|
|
64
64
|
"@smithy/util-utf8": "^3.0.0",
|
|
65
65
|
"@smithy/util-waiter": "^3.1.5",
|
|
66
66
|
"tslib": "^2.6.2"
|