@aws-sdk/client-cloudfront-keyvaluestore 3.943.0 → 3.946.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 +21 -178
- package/dist-cjs/runtimeConfig.browser.js +2 -2
- package/dist-cjs/runtimeConfig.js +3 -4
- package/dist-es/CloudFrontKeyValueStoreClient.js +2 -2
- package/dist-es/runtimeConfig.browser.js +2 -2
- package/dist-es/runtimeConfig.js +2 -3
- package/dist-es/schemas/schemas_0.js +21 -178
- package/dist-types/CloudFrontKeyValueStore.d.ts +1 -1
- package/dist-types/CloudFrontKeyValueStoreClient.d.ts +10 -10
- package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +2 -2
- package/dist-types/auth/httpAuthSchemeProvider.d.ts +1 -1
- package/dist-types/commands/DeleteKeyCommand.d.ts +3 -3
- package/dist-types/commands/DescribeKeyValueStoreCommand.d.ts +3 -3
- package/dist-types/commands/GetKeyCommand.d.ts +3 -3
- package/dist-types/commands/ListKeysCommand.d.ts +3 -3
- package/dist-types/commands/PutKeyCommand.d.ts +3 -3
- package/dist-types/commands/UpdateKeysCommand.d.ts +3 -3
- package/dist-types/endpoint/EndpointParameters.d.ts +13 -1
- package/dist-types/endpoint/endpointResolver.d.ts +5 -2
- package/dist-types/extensionConfiguration.d.ts +4 -4
- package/dist-types/models/CloudFrontKeyValueStoreServiceException.d.ts +1 -1
- package/dist-types/models/errors.d.ts +1 -1
- package/dist-types/pagination/Interfaces.d.ts +1 -1
- package/dist-types/pagination/ListKeysPaginator.d.ts +1 -1
- package/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/runtimeConfig.d.ts +1 -1
- package/dist-types/runtimeConfig.native.d.ts +1 -1
- package/dist-types/runtimeConfig.shared.d.ts +1 -1
- package/dist-types/runtimeExtensions.d.ts +1 -1
- package/dist-types/schemas/schemas_0.d.ts +1 -1
- package/dist-types/ts3.4/CloudFrontKeyValueStoreClient.d.ts +3 -3
- package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +1 -1
- package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +3 -3
- package/dist-types/ts3.4/models/CloudFrontKeyValueStoreServiceException.d.ts +1 -1
- package/package.json +14 -13
package/dist-cjs/index.js
CHANGED
|
@@ -259,29 +259,9 @@ const _s = "server";
|
|
|
259
259
|
const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.cloudfrontkeyvaluestore";
|
|
260
260
|
const n0 = "com.amazonaws.cloudfrontkeyvaluestore";
|
|
261
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
|
-
];
|
|
262
|
+
var AccessDeniedException = [-3, n0, _ADE, { [_e]: _c, [_hE]: 403 }, [_M], [0]];
|
|
273
263
|
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
|
-
];
|
|
264
|
+
var ConflictException = [-3, n0, _CE, { [_e]: _c, [_hE]: 409 }, [_M], [0]];
|
|
285
265
|
schema.TypeRegistry.for(n0).registerError(ConflictException, ConflictException$1);
|
|
286
266
|
var DeleteKeyRequest = [
|
|
287
267
|
3,
|
|
@@ -292,32 +272,11 @@ var DeleteKeyRequest = [
|
|
|
292
272
|
[
|
|
293
273
|
[0, 1],
|
|
294
274
|
[0, 1],
|
|
295
|
-
[
|
|
296
|
-
0,
|
|
297
|
-
{
|
|
298
|
-
[_hH]: _IM_,
|
|
299
|
-
},
|
|
300
|
-
],
|
|
275
|
+
[0, { [_hH]: _IM_ }],
|
|
301
276
|
],
|
|
302
277
|
];
|
|
303
278
|
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
|
-
];
|
|
279
|
+
var DeleteKeyResponse = [3, n0, _DKRe, 0, [_IC, _TSIB, _ET], [1, 1, [0, { [_hH]: _ET }]]];
|
|
321
280
|
var DescribeKeyValueStoreRequest = [3, n0, _DKVSR, 0, [_KARN], [[0, 1]]];
|
|
322
281
|
var DescribeKeyValueStoreResponse = [
|
|
323
282
|
3,
|
|
@@ -325,21 +284,7 @@ var DescribeKeyValueStoreResponse = [
|
|
|
325
284
|
_DKVSRe,
|
|
326
285
|
0,
|
|
327
286
|
[_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
|
-
],
|
|
287
|
+
[1, 1, 0, 4, [0, { [_hH]: _ET }], 4, 0, 0],
|
|
343
288
|
];
|
|
344
289
|
var GetKeyRequest = [
|
|
345
290
|
3,
|
|
@@ -353,17 +298,7 @@ var GetKeyRequest = [
|
|
|
353
298
|
],
|
|
354
299
|
];
|
|
355
300
|
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
|
-
];
|
|
301
|
+
var InternalServerException = [-3, n0, _ISE, { [_e]: _s, [_hE]: 500 }, [_M], [0]];
|
|
367
302
|
schema.TypeRegistry.for(n0).registerError(InternalServerException, InternalServerException$1);
|
|
368
303
|
var ListKeysRequest = [
|
|
369
304
|
3,
|
|
@@ -373,18 +308,8 @@ var ListKeysRequest = [
|
|
|
373
308
|
[_KARN, _NT, _MR],
|
|
374
309
|
[
|
|
375
310
|
[0, 1],
|
|
376
|
-
[
|
|
377
|
-
|
|
378
|
-
{
|
|
379
|
-
[_hQ]: _NT,
|
|
380
|
-
},
|
|
381
|
-
],
|
|
382
|
-
[
|
|
383
|
-
1,
|
|
384
|
-
{
|
|
385
|
-
[_hQ]: _MR,
|
|
386
|
-
},
|
|
387
|
-
],
|
|
311
|
+
[0, { [_hQ]: _NT }],
|
|
312
|
+
[1, { [_hQ]: _MR }],
|
|
388
313
|
],
|
|
389
314
|
];
|
|
390
315
|
var ListKeysResponse = [3, n0, _LKRi, 0, [_NT, _I], [0, [() => ListKeysResponseList, 0]]];
|
|
@@ -399,55 +324,14 @@ var PutKeyRequest = [
|
|
|
399
324
|
[0, 1],
|
|
400
325
|
[() => Value, 0],
|
|
401
326
|
[0, 1],
|
|
402
|
-
[
|
|
403
|
-
0,
|
|
404
|
-
{
|
|
405
|
-
[_hH]: _IM_,
|
|
406
|
-
},
|
|
407
|
-
],
|
|
327
|
+
[0, { [_hH]: _IM_ }],
|
|
408
328
|
],
|
|
409
329
|
];
|
|
410
330
|
var PutKeyRequestListItem = [3, n0, _PKRLI, 0, [_K, _V], [0, [() => Value, 0]]];
|
|
411
|
-
var PutKeyResponse = [
|
|
412
|
-
|
|
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
|
-
];
|
|
331
|
+
var PutKeyResponse = [3, n0, _PKRu, 0, [_IC, _TSIB, _ET], [1, 1, [0, { [_hH]: _ET }]]];
|
|
332
|
+
var ResourceNotFoundException = [-3, n0, _RNFE, { [_e]: _c, [_hE]: 404 }, [_M], [0]];
|
|
439
333
|
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
|
-
];
|
|
334
|
+
var ServiceQuotaExceededException = [-3, n0, _SQEE, { [_e]: _c, [_hE]: 402 }, [_M], [0]];
|
|
451
335
|
schema.TypeRegistry.for(n0).registerError(ServiceQuotaExceededException, ServiceQuotaExceededException$1);
|
|
452
336
|
var UpdateKeysRequest = [
|
|
453
337
|
3,
|
|
@@ -455,17 +339,7 @@ var UpdateKeysRequest = [
|
|
|
455
339
|
_UKR,
|
|
456
340
|
0,
|
|
457
341
|
[_KARN, _IM, _P, _D],
|
|
458
|
-
[
|
|
459
|
-
[0, 1],
|
|
460
|
-
[
|
|
461
|
-
0,
|
|
462
|
-
{
|
|
463
|
-
[_hH]: _IM_,
|
|
464
|
-
},
|
|
465
|
-
],
|
|
466
|
-
[() => PutKeyRequestsList, 0],
|
|
467
|
-
() => DeleteKeyRequestsList,
|
|
468
|
-
],
|
|
342
|
+
[[0, 1], [0, { [_hH]: _IM_ }], [() => PutKeyRequestsList, 0], () => DeleteKeyRequestsList],
|
|
469
343
|
];
|
|
470
344
|
var UpdateKeysResponse = [
|
|
471
345
|
3,
|
|
@@ -473,28 +347,9 @@ var UpdateKeysResponse = [
|
|
|
473
347
|
_UKRp,
|
|
474
348
|
0,
|
|
475
349
|
[_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],
|
|
350
|
+
[1, 1, [0, { [_hH]: _ET }]],
|
|
497
351
|
];
|
|
352
|
+
var ValidationException = [-3, n0, _VE, { [_e]: _c, [_hE]: 400 }, [_M], [0]];
|
|
498
353
|
schema.TypeRegistry.for(n0).registerError(ValidationException, ValidationException$1);
|
|
499
354
|
var CloudFrontKeyValueStoreServiceException = [
|
|
500
355
|
-3,
|
|
@@ -512,9 +367,7 @@ var DeleteKey = [
|
|
|
512
367
|
9,
|
|
513
368
|
n0,
|
|
514
369
|
_DK,
|
|
515
|
-
{
|
|
516
|
-
[_h]: ["DELETE", "/key-value-stores/{KvsARN}/keys/{Key}", 200],
|
|
517
|
-
},
|
|
370
|
+
{ [_h]: ["DELETE", "/key-value-stores/{KvsARN}/keys/{Key}", 200] },
|
|
518
371
|
() => DeleteKeyRequest,
|
|
519
372
|
() => DeleteKeyResponse,
|
|
520
373
|
];
|
|
@@ -522,9 +375,7 @@ var DescribeKeyValueStore = [
|
|
|
522
375
|
9,
|
|
523
376
|
n0,
|
|
524
377
|
_DKVS,
|
|
525
|
-
{
|
|
526
|
-
[_h]: ["GET", "/key-value-stores/{KvsARN}", 200],
|
|
527
|
-
},
|
|
378
|
+
{ [_h]: ["GET", "/key-value-stores/{KvsARN}", 200] },
|
|
528
379
|
() => DescribeKeyValueStoreRequest,
|
|
529
380
|
() => DescribeKeyValueStoreResponse,
|
|
530
381
|
];
|
|
@@ -532,9 +383,7 @@ var GetKey = [
|
|
|
532
383
|
9,
|
|
533
384
|
n0,
|
|
534
385
|
_GK,
|
|
535
|
-
{
|
|
536
|
-
[_h]: ["GET", "/key-value-stores/{KvsARN}/keys/{Key}", 200],
|
|
537
|
-
},
|
|
386
|
+
{ [_h]: ["GET", "/key-value-stores/{KvsARN}/keys/{Key}", 200] },
|
|
538
387
|
() => GetKeyRequest,
|
|
539
388
|
() => GetKeyResponse,
|
|
540
389
|
];
|
|
@@ -542,9 +391,7 @@ var ListKeys = [
|
|
|
542
391
|
9,
|
|
543
392
|
n0,
|
|
544
393
|
_LK,
|
|
545
|
-
{
|
|
546
|
-
[_h]: ["GET", "/key-value-stores/{KvsARN}/keys", 200],
|
|
547
|
-
},
|
|
394
|
+
{ [_h]: ["GET", "/key-value-stores/{KvsARN}/keys", 200] },
|
|
548
395
|
() => ListKeysRequest,
|
|
549
396
|
() => ListKeysResponse,
|
|
550
397
|
];
|
|
@@ -552,9 +399,7 @@ var PutKey = [
|
|
|
552
399
|
9,
|
|
553
400
|
n0,
|
|
554
401
|
_PK,
|
|
555
|
-
{
|
|
556
|
-
[_h]: ["PUT", "/key-value-stores/{KvsARN}/keys/{Key}", 200],
|
|
557
|
-
},
|
|
402
|
+
{ [_h]: ["PUT", "/key-value-stores/{KvsARN}/keys/{Key}", 200] },
|
|
558
403
|
() => PutKeyRequest,
|
|
559
404
|
() => PutKeyResponse,
|
|
560
405
|
];
|
|
@@ -562,9 +407,7 @@ var UpdateKeys = [
|
|
|
562
407
|
9,
|
|
563
408
|
n0,
|
|
564
409
|
_UK,
|
|
565
|
-
{
|
|
566
|
-
[_h]: ["POST", "/key-value-stores/{KvsARN}/keys", 200],
|
|
567
|
-
},
|
|
410
|
+
{ [_h]: ["POST", "/key-value-stores/{KvsARN}/keys", 200] },
|
|
568
411
|
() => UpdateKeysRequest,
|
|
569
412
|
() => UpdateKeysResponse,
|
|
570
413
|
];
|
|
@@ -8,11 +8,11 @@ const util_user_agent_browser_1 = require("@aws-sdk/util-user-agent-browser");
|
|
|
8
8
|
const config_resolver_1 = require("@smithy/config-resolver");
|
|
9
9
|
const fetch_http_handler_1 = require("@smithy/fetch-http-handler");
|
|
10
10
|
const invalid_dependency_1 = require("@smithy/invalid-dependency");
|
|
11
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
11
12
|
const util_body_length_browser_1 = require("@smithy/util-body-length-browser");
|
|
13
|
+
const util_defaults_mode_browser_1 = require("@smithy/util-defaults-mode-browser");
|
|
12
14
|
const util_retry_1 = require("@smithy/util-retry");
|
|
13
15
|
const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
|
|
14
|
-
const smithy_client_1 = require("@smithy/smithy-client");
|
|
15
|
-
const util_defaults_mode_browser_1 = require("@smithy/util-defaults-mode-browser");
|
|
16
16
|
const getRuntimeConfig = (config) => {
|
|
17
17
|
const defaultsMode = (0, util_defaults_mode_browser_1.resolveDefaultsModeConfig)(config);
|
|
18
18
|
const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
|
|
@@ -11,14 +11,13 @@ const hash_node_1 = require("@smithy/hash-node");
|
|
|
11
11
|
const middleware_retry_1 = require("@smithy/middleware-retry");
|
|
12
12
|
const node_config_provider_1 = require("@smithy/node-config-provider");
|
|
13
13
|
const node_http_handler_1 = require("@smithy/node-http-handler");
|
|
14
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
14
15
|
const util_body_length_node_1 = require("@smithy/util-body-length-node");
|
|
16
|
+
const util_defaults_mode_node_1 = require("@smithy/util-defaults-mode-node");
|
|
15
17
|
const util_retry_1 = require("@smithy/util-retry");
|
|
16
18
|
const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
|
|
17
|
-
const smithy_client_1 = require("@smithy/smithy-client");
|
|
18
|
-
const util_defaults_mode_node_1 = require("@smithy/util-defaults-mode-node");
|
|
19
|
-
const smithy_client_2 = require("@smithy/smithy-client");
|
|
20
19
|
const getRuntimeConfig = (config) => {
|
|
21
|
-
(0,
|
|
20
|
+
(0, smithy_client_1.emitWarningIfUnsupportedVersion)(process.version);
|
|
22
21
|
const defaultsMode = (0, util_defaults_mode_node_1.resolveDefaultsModeConfig)(config);
|
|
23
22
|
const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
|
|
24
23
|
const clientSharedValues = (0, runtimeConfig_shared_1.getRuntimeConfig)(config);
|
|
@@ -6,8 +6,8 @@ import { resolveRegionConfig } from "@smithy/config-resolver";
|
|
|
6
6
|
import { DefaultIdentityProviderConfig, getHttpAuthSchemeEndpointRuleSetPlugin, getHttpSigningPlugin, } from "@smithy/core";
|
|
7
7
|
import { getSchemaSerdePlugin } from "@smithy/core/schema";
|
|
8
8
|
import { getContentLengthPlugin } from "@smithy/middleware-content-length";
|
|
9
|
-
import { resolveEndpointConfig } from "@smithy/middleware-endpoint";
|
|
10
|
-
import { getRetryPlugin, resolveRetryConfig } from "@smithy/middleware-retry";
|
|
9
|
+
import { resolveEndpointConfig, } from "@smithy/middleware-endpoint";
|
|
10
|
+
import { getRetryPlugin, resolveRetryConfig, } from "@smithy/middleware-retry";
|
|
11
11
|
import { Client as __Client, } from "@smithy/smithy-client";
|
|
12
12
|
import { defaultCloudFrontKeyValueStoreHttpAuthSchemeParametersProvider, resolveHttpAuthSchemeConfig, } from "./auth/httpAuthSchemeProvider";
|
|
13
13
|
import { resolveClientEndpointParameters, } from "./endpoint/EndpointParameters";
|
|
@@ -4,11 +4,11 @@ import { createDefaultUserAgentProvider } from "@aws-sdk/util-user-agent-browser
|
|
|
4
4
|
import { DEFAULT_USE_DUALSTACK_ENDPOINT, DEFAULT_USE_FIPS_ENDPOINT } from "@smithy/config-resolver";
|
|
5
5
|
import { FetchHttpHandler as RequestHandler, streamCollector } from "@smithy/fetch-http-handler";
|
|
6
6
|
import { invalidProvider } from "@smithy/invalid-dependency";
|
|
7
|
+
import { loadConfigsForDefaultMode } from "@smithy/smithy-client";
|
|
7
8
|
import { calculateBodyLength } from "@smithy/util-body-length-browser";
|
|
9
|
+
import { resolveDefaultsModeConfig } from "@smithy/util-defaults-mode-browser";
|
|
8
10
|
import { DEFAULT_MAX_ATTEMPTS, DEFAULT_RETRY_MODE } from "@smithy/util-retry";
|
|
9
11
|
import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
|
|
10
|
-
import { loadConfigsForDefaultMode } from "@smithy/smithy-client";
|
|
11
|
-
import { resolveDefaultsModeConfig } from "@smithy/util-defaults-mode-browser";
|
|
12
12
|
export const getRuntimeConfig = (config) => {
|
|
13
13
|
const defaultsMode = resolveDefaultsModeConfig(config);
|
|
14
14
|
const defaultConfigProvider = () => defaultsMode().then(loadConfigsForDefaultMode);
|
package/dist-es/runtimeConfig.js
CHANGED
|
@@ -7,12 +7,11 @@ import { Hash } from "@smithy/hash-node";
|
|
|
7
7
|
import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS } from "@smithy/middleware-retry";
|
|
8
8
|
import { loadConfig as loadNodeConfig } from "@smithy/node-config-provider";
|
|
9
9
|
import { NodeHttpHandler as RequestHandler, streamCollector } from "@smithy/node-http-handler";
|
|
10
|
+
import { emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode } from "@smithy/smithy-client";
|
|
10
11
|
import { calculateBodyLength } from "@smithy/util-body-length-node";
|
|
12
|
+
import { resolveDefaultsModeConfig } from "@smithy/util-defaults-mode-node";
|
|
11
13
|
import { DEFAULT_RETRY_MODE } from "@smithy/util-retry";
|
|
12
14
|
import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
|
|
13
|
-
import { loadConfigsForDefaultMode } from "@smithy/smithy-client";
|
|
14
|
-
import { resolveDefaultsModeConfig } from "@smithy/util-defaults-mode-node";
|
|
15
|
-
import { emitWarningIfUnsupportedVersion } from "@smithy/smithy-client";
|
|
16
15
|
export const getRuntimeConfig = (config) => {
|
|
17
16
|
emitWarningIfUnsupportedVersion(process.version);
|
|
18
17
|
const defaultsMode = resolveDefaultsModeConfig(config);
|
|
@@ -59,29 +59,9 @@ import { TypeRegistry } from "@smithy/core/schema";
|
|
|
59
59
|
import { CloudFrontKeyValueStoreServiceException as __CloudFrontKeyValueStoreServiceException } from "../models/CloudFrontKeyValueStoreServiceException";
|
|
60
60
|
import { AccessDeniedException as __AccessDeniedException, ConflictException as __ConflictException, InternalServerException as __InternalServerException, ResourceNotFoundException as __ResourceNotFoundException, ServiceQuotaExceededException as __ServiceQuotaExceededException, ValidationException as __ValidationException, } from "../models/errors";
|
|
61
61
|
export var Value = [0, n0, _V, 8, 0];
|
|
62
|
-
export var AccessDeniedException = [
|
|
63
|
-
-3,
|
|
64
|
-
n0,
|
|
65
|
-
_ADE,
|
|
66
|
-
{
|
|
67
|
-
[_e]: _c,
|
|
68
|
-
[_hE]: 403,
|
|
69
|
-
},
|
|
70
|
-
[_M],
|
|
71
|
-
[0],
|
|
72
|
-
];
|
|
62
|
+
export var AccessDeniedException = [-3, n0, _ADE, { [_e]: _c, [_hE]: 403 }, [_M], [0]];
|
|
73
63
|
TypeRegistry.for(n0).registerError(AccessDeniedException, __AccessDeniedException);
|
|
74
|
-
export var ConflictException = [
|
|
75
|
-
-3,
|
|
76
|
-
n0,
|
|
77
|
-
_CE,
|
|
78
|
-
{
|
|
79
|
-
[_e]: _c,
|
|
80
|
-
[_hE]: 409,
|
|
81
|
-
},
|
|
82
|
-
[_M],
|
|
83
|
-
[0],
|
|
84
|
-
];
|
|
64
|
+
export var ConflictException = [-3, n0, _CE, { [_e]: _c, [_hE]: 409 }, [_M], [0]];
|
|
85
65
|
TypeRegistry.for(n0).registerError(ConflictException, __ConflictException);
|
|
86
66
|
export var DeleteKeyRequest = [
|
|
87
67
|
3,
|
|
@@ -92,32 +72,11 @@ export var DeleteKeyRequest = [
|
|
|
92
72
|
[
|
|
93
73
|
[0, 1],
|
|
94
74
|
[0, 1],
|
|
95
|
-
[
|
|
96
|
-
0,
|
|
97
|
-
{
|
|
98
|
-
[_hH]: _IM_,
|
|
99
|
-
},
|
|
100
|
-
],
|
|
75
|
+
[0, { [_hH]: _IM_ }],
|
|
101
76
|
],
|
|
102
77
|
];
|
|
103
78
|
export var DeleteKeyRequestListItem = [3, n0, _DKRLI, 0, [_K], [0]];
|
|
104
|
-
export var DeleteKeyResponse = [
|
|
105
|
-
3,
|
|
106
|
-
n0,
|
|
107
|
-
_DKRe,
|
|
108
|
-
0,
|
|
109
|
-
[_IC, _TSIB, _ET],
|
|
110
|
-
[
|
|
111
|
-
1,
|
|
112
|
-
1,
|
|
113
|
-
[
|
|
114
|
-
0,
|
|
115
|
-
{
|
|
116
|
-
[_hH]: _ET,
|
|
117
|
-
},
|
|
118
|
-
],
|
|
119
|
-
],
|
|
120
|
-
];
|
|
79
|
+
export var DeleteKeyResponse = [3, n0, _DKRe, 0, [_IC, _TSIB, _ET], [1, 1, [0, { [_hH]: _ET }]]];
|
|
121
80
|
export var DescribeKeyValueStoreRequest = [3, n0, _DKVSR, 0, [_KARN], [[0, 1]]];
|
|
122
81
|
export var DescribeKeyValueStoreResponse = [
|
|
123
82
|
3,
|
|
@@ -125,21 +84,7 @@ export var DescribeKeyValueStoreResponse = [
|
|
|
125
84
|
_DKVSRe,
|
|
126
85
|
0,
|
|
127
86
|
[_IC, _TSIB, _KARN, _C, _ET, _LM, _S, _FR],
|
|
128
|
-
[
|
|
129
|
-
1,
|
|
130
|
-
1,
|
|
131
|
-
0,
|
|
132
|
-
4,
|
|
133
|
-
[
|
|
134
|
-
0,
|
|
135
|
-
{
|
|
136
|
-
[_hH]: _ET,
|
|
137
|
-
},
|
|
138
|
-
],
|
|
139
|
-
4,
|
|
140
|
-
0,
|
|
141
|
-
0,
|
|
142
|
-
],
|
|
87
|
+
[1, 1, 0, 4, [0, { [_hH]: _ET }], 4, 0, 0],
|
|
143
88
|
];
|
|
144
89
|
export var GetKeyRequest = [
|
|
145
90
|
3,
|
|
@@ -153,17 +98,7 @@ export var GetKeyRequest = [
|
|
|
153
98
|
],
|
|
154
99
|
];
|
|
155
100
|
export var GetKeyResponse = [3, n0, _GKRe, 0, [_K, _V, _IC, _TSIB], [0, [() => Value, 0], 1, 1]];
|
|
156
|
-
export var InternalServerException = [
|
|
157
|
-
-3,
|
|
158
|
-
n0,
|
|
159
|
-
_ISE,
|
|
160
|
-
{
|
|
161
|
-
[_e]: _s,
|
|
162
|
-
[_hE]: 500,
|
|
163
|
-
},
|
|
164
|
-
[_M],
|
|
165
|
-
[0],
|
|
166
|
-
];
|
|
101
|
+
export var InternalServerException = [-3, n0, _ISE, { [_e]: _s, [_hE]: 500 }, [_M], [0]];
|
|
167
102
|
TypeRegistry.for(n0).registerError(InternalServerException, __InternalServerException);
|
|
168
103
|
export var ListKeysRequest = [
|
|
169
104
|
3,
|
|
@@ -173,18 +108,8 @@ export var ListKeysRequest = [
|
|
|
173
108
|
[_KARN, _NT, _MR],
|
|
174
109
|
[
|
|
175
110
|
[0, 1],
|
|
176
|
-
[
|
|
177
|
-
|
|
178
|
-
{
|
|
179
|
-
[_hQ]: _NT,
|
|
180
|
-
},
|
|
181
|
-
],
|
|
182
|
-
[
|
|
183
|
-
1,
|
|
184
|
-
{
|
|
185
|
-
[_hQ]: _MR,
|
|
186
|
-
},
|
|
187
|
-
],
|
|
111
|
+
[0, { [_hQ]: _NT }],
|
|
112
|
+
[1, { [_hQ]: _MR }],
|
|
188
113
|
],
|
|
189
114
|
];
|
|
190
115
|
export var ListKeysResponse = [3, n0, _LKRi, 0, [_NT, _I], [0, [() => ListKeysResponseList, 0]]];
|
|
@@ -199,55 +124,14 @@ export var PutKeyRequest = [
|
|
|
199
124
|
[0, 1],
|
|
200
125
|
[() => Value, 0],
|
|
201
126
|
[0, 1],
|
|
202
|
-
[
|
|
203
|
-
0,
|
|
204
|
-
{
|
|
205
|
-
[_hH]: _IM_,
|
|
206
|
-
},
|
|
207
|
-
],
|
|
127
|
+
[0, { [_hH]: _IM_ }],
|
|
208
128
|
],
|
|
209
129
|
];
|
|
210
130
|
export var PutKeyRequestListItem = [3, n0, _PKRLI, 0, [_K, _V], [0, [() => Value, 0]]];
|
|
211
|
-
export var PutKeyResponse = [
|
|
212
|
-
|
|
213
|
-
n0,
|
|
214
|
-
_PKRu,
|
|
215
|
-
0,
|
|
216
|
-
[_IC, _TSIB, _ET],
|
|
217
|
-
[
|
|
218
|
-
1,
|
|
219
|
-
1,
|
|
220
|
-
[
|
|
221
|
-
0,
|
|
222
|
-
{
|
|
223
|
-
[_hH]: _ET,
|
|
224
|
-
},
|
|
225
|
-
],
|
|
226
|
-
],
|
|
227
|
-
];
|
|
228
|
-
export var ResourceNotFoundException = [
|
|
229
|
-
-3,
|
|
230
|
-
n0,
|
|
231
|
-
_RNFE,
|
|
232
|
-
{
|
|
233
|
-
[_e]: _c,
|
|
234
|
-
[_hE]: 404,
|
|
235
|
-
},
|
|
236
|
-
[_M],
|
|
237
|
-
[0],
|
|
238
|
-
];
|
|
131
|
+
export var PutKeyResponse = [3, n0, _PKRu, 0, [_IC, _TSIB, _ET], [1, 1, [0, { [_hH]: _ET }]]];
|
|
132
|
+
export var ResourceNotFoundException = [-3, n0, _RNFE, { [_e]: _c, [_hE]: 404 }, [_M], [0]];
|
|
239
133
|
TypeRegistry.for(n0).registerError(ResourceNotFoundException, __ResourceNotFoundException);
|
|
240
|
-
export var ServiceQuotaExceededException = [
|
|
241
|
-
-3,
|
|
242
|
-
n0,
|
|
243
|
-
_SQEE,
|
|
244
|
-
{
|
|
245
|
-
[_e]: _c,
|
|
246
|
-
[_hE]: 402,
|
|
247
|
-
},
|
|
248
|
-
[_M],
|
|
249
|
-
[0],
|
|
250
|
-
];
|
|
134
|
+
export var ServiceQuotaExceededException = [-3, n0, _SQEE, { [_e]: _c, [_hE]: 402 }, [_M], [0]];
|
|
251
135
|
TypeRegistry.for(n0).registerError(ServiceQuotaExceededException, __ServiceQuotaExceededException);
|
|
252
136
|
export var UpdateKeysRequest = [
|
|
253
137
|
3,
|
|
@@ -255,17 +139,7 @@ export var UpdateKeysRequest = [
|
|
|
255
139
|
_UKR,
|
|
256
140
|
0,
|
|
257
141
|
[_KARN, _IM, _P, _D],
|
|
258
|
-
[
|
|
259
|
-
[0, 1],
|
|
260
|
-
[
|
|
261
|
-
0,
|
|
262
|
-
{
|
|
263
|
-
[_hH]: _IM_,
|
|
264
|
-
},
|
|
265
|
-
],
|
|
266
|
-
[() => PutKeyRequestsList, 0],
|
|
267
|
-
() => DeleteKeyRequestsList,
|
|
268
|
-
],
|
|
142
|
+
[[0, 1], [0, { [_hH]: _IM_ }], [() => PutKeyRequestsList, 0], () => DeleteKeyRequestsList],
|
|
269
143
|
];
|
|
270
144
|
export var UpdateKeysResponse = [
|
|
271
145
|
3,
|
|
@@ -273,28 +147,9 @@ export var UpdateKeysResponse = [
|
|
|
273
147
|
_UKRp,
|
|
274
148
|
0,
|
|
275
149
|
[_IC, _TSIB, _ET],
|
|
276
|
-
[
|
|
277
|
-
1,
|
|
278
|
-
1,
|
|
279
|
-
[
|
|
280
|
-
0,
|
|
281
|
-
{
|
|
282
|
-
[_hH]: _ET,
|
|
283
|
-
},
|
|
284
|
-
],
|
|
285
|
-
],
|
|
286
|
-
];
|
|
287
|
-
export var ValidationException = [
|
|
288
|
-
-3,
|
|
289
|
-
n0,
|
|
290
|
-
_VE,
|
|
291
|
-
{
|
|
292
|
-
[_e]: _c,
|
|
293
|
-
[_hE]: 400,
|
|
294
|
-
},
|
|
295
|
-
[_M],
|
|
296
|
-
[0],
|
|
150
|
+
[1, 1, [0, { [_hH]: _ET }]],
|
|
297
151
|
];
|
|
152
|
+
export var ValidationException = [-3, n0, _VE, { [_e]: _c, [_hE]: 400 }, [_M], [0]];
|
|
298
153
|
TypeRegistry.for(n0).registerError(ValidationException, __ValidationException);
|
|
299
154
|
export var CloudFrontKeyValueStoreServiceException = [
|
|
300
155
|
-3,
|
|
@@ -312,9 +167,7 @@ export var DeleteKey = [
|
|
|
312
167
|
9,
|
|
313
168
|
n0,
|
|
314
169
|
_DK,
|
|
315
|
-
{
|
|
316
|
-
[_h]: ["DELETE", "/key-value-stores/{KvsARN}/keys/{Key}", 200],
|
|
317
|
-
},
|
|
170
|
+
{ [_h]: ["DELETE", "/key-value-stores/{KvsARN}/keys/{Key}", 200] },
|
|
318
171
|
() => DeleteKeyRequest,
|
|
319
172
|
() => DeleteKeyResponse,
|
|
320
173
|
];
|
|
@@ -322,9 +175,7 @@ export var DescribeKeyValueStore = [
|
|
|
322
175
|
9,
|
|
323
176
|
n0,
|
|
324
177
|
_DKVS,
|
|
325
|
-
{
|
|
326
|
-
[_h]: ["GET", "/key-value-stores/{KvsARN}", 200],
|
|
327
|
-
},
|
|
178
|
+
{ [_h]: ["GET", "/key-value-stores/{KvsARN}", 200] },
|
|
328
179
|
() => DescribeKeyValueStoreRequest,
|
|
329
180
|
() => DescribeKeyValueStoreResponse,
|
|
330
181
|
];
|
|
@@ -332,9 +183,7 @@ export var GetKey = [
|
|
|
332
183
|
9,
|
|
333
184
|
n0,
|
|
334
185
|
_GK,
|
|
335
|
-
{
|
|
336
|
-
[_h]: ["GET", "/key-value-stores/{KvsARN}/keys/{Key}", 200],
|
|
337
|
-
},
|
|
186
|
+
{ [_h]: ["GET", "/key-value-stores/{KvsARN}/keys/{Key}", 200] },
|
|
338
187
|
() => GetKeyRequest,
|
|
339
188
|
() => GetKeyResponse,
|
|
340
189
|
];
|
|
@@ -342,9 +191,7 @@ export var ListKeys = [
|
|
|
342
191
|
9,
|
|
343
192
|
n0,
|
|
344
193
|
_LK,
|
|
345
|
-
{
|
|
346
|
-
[_h]: ["GET", "/key-value-stores/{KvsARN}/keys", 200],
|
|
347
|
-
},
|
|
194
|
+
{ [_h]: ["GET", "/key-value-stores/{KvsARN}/keys", 200] },
|
|
348
195
|
() => ListKeysRequest,
|
|
349
196
|
() => ListKeysResponse,
|
|
350
197
|
];
|
|
@@ -352,9 +199,7 @@ export var PutKey = [
|
|
|
352
199
|
9,
|
|
353
200
|
n0,
|
|
354
201
|
_PK,
|
|
355
|
-
{
|
|
356
|
-
[_h]: ["PUT", "/key-value-stores/{KvsARN}/keys/{Key}", 200],
|
|
357
|
-
},
|
|
202
|
+
{ [_h]: ["PUT", "/key-value-stores/{KvsARN}/keys/{Key}", 200] },
|
|
358
203
|
() => PutKeyRequest,
|
|
359
204
|
() => PutKeyResponse,
|
|
360
205
|
];
|
|
@@ -362,9 +207,7 @@ export var UpdateKeys = [
|
|
|
362
207
|
9,
|
|
363
208
|
n0,
|
|
364
209
|
_UK,
|
|
365
|
-
{
|
|
366
|
-
[_h]: ["POST", "/key-value-stores/{KvsARN}/keys", 200],
|
|
367
|
-
},
|
|
210
|
+
{ [_h]: ["POST", "/key-value-stores/{KvsARN}/keys", 200] },
|
|
368
211
|
() => UpdateKeysRequest,
|
|
369
212
|
() => UpdateKeysResponse,
|
|
370
213
|
];
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
|
|
1
|
+
import type { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
|
|
2
2
|
import { CloudFrontKeyValueStoreClient } from "./CloudFrontKeyValueStoreClient";
|
|
3
3
|
import { DeleteKeyCommandInput, DeleteKeyCommandOutput } from "./commands/DeleteKeyCommand";
|
|
4
4
|
import { DescribeKeyValueStoreCommandInput, DescribeKeyValueStoreCommandOutput } from "./commands/DescribeKeyValueStoreCommand";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { HostHeaderInputConfig, HostHeaderResolvedConfig } from "@aws-sdk/middleware-host-header";
|
|
2
|
-
import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
|
|
3
|
-
import { RegionInputConfig, RegionResolvedConfig } from "@smithy/config-resolver";
|
|
4
|
-
import { EndpointInputConfig, EndpointResolvedConfig } from "@smithy/middleware-endpoint";
|
|
5
|
-
import { RetryInputConfig, RetryResolvedConfig } from "@smithy/middleware-retry";
|
|
6
|
-
import { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/protocol-http";
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import { HttpAuthSchemeInputConfig, HttpAuthSchemeResolvedConfig } from "./auth/httpAuthSchemeProvider";
|
|
1
|
+
import { type HostHeaderInputConfig, type HostHeaderResolvedConfig } from "@aws-sdk/middleware-host-header";
|
|
2
|
+
import { type UserAgentInputConfig, type UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
|
|
3
|
+
import { type RegionInputConfig, type RegionResolvedConfig } from "@smithy/config-resolver";
|
|
4
|
+
import { type EndpointInputConfig, type EndpointResolvedConfig } from "@smithy/middleware-endpoint";
|
|
5
|
+
import { type RetryInputConfig, type RetryResolvedConfig } from "@smithy/middleware-retry";
|
|
6
|
+
import type { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/protocol-http";
|
|
7
|
+
import { type DefaultsMode as __DefaultsMode, type SmithyConfiguration as __SmithyConfiguration, type SmithyResolvedConfiguration as __SmithyResolvedConfiguration, Client as __Client } from "@smithy/smithy-client";
|
|
8
|
+
import { type BodyLengthCalculator as __BodyLengthCalculator, type CheckOptionalClientConfig as __CheckOptionalClientConfig, type ChecksumConstructor as __ChecksumConstructor, type ClientProtocol, type Decoder as __Decoder, type Encoder as __Encoder, type HashConstructor as __HashConstructor, type HttpHandlerOptions as __HttpHandlerOptions, type HttpRequest, type HttpResponse, type Logger as __Logger, type Provider as __Provider, type StreamCollector as __StreamCollector, type UrlParser as __UrlParser, AwsCredentialIdentityProvider, Provider, UserAgent as __UserAgent } from "@smithy/types";
|
|
9
|
+
import { type HttpAuthSchemeInputConfig, type HttpAuthSchemeResolvedConfig } from "./auth/httpAuthSchemeProvider";
|
|
10
10
|
import { DeleteKeyCommandInput, DeleteKeyCommandOutput } from "./commands/DeleteKeyCommand";
|
|
11
11
|
import { DescribeKeyValueStoreCommandInput, DescribeKeyValueStoreCommandOutput } from "./commands/DescribeKeyValueStoreCommand";
|
|
12
12
|
import { GetKeyCommandInput, GetKeyCommandOutput } from "./commands/GetKeyCommand";
|
|
@@ -14,7 +14,7 @@ import { ListKeysCommandInput, ListKeysCommandOutput } from "./commands/ListKeys
|
|
|
14
14
|
import { PutKeyCommandInput, PutKeyCommandOutput } from "./commands/PutKeyCommand";
|
|
15
15
|
import { UpdateKeysCommandInput, UpdateKeysCommandOutput } from "./commands/UpdateKeysCommand";
|
|
16
16
|
import { ClientInputEndpointParameters, ClientResolvedEndpointParameters, EndpointParameters } from "./endpoint/EndpointParameters";
|
|
17
|
-
import { RuntimeExtension, RuntimeExtensionsConfig } from "./runtimeExtensions";
|
|
17
|
+
import { type RuntimeExtension, type RuntimeExtensionsConfig } from "./runtimeExtensions";
|
|
18
18
|
export { __Client };
|
|
19
19
|
/**
|
|
20
20
|
* @public
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { AwsCredentialIdentity, AwsCredentialIdentityProvider
|
|
2
|
-
import { CloudFrontKeyValueStoreHttpAuthSchemeProvider } from "./httpAuthSchemeProvider";
|
|
1
|
+
import { type HttpAuthScheme, AwsCredentialIdentity, AwsCredentialIdentityProvider } from "@smithy/types";
|
|
2
|
+
import type { CloudFrontKeyValueStoreHttpAuthSchemeProvider } from "./httpAuthSchemeProvider";
|
|
3
3
|
/**
|
|
4
4
|
* @internal
|
|
5
5
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { AwsSdkSigV4AAuthInputConfig, AwsSdkSigV4AAuthResolvedConfig, AwsSdkSigV4APreviouslyResolved, AwsSdkSigV4AuthInputConfig, AwsSdkSigV4AuthResolvedConfig, AwsSdkSigV4PreviouslyResolved } from "@aws-sdk/core";
|
|
2
|
-
import {
|
|
2
|
+
import { type HttpAuthScheme, type HttpAuthSchemeParametersProvider, type Provider, HandlerExecutionContext, HttpAuthSchemeParameters, HttpAuthSchemeProvider } from "@smithy/types";
|
|
3
3
|
import { CloudFrontKeyValueStoreClientResolvedConfig } from "../CloudFrontKeyValueStoreClient";
|
|
4
4
|
import { EndpointParameters } from "../endpoint/EndpointParameters";
|
|
5
5
|
/**
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
-
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import { CloudFrontKeyValueStoreClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudFrontKeyValueStoreClient";
|
|
4
|
-
import { DeleteKeyRequest, DeleteKeyResponse } from "../models/models_0";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { CloudFrontKeyValueStoreClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudFrontKeyValueStoreClient";
|
|
4
|
+
import type { DeleteKeyRequest, DeleteKeyResponse } from "../models/models_0";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
-
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import { CloudFrontKeyValueStoreClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudFrontKeyValueStoreClient";
|
|
4
|
-
import { DescribeKeyValueStoreRequest, DescribeKeyValueStoreResponse } from "../models/models_0";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { CloudFrontKeyValueStoreClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudFrontKeyValueStoreClient";
|
|
4
|
+
import type { DescribeKeyValueStoreRequest, DescribeKeyValueStoreResponse } from "../models/models_0";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
-
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import { CloudFrontKeyValueStoreClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudFrontKeyValueStoreClient";
|
|
4
|
-
import { GetKeyRequest, GetKeyResponse } from "../models/models_0";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { CloudFrontKeyValueStoreClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudFrontKeyValueStoreClient";
|
|
4
|
+
import type { GetKeyRequest, GetKeyResponse } from "../models/models_0";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
-
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import { CloudFrontKeyValueStoreClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudFrontKeyValueStoreClient";
|
|
4
|
-
import { ListKeysRequest, ListKeysResponse } from "../models/models_0";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { CloudFrontKeyValueStoreClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudFrontKeyValueStoreClient";
|
|
4
|
+
import type { ListKeysRequest, ListKeysResponse } from "../models/models_0";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
-
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import { CloudFrontKeyValueStoreClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudFrontKeyValueStoreClient";
|
|
4
|
-
import { PutKeyRequest, PutKeyResponse } from "../models/models_0";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { CloudFrontKeyValueStoreClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudFrontKeyValueStoreClient";
|
|
4
|
+
import type { PutKeyRequest, PutKeyResponse } from "../models/models_0";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
-
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import { CloudFrontKeyValueStoreClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudFrontKeyValueStoreClient";
|
|
4
|
-
import { UpdateKeysRequest, UpdateKeysResponse } from "../models/models_0";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { CloudFrontKeyValueStoreClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudFrontKeyValueStoreClient";
|
|
4
|
+
import type { UpdateKeysRequest, UpdateKeysResponse } from "../models/models_0";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Endpoint, EndpointParameters as __EndpointParameters, EndpointV2, Provider } from "@smithy/types";
|
|
1
|
+
import type { Endpoint, EndpointParameters as __EndpointParameters, EndpointV2, Provider } from "@smithy/types";
|
|
2
2
|
/**
|
|
3
3
|
* @public
|
|
4
4
|
*/
|
|
@@ -7,10 +7,19 @@ export interface ClientInputEndpointParameters {
|
|
|
7
7
|
useFipsEndpoint?: boolean | undefined | Provider<boolean | undefined>;
|
|
8
8
|
endpoint?: string | Provider<string> | Endpoint | Provider<Endpoint> | EndpointV2 | Provider<EndpointV2>;
|
|
9
9
|
}
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*/
|
|
10
13
|
export type ClientResolvedEndpointParameters = Omit<ClientInputEndpointParameters, "endpoint"> & {
|
|
11
14
|
defaultSigningName: string;
|
|
12
15
|
};
|
|
16
|
+
/**
|
|
17
|
+
* @internal
|
|
18
|
+
*/
|
|
13
19
|
export declare const resolveClientEndpointParameters: <T>(options: T & ClientInputEndpointParameters) => T & ClientResolvedEndpointParameters;
|
|
20
|
+
/**
|
|
21
|
+
* @internal
|
|
22
|
+
*/
|
|
14
23
|
export declare const commonParams: {
|
|
15
24
|
readonly UseFIPS: {
|
|
16
25
|
readonly type: "builtInParams";
|
|
@@ -25,6 +34,9 @@ export declare const commonParams: {
|
|
|
25
34
|
readonly name: "region";
|
|
26
35
|
};
|
|
27
36
|
};
|
|
37
|
+
/**
|
|
38
|
+
* @internal
|
|
39
|
+
*/
|
|
28
40
|
export interface EndpointParameters extends __EndpointParameters {
|
|
29
41
|
KvsARN?: string | undefined;
|
|
30
42
|
Region?: string | undefined;
|
|
@@ -1,5 +1,8 @@
|
|
|
1
|
-
import { EndpointV2, Logger } from "@smithy/types";
|
|
2
|
-
import { EndpointParameters } from "./EndpointParameters";
|
|
1
|
+
import type { EndpointV2, Logger } from "@smithy/types";
|
|
2
|
+
import type { EndpointParameters } from "./EndpointParameters";
|
|
3
|
+
/**
|
|
4
|
+
* @internal
|
|
5
|
+
*/
|
|
3
6
|
export declare const defaultEndpointResolver: (endpointParams: EndpointParameters, context?: {
|
|
4
7
|
logger?: Logger;
|
|
5
8
|
}) => EndpointV2;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { AwsRegionExtensionConfiguration } from "@aws-sdk/types";
|
|
2
|
-
import { HttpHandlerExtensionConfiguration } from "@smithy/protocol-http";
|
|
3
|
-
import { DefaultExtensionConfiguration } from "@smithy/types";
|
|
4
|
-
import { HttpAuthExtensionConfiguration } from "./auth/httpAuthExtensionConfiguration";
|
|
1
|
+
import type { AwsRegionExtensionConfiguration } from "@aws-sdk/types";
|
|
2
|
+
import type { HttpHandlerExtensionConfiguration } from "@smithy/protocol-http";
|
|
3
|
+
import type { DefaultExtensionConfiguration } from "@smithy/types";
|
|
4
|
+
import type { HttpAuthExtensionConfiguration } from "./auth/httpAuthExtensionConfiguration";
|
|
5
5
|
/**
|
|
6
6
|
* @internal
|
|
7
7
|
*/
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { type ServiceExceptionOptions as __ServiceExceptionOptions, ServiceException as __ServiceException } from "@smithy/smithy-client";
|
|
2
2
|
export type { __ServiceExceptionOptions };
|
|
3
3
|
export { __ServiceException };
|
|
4
4
|
/**
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
1
|
+
import type { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
2
|
import { CloudFrontKeyValueStoreServiceException as __BaseException } from "./CloudFrontKeyValueStoreServiceException";
|
|
3
3
|
/**
|
|
4
4
|
* <p>Access denied.</p>
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Paginator } from "@smithy/types";
|
|
1
|
+
import type { Paginator } from "@smithy/types";
|
|
2
2
|
import { ListKeysCommandInput, ListKeysCommandOutput } from "../commands/ListKeysCommand";
|
|
3
3
|
import { CloudFrontKeyValueStorePaginationConfiguration } from "./Interfaces";
|
|
4
4
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { FetchHttpHandler as RequestHandler } from "@smithy/fetch-http-handler";
|
|
2
|
-
import { CloudFrontKeyValueStoreClientConfig } from "./CloudFrontKeyValueStoreClient";
|
|
2
|
+
import type { CloudFrontKeyValueStoreClientConfig } from "./CloudFrontKeyValueStoreClient";
|
|
3
3
|
/**
|
|
4
4
|
* @internal
|
|
5
5
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { NodeHttpHandler as RequestHandler } from "@smithy/node-http-handler";
|
|
2
|
-
import { CloudFrontKeyValueStoreClientConfig } from "./CloudFrontKeyValueStoreClient";
|
|
2
|
+
import type { CloudFrontKeyValueStoreClientConfig } from "./CloudFrontKeyValueStoreClient";
|
|
3
3
|
/**
|
|
4
4
|
* @internal
|
|
5
5
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { SignatureV4MultiRegion } from "@aws-sdk/signature-v4-multi-region";
|
|
2
|
-
import { CloudFrontKeyValueStoreClientConfig } from "./CloudFrontKeyValueStoreClient";
|
|
2
|
+
import type { CloudFrontKeyValueStoreClientConfig } from "./CloudFrontKeyValueStoreClient";
|
|
3
3
|
/**
|
|
4
4
|
* @internal
|
|
5
5
|
*/
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { StaticErrorSchema, StaticListSchema, StaticOperationSchema, StaticSimpleSchema, StaticStructureSchema } from "@smithy/types";
|
|
1
|
+
import type { StaticErrorSchema, StaticListSchema, StaticOperationSchema, StaticSimpleSchema, StaticStructureSchema } from "@smithy/types";
|
|
2
2
|
export declare var Value: StaticSimpleSchema;
|
|
3
3
|
export declare var AccessDeniedException: StaticErrorSchema;
|
|
4
4
|
export declare var ConflictException: StaticErrorSchema;
|
|
@@ -20,13 +20,12 @@ import {
|
|
|
20
20
|
} from "@smithy/middleware-retry";
|
|
21
21
|
import { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/protocol-http";
|
|
22
22
|
import {
|
|
23
|
-
Client as __Client,
|
|
24
23
|
DefaultsMode as __DefaultsMode,
|
|
25
24
|
SmithyConfiguration as __SmithyConfiguration,
|
|
26
25
|
SmithyResolvedConfiguration as __SmithyResolvedConfiguration,
|
|
26
|
+
Client as __Client,
|
|
27
27
|
} from "@smithy/smithy-client";
|
|
28
28
|
import {
|
|
29
|
-
AwsCredentialIdentityProvider,
|
|
30
29
|
BodyLengthCalculator as __BodyLengthCalculator,
|
|
31
30
|
CheckOptionalClientConfig as __CheckOptionalClientConfig,
|
|
32
31
|
ChecksumConstructor as __ChecksumConstructor,
|
|
@@ -39,9 +38,10 @@ import {
|
|
|
39
38
|
HttpResponse,
|
|
40
39
|
Logger as __Logger,
|
|
41
40
|
Provider as __Provider,
|
|
42
|
-
Provider,
|
|
43
41
|
StreamCollector as __StreamCollector,
|
|
44
42
|
UrlParser as __UrlParser,
|
|
43
|
+
AwsCredentialIdentityProvider,
|
|
44
|
+
Provider,
|
|
45
45
|
UserAgent as __UserAgent,
|
|
46
46
|
} from "@smithy/types";
|
|
47
47
|
import {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
|
+
HttpAuthScheme,
|
|
2
3
|
AwsCredentialIdentity,
|
|
3
4
|
AwsCredentialIdentityProvider,
|
|
4
|
-
HttpAuthScheme,
|
|
5
5
|
} from "@smithy/types";
|
|
6
6
|
import { CloudFrontKeyValueStoreHttpAuthSchemeProvider } from "./httpAuthSchemeProvider";
|
|
7
7
|
export interface HttpAuthExtensionConfiguration {
|
|
@@ -7,12 +7,12 @@ import {
|
|
|
7
7
|
AwsSdkSigV4PreviouslyResolved,
|
|
8
8
|
} from "@aws-sdk/core";
|
|
9
9
|
import {
|
|
10
|
-
HandlerExecutionContext,
|
|
11
10
|
HttpAuthScheme,
|
|
12
|
-
HttpAuthSchemeParameters,
|
|
13
11
|
HttpAuthSchemeParametersProvider,
|
|
14
|
-
HttpAuthSchemeProvider,
|
|
15
12
|
Provider,
|
|
13
|
+
HandlerExecutionContext,
|
|
14
|
+
HttpAuthSchemeParameters,
|
|
15
|
+
HttpAuthSchemeProvider,
|
|
16
16
|
} from "@smithy/types";
|
|
17
17
|
import { CloudFrontKeyValueStoreClientResolvedConfig } from "../CloudFrontKeyValueStoreClient";
|
|
18
18
|
import { EndpointParameters } from "../endpoint/EndpointParameters";
|
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.946.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",
|
|
@@ -11,7 +11,8 @@
|
|
|
11
11
|
"build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
|
|
12
12
|
"clean": "rimraf ./dist-* && rimraf *.tsbuildinfo",
|
|
13
13
|
"extract:docs": "api-extractor run --local",
|
|
14
|
-
"generate:client": "node ../../scripts/generate-clients/single-service --solo cloudfront-keyvaluestore"
|
|
14
|
+
"generate:client": "node ../../scripts/generate-clients/single-service --solo cloudfront-keyvaluestore",
|
|
15
|
+
"test:index": "tsc --noEmit ./test/index-types.ts && node ./test/index-objects.spec.mjs"
|
|
15
16
|
},
|
|
16
17
|
"main": "./dist-cjs/index.js",
|
|
17
18
|
"types": "./dist-types/index.d.ts",
|
|
@@ -20,39 +21,39 @@
|
|
|
20
21
|
"dependencies": {
|
|
21
22
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
23
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
|
-
"@aws-sdk/core": "3.
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
24
|
+
"@aws-sdk/core": "3.946.0",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.946.0",
|
|
25
26
|
"@aws-sdk/middleware-host-header": "3.936.0",
|
|
26
27
|
"@aws-sdk/middleware-logger": "3.936.0",
|
|
27
28
|
"@aws-sdk/middleware-recursion-detection": "3.936.0",
|
|
28
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
29
|
+
"@aws-sdk/middleware-user-agent": "3.946.0",
|
|
29
30
|
"@aws-sdk/region-config-resolver": "3.936.0",
|
|
30
|
-
"@aws-sdk/signature-v4-multi-region": "3.
|
|
31
|
+
"@aws-sdk/signature-v4-multi-region": "3.946.0",
|
|
31
32
|
"@aws-sdk/types": "3.936.0",
|
|
32
33
|
"@aws-sdk/util-endpoints": "3.936.0",
|
|
33
34
|
"@aws-sdk/util-user-agent-browser": "3.936.0",
|
|
34
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
35
|
+
"@aws-sdk/util-user-agent-node": "3.946.0",
|
|
35
36
|
"@smithy/config-resolver": "^4.4.3",
|
|
36
|
-
"@smithy/core": "^3.18.
|
|
37
|
+
"@smithy/core": "^3.18.7",
|
|
37
38
|
"@smithy/fetch-http-handler": "^5.3.6",
|
|
38
39
|
"@smithy/hash-node": "^4.2.5",
|
|
39
40
|
"@smithy/invalid-dependency": "^4.2.5",
|
|
40
41
|
"@smithy/middleware-content-length": "^4.2.5",
|
|
41
|
-
"@smithy/middleware-endpoint": "^4.3.
|
|
42
|
-
"@smithy/middleware-retry": "^4.4.
|
|
42
|
+
"@smithy/middleware-endpoint": "^4.3.14",
|
|
43
|
+
"@smithy/middleware-retry": "^4.4.14",
|
|
43
44
|
"@smithy/middleware-serde": "^4.2.6",
|
|
44
45
|
"@smithy/middleware-stack": "^4.2.5",
|
|
45
46
|
"@smithy/node-config-provider": "^4.3.5",
|
|
46
47
|
"@smithy/node-http-handler": "^4.4.5",
|
|
47
48
|
"@smithy/protocol-http": "^5.3.5",
|
|
48
|
-
"@smithy/smithy-client": "^4.9.
|
|
49
|
+
"@smithy/smithy-client": "^4.9.10",
|
|
49
50
|
"@smithy/types": "^4.9.0",
|
|
50
51
|
"@smithy/url-parser": "^4.2.5",
|
|
51
52
|
"@smithy/util-base64": "^4.3.0",
|
|
52
53
|
"@smithy/util-body-length-browser": "^4.2.0",
|
|
53
54
|
"@smithy/util-body-length-node": "^4.2.1",
|
|
54
|
-
"@smithy/util-defaults-mode-browser": "^4.3.
|
|
55
|
-
"@smithy/util-defaults-mode-node": "^4.2.
|
|
55
|
+
"@smithy/util-defaults-mode-browser": "^4.3.13",
|
|
56
|
+
"@smithy/util-defaults-mode-node": "^4.2.16",
|
|
56
57
|
"@smithy/util-endpoints": "^3.2.5",
|
|
57
58
|
"@smithy/util-middleware": "^4.2.5",
|
|
58
59
|
"@smithy/util-retry": "^4.2.5",
|