@aws-sdk/client-cloudfront-keyvaluestore 3.495.0 → 3.497.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 CHANGED
@@ -434,9 +434,11 @@ var de_DescribeKeyValueStoreCommand = /* @__PURE__ */ __name(async (output, cont
434
434
  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
435
435
  const doc = (0, import_smithy_client.take)(data, {
436
436
  Created: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
437
+ FailureReason: import_smithy_client.expectString,
437
438
  ItemCount: import_smithy_client.expectInt32,
438
439
  KvsARN: import_smithy_client.expectString,
439
440
  LastModified: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
441
+ Status: import_smithy_client.expectString,
440
442
  TotalSizeInBytes: import_smithy_client.expectLong
441
443
  });
442
444
  Object.assign(contents, doc);
@@ -921,28 +923,31 @@ var paginateListKeys = (0, import_core.createPaginator)(CloudFrontKeyValueStoreC
921
923
  // src/index.ts
922
924
  var import_util_endpoints = require("@aws-sdk/util-endpoints");
923
925
  // Annotate the CommonJS export names for ESM import in node:
926
+
924
927
  0 && (module.exports = {
925
- AccessDeniedException,
926
- CloudFrontKeyValueStore,
927
- CloudFrontKeyValueStoreClient,
928
928
  CloudFrontKeyValueStoreServiceException,
929
- ConflictException,
929
+ __Client,
930
+ CloudFrontKeyValueStoreClient,
931
+ CloudFrontKeyValueStore,
932
+ $Command,
930
933
  DeleteKeyCommand,
931
934
  DescribeKeyValueStoreCommand,
932
935
  GetKeyCommand,
933
- GetKeyResponseFilterSensitiveLog,
934
- InternalServerException,
935
936
  ListKeysCommand,
936
- ListKeysResponseFilterSensitiveLog,
937
- ListKeysResponseListItemFilterSensitiveLog,
938
937
  PutKeyCommand,
939
- PutKeyRequestFilterSensitiveLog,
940
- PutKeyRequestListItemFilterSensitiveLog,
938
+ UpdateKeysCommand,
939
+ paginateListKeys,
940
+ AccessDeniedException,
941
+ ConflictException,
942
+ InternalServerException,
941
943
  ResourceNotFoundException,
942
944
  ServiceQuotaExceededException,
943
- UpdateKeysCommand,
944
- UpdateKeysRequestFilterSensitiveLog,
945
945
  ValidationException,
946
- __Client,
947
- paginateListKeys
946
+ GetKeyResponseFilterSensitiveLog,
947
+ ListKeysResponseListItemFilterSensitiveLog,
948
+ ListKeysResponseFilterSensitiveLog,
949
+ PutKeyRequestFilterSensitiveLog,
950
+ PutKeyRequestListItemFilterSensitiveLog,
951
+ UpdateKeysRequestFilterSensitiveLog
948
952
  });
953
+
@@ -139,9 +139,11 @@ export const de_DescribeKeyValueStoreCommand = async (output, context) => {
139
139
  const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
140
140
  const doc = take(data, {
141
141
  Created: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
142
+ FailureReason: __expectString,
142
143
  ItemCount: __expectInt32,
143
144
  KvsARN: __expectString,
144
145
  LastModified: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
146
+ Status: __expectString,
145
147
  TotalSizeInBytes: __expectLong,
146
148
  });
147
149
  Object.assign(contents, doc);
@@ -45,6 +45,8 @@ declare const DescribeKeyValueStoreCommand_base: {
45
45
  * // Created: new Date("TIMESTAMP"), // required
46
46
  * // ETag: "STRING_VALUE", // required
47
47
  * // LastModified: new Date("TIMESTAMP"),
48
+ * // Status: "STRING_VALUE",
49
+ * // FailureReason: "STRING_VALUE",
48
50
  * // };
49
51
  *
50
52
  * ```
@@ -164,6 +164,16 @@ export interface DescribeKeyValueStoreResponse {
164
164
  * <p>Date and time when the key value pairs in the Key Value Store was last modified.</p>
165
165
  */
166
166
  LastModified?: Date;
167
+ /**
168
+ * @public
169
+ * <p>The current status of the Key Value Store.</p>
170
+ */
171
+ Status?: string;
172
+ /**
173
+ * @public
174
+ * <p>The reason for Key Value Store creation failure.</p>
175
+ */
176
+ FailureReason?: string;
167
177
  }
168
178
  /**
169
179
  * @public
@@ -66,6 +66,8 @@ export interface DescribeKeyValueStoreResponse {
66
66
  Created: Date | undefined;
67
67
  ETag: string | undefined;
68
68
  LastModified?: Date;
69
+ Status?: string;
70
+ FailureReason?: string;
69
71
  }
70
72
  export interface GetKeyRequest {
71
73
  KvsARN: string | undefined;
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.495.0",
4
+ "version": "3.497.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-cloudfront-keyvaluestore",
@@ -20,48 +20,48 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "3.0.0",
22
22
  "@aws-crypto/sha256-js": "3.0.0",
23
- "@aws-sdk/client-sts": "3.495.0",
24
- "@aws-sdk/core": "3.495.0",
25
- "@aws-sdk/credential-provider-node": "3.495.0",
26
- "@aws-sdk/middleware-host-header": "3.495.0",
27
- "@aws-sdk/middleware-logger": "3.495.0",
28
- "@aws-sdk/middleware-recursion-detection": "3.495.0",
29
- "@aws-sdk/middleware-signing": "3.495.0",
30
- "@aws-sdk/middleware-user-agent": "3.495.0",
31
- "@aws-sdk/region-config-resolver": "3.495.0",
32
- "@aws-sdk/signature-v4-multi-region": "3.495.0",
33
- "@aws-sdk/types": "3.495.0",
34
- "@aws-sdk/util-endpoints": "3.495.0",
35
- "@aws-sdk/util-user-agent-browser": "3.495.0",
36
- "@aws-sdk/util-user-agent-node": "3.495.0",
37
- "@smithy/config-resolver": "^2.1.0",
38
- "@smithy/core": "^1.3.0",
39
- "@smithy/fetch-http-handler": "^2.4.0",
40
- "@smithy/hash-node": "^2.1.0",
41
- "@smithy/invalid-dependency": "^2.1.0",
42
- "@smithy/middleware-content-length": "^2.1.0",
43
- "@smithy/middleware-endpoint": "^2.4.0",
44
- "@smithy/middleware-retry": "^2.1.0",
45
- "@smithy/middleware-serde": "^2.1.0",
46
- "@smithy/middleware-stack": "^2.1.0",
47
- "@smithy/node-config-provider": "^2.2.0",
48
- "@smithy/node-http-handler": "^2.3.0",
49
- "@smithy/protocol-http": "^3.1.0",
50
- "@smithy/smithy-client": "^2.3.0",
51
- "@smithy/types": "^2.9.0",
52
- "@smithy/url-parser": "^2.1.0",
53
- "@smithy/util-base64": "^2.1.0",
54
- "@smithy/util-body-length-browser": "^2.1.0",
55
- "@smithy/util-body-length-node": "^2.2.0",
56
- "@smithy/util-defaults-mode-browser": "^2.1.0",
57
- "@smithy/util-defaults-mode-node": "^2.1.0",
58
- "@smithy/util-endpoints": "^1.1.0",
59
- "@smithy/util-retry": "^2.1.0",
60
- "@smithy/util-utf8": "^2.1.0",
23
+ "@aws-sdk/client-sts": "3.496.0",
24
+ "@aws-sdk/core": "3.496.0",
25
+ "@aws-sdk/credential-provider-node": "3.496.0",
26
+ "@aws-sdk/middleware-host-header": "3.496.0",
27
+ "@aws-sdk/middleware-logger": "3.496.0",
28
+ "@aws-sdk/middleware-recursion-detection": "3.496.0",
29
+ "@aws-sdk/middleware-signing": "3.496.0",
30
+ "@aws-sdk/middleware-user-agent": "3.496.0",
31
+ "@aws-sdk/region-config-resolver": "3.496.0",
32
+ "@aws-sdk/signature-v4-multi-region": "3.496.0",
33
+ "@aws-sdk/types": "3.496.0",
34
+ "@aws-sdk/util-endpoints": "3.496.0",
35
+ "@aws-sdk/util-user-agent-browser": "3.496.0",
36
+ "@aws-sdk/util-user-agent-node": "3.496.0",
37
+ "@smithy/config-resolver": "^2.1.1",
38
+ "@smithy/core": "^1.3.1",
39
+ "@smithy/fetch-http-handler": "^2.4.1",
40
+ "@smithy/hash-node": "^2.1.1",
41
+ "@smithy/invalid-dependency": "^2.1.1",
42
+ "@smithy/middleware-content-length": "^2.1.1",
43
+ "@smithy/middleware-endpoint": "^2.4.1",
44
+ "@smithy/middleware-retry": "^2.1.1",
45
+ "@smithy/middleware-serde": "^2.1.1",
46
+ "@smithy/middleware-stack": "^2.1.1",
47
+ "@smithy/node-config-provider": "^2.2.1",
48
+ "@smithy/node-http-handler": "^2.3.1",
49
+ "@smithy/protocol-http": "^3.1.1",
50
+ "@smithy/smithy-client": "^2.3.1",
51
+ "@smithy/types": "^2.9.1",
52
+ "@smithy/url-parser": "^2.1.1",
53
+ "@smithy/util-base64": "^2.1.1",
54
+ "@smithy/util-body-length-browser": "^2.1.1",
55
+ "@smithy/util-body-length-node": "^2.2.1",
56
+ "@smithy/util-defaults-mode-browser": "^2.1.1",
57
+ "@smithy/util-defaults-mode-node": "^2.1.1",
58
+ "@smithy/util-endpoints": "^1.1.1",
59
+ "@smithy/util-retry": "^2.1.1",
60
+ "@smithy/util-utf8": "^2.1.1",
61
61
  "tslib": "^2.5.0"
62
62
  },
63
63
  "devDependencies": {
64
- "@smithy/service-client-documentation-generator": "^2.1.0",
64
+ "@smithy/service-client-documentation-generator": "^2.1.1",
65
65
  "@tsconfig/node14": "1.0.3",
66
66
  "@types/node": "^14.14.31",
67
67
  "concurrently": "7.0.0",