@aws-sdk/client-dax 3.1076.0 → 3.1078.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.
Files changed (83) hide show
  1. package/dist-cjs/index.js +32 -215
  2. package/dist-es/commandBuilder.js +6 -0
  3. package/dist-es/commands/CreateClusterCommand.js +2 -14
  4. package/dist-es/commands/CreateParameterGroupCommand.js +2 -14
  5. package/dist-es/commands/CreateSubnetGroupCommand.js +2 -14
  6. package/dist-es/commands/DecreaseReplicationFactorCommand.js +2 -14
  7. package/dist-es/commands/DeleteClusterCommand.js +2 -14
  8. package/dist-es/commands/DeleteParameterGroupCommand.js +2 -14
  9. package/dist-es/commands/DeleteSubnetGroupCommand.js +2 -14
  10. package/dist-es/commands/DescribeClustersCommand.js +2 -14
  11. package/dist-es/commands/DescribeDefaultParametersCommand.js +2 -14
  12. package/dist-es/commands/DescribeEventsCommand.js +2 -14
  13. package/dist-es/commands/DescribeParameterGroupsCommand.js +2 -14
  14. package/dist-es/commands/DescribeParametersCommand.js +2 -14
  15. package/dist-es/commands/DescribeSubnetGroupsCommand.js +2 -14
  16. package/dist-es/commands/IncreaseReplicationFactorCommand.js +2 -14
  17. package/dist-es/commands/ListTagsCommand.js +2 -14
  18. package/dist-es/commands/RebootNodeCommand.js +2 -14
  19. package/dist-es/commands/TagResourceCommand.js +2 -14
  20. package/dist-es/commands/UntagResourceCommand.js +2 -14
  21. package/dist-es/commands/UpdateClusterCommand.js +2 -14
  22. package/dist-es/commands/UpdateParameterGroupCommand.js +2 -14
  23. package/dist-es/commands/UpdateSubnetGroupCommand.js +2 -14
  24. package/dist-es/index.js +1 -0
  25. package/dist-es/runtimeConfig.browser.js +0 -2
  26. package/dist-es/runtimeConfig.js +1 -2
  27. package/dist-es/runtimeConfig.native.js +0 -2
  28. package/dist-es/runtimeConfig.shared.js +2 -0
  29. package/dist-types/commandBuilder.d.ts +18 -0
  30. package/dist-types/commands/CreateClusterCommand.d.ts +3 -8
  31. package/dist-types/commands/CreateParameterGroupCommand.d.ts +3 -8
  32. package/dist-types/commands/CreateSubnetGroupCommand.d.ts +3 -8
  33. package/dist-types/commands/DecreaseReplicationFactorCommand.d.ts +3 -8
  34. package/dist-types/commands/DeleteClusterCommand.d.ts +3 -8
  35. package/dist-types/commands/DeleteParameterGroupCommand.d.ts +3 -8
  36. package/dist-types/commands/DeleteSubnetGroupCommand.d.ts +3 -8
  37. package/dist-types/commands/DescribeClustersCommand.d.ts +3 -8
  38. package/dist-types/commands/DescribeDefaultParametersCommand.d.ts +3 -8
  39. package/dist-types/commands/DescribeEventsCommand.d.ts +3 -8
  40. package/dist-types/commands/DescribeParameterGroupsCommand.d.ts +3 -8
  41. package/dist-types/commands/DescribeParametersCommand.d.ts +3 -8
  42. package/dist-types/commands/DescribeSubnetGroupsCommand.d.ts +3 -8
  43. package/dist-types/commands/IncreaseReplicationFactorCommand.d.ts +3 -8
  44. package/dist-types/commands/ListTagsCommand.d.ts +3 -8
  45. package/dist-types/commands/RebootNodeCommand.d.ts +3 -8
  46. package/dist-types/commands/TagResourceCommand.d.ts +3 -8
  47. package/dist-types/commands/UntagResourceCommand.d.ts +3 -8
  48. package/dist-types/commands/UpdateClusterCommand.d.ts +3 -8
  49. package/dist-types/commands/UpdateParameterGroupCommand.d.ts +3 -8
  50. package/dist-types/commands/UpdateSubnetGroupCommand.d.ts +3 -8
  51. package/dist-types/index.d.ts +1 -0
  52. package/dist-types/runtimeConfig.browser.d.ts +1 -1
  53. package/dist-types/runtimeConfig.d.ts +1 -1
  54. package/dist-types/runtimeConfig.native.d.ts +1 -1
  55. package/dist-types/runtimeConfig.shared.d.ts +1 -0
  56. package/dist-types/ts3.4/commandBuilder.d.ts +46 -0
  57. package/dist-types/ts3.4/commands/CreateClusterCommand.d.ts +7 -16
  58. package/dist-types/ts3.4/commands/CreateParameterGroupCommand.d.ts +7 -16
  59. package/dist-types/ts3.4/commands/CreateSubnetGroupCommand.d.ts +7 -16
  60. package/dist-types/ts3.4/commands/DecreaseReplicationFactorCommand.d.ts +7 -16
  61. package/dist-types/ts3.4/commands/DeleteClusterCommand.d.ts +7 -16
  62. package/dist-types/ts3.4/commands/DeleteParameterGroupCommand.d.ts +7 -16
  63. package/dist-types/ts3.4/commands/DeleteSubnetGroupCommand.d.ts +7 -16
  64. package/dist-types/ts3.4/commands/DescribeClustersCommand.d.ts +7 -16
  65. package/dist-types/ts3.4/commands/DescribeDefaultParametersCommand.d.ts +7 -16
  66. package/dist-types/ts3.4/commands/DescribeEventsCommand.d.ts +7 -16
  67. package/dist-types/ts3.4/commands/DescribeParameterGroupsCommand.d.ts +7 -16
  68. package/dist-types/ts3.4/commands/DescribeParametersCommand.d.ts +7 -16
  69. package/dist-types/ts3.4/commands/DescribeSubnetGroupsCommand.d.ts +7 -16
  70. package/dist-types/ts3.4/commands/IncreaseReplicationFactorCommand.d.ts +7 -16
  71. package/dist-types/ts3.4/commands/ListTagsCommand.d.ts +7 -16
  72. package/dist-types/ts3.4/commands/RebootNodeCommand.d.ts +7 -16
  73. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +7 -16
  74. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +7 -16
  75. package/dist-types/ts3.4/commands/UpdateClusterCommand.d.ts +7 -16
  76. package/dist-types/ts3.4/commands/UpdateParameterGroupCommand.d.ts +7 -16
  77. package/dist-types/ts3.4/commands/UpdateSubnetGroupCommand.d.ts +7 -16
  78. package/dist-types/ts3.4/index.d.ts +1 -0
  79. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
  80. package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
  81. package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -1
  82. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -0
  83. package/package.json +8 -10
package/dist-cjs/index.js CHANGED
@@ -1,7 +1,8 @@
1
1
  const { awsEndpointFunctions, emitWarningIfUnsupportedVersion: emitWarningIfUnsupportedVersion$1, createDefaultUserAgentProvider, NODE_APP_ID_CONFIG_OPTIONS, getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, resolveUserAgentConfig, resolveHostHeaderConfig, getUserAgentPlugin, getHostHeaderPlugin, getLoggerPlugin, getRecursionDetectionPlugin } = require("@aws-sdk/core/client");
2
2
  const { getHttpAuthSchemeEndpointRuleSetPlugin, DefaultIdentityProviderConfig, getHttpSigningPlugin } = require("@smithy/core");
3
- const { normalizeProvider, getSmithyContext, ServiceException, NoOpLogger, emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode, getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, Command, createAggregatedClient } = require("@smithy/core/client");
4
- exports.$Command = Command;
3
+ const { normalizeProvider, getSmithyContext, ServiceException, NoOpLogger, emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode, getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, makeBuilder, createAggregatedClient } = require("@smithy/core/client");
4
+ const { Command: $Command } = require("@smithy/core/client");
5
+ exports.$Command = $Command;
5
6
  exports.__Client = Client;
6
7
  const { resolveDefaultsModeConfig, loadConfig, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS, resolveRegionConfig } = require("@smithy/core/config");
7
8
  const { BinaryDecisionDiagram, EndpointCache, decideEndpoint, customEndpointFunctions, resolveEndpointConfig, getEndpointPlugin } = require("@smithy/core/endpoints");
@@ -10,9 +11,10 @@ const { DEFAULT_RETRY_MODE, NODE_RETRY_MODE_CONFIG_OPTIONS, NODE_MAX_ATTEMPT_CON
10
11
  const { TypeRegistry, getSchemaSerdePlugin } = require("@smithy/core/schema");
11
12
  const { resolveAwsSdkSigV4Config, AwsSdkSigV4Signer, NODE_AUTH_SCHEME_PREFERENCE_OPTIONS } = require("@aws-sdk/core/httpAuthSchemes");
12
13
  const { defaultProvider } = require("@aws-sdk/credential-provider-node");
13
- const { toUtf8, fromUtf8, toBase64, fromBase64, Hash, calculateBodyLength } = require("@smithy/core/serde");
14
+ const { toUtf8, fromUtf8, toBase64, fromBase64, calculateBodyLength } = require("@smithy/core/serde");
14
15
  const { streamCollector, NodeHttpHandler } = require("@smithy/node-http-handler");
15
16
  const { AwsJson1_1Protocol } = require("@aws-sdk/core/protocols");
17
+ const { Sha256 } = require("@smithy/core/checksum");
16
18
 
17
19
  const defaultDAXHttpAuthSchemeParametersProvider = async (config, context, input) => {
18
20
  return {
@@ -67,7 +69,7 @@ const commonParams = {
67
69
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
68
70
  };
69
71
 
70
- var version = "3.1075.0";
72
+ var version = "3.1077.0";
71
73
  var packageInfo = {
72
74
  version: version};
73
75
 
@@ -1262,6 +1264,7 @@ const getRuntimeConfig$1 = (config) => {
1262
1264
  serviceTarget: "AmazonDAXV3",
1263
1265
  },
1264
1266
  serviceId: config?.serviceId ?? "DAX",
1267
+ sha256: config?.sha256 ?? Sha256,
1265
1268
  urlParser: config?.urlParser ?? parseUrl,
1266
1269
  utf8Decoder: config?.utf8Decoder ?? fromUtf8,
1267
1270
  utf8Encoder: config?.utf8Encoder ?? toUtf8,
@@ -1295,7 +1298,6 @@ const getRuntimeConfig = (config) => {
1295
1298
  ...NODE_RETRY_MODE_CONFIG_OPTIONS,
1296
1299
  default: async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE,
1297
1300
  }, config),
1298
- sha256: config?.sha256 ?? Hash.bind(null, "sha256"),
1299
1301
  streamCollector: config?.streamCollector ?? streamCollector,
1300
1302
  useDualstackEndpoint: config?.useDualstackEndpoint ?? loadConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
1301
1303
  useFipsEndpoint: config?.useFipsEndpoint ?? loadConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
@@ -1383,256 +1385,71 @@ class DAXClient extends Client {
1383
1385
  }
1384
1386
  }
1385
1387
 
1386
- class CreateClusterCommand extends Command
1387
- .classBuilder()
1388
- .ep(commonParams)
1389
- .m(function (Command, cs, config, o) {
1390
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1391
- })
1392
- .s("AmazonDAXV3", "CreateCluster", {})
1393
- .n("DAXClient", "CreateClusterCommand")
1394
- .sc(CreateCluster$)
1395
- .build() {
1388
+ const command = makeBuilder(commonParams, "AmazonDAXV3", "DAXClient", getEndpointPlugin);
1389
+ const _ep0 = {};
1390
+ const _mw0 = (Command, cs, config, o) => [];
1391
+
1392
+ class CreateClusterCommand extends command(_ep0, _mw0, "CreateCluster", CreateCluster$) {
1396
1393
  }
1397
1394
 
1398
- class CreateParameterGroupCommand extends Command
1399
- .classBuilder()
1400
- .ep(commonParams)
1401
- .m(function (Command, cs, config, o) {
1402
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1403
- })
1404
- .s("AmazonDAXV3", "CreateParameterGroup", {})
1405
- .n("DAXClient", "CreateParameterGroupCommand")
1406
- .sc(CreateParameterGroup$)
1407
- .build() {
1395
+ class CreateParameterGroupCommand extends command(_ep0, _mw0, "CreateParameterGroup", CreateParameterGroup$) {
1408
1396
  }
1409
1397
 
1410
- class CreateSubnetGroupCommand extends Command
1411
- .classBuilder()
1412
- .ep(commonParams)
1413
- .m(function (Command, cs, config, o) {
1414
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1415
- })
1416
- .s("AmazonDAXV3", "CreateSubnetGroup", {})
1417
- .n("DAXClient", "CreateSubnetGroupCommand")
1418
- .sc(CreateSubnetGroup$)
1419
- .build() {
1398
+ class CreateSubnetGroupCommand extends command(_ep0, _mw0, "CreateSubnetGroup", CreateSubnetGroup$) {
1420
1399
  }
1421
1400
 
1422
- class DecreaseReplicationFactorCommand extends Command
1423
- .classBuilder()
1424
- .ep(commonParams)
1425
- .m(function (Command, cs, config, o) {
1426
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1427
- })
1428
- .s("AmazonDAXV3", "DecreaseReplicationFactor", {})
1429
- .n("DAXClient", "DecreaseReplicationFactorCommand")
1430
- .sc(DecreaseReplicationFactor$)
1431
- .build() {
1401
+ class DecreaseReplicationFactorCommand extends command(_ep0, _mw0, "DecreaseReplicationFactor", DecreaseReplicationFactor$) {
1432
1402
  }
1433
1403
 
1434
- class DeleteClusterCommand extends Command
1435
- .classBuilder()
1436
- .ep(commonParams)
1437
- .m(function (Command, cs, config, o) {
1438
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1439
- })
1440
- .s("AmazonDAXV3", "DeleteCluster", {})
1441
- .n("DAXClient", "DeleteClusterCommand")
1442
- .sc(DeleteCluster$)
1443
- .build() {
1404
+ class DeleteClusterCommand extends command(_ep0, _mw0, "DeleteCluster", DeleteCluster$) {
1444
1405
  }
1445
1406
 
1446
- class DeleteParameterGroupCommand extends Command
1447
- .classBuilder()
1448
- .ep(commonParams)
1449
- .m(function (Command, cs, config, o) {
1450
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1451
- })
1452
- .s("AmazonDAXV3", "DeleteParameterGroup", {})
1453
- .n("DAXClient", "DeleteParameterGroupCommand")
1454
- .sc(DeleteParameterGroup$)
1455
- .build() {
1407
+ class DeleteParameterGroupCommand extends command(_ep0, _mw0, "DeleteParameterGroup", DeleteParameterGroup$) {
1456
1408
  }
1457
1409
 
1458
- class DeleteSubnetGroupCommand extends Command
1459
- .classBuilder()
1460
- .ep(commonParams)
1461
- .m(function (Command, cs, config, o) {
1462
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1463
- })
1464
- .s("AmazonDAXV3", "DeleteSubnetGroup", {})
1465
- .n("DAXClient", "DeleteSubnetGroupCommand")
1466
- .sc(DeleteSubnetGroup$)
1467
- .build() {
1410
+ class DeleteSubnetGroupCommand extends command(_ep0, _mw0, "DeleteSubnetGroup", DeleteSubnetGroup$) {
1468
1411
  }
1469
1412
 
1470
- class DescribeClustersCommand extends Command
1471
- .classBuilder()
1472
- .ep(commonParams)
1473
- .m(function (Command, cs, config, o) {
1474
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1475
- })
1476
- .s("AmazonDAXV3", "DescribeClusters", {})
1477
- .n("DAXClient", "DescribeClustersCommand")
1478
- .sc(DescribeClusters$)
1479
- .build() {
1413
+ class DescribeClustersCommand extends command(_ep0, _mw0, "DescribeClusters", DescribeClusters$) {
1480
1414
  }
1481
1415
 
1482
- class DescribeDefaultParametersCommand extends Command
1483
- .classBuilder()
1484
- .ep(commonParams)
1485
- .m(function (Command, cs, config, o) {
1486
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1487
- })
1488
- .s("AmazonDAXV3", "DescribeDefaultParameters", {})
1489
- .n("DAXClient", "DescribeDefaultParametersCommand")
1490
- .sc(DescribeDefaultParameters$)
1491
- .build() {
1416
+ class DescribeDefaultParametersCommand extends command(_ep0, _mw0, "DescribeDefaultParameters", DescribeDefaultParameters$) {
1492
1417
  }
1493
1418
 
1494
- class DescribeEventsCommand extends Command
1495
- .classBuilder()
1496
- .ep(commonParams)
1497
- .m(function (Command, cs, config, o) {
1498
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1499
- })
1500
- .s("AmazonDAXV3", "DescribeEvents", {})
1501
- .n("DAXClient", "DescribeEventsCommand")
1502
- .sc(DescribeEvents$)
1503
- .build() {
1419
+ class DescribeEventsCommand extends command(_ep0, _mw0, "DescribeEvents", DescribeEvents$) {
1504
1420
  }
1505
1421
 
1506
- class DescribeParameterGroupsCommand extends Command
1507
- .classBuilder()
1508
- .ep(commonParams)
1509
- .m(function (Command, cs, config, o) {
1510
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1511
- })
1512
- .s("AmazonDAXV3", "DescribeParameterGroups", {})
1513
- .n("DAXClient", "DescribeParameterGroupsCommand")
1514
- .sc(DescribeParameterGroups$)
1515
- .build() {
1422
+ class DescribeParameterGroupsCommand extends command(_ep0, _mw0, "DescribeParameterGroups", DescribeParameterGroups$) {
1516
1423
  }
1517
1424
 
1518
- class DescribeParametersCommand extends Command
1519
- .classBuilder()
1520
- .ep(commonParams)
1521
- .m(function (Command, cs, config, o) {
1522
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1523
- })
1524
- .s("AmazonDAXV3", "DescribeParameters", {})
1525
- .n("DAXClient", "DescribeParametersCommand")
1526
- .sc(DescribeParameters$)
1527
- .build() {
1425
+ class DescribeParametersCommand extends command(_ep0, _mw0, "DescribeParameters", DescribeParameters$) {
1528
1426
  }
1529
1427
 
1530
- class DescribeSubnetGroupsCommand extends Command
1531
- .classBuilder()
1532
- .ep(commonParams)
1533
- .m(function (Command, cs, config, o) {
1534
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1535
- })
1536
- .s("AmazonDAXV3", "DescribeSubnetGroups", {})
1537
- .n("DAXClient", "DescribeSubnetGroupsCommand")
1538
- .sc(DescribeSubnetGroups$)
1539
- .build() {
1428
+ class DescribeSubnetGroupsCommand extends command(_ep0, _mw0, "DescribeSubnetGroups", DescribeSubnetGroups$) {
1540
1429
  }
1541
1430
 
1542
- class IncreaseReplicationFactorCommand extends Command
1543
- .classBuilder()
1544
- .ep(commonParams)
1545
- .m(function (Command, cs, config, o) {
1546
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1547
- })
1548
- .s("AmazonDAXV3", "IncreaseReplicationFactor", {})
1549
- .n("DAXClient", "IncreaseReplicationFactorCommand")
1550
- .sc(IncreaseReplicationFactor$)
1551
- .build() {
1431
+ class IncreaseReplicationFactorCommand extends command(_ep0, _mw0, "IncreaseReplicationFactor", IncreaseReplicationFactor$) {
1552
1432
  }
1553
1433
 
1554
- class ListTagsCommand extends Command
1555
- .classBuilder()
1556
- .ep(commonParams)
1557
- .m(function (Command, cs, config, o) {
1558
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1559
- })
1560
- .s("AmazonDAXV3", "ListTags", {})
1561
- .n("DAXClient", "ListTagsCommand")
1562
- .sc(ListTags$)
1563
- .build() {
1434
+ class ListTagsCommand extends command(_ep0, _mw0, "ListTags", ListTags$) {
1564
1435
  }
1565
1436
 
1566
- class RebootNodeCommand extends Command
1567
- .classBuilder()
1568
- .ep(commonParams)
1569
- .m(function (Command, cs, config, o) {
1570
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1571
- })
1572
- .s("AmazonDAXV3", "RebootNode", {})
1573
- .n("DAXClient", "RebootNodeCommand")
1574
- .sc(RebootNode$)
1575
- .build() {
1437
+ class RebootNodeCommand extends command(_ep0, _mw0, "RebootNode", RebootNode$) {
1576
1438
  }
1577
1439
 
1578
- class TagResourceCommand extends Command
1579
- .classBuilder()
1580
- .ep(commonParams)
1581
- .m(function (Command, cs, config, o) {
1582
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1583
- })
1584
- .s("AmazonDAXV3", "TagResource", {})
1585
- .n("DAXClient", "TagResourceCommand")
1586
- .sc(TagResource$)
1587
- .build() {
1440
+ class TagResourceCommand extends command(_ep0, _mw0, "TagResource", TagResource$) {
1588
1441
  }
1589
1442
 
1590
- class UntagResourceCommand extends Command
1591
- .classBuilder()
1592
- .ep(commonParams)
1593
- .m(function (Command, cs, config, o) {
1594
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1595
- })
1596
- .s("AmazonDAXV3", "UntagResource", {})
1597
- .n("DAXClient", "UntagResourceCommand")
1598
- .sc(UntagResource$)
1599
- .build() {
1443
+ class UntagResourceCommand extends command(_ep0, _mw0, "UntagResource", UntagResource$) {
1600
1444
  }
1601
1445
 
1602
- class UpdateClusterCommand extends Command
1603
- .classBuilder()
1604
- .ep(commonParams)
1605
- .m(function (Command, cs, config, o) {
1606
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1607
- })
1608
- .s("AmazonDAXV3", "UpdateCluster", {})
1609
- .n("DAXClient", "UpdateClusterCommand")
1610
- .sc(UpdateCluster$)
1611
- .build() {
1446
+ class UpdateClusterCommand extends command(_ep0, _mw0, "UpdateCluster", UpdateCluster$) {
1612
1447
  }
1613
1448
 
1614
- class UpdateParameterGroupCommand extends Command
1615
- .classBuilder()
1616
- .ep(commonParams)
1617
- .m(function (Command, cs, config, o) {
1618
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1619
- })
1620
- .s("AmazonDAXV3", "UpdateParameterGroup", {})
1621
- .n("DAXClient", "UpdateParameterGroupCommand")
1622
- .sc(UpdateParameterGroup$)
1623
- .build() {
1449
+ class UpdateParameterGroupCommand extends command(_ep0, _mw0, "UpdateParameterGroup", UpdateParameterGroup$) {
1624
1450
  }
1625
1451
 
1626
- class UpdateSubnetGroupCommand extends Command
1627
- .classBuilder()
1628
- .ep(commonParams)
1629
- .m(function (Command, cs, config, o) {
1630
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1631
- })
1632
- .s("AmazonDAXV3", "UpdateSubnetGroup", {})
1633
- .n("DAXClient", "UpdateSubnetGroupCommand")
1634
- .sc(UpdateSubnetGroup$)
1635
- .build() {
1452
+ class UpdateSubnetGroupCommand extends command(_ep0, _mw0, "UpdateSubnetGroup", UpdateSubnetGroup$) {
1636
1453
  }
1637
1454
 
1638
1455
  const commands = {
@@ -0,0 +1,6 @@
1
+ import { makeBuilder } from "@smithy/core/client";
2
+ import { getEndpointPlugin } from "@smithy/core/endpoints";
3
+ import { commonParams } from "./endpoint/EndpointParameters";
4
+ export const command = makeBuilder(commonParams, "AmazonDAXV3", "DAXClient", getEndpointPlugin);
5
+ export const _ep0 = {};
6
+ export const _mw0 = (Command, cs, config, o) => [];
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { CreateCluster$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class CreateClusterCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AmazonDAXV3", "CreateCluster", {})
13
- .n("DAXClient", "CreateClusterCommand")
14
- .sc(CreateCluster$)
15
- .build() {
3
+ export class CreateClusterCommand extends command(_ep0, _mw0, "CreateCluster", CreateCluster$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { CreateParameterGroup$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class CreateParameterGroupCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AmazonDAXV3", "CreateParameterGroup", {})
13
- .n("DAXClient", "CreateParameterGroupCommand")
14
- .sc(CreateParameterGroup$)
15
- .build() {
3
+ export class CreateParameterGroupCommand extends command(_ep0, _mw0, "CreateParameterGroup", CreateParameterGroup$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { CreateSubnetGroup$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class CreateSubnetGroupCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AmazonDAXV3", "CreateSubnetGroup", {})
13
- .n("DAXClient", "CreateSubnetGroupCommand")
14
- .sc(CreateSubnetGroup$)
15
- .build() {
3
+ export class CreateSubnetGroupCommand extends command(_ep0, _mw0, "CreateSubnetGroup", CreateSubnetGroup$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { DecreaseReplicationFactor$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DecreaseReplicationFactorCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AmazonDAXV3", "DecreaseReplicationFactor", {})
13
- .n("DAXClient", "DecreaseReplicationFactorCommand")
14
- .sc(DecreaseReplicationFactor$)
15
- .build() {
3
+ export class DecreaseReplicationFactorCommand extends command(_ep0, _mw0, "DecreaseReplicationFactor", DecreaseReplicationFactor$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { DeleteCluster$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DeleteClusterCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AmazonDAXV3", "DeleteCluster", {})
13
- .n("DAXClient", "DeleteClusterCommand")
14
- .sc(DeleteCluster$)
15
- .build() {
3
+ export class DeleteClusterCommand extends command(_ep0, _mw0, "DeleteCluster", DeleteCluster$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { DeleteParameterGroup$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DeleteParameterGroupCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AmazonDAXV3", "DeleteParameterGroup", {})
13
- .n("DAXClient", "DeleteParameterGroupCommand")
14
- .sc(DeleteParameterGroup$)
15
- .build() {
3
+ export class DeleteParameterGroupCommand extends command(_ep0, _mw0, "DeleteParameterGroup", DeleteParameterGroup$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { DeleteSubnetGroup$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DeleteSubnetGroupCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AmazonDAXV3", "DeleteSubnetGroup", {})
13
- .n("DAXClient", "DeleteSubnetGroupCommand")
14
- .sc(DeleteSubnetGroup$)
15
- .build() {
3
+ export class DeleteSubnetGroupCommand extends command(_ep0, _mw0, "DeleteSubnetGroup", DeleteSubnetGroup$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { DescribeClusters$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DescribeClustersCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AmazonDAXV3", "DescribeClusters", {})
13
- .n("DAXClient", "DescribeClustersCommand")
14
- .sc(DescribeClusters$)
15
- .build() {
3
+ export class DescribeClustersCommand extends command(_ep0, _mw0, "DescribeClusters", DescribeClusters$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { DescribeDefaultParameters$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DescribeDefaultParametersCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AmazonDAXV3", "DescribeDefaultParameters", {})
13
- .n("DAXClient", "DescribeDefaultParametersCommand")
14
- .sc(DescribeDefaultParameters$)
15
- .build() {
3
+ export class DescribeDefaultParametersCommand extends command(_ep0, _mw0, "DescribeDefaultParameters", DescribeDefaultParameters$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { DescribeEvents$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DescribeEventsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AmazonDAXV3", "DescribeEvents", {})
13
- .n("DAXClient", "DescribeEventsCommand")
14
- .sc(DescribeEvents$)
15
- .build() {
3
+ export class DescribeEventsCommand extends command(_ep0, _mw0, "DescribeEvents", DescribeEvents$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { DescribeParameterGroups$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DescribeParameterGroupsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AmazonDAXV3", "DescribeParameterGroups", {})
13
- .n("DAXClient", "DescribeParameterGroupsCommand")
14
- .sc(DescribeParameterGroups$)
15
- .build() {
3
+ export class DescribeParameterGroupsCommand extends command(_ep0, _mw0, "DescribeParameterGroups", DescribeParameterGroups$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { DescribeParameters$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DescribeParametersCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AmazonDAXV3", "DescribeParameters", {})
13
- .n("DAXClient", "DescribeParametersCommand")
14
- .sc(DescribeParameters$)
15
- .build() {
3
+ export class DescribeParametersCommand extends command(_ep0, _mw0, "DescribeParameters", DescribeParameters$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { DescribeSubnetGroups$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DescribeSubnetGroupsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AmazonDAXV3", "DescribeSubnetGroups", {})
13
- .n("DAXClient", "DescribeSubnetGroupsCommand")
14
- .sc(DescribeSubnetGroups$)
15
- .build() {
3
+ export class DescribeSubnetGroupsCommand extends command(_ep0, _mw0, "DescribeSubnetGroups", DescribeSubnetGroups$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { IncreaseReplicationFactor$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class IncreaseReplicationFactorCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AmazonDAXV3", "IncreaseReplicationFactor", {})
13
- .n("DAXClient", "IncreaseReplicationFactorCommand")
14
- .sc(IncreaseReplicationFactor$)
15
- .build() {
3
+ export class IncreaseReplicationFactorCommand extends command(_ep0, _mw0, "IncreaseReplicationFactor", IncreaseReplicationFactor$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { ListTags$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListTagsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AmazonDAXV3", "ListTags", {})
13
- .n("DAXClient", "ListTagsCommand")
14
- .sc(ListTags$)
15
- .build() {
3
+ export class ListTagsCommand extends command(_ep0, _mw0, "ListTags", ListTags$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { RebootNode$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class RebootNodeCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AmazonDAXV3", "RebootNode", {})
13
- .n("DAXClient", "RebootNodeCommand")
14
- .sc(RebootNode$)
15
- .build() {
3
+ export class RebootNodeCommand extends command(_ep0, _mw0, "RebootNode", RebootNode$) {
16
4
  }