@aws-sdk/client-cloudfront-keyvaluestore 3.496.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);
@@ -923,28 +925,29 @@ var import_util_endpoints = require("@aws-sdk/util-endpoints");
923
925
  // Annotate the CommonJS export names for ESM import in node:
924
926
 
925
927
  0 && (module.exports = {
926
- AccessDeniedException,
927
- CloudFrontKeyValueStore,
928
- CloudFrontKeyValueStoreClient,
929
928
  CloudFrontKeyValueStoreServiceException,
930
- ConflictException,
929
+ __Client,
930
+ CloudFrontKeyValueStoreClient,
931
+ CloudFrontKeyValueStore,
932
+ $Command,
931
933
  DeleteKeyCommand,
932
934
  DescribeKeyValueStoreCommand,
933
935
  GetKeyCommand,
934
- GetKeyResponseFilterSensitiveLog,
935
- InternalServerException,
936
936
  ListKeysCommand,
937
- ListKeysResponseFilterSensitiveLog,
938
- ListKeysResponseListItemFilterSensitiveLog,
939
937
  PutKeyCommand,
940
- PutKeyRequestFilterSensitiveLog,
941
- PutKeyRequestListItemFilterSensitiveLog,
938
+ UpdateKeysCommand,
939
+ paginateListKeys,
940
+ AccessDeniedException,
941
+ ConflictException,
942
+ InternalServerException,
942
943
  ResourceNotFoundException,
943
944
  ServiceQuotaExceededException,
944
- UpdateKeysCommand,
945
- UpdateKeysRequestFilterSensitiveLog,
946
945
  ValidationException,
947
- __Client,
948
- paginateListKeys
946
+ GetKeyResponseFilterSensitiveLog,
947
+ ListKeysResponseListItemFilterSensitiveLog,
948
+ ListKeysResponseFilterSensitiveLog,
949
+ PutKeyRequestFilterSensitiveLog,
950
+ PutKeyRequestListItemFilterSensitiveLog,
951
+ UpdateKeysRequestFilterSensitiveLog
949
952
  });
950
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.496.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",