@aws-sdk/client-cloudfront-keyvaluestore 3.654.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 +3 -4
- package/dist-es/protocols/Aws_restJson1.js +1 -6
- package/package.json +13 -13
package/dist-cjs/index.js
CHANGED
|
@@ -348,7 +348,7 @@ var UpdateKeysRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
|
348
348
|
// src/protocols/Aws_restJson1.ts
|
|
349
349
|
var se_DeleteKeyCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
350
350
|
const b = (0, import_core.requestBuilder)(input, context);
|
|
351
|
-
const headers = (0, import_smithy_client.map)({}, isSerializableHeaderValue, {
|
|
351
|
+
const headers = (0, import_smithy_client.map)({}, import_smithy_client.isSerializableHeaderValue, {
|
|
352
352
|
[_im]: input[_IM]
|
|
353
353
|
});
|
|
354
354
|
b.bp("/key-value-stores/{KvsARN}/keys/{Key}");
|
|
@@ -392,7 +392,7 @@ var se_ListKeysCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
|
392
392
|
}, "se_ListKeysCommand");
|
|
393
393
|
var se_PutKeyCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
394
394
|
const b = (0, import_core.requestBuilder)(input, context);
|
|
395
|
-
const headers = (0, import_smithy_client.map)({}, isSerializableHeaderValue, {
|
|
395
|
+
const headers = (0, import_smithy_client.map)({}, import_smithy_client.isSerializableHeaderValue, {
|
|
396
396
|
"content-type": "application/json",
|
|
397
397
|
[_im]: input[_IM]
|
|
398
398
|
});
|
|
@@ -410,7 +410,7 @@ var se_PutKeyCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
|
410
410
|
}, "se_PutKeyCommand");
|
|
411
411
|
var se_UpdateKeysCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
412
412
|
const b = (0, import_core.requestBuilder)(input, context);
|
|
413
|
-
const headers = (0, import_smithy_client.map)({}, isSerializableHeaderValue, {
|
|
413
|
+
const headers = (0, import_smithy_client.map)({}, import_smithy_client.isSerializableHeaderValue, {
|
|
414
414
|
"content-type": "application/json",
|
|
415
415
|
[_im]: input[_IM]
|
|
416
416
|
});
|
|
@@ -646,7 +646,6 @@ var deserializeMetadata = /* @__PURE__ */ __name((output) => ({
|
|
|
646
646
|
extendedRequestId: output.headers["x-amz-id-2"],
|
|
647
647
|
cfId: output.headers["x-amz-cf-id"]
|
|
648
648
|
}), "deserializeMetadata");
|
|
649
|
-
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");
|
|
650
649
|
var _ET = "ETag";
|
|
651
650
|
var _IM = "IfMatch";
|
|
652
651
|
var _MR = "MaxResults";
|
|
@@ -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, expectInt32 as __expectInt32, expectLong as __expectLong, expectNonNull as __expectNonNull, expectNumber as __expectNumber, expectObject as __expectObject, expectString as __expectString, map, parseEpochTimestamp as __parseEpochTimestamp, take, withBaseException, } from "@smithy/smithy-client";
|
|
3
|
+
import { _json, collectBody, decorateServiceException as __decorateServiceException, expectInt32 as __expectInt32, expectLong as __expectLong, expectNonNull as __expectNonNull, expectNumber as __expectNumber, expectObject as __expectObject, expectString as __expectString, isSerializableHeaderValue, map, parseEpochTimestamp as __parseEpochTimestamp, take, withBaseException, } from "@smithy/smithy-client";
|
|
4
4
|
import { CloudFrontKeyValueStoreServiceException as __BaseException } from "../models/CloudFrontKeyValueStoreServiceException";
|
|
5
5
|
import { AccessDeniedException, ConflictException, InternalServerException, ResourceNotFoundException, ServiceQuotaExceededException, ValidationException, } from "../models/models_0";
|
|
6
6
|
export const se_DeleteKeyCommand = async (input, context) => {
|
|
@@ -300,11 +300,6 @@ const deserializeMetadata = (output) => ({
|
|
|
300
300
|
cfId: output.headers["x-amz-cf-id"],
|
|
301
301
|
});
|
|
302
302
|
const collectBodyString = (streamBody, context) => collectBody(streamBody, context).then((body) => context.utf8Encoder(body));
|
|
303
|
-
const isSerializableHeaderValue = (value) => value !== undefined &&
|
|
304
|
-
value !== null &&
|
|
305
|
-
value !== "" &&
|
|
306
|
-
(!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) &&
|
|
307
|
-
(!Object.getOwnPropertyNames(value).includes("size") || value.size != 0);
|
|
308
303
|
const _ET = "ETag";
|
|
309
304
|
const _IM = "IfMatch";
|
|
310
305
|
const _MR = "MaxResults";
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-cloudfront-keyvaluestore",
|
|
3
3
|
"description": "AWS SDK for JavaScript Cloudfront Keyvaluestore Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
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-cloudfront-keyvaluestore",
|
|
@@ -20,41 +20,41 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
|
-
"@aws-sdk/client-sso-oidc": "3.
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/core": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
23
|
+
"@aws-sdk/client-sso-oidc": "3.658.1",
|
|
24
|
+
"@aws-sdk/client-sts": "3.658.1",
|
|
25
|
+
"@aws-sdk/core": "3.658.1",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.658.1",
|
|
27
27
|
"@aws-sdk/middleware-host-header": "3.654.0",
|
|
28
28
|
"@aws-sdk/middleware-logger": "3.654.0",
|
|
29
29
|
"@aws-sdk/middleware-recursion-detection": "3.654.0",
|
|
30
30
|
"@aws-sdk/middleware-user-agent": "3.654.0",
|
|
31
31
|
"@aws-sdk/region-config-resolver": "3.654.0",
|
|
32
|
-
"@aws-sdk/signature-v4-multi-region": "3.
|
|
32
|
+
"@aws-sdk/signature-v4-multi-region": "3.658.1",
|
|
33
33
|
"@aws-sdk/types": "3.654.0",
|
|
34
34
|
"@aws-sdk/util-endpoints": "3.654.0",
|
|
35
35
|
"@aws-sdk/util-user-agent-browser": "3.654.0",
|
|
36
36
|
"@aws-sdk/util-user-agent-node": "3.654.0",
|
|
37
37
|
"@smithy/config-resolver": "^3.0.8",
|
|
38
|
-
"@smithy/core": "^2.4.
|
|
39
|
-
"@smithy/fetch-http-handler": "^3.2.
|
|
38
|
+
"@smithy/core": "^2.4.6",
|
|
39
|
+
"@smithy/fetch-http-handler": "^3.2.8",
|
|
40
40
|
"@smithy/hash-node": "^3.0.6",
|
|
41
41
|
"@smithy/invalid-dependency": "^3.0.6",
|
|
42
42
|
"@smithy/middleware-content-length": "^3.0.8",
|
|
43
43
|
"@smithy/middleware-endpoint": "^3.1.3",
|
|
44
|
-
"@smithy/middleware-retry": "^3.0.
|
|
44
|
+
"@smithy/middleware-retry": "^3.0.21",
|
|
45
45
|
"@smithy/middleware-serde": "^3.0.6",
|
|
46
46
|
"@smithy/middleware-stack": "^3.0.6",
|
|
47
47
|
"@smithy/node-config-provider": "^3.1.7",
|
|
48
|
-
"@smithy/node-http-handler": "^3.2.
|
|
48
|
+
"@smithy/node-http-handler": "^3.2.3",
|
|
49
49
|
"@smithy/protocol-http": "^4.1.3",
|
|
50
|
-
"@smithy/smithy-client": "^3.3.
|
|
50
|
+
"@smithy/smithy-client": "^3.3.5",
|
|
51
51
|
"@smithy/types": "^3.4.2",
|
|
52
52
|
"@smithy/url-parser": "^3.0.6",
|
|
53
53
|
"@smithy/util-base64": "^3.0.0",
|
|
54
54
|
"@smithy/util-body-length-browser": "^3.0.0",
|
|
55
55
|
"@smithy/util-body-length-node": "^3.0.0",
|
|
56
|
-
"@smithy/util-defaults-mode-browser": "^3.0.
|
|
57
|
-
"@smithy/util-defaults-mode-node": "^3.0.
|
|
56
|
+
"@smithy/util-defaults-mode-browser": "^3.0.21",
|
|
57
|
+
"@smithy/util-defaults-mode-node": "^3.0.21",
|
|
58
58
|
"@smithy/util-endpoints": "^2.1.2",
|
|
59
59
|
"@smithy/util-middleware": "^3.0.6",
|
|
60
60
|
"@smithy/util-retry": "^3.0.6",
|