@aws-sdk/client-lex-model-building-service 3.1077.0 → 3.1079.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 (134) hide show
  1. package/dist-cjs/index.js +50 -423
  2. package/dist-es/commandBuilder.js +6 -0
  3. package/dist-es/commands/CreateBotVersionCommand.js +2 -14
  4. package/dist-es/commands/CreateIntentVersionCommand.js +2 -14
  5. package/dist-es/commands/CreateSlotTypeVersionCommand.js +2 -14
  6. package/dist-es/commands/DeleteBotAliasCommand.js +2 -14
  7. package/dist-es/commands/DeleteBotChannelAssociationCommand.js +2 -14
  8. package/dist-es/commands/DeleteBotCommand.js +2 -14
  9. package/dist-es/commands/DeleteBotVersionCommand.js +2 -14
  10. package/dist-es/commands/DeleteIntentCommand.js +2 -14
  11. package/dist-es/commands/DeleteIntentVersionCommand.js +2 -14
  12. package/dist-es/commands/DeleteSlotTypeCommand.js +2 -14
  13. package/dist-es/commands/DeleteSlotTypeVersionCommand.js +2 -14
  14. package/dist-es/commands/DeleteUtterancesCommand.js +2 -14
  15. package/dist-es/commands/GetBotAliasCommand.js +2 -14
  16. package/dist-es/commands/GetBotAliasesCommand.js +2 -14
  17. package/dist-es/commands/GetBotChannelAssociationCommand.js +2 -14
  18. package/dist-es/commands/GetBotChannelAssociationsCommand.js +2 -14
  19. package/dist-es/commands/GetBotCommand.js +2 -14
  20. package/dist-es/commands/GetBotVersionsCommand.js +2 -14
  21. package/dist-es/commands/GetBotsCommand.js +2 -14
  22. package/dist-es/commands/GetBuiltinIntentCommand.js +2 -14
  23. package/dist-es/commands/GetBuiltinIntentsCommand.js +2 -14
  24. package/dist-es/commands/GetBuiltinSlotTypesCommand.js +2 -14
  25. package/dist-es/commands/GetExportCommand.js +2 -14
  26. package/dist-es/commands/GetImportCommand.js +2 -14
  27. package/dist-es/commands/GetIntentCommand.js +2 -14
  28. package/dist-es/commands/GetIntentVersionsCommand.js +2 -14
  29. package/dist-es/commands/GetIntentsCommand.js +2 -14
  30. package/dist-es/commands/GetMigrationCommand.js +2 -14
  31. package/dist-es/commands/GetMigrationsCommand.js +2 -14
  32. package/dist-es/commands/GetSlotTypeCommand.js +2 -14
  33. package/dist-es/commands/GetSlotTypeVersionsCommand.js +2 -14
  34. package/dist-es/commands/GetSlotTypesCommand.js +2 -14
  35. package/dist-es/commands/GetUtterancesViewCommand.js +2 -14
  36. package/dist-es/commands/ListTagsForResourceCommand.js +2 -14
  37. package/dist-es/commands/PutBotAliasCommand.js +2 -14
  38. package/dist-es/commands/PutBotCommand.js +2 -14
  39. package/dist-es/commands/PutIntentCommand.js +2 -14
  40. package/dist-es/commands/PutSlotTypeCommand.js +2 -14
  41. package/dist-es/commands/StartImportCommand.js +2 -14
  42. package/dist-es/commands/StartMigrationCommand.js +2 -14
  43. package/dist-es/commands/TagResourceCommand.js +2 -14
  44. package/dist-es/commands/UntagResourceCommand.js +2 -14
  45. package/dist-es/index.js +1 -0
  46. package/dist-types/commandBuilder.d.ts +18 -0
  47. package/dist-types/commands/CreateBotVersionCommand.d.ts +3 -8
  48. package/dist-types/commands/CreateIntentVersionCommand.d.ts +3 -8
  49. package/dist-types/commands/CreateSlotTypeVersionCommand.d.ts +3 -8
  50. package/dist-types/commands/DeleteBotAliasCommand.d.ts +3 -8
  51. package/dist-types/commands/DeleteBotChannelAssociationCommand.d.ts +3 -8
  52. package/dist-types/commands/DeleteBotCommand.d.ts +3 -8
  53. package/dist-types/commands/DeleteBotVersionCommand.d.ts +3 -8
  54. package/dist-types/commands/DeleteIntentCommand.d.ts +3 -8
  55. package/dist-types/commands/DeleteIntentVersionCommand.d.ts +3 -8
  56. package/dist-types/commands/DeleteSlotTypeCommand.d.ts +3 -8
  57. package/dist-types/commands/DeleteSlotTypeVersionCommand.d.ts +3 -8
  58. package/dist-types/commands/DeleteUtterancesCommand.d.ts +3 -8
  59. package/dist-types/commands/GetBotAliasCommand.d.ts +3 -8
  60. package/dist-types/commands/GetBotAliasesCommand.d.ts +3 -8
  61. package/dist-types/commands/GetBotChannelAssociationCommand.d.ts +3 -8
  62. package/dist-types/commands/GetBotChannelAssociationsCommand.d.ts +3 -8
  63. package/dist-types/commands/GetBotCommand.d.ts +3 -8
  64. package/dist-types/commands/GetBotVersionsCommand.d.ts +3 -8
  65. package/dist-types/commands/GetBotsCommand.d.ts +3 -8
  66. package/dist-types/commands/GetBuiltinIntentCommand.d.ts +3 -8
  67. package/dist-types/commands/GetBuiltinIntentsCommand.d.ts +3 -8
  68. package/dist-types/commands/GetBuiltinSlotTypesCommand.d.ts +3 -8
  69. package/dist-types/commands/GetExportCommand.d.ts +3 -8
  70. package/dist-types/commands/GetImportCommand.d.ts +3 -8
  71. package/dist-types/commands/GetIntentCommand.d.ts +3 -8
  72. package/dist-types/commands/GetIntentVersionsCommand.d.ts +3 -8
  73. package/dist-types/commands/GetIntentsCommand.d.ts +3 -8
  74. package/dist-types/commands/GetMigrationCommand.d.ts +3 -8
  75. package/dist-types/commands/GetMigrationsCommand.d.ts +3 -8
  76. package/dist-types/commands/GetSlotTypeCommand.d.ts +3 -8
  77. package/dist-types/commands/GetSlotTypeVersionsCommand.d.ts +3 -8
  78. package/dist-types/commands/GetSlotTypesCommand.d.ts +3 -8
  79. package/dist-types/commands/GetUtterancesViewCommand.d.ts +3 -8
  80. package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -8
  81. package/dist-types/commands/PutBotAliasCommand.d.ts +3 -8
  82. package/dist-types/commands/PutBotCommand.d.ts +3 -8
  83. package/dist-types/commands/PutIntentCommand.d.ts +3 -8
  84. package/dist-types/commands/PutSlotTypeCommand.d.ts +3 -8
  85. package/dist-types/commands/StartImportCommand.d.ts +3 -8
  86. package/dist-types/commands/StartMigrationCommand.d.ts +3 -8
  87. package/dist-types/commands/TagResourceCommand.d.ts +3 -8
  88. package/dist-types/commands/UntagResourceCommand.d.ts +3 -8
  89. package/dist-types/index.d.ts +1 -0
  90. package/dist-types/ts3.4/commandBuilder.d.ts +46 -0
  91. package/dist-types/ts3.4/commands/CreateBotVersionCommand.d.ts +7 -16
  92. package/dist-types/ts3.4/commands/CreateIntentVersionCommand.d.ts +7 -16
  93. package/dist-types/ts3.4/commands/CreateSlotTypeVersionCommand.d.ts +7 -16
  94. package/dist-types/ts3.4/commands/DeleteBotAliasCommand.d.ts +7 -16
  95. package/dist-types/ts3.4/commands/DeleteBotChannelAssociationCommand.d.ts +7 -16
  96. package/dist-types/ts3.4/commands/DeleteBotCommand.d.ts +7 -16
  97. package/dist-types/ts3.4/commands/DeleteBotVersionCommand.d.ts +7 -16
  98. package/dist-types/ts3.4/commands/DeleteIntentCommand.d.ts +7 -16
  99. package/dist-types/ts3.4/commands/DeleteIntentVersionCommand.d.ts +7 -16
  100. package/dist-types/ts3.4/commands/DeleteSlotTypeCommand.d.ts +7 -16
  101. package/dist-types/ts3.4/commands/DeleteSlotTypeVersionCommand.d.ts +7 -16
  102. package/dist-types/ts3.4/commands/DeleteUtterancesCommand.d.ts +7 -16
  103. package/dist-types/ts3.4/commands/GetBotAliasCommand.d.ts +7 -16
  104. package/dist-types/ts3.4/commands/GetBotAliasesCommand.d.ts +7 -16
  105. package/dist-types/ts3.4/commands/GetBotChannelAssociationCommand.d.ts +7 -16
  106. package/dist-types/ts3.4/commands/GetBotChannelAssociationsCommand.d.ts +7 -16
  107. package/dist-types/ts3.4/commands/GetBotCommand.d.ts +7 -16
  108. package/dist-types/ts3.4/commands/GetBotVersionsCommand.d.ts +7 -16
  109. package/dist-types/ts3.4/commands/GetBotsCommand.d.ts +7 -16
  110. package/dist-types/ts3.4/commands/GetBuiltinIntentCommand.d.ts +7 -16
  111. package/dist-types/ts3.4/commands/GetBuiltinIntentsCommand.d.ts +7 -16
  112. package/dist-types/ts3.4/commands/GetBuiltinSlotTypesCommand.d.ts +7 -16
  113. package/dist-types/ts3.4/commands/GetExportCommand.d.ts +7 -16
  114. package/dist-types/ts3.4/commands/GetImportCommand.d.ts +7 -16
  115. package/dist-types/ts3.4/commands/GetIntentCommand.d.ts +7 -16
  116. package/dist-types/ts3.4/commands/GetIntentVersionsCommand.d.ts +7 -16
  117. package/dist-types/ts3.4/commands/GetIntentsCommand.d.ts +7 -16
  118. package/dist-types/ts3.4/commands/GetMigrationCommand.d.ts +7 -16
  119. package/dist-types/ts3.4/commands/GetMigrationsCommand.d.ts +7 -16
  120. package/dist-types/ts3.4/commands/GetSlotTypeCommand.d.ts +7 -16
  121. package/dist-types/ts3.4/commands/GetSlotTypeVersionsCommand.d.ts +7 -16
  122. package/dist-types/ts3.4/commands/GetSlotTypesCommand.d.ts +7 -16
  123. package/dist-types/ts3.4/commands/GetUtterancesViewCommand.d.ts +7 -16
  124. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +7 -16
  125. package/dist-types/ts3.4/commands/PutBotAliasCommand.d.ts +7 -16
  126. package/dist-types/ts3.4/commands/PutBotCommand.d.ts +7 -16
  127. package/dist-types/ts3.4/commands/PutIntentCommand.d.ts +7 -16
  128. package/dist-types/ts3.4/commands/PutSlotTypeCommand.d.ts +7 -16
  129. package/dist-types/ts3.4/commands/StartImportCommand.d.ts +7 -16
  130. package/dist-types/ts3.4/commands/StartMigrationCommand.d.ts +7 -16
  131. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +7 -16
  132. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +7 -16
  133. package/dist-types/ts3.4/index.d.ts +1 -0
  134. 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.1078.0";
72
73
  var packageInfo = {
73
74
  version: version};
74
75
 
@@ -1523,508 +1524,134 @@ class LexModelBuildingServiceClient extends Client {
1523
1524
  }
1524
1525
  }
1525
1526
 
1526
- class CreateBotVersionCommand extends Command
1527
- .classBuilder()
1528
- .ep(commonParams)
1529
- .m(function (Command, cs, config, o) {
1530
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1531
- })
1532
- .s("AWSDeepSenseModelBuildingService", "CreateBotVersion", {})
1533
- .n("LexModelBuildingServiceClient", "CreateBotVersionCommand")
1534
- .sc(CreateBotVersion$)
1535
- .build() {
1527
+ const command = makeBuilder(commonParams, "AWSDeepSenseModelBuildingService", "LexModelBuildingServiceClient", getEndpointPlugin);
1528
+ const _ep0 = {};
1529
+ const _mw0 = (Command, cs, config, o) => [];
1530
+
1531
+ class CreateBotVersionCommand extends command(_ep0, _mw0, "CreateBotVersion", CreateBotVersion$) {
1536
1532
  }
1537
1533
 
1538
- class CreateIntentVersionCommand extends Command
1539
- .classBuilder()
1540
- .ep(commonParams)
1541
- .m(function (Command, cs, config, o) {
1542
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1543
- })
1544
- .s("AWSDeepSenseModelBuildingService", "CreateIntentVersion", {})
1545
- .n("LexModelBuildingServiceClient", "CreateIntentVersionCommand")
1546
- .sc(CreateIntentVersion$)
1547
- .build() {
1534
+ class CreateIntentVersionCommand extends command(_ep0, _mw0, "CreateIntentVersion", CreateIntentVersion$) {
1548
1535
  }
1549
1536
 
1550
- class CreateSlotTypeVersionCommand extends Command
1551
- .classBuilder()
1552
- .ep(commonParams)
1553
- .m(function (Command, cs, config, o) {
1554
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1555
- })
1556
- .s("AWSDeepSenseModelBuildingService", "CreateSlotTypeVersion", {})
1557
- .n("LexModelBuildingServiceClient", "CreateSlotTypeVersionCommand")
1558
- .sc(CreateSlotTypeVersion$)
1559
- .build() {
1537
+ class CreateSlotTypeVersionCommand extends command(_ep0, _mw0, "CreateSlotTypeVersion", CreateSlotTypeVersion$) {
1560
1538
  }
1561
1539
 
1562
- class DeleteBotAliasCommand extends Command
1563
- .classBuilder()
1564
- .ep(commonParams)
1565
- .m(function (Command, cs, config, o) {
1566
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1567
- })
1568
- .s("AWSDeepSenseModelBuildingService", "DeleteBotAlias", {})
1569
- .n("LexModelBuildingServiceClient", "DeleteBotAliasCommand")
1570
- .sc(DeleteBotAlias$)
1571
- .build() {
1540
+ class DeleteBotAliasCommand extends command(_ep0, _mw0, "DeleteBotAlias", DeleteBotAlias$) {
1572
1541
  }
1573
1542
 
1574
- class DeleteBotChannelAssociationCommand extends Command
1575
- .classBuilder()
1576
- .ep(commonParams)
1577
- .m(function (Command, cs, config, o) {
1578
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1579
- })
1580
- .s("AWSDeepSenseModelBuildingService", "DeleteBotChannelAssociation", {})
1581
- .n("LexModelBuildingServiceClient", "DeleteBotChannelAssociationCommand")
1582
- .sc(DeleteBotChannelAssociation$)
1583
- .build() {
1543
+ class DeleteBotChannelAssociationCommand extends command(_ep0, _mw0, "DeleteBotChannelAssociation", DeleteBotChannelAssociation$) {
1584
1544
  }
1585
1545
 
1586
- class DeleteBotCommand extends Command
1587
- .classBuilder()
1588
- .ep(commonParams)
1589
- .m(function (Command, cs, config, o) {
1590
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1591
- })
1592
- .s("AWSDeepSenseModelBuildingService", "DeleteBot", {})
1593
- .n("LexModelBuildingServiceClient", "DeleteBotCommand")
1594
- .sc(DeleteBot$)
1595
- .build() {
1546
+ class DeleteBotCommand extends command(_ep0, _mw0, "DeleteBot", DeleteBot$) {
1596
1547
  }
1597
1548
 
1598
- class DeleteBotVersionCommand extends Command
1599
- .classBuilder()
1600
- .ep(commonParams)
1601
- .m(function (Command, cs, config, o) {
1602
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1603
- })
1604
- .s("AWSDeepSenseModelBuildingService", "DeleteBotVersion", {})
1605
- .n("LexModelBuildingServiceClient", "DeleteBotVersionCommand")
1606
- .sc(DeleteBotVersion$)
1607
- .build() {
1549
+ class DeleteBotVersionCommand extends command(_ep0, _mw0, "DeleteBotVersion", DeleteBotVersion$) {
1608
1550
  }
1609
1551
 
1610
- class DeleteIntentCommand extends Command
1611
- .classBuilder()
1612
- .ep(commonParams)
1613
- .m(function (Command, cs, config, o) {
1614
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1615
- })
1616
- .s("AWSDeepSenseModelBuildingService", "DeleteIntent", {})
1617
- .n("LexModelBuildingServiceClient", "DeleteIntentCommand")
1618
- .sc(DeleteIntent$)
1619
- .build() {
1552
+ class DeleteIntentCommand extends command(_ep0, _mw0, "DeleteIntent", DeleteIntent$) {
1620
1553
  }
1621
1554
 
1622
- class DeleteIntentVersionCommand extends Command
1623
- .classBuilder()
1624
- .ep(commonParams)
1625
- .m(function (Command, cs, config, o) {
1626
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1627
- })
1628
- .s("AWSDeepSenseModelBuildingService", "DeleteIntentVersion", {})
1629
- .n("LexModelBuildingServiceClient", "DeleteIntentVersionCommand")
1630
- .sc(DeleteIntentVersion$)
1631
- .build() {
1555
+ class DeleteIntentVersionCommand extends command(_ep0, _mw0, "DeleteIntentVersion", DeleteIntentVersion$) {
1632
1556
  }
1633
1557
 
1634
- class DeleteSlotTypeCommand extends Command
1635
- .classBuilder()
1636
- .ep(commonParams)
1637
- .m(function (Command, cs, config, o) {
1638
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1639
- })
1640
- .s("AWSDeepSenseModelBuildingService", "DeleteSlotType", {})
1641
- .n("LexModelBuildingServiceClient", "DeleteSlotTypeCommand")
1642
- .sc(DeleteSlotType$)
1643
- .build() {
1558
+ class DeleteSlotTypeCommand extends command(_ep0, _mw0, "DeleteSlotType", DeleteSlotType$) {
1644
1559
  }
1645
1560
 
1646
- class DeleteSlotTypeVersionCommand extends Command
1647
- .classBuilder()
1648
- .ep(commonParams)
1649
- .m(function (Command, cs, config, o) {
1650
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1651
- })
1652
- .s("AWSDeepSenseModelBuildingService", "DeleteSlotTypeVersion", {})
1653
- .n("LexModelBuildingServiceClient", "DeleteSlotTypeVersionCommand")
1654
- .sc(DeleteSlotTypeVersion$)
1655
- .build() {
1561
+ class DeleteSlotTypeVersionCommand extends command(_ep0, _mw0, "DeleteSlotTypeVersion", DeleteSlotTypeVersion$) {
1656
1562
  }
1657
1563
 
1658
- class DeleteUtterancesCommand extends Command
1659
- .classBuilder()
1660
- .ep(commonParams)
1661
- .m(function (Command, cs, config, o) {
1662
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1663
- })
1664
- .s("AWSDeepSenseModelBuildingService", "DeleteUtterances", {})
1665
- .n("LexModelBuildingServiceClient", "DeleteUtterancesCommand")
1666
- .sc(DeleteUtterances$)
1667
- .build() {
1564
+ class DeleteUtterancesCommand extends command(_ep0, _mw0, "DeleteUtterances", DeleteUtterances$) {
1668
1565
  }
1669
1566
 
1670
- class GetBotAliasCommand extends Command
1671
- .classBuilder()
1672
- .ep(commonParams)
1673
- .m(function (Command, cs, config, o) {
1674
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1675
- })
1676
- .s("AWSDeepSenseModelBuildingService", "GetBotAlias", {})
1677
- .n("LexModelBuildingServiceClient", "GetBotAliasCommand")
1678
- .sc(GetBotAlias$)
1679
- .build() {
1567
+ class GetBotAliasCommand extends command(_ep0, _mw0, "GetBotAlias", GetBotAlias$) {
1680
1568
  }
1681
1569
 
1682
- class GetBotAliasesCommand extends Command
1683
- .classBuilder()
1684
- .ep(commonParams)
1685
- .m(function (Command, cs, config, o) {
1686
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1687
- })
1688
- .s("AWSDeepSenseModelBuildingService", "GetBotAliases", {})
1689
- .n("LexModelBuildingServiceClient", "GetBotAliasesCommand")
1690
- .sc(GetBotAliases$)
1691
- .build() {
1570
+ class GetBotAliasesCommand extends command(_ep0, _mw0, "GetBotAliases", GetBotAliases$) {
1692
1571
  }
1693
1572
 
1694
- class GetBotChannelAssociationCommand extends Command
1695
- .classBuilder()
1696
- .ep(commonParams)
1697
- .m(function (Command, cs, config, o) {
1698
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1699
- })
1700
- .s("AWSDeepSenseModelBuildingService", "GetBotChannelAssociation", {})
1701
- .n("LexModelBuildingServiceClient", "GetBotChannelAssociationCommand")
1702
- .sc(GetBotChannelAssociation$)
1703
- .build() {
1573
+ class GetBotChannelAssociationCommand extends command(_ep0, _mw0, "GetBotChannelAssociation", GetBotChannelAssociation$) {
1704
1574
  }
1705
1575
 
1706
- class GetBotChannelAssociationsCommand extends Command
1707
- .classBuilder()
1708
- .ep(commonParams)
1709
- .m(function (Command, cs, config, o) {
1710
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1711
- })
1712
- .s("AWSDeepSenseModelBuildingService", "GetBotChannelAssociations", {})
1713
- .n("LexModelBuildingServiceClient", "GetBotChannelAssociationsCommand")
1714
- .sc(GetBotChannelAssociations$)
1715
- .build() {
1576
+ class GetBotChannelAssociationsCommand extends command(_ep0, _mw0, "GetBotChannelAssociations", GetBotChannelAssociations$) {
1716
1577
  }
1717
1578
 
1718
- class GetBotCommand extends Command
1719
- .classBuilder()
1720
- .ep(commonParams)
1721
- .m(function (Command, cs, config, o) {
1722
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1723
- })
1724
- .s("AWSDeepSenseModelBuildingService", "GetBot", {})
1725
- .n("LexModelBuildingServiceClient", "GetBotCommand")
1726
- .sc(GetBot$)
1727
- .build() {
1579
+ class GetBotCommand extends command(_ep0, _mw0, "GetBot", GetBot$) {
1728
1580
  }
1729
1581
 
1730
- class GetBotsCommand extends Command
1731
- .classBuilder()
1732
- .ep(commonParams)
1733
- .m(function (Command, cs, config, o) {
1734
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1735
- })
1736
- .s("AWSDeepSenseModelBuildingService", "GetBots", {})
1737
- .n("LexModelBuildingServiceClient", "GetBotsCommand")
1738
- .sc(GetBots$)
1739
- .build() {
1582
+ class GetBotsCommand extends command(_ep0, _mw0, "GetBots", GetBots$) {
1740
1583
  }
1741
1584
 
1742
- class GetBotVersionsCommand extends Command
1743
- .classBuilder()
1744
- .ep(commonParams)
1745
- .m(function (Command, cs, config, o) {
1746
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1747
- })
1748
- .s("AWSDeepSenseModelBuildingService", "GetBotVersions", {})
1749
- .n("LexModelBuildingServiceClient", "GetBotVersionsCommand")
1750
- .sc(GetBotVersions$)
1751
- .build() {
1585
+ class GetBotVersionsCommand extends command(_ep0, _mw0, "GetBotVersions", GetBotVersions$) {
1752
1586
  }
1753
1587
 
1754
- class GetBuiltinIntentCommand extends Command
1755
- .classBuilder()
1756
- .ep(commonParams)
1757
- .m(function (Command, cs, config, o) {
1758
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1759
- })
1760
- .s("AWSDeepSenseModelBuildingService", "GetBuiltinIntent", {})
1761
- .n("LexModelBuildingServiceClient", "GetBuiltinIntentCommand")
1762
- .sc(GetBuiltinIntent$)
1763
- .build() {
1588
+ class GetBuiltinIntentCommand extends command(_ep0, _mw0, "GetBuiltinIntent", GetBuiltinIntent$) {
1764
1589
  }
1765
1590
 
1766
- class GetBuiltinIntentsCommand extends Command
1767
- .classBuilder()
1768
- .ep(commonParams)
1769
- .m(function (Command, cs, config, o) {
1770
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1771
- })
1772
- .s("AWSDeepSenseModelBuildingService", "GetBuiltinIntents", {})
1773
- .n("LexModelBuildingServiceClient", "GetBuiltinIntentsCommand")
1774
- .sc(GetBuiltinIntents$)
1775
- .build() {
1591
+ class GetBuiltinIntentsCommand extends command(_ep0, _mw0, "GetBuiltinIntents", GetBuiltinIntents$) {
1776
1592
  }
1777
1593
 
1778
- class GetBuiltinSlotTypesCommand extends Command
1779
- .classBuilder()
1780
- .ep(commonParams)
1781
- .m(function (Command, cs, config, o) {
1782
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1783
- })
1784
- .s("AWSDeepSenseModelBuildingService", "GetBuiltinSlotTypes", {})
1785
- .n("LexModelBuildingServiceClient", "GetBuiltinSlotTypesCommand")
1786
- .sc(GetBuiltinSlotTypes$)
1787
- .build() {
1594
+ class GetBuiltinSlotTypesCommand extends command(_ep0, _mw0, "GetBuiltinSlotTypes", GetBuiltinSlotTypes$) {
1788
1595
  }
1789
1596
 
1790
- class GetExportCommand extends Command
1791
- .classBuilder()
1792
- .ep(commonParams)
1793
- .m(function (Command, cs, config, o) {
1794
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1795
- })
1796
- .s("AWSDeepSenseModelBuildingService", "GetExport", {})
1797
- .n("LexModelBuildingServiceClient", "GetExportCommand")
1798
- .sc(GetExport$)
1799
- .build() {
1597
+ class GetExportCommand extends command(_ep0, _mw0, "GetExport", GetExport$) {
1800
1598
  }
1801
1599
 
1802
- class GetImportCommand extends Command
1803
- .classBuilder()
1804
- .ep(commonParams)
1805
- .m(function (Command, cs, config, o) {
1806
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1807
- })
1808
- .s("AWSDeepSenseModelBuildingService", "GetImport", {})
1809
- .n("LexModelBuildingServiceClient", "GetImportCommand")
1810
- .sc(GetImport$)
1811
- .build() {
1600
+ class GetImportCommand extends command(_ep0, _mw0, "GetImport", GetImport$) {
1812
1601
  }
1813
1602
 
1814
- class GetIntentCommand extends Command
1815
- .classBuilder()
1816
- .ep(commonParams)
1817
- .m(function (Command, cs, config, o) {
1818
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1819
- })
1820
- .s("AWSDeepSenseModelBuildingService", "GetIntent", {})
1821
- .n("LexModelBuildingServiceClient", "GetIntentCommand")
1822
- .sc(GetIntent$)
1823
- .build() {
1603
+ class GetIntentCommand extends command(_ep0, _mw0, "GetIntent", GetIntent$) {
1824
1604
  }
1825
1605
 
1826
- class GetIntentsCommand extends Command
1827
- .classBuilder()
1828
- .ep(commonParams)
1829
- .m(function (Command, cs, config, o) {
1830
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1831
- })
1832
- .s("AWSDeepSenseModelBuildingService", "GetIntents", {})
1833
- .n("LexModelBuildingServiceClient", "GetIntentsCommand")
1834
- .sc(GetIntents$)
1835
- .build() {
1606
+ class GetIntentsCommand extends command(_ep0, _mw0, "GetIntents", GetIntents$) {
1836
1607
  }
1837
1608
 
1838
- class GetIntentVersionsCommand extends Command
1839
- .classBuilder()
1840
- .ep(commonParams)
1841
- .m(function (Command, cs, config, o) {
1842
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1843
- })
1844
- .s("AWSDeepSenseModelBuildingService", "GetIntentVersions", {})
1845
- .n("LexModelBuildingServiceClient", "GetIntentVersionsCommand")
1846
- .sc(GetIntentVersions$)
1847
- .build() {
1609
+ class GetIntentVersionsCommand extends command(_ep0, _mw0, "GetIntentVersions", GetIntentVersions$) {
1848
1610
  }
1849
1611
 
1850
- class GetMigrationCommand extends Command
1851
- .classBuilder()
1852
- .ep(commonParams)
1853
- .m(function (Command, cs, config, o) {
1854
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1855
- })
1856
- .s("AWSDeepSenseModelBuildingService", "GetMigration", {})
1857
- .n("LexModelBuildingServiceClient", "GetMigrationCommand")
1858
- .sc(GetMigration$)
1859
- .build() {
1612
+ class GetMigrationCommand extends command(_ep0, _mw0, "GetMigration", GetMigration$) {
1860
1613
  }
1861
1614
 
1862
- class GetMigrationsCommand extends Command
1863
- .classBuilder()
1864
- .ep(commonParams)
1865
- .m(function (Command, cs, config, o) {
1866
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1867
- })
1868
- .s("AWSDeepSenseModelBuildingService", "GetMigrations", {})
1869
- .n("LexModelBuildingServiceClient", "GetMigrationsCommand")
1870
- .sc(GetMigrations$)
1871
- .build() {
1615
+ class GetMigrationsCommand extends command(_ep0, _mw0, "GetMigrations", GetMigrations$) {
1872
1616
  }
1873
1617
 
1874
- class GetSlotTypeCommand extends Command
1875
- .classBuilder()
1876
- .ep(commonParams)
1877
- .m(function (Command, cs, config, o) {
1878
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1879
- })
1880
- .s("AWSDeepSenseModelBuildingService", "GetSlotType", {})
1881
- .n("LexModelBuildingServiceClient", "GetSlotTypeCommand")
1882
- .sc(GetSlotType$)
1883
- .build() {
1618
+ class GetSlotTypeCommand extends command(_ep0, _mw0, "GetSlotType", GetSlotType$) {
1884
1619
  }
1885
1620
 
1886
- class GetSlotTypesCommand extends Command
1887
- .classBuilder()
1888
- .ep(commonParams)
1889
- .m(function (Command, cs, config, o) {
1890
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1891
- })
1892
- .s("AWSDeepSenseModelBuildingService", "GetSlotTypes", {})
1893
- .n("LexModelBuildingServiceClient", "GetSlotTypesCommand")
1894
- .sc(GetSlotTypes$)
1895
- .build() {
1621
+ class GetSlotTypesCommand extends command(_ep0, _mw0, "GetSlotTypes", GetSlotTypes$) {
1896
1622
  }
1897
1623
 
1898
- class GetSlotTypeVersionsCommand extends Command
1899
- .classBuilder()
1900
- .ep(commonParams)
1901
- .m(function (Command, cs, config, o) {
1902
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1903
- })
1904
- .s("AWSDeepSenseModelBuildingService", "GetSlotTypeVersions", {})
1905
- .n("LexModelBuildingServiceClient", "GetSlotTypeVersionsCommand")
1906
- .sc(GetSlotTypeVersions$)
1907
- .build() {
1624
+ class GetSlotTypeVersionsCommand extends command(_ep0, _mw0, "GetSlotTypeVersions", GetSlotTypeVersions$) {
1908
1625
  }
1909
1626
 
1910
- class GetUtterancesViewCommand extends Command
1911
- .classBuilder()
1912
- .ep(commonParams)
1913
- .m(function (Command, cs, config, o) {
1914
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1915
- })
1916
- .s("AWSDeepSenseModelBuildingService", "GetUtterancesView", {})
1917
- .n("LexModelBuildingServiceClient", "GetUtterancesViewCommand")
1918
- .sc(GetUtterancesView$)
1919
- .build() {
1627
+ class GetUtterancesViewCommand extends command(_ep0, _mw0, "GetUtterancesView", GetUtterancesView$) {
1920
1628
  }
1921
1629
 
1922
- class ListTagsForResourceCommand extends Command
1923
- .classBuilder()
1924
- .ep(commonParams)
1925
- .m(function (Command, cs, config, o) {
1926
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1927
- })
1928
- .s("AWSDeepSenseModelBuildingService", "ListTagsForResource", {})
1929
- .n("LexModelBuildingServiceClient", "ListTagsForResourceCommand")
1930
- .sc(ListTagsForResource$)
1931
- .build() {
1630
+ class ListTagsForResourceCommand extends command(_ep0, _mw0, "ListTagsForResource", ListTagsForResource$) {
1932
1631
  }
1933
1632
 
1934
- class PutBotAliasCommand extends Command
1935
- .classBuilder()
1936
- .ep(commonParams)
1937
- .m(function (Command, cs, config, o) {
1938
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1939
- })
1940
- .s("AWSDeepSenseModelBuildingService", "PutBotAlias", {})
1941
- .n("LexModelBuildingServiceClient", "PutBotAliasCommand")
1942
- .sc(PutBotAlias$)
1943
- .build() {
1633
+ class PutBotAliasCommand extends command(_ep0, _mw0, "PutBotAlias", PutBotAlias$) {
1944
1634
  }
1945
1635
 
1946
- class PutBotCommand extends Command
1947
- .classBuilder()
1948
- .ep(commonParams)
1949
- .m(function (Command, cs, config, o) {
1950
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1951
- })
1952
- .s("AWSDeepSenseModelBuildingService", "PutBot", {})
1953
- .n("LexModelBuildingServiceClient", "PutBotCommand")
1954
- .sc(PutBot$)
1955
- .build() {
1636
+ class PutBotCommand extends command(_ep0, _mw0, "PutBot", PutBot$) {
1956
1637
  }
1957
1638
 
1958
- class PutIntentCommand extends Command
1959
- .classBuilder()
1960
- .ep(commonParams)
1961
- .m(function (Command, cs, config, o) {
1962
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1963
- })
1964
- .s("AWSDeepSenseModelBuildingService", "PutIntent", {})
1965
- .n("LexModelBuildingServiceClient", "PutIntentCommand")
1966
- .sc(PutIntent$)
1967
- .build() {
1639
+ class PutIntentCommand extends command(_ep0, _mw0, "PutIntent", PutIntent$) {
1968
1640
  }
1969
1641
 
1970
- class PutSlotTypeCommand extends Command
1971
- .classBuilder()
1972
- .ep(commonParams)
1973
- .m(function (Command, cs, config, o) {
1974
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1975
- })
1976
- .s("AWSDeepSenseModelBuildingService", "PutSlotType", {})
1977
- .n("LexModelBuildingServiceClient", "PutSlotTypeCommand")
1978
- .sc(PutSlotType$)
1979
- .build() {
1642
+ class PutSlotTypeCommand extends command(_ep0, _mw0, "PutSlotType", PutSlotType$) {
1980
1643
  }
1981
1644
 
1982
- class StartImportCommand extends Command
1983
- .classBuilder()
1984
- .ep(commonParams)
1985
- .m(function (Command, cs, config, o) {
1986
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1987
- })
1988
- .s("AWSDeepSenseModelBuildingService", "StartImport", {})
1989
- .n("LexModelBuildingServiceClient", "StartImportCommand")
1990
- .sc(StartImport$)
1991
- .build() {
1645
+ class StartImportCommand extends command(_ep0, _mw0, "StartImport", StartImport$) {
1992
1646
  }
1993
1647
 
1994
- class StartMigrationCommand extends Command
1995
- .classBuilder()
1996
- .ep(commonParams)
1997
- .m(function (Command, cs, config, o) {
1998
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1999
- })
2000
- .s("AWSDeepSenseModelBuildingService", "StartMigration", {})
2001
- .n("LexModelBuildingServiceClient", "StartMigrationCommand")
2002
- .sc(StartMigration$)
2003
- .build() {
1648
+ class StartMigrationCommand extends command(_ep0, _mw0, "StartMigration", StartMigration$) {
2004
1649
  }
2005
1650
 
2006
- class TagResourceCommand extends Command
2007
- .classBuilder()
2008
- .ep(commonParams)
2009
- .m(function (Command, cs, config, o) {
2010
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2011
- })
2012
- .s("AWSDeepSenseModelBuildingService", "TagResource", {})
2013
- .n("LexModelBuildingServiceClient", "TagResourceCommand")
2014
- .sc(TagResource$)
2015
- .build() {
1651
+ class TagResourceCommand extends command(_ep0, _mw0, "TagResource", TagResource$) {
2016
1652
  }
2017
1653
 
2018
- class UntagResourceCommand extends Command
2019
- .classBuilder()
2020
- .ep(commonParams)
2021
- .m(function (Command, cs, config, o) {
2022
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2023
- })
2024
- .s("AWSDeepSenseModelBuildingService", "UntagResource", {})
2025
- .n("LexModelBuildingServiceClient", "UntagResourceCommand")
2026
- .sc(UntagResource$)
2027
- .build() {
1654
+ class UntagResourceCommand extends command(_ep0, _mw0, "UntagResource", UntagResource$) {
2028
1655
  }
2029
1656
 
2030
1657
  const paginateGetBotAliases = createPaginator(LexModelBuildingServiceClient, GetBotAliasesCommand, "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, "AWSDeepSenseModelBuildingService", "LexModelBuildingServiceClient", 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 { CreateBotVersion$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class CreateBotVersionCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSDeepSenseModelBuildingService", "CreateBotVersion", {})
13
- .n("LexModelBuildingServiceClient", "CreateBotVersionCommand")
14
- .sc(CreateBotVersion$)
15
- .build() {
3
+ export class CreateBotVersionCommand extends command(_ep0, _mw0, "CreateBotVersion", CreateBotVersion$) {
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 { CreateIntentVersion$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class CreateIntentVersionCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSDeepSenseModelBuildingService", "CreateIntentVersion", {})
13
- .n("LexModelBuildingServiceClient", "CreateIntentVersionCommand")
14
- .sc(CreateIntentVersion$)
15
- .build() {
3
+ export class CreateIntentVersionCommand extends command(_ep0, _mw0, "CreateIntentVersion", CreateIntentVersion$) {
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 { CreateSlotTypeVersion$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class CreateSlotTypeVersionCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSDeepSenseModelBuildingService", "CreateSlotTypeVersion", {})
13
- .n("LexModelBuildingServiceClient", "CreateSlotTypeVersionCommand")
14
- .sc(CreateSlotTypeVersion$)
15
- .build() {
3
+ export class CreateSlotTypeVersionCommand extends command(_ep0, _mw0, "CreateSlotTypeVersion", CreateSlotTypeVersion$) {
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 { DeleteBotAlias$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DeleteBotAliasCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSDeepSenseModelBuildingService", "DeleteBotAlias", {})
13
- .n("LexModelBuildingServiceClient", "DeleteBotAliasCommand")
14
- .sc(DeleteBotAlias$)
15
- .build() {
3
+ export class DeleteBotAliasCommand extends command(_ep0, _mw0, "DeleteBotAlias", DeleteBotAlias$) {
16
4
  }