@aws-sdk/client-cloudfront-keyvaluestore 3.928.0 → 3.930.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 +398 -393
- package/dist-cjs/runtimeConfig.shared.js +2 -0
- package/dist-es/CloudFrontKeyValueStoreClient.js +2 -0
- package/dist-es/commands/DeleteKeyCommand.js +3 -9
- package/dist-es/commands/DescribeKeyValueStoreCommand.js +3 -9
- package/dist-es/commands/GetKeyCommand.js +3 -10
- package/dist-es/commands/ListKeysCommand.js +3 -10
- package/dist-es/commands/PutKeyCommand.js +3 -10
- package/dist-es/commands/UpdateKeysCommand.js +3 -10
- package/dist-es/models/models_0.js +0 -25
- package/dist-es/runtimeConfig.shared.js +2 -0
- package/dist-es/schemas/schemas_0.js +370 -0
- package/dist-types/CloudFrontKeyValueStoreClient.d.ts +10 -1
- package/dist-types/models/models_0.d.ts +0 -24
- package/dist-types/runtimeConfig.browser.d.ts +1 -0
- package/dist-types/runtimeConfig.d.ts +1 -0
- package/dist-types/runtimeConfig.native.d.ts +1 -0
- package/dist-types/runtimeConfig.shared.d.ts +1 -0
- package/dist-types/schemas/schemas_0.d.ts +33 -0
- package/dist-types/ts3.4/CloudFrontKeyValueStoreClient.d.ts +4 -0
- package/dist-types/ts3.4/models/models_0.d.ts +0 -18
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +39 -0
- package/package.json +34 -34
- package/dist-es/protocols/Aws_restJson1.js +0 -308
- package/dist-types/protocols/Aws_restJson1.d.ts +0 -56
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +0 -77
package/dist-cjs/index.js
CHANGED
|
@@ -6,6 +6,7 @@ var middlewareRecursionDetection = require('@aws-sdk/middleware-recursion-detect
|
|
|
6
6
|
var middlewareUserAgent = require('@aws-sdk/middleware-user-agent');
|
|
7
7
|
var configResolver = require('@smithy/config-resolver');
|
|
8
8
|
var core = require('@smithy/core');
|
|
9
|
+
var schema = require('@smithy/core/schema');
|
|
9
10
|
var middlewareContentLength = require('@smithy/middleware-content-length');
|
|
10
11
|
var middlewareEndpoint = require('@smithy/middleware-endpoint');
|
|
11
12
|
var middlewareRetry = require('@smithy/middleware-retry');
|
|
@@ -14,8 +15,6 @@ var httpAuthSchemeProvider = require('./auth/httpAuthSchemeProvider');
|
|
|
14
15
|
var runtimeConfig = require('./runtimeConfig');
|
|
15
16
|
var regionConfigResolver = require('@aws-sdk/region-config-resolver');
|
|
16
17
|
var protocolHttp = require('@smithy/protocol-http');
|
|
17
|
-
var middlewareSerde = require('@smithy/middleware-serde');
|
|
18
|
-
var core$1 = require('@aws-sdk/core');
|
|
19
18
|
|
|
20
19
|
const resolveClientEndpointParameters = (options) => {
|
|
21
20
|
return Object.assign(options, {
|
|
@@ -89,6 +88,7 @@ class CloudFrontKeyValueStoreClient extends smithyClient.Client {
|
|
|
89
88
|
const _config_7 = httpAuthSchemeProvider.resolveHttpAuthSchemeConfig(_config_6);
|
|
90
89
|
const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
|
|
91
90
|
this.config = _config_8;
|
|
91
|
+
this.middlewareStack.use(schema.getSchemaSerdePlugin(this.config));
|
|
92
92
|
this.middlewareStack.use(middlewareUserAgent.getUserAgentPlugin(this.config));
|
|
93
93
|
this.middlewareStack.use(middlewareRetry.getRetryPlugin(this.config));
|
|
94
94
|
this.middlewareStack.use(middlewareContentLength.getContentLengthPlugin(this.config));
|
|
@@ -109,14 +109,14 @@ class CloudFrontKeyValueStoreClient extends smithyClient.Client {
|
|
|
109
109
|
}
|
|
110
110
|
}
|
|
111
111
|
|
|
112
|
-
class CloudFrontKeyValueStoreServiceException extends smithyClient.ServiceException {
|
|
112
|
+
let CloudFrontKeyValueStoreServiceException$1 = class CloudFrontKeyValueStoreServiceException extends smithyClient.ServiceException {
|
|
113
113
|
constructor(options) {
|
|
114
114
|
super(options);
|
|
115
115
|
Object.setPrototypeOf(this, CloudFrontKeyValueStoreServiceException.prototype);
|
|
116
116
|
}
|
|
117
|
-
}
|
|
117
|
+
};
|
|
118
118
|
|
|
119
|
-
class AccessDeniedException extends CloudFrontKeyValueStoreServiceException {
|
|
119
|
+
let AccessDeniedException$1 = class AccessDeniedException extends CloudFrontKeyValueStoreServiceException$1 {
|
|
120
120
|
name = "AccessDeniedException";
|
|
121
121
|
$fault = "client";
|
|
122
122
|
Message;
|
|
@@ -129,8 +129,8 @@ class AccessDeniedException extends CloudFrontKeyValueStoreServiceException {
|
|
|
129
129
|
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
130
130
|
this.Message = opts.Message;
|
|
131
131
|
}
|
|
132
|
-
}
|
|
133
|
-
class ConflictException extends CloudFrontKeyValueStoreServiceException {
|
|
132
|
+
};
|
|
133
|
+
let ConflictException$1 = class ConflictException extends CloudFrontKeyValueStoreServiceException$1 {
|
|
134
134
|
name = "ConflictException";
|
|
135
135
|
$fault = "client";
|
|
136
136
|
Message;
|
|
@@ -143,8 +143,8 @@ class ConflictException extends CloudFrontKeyValueStoreServiceException {
|
|
|
143
143
|
Object.setPrototypeOf(this, ConflictException.prototype);
|
|
144
144
|
this.Message = opts.Message;
|
|
145
145
|
}
|
|
146
|
-
}
|
|
147
|
-
class InternalServerException extends CloudFrontKeyValueStoreServiceException {
|
|
146
|
+
};
|
|
147
|
+
let InternalServerException$1 = class InternalServerException extends CloudFrontKeyValueStoreServiceException$1 {
|
|
148
148
|
name = "InternalServerException";
|
|
149
149
|
$fault = "server";
|
|
150
150
|
Message;
|
|
@@ -157,8 +157,8 @@ class InternalServerException extends CloudFrontKeyValueStoreServiceException {
|
|
|
157
157
|
Object.setPrototypeOf(this, InternalServerException.prototype);
|
|
158
158
|
this.Message = opts.Message;
|
|
159
159
|
}
|
|
160
|
-
}
|
|
161
|
-
class ResourceNotFoundException extends CloudFrontKeyValueStoreServiceException {
|
|
160
|
+
};
|
|
161
|
+
let ResourceNotFoundException$1 = class ResourceNotFoundException extends CloudFrontKeyValueStoreServiceException$1 {
|
|
162
162
|
name = "ResourceNotFoundException";
|
|
163
163
|
$fault = "client";
|
|
164
164
|
Message;
|
|
@@ -171,8 +171,8 @@ class ResourceNotFoundException extends CloudFrontKeyValueStoreServiceException
|
|
|
171
171
|
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
172
172
|
this.Message = opts.Message;
|
|
173
173
|
}
|
|
174
|
-
}
|
|
175
|
-
class ServiceQuotaExceededException extends CloudFrontKeyValueStoreServiceException {
|
|
174
|
+
};
|
|
175
|
+
let ServiceQuotaExceededException$1 = class ServiceQuotaExceededException extends CloudFrontKeyValueStoreServiceException$1 {
|
|
176
176
|
name = "ServiceQuotaExceededException";
|
|
177
177
|
$fault = "client";
|
|
178
178
|
Message;
|
|
@@ -185,8 +185,8 @@ class ServiceQuotaExceededException extends CloudFrontKeyValueStoreServiceExcept
|
|
|
185
185
|
Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
|
|
186
186
|
this.Message = opts.Message;
|
|
187
187
|
}
|
|
188
|
-
}
|
|
189
|
-
class ValidationException extends CloudFrontKeyValueStoreServiceException {
|
|
188
|
+
};
|
|
189
|
+
let ValidationException$1 = class ValidationException extends CloudFrontKeyValueStoreServiceException$1 {
|
|
190
190
|
name = "ValidationException";
|
|
191
191
|
$fault = "client";
|
|
192
192
|
Message;
|
|
@@ -199,334 +199,375 @@ class ValidationException extends CloudFrontKeyValueStoreServiceException {
|
|
|
199
199
|
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
200
200
|
this.Message = opts.Message;
|
|
201
201
|
}
|
|
202
|
-
}
|
|
203
|
-
const GetKeyResponseFilterSensitiveLog = (obj) => ({
|
|
204
|
-
...obj,
|
|
205
|
-
...(obj.Value && { Value: smithyClient.SENSITIVE_STRING }),
|
|
206
|
-
});
|
|
207
|
-
const ListKeysResponseListItemFilterSensitiveLog = (obj) => ({
|
|
208
|
-
...obj,
|
|
209
|
-
...(obj.Value && { Value: smithyClient.SENSITIVE_STRING }),
|
|
210
|
-
});
|
|
211
|
-
const ListKeysResponseFilterSensitiveLog = (obj) => ({
|
|
212
|
-
...obj,
|
|
213
|
-
...(obj.Items && { Items: obj.Items.map((item) => ListKeysResponseListItemFilterSensitiveLog(item)) }),
|
|
214
|
-
});
|
|
215
|
-
const PutKeyRequestFilterSensitiveLog = (obj) => ({
|
|
216
|
-
...obj,
|
|
217
|
-
...(obj.Value && { Value: smithyClient.SENSITIVE_STRING }),
|
|
218
|
-
});
|
|
219
|
-
const PutKeyRequestListItemFilterSensitiveLog = (obj) => ({
|
|
220
|
-
...obj,
|
|
221
|
-
...(obj.Value && { Value: smithyClient.SENSITIVE_STRING }),
|
|
222
|
-
});
|
|
223
|
-
const UpdateKeysRequestFilterSensitiveLog = (obj) => ({
|
|
224
|
-
...obj,
|
|
225
|
-
...(obj.Puts && { Puts: obj.Puts.map((item) => PutKeyRequestListItemFilterSensitiveLog(item)) }),
|
|
226
|
-
});
|
|
227
|
-
|
|
228
|
-
const se_DeleteKeyCommand = async (input, context) => {
|
|
229
|
-
const b = core.requestBuilder(input, context);
|
|
230
|
-
const headers = smithyClient.map({}, smithyClient.isSerializableHeaderValue, {
|
|
231
|
-
[_im]: input[_IM],
|
|
232
|
-
});
|
|
233
|
-
b.bp("/key-value-stores/{KvsARN}/keys/{Key}");
|
|
234
|
-
b.p("KvsARN", () => input.KvsARN, "{KvsARN}", false);
|
|
235
|
-
b.p("Key", () => input.Key, "{Key}", false);
|
|
236
|
-
let body;
|
|
237
|
-
b.m("DELETE").h(headers).b(body);
|
|
238
|
-
return b.build();
|
|
239
|
-
};
|
|
240
|
-
const se_DescribeKeyValueStoreCommand = async (input, context) => {
|
|
241
|
-
const b = core.requestBuilder(input, context);
|
|
242
|
-
const headers = {};
|
|
243
|
-
b.bp("/key-value-stores/{KvsARN}");
|
|
244
|
-
b.p("KvsARN", () => input.KvsARN, "{KvsARN}", false);
|
|
245
|
-
let body;
|
|
246
|
-
b.m("GET").h(headers).b(body);
|
|
247
|
-
return b.build();
|
|
248
|
-
};
|
|
249
|
-
const se_GetKeyCommand = async (input, context) => {
|
|
250
|
-
const b = core.requestBuilder(input, context);
|
|
251
|
-
const headers = {};
|
|
252
|
-
b.bp("/key-value-stores/{KvsARN}/keys/{Key}");
|
|
253
|
-
b.p("KvsARN", () => input.KvsARN, "{KvsARN}", false);
|
|
254
|
-
b.p("Key", () => input.Key, "{Key}", false);
|
|
255
|
-
let body;
|
|
256
|
-
b.m("GET").h(headers).b(body);
|
|
257
|
-
return b.build();
|
|
258
|
-
};
|
|
259
|
-
const se_ListKeysCommand = async (input, context) => {
|
|
260
|
-
const b = core.requestBuilder(input, context);
|
|
261
|
-
const headers = {};
|
|
262
|
-
b.bp("/key-value-stores/{KvsARN}/keys");
|
|
263
|
-
b.p("KvsARN", () => input.KvsARN, "{KvsARN}", false);
|
|
264
|
-
const query = smithyClient.map({
|
|
265
|
-
[_NT]: [, input[_NT]],
|
|
266
|
-
[_MR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
|
|
267
|
-
});
|
|
268
|
-
let body;
|
|
269
|
-
b.m("GET").h(headers).q(query).b(body);
|
|
270
|
-
return b.build();
|
|
271
|
-
};
|
|
272
|
-
const se_PutKeyCommand = async (input, context) => {
|
|
273
|
-
const b = core.requestBuilder(input, context);
|
|
274
|
-
const headers = smithyClient.map({}, smithyClient.isSerializableHeaderValue, {
|
|
275
|
-
"content-type": "application/json",
|
|
276
|
-
[_im]: input[_IM],
|
|
277
|
-
});
|
|
278
|
-
b.bp("/key-value-stores/{KvsARN}/keys/{Key}");
|
|
279
|
-
b.p("Key", () => input.Key, "{Key}", false);
|
|
280
|
-
b.p("KvsARN", () => input.KvsARN, "{KvsARN}", false);
|
|
281
|
-
let body;
|
|
282
|
-
body = JSON.stringify(smithyClient.take(input, {
|
|
283
|
-
Value: [],
|
|
284
|
-
}));
|
|
285
|
-
b.m("PUT").h(headers).b(body);
|
|
286
|
-
return b.build();
|
|
287
|
-
};
|
|
288
|
-
const se_UpdateKeysCommand = async (input, context) => {
|
|
289
|
-
const b = core.requestBuilder(input, context);
|
|
290
|
-
const headers = smithyClient.map({}, smithyClient.isSerializableHeaderValue, {
|
|
291
|
-
"content-type": "application/json",
|
|
292
|
-
[_im]: input[_IM],
|
|
293
|
-
});
|
|
294
|
-
b.bp("/key-value-stores/{KvsARN}/keys");
|
|
295
|
-
b.p("KvsARN", () => input.KvsARN, "{KvsARN}", false);
|
|
296
|
-
let body;
|
|
297
|
-
body = JSON.stringify(smithyClient.take(input, {
|
|
298
|
-
Deletes: (_) => smithyClient._json(_),
|
|
299
|
-
Puts: (_) => smithyClient._json(_),
|
|
300
|
-
}));
|
|
301
|
-
b.m("POST").h(headers).b(body);
|
|
302
|
-
return b.build();
|
|
303
|
-
};
|
|
304
|
-
const de_DeleteKeyCommand = async (output, context) => {
|
|
305
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
306
|
-
return de_CommandError(output, context);
|
|
307
|
-
}
|
|
308
|
-
const contents = smithyClient.map({
|
|
309
|
-
$metadata: deserializeMetadata(output),
|
|
310
|
-
[_ET]: [, output.headers[_e]],
|
|
311
|
-
});
|
|
312
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
313
|
-
const doc = smithyClient.take(data, {
|
|
314
|
-
ItemCount: smithyClient.expectInt32,
|
|
315
|
-
TotalSizeInBytes: smithyClient.expectLong,
|
|
316
|
-
});
|
|
317
|
-
Object.assign(contents, doc);
|
|
318
|
-
return contents;
|
|
319
|
-
};
|
|
320
|
-
const de_DescribeKeyValueStoreCommand = async (output, context) => {
|
|
321
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
322
|
-
return de_CommandError(output, context);
|
|
323
|
-
}
|
|
324
|
-
const contents = smithyClient.map({
|
|
325
|
-
$metadata: deserializeMetadata(output),
|
|
326
|
-
[_ET]: [, output.headers[_e]],
|
|
327
|
-
});
|
|
328
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
329
|
-
const doc = smithyClient.take(data, {
|
|
330
|
-
Created: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
|
|
331
|
-
FailureReason: smithyClient.expectString,
|
|
332
|
-
ItemCount: smithyClient.expectInt32,
|
|
333
|
-
KvsARN: smithyClient.expectString,
|
|
334
|
-
LastModified: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
|
|
335
|
-
Status: smithyClient.expectString,
|
|
336
|
-
TotalSizeInBytes: smithyClient.expectLong,
|
|
337
|
-
});
|
|
338
|
-
Object.assign(contents, doc);
|
|
339
|
-
return contents;
|
|
340
|
-
};
|
|
341
|
-
const de_GetKeyCommand = async (output, context) => {
|
|
342
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
343
|
-
return de_CommandError(output, context);
|
|
344
|
-
}
|
|
345
|
-
const contents = smithyClient.map({
|
|
346
|
-
$metadata: deserializeMetadata(output),
|
|
347
|
-
});
|
|
348
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
349
|
-
const doc = smithyClient.take(data, {
|
|
350
|
-
ItemCount: smithyClient.expectInt32,
|
|
351
|
-
Key: smithyClient.expectString,
|
|
352
|
-
TotalSizeInBytes: smithyClient.expectLong,
|
|
353
|
-
Value: smithyClient.expectString,
|
|
354
|
-
});
|
|
355
|
-
Object.assign(contents, doc);
|
|
356
|
-
return contents;
|
|
357
|
-
};
|
|
358
|
-
const de_ListKeysCommand = async (output, context) => {
|
|
359
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
360
|
-
return de_CommandError(output, context);
|
|
361
|
-
}
|
|
362
|
-
const contents = smithyClient.map({
|
|
363
|
-
$metadata: deserializeMetadata(output),
|
|
364
|
-
});
|
|
365
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
366
|
-
const doc = smithyClient.take(data, {
|
|
367
|
-
Items: smithyClient._json,
|
|
368
|
-
NextToken: smithyClient.expectString,
|
|
369
|
-
});
|
|
370
|
-
Object.assign(contents, doc);
|
|
371
|
-
return contents;
|
|
372
|
-
};
|
|
373
|
-
const de_PutKeyCommand = async (output, context) => {
|
|
374
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
375
|
-
return de_CommandError(output, context);
|
|
376
|
-
}
|
|
377
|
-
const contents = smithyClient.map({
|
|
378
|
-
$metadata: deserializeMetadata(output),
|
|
379
|
-
[_ET]: [, output.headers[_e]],
|
|
380
|
-
});
|
|
381
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
382
|
-
const doc = smithyClient.take(data, {
|
|
383
|
-
ItemCount: smithyClient.expectInt32,
|
|
384
|
-
TotalSizeInBytes: smithyClient.expectLong,
|
|
385
|
-
});
|
|
386
|
-
Object.assign(contents, doc);
|
|
387
|
-
return contents;
|
|
388
|
-
};
|
|
389
|
-
const de_UpdateKeysCommand = async (output, context) => {
|
|
390
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
391
|
-
return de_CommandError(output, context);
|
|
392
|
-
}
|
|
393
|
-
const contents = smithyClient.map({
|
|
394
|
-
$metadata: deserializeMetadata(output),
|
|
395
|
-
[_ET]: [, output.headers[_e]],
|
|
396
|
-
});
|
|
397
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
398
|
-
const doc = smithyClient.take(data, {
|
|
399
|
-
ItemCount: smithyClient.expectInt32,
|
|
400
|
-
TotalSizeInBytes: smithyClient.expectLong,
|
|
401
|
-
});
|
|
402
|
-
Object.assign(contents, doc);
|
|
403
|
-
return contents;
|
|
404
|
-
};
|
|
405
|
-
const de_CommandError = async (output, context) => {
|
|
406
|
-
const parsedOutput = {
|
|
407
|
-
...output,
|
|
408
|
-
body: await core$1.parseJsonErrorBody(output.body, context),
|
|
409
|
-
};
|
|
410
|
-
const errorCode = core$1.loadRestJsonErrorCode(output, parsedOutput.body);
|
|
411
|
-
switch (errorCode) {
|
|
412
|
-
case "AccessDeniedException":
|
|
413
|
-
case "com.amazonaws.cloudfrontkeyvaluestore#AccessDeniedException":
|
|
414
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput);
|
|
415
|
-
case "ConflictException":
|
|
416
|
-
case "com.amazonaws.cloudfrontkeyvaluestore#ConflictException":
|
|
417
|
-
throw await de_ConflictExceptionRes(parsedOutput);
|
|
418
|
-
case "InternalServerException":
|
|
419
|
-
case "com.amazonaws.cloudfrontkeyvaluestore#InternalServerException":
|
|
420
|
-
throw await de_InternalServerExceptionRes(parsedOutput);
|
|
421
|
-
case "ResourceNotFoundException":
|
|
422
|
-
case "com.amazonaws.cloudfrontkeyvaluestore#ResourceNotFoundException":
|
|
423
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput);
|
|
424
|
-
case "ServiceQuotaExceededException":
|
|
425
|
-
case "com.amazonaws.cloudfrontkeyvaluestore#ServiceQuotaExceededException":
|
|
426
|
-
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput);
|
|
427
|
-
case "ValidationException":
|
|
428
|
-
case "com.amazonaws.cloudfrontkeyvaluestore#ValidationException":
|
|
429
|
-
throw await de_ValidationExceptionRes(parsedOutput);
|
|
430
|
-
default:
|
|
431
|
-
const parsedBody = parsedOutput.body;
|
|
432
|
-
return throwDefaultError({
|
|
433
|
-
output,
|
|
434
|
-
parsedBody,
|
|
435
|
-
errorCode,
|
|
436
|
-
});
|
|
437
|
-
}
|
|
438
|
-
};
|
|
439
|
-
const throwDefaultError = smithyClient.withBaseException(CloudFrontKeyValueStoreServiceException);
|
|
440
|
-
const de_AccessDeniedExceptionRes = async (parsedOutput, context) => {
|
|
441
|
-
const contents = smithyClient.map({});
|
|
442
|
-
const data = parsedOutput.body;
|
|
443
|
-
const doc = smithyClient.take(data, {
|
|
444
|
-
Message: smithyClient.expectString,
|
|
445
|
-
});
|
|
446
|
-
Object.assign(contents, doc);
|
|
447
|
-
const exception = new AccessDeniedException({
|
|
448
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
449
|
-
...contents,
|
|
450
|
-
});
|
|
451
|
-
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
452
|
-
};
|
|
453
|
-
const de_ConflictExceptionRes = async (parsedOutput, context) => {
|
|
454
|
-
const contents = smithyClient.map({});
|
|
455
|
-
const data = parsedOutput.body;
|
|
456
|
-
const doc = smithyClient.take(data, {
|
|
457
|
-
Message: smithyClient.expectString,
|
|
458
|
-
});
|
|
459
|
-
Object.assign(contents, doc);
|
|
460
|
-
const exception = new ConflictException({
|
|
461
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
462
|
-
...contents,
|
|
463
|
-
});
|
|
464
|
-
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
465
202
|
};
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
480
|
-
const contents = smithyClient.map({});
|
|
481
|
-
const data = parsedOutput.body;
|
|
482
|
-
const doc = smithyClient.take(data, {
|
|
483
|
-
Message: smithyClient.expectString,
|
|
484
|
-
});
|
|
485
|
-
Object.assign(contents, doc);
|
|
486
|
-
const exception = new ResourceNotFoundException({
|
|
487
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
488
|
-
...contents,
|
|
489
|
-
});
|
|
490
|
-
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
491
|
-
};
|
|
492
|
-
const de_ServiceQuotaExceededExceptionRes = async (parsedOutput, context) => {
|
|
493
|
-
const contents = smithyClient.map({});
|
|
494
|
-
const data = parsedOutput.body;
|
|
495
|
-
const doc = smithyClient.take(data, {
|
|
496
|
-
Message: smithyClient.expectString,
|
|
497
|
-
});
|
|
498
|
-
Object.assign(contents, doc);
|
|
499
|
-
const exception = new ServiceQuotaExceededException({
|
|
500
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
501
|
-
...contents,
|
|
502
|
-
});
|
|
503
|
-
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
504
|
-
};
|
|
505
|
-
const de_ValidationExceptionRes = async (parsedOutput, context) => {
|
|
506
|
-
const contents = smithyClient.map({});
|
|
507
|
-
const data = parsedOutput.body;
|
|
508
|
-
const doc = smithyClient.take(data, {
|
|
509
|
-
Message: smithyClient.expectString,
|
|
510
|
-
});
|
|
511
|
-
Object.assign(contents, doc);
|
|
512
|
-
const exception = new ValidationException({
|
|
513
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
514
|
-
...contents,
|
|
515
|
-
});
|
|
516
|
-
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
517
|
-
};
|
|
518
|
-
const deserializeMetadata = (output) => ({
|
|
519
|
-
httpStatusCode: output.statusCode,
|
|
520
|
-
requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
|
|
521
|
-
extendedRequestId: output.headers["x-amz-id-2"],
|
|
522
|
-
cfId: output.headers["x-amz-cf-id"],
|
|
523
|
-
});
|
|
203
|
+
|
|
204
|
+
const _ADE = "AccessDeniedException";
|
|
205
|
+
const _C = "Created";
|
|
206
|
+
const _CE = "ConflictException";
|
|
207
|
+
const _D = "Deletes";
|
|
208
|
+
const _DK = "DeleteKey";
|
|
209
|
+
const _DKR = "DeleteKeyRequest";
|
|
210
|
+
const _DKRL = "DeleteKeyRequestsList";
|
|
211
|
+
const _DKRLI = "DeleteKeyRequestListItem";
|
|
212
|
+
const _DKRe = "DeleteKeyResponse";
|
|
213
|
+
const _DKVS = "DescribeKeyValueStore";
|
|
214
|
+
const _DKVSR = "DescribeKeyValueStoreRequest";
|
|
215
|
+
const _DKVSRe = "DescribeKeyValueStoreResponse";
|
|
524
216
|
const _ET = "ETag";
|
|
217
|
+
const _FR = "FailureReason";
|
|
218
|
+
const _GK = "GetKey";
|
|
219
|
+
const _GKR = "GetKeyRequest";
|
|
220
|
+
const _GKRe = "GetKeyResponse";
|
|
221
|
+
const _I = "Items";
|
|
222
|
+
const _IC = "ItemCount";
|
|
525
223
|
const _IM = "IfMatch";
|
|
224
|
+
const _IM_ = "If-Match";
|
|
225
|
+
const _ISE = "InternalServerException";
|
|
226
|
+
const _K = "Key";
|
|
227
|
+
const _KARN = "KvsARN";
|
|
228
|
+
const _LK = "ListKeys";
|
|
229
|
+
const _LKR = "ListKeysRequest";
|
|
230
|
+
const _LKRL = "ListKeysResponseList";
|
|
231
|
+
const _LKRLI = "ListKeysResponseListItem";
|
|
232
|
+
const _LKRi = "ListKeysResponse";
|
|
233
|
+
const _LM = "LastModified";
|
|
234
|
+
const _M = "Message";
|
|
526
235
|
const _MR = "MaxResults";
|
|
527
236
|
const _NT = "NextToken";
|
|
528
|
-
const
|
|
529
|
-
const
|
|
237
|
+
const _P = "Puts";
|
|
238
|
+
const _PK = "PutKey";
|
|
239
|
+
const _PKR = "PutKeyRequest";
|
|
240
|
+
const _PKRL = "PutKeyRequestsList";
|
|
241
|
+
const _PKRLI = "PutKeyRequestListItem";
|
|
242
|
+
const _PKRu = "PutKeyResponse";
|
|
243
|
+
const _RNFE = "ResourceNotFoundException";
|
|
244
|
+
const _S = "Status";
|
|
245
|
+
const _SQEE = "ServiceQuotaExceededException";
|
|
246
|
+
const _TSIB = "TotalSizeInBytes";
|
|
247
|
+
const _UK = "UpdateKeys";
|
|
248
|
+
const _UKR = "UpdateKeysRequest";
|
|
249
|
+
const _UKRp = "UpdateKeysResponse";
|
|
250
|
+
const _V = "Value";
|
|
251
|
+
const _VE = "ValidationException";
|
|
252
|
+
const _c = "client";
|
|
253
|
+
const _e = "error";
|
|
254
|
+
const _h = "http";
|
|
255
|
+
const _hE = "httpError";
|
|
256
|
+
const _hH = "httpHeader";
|
|
257
|
+
const _hQ = "httpQuery";
|
|
258
|
+
const _s = "server";
|
|
259
|
+
const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.cloudfrontkeyvaluestore";
|
|
260
|
+
const n0 = "com.amazonaws.cloudfrontkeyvaluestore";
|
|
261
|
+
var Value = [0, n0, _V, 8, 0];
|
|
262
|
+
var AccessDeniedException = [
|
|
263
|
+
-3,
|
|
264
|
+
n0,
|
|
265
|
+
_ADE,
|
|
266
|
+
{
|
|
267
|
+
[_e]: _c,
|
|
268
|
+
[_hE]: 403,
|
|
269
|
+
},
|
|
270
|
+
[_M],
|
|
271
|
+
[0],
|
|
272
|
+
];
|
|
273
|
+
schema.TypeRegistry.for(n0).registerError(AccessDeniedException, AccessDeniedException$1);
|
|
274
|
+
var ConflictException = [
|
|
275
|
+
-3,
|
|
276
|
+
n0,
|
|
277
|
+
_CE,
|
|
278
|
+
{
|
|
279
|
+
[_e]: _c,
|
|
280
|
+
[_hE]: 409,
|
|
281
|
+
},
|
|
282
|
+
[_M],
|
|
283
|
+
[0],
|
|
284
|
+
];
|
|
285
|
+
schema.TypeRegistry.for(n0).registerError(ConflictException, ConflictException$1);
|
|
286
|
+
var DeleteKeyRequest = [
|
|
287
|
+
3,
|
|
288
|
+
n0,
|
|
289
|
+
_DKR,
|
|
290
|
+
0,
|
|
291
|
+
[_KARN, _K, _IM],
|
|
292
|
+
[
|
|
293
|
+
[0, 1],
|
|
294
|
+
[0, 1],
|
|
295
|
+
[
|
|
296
|
+
0,
|
|
297
|
+
{
|
|
298
|
+
[_hH]: _IM_,
|
|
299
|
+
},
|
|
300
|
+
],
|
|
301
|
+
],
|
|
302
|
+
];
|
|
303
|
+
var DeleteKeyRequestListItem = [3, n0, _DKRLI, 0, [_K], [0]];
|
|
304
|
+
var DeleteKeyResponse = [
|
|
305
|
+
3,
|
|
306
|
+
n0,
|
|
307
|
+
_DKRe,
|
|
308
|
+
0,
|
|
309
|
+
[_IC, _TSIB, _ET],
|
|
310
|
+
[
|
|
311
|
+
1,
|
|
312
|
+
1,
|
|
313
|
+
[
|
|
314
|
+
0,
|
|
315
|
+
{
|
|
316
|
+
[_hH]: _ET,
|
|
317
|
+
},
|
|
318
|
+
],
|
|
319
|
+
],
|
|
320
|
+
];
|
|
321
|
+
var DescribeKeyValueStoreRequest = [3, n0, _DKVSR, 0, [_KARN], [[0, 1]]];
|
|
322
|
+
var DescribeKeyValueStoreResponse = [
|
|
323
|
+
3,
|
|
324
|
+
n0,
|
|
325
|
+
_DKVSRe,
|
|
326
|
+
0,
|
|
327
|
+
[_IC, _TSIB, _KARN, _C, _ET, _LM, _S, _FR],
|
|
328
|
+
[
|
|
329
|
+
1,
|
|
330
|
+
1,
|
|
331
|
+
0,
|
|
332
|
+
4,
|
|
333
|
+
[
|
|
334
|
+
0,
|
|
335
|
+
{
|
|
336
|
+
[_hH]: _ET,
|
|
337
|
+
},
|
|
338
|
+
],
|
|
339
|
+
4,
|
|
340
|
+
0,
|
|
341
|
+
0,
|
|
342
|
+
],
|
|
343
|
+
];
|
|
344
|
+
var GetKeyRequest = [
|
|
345
|
+
3,
|
|
346
|
+
n0,
|
|
347
|
+
_GKR,
|
|
348
|
+
0,
|
|
349
|
+
[_KARN, _K],
|
|
350
|
+
[
|
|
351
|
+
[0, 1],
|
|
352
|
+
[0, 1],
|
|
353
|
+
],
|
|
354
|
+
];
|
|
355
|
+
var GetKeyResponse = [3, n0, _GKRe, 0, [_K, _V, _IC, _TSIB], [0, [() => Value, 0], 1, 1]];
|
|
356
|
+
var InternalServerException = [
|
|
357
|
+
-3,
|
|
358
|
+
n0,
|
|
359
|
+
_ISE,
|
|
360
|
+
{
|
|
361
|
+
[_e]: _s,
|
|
362
|
+
[_hE]: 500,
|
|
363
|
+
},
|
|
364
|
+
[_M],
|
|
365
|
+
[0],
|
|
366
|
+
];
|
|
367
|
+
schema.TypeRegistry.for(n0).registerError(InternalServerException, InternalServerException$1);
|
|
368
|
+
var ListKeysRequest = [
|
|
369
|
+
3,
|
|
370
|
+
n0,
|
|
371
|
+
_LKR,
|
|
372
|
+
0,
|
|
373
|
+
[_KARN, _NT, _MR],
|
|
374
|
+
[
|
|
375
|
+
[0, 1],
|
|
376
|
+
[
|
|
377
|
+
0,
|
|
378
|
+
{
|
|
379
|
+
[_hQ]: _NT,
|
|
380
|
+
},
|
|
381
|
+
],
|
|
382
|
+
[
|
|
383
|
+
1,
|
|
384
|
+
{
|
|
385
|
+
[_hQ]: _MR,
|
|
386
|
+
},
|
|
387
|
+
],
|
|
388
|
+
],
|
|
389
|
+
];
|
|
390
|
+
var ListKeysResponse = [3, n0, _LKRi, 0, [_NT, _I], [0, [() => ListKeysResponseList, 0]]];
|
|
391
|
+
var ListKeysResponseListItem = [3, n0, _LKRLI, 0, [_K, _V], [0, [() => Value, 0]]];
|
|
392
|
+
var PutKeyRequest = [
|
|
393
|
+
3,
|
|
394
|
+
n0,
|
|
395
|
+
_PKR,
|
|
396
|
+
0,
|
|
397
|
+
[_K, _V, _KARN, _IM],
|
|
398
|
+
[
|
|
399
|
+
[0, 1],
|
|
400
|
+
[() => Value, 0],
|
|
401
|
+
[0, 1],
|
|
402
|
+
[
|
|
403
|
+
0,
|
|
404
|
+
{
|
|
405
|
+
[_hH]: _IM_,
|
|
406
|
+
},
|
|
407
|
+
],
|
|
408
|
+
],
|
|
409
|
+
];
|
|
410
|
+
var PutKeyRequestListItem = [3, n0, _PKRLI, 0, [_K, _V], [0, [() => Value, 0]]];
|
|
411
|
+
var PutKeyResponse = [
|
|
412
|
+
3,
|
|
413
|
+
n0,
|
|
414
|
+
_PKRu,
|
|
415
|
+
0,
|
|
416
|
+
[_IC, _TSIB, _ET],
|
|
417
|
+
[
|
|
418
|
+
1,
|
|
419
|
+
1,
|
|
420
|
+
[
|
|
421
|
+
0,
|
|
422
|
+
{
|
|
423
|
+
[_hH]: _ET,
|
|
424
|
+
},
|
|
425
|
+
],
|
|
426
|
+
],
|
|
427
|
+
];
|
|
428
|
+
var ResourceNotFoundException = [
|
|
429
|
+
-3,
|
|
430
|
+
n0,
|
|
431
|
+
_RNFE,
|
|
432
|
+
{
|
|
433
|
+
[_e]: _c,
|
|
434
|
+
[_hE]: 404,
|
|
435
|
+
},
|
|
436
|
+
[_M],
|
|
437
|
+
[0],
|
|
438
|
+
];
|
|
439
|
+
schema.TypeRegistry.for(n0).registerError(ResourceNotFoundException, ResourceNotFoundException$1);
|
|
440
|
+
var ServiceQuotaExceededException = [
|
|
441
|
+
-3,
|
|
442
|
+
n0,
|
|
443
|
+
_SQEE,
|
|
444
|
+
{
|
|
445
|
+
[_e]: _c,
|
|
446
|
+
[_hE]: 402,
|
|
447
|
+
},
|
|
448
|
+
[_M],
|
|
449
|
+
[0],
|
|
450
|
+
];
|
|
451
|
+
schema.TypeRegistry.for(n0).registerError(ServiceQuotaExceededException, ServiceQuotaExceededException$1);
|
|
452
|
+
var UpdateKeysRequest = [
|
|
453
|
+
3,
|
|
454
|
+
n0,
|
|
455
|
+
_UKR,
|
|
456
|
+
0,
|
|
457
|
+
[_KARN, _IM, _P, _D],
|
|
458
|
+
[
|
|
459
|
+
[0, 1],
|
|
460
|
+
[
|
|
461
|
+
0,
|
|
462
|
+
{
|
|
463
|
+
[_hH]: _IM_,
|
|
464
|
+
},
|
|
465
|
+
],
|
|
466
|
+
[() => PutKeyRequestsList, 0],
|
|
467
|
+
() => DeleteKeyRequestsList,
|
|
468
|
+
],
|
|
469
|
+
];
|
|
470
|
+
var UpdateKeysResponse = [
|
|
471
|
+
3,
|
|
472
|
+
n0,
|
|
473
|
+
_UKRp,
|
|
474
|
+
0,
|
|
475
|
+
[_IC, _TSIB, _ET],
|
|
476
|
+
[
|
|
477
|
+
1,
|
|
478
|
+
1,
|
|
479
|
+
[
|
|
480
|
+
0,
|
|
481
|
+
{
|
|
482
|
+
[_hH]: _ET,
|
|
483
|
+
},
|
|
484
|
+
],
|
|
485
|
+
],
|
|
486
|
+
];
|
|
487
|
+
var ValidationException = [
|
|
488
|
+
-3,
|
|
489
|
+
n0,
|
|
490
|
+
_VE,
|
|
491
|
+
{
|
|
492
|
+
[_e]: _c,
|
|
493
|
+
[_hE]: 400,
|
|
494
|
+
},
|
|
495
|
+
[_M],
|
|
496
|
+
[0],
|
|
497
|
+
];
|
|
498
|
+
schema.TypeRegistry.for(n0).registerError(ValidationException, ValidationException$1);
|
|
499
|
+
var CloudFrontKeyValueStoreServiceException = [
|
|
500
|
+
-3,
|
|
501
|
+
_sm,
|
|
502
|
+
"CloudFrontKeyValueStoreServiceException",
|
|
503
|
+
0,
|
|
504
|
+
[],
|
|
505
|
+
[],
|
|
506
|
+
];
|
|
507
|
+
schema.TypeRegistry.for(_sm).registerError(CloudFrontKeyValueStoreServiceException, CloudFrontKeyValueStoreServiceException$1);
|
|
508
|
+
var DeleteKeyRequestsList = [1, n0, _DKRL, 0, () => DeleteKeyRequestListItem];
|
|
509
|
+
var ListKeysResponseList = [1, n0, _LKRL, 0, [() => ListKeysResponseListItem, 0]];
|
|
510
|
+
var PutKeyRequestsList = [1, n0, _PKRL, 0, [() => PutKeyRequestListItem, 0]];
|
|
511
|
+
var DeleteKey = [
|
|
512
|
+
9,
|
|
513
|
+
n0,
|
|
514
|
+
_DK,
|
|
515
|
+
{
|
|
516
|
+
[_h]: ["DELETE", "/key-value-stores/{KvsARN}/keys/{Key}", 200],
|
|
517
|
+
},
|
|
518
|
+
() => DeleteKeyRequest,
|
|
519
|
+
() => DeleteKeyResponse,
|
|
520
|
+
];
|
|
521
|
+
var DescribeKeyValueStore = [
|
|
522
|
+
9,
|
|
523
|
+
n0,
|
|
524
|
+
_DKVS,
|
|
525
|
+
{
|
|
526
|
+
[_h]: ["GET", "/key-value-stores/{KvsARN}", 200],
|
|
527
|
+
},
|
|
528
|
+
() => DescribeKeyValueStoreRequest,
|
|
529
|
+
() => DescribeKeyValueStoreResponse,
|
|
530
|
+
];
|
|
531
|
+
var GetKey = [
|
|
532
|
+
9,
|
|
533
|
+
n0,
|
|
534
|
+
_GK,
|
|
535
|
+
{
|
|
536
|
+
[_h]: ["GET", "/key-value-stores/{KvsARN}/keys/{Key}", 200],
|
|
537
|
+
},
|
|
538
|
+
() => GetKeyRequest,
|
|
539
|
+
() => GetKeyResponse,
|
|
540
|
+
];
|
|
541
|
+
var ListKeys = [
|
|
542
|
+
9,
|
|
543
|
+
n0,
|
|
544
|
+
_LK,
|
|
545
|
+
{
|
|
546
|
+
[_h]: ["GET", "/key-value-stores/{KvsARN}/keys", 200],
|
|
547
|
+
},
|
|
548
|
+
() => ListKeysRequest,
|
|
549
|
+
() => ListKeysResponse,
|
|
550
|
+
];
|
|
551
|
+
var PutKey = [
|
|
552
|
+
9,
|
|
553
|
+
n0,
|
|
554
|
+
_PK,
|
|
555
|
+
{
|
|
556
|
+
[_h]: ["PUT", "/key-value-stores/{KvsARN}/keys/{Key}", 200],
|
|
557
|
+
},
|
|
558
|
+
() => PutKeyRequest,
|
|
559
|
+
() => PutKeyResponse,
|
|
560
|
+
];
|
|
561
|
+
var UpdateKeys = [
|
|
562
|
+
9,
|
|
563
|
+
n0,
|
|
564
|
+
_UK,
|
|
565
|
+
{
|
|
566
|
+
[_h]: ["POST", "/key-value-stores/{KvsARN}/keys", 200],
|
|
567
|
+
},
|
|
568
|
+
() => UpdateKeysRequest,
|
|
569
|
+
() => UpdateKeysResponse,
|
|
570
|
+
];
|
|
530
571
|
|
|
531
572
|
class DeleteKeyCommand extends smithyClient.Command
|
|
532
573
|
.classBuilder()
|
|
@@ -535,16 +576,11 @@ class DeleteKeyCommand extends smithyClient.Command
|
|
|
535
576
|
KvsARN: { type: "contextParams", name: "KvsARN" },
|
|
536
577
|
})
|
|
537
578
|
.m(function (Command, cs, config, o) {
|
|
538
|
-
return [
|
|
539
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
540
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
541
|
-
];
|
|
579
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
542
580
|
})
|
|
543
581
|
.s("CloudFrontKeyValueStore", "DeleteKey", {})
|
|
544
582
|
.n("CloudFrontKeyValueStoreClient", "DeleteKeyCommand")
|
|
545
|
-
.
|
|
546
|
-
.ser(se_DeleteKeyCommand)
|
|
547
|
-
.de(de_DeleteKeyCommand)
|
|
583
|
+
.sc(DeleteKey)
|
|
548
584
|
.build() {
|
|
549
585
|
}
|
|
550
586
|
|
|
@@ -555,16 +591,11 @@ class DescribeKeyValueStoreCommand extends smithyClient.Command
|
|
|
555
591
|
KvsARN: { type: "contextParams", name: "KvsARN" },
|
|
556
592
|
})
|
|
557
593
|
.m(function (Command, cs, config, o) {
|
|
558
|
-
return [
|
|
559
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
560
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
561
|
-
];
|
|
594
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
562
595
|
})
|
|
563
596
|
.s("CloudFrontKeyValueStore", "DescribeKeyValueStore", {})
|
|
564
597
|
.n("CloudFrontKeyValueStoreClient", "DescribeKeyValueStoreCommand")
|
|
565
|
-
.
|
|
566
|
-
.ser(se_DescribeKeyValueStoreCommand)
|
|
567
|
-
.de(de_DescribeKeyValueStoreCommand)
|
|
598
|
+
.sc(DescribeKeyValueStore)
|
|
568
599
|
.build() {
|
|
569
600
|
}
|
|
570
601
|
|
|
@@ -575,16 +606,11 @@ class GetKeyCommand extends smithyClient.Command
|
|
|
575
606
|
KvsARN: { type: "contextParams", name: "KvsARN" },
|
|
576
607
|
})
|
|
577
608
|
.m(function (Command, cs, config, o) {
|
|
578
|
-
return [
|
|
579
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
580
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
581
|
-
];
|
|
609
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
582
610
|
})
|
|
583
611
|
.s("CloudFrontKeyValueStore", "GetKey", {})
|
|
584
612
|
.n("CloudFrontKeyValueStoreClient", "GetKeyCommand")
|
|
585
|
-
.
|
|
586
|
-
.ser(se_GetKeyCommand)
|
|
587
|
-
.de(de_GetKeyCommand)
|
|
613
|
+
.sc(GetKey)
|
|
588
614
|
.build() {
|
|
589
615
|
}
|
|
590
616
|
|
|
@@ -595,16 +621,11 @@ class ListKeysCommand extends smithyClient.Command
|
|
|
595
621
|
KvsARN: { type: "contextParams", name: "KvsARN" },
|
|
596
622
|
})
|
|
597
623
|
.m(function (Command, cs, config, o) {
|
|
598
|
-
return [
|
|
599
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
600
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
601
|
-
];
|
|
624
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
602
625
|
})
|
|
603
626
|
.s("CloudFrontKeyValueStore", "ListKeys", {})
|
|
604
627
|
.n("CloudFrontKeyValueStoreClient", "ListKeysCommand")
|
|
605
|
-
.
|
|
606
|
-
.ser(se_ListKeysCommand)
|
|
607
|
-
.de(de_ListKeysCommand)
|
|
628
|
+
.sc(ListKeys)
|
|
608
629
|
.build() {
|
|
609
630
|
}
|
|
610
631
|
|
|
@@ -615,16 +636,11 @@ class PutKeyCommand extends smithyClient.Command
|
|
|
615
636
|
KvsARN: { type: "contextParams", name: "KvsARN" },
|
|
616
637
|
})
|
|
617
638
|
.m(function (Command, cs, config, o) {
|
|
618
|
-
return [
|
|
619
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
620
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
621
|
-
];
|
|
639
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
622
640
|
})
|
|
623
641
|
.s("CloudFrontKeyValueStore", "PutKey", {})
|
|
624
642
|
.n("CloudFrontKeyValueStoreClient", "PutKeyCommand")
|
|
625
|
-
.
|
|
626
|
-
.ser(se_PutKeyCommand)
|
|
627
|
-
.de(de_PutKeyCommand)
|
|
643
|
+
.sc(PutKey)
|
|
628
644
|
.build() {
|
|
629
645
|
}
|
|
630
646
|
|
|
@@ -635,16 +651,11 @@ class UpdateKeysCommand extends smithyClient.Command
|
|
|
635
651
|
KvsARN: { type: "contextParams", name: "KvsARN" },
|
|
636
652
|
})
|
|
637
653
|
.m(function (Command, cs, config, o) {
|
|
638
|
-
return [
|
|
639
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
640
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
641
|
-
];
|
|
654
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
642
655
|
})
|
|
643
656
|
.s("CloudFrontKeyValueStore", "UpdateKeys", {})
|
|
644
657
|
.n("CloudFrontKeyValueStoreClient", "UpdateKeysCommand")
|
|
645
|
-
.
|
|
646
|
-
.ser(se_UpdateKeysCommand)
|
|
647
|
-
.de(de_UpdateKeysCommand)
|
|
658
|
+
.sc(UpdateKeys)
|
|
648
659
|
.build() {
|
|
649
660
|
}
|
|
650
661
|
|
|
@@ -670,25 +681,19 @@ Object.defineProperty(exports, "__Client", {
|
|
|
670
681
|
enumerable: true,
|
|
671
682
|
get: function () { return smithyClient.Client; }
|
|
672
683
|
});
|
|
673
|
-
exports.AccessDeniedException = AccessDeniedException;
|
|
684
|
+
exports.AccessDeniedException = AccessDeniedException$1;
|
|
674
685
|
exports.CloudFrontKeyValueStore = CloudFrontKeyValueStore;
|
|
675
686
|
exports.CloudFrontKeyValueStoreClient = CloudFrontKeyValueStoreClient;
|
|
676
|
-
exports.CloudFrontKeyValueStoreServiceException = CloudFrontKeyValueStoreServiceException;
|
|
677
|
-
exports.ConflictException = ConflictException;
|
|
687
|
+
exports.CloudFrontKeyValueStoreServiceException = CloudFrontKeyValueStoreServiceException$1;
|
|
688
|
+
exports.ConflictException = ConflictException$1;
|
|
678
689
|
exports.DeleteKeyCommand = DeleteKeyCommand;
|
|
679
690
|
exports.DescribeKeyValueStoreCommand = DescribeKeyValueStoreCommand;
|
|
680
691
|
exports.GetKeyCommand = GetKeyCommand;
|
|
681
|
-
exports.
|
|
682
|
-
exports.InternalServerException = InternalServerException;
|
|
692
|
+
exports.InternalServerException = InternalServerException$1;
|
|
683
693
|
exports.ListKeysCommand = ListKeysCommand;
|
|
684
|
-
exports.ListKeysResponseFilterSensitiveLog = ListKeysResponseFilterSensitiveLog;
|
|
685
|
-
exports.ListKeysResponseListItemFilterSensitiveLog = ListKeysResponseListItemFilterSensitiveLog;
|
|
686
694
|
exports.PutKeyCommand = PutKeyCommand;
|
|
687
|
-
exports.
|
|
688
|
-
exports.
|
|
689
|
-
exports.ResourceNotFoundException = ResourceNotFoundException;
|
|
690
|
-
exports.ServiceQuotaExceededException = ServiceQuotaExceededException;
|
|
695
|
+
exports.ResourceNotFoundException = ResourceNotFoundException$1;
|
|
696
|
+
exports.ServiceQuotaExceededException = ServiceQuotaExceededException$1;
|
|
691
697
|
exports.UpdateKeysCommand = UpdateKeysCommand;
|
|
692
|
-
exports.
|
|
693
|
-
exports.ValidationException = ValidationException;
|
|
698
|
+
exports.ValidationException = ValidationException$1;
|
|
694
699
|
exports.paginateListKeys = paginateListKeys;
|