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