@aws-sdk/client-servicediscovery 3.1077.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 (98) hide show
  1. package/dist-cjs/index.js +38 -303
  2. package/dist-es/commandBuilder.js +6 -0
  3. package/dist-es/commands/CreateHttpNamespaceCommand.js +2 -14
  4. package/dist-es/commands/CreatePrivateDnsNamespaceCommand.js +2 -14
  5. package/dist-es/commands/CreatePublicDnsNamespaceCommand.js +2 -14
  6. package/dist-es/commands/CreateServiceCommand.js +2 -14
  7. package/dist-es/commands/DeleteNamespaceCommand.js +2 -14
  8. package/dist-es/commands/DeleteServiceAttributesCommand.js +2 -14
  9. package/dist-es/commands/DeleteServiceCommand.js +2 -14
  10. package/dist-es/commands/DeregisterInstanceCommand.js +2 -14
  11. package/dist-es/commands/DiscoverInstancesCommand.js +2 -14
  12. package/dist-es/commands/DiscoverInstancesRevisionCommand.js +2 -14
  13. package/dist-es/commands/GetInstanceCommand.js +2 -14
  14. package/dist-es/commands/GetInstancesHealthStatusCommand.js +2 -14
  15. package/dist-es/commands/GetNamespaceCommand.js +2 -14
  16. package/dist-es/commands/GetOperationCommand.js +2 -14
  17. package/dist-es/commands/GetServiceAttributesCommand.js +2 -14
  18. package/dist-es/commands/GetServiceCommand.js +2 -14
  19. package/dist-es/commands/ListInstancesCommand.js +2 -14
  20. package/dist-es/commands/ListNamespacesCommand.js +2 -14
  21. package/dist-es/commands/ListOperationsCommand.js +2 -14
  22. package/dist-es/commands/ListServicesCommand.js +2 -14
  23. package/dist-es/commands/ListTagsForResourceCommand.js +2 -14
  24. package/dist-es/commands/RegisterInstanceCommand.js +2 -14
  25. package/dist-es/commands/TagResourceCommand.js +2 -14
  26. package/dist-es/commands/UntagResourceCommand.js +2 -14
  27. package/dist-es/commands/UpdateHttpNamespaceCommand.js +2 -14
  28. package/dist-es/commands/UpdateInstanceCustomHealthStatusCommand.js +2 -14
  29. package/dist-es/commands/UpdatePrivateDnsNamespaceCommand.js +2 -14
  30. package/dist-es/commands/UpdatePublicDnsNamespaceCommand.js +2 -14
  31. package/dist-es/commands/UpdateServiceAttributesCommand.js +2 -14
  32. package/dist-es/commands/UpdateServiceCommand.js +2 -14
  33. package/dist-es/index.js +1 -0
  34. package/dist-types/commandBuilder.d.ts +18 -0
  35. package/dist-types/commands/CreateHttpNamespaceCommand.d.ts +3 -8
  36. package/dist-types/commands/CreatePrivateDnsNamespaceCommand.d.ts +3 -8
  37. package/dist-types/commands/CreatePublicDnsNamespaceCommand.d.ts +3 -8
  38. package/dist-types/commands/CreateServiceCommand.d.ts +3 -8
  39. package/dist-types/commands/DeleteNamespaceCommand.d.ts +3 -8
  40. package/dist-types/commands/DeleteServiceAttributesCommand.d.ts +3 -8
  41. package/dist-types/commands/DeleteServiceCommand.d.ts +3 -8
  42. package/dist-types/commands/DeregisterInstanceCommand.d.ts +3 -8
  43. package/dist-types/commands/DiscoverInstancesCommand.d.ts +3 -8
  44. package/dist-types/commands/DiscoverInstancesRevisionCommand.d.ts +3 -8
  45. package/dist-types/commands/GetInstanceCommand.d.ts +3 -8
  46. package/dist-types/commands/GetInstancesHealthStatusCommand.d.ts +3 -8
  47. package/dist-types/commands/GetNamespaceCommand.d.ts +3 -8
  48. package/dist-types/commands/GetOperationCommand.d.ts +3 -8
  49. package/dist-types/commands/GetServiceAttributesCommand.d.ts +3 -8
  50. package/dist-types/commands/GetServiceCommand.d.ts +3 -8
  51. package/dist-types/commands/ListInstancesCommand.d.ts +3 -8
  52. package/dist-types/commands/ListNamespacesCommand.d.ts +3 -8
  53. package/dist-types/commands/ListOperationsCommand.d.ts +3 -8
  54. package/dist-types/commands/ListServicesCommand.d.ts +3 -8
  55. package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -8
  56. package/dist-types/commands/RegisterInstanceCommand.d.ts +3 -8
  57. package/dist-types/commands/TagResourceCommand.d.ts +3 -8
  58. package/dist-types/commands/UntagResourceCommand.d.ts +3 -8
  59. package/dist-types/commands/UpdateHttpNamespaceCommand.d.ts +3 -8
  60. package/dist-types/commands/UpdateInstanceCustomHealthStatusCommand.d.ts +3 -8
  61. package/dist-types/commands/UpdatePrivateDnsNamespaceCommand.d.ts +3 -8
  62. package/dist-types/commands/UpdatePublicDnsNamespaceCommand.d.ts +3 -8
  63. package/dist-types/commands/UpdateServiceAttributesCommand.d.ts +3 -8
  64. package/dist-types/commands/UpdateServiceCommand.d.ts +3 -8
  65. package/dist-types/index.d.ts +1 -0
  66. package/dist-types/ts3.4/commandBuilder.d.ts +46 -0
  67. package/dist-types/ts3.4/commands/CreateHttpNamespaceCommand.d.ts +7 -16
  68. package/dist-types/ts3.4/commands/CreatePrivateDnsNamespaceCommand.d.ts +7 -16
  69. package/dist-types/ts3.4/commands/CreatePublicDnsNamespaceCommand.d.ts +7 -16
  70. package/dist-types/ts3.4/commands/CreateServiceCommand.d.ts +7 -16
  71. package/dist-types/ts3.4/commands/DeleteNamespaceCommand.d.ts +7 -16
  72. package/dist-types/ts3.4/commands/DeleteServiceAttributesCommand.d.ts +7 -16
  73. package/dist-types/ts3.4/commands/DeleteServiceCommand.d.ts +7 -16
  74. package/dist-types/ts3.4/commands/DeregisterInstanceCommand.d.ts +7 -16
  75. package/dist-types/ts3.4/commands/DiscoverInstancesCommand.d.ts +7 -16
  76. package/dist-types/ts3.4/commands/DiscoverInstancesRevisionCommand.d.ts +7 -16
  77. package/dist-types/ts3.4/commands/GetInstanceCommand.d.ts +7 -16
  78. package/dist-types/ts3.4/commands/GetInstancesHealthStatusCommand.d.ts +7 -16
  79. package/dist-types/ts3.4/commands/GetNamespaceCommand.d.ts +7 -16
  80. package/dist-types/ts3.4/commands/GetOperationCommand.d.ts +7 -16
  81. package/dist-types/ts3.4/commands/GetServiceAttributesCommand.d.ts +7 -16
  82. package/dist-types/ts3.4/commands/GetServiceCommand.d.ts +7 -16
  83. package/dist-types/ts3.4/commands/ListInstancesCommand.d.ts +7 -16
  84. package/dist-types/ts3.4/commands/ListNamespacesCommand.d.ts +7 -16
  85. package/dist-types/ts3.4/commands/ListOperationsCommand.d.ts +7 -16
  86. package/dist-types/ts3.4/commands/ListServicesCommand.d.ts +7 -16
  87. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +7 -16
  88. package/dist-types/ts3.4/commands/RegisterInstanceCommand.d.ts +7 -16
  89. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +7 -16
  90. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +7 -16
  91. package/dist-types/ts3.4/commands/UpdateHttpNamespaceCommand.d.ts +7 -16
  92. package/dist-types/ts3.4/commands/UpdateInstanceCustomHealthStatusCommand.d.ts +7 -16
  93. package/dist-types/ts3.4/commands/UpdatePrivateDnsNamespaceCommand.d.ts +7 -16
  94. package/dist-types/ts3.4/commands/UpdatePublicDnsNamespaceCommand.d.ts +7 -16
  95. package/dist-types/ts3.4/commands/UpdateServiceAttributesCommand.d.ts +7 -16
  96. package/dist-types/ts3.4/commands/UpdateServiceCommand.d.ts +7 -16
  97. package/dist-types/ts3.4/index.d.ts +1 -0
  98. package/package.json +8 -8
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, createPaginator } = 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");
@@ -68,7 +69,7 @@ const commonParams = {
68
69
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
69
70
  };
70
71
 
71
- var version = "3.1076.0";
72
+ var version = "3.1077.0";
72
73
  var packageInfo = {
73
74
  version: version};
74
75
 
@@ -1440,364 +1441,98 @@ class ServiceDiscoveryClient extends Client {
1440
1441
  }
1441
1442
  }
1442
1443
 
1443
- class CreateHttpNamespaceCommand extends Command
1444
- .classBuilder()
1445
- .ep(commonParams)
1446
- .m(function (Command, cs, config, o) {
1447
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1448
- })
1449
- .s("Route53AutoNaming_v20170314", "CreateHttpNamespace", {})
1450
- .n("ServiceDiscoveryClient", "CreateHttpNamespaceCommand")
1451
- .sc(CreateHttpNamespace$)
1452
- .build() {
1444
+ const command = makeBuilder(commonParams, "Route53AutoNaming_v20170314", "ServiceDiscoveryClient", getEndpointPlugin);
1445
+ const _ep0 = {};
1446
+ const _mw0 = (Command, cs, config, o) => [];
1447
+
1448
+ class CreateHttpNamespaceCommand extends command(_ep0, _mw0, "CreateHttpNamespace", CreateHttpNamespace$) {
1453
1449
  }
1454
1450
 
1455
- class CreatePrivateDnsNamespaceCommand extends Command
1456
- .classBuilder()
1457
- .ep(commonParams)
1458
- .m(function (Command, cs, config, o) {
1459
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1460
- })
1461
- .s("Route53AutoNaming_v20170314", "CreatePrivateDnsNamespace", {})
1462
- .n("ServiceDiscoveryClient", "CreatePrivateDnsNamespaceCommand")
1463
- .sc(CreatePrivateDnsNamespace$)
1464
- .build() {
1451
+ class CreatePrivateDnsNamespaceCommand extends command(_ep0, _mw0, "CreatePrivateDnsNamespace", CreatePrivateDnsNamespace$) {
1465
1452
  }
1466
1453
 
1467
- class CreatePublicDnsNamespaceCommand extends Command
1468
- .classBuilder()
1469
- .ep(commonParams)
1470
- .m(function (Command, cs, config, o) {
1471
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1472
- })
1473
- .s("Route53AutoNaming_v20170314", "CreatePublicDnsNamespace", {})
1474
- .n("ServiceDiscoveryClient", "CreatePublicDnsNamespaceCommand")
1475
- .sc(CreatePublicDnsNamespace$)
1476
- .build() {
1454
+ class CreatePublicDnsNamespaceCommand extends command(_ep0, _mw0, "CreatePublicDnsNamespace", CreatePublicDnsNamespace$) {
1477
1455
  }
1478
1456
 
1479
- class CreateServiceCommand extends Command
1480
- .classBuilder()
1481
- .ep(commonParams)
1482
- .m(function (Command, cs, config, o) {
1483
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1484
- })
1485
- .s("Route53AutoNaming_v20170314", "CreateService", {})
1486
- .n("ServiceDiscoveryClient", "CreateServiceCommand")
1487
- .sc(CreateService$)
1488
- .build() {
1457
+ class CreateServiceCommand extends command(_ep0, _mw0, "CreateService", CreateService$) {
1489
1458
  }
1490
1459
 
1491
- class DeleteNamespaceCommand extends Command
1492
- .classBuilder()
1493
- .ep(commonParams)
1494
- .m(function (Command, cs, config, o) {
1495
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1496
- })
1497
- .s("Route53AutoNaming_v20170314", "DeleteNamespace", {})
1498
- .n("ServiceDiscoveryClient", "DeleteNamespaceCommand")
1499
- .sc(DeleteNamespace$)
1500
- .build() {
1460
+ class DeleteNamespaceCommand extends command(_ep0, _mw0, "DeleteNamespace", DeleteNamespace$) {
1501
1461
  }
1502
1462
 
1503
- class DeleteServiceAttributesCommand extends Command
1504
- .classBuilder()
1505
- .ep(commonParams)
1506
- .m(function (Command, cs, config, o) {
1507
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1508
- })
1509
- .s("Route53AutoNaming_v20170314", "DeleteServiceAttributes", {})
1510
- .n("ServiceDiscoveryClient", "DeleteServiceAttributesCommand")
1511
- .sc(DeleteServiceAttributes$)
1512
- .build() {
1463
+ class DeleteServiceAttributesCommand extends command(_ep0, _mw0, "DeleteServiceAttributes", DeleteServiceAttributes$) {
1513
1464
  }
1514
1465
 
1515
- class DeleteServiceCommand extends Command
1516
- .classBuilder()
1517
- .ep(commonParams)
1518
- .m(function (Command, cs, config, o) {
1519
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1520
- })
1521
- .s("Route53AutoNaming_v20170314", "DeleteService", {})
1522
- .n("ServiceDiscoveryClient", "DeleteServiceCommand")
1523
- .sc(DeleteService$)
1524
- .build() {
1466
+ class DeleteServiceCommand extends command(_ep0, _mw0, "DeleteService", DeleteService$) {
1525
1467
  }
1526
1468
 
1527
- class DeregisterInstanceCommand extends Command
1528
- .classBuilder()
1529
- .ep(commonParams)
1530
- .m(function (Command, cs, config, o) {
1531
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1532
- })
1533
- .s("Route53AutoNaming_v20170314", "DeregisterInstance", {})
1534
- .n("ServiceDiscoveryClient", "DeregisterInstanceCommand")
1535
- .sc(DeregisterInstance$)
1536
- .build() {
1469
+ class DeregisterInstanceCommand extends command(_ep0, _mw0, "DeregisterInstance", DeregisterInstance$) {
1537
1470
  }
1538
1471
 
1539
- class DiscoverInstancesCommand extends Command
1540
- .classBuilder()
1541
- .ep(commonParams)
1542
- .m(function (Command, cs, config, o) {
1543
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1544
- })
1545
- .s("Route53AutoNaming_v20170314", "DiscoverInstances", {})
1546
- .n("ServiceDiscoveryClient", "DiscoverInstancesCommand")
1547
- .sc(DiscoverInstances$)
1548
- .build() {
1472
+ class DiscoverInstancesCommand extends command(_ep0, _mw0, "DiscoverInstances", DiscoverInstances$) {
1549
1473
  }
1550
1474
 
1551
- class DiscoverInstancesRevisionCommand extends Command
1552
- .classBuilder()
1553
- .ep(commonParams)
1554
- .m(function (Command, cs, config, o) {
1555
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1556
- })
1557
- .s("Route53AutoNaming_v20170314", "DiscoverInstancesRevision", {})
1558
- .n("ServiceDiscoveryClient", "DiscoverInstancesRevisionCommand")
1559
- .sc(DiscoverInstancesRevision$)
1560
- .build() {
1475
+ class DiscoverInstancesRevisionCommand extends command(_ep0, _mw0, "DiscoverInstancesRevision", DiscoverInstancesRevision$) {
1561
1476
  }
1562
1477
 
1563
- class GetInstanceCommand extends Command
1564
- .classBuilder()
1565
- .ep(commonParams)
1566
- .m(function (Command, cs, config, o) {
1567
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1568
- })
1569
- .s("Route53AutoNaming_v20170314", "GetInstance", {})
1570
- .n("ServiceDiscoveryClient", "GetInstanceCommand")
1571
- .sc(GetInstance$)
1572
- .build() {
1478
+ class GetInstanceCommand extends command(_ep0, _mw0, "GetInstance", GetInstance$) {
1573
1479
  }
1574
1480
 
1575
- class GetInstancesHealthStatusCommand extends Command
1576
- .classBuilder()
1577
- .ep(commonParams)
1578
- .m(function (Command, cs, config, o) {
1579
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1580
- })
1581
- .s("Route53AutoNaming_v20170314", "GetInstancesHealthStatus", {})
1582
- .n("ServiceDiscoveryClient", "GetInstancesHealthStatusCommand")
1583
- .sc(GetInstancesHealthStatus$)
1584
- .build() {
1481
+ class GetInstancesHealthStatusCommand extends command(_ep0, _mw0, "GetInstancesHealthStatus", GetInstancesHealthStatus$) {
1585
1482
  }
1586
1483
 
1587
- class GetNamespaceCommand extends Command
1588
- .classBuilder()
1589
- .ep(commonParams)
1590
- .m(function (Command, cs, config, o) {
1591
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1592
- })
1593
- .s("Route53AutoNaming_v20170314", "GetNamespace", {})
1594
- .n("ServiceDiscoveryClient", "GetNamespaceCommand")
1595
- .sc(GetNamespace$)
1596
- .build() {
1484
+ class GetNamespaceCommand extends command(_ep0, _mw0, "GetNamespace", GetNamespace$) {
1597
1485
  }
1598
1486
 
1599
- class GetOperationCommand extends Command
1600
- .classBuilder()
1601
- .ep(commonParams)
1602
- .m(function (Command, cs, config, o) {
1603
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1604
- })
1605
- .s("Route53AutoNaming_v20170314", "GetOperation", {})
1606
- .n("ServiceDiscoveryClient", "GetOperationCommand")
1607
- .sc(GetOperation$)
1608
- .build() {
1487
+ class GetOperationCommand extends command(_ep0, _mw0, "GetOperation", GetOperation$) {
1609
1488
  }
1610
1489
 
1611
- class GetServiceAttributesCommand extends Command
1612
- .classBuilder()
1613
- .ep(commonParams)
1614
- .m(function (Command, cs, config, o) {
1615
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1616
- })
1617
- .s("Route53AutoNaming_v20170314", "GetServiceAttributes", {})
1618
- .n("ServiceDiscoveryClient", "GetServiceAttributesCommand")
1619
- .sc(GetServiceAttributes$)
1620
- .build() {
1490
+ class GetServiceAttributesCommand extends command(_ep0, _mw0, "GetServiceAttributes", GetServiceAttributes$) {
1621
1491
  }
1622
1492
 
1623
- class GetServiceCommand extends Command
1624
- .classBuilder()
1625
- .ep(commonParams)
1626
- .m(function (Command, cs, config, o) {
1627
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1628
- })
1629
- .s("Route53AutoNaming_v20170314", "GetService", {})
1630
- .n("ServiceDiscoveryClient", "GetServiceCommand")
1631
- .sc(GetService$)
1632
- .build() {
1493
+ class GetServiceCommand extends command(_ep0, _mw0, "GetService", GetService$) {
1633
1494
  }
1634
1495
 
1635
- class ListInstancesCommand extends Command
1636
- .classBuilder()
1637
- .ep(commonParams)
1638
- .m(function (Command, cs, config, o) {
1639
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1640
- })
1641
- .s("Route53AutoNaming_v20170314", "ListInstances", {})
1642
- .n("ServiceDiscoveryClient", "ListInstancesCommand")
1643
- .sc(ListInstances$)
1644
- .build() {
1496
+ class ListInstancesCommand extends command(_ep0, _mw0, "ListInstances", ListInstances$) {
1645
1497
  }
1646
1498
 
1647
- class ListNamespacesCommand extends Command
1648
- .classBuilder()
1649
- .ep(commonParams)
1650
- .m(function (Command, cs, config, o) {
1651
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1652
- })
1653
- .s("Route53AutoNaming_v20170314", "ListNamespaces", {})
1654
- .n("ServiceDiscoveryClient", "ListNamespacesCommand")
1655
- .sc(ListNamespaces$)
1656
- .build() {
1499
+ class ListNamespacesCommand extends command(_ep0, _mw0, "ListNamespaces", ListNamespaces$) {
1657
1500
  }
1658
1501
 
1659
- class ListOperationsCommand extends Command
1660
- .classBuilder()
1661
- .ep(commonParams)
1662
- .m(function (Command, cs, config, o) {
1663
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1664
- })
1665
- .s("Route53AutoNaming_v20170314", "ListOperations", {})
1666
- .n("ServiceDiscoveryClient", "ListOperationsCommand")
1667
- .sc(ListOperations$)
1668
- .build() {
1502
+ class ListOperationsCommand extends command(_ep0, _mw0, "ListOperations", ListOperations$) {
1669
1503
  }
1670
1504
 
1671
- class ListServicesCommand extends Command
1672
- .classBuilder()
1673
- .ep(commonParams)
1674
- .m(function (Command, cs, config, o) {
1675
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1676
- })
1677
- .s("Route53AutoNaming_v20170314", "ListServices", {})
1678
- .n("ServiceDiscoveryClient", "ListServicesCommand")
1679
- .sc(ListServices$)
1680
- .build() {
1505
+ class ListServicesCommand extends command(_ep0, _mw0, "ListServices", ListServices$) {
1681
1506
  }
1682
1507
 
1683
- class ListTagsForResourceCommand extends Command
1684
- .classBuilder()
1685
- .ep(commonParams)
1686
- .m(function (Command, cs, config, o) {
1687
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1688
- })
1689
- .s("Route53AutoNaming_v20170314", "ListTagsForResource", {})
1690
- .n("ServiceDiscoveryClient", "ListTagsForResourceCommand")
1691
- .sc(ListTagsForResource$)
1692
- .build() {
1508
+ class ListTagsForResourceCommand extends command(_ep0, _mw0, "ListTagsForResource", ListTagsForResource$) {
1693
1509
  }
1694
1510
 
1695
- class RegisterInstanceCommand extends Command
1696
- .classBuilder()
1697
- .ep(commonParams)
1698
- .m(function (Command, cs, config, o) {
1699
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1700
- })
1701
- .s("Route53AutoNaming_v20170314", "RegisterInstance", {})
1702
- .n("ServiceDiscoveryClient", "RegisterInstanceCommand")
1703
- .sc(RegisterInstance$)
1704
- .build() {
1511
+ class RegisterInstanceCommand extends command(_ep0, _mw0, "RegisterInstance", RegisterInstance$) {
1705
1512
  }
1706
1513
 
1707
- class TagResourceCommand extends Command
1708
- .classBuilder()
1709
- .ep(commonParams)
1710
- .m(function (Command, cs, config, o) {
1711
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1712
- })
1713
- .s("Route53AutoNaming_v20170314", "TagResource", {})
1714
- .n("ServiceDiscoveryClient", "TagResourceCommand")
1715
- .sc(TagResource$)
1716
- .build() {
1514
+ class TagResourceCommand extends command(_ep0, _mw0, "TagResource", TagResource$) {
1717
1515
  }
1718
1516
 
1719
- class UntagResourceCommand extends Command
1720
- .classBuilder()
1721
- .ep(commonParams)
1722
- .m(function (Command, cs, config, o) {
1723
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1724
- })
1725
- .s("Route53AutoNaming_v20170314", "UntagResource", {})
1726
- .n("ServiceDiscoveryClient", "UntagResourceCommand")
1727
- .sc(UntagResource$)
1728
- .build() {
1517
+ class UntagResourceCommand extends command(_ep0, _mw0, "UntagResource", UntagResource$) {
1729
1518
  }
1730
1519
 
1731
- class UpdateHttpNamespaceCommand extends Command
1732
- .classBuilder()
1733
- .ep(commonParams)
1734
- .m(function (Command, cs, config, o) {
1735
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1736
- })
1737
- .s("Route53AutoNaming_v20170314", "UpdateHttpNamespace", {})
1738
- .n("ServiceDiscoveryClient", "UpdateHttpNamespaceCommand")
1739
- .sc(UpdateHttpNamespace$)
1740
- .build() {
1520
+ class UpdateHttpNamespaceCommand extends command(_ep0, _mw0, "UpdateHttpNamespace", UpdateHttpNamespace$) {
1741
1521
  }
1742
1522
 
1743
- class UpdateInstanceCustomHealthStatusCommand extends Command
1744
- .classBuilder()
1745
- .ep(commonParams)
1746
- .m(function (Command, cs, config, o) {
1747
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1748
- })
1749
- .s("Route53AutoNaming_v20170314", "UpdateInstanceCustomHealthStatus", {})
1750
- .n("ServiceDiscoveryClient", "UpdateInstanceCustomHealthStatusCommand")
1751
- .sc(UpdateInstanceCustomHealthStatus$)
1752
- .build() {
1523
+ class UpdateInstanceCustomHealthStatusCommand extends command(_ep0, _mw0, "UpdateInstanceCustomHealthStatus", UpdateInstanceCustomHealthStatus$) {
1753
1524
  }
1754
1525
 
1755
- class UpdatePrivateDnsNamespaceCommand extends Command
1756
- .classBuilder()
1757
- .ep(commonParams)
1758
- .m(function (Command, cs, config, o) {
1759
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1760
- })
1761
- .s("Route53AutoNaming_v20170314", "UpdatePrivateDnsNamespace", {})
1762
- .n("ServiceDiscoveryClient", "UpdatePrivateDnsNamespaceCommand")
1763
- .sc(UpdatePrivateDnsNamespace$)
1764
- .build() {
1526
+ class UpdatePrivateDnsNamespaceCommand extends command(_ep0, _mw0, "UpdatePrivateDnsNamespace", UpdatePrivateDnsNamespace$) {
1765
1527
  }
1766
1528
 
1767
- class UpdatePublicDnsNamespaceCommand extends Command
1768
- .classBuilder()
1769
- .ep(commonParams)
1770
- .m(function (Command, cs, config, o) {
1771
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1772
- })
1773
- .s("Route53AutoNaming_v20170314", "UpdatePublicDnsNamespace", {})
1774
- .n("ServiceDiscoveryClient", "UpdatePublicDnsNamespaceCommand")
1775
- .sc(UpdatePublicDnsNamespace$)
1776
- .build() {
1529
+ class UpdatePublicDnsNamespaceCommand extends command(_ep0, _mw0, "UpdatePublicDnsNamespace", UpdatePublicDnsNamespace$) {
1777
1530
  }
1778
1531
 
1779
- class UpdateServiceAttributesCommand extends Command
1780
- .classBuilder()
1781
- .ep(commonParams)
1782
- .m(function (Command, cs, config, o) {
1783
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1784
- })
1785
- .s("Route53AutoNaming_v20170314", "UpdateServiceAttributes", {})
1786
- .n("ServiceDiscoveryClient", "UpdateServiceAttributesCommand")
1787
- .sc(UpdateServiceAttributes$)
1788
- .build() {
1532
+ class UpdateServiceAttributesCommand extends command(_ep0, _mw0, "UpdateServiceAttributes", UpdateServiceAttributes$) {
1789
1533
  }
1790
1534
 
1791
- class UpdateServiceCommand extends Command
1792
- .classBuilder()
1793
- .ep(commonParams)
1794
- .m(function (Command, cs, config, o) {
1795
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1796
- })
1797
- .s("Route53AutoNaming_v20170314", "UpdateService", {})
1798
- .n("ServiceDiscoveryClient", "UpdateServiceCommand")
1799
- .sc(UpdateService$)
1800
- .build() {
1535
+ class UpdateServiceCommand extends command(_ep0, _mw0, "UpdateService", UpdateService$) {
1801
1536
  }
1802
1537
 
1803
1538
  const paginateGetInstancesHealthStatus = createPaginator(ServiceDiscoveryClient, GetInstancesHealthStatusCommand, "NextToken", "NextToken", "MaxResults");
@@ -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, "Route53AutoNaming_v20170314", "ServiceDiscoveryClient", 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 { CreateHttpNamespace$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class CreateHttpNamespaceCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("Route53AutoNaming_v20170314", "CreateHttpNamespace", {})
13
- .n("ServiceDiscoveryClient", "CreateHttpNamespaceCommand")
14
- .sc(CreateHttpNamespace$)
15
- .build() {
3
+ export class CreateHttpNamespaceCommand extends command(_ep0, _mw0, "CreateHttpNamespace", CreateHttpNamespace$) {
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 { CreatePrivateDnsNamespace$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class CreatePrivateDnsNamespaceCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("Route53AutoNaming_v20170314", "CreatePrivateDnsNamespace", {})
13
- .n("ServiceDiscoveryClient", "CreatePrivateDnsNamespaceCommand")
14
- .sc(CreatePrivateDnsNamespace$)
15
- .build() {
3
+ export class CreatePrivateDnsNamespaceCommand extends command(_ep0, _mw0, "CreatePrivateDnsNamespace", CreatePrivateDnsNamespace$) {
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 { CreatePublicDnsNamespace$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class CreatePublicDnsNamespaceCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("Route53AutoNaming_v20170314", "CreatePublicDnsNamespace", {})
13
- .n("ServiceDiscoveryClient", "CreatePublicDnsNamespaceCommand")
14
- .sc(CreatePublicDnsNamespace$)
15
- .build() {
3
+ export class CreatePublicDnsNamespaceCommand extends command(_ep0, _mw0, "CreatePublicDnsNamespace", CreatePublicDnsNamespace$) {
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 { CreateService$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class CreateServiceCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("Route53AutoNaming_v20170314", "CreateService", {})
13
- .n("ServiceDiscoveryClient", "CreateServiceCommand")
14
- .sc(CreateService$)
15
- .build() {
3
+ export class CreateServiceCommand extends command(_ep0, _mw0, "CreateService", CreateService$) {
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 { DeleteNamespace$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DeleteNamespaceCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("Route53AutoNaming_v20170314", "DeleteNamespace", {})
13
- .n("ServiceDiscoveryClient", "DeleteNamespaceCommand")
14
- .sc(DeleteNamespace$)
15
- .build() {
3
+ export class DeleteNamespaceCommand extends command(_ep0, _mw0, "DeleteNamespace", DeleteNamespace$) {
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 { DeleteServiceAttributes$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DeleteServiceAttributesCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("Route53AutoNaming_v20170314", "DeleteServiceAttributes", {})
13
- .n("ServiceDiscoveryClient", "DeleteServiceAttributesCommand")
14
- .sc(DeleteServiceAttributes$)
15
- .build() {
3
+ export class DeleteServiceAttributesCommand extends command(_ep0, _mw0, "DeleteServiceAttributes", DeleteServiceAttributes$) {
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 { DeleteService$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DeleteServiceCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("Route53AutoNaming_v20170314", "DeleteService", {})
13
- .n("ServiceDiscoveryClient", "DeleteServiceCommand")
14
- .sc(DeleteService$)
15
- .build() {
3
+ export class DeleteServiceCommand extends command(_ep0, _mw0, "DeleteService", DeleteService$) {
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 { DeregisterInstance$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DeregisterInstanceCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("Route53AutoNaming_v20170314", "DeregisterInstance", {})
13
- .n("ServiceDiscoveryClient", "DeregisterInstanceCommand")
14
- .sc(DeregisterInstance$)
15
- .build() {
3
+ export class DeregisterInstanceCommand extends command(_ep0, _mw0, "DeregisterInstance", DeregisterInstance$) {
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 { DiscoverInstances$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DiscoverInstancesCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("Route53AutoNaming_v20170314", "DiscoverInstances", {})
13
- .n("ServiceDiscoveryClient", "DiscoverInstancesCommand")
14
- .sc(DiscoverInstances$)
15
- .build() {
3
+ export class DiscoverInstancesCommand extends command(_ep0, _mw0, "DiscoverInstances", DiscoverInstances$) {
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 { DiscoverInstancesRevision$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DiscoverInstancesRevisionCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("Route53AutoNaming_v20170314", "DiscoverInstancesRevision", {})
13
- .n("ServiceDiscoveryClient", "DiscoverInstancesRevisionCommand")
14
- .sc(DiscoverInstancesRevision$)
15
- .build() {
3
+ export class DiscoverInstancesRevisionCommand extends command(_ep0, _mw0, "DiscoverInstancesRevision", DiscoverInstancesRevision$) {
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 { GetInstance$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class GetInstanceCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("Route53AutoNaming_v20170314", "GetInstance", {})
13
- .n("ServiceDiscoveryClient", "GetInstanceCommand")
14
- .sc(GetInstance$)
15
- .build() {
3
+ export class GetInstanceCommand extends command(_ep0, _mw0, "GetInstance", GetInstance$) {
16
4
  }