@aws-sdk/client-wisdom 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.
- package/dist-cjs/index.js +49 -413
- package/dist-es/commandBuilder.js +6 -0
- package/dist-es/commands/CreateAssistantAssociationCommand.js +2 -14
- package/dist-es/commands/CreateAssistantCommand.js +2 -14
- package/dist-es/commands/CreateContentCommand.js +2 -14
- package/dist-es/commands/CreateKnowledgeBaseCommand.js +2 -14
- package/dist-es/commands/CreateQuickResponseCommand.js +2 -14
- package/dist-es/commands/CreateSessionCommand.js +2 -14
- package/dist-es/commands/DeleteAssistantAssociationCommand.js +2 -14
- package/dist-es/commands/DeleteAssistantCommand.js +2 -14
- package/dist-es/commands/DeleteContentCommand.js +2 -14
- package/dist-es/commands/DeleteImportJobCommand.js +2 -14
- package/dist-es/commands/DeleteKnowledgeBaseCommand.js +2 -14
- package/dist-es/commands/DeleteQuickResponseCommand.js +2 -14
- package/dist-es/commands/GetAssistantAssociationCommand.js +2 -14
- package/dist-es/commands/GetAssistantCommand.js +2 -14
- package/dist-es/commands/GetContentCommand.js +2 -14
- package/dist-es/commands/GetContentSummaryCommand.js +2 -14
- package/dist-es/commands/GetImportJobCommand.js +2 -14
- package/dist-es/commands/GetKnowledgeBaseCommand.js +2 -14
- package/dist-es/commands/GetQuickResponseCommand.js +2 -14
- package/dist-es/commands/GetRecommendationsCommand.js +2 -14
- package/dist-es/commands/GetSessionCommand.js +2 -14
- package/dist-es/commands/ListAssistantAssociationsCommand.js +2 -14
- package/dist-es/commands/ListAssistantsCommand.js +2 -14
- package/dist-es/commands/ListContentsCommand.js +2 -14
- package/dist-es/commands/ListImportJobsCommand.js +2 -14
- package/dist-es/commands/ListKnowledgeBasesCommand.js +2 -14
- package/dist-es/commands/ListQuickResponsesCommand.js +2 -14
- package/dist-es/commands/ListTagsForResourceCommand.js +2 -14
- package/dist-es/commands/NotifyRecommendationsReceivedCommand.js +2 -14
- package/dist-es/commands/QueryAssistantCommand.js +2 -14
- package/dist-es/commands/RemoveKnowledgeBaseTemplateUriCommand.js +2 -14
- package/dist-es/commands/SearchContentCommand.js +2 -14
- package/dist-es/commands/SearchQuickResponsesCommand.js +2 -14
- package/dist-es/commands/SearchSessionsCommand.js +2 -14
- package/dist-es/commands/StartContentUploadCommand.js +2 -14
- package/dist-es/commands/StartImportJobCommand.js +2 -14
- package/dist-es/commands/TagResourceCommand.js +2 -14
- package/dist-es/commands/UntagResourceCommand.js +2 -14
- package/dist-es/commands/UpdateContentCommand.js +2 -14
- package/dist-es/commands/UpdateKnowledgeBaseTemplateUriCommand.js +2 -14
- package/dist-es/commands/UpdateQuickResponseCommand.js +2 -14
- package/dist-es/index.js +1 -0
- package/dist-types/commandBuilder.d.ts +18 -0
- package/dist-types/commands/CreateAssistantAssociationCommand.d.ts +3 -8
- package/dist-types/commands/CreateAssistantCommand.d.ts +3 -8
- package/dist-types/commands/CreateContentCommand.d.ts +3 -8
- package/dist-types/commands/CreateKnowledgeBaseCommand.d.ts +3 -8
- package/dist-types/commands/CreateQuickResponseCommand.d.ts +3 -8
- package/dist-types/commands/CreateSessionCommand.d.ts +3 -8
- package/dist-types/commands/DeleteAssistantAssociationCommand.d.ts +3 -8
- package/dist-types/commands/DeleteAssistantCommand.d.ts +3 -8
- package/dist-types/commands/DeleteContentCommand.d.ts +3 -8
- package/dist-types/commands/DeleteImportJobCommand.d.ts +3 -8
- package/dist-types/commands/DeleteKnowledgeBaseCommand.d.ts +3 -8
- package/dist-types/commands/DeleteQuickResponseCommand.d.ts +3 -8
- package/dist-types/commands/GetAssistantAssociationCommand.d.ts +3 -8
- package/dist-types/commands/GetAssistantCommand.d.ts +3 -8
- package/dist-types/commands/GetContentCommand.d.ts +3 -8
- package/dist-types/commands/GetContentSummaryCommand.d.ts +3 -8
- package/dist-types/commands/GetImportJobCommand.d.ts +3 -8
- package/dist-types/commands/GetKnowledgeBaseCommand.d.ts +3 -8
- package/dist-types/commands/GetQuickResponseCommand.d.ts +3 -8
- package/dist-types/commands/GetRecommendationsCommand.d.ts +3 -8
- package/dist-types/commands/GetSessionCommand.d.ts +3 -8
- package/dist-types/commands/ListAssistantAssociationsCommand.d.ts +3 -8
- package/dist-types/commands/ListAssistantsCommand.d.ts +3 -8
- package/dist-types/commands/ListContentsCommand.d.ts +3 -8
- package/dist-types/commands/ListImportJobsCommand.d.ts +3 -8
- package/dist-types/commands/ListKnowledgeBasesCommand.d.ts +3 -8
- package/dist-types/commands/ListQuickResponsesCommand.d.ts +3 -8
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -8
- package/dist-types/commands/NotifyRecommendationsReceivedCommand.d.ts +3 -8
- package/dist-types/commands/QueryAssistantCommand.d.ts +3 -8
- package/dist-types/commands/RemoveKnowledgeBaseTemplateUriCommand.d.ts +3 -8
- package/dist-types/commands/SearchContentCommand.d.ts +3 -8
- package/dist-types/commands/SearchQuickResponsesCommand.d.ts +3 -8
- package/dist-types/commands/SearchSessionsCommand.d.ts +3 -8
- package/dist-types/commands/StartContentUploadCommand.d.ts +3 -8
- package/dist-types/commands/StartImportJobCommand.d.ts +3 -8
- package/dist-types/commands/TagResourceCommand.d.ts +3 -8
- package/dist-types/commands/UntagResourceCommand.d.ts +3 -8
- package/dist-types/commands/UpdateContentCommand.d.ts +3 -8
- package/dist-types/commands/UpdateKnowledgeBaseTemplateUriCommand.d.ts +3 -8
- package/dist-types/commands/UpdateQuickResponseCommand.d.ts +3 -8
- package/dist-types/index.d.ts +1 -0
- package/dist-types/ts3.4/commandBuilder.d.ts +46 -0
- package/dist-types/ts3.4/commands/CreateAssistantAssociationCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/CreateAssistantCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/CreateContentCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/CreateKnowledgeBaseCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/CreateQuickResponseCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/CreateSessionCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DeleteAssistantAssociationCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DeleteAssistantCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DeleteContentCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DeleteImportJobCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DeleteKnowledgeBaseCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DeleteQuickResponseCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/GetAssistantAssociationCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/GetAssistantCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/GetContentCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/GetContentSummaryCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/GetImportJobCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/GetKnowledgeBaseCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/GetQuickResponseCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/GetRecommendationsCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/GetSessionCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/ListAssistantAssociationsCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/ListAssistantsCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/ListContentsCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/ListImportJobsCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/ListKnowledgeBasesCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/ListQuickResponsesCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/NotifyRecommendationsReceivedCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/QueryAssistantCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/RemoveKnowledgeBaseTemplateUriCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/SearchContentCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/SearchQuickResponsesCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/SearchSessionsCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/StartContentUploadCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/StartImportJobCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/UpdateContentCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/UpdateKnowledgeBaseTemplateUriCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/UpdateQuickResponseCommand.d.ts +7 -16
- package/dist-types/ts3.4/index.d.ts +1 -0
- 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,
|
|
4
|
-
|
|
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.
|
|
72
|
+
var version = "3.1078.0";
|
|
72
73
|
var packageInfo = {
|
|
73
74
|
version: version};
|
|
74
75
|
|
|
@@ -1622,496 +1623,131 @@ class WisdomClient extends Client {
|
|
|
1622
1623
|
}
|
|
1623
1624
|
}
|
|
1624
1625
|
|
|
1625
|
-
|
|
1626
|
-
|
|
1627
|
-
|
|
1628
|
-
|
|
1629
|
-
|
|
1630
|
-
})
|
|
1631
|
-
.s("WisdomService", "CreateAssistantAssociation", {})
|
|
1632
|
-
.n("WisdomClient", "CreateAssistantAssociationCommand")
|
|
1633
|
-
.sc(CreateAssistantAssociation$)
|
|
1634
|
-
.build() {
|
|
1626
|
+
const command = makeBuilder(commonParams, "WisdomService", "WisdomClient", getEndpointPlugin);
|
|
1627
|
+
const _ep0 = {};
|
|
1628
|
+
const _mw0 = (Command, cs, config, o) => [];
|
|
1629
|
+
|
|
1630
|
+
class CreateAssistantAssociationCommand extends command(_ep0, _mw0, "CreateAssistantAssociation", CreateAssistantAssociation$) {
|
|
1635
1631
|
}
|
|
1636
1632
|
|
|
1637
|
-
class CreateAssistantCommand extends
|
|
1638
|
-
.classBuilder()
|
|
1639
|
-
.ep(commonParams)
|
|
1640
|
-
.m(function (Command, cs, config, o) {
|
|
1641
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1642
|
-
})
|
|
1643
|
-
.s("WisdomService", "CreateAssistant", {})
|
|
1644
|
-
.n("WisdomClient", "CreateAssistantCommand")
|
|
1645
|
-
.sc(CreateAssistant$)
|
|
1646
|
-
.build() {
|
|
1633
|
+
class CreateAssistantCommand extends command(_ep0, _mw0, "CreateAssistant", CreateAssistant$) {
|
|
1647
1634
|
}
|
|
1648
1635
|
|
|
1649
|
-
class CreateContentCommand extends
|
|
1650
|
-
.classBuilder()
|
|
1651
|
-
.ep(commonParams)
|
|
1652
|
-
.m(function (Command, cs, config, o) {
|
|
1653
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1654
|
-
})
|
|
1655
|
-
.s("WisdomService", "CreateContent", {})
|
|
1656
|
-
.n("WisdomClient", "CreateContentCommand")
|
|
1657
|
-
.sc(CreateContent$)
|
|
1658
|
-
.build() {
|
|
1636
|
+
class CreateContentCommand extends command(_ep0, _mw0, "CreateContent", CreateContent$) {
|
|
1659
1637
|
}
|
|
1660
1638
|
|
|
1661
|
-
class CreateKnowledgeBaseCommand extends
|
|
1662
|
-
.classBuilder()
|
|
1663
|
-
.ep(commonParams)
|
|
1664
|
-
.m(function (Command, cs, config, o) {
|
|
1665
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1666
|
-
})
|
|
1667
|
-
.s("WisdomService", "CreateKnowledgeBase", {})
|
|
1668
|
-
.n("WisdomClient", "CreateKnowledgeBaseCommand")
|
|
1669
|
-
.sc(CreateKnowledgeBase$)
|
|
1670
|
-
.build() {
|
|
1639
|
+
class CreateKnowledgeBaseCommand extends command(_ep0, _mw0, "CreateKnowledgeBase", CreateKnowledgeBase$) {
|
|
1671
1640
|
}
|
|
1672
1641
|
|
|
1673
|
-
class CreateQuickResponseCommand extends
|
|
1674
|
-
.classBuilder()
|
|
1675
|
-
.ep(commonParams)
|
|
1676
|
-
.m(function (Command, cs, config, o) {
|
|
1677
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1678
|
-
})
|
|
1679
|
-
.s("WisdomService", "CreateQuickResponse", {})
|
|
1680
|
-
.n("WisdomClient", "CreateQuickResponseCommand")
|
|
1681
|
-
.sc(CreateQuickResponse$)
|
|
1682
|
-
.build() {
|
|
1642
|
+
class CreateQuickResponseCommand extends command(_ep0, _mw0, "CreateQuickResponse", CreateQuickResponse$) {
|
|
1683
1643
|
}
|
|
1684
1644
|
|
|
1685
|
-
class CreateSessionCommand extends
|
|
1686
|
-
.classBuilder()
|
|
1687
|
-
.ep(commonParams)
|
|
1688
|
-
.m(function (Command, cs, config, o) {
|
|
1689
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1690
|
-
})
|
|
1691
|
-
.s("WisdomService", "CreateSession", {})
|
|
1692
|
-
.n("WisdomClient", "CreateSessionCommand")
|
|
1693
|
-
.sc(CreateSession$)
|
|
1694
|
-
.build() {
|
|
1645
|
+
class CreateSessionCommand extends command(_ep0, _mw0, "CreateSession", CreateSession$) {
|
|
1695
1646
|
}
|
|
1696
1647
|
|
|
1697
|
-
class DeleteAssistantAssociationCommand extends
|
|
1698
|
-
.classBuilder()
|
|
1699
|
-
.ep(commonParams)
|
|
1700
|
-
.m(function (Command, cs, config, o) {
|
|
1701
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1702
|
-
})
|
|
1703
|
-
.s("WisdomService", "DeleteAssistantAssociation", {})
|
|
1704
|
-
.n("WisdomClient", "DeleteAssistantAssociationCommand")
|
|
1705
|
-
.sc(DeleteAssistantAssociation$)
|
|
1706
|
-
.build() {
|
|
1648
|
+
class DeleteAssistantAssociationCommand extends command(_ep0, _mw0, "DeleteAssistantAssociation", DeleteAssistantAssociation$) {
|
|
1707
1649
|
}
|
|
1708
1650
|
|
|
1709
|
-
class DeleteAssistantCommand extends
|
|
1710
|
-
.classBuilder()
|
|
1711
|
-
.ep(commonParams)
|
|
1712
|
-
.m(function (Command, cs, config, o) {
|
|
1713
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1714
|
-
})
|
|
1715
|
-
.s("WisdomService", "DeleteAssistant", {})
|
|
1716
|
-
.n("WisdomClient", "DeleteAssistantCommand")
|
|
1717
|
-
.sc(DeleteAssistant$)
|
|
1718
|
-
.build() {
|
|
1651
|
+
class DeleteAssistantCommand extends command(_ep0, _mw0, "DeleteAssistant", DeleteAssistant$) {
|
|
1719
1652
|
}
|
|
1720
1653
|
|
|
1721
|
-
class DeleteContentCommand extends
|
|
1722
|
-
.classBuilder()
|
|
1723
|
-
.ep(commonParams)
|
|
1724
|
-
.m(function (Command, cs, config, o) {
|
|
1725
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1726
|
-
})
|
|
1727
|
-
.s("WisdomService", "DeleteContent", {})
|
|
1728
|
-
.n("WisdomClient", "DeleteContentCommand")
|
|
1729
|
-
.sc(DeleteContent$)
|
|
1730
|
-
.build() {
|
|
1654
|
+
class DeleteContentCommand extends command(_ep0, _mw0, "DeleteContent", DeleteContent$) {
|
|
1731
1655
|
}
|
|
1732
1656
|
|
|
1733
|
-
class DeleteImportJobCommand extends
|
|
1734
|
-
.classBuilder()
|
|
1735
|
-
.ep(commonParams)
|
|
1736
|
-
.m(function (Command, cs, config, o) {
|
|
1737
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1738
|
-
})
|
|
1739
|
-
.s("WisdomService", "DeleteImportJob", {})
|
|
1740
|
-
.n("WisdomClient", "DeleteImportJobCommand")
|
|
1741
|
-
.sc(DeleteImportJob$)
|
|
1742
|
-
.build() {
|
|
1657
|
+
class DeleteImportJobCommand extends command(_ep0, _mw0, "DeleteImportJob", DeleteImportJob$) {
|
|
1743
1658
|
}
|
|
1744
1659
|
|
|
1745
|
-
class DeleteKnowledgeBaseCommand extends
|
|
1746
|
-
.classBuilder()
|
|
1747
|
-
.ep(commonParams)
|
|
1748
|
-
.m(function (Command, cs, config, o) {
|
|
1749
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1750
|
-
})
|
|
1751
|
-
.s("WisdomService", "DeleteKnowledgeBase", {})
|
|
1752
|
-
.n("WisdomClient", "DeleteKnowledgeBaseCommand")
|
|
1753
|
-
.sc(DeleteKnowledgeBase$)
|
|
1754
|
-
.build() {
|
|
1660
|
+
class DeleteKnowledgeBaseCommand extends command(_ep0, _mw0, "DeleteKnowledgeBase", DeleteKnowledgeBase$) {
|
|
1755
1661
|
}
|
|
1756
1662
|
|
|
1757
|
-
class DeleteQuickResponseCommand extends
|
|
1758
|
-
.classBuilder()
|
|
1759
|
-
.ep(commonParams)
|
|
1760
|
-
.m(function (Command, cs, config, o) {
|
|
1761
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1762
|
-
})
|
|
1763
|
-
.s("WisdomService", "DeleteQuickResponse", {})
|
|
1764
|
-
.n("WisdomClient", "DeleteQuickResponseCommand")
|
|
1765
|
-
.sc(DeleteQuickResponse$)
|
|
1766
|
-
.build() {
|
|
1663
|
+
class DeleteQuickResponseCommand extends command(_ep0, _mw0, "DeleteQuickResponse", DeleteQuickResponse$) {
|
|
1767
1664
|
}
|
|
1768
1665
|
|
|
1769
|
-
class GetAssistantAssociationCommand extends
|
|
1770
|
-
.classBuilder()
|
|
1771
|
-
.ep(commonParams)
|
|
1772
|
-
.m(function (Command, cs, config, o) {
|
|
1773
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1774
|
-
})
|
|
1775
|
-
.s("WisdomService", "GetAssistantAssociation", {})
|
|
1776
|
-
.n("WisdomClient", "GetAssistantAssociationCommand")
|
|
1777
|
-
.sc(GetAssistantAssociation$)
|
|
1778
|
-
.build() {
|
|
1666
|
+
class GetAssistantAssociationCommand extends command(_ep0, _mw0, "GetAssistantAssociation", GetAssistantAssociation$) {
|
|
1779
1667
|
}
|
|
1780
1668
|
|
|
1781
|
-
class GetAssistantCommand extends
|
|
1782
|
-
.classBuilder()
|
|
1783
|
-
.ep(commonParams)
|
|
1784
|
-
.m(function (Command, cs, config, o) {
|
|
1785
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1786
|
-
})
|
|
1787
|
-
.s("WisdomService", "GetAssistant", {})
|
|
1788
|
-
.n("WisdomClient", "GetAssistantCommand")
|
|
1789
|
-
.sc(GetAssistant$)
|
|
1790
|
-
.build() {
|
|
1669
|
+
class GetAssistantCommand extends command(_ep0, _mw0, "GetAssistant", GetAssistant$) {
|
|
1791
1670
|
}
|
|
1792
1671
|
|
|
1793
|
-
class GetContentCommand extends
|
|
1794
|
-
.classBuilder()
|
|
1795
|
-
.ep(commonParams)
|
|
1796
|
-
.m(function (Command, cs, config, o) {
|
|
1797
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1798
|
-
})
|
|
1799
|
-
.s("WisdomService", "GetContent", {})
|
|
1800
|
-
.n("WisdomClient", "GetContentCommand")
|
|
1801
|
-
.sc(GetContent$)
|
|
1802
|
-
.build() {
|
|
1672
|
+
class GetContentCommand extends command(_ep0, _mw0, "GetContent", GetContent$) {
|
|
1803
1673
|
}
|
|
1804
1674
|
|
|
1805
|
-
class GetContentSummaryCommand extends
|
|
1806
|
-
.classBuilder()
|
|
1807
|
-
.ep(commonParams)
|
|
1808
|
-
.m(function (Command, cs, config, o) {
|
|
1809
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1810
|
-
})
|
|
1811
|
-
.s("WisdomService", "GetContentSummary", {})
|
|
1812
|
-
.n("WisdomClient", "GetContentSummaryCommand")
|
|
1813
|
-
.sc(GetContentSummary$)
|
|
1814
|
-
.build() {
|
|
1675
|
+
class GetContentSummaryCommand extends command(_ep0, _mw0, "GetContentSummary", GetContentSummary$) {
|
|
1815
1676
|
}
|
|
1816
1677
|
|
|
1817
|
-
class GetImportJobCommand extends
|
|
1818
|
-
.classBuilder()
|
|
1819
|
-
.ep(commonParams)
|
|
1820
|
-
.m(function (Command, cs, config, o) {
|
|
1821
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1822
|
-
})
|
|
1823
|
-
.s("WisdomService", "GetImportJob", {})
|
|
1824
|
-
.n("WisdomClient", "GetImportJobCommand")
|
|
1825
|
-
.sc(GetImportJob$)
|
|
1826
|
-
.build() {
|
|
1678
|
+
class GetImportJobCommand extends command(_ep0, _mw0, "GetImportJob", GetImportJob$) {
|
|
1827
1679
|
}
|
|
1828
1680
|
|
|
1829
|
-
class GetKnowledgeBaseCommand extends
|
|
1830
|
-
.classBuilder()
|
|
1831
|
-
.ep(commonParams)
|
|
1832
|
-
.m(function (Command, cs, config, o) {
|
|
1833
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1834
|
-
})
|
|
1835
|
-
.s("WisdomService", "GetKnowledgeBase", {})
|
|
1836
|
-
.n("WisdomClient", "GetKnowledgeBaseCommand")
|
|
1837
|
-
.sc(GetKnowledgeBase$)
|
|
1838
|
-
.build() {
|
|
1681
|
+
class GetKnowledgeBaseCommand extends command(_ep0, _mw0, "GetKnowledgeBase", GetKnowledgeBase$) {
|
|
1839
1682
|
}
|
|
1840
1683
|
|
|
1841
|
-
class GetQuickResponseCommand extends
|
|
1842
|
-
.classBuilder()
|
|
1843
|
-
.ep(commonParams)
|
|
1844
|
-
.m(function (Command, cs, config, o) {
|
|
1845
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1846
|
-
})
|
|
1847
|
-
.s("WisdomService", "GetQuickResponse", {})
|
|
1848
|
-
.n("WisdomClient", "GetQuickResponseCommand")
|
|
1849
|
-
.sc(GetQuickResponse$)
|
|
1850
|
-
.build() {
|
|
1684
|
+
class GetQuickResponseCommand extends command(_ep0, _mw0, "GetQuickResponse", GetQuickResponse$) {
|
|
1851
1685
|
}
|
|
1852
1686
|
|
|
1853
|
-
class GetRecommendationsCommand extends
|
|
1854
|
-
.classBuilder()
|
|
1855
|
-
.ep(commonParams)
|
|
1856
|
-
.m(function (Command, cs, config, o) {
|
|
1857
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1858
|
-
})
|
|
1859
|
-
.s("WisdomService", "GetRecommendations", {})
|
|
1860
|
-
.n("WisdomClient", "GetRecommendationsCommand")
|
|
1861
|
-
.sc(GetRecommendations$)
|
|
1862
|
-
.build() {
|
|
1687
|
+
class GetRecommendationsCommand extends command(_ep0, _mw0, "GetRecommendations", GetRecommendations$) {
|
|
1863
1688
|
}
|
|
1864
1689
|
|
|
1865
|
-
class GetSessionCommand extends
|
|
1866
|
-
.classBuilder()
|
|
1867
|
-
.ep(commonParams)
|
|
1868
|
-
.m(function (Command, cs, config, o) {
|
|
1869
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1870
|
-
})
|
|
1871
|
-
.s("WisdomService", "GetSession", {})
|
|
1872
|
-
.n("WisdomClient", "GetSessionCommand")
|
|
1873
|
-
.sc(GetSession$)
|
|
1874
|
-
.build() {
|
|
1690
|
+
class GetSessionCommand extends command(_ep0, _mw0, "GetSession", GetSession$) {
|
|
1875
1691
|
}
|
|
1876
1692
|
|
|
1877
|
-
class ListAssistantAssociationsCommand extends
|
|
1878
|
-
.classBuilder()
|
|
1879
|
-
.ep(commonParams)
|
|
1880
|
-
.m(function (Command, cs, config, o) {
|
|
1881
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1882
|
-
})
|
|
1883
|
-
.s("WisdomService", "ListAssistantAssociations", {})
|
|
1884
|
-
.n("WisdomClient", "ListAssistantAssociationsCommand")
|
|
1885
|
-
.sc(ListAssistantAssociations$)
|
|
1886
|
-
.build() {
|
|
1693
|
+
class ListAssistantAssociationsCommand extends command(_ep0, _mw0, "ListAssistantAssociations", ListAssistantAssociations$) {
|
|
1887
1694
|
}
|
|
1888
1695
|
|
|
1889
|
-
class ListAssistantsCommand extends
|
|
1890
|
-
.classBuilder()
|
|
1891
|
-
.ep(commonParams)
|
|
1892
|
-
.m(function (Command, cs, config, o) {
|
|
1893
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1894
|
-
})
|
|
1895
|
-
.s("WisdomService", "ListAssistants", {})
|
|
1896
|
-
.n("WisdomClient", "ListAssistantsCommand")
|
|
1897
|
-
.sc(ListAssistants$)
|
|
1898
|
-
.build() {
|
|
1696
|
+
class ListAssistantsCommand extends command(_ep0, _mw0, "ListAssistants", ListAssistants$) {
|
|
1899
1697
|
}
|
|
1900
1698
|
|
|
1901
|
-
class ListContentsCommand extends
|
|
1902
|
-
.classBuilder()
|
|
1903
|
-
.ep(commonParams)
|
|
1904
|
-
.m(function (Command, cs, config, o) {
|
|
1905
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1906
|
-
})
|
|
1907
|
-
.s("WisdomService", "ListContents", {})
|
|
1908
|
-
.n("WisdomClient", "ListContentsCommand")
|
|
1909
|
-
.sc(ListContents$)
|
|
1910
|
-
.build() {
|
|
1699
|
+
class ListContentsCommand extends command(_ep0, _mw0, "ListContents", ListContents$) {
|
|
1911
1700
|
}
|
|
1912
1701
|
|
|
1913
|
-
class ListImportJobsCommand extends
|
|
1914
|
-
.classBuilder()
|
|
1915
|
-
.ep(commonParams)
|
|
1916
|
-
.m(function (Command, cs, config, o) {
|
|
1917
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1918
|
-
})
|
|
1919
|
-
.s("WisdomService", "ListImportJobs", {})
|
|
1920
|
-
.n("WisdomClient", "ListImportJobsCommand")
|
|
1921
|
-
.sc(ListImportJobs$)
|
|
1922
|
-
.build() {
|
|
1702
|
+
class ListImportJobsCommand extends command(_ep0, _mw0, "ListImportJobs", ListImportJobs$) {
|
|
1923
1703
|
}
|
|
1924
1704
|
|
|
1925
|
-
class ListKnowledgeBasesCommand extends
|
|
1926
|
-
.classBuilder()
|
|
1927
|
-
.ep(commonParams)
|
|
1928
|
-
.m(function (Command, cs, config, o) {
|
|
1929
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1930
|
-
})
|
|
1931
|
-
.s("WisdomService", "ListKnowledgeBases", {})
|
|
1932
|
-
.n("WisdomClient", "ListKnowledgeBasesCommand")
|
|
1933
|
-
.sc(ListKnowledgeBases$)
|
|
1934
|
-
.build() {
|
|
1705
|
+
class ListKnowledgeBasesCommand extends command(_ep0, _mw0, "ListKnowledgeBases", ListKnowledgeBases$) {
|
|
1935
1706
|
}
|
|
1936
1707
|
|
|
1937
|
-
class ListQuickResponsesCommand extends
|
|
1938
|
-
.classBuilder()
|
|
1939
|
-
.ep(commonParams)
|
|
1940
|
-
.m(function (Command, cs, config, o) {
|
|
1941
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1942
|
-
})
|
|
1943
|
-
.s("WisdomService", "ListQuickResponses", {})
|
|
1944
|
-
.n("WisdomClient", "ListQuickResponsesCommand")
|
|
1945
|
-
.sc(ListQuickResponses$)
|
|
1946
|
-
.build() {
|
|
1708
|
+
class ListQuickResponsesCommand extends command(_ep0, _mw0, "ListQuickResponses", ListQuickResponses$) {
|
|
1947
1709
|
}
|
|
1948
1710
|
|
|
1949
|
-
class ListTagsForResourceCommand extends
|
|
1950
|
-
.classBuilder()
|
|
1951
|
-
.ep(commonParams)
|
|
1952
|
-
.m(function (Command, cs, config, o) {
|
|
1953
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1954
|
-
})
|
|
1955
|
-
.s("WisdomService", "ListTagsForResource", {})
|
|
1956
|
-
.n("WisdomClient", "ListTagsForResourceCommand")
|
|
1957
|
-
.sc(ListTagsForResource$)
|
|
1958
|
-
.build() {
|
|
1711
|
+
class ListTagsForResourceCommand extends command(_ep0, _mw0, "ListTagsForResource", ListTagsForResource$) {
|
|
1959
1712
|
}
|
|
1960
1713
|
|
|
1961
|
-
class NotifyRecommendationsReceivedCommand extends
|
|
1962
|
-
.classBuilder()
|
|
1963
|
-
.ep(commonParams)
|
|
1964
|
-
.m(function (Command, cs, config, o) {
|
|
1965
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1966
|
-
})
|
|
1967
|
-
.s("WisdomService", "NotifyRecommendationsReceived", {})
|
|
1968
|
-
.n("WisdomClient", "NotifyRecommendationsReceivedCommand")
|
|
1969
|
-
.sc(NotifyRecommendationsReceived$)
|
|
1970
|
-
.build() {
|
|
1714
|
+
class NotifyRecommendationsReceivedCommand extends command(_ep0, _mw0, "NotifyRecommendationsReceived", NotifyRecommendationsReceived$) {
|
|
1971
1715
|
}
|
|
1972
1716
|
|
|
1973
|
-
class QueryAssistantCommand extends
|
|
1974
|
-
.classBuilder()
|
|
1975
|
-
.ep(commonParams)
|
|
1976
|
-
.m(function (Command, cs, config, o) {
|
|
1977
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1978
|
-
})
|
|
1979
|
-
.s("WisdomService", "QueryAssistant", {})
|
|
1980
|
-
.n("WisdomClient", "QueryAssistantCommand")
|
|
1981
|
-
.sc(QueryAssistant$)
|
|
1982
|
-
.build() {
|
|
1717
|
+
class QueryAssistantCommand extends command(_ep0, _mw0, "QueryAssistant", QueryAssistant$) {
|
|
1983
1718
|
}
|
|
1984
1719
|
|
|
1985
|
-
class RemoveKnowledgeBaseTemplateUriCommand extends
|
|
1986
|
-
.classBuilder()
|
|
1987
|
-
.ep(commonParams)
|
|
1988
|
-
.m(function (Command, cs, config, o) {
|
|
1989
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1990
|
-
})
|
|
1991
|
-
.s("WisdomService", "RemoveKnowledgeBaseTemplateUri", {})
|
|
1992
|
-
.n("WisdomClient", "RemoveKnowledgeBaseTemplateUriCommand")
|
|
1993
|
-
.sc(RemoveKnowledgeBaseTemplateUri$)
|
|
1994
|
-
.build() {
|
|
1720
|
+
class RemoveKnowledgeBaseTemplateUriCommand extends command(_ep0, _mw0, "RemoveKnowledgeBaseTemplateUri", RemoveKnowledgeBaseTemplateUri$) {
|
|
1995
1721
|
}
|
|
1996
1722
|
|
|
1997
|
-
class SearchContentCommand extends
|
|
1998
|
-
.classBuilder()
|
|
1999
|
-
.ep(commonParams)
|
|
2000
|
-
.m(function (Command, cs, config, o) {
|
|
2001
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
2002
|
-
})
|
|
2003
|
-
.s("WisdomService", "SearchContent", {})
|
|
2004
|
-
.n("WisdomClient", "SearchContentCommand")
|
|
2005
|
-
.sc(SearchContent$)
|
|
2006
|
-
.build() {
|
|
1723
|
+
class SearchContentCommand extends command(_ep0, _mw0, "SearchContent", SearchContent$) {
|
|
2007
1724
|
}
|
|
2008
1725
|
|
|
2009
|
-
class SearchQuickResponsesCommand extends
|
|
2010
|
-
.classBuilder()
|
|
2011
|
-
.ep(commonParams)
|
|
2012
|
-
.m(function (Command, cs, config, o) {
|
|
2013
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
2014
|
-
})
|
|
2015
|
-
.s("WisdomService", "SearchQuickResponses", {})
|
|
2016
|
-
.n("WisdomClient", "SearchQuickResponsesCommand")
|
|
2017
|
-
.sc(SearchQuickResponses$)
|
|
2018
|
-
.build() {
|
|
1726
|
+
class SearchQuickResponsesCommand extends command(_ep0, _mw0, "SearchQuickResponses", SearchQuickResponses$) {
|
|
2019
1727
|
}
|
|
2020
1728
|
|
|
2021
|
-
class SearchSessionsCommand extends
|
|
2022
|
-
.classBuilder()
|
|
2023
|
-
.ep(commonParams)
|
|
2024
|
-
.m(function (Command, cs, config, o) {
|
|
2025
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
2026
|
-
})
|
|
2027
|
-
.s("WisdomService", "SearchSessions", {})
|
|
2028
|
-
.n("WisdomClient", "SearchSessionsCommand")
|
|
2029
|
-
.sc(SearchSessions$)
|
|
2030
|
-
.build() {
|
|
1729
|
+
class SearchSessionsCommand extends command(_ep0, _mw0, "SearchSessions", SearchSessions$) {
|
|
2031
1730
|
}
|
|
2032
1731
|
|
|
2033
|
-
class StartContentUploadCommand extends
|
|
2034
|
-
.classBuilder()
|
|
2035
|
-
.ep(commonParams)
|
|
2036
|
-
.m(function (Command, cs, config, o) {
|
|
2037
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
2038
|
-
})
|
|
2039
|
-
.s("WisdomService", "StartContentUpload", {})
|
|
2040
|
-
.n("WisdomClient", "StartContentUploadCommand")
|
|
2041
|
-
.sc(StartContentUpload$)
|
|
2042
|
-
.build() {
|
|
1732
|
+
class StartContentUploadCommand extends command(_ep0, _mw0, "StartContentUpload", StartContentUpload$) {
|
|
2043
1733
|
}
|
|
2044
1734
|
|
|
2045
|
-
class StartImportJobCommand extends
|
|
2046
|
-
.classBuilder()
|
|
2047
|
-
.ep(commonParams)
|
|
2048
|
-
.m(function (Command, cs, config, o) {
|
|
2049
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
2050
|
-
})
|
|
2051
|
-
.s("WisdomService", "StartImportJob", {})
|
|
2052
|
-
.n("WisdomClient", "StartImportJobCommand")
|
|
2053
|
-
.sc(StartImportJob$)
|
|
2054
|
-
.build() {
|
|
1735
|
+
class StartImportJobCommand extends command(_ep0, _mw0, "StartImportJob", StartImportJob$) {
|
|
2055
1736
|
}
|
|
2056
1737
|
|
|
2057
|
-
class TagResourceCommand extends
|
|
2058
|
-
.classBuilder()
|
|
2059
|
-
.ep(commonParams)
|
|
2060
|
-
.m(function (Command, cs, config, o) {
|
|
2061
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
2062
|
-
})
|
|
2063
|
-
.s("WisdomService", "TagResource", {})
|
|
2064
|
-
.n("WisdomClient", "TagResourceCommand")
|
|
2065
|
-
.sc(TagResource$)
|
|
2066
|
-
.build() {
|
|
1738
|
+
class TagResourceCommand extends command(_ep0, _mw0, "TagResource", TagResource$) {
|
|
2067
1739
|
}
|
|
2068
1740
|
|
|
2069
|
-
class UntagResourceCommand extends
|
|
2070
|
-
.classBuilder()
|
|
2071
|
-
.ep(commonParams)
|
|
2072
|
-
.m(function (Command, cs, config, o) {
|
|
2073
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
2074
|
-
})
|
|
2075
|
-
.s("WisdomService", "UntagResource", {})
|
|
2076
|
-
.n("WisdomClient", "UntagResourceCommand")
|
|
2077
|
-
.sc(UntagResource$)
|
|
2078
|
-
.build() {
|
|
1741
|
+
class UntagResourceCommand extends command(_ep0, _mw0, "UntagResource", UntagResource$) {
|
|
2079
1742
|
}
|
|
2080
1743
|
|
|
2081
|
-
class UpdateContentCommand extends
|
|
2082
|
-
.classBuilder()
|
|
2083
|
-
.ep(commonParams)
|
|
2084
|
-
.m(function (Command, cs, config, o) {
|
|
2085
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
2086
|
-
})
|
|
2087
|
-
.s("WisdomService", "UpdateContent", {})
|
|
2088
|
-
.n("WisdomClient", "UpdateContentCommand")
|
|
2089
|
-
.sc(UpdateContent$)
|
|
2090
|
-
.build() {
|
|
1744
|
+
class UpdateContentCommand extends command(_ep0, _mw0, "UpdateContent", UpdateContent$) {
|
|
2091
1745
|
}
|
|
2092
1746
|
|
|
2093
|
-
class UpdateKnowledgeBaseTemplateUriCommand extends
|
|
2094
|
-
.classBuilder()
|
|
2095
|
-
.ep(commonParams)
|
|
2096
|
-
.m(function (Command, cs, config, o) {
|
|
2097
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
2098
|
-
})
|
|
2099
|
-
.s("WisdomService", "UpdateKnowledgeBaseTemplateUri", {})
|
|
2100
|
-
.n("WisdomClient", "UpdateKnowledgeBaseTemplateUriCommand")
|
|
2101
|
-
.sc(UpdateKnowledgeBaseTemplateUri$)
|
|
2102
|
-
.build() {
|
|
1747
|
+
class UpdateKnowledgeBaseTemplateUriCommand extends command(_ep0, _mw0, "UpdateKnowledgeBaseTemplateUri", UpdateKnowledgeBaseTemplateUri$) {
|
|
2103
1748
|
}
|
|
2104
1749
|
|
|
2105
|
-
class UpdateQuickResponseCommand extends
|
|
2106
|
-
.classBuilder()
|
|
2107
|
-
.ep(commonParams)
|
|
2108
|
-
.m(function (Command, cs, config, o) {
|
|
2109
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
2110
|
-
})
|
|
2111
|
-
.s("WisdomService", "UpdateQuickResponse", {})
|
|
2112
|
-
.n("WisdomClient", "UpdateQuickResponseCommand")
|
|
2113
|
-
.sc(UpdateQuickResponse$)
|
|
2114
|
-
.build() {
|
|
1750
|
+
class UpdateQuickResponseCommand extends command(_ep0, _mw0, "UpdateQuickResponse", UpdateQuickResponse$) {
|
|
2115
1751
|
}
|
|
2116
1752
|
|
|
2117
1753
|
const paginateListAssistantAssociations = createPaginator(WisdomClient, ListAssistantAssociationsCommand, "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, "WisdomService", "WisdomClient", getEndpointPlugin);
|
|
5
|
+
export const _ep0 = {};
|
|
6
|
+
export const _mw0 = (Command, cs, config, o) => [];
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { CreateAssistantAssociation$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class CreateAssistantAssociationCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("WisdomService", "CreateAssistantAssociation", {})
|
|
13
|
-
.n("WisdomClient", "CreateAssistantAssociationCommand")
|
|
14
|
-
.sc(CreateAssistantAssociation$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class CreateAssistantAssociationCommand extends command(_ep0, _mw0, "CreateAssistantAssociation", CreateAssistantAssociation$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { CreateAssistant$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class CreateAssistantCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("WisdomService", "CreateAssistant", {})
|
|
13
|
-
.n("WisdomClient", "CreateAssistantCommand")
|
|
14
|
-
.sc(CreateAssistant$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class CreateAssistantCommand extends command(_ep0, _mw0, "CreateAssistant", CreateAssistant$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { CreateContent$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class CreateContentCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("WisdomService", "CreateContent", {})
|
|
13
|
-
.n("WisdomClient", "CreateContentCommand")
|
|
14
|
-
.sc(CreateContent$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class CreateContentCommand extends command(_ep0, _mw0, "CreateContent", CreateContent$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { CreateKnowledgeBase$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class CreateKnowledgeBaseCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("WisdomService", "CreateKnowledgeBase", {})
|
|
13
|
-
.n("WisdomClient", "CreateKnowledgeBaseCommand")
|
|
14
|
-
.sc(CreateKnowledgeBase$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class CreateKnowledgeBaseCommand extends command(_ep0, _mw0, "CreateKnowledgeBase", CreateKnowledgeBase$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { CreateQuickResponse$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class CreateQuickResponseCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("WisdomService", "CreateQuickResponse", {})
|
|
13
|
-
.n("WisdomClient", "CreateQuickResponseCommand")
|
|
14
|
-
.sc(CreateQuickResponse$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class CreateQuickResponseCommand extends command(_ep0, _mw0, "CreateQuickResponse", CreateQuickResponse$) {
|
|
16
4
|
}
|