@aws-sdk/client-dsql 3.943.0 → 3.947.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 +27 -136
- package/dist-cjs/runtimeConfig.browser.js +2 -2
- package/dist-cjs/runtimeConfig.js +3 -4
- package/dist-es/DSQLClient.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 +27 -136
- package/dist-types/DSQL.d.ts +1 -1
- package/dist-types/DSQLClient.d.ts +10 -10
- package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +2 -2
- package/dist-types/auth/httpAuthSchemeProvider.d.ts +2 -2
- package/dist-types/commands/CreateClusterCommand.d.ts +3 -3
- package/dist-types/commands/DeleteClusterCommand.d.ts +3 -3
- package/dist-types/commands/DeleteClusterPolicyCommand.d.ts +3 -3
- package/dist-types/commands/GetClusterCommand.d.ts +3 -3
- package/dist-types/commands/GetClusterPolicyCommand.d.ts +3 -3
- package/dist-types/commands/GetVpcEndpointServiceNameCommand.d.ts +3 -3
- package/dist-types/commands/ListClustersCommand.d.ts +3 -3
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -3
- package/dist-types/commands/PutClusterPolicyCommand.d.ts +3 -3
- package/dist-types/commands/TagResourceCommand.d.ts +3 -3
- package/dist-types/commands/UntagResourceCommand.d.ts +3 -3
- package/dist-types/commands/UpdateClusterCommand.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/DSQLServiceException.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/ListClustersPaginator.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/DSQLClient.d.ts +3 -3
- package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +1 -1
- package/dist-types/ts3.4/models/DSQLServiceException.d.ts +1 -1
- package/package.json +13 -12
package/dist-cjs/index.js
CHANGED
|
@@ -330,30 +330,10 @@ const _t = "tags";
|
|
|
330
330
|
const _tK = "tagKeys";
|
|
331
331
|
const _wR = "witnessRegion";
|
|
332
332
|
const n0 = "com.amazonaws.dsql";
|
|
333
|
-
var AccessDeniedException = [
|
|
334
|
-
-3,
|
|
335
|
-
n0,
|
|
336
|
-
_ADE,
|
|
337
|
-
{
|
|
338
|
-
[_e]: _c,
|
|
339
|
-
[_hE]: 403,
|
|
340
|
-
},
|
|
341
|
-
[_m],
|
|
342
|
-
[0],
|
|
343
|
-
];
|
|
333
|
+
var AccessDeniedException = [-3, n0, _ADE, { [_e]: _c, [_hE]: 403 }, [_m], [0]];
|
|
344
334
|
schema.TypeRegistry.for(n0).registerError(AccessDeniedException, AccessDeniedException$1);
|
|
345
335
|
var ClusterSummary = [3, n0, _CS, 0, [_i, _a], [0, 0]];
|
|
346
|
-
var ConflictException = [
|
|
347
|
-
-3,
|
|
348
|
-
n0,
|
|
349
|
-
_CE,
|
|
350
|
-
{
|
|
351
|
-
[_e]: _c,
|
|
352
|
-
[_hE]: 409,
|
|
353
|
-
},
|
|
354
|
-
[_m, _rI, _rT],
|
|
355
|
-
[0, 0, 0],
|
|
356
|
-
];
|
|
336
|
+
var ConflictException = [-3, n0, _CE, { [_e]: _c, [_hE]: 409 }, [_m, _rI, _rT], [0, 0, 0]];
|
|
357
337
|
schema.TypeRegistry.for(n0).registerError(ConflictException, ConflictException$1);
|
|
358
338
|
var CreateClusterInput = [
|
|
359
339
|
3,
|
|
@@ -379,13 +359,7 @@ var DeleteClusterInput = [
|
|
|
379
359
|
[_i, _cT],
|
|
380
360
|
[
|
|
381
361
|
[0, 1],
|
|
382
|
-
[
|
|
383
|
-
0,
|
|
384
|
-
{
|
|
385
|
-
[_iT]: 1,
|
|
386
|
-
[_hQ]: _ct,
|
|
387
|
-
},
|
|
388
|
-
],
|
|
362
|
+
[0, { [_iT]: 1, [_hQ]: _ct }],
|
|
389
363
|
],
|
|
390
364
|
];
|
|
391
365
|
var DeleteClusterOutput = [3, n0, _DCO, 0, [_i, _a, _s, _cTr], [0, 0, 0, 4]];
|
|
@@ -397,19 +371,8 @@ var DeleteClusterPolicyInput = [
|
|
|
397
371
|
[_i, _ePV, _cT],
|
|
398
372
|
[
|
|
399
373
|
[0, 1],
|
|
400
|
-
[
|
|
401
|
-
|
|
402
|
-
{
|
|
403
|
-
[_hQ]: _epv,
|
|
404
|
-
},
|
|
405
|
-
],
|
|
406
|
-
[
|
|
407
|
-
0,
|
|
408
|
-
{
|
|
409
|
-
[_iT]: 1,
|
|
410
|
-
[_hQ]: _ct,
|
|
411
|
-
},
|
|
412
|
-
],
|
|
374
|
+
[0, { [_hQ]: _epv }],
|
|
375
|
+
[0, { [_iT]: 1, [_hQ]: _ct }],
|
|
413
376
|
],
|
|
414
377
|
];
|
|
415
378
|
var DeleteClusterPolicyOutput = [3, n0, _DCPO, 0, [_pV], [0]];
|
|
@@ -431,20 +394,9 @@ var InternalServerException = [
|
|
|
431
394
|
-3,
|
|
432
395
|
n0,
|
|
433
396
|
_ISE,
|
|
434
|
-
{
|
|
435
|
-
[_e]: _se,
|
|
436
|
-
[_hE]: 500,
|
|
437
|
-
},
|
|
397
|
+
{ [_e]: _se, [_hE]: 500 },
|
|
438
398
|
[_m, _rAS],
|
|
439
|
-
[
|
|
440
|
-
0,
|
|
441
|
-
[
|
|
442
|
-
1,
|
|
443
|
-
{
|
|
444
|
-
[_hH]: _RA,
|
|
445
|
-
},
|
|
446
|
-
],
|
|
447
|
-
],
|
|
399
|
+
[0, [1, { [_hH]: _RA }]],
|
|
448
400
|
];
|
|
449
401
|
schema.TypeRegistry.for(n0).registerError(InternalServerException, InternalServerException$1);
|
|
450
402
|
var ListClustersInput = [
|
|
@@ -454,18 +406,8 @@ var ListClustersInput = [
|
|
|
454
406
|
0,
|
|
455
407
|
[_mR, _nT],
|
|
456
408
|
[
|
|
457
|
-
[
|
|
458
|
-
|
|
459
|
-
{
|
|
460
|
-
[_hQ]: _mr,
|
|
461
|
-
},
|
|
462
|
-
],
|
|
463
|
-
[
|
|
464
|
-
0,
|
|
465
|
-
{
|
|
466
|
-
[_hQ]: _nt,
|
|
467
|
-
},
|
|
468
|
-
],
|
|
409
|
+
[1, { [_hQ]: _mr }],
|
|
410
|
+
[0, { [_hQ]: _nt }],
|
|
469
411
|
],
|
|
470
412
|
];
|
|
471
413
|
var ListClustersOutput = [3, n0, _LCO, 0, [_nT, _cl], [0, () => ClusterList]];
|
|
@@ -485,10 +427,7 @@ var ResourceNotFoundException = [
|
|
|
485
427
|
-3,
|
|
486
428
|
n0,
|
|
487
429
|
_RNFE,
|
|
488
|
-
{
|
|
489
|
-
[_e]: _c,
|
|
490
|
-
[_hE]: 404,
|
|
491
|
-
},
|
|
430
|
+
{ [_e]: _c, [_hE]: 404 },
|
|
492
431
|
[_m, _rI, _rT],
|
|
493
432
|
[0, 0, 0],
|
|
494
433
|
];
|
|
@@ -497,10 +436,7 @@ var ServiceQuotaExceededException = [
|
|
|
497
436
|
-3,
|
|
498
437
|
n0,
|
|
499
438
|
_SQEE,
|
|
500
|
-
{
|
|
501
|
-
[_e]: _c,
|
|
502
|
-
[_hE]: 402,
|
|
503
|
-
},
|
|
439
|
+
{ [_e]: _c, [_hE]: 402 },
|
|
504
440
|
[_m, _rI, _rT, _sC, _qC],
|
|
505
441
|
[0, 0, 0, 0, 0],
|
|
506
442
|
];
|
|
@@ -510,22 +446,9 @@ var ThrottlingException = [
|
|
|
510
446
|
-3,
|
|
511
447
|
n0,
|
|
512
448
|
_TE,
|
|
513
|
-
{
|
|
514
|
-
[_e]: _c,
|
|
515
|
-
[_hE]: 429,
|
|
516
|
-
},
|
|
449
|
+
{ [_e]: _c, [_hE]: 429 },
|
|
517
450
|
[_m, _sC, _qC, _rAS],
|
|
518
|
-
[
|
|
519
|
-
0,
|
|
520
|
-
0,
|
|
521
|
-
0,
|
|
522
|
-
[
|
|
523
|
-
1,
|
|
524
|
-
{
|
|
525
|
-
[_hH]: _RA,
|
|
526
|
-
},
|
|
527
|
-
],
|
|
528
|
-
],
|
|
451
|
+
[0, 0, 0, [1, { [_hH]: _RA }]],
|
|
529
452
|
];
|
|
530
453
|
schema.TypeRegistry.for(n0).registerError(ThrottlingException, ThrottlingException$1);
|
|
531
454
|
var UntagResourceInput = [
|
|
@@ -536,12 +459,7 @@ var UntagResourceInput = [
|
|
|
536
459
|
[_rA, _tK],
|
|
537
460
|
[
|
|
538
461
|
[0, 1],
|
|
539
|
-
[
|
|
540
|
-
64 | 0,
|
|
541
|
-
{
|
|
542
|
-
[_hQ]: _tK,
|
|
543
|
-
},
|
|
544
|
-
],
|
|
462
|
+
[64 | 0, { [_hQ]: _tK }],
|
|
545
463
|
],
|
|
546
464
|
];
|
|
547
465
|
var UpdateClusterInput = [
|
|
@@ -557,10 +475,7 @@ var ValidationException = [
|
|
|
557
475
|
-3,
|
|
558
476
|
n0,
|
|
559
477
|
_VE,
|
|
560
|
-
{
|
|
561
|
-
[_e]: _c,
|
|
562
|
-
[_hE]: 400,
|
|
563
|
-
},
|
|
478
|
+
{ [_e]: _c, [_hE]: 400 },
|
|
564
479
|
[_m, _r, _fL],
|
|
565
480
|
[0, 0, () => ValidationExceptionFieldList],
|
|
566
481
|
];
|
|
@@ -575,9 +490,7 @@ var CreateCluster = [
|
|
|
575
490
|
9,
|
|
576
491
|
n0,
|
|
577
492
|
_CC,
|
|
578
|
-
{
|
|
579
|
-
[_h]: ["POST", "/cluster", 200],
|
|
580
|
-
},
|
|
493
|
+
{ [_h]: ["POST", "/cluster", 200] },
|
|
581
494
|
() => CreateClusterInput,
|
|
582
495
|
() => CreateClusterOutput,
|
|
583
496
|
];
|
|
@@ -585,9 +498,7 @@ var DeleteCluster = [
|
|
|
585
498
|
9,
|
|
586
499
|
n0,
|
|
587
500
|
_DC,
|
|
588
|
-
{
|
|
589
|
-
[_h]: ["DELETE", "/cluster/{identifier}", 200],
|
|
590
|
-
},
|
|
501
|
+
{ [_h]: ["DELETE", "/cluster/{identifier}", 200] },
|
|
591
502
|
() => DeleteClusterInput,
|
|
592
503
|
() => DeleteClusterOutput,
|
|
593
504
|
];
|
|
@@ -595,9 +506,7 @@ var DeleteClusterPolicy = [
|
|
|
595
506
|
9,
|
|
596
507
|
n0,
|
|
597
508
|
_DCP,
|
|
598
|
-
{
|
|
599
|
-
[_h]: ["DELETE", "/cluster/{identifier}/policy", 200],
|
|
600
|
-
},
|
|
509
|
+
{ [_h]: ["DELETE", "/cluster/{identifier}/policy", 200] },
|
|
601
510
|
() => DeleteClusterPolicyInput,
|
|
602
511
|
() => DeleteClusterPolicyOutput,
|
|
603
512
|
];
|
|
@@ -605,9 +514,7 @@ var GetCluster = [
|
|
|
605
514
|
9,
|
|
606
515
|
n0,
|
|
607
516
|
_GC,
|
|
608
|
-
{
|
|
609
|
-
[_h]: ["GET", "/cluster/{identifier}", 200],
|
|
610
|
-
},
|
|
517
|
+
{ [_h]: ["GET", "/cluster/{identifier}", 200] },
|
|
611
518
|
() => GetClusterInput,
|
|
612
519
|
() => GetClusterOutput,
|
|
613
520
|
];
|
|
@@ -615,9 +522,7 @@ var GetClusterPolicy = [
|
|
|
615
522
|
9,
|
|
616
523
|
n0,
|
|
617
524
|
_GCP,
|
|
618
|
-
{
|
|
619
|
-
[_h]: ["GET", "/cluster/{identifier}/policy", 200],
|
|
620
|
-
},
|
|
525
|
+
{ [_h]: ["GET", "/cluster/{identifier}/policy", 200] },
|
|
621
526
|
() => GetClusterPolicyInput,
|
|
622
527
|
() => GetClusterPolicyOutput,
|
|
623
528
|
];
|
|
@@ -625,9 +530,7 @@ var GetVpcEndpointServiceName = [
|
|
|
625
530
|
9,
|
|
626
531
|
n0,
|
|
627
532
|
_GVESN,
|
|
628
|
-
{
|
|
629
|
-
[_h]: ["GET", "/clusters/{identifier}/vpc-endpoint-service-name", 200],
|
|
630
|
-
},
|
|
533
|
+
{ [_h]: ["GET", "/clusters/{identifier}/vpc-endpoint-service-name", 200] },
|
|
631
534
|
() => GetVpcEndpointServiceNameInput,
|
|
632
535
|
() => GetVpcEndpointServiceNameOutput,
|
|
633
536
|
];
|
|
@@ -635,9 +538,7 @@ var ListClusters = [
|
|
|
635
538
|
9,
|
|
636
539
|
n0,
|
|
637
540
|
_LC,
|
|
638
|
-
{
|
|
639
|
-
[_h]: ["GET", "/cluster", 200],
|
|
640
|
-
},
|
|
541
|
+
{ [_h]: ["GET", "/cluster", 200] },
|
|
641
542
|
() => ListClustersInput,
|
|
642
543
|
() => ListClustersOutput,
|
|
643
544
|
];
|
|
@@ -645,9 +546,7 @@ var ListTagsForResource = [
|
|
|
645
546
|
9,
|
|
646
547
|
n0,
|
|
647
548
|
_LTFR,
|
|
648
|
-
{
|
|
649
|
-
[_h]: ["GET", "/tags/{resourceArn}", 200],
|
|
650
|
-
},
|
|
549
|
+
{ [_h]: ["GET", "/tags/{resourceArn}", 200] },
|
|
651
550
|
() => ListTagsForResourceInput,
|
|
652
551
|
() => ListTagsForResourceOutput,
|
|
653
552
|
];
|
|
@@ -655,9 +554,7 @@ var PutClusterPolicy = [
|
|
|
655
554
|
9,
|
|
656
555
|
n0,
|
|
657
556
|
_PCP,
|
|
658
|
-
{
|
|
659
|
-
[_h]: ["POST", "/cluster/{identifier}/policy", 200],
|
|
660
|
-
},
|
|
557
|
+
{ [_h]: ["POST", "/cluster/{identifier}/policy", 200] },
|
|
661
558
|
() => PutClusterPolicyInput,
|
|
662
559
|
() => PutClusterPolicyOutput,
|
|
663
560
|
];
|
|
@@ -665,9 +562,7 @@ var TagResource = [
|
|
|
665
562
|
9,
|
|
666
563
|
n0,
|
|
667
564
|
_TR,
|
|
668
|
-
{
|
|
669
|
-
[_h]: ["POST", "/tags/{resourceArn}", 200],
|
|
670
|
-
},
|
|
565
|
+
{ [_h]: ["POST", "/tags/{resourceArn}", 200] },
|
|
671
566
|
() => TagResourceInput,
|
|
672
567
|
() => __Unit,
|
|
673
568
|
];
|
|
@@ -675,9 +570,7 @@ var UntagResource = [
|
|
|
675
570
|
9,
|
|
676
571
|
n0,
|
|
677
572
|
_UR,
|
|
678
|
-
{
|
|
679
|
-
[_h]: ["DELETE", "/tags/{resourceArn}", 200],
|
|
680
|
-
},
|
|
573
|
+
{ [_h]: ["DELETE", "/tags/{resourceArn}", 200] },
|
|
681
574
|
() => UntagResourceInput,
|
|
682
575
|
() => __Unit,
|
|
683
576
|
];
|
|
@@ -685,9 +578,7 @@ var UpdateCluster = [
|
|
|
685
578
|
9,
|
|
686
579
|
n0,
|
|
687
580
|
_UC,
|
|
688
|
-
{
|
|
689
|
-
[_h]: ["POST", "/cluster/{identifier}", 200],
|
|
690
|
-
},
|
|
581
|
+
{ [_h]: ["POST", "/cluster/{identifier}", 200] },
|
|
691
582
|
() => UpdateClusterInput,
|
|
692
583
|
() => UpdateClusterOutput,
|
|
693
584
|
];
|
|
@@ -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);
|
package/dist-es/DSQLClient.js
CHANGED
|
@@ -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 { defaultDSQLHttpAuthSchemeParametersProvider, 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);
|
|
@@ -98,30 +98,10 @@ const n0 = "com.amazonaws.dsql";
|
|
|
98
98
|
import { TypeRegistry } from "@smithy/core/schema";
|
|
99
99
|
import { DSQLServiceException as __DSQLServiceException } from "../models/DSQLServiceException";
|
|
100
100
|
import { AccessDeniedException as __AccessDeniedException, ConflictException as __ConflictException, InternalServerException as __InternalServerException, ResourceNotFoundException as __ResourceNotFoundException, ServiceQuotaExceededException as __ServiceQuotaExceededException, ThrottlingException as __ThrottlingException, ValidationException as __ValidationException, } from "../models/errors";
|
|
101
|
-
export var AccessDeniedException = [
|
|
102
|
-
-3,
|
|
103
|
-
n0,
|
|
104
|
-
_ADE,
|
|
105
|
-
{
|
|
106
|
-
[_e]: _c,
|
|
107
|
-
[_hE]: 403,
|
|
108
|
-
},
|
|
109
|
-
[_m],
|
|
110
|
-
[0],
|
|
111
|
-
];
|
|
101
|
+
export var AccessDeniedException = [-3, n0, _ADE, { [_e]: _c, [_hE]: 403 }, [_m], [0]];
|
|
112
102
|
TypeRegistry.for(n0).registerError(AccessDeniedException, __AccessDeniedException);
|
|
113
103
|
export var ClusterSummary = [3, n0, _CS, 0, [_i, _a], [0, 0]];
|
|
114
|
-
export var ConflictException = [
|
|
115
|
-
-3,
|
|
116
|
-
n0,
|
|
117
|
-
_CE,
|
|
118
|
-
{
|
|
119
|
-
[_e]: _c,
|
|
120
|
-
[_hE]: 409,
|
|
121
|
-
},
|
|
122
|
-
[_m, _rI, _rT],
|
|
123
|
-
[0, 0, 0],
|
|
124
|
-
];
|
|
104
|
+
export var ConflictException = [-3, n0, _CE, { [_e]: _c, [_hE]: 409 }, [_m, _rI, _rT], [0, 0, 0]];
|
|
125
105
|
TypeRegistry.for(n0).registerError(ConflictException, __ConflictException);
|
|
126
106
|
export var CreateClusterInput = [
|
|
127
107
|
3,
|
|
@@ -147,13 +127,7 @@ export var DeleteClusterInput = [
|
|
|
147
127
|
[_i, _cT],
|
|
148
128
|
[
|
|
149
129
|
[0, 1],
|
|
150
|
-
[
|
|
151
|
-
0,
|
|
152
|
-
{
|
|
153
|
-
[_iT]: 1,
|
|
154
|
-
[_hQ]: _ct,
|
|
155
|
-
},
|
|
156
|
-
],
|
|
130
|
+
[0, { [_iT]: 1, [_hQ]: _ct }],
|
|
157
131
|
],
|
|
158
132
|
];
|
|
159
133
|
export var DeleteClusterOutput = [3, n0, _DCO, 0, [_i, _a, _s, _cTr], [0, 0, 0, 4]];
|
|
@@ -165,19 +139,8 @@ export var DeleteClusterPolicyInput = [
|
|
|
165
139
|
[_i, _ePV, _cT],
|
|
166
140
|
[
|
|
167
141
|
[0, 1],
|
|
168
|
-
[
|
|
169
|
-
|
|
170
|
-
{
|
|
171
|
-
[_hQ]: _epv,
|
|
172
|
-
},
|
|
173
|
-
],
|
|
174
|
-
[
|
|
175
|
-
0,
|
|
176
|
-
{
|
|
177
|
-
[_iT]: 1,
|
|
178
|
-
[_hQ]: _ct,
|
|
179
|
-
},
|
|
180
|
-
],
|
|
142
|
+
[0, { [_hQ]: _epv }],
|
|
143
|
+
[0, { [_iT]: 1, [_hQ]: _ct }],
|
|
181
144
|
],
|
|
182
145
|
];
|
|
183
146
|
export var DeleteClusterPolicyOutput = [3, n0, _DCPO, 0, [_pV], [0]];
|
|
@@ -199,20 +162,9 @@ export var InternalServerException = [
|
|
|
199
162
|
-3,
|
|
200
163
|
n0,
|
|
201
164
|
_ISE,
|
|
202
|
-
{
|
|
203
|
-
[_e]: _se,
|
|
204
|
-
[_hE]: 500,
|
|
205
|
-
},
|
|
165
|
+
{ [_e]: _se, [_hE]: 500 },
|
|
206
166
|
[_m, _rAS],
|
|
207
|
-
[
|
|
208
|
-
0,
|
|
209
|
-
[
|
|
210
|
-
1,
|
|
211
|
-
{
|
|
212
|
-
[_hH]: _RA,
|
|
213
|
-
},
|
|
214
|
-
],
|
|
215
|
-
],
|
|
167
|
+
[0, [1, { [_hH]: _RA }]],
|
|
216
168
|
];
|
|
217
169
|
TypeRegistry.for(n0).registerError(InternalServerException, __InternalServerException);
|
|
218
170
|
export var ListClustersInput = [
|
|
@@ -222,18 +174,8 @@ export var ListClustersInput = [
|
|
|
222
174
|
0,
|
|
223
175
|
[_mR, _nT],
|
|
224
176
|
[
|
|
225
|
-
[
|
|
226
|
-
|
|
227
|
-
{
|
|
228
|
-
[_hQ]: _mr,
|
|
229
|
-
},
|
|
230
|
-
],
|
|
231
|
-
[
|
|
232
|
-
0,
|
|
233
|
-
{
|
|
234
|
-
[_hQ]: _nt,
|
|
235
|
-
},
|
|
236
|
-
],
|
|
177
|
+
[1, { [_hQ]: _mr }],
|
|
178
|
+
[0, { [_hQ]: _nt }],
|
|
237
179
|
],
|
|
238
180
|
];
|
|
239
181
|
export var ListClustersOutput = [3, n0, _LCO, 0, [_nT, _cl], [0, () => ClusterList]];
|
|
@@ -253,10 +195,7 @@ export var ResourceNotFoundException = [
|
|
|
253
195
|
-3,
|
|
254
196
|
n0,
|
|
255
197
|
_RNFE,
|
|
256
|
-
{
|
|
257
|
-
[_e]: _c,
|
|
258
|
-
[_hE]: 404,
|
|
259
|
-
},
|
|
198
|
+
{ [_e]: _c, [_hE]: 404 },
|
|
260
199
|
[_m, _rI, _rT],
|
|
261
200
|
[0, 0, 0],
|
|
262
201
|
];
|
|
@@ -265,10 +204,7 @@ export var ServiceQuotaExceededException = [
|
|
|
265
204
|
-3,
|
|
266
205
|
n0,
|
|
267
206
|
_SQEE,
|
|
268
|
-
{
|
|
269
|
-
[_e]: _c,
|
|
270
|
-
[_hE]: 402,
|
|
271
|
-
},
|
|
207
|
+
{ [_e]: _c, [_hE]: 402 },
|
|
272
208
|
[_m, _rI, _rT, _sC, _qC],
|
|
273
209
|
[0, 0, 0, 0, 0],
|
|
274
210
|
];
|
|
@@ -278,22 +214,9 @@ export var ThrottlingException = [
|
|
|
278
214
|
-3,
|
|
279
215
|
n0,
|
|
280
216
|
_TE,
|
|
281
|
-
{
|
|
282
|
-
[_e]: _c,
|
|
283
|
-
[_hE]: 429,
|
|
284
|
-
},
|
|
217
|
+
{ [_e]: _c, [_hE]: 429 },
|
|
285
218
|
[_m, _sC, _qC, _rAS],
|
|
286
|
-
[
|
|
287
|
-
0,
|
|
288
|
-
0,
|
|
289
|
-
0,
|
|
290
|
-
[
|
|
291
|
-
1,
|
|
292
|
-
{
|
|
293
|
-
[_hH]: _RA,
|
|
294
|
-
},
|
|
295
|
-
],
|
|
296
|
-
],
|
|
219
|
+
[0, 0, 0, [1, { [_hH]: _RA }]],
|
|
297
220
|
];
|
|
298
221
|
TypeRegistry.for(n0).registerError(ThrottlingException, __ThrottlingException);
|
|
299
222
|
export var UntagResourceInput = [
|
|
@@ -304,12 +227,7 @@ export var UntagResourceInput = [
|
|
|
304
227
|
[_rA, _tK],
|
|
305
228
|
[
|
|
306
229
|
[0, 1],
|
|
307
|
-
[
|
|
308
|
-
64 | 0,
|
|
309
|
-
{
|
|
310
|
-
[_hQ]: _tK,
|
|
311
|
-
},
|
|
312
|
-
],
|
|
230
|
+
[64 | 0, { [_hQ]: _tK }],
|
|
313
231
|
],
|
|
314
232
|
];
|
|
315
233
|
export var UpdateClusterInput = [
|
|
@@ -325,10 +243,7 @@ export var ValidationException = [
|
|
|
325
243
|
-3,
|
|
326
244
|
n0,
|
|
327
245
|
_VE,
|
|
328
|
-
{
|
|
329
|
-
[_e]: _c,
|
|
330
|
-
[_hE]: 400,
|
|
331
|
-
},
|
|
246
|
+
{ [_e]: _c, [_hE]: 400 },
|
|
332
247
|
[_m, _r, _fL],
|
|
333
248
|
[0, 0, () => ValidationExceptionFieldList],
|
|
334
249
|
];
|
|
@@ -346,9 +261,7 @@ export var CreateCluster = [
|
|
|
346
261
|
9,
|
|
347
262
|
n0,
|
|
348
263
|
_CC,
|
|
349
|
-
{
|
|
350
|
-
[_h]: ["POST", "/cluster", 200],
|
|
351
|
-
},
|
|
264
|
+
{ [_h]: ["POST", "/cluster", 200] },
|
|
352
265
|
() => CreateClusterInput,
|
|
353
266
|
() => CreateClusterOutput,
|
|
354
267
|
];
|
|
@@ -356,9 +269,7 @@ export var DeleteCluster = [
|
|
|
356
269
|
9,
|
|
357
270
|
n0,
|
|
358
271
|
_DC,
|
|
359
|
-
{
|
|
360
|
-
[_h]: ["DELETE", "/cluster/{identifier}", 200],
|
|
361
|
-
},
|
|
272
|
+
{ [_h]: ["DELETE", "/cluster/{identifier}", 200] },
|
|
362
273
|
() => DeleteClusterInput,
|
|
363
274
|
() => DeleteClusterOutput,
|
|
364
275
|
];
|
|
@@ -366,9 +277,7 @@ export var DeleteClusterPolicy = [
|
|
|
366
277
|
9,
|
|
367
278
|
n0,
|
|
368
279
|
_DCP,
|
|
369
|
-
{
|
|
370
|
-
[_h]: ["DELETE", "/cluster/{identifier}/policy", 200],
|
|
371
|
-
},
|
|
280
|
+
{ [_h]: ["DELETE", "/cluster/{identifier}/policy", 200] },
|
|
372
281
|
() => DeleteClusterPolicyInput,
|
|
373
282
|
() => DeleteClusterPolicyOutput,
|
|
374
283
|
];
|
|
@@ -376,9 +285,7 @@ export var GetCluster = [
|
|
|
376
285
|
9,
|
|
377
286
|
n0,
|
|
378
287
|
_GC,
|
|
379
|
-
{
|
|
380
|
-
[_h]: ["GET", "/cluster/{identifier}", 200],
|
|
381
|
-
},
|
|
288
|
+
{ [_h]: ["GET", "/cluster/{identifier}", 200] },
|
|
382
289
|
() => GetClusterInput,
|
|
383
290
|
() => GetClusterOutput,
|
|
384
291
|
];
|
|
@@ -386,9 +293,7 @@ export var GetClusterPolicy = [
|
|
|
386
293
|
9,
|
|
387
294
|
n0,
|
|
388
295
|
_GCP,
|
|
389
|
-
{
|
|
390
|
-
[_h]: ["GET", "/cluster/{identifier}/policy", 200],
|
|
391
|
-
},
|
|
296
|
+
{ [_h]: ["GET", "/cluster/{identifier}/policy", 200] },
|
|
392
297
|
() => GetClusterPolicyInput,
|
|
393
298
|
() => GetClusterPolicyOutput,
|
|
394
299
|
];
|
|
@@ -396,9 +301,7 @@ export var GetVpcEndpointServiceName = [
|
|
|
396
301
|
9,
|
|
397
302
|
n0,
|
|
398
303
|
_GVESN,
|
|
399
|
-
{
|
|
400
|
-
[_h]: ["GET", "/clusters/{identifier}/vpc-endpoint-service-name", 200],
|
|
401
|
-
},
|
|
304
|
+
{ [_h]: ["GET", "/clusters/{identifier}/vpc-endpoint-service-name", 200] },
|
|
402
305
|
() => GetVpcEndpointServiceNameInput,
|
|
403
306
|
() => GetVpcEndpointServiceNameOutput,
|
|
404
307
|
];
|
|
@@ -406,9 +309,7 @@ export var ListClusters = [
|
|
|
406
309
|
9,
|
|
407
310
|
n0,
|
|
408
311
|
_LC,
|
|
409
|
-
{
|
|
410
|
-
[_h]: ["GET", "/cluster", 200],
|
|
411
|
-
},
|
|
312
|
+
{ [_h]: ["GET", "/cluster", 200] },
|
|
412
313
|
() => ListClustersInput,
|
|
413
314
|
() => ListClustersOutput,
|
|
414
315
|
];
|
|
@@ -416,9 +317,7 @@ export var ListTagsForResource = [
|
|
|
416
317
|
9,
|
|
417
318
|
n0,
|
|
418
319
|
_LTFR,
|
|
419
|
-
{
|
|
420
|
-
[_h]: ["GET", "/tags/{resourceArn}", 200],
|
|
421
|
-
},
|
|
320
|
+
{ [_h]: ["GET", "/tags/{resourceArn}", 200] },
|
|
422
321
|
() => ListTagsForResourceInput,
|
|
423
322
|
() => ListTagsForResourceOutput,
|
|
424
323
|
];
|
|
@@ -426,9 +325,7 @@ export var PutClusterPolicy = [
|
|
|
426
325
|
9,
|
|
427
326
|
n0,
|
|
428
327
|
_PCP,
|
|
429
|
-
{
|
|
430
|
-
[_h]: ["POST", "/cluster/{identifier}/policy", 200],
|
|
431
|
-
},
|
|
328
|
+
{ [_h]: ["POST", "/cluster/{identifier}/policy", 200] },
|
|
432
329
|
() => PutClusterPolicyInput,
|
|
433
330
|
() => PutClusterPolicyOutput,
|
|
434
331
|
];
|
|
@@ -436,9 +333,7 @@ export var TagResource = [
|
|
|
436
333
|
9,
|
|
437
334
|
n0,
|
|
438
335
|
_TR,
|
|
439
|
-
{
|
|
440
|
-
[_h]: ["POST", "/tags/{resourceArn}", 200],
|
|
441
|
-
},
|
|
336
|
+
{ [_h]: ["POST", "/tags/{resourceArn}", 200] },
|
|
442
337
|
() => TagResourceInput,
|
|
443
338
|
() => __Unit,
|
|
444
339
|
];
|
|
@@ -446,9 +341,7 @@ export var UntagResource = [
|
|
|
446
341
|
9,
|
|
447
342
|
n0,
|
|
448
343
|
_UR,
|
|
449
|
-
{
|
|
450
|
-
[_h]: ["DELETE", "/tags/{resourceArn}", 200],
|
|
451
|
-
},
|
|
344
|
+
{ [_h]: ["DELETE", "/tags/{resourceArn}", 200] },
|
|
452
345
|
() => UntagResourceInput,
|
|
453
346
|
() => __Unit,
|
|
454
347
|
];
|
|
@@ -456,9 +349,7 @@ export var UpdateCluster = [
|
|
|
456
349
|
9,
|
|
457
350
|
n0,
|
|
458
351
|
_UC,
|
|
459
|
-
{
|
|
460
|
-
[_h]: ["POST", "/cluster/{identifier}", 200],
|
|
461
|
-
},
|
|
352
|
+
{ [_h]: ["POST", "/cluster/{identifier}", 200] },
|
|
462
353
|
() => UpdateClusterInput,
|
|
463
354
|
() => UpdateClusterOutput,
|
|
464
355
|
];
|
package/dist-types/DSQL.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
|
|
1
|
+
import type { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
|
|
2
2
|
import { CreateClusterCommandInput, CreateClusterCommandOutput } from "./commands/CreateClusterCommand";
|
|
3
3
|
import { DeleteClusterCommandInput, DeleteClusterCommandOutput } from "./commands/DeleteClusterCommand";
|
|
4
4
|
import { DeleteClusterPolicyCommandInput, DeleteClusterPolicyCommandOutput } from "./commands/DeleteClusterPolicyCommand";
|
|
@@ -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 { CreateClusterCommandInput, CreateClusterCommandOutput } from "./commands/CreateClusterCommand";
|
|
11
11
|
import { DeleteClusterCommandInput, DeleteClusterCommandOutput } from "./commands/DeleteClusterCommand";
|
|
12
12
|
import { DeleteClusterPolicyCommandInput, DeleteClusterPolicyCommandOutput } from "./commands/DeleteClusterPolicyCommand";
|
|
@@ -20,7 +20,7 @@ import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/Ta
|
|
|
20
20
|
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
21
21
|
import { UpdateClusterCommandInput, UpdateClusterCommandOutput } from "./commands/UpdateClusterCommand";
|
|
22
22
|
import { ClientInputEndpointParameters, ClientResolvedEndpointParameters, EndpointParameters } from "./endpoint/EndpointParameters";
|
|
23
|
-
import { RuntimeExtension, RuntimeExtensionsConfig } from "./runtimeExtensions";
|
|
23
|
+
import { type RuntimeExtension, type RuntimeExtensionsConfig } from "./runtimeExtensions";
|
|
24
24
|
export { __Client };
|
|
25
25
|
/**
|
|
26
26
|
* @public
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { AwsCredentialIdentity, AwsCredentialIdentityProvider
|
|
2
|
-
import { DSQLHttpAuthSchemeProvider } from "./httpAuthSchemeProvider";
|
|
1
|
+
import { type HttpAuthScheme, AwsCredentialIdentity, AwsCredentialIdentityProvider } from "@smithy/types";
|
|
2
|
+
import type { DSQLHttpAuthSchemeProvider } from "./httpAuthSchemeProvider";
|
|
3
3
|
/**
|
|
4
4
|
* @internal
|
|
5
5
|
*/
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { AwsSdkSigV4AuthInputConfig, AwsSdkSigV4AuthResolvedConfig, AwsSdkSigV4PreviouslyResolved } from "@aws-sdk/core";
|
|
2
|
-
import { HandlerExecutionContext, HttpAuthScheme, HttpAuthSchemeParameters, HttpAuthSchemeParametersProvider, HttpAuthSchemeProvider, Provider } from "@smithy/types";
|
|
3
|
-
import { DSQLClientResolvedConfig } from "../DSQLClient";
|
|
2
|
+
import type { HandlerExecutionContext, HttpAuthScheme, HttpAuthSchemeParameters, HttpAuthSchemeParametersProvider, HttpAuthSchemeProvider, Provider } from "@smithy/types";
|
|
3
|
+
import { type DSQLClientResolvedConfig } from "../DSQLClient";
|
|
4
4
|
/**
|
|
5
5
|
* @internal
|
|
6
6
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
-
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import { DSQLClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DSQLClient";
|
|
4
|
-
import { CreateClusterInput, CreateClusterOutput } from "../models/models_0";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { DSQLClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DSQLClient";
|
|
4
|
+
import type { CreateClusterInput, CreateClusterOutput } 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 { DSQLClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DSQLClient";
|
|
4
|
-
import { DeleteClusterInput, DeleteClusterOutput } from "../models/models_0";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { DSQLClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DSQLClient";
|
|
4
|
+
import type { DeleteClusterInput, DeleteClusterOutput } 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 { DSQLClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DSQLClient";
|
|
4
|
-
import { DeleteClusterPolicyInput, DeleteClusterPolicyOutput } from "../models/models_0";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { DSQLClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DSQLClient";
|
|
4
|
+
import type { DeleteClusterPolicyInput, DeleteClusterPolicyOutput } 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 { DSQLClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DSQLClient";
|
|
4
|
-
import { GetClusterInput, GetClusterOutput } from "../models/models_0";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { DSQLClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DSQLClient";
|
|
4
|
+
import type { GetClusterInput, GetClusterOutput } 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 { DSQLClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DSQLClient";
|
|
4
|
-
import { GetClusterPolicyInput, GetClusterPolicyOutput } from "../models/models_0";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { DSQLClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DSQLClient";
|
|
4
|
+
import type { GetClusterPolicyInput, GetClusterPolicyOutput } 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 { DSQLClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DSQLClient";
|
|
4
|
-
import { GetVpcEndpointServiceNameInput, GetVpcEndpointServiceNameOutput } from "../models/models_0";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { DSQLClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DSQLClient";
|
|
4
|
+
import type { GetVpcEndpointServiceNameInput, GetVpcEndpointServiceNameOutput } 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 { DSQLClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DSQLClient";
|
|
4
|
-
import { ListClustersInput, ListClustersOutput } from "../models/models_0";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { DSQLClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DSQLClient";
|
|
4
|
+
import type { ListClustersInput, ListClustersOutput } 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 { DSQLClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DSQLClient";
|
|
4
|
-
import { ListTagsForResourceInput, ListTagsForResourceOutput } from "../models/models_0";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { DSQLClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DSQLClient";
|
|
4
|
+
import type { ListTagsForResourceInput, ListTagsForResourceOutput } 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 { DSQLClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DSQLClient";
|
|
4
|
-
import { PutClusterPolicyInput, PutClusterPolicyOutput } from "../models/models_0";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { DSQLClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DSQLClient";
|
|
4
|
+
import type { PutClusterPolicyInput, PutClusterPolicyOutput } 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 { DSQLClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DSQLClient";
|
|
4
|
-
import { TagResourceInput } from "../models/models_0";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { DSQLClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DSQLClient";
|
|
4
|
+
import type { TagResourceInput } 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 { DSQLClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DSQLClient";
|
|
4
|
-
import { UntagResourceInput } from "../models/models_0";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { DSQLClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DSQLClient";
|
|
4
|
+
import type { UntagResourceInput } 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 { DSQLClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DSQLClient";
|
|
4
|
-
import { UpdateClusterInput, UpdateClusterOutput } from "../models/models_0";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { DSQLClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DSQLClient";
|
|
4
|
+
import type { UpdateClusterInput, UpdateClusterOutput } 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
|
endpoint?: string | Provider<string> | Endpoint | Provider<Endpoint> | EndpointV2 | Provider<EndpointV2>;
|
|
8
8
|
region?: string | undefined | Provider<string | undefined>;
|
|
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
|
UseFIPS?: boolean | undefined;
|
|
30
42
|
Endpoint?: 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 { DSQLServiceException as __BaseException } from "./DSQLServiceException";
|
|
3
3
|
import { ValidationExceptionReason } from "./enums";
|
|
4
4
|
import { ValidationExceptionField } from "./models_0";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { StaticErrorSchema, StaticListSchema, StaticOperationSchema, StaticStructureSchema } from "@smithy/types";
|
|
1
|
+
import type { StaticErrorSchema, StaticListSchema, StaticOperationSchema, StaticStructureSchema } from "@smithy/types";
|
|
2
2
|
export declare var AccessDeniedException: StaticErrorSchema;
|
|
3
3
|
export declare var ClusterSummary: StaticStructureSchema;
|
|
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 {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-dsql",
|
|
3
3
|
"description": "AWS SDK for JavaScript Dsql Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.947.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-dsql",
|
|
@@ -11,7 +11,8 @@
|
|
|
11
11
|
"build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
|
|
12
12
|
"clean": "rimraf ./dist-* && rimraf *.tsbuildinfo || exit 0",
|
|
13
13
|
"extract:docs": "api-extractor run --local",
|
|
14
|
-
"generate:client": "node ../../scripts/generate-clients/single-service --solo dsql"
|
|
14
|
+
"generate:client": "node ../../scripts/generate-clients/single-service --solo dsql",
|
|
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,38 +21,38 @@
|
|
|
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.947.0",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.947.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.947.0",
|
|
29
30
|
"@aws-sdk/region-config-resolver": "3.936.0",
|
|
30
31
|
"@aws-sdk/types": "3.936.0",
|
|
31
32
|
"@aws-sdk/util-endpoints": "3.936.0",
|
|
32
33
|
"@aws-sdk/util-user-agent-browser": "3.936.0",
|
|
33
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
34
|
+
"@aws-sdk/util-user-agent-node": "3.947.0",
|
|
34
35
|
"@smithy/config-resolver": "^4.4.3",
|
|
35
|
-
"@smithy/core": "^3.18.
|
|
36
|
+
"@smithy/core": "^3.18.7",
|
|
36
37
|
"@smithy/fetch-http-handler": "^5.3.6",
|
|
37
38
|
"@smithy/hash-node": "^4.2.5",
|
|
38
39
|
"@smithy/invalid-dependency": "^4.2.5",
|
|
39
40
|
"@smithy/middleware-content-length": "^4.2.5",
|
|
40
|
-
"@smithy/middleware-endpoint": "^4.3.
|
|
41
|
-
"@smithy/middleware-retry": "^4.4.
|
|
41
|
+
"@smithy/middleware-endpoint": "^4.3.14",
|
|
42
|
+
"@smithy/middleware-retry": "^4.4.14",
|
|
42
43
|
"@smithy/middleware-serde": "^4.2.6",
|
|
43
44
|
"@smithy/middleware-stack": "^4.2.5",
|
|
44
45
|
"@smithy/node-config-provider": "^4.3.5",
|
|
45
46
|
"@smithy/node-http-handler": "^4.4.5",
|
|
46
47
|
"@smithy/protocol-http": "^5.3.5",
|
|
47
|
-
"@smithy/smithy-client": "^4.9.
|
|
48
|
+
"@smithy/smithy-client": "^4.9.10",
|
|
48
49
|
"@smithy/types": "^4.9.0",
|
|
49
50
|
"@smithy/url-parser": "^4.2.5",
|
|
50
51
|
"@smithy/util-base64": "^4.3.0",
|
|
51
52
|
"@smithy/util-body-length-browser": "^4.2.0",
|
|
52
53
|
"@smithy/util-body-length-node": "^4.2.1",
|
|
53
|
-
"@smithy/util-defaults-mode-browser": "^4.3.
|
|
54
|
-
"@smithy/util-defaults-mode-node": "^4.2.
|
|
54
|
+
"@smithy/util-defaults-mode-browser": "^4.3.13",
|
|
55
|
+
"@smithy/util-defaults-mode-node": "^4.2.16",
|
|
55
56
|
"@smithy/util-endpoints": "^3.2.5",
|
|
56
57
|
"@smithy/util-middleware": "^4.2.5",
|
|
57
58
|
"@smithy/util-retry": "^4.2.5",
|