@aws-sdk/client-qconnect 3.461.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/LICENSE +201 -0
- package/README.md +545 -0
- package/dist-cjs/QConnect.js +93 -0
- package/dist-cjs/QConnectClient.js +43 -0
- package/dist-cjs/commands/CreateAssistantAssociationCommand.js +51 -0
- package/dist-cjs/commands/CreateAssistantCommand.js +51 -0
- package/dist-cjs/commands/CreateContentCommand.js +52 -0
- package/dist-cjs/commands/CreateKnowledgeBaseCommand.js +51 -0
- package/dist-cjs/commands/CreateQuickResponseCommand.js +52 -0
- package/dist-cjs/commands/CreateSessionCommand.js +51 -0
- package/dist-cjs/commands/DeleteAssistantAssociationCommand.js +51 -0
- package/dist-cjs/commands/DeleteAssistantCommand.js +51 -0
- package/dist-cjs/commands/DeleteContentCommand.js +51 -0
- package/dist-cjs/commands/DeleteImportJobCommand.js +51 -0
- package/dist-cjs/commands/DeleteKnowledgeBaseCommand.js +51 -0
- package/dist-cjs/commands/DeleteQuickResponseCommand.js +51 -0
- package/dist-cjs/commands/GetAssistantAssociationCommand.js +51 -0
- package/dist-cjs/commands/GetAssistantCommand.js +51 -0
- package/dist-cjs/commands/GetContentCommand.js +52 -0
- package/dist-cjs/commands/GetContentSummaryCommand.js +51 -0
- package/dist-cjs/commands/GetImportJobCommand.js +52 -0
- package/dist-cjs/commands/GetKnowledgeBaseCommand.js +51 -0
- package/dist-cjs/commands/GetQuickResponseCommand.js +52 -0
- package/dist-cjs/commands/GetRecommendationsCommand.js +52 -0
- package/dist-cjs/commands/GetSessionCommand.js +51 -0
- package/dist-cjs/commands/ListAssistantAssociationsCommand.js +51 -0
- package/dist-cjs/commands/ListAssistantsCommand.js +51 -0
- package/dist-cjs/commands/ListContentsCommand.js +51 -0
- package/dist-cjs/commands/ListImportJobsCommand.js +51 -0
- package/dist-cjs/commands/ListKnowledgeBasesCommand.js +51 -0
- package/dist-cjs/commands/ListQuickResponsesCommand.js +52 -0
- package/dist-cjs/commands/ListTagsForResourceCommand.js +51 -0
- package/dist-cjs/commands/NotifyRecommendationsReceivedCommand.js +51 -0
- package/dist-cjs/commands/QueryAssistantCommand.js +52 -0
- package/dist-cjs/commands/RemoveKnowledgeBaseTemplateUriCommand.js +51 -0
- package/dist-cjs/commands/SearchContentCommand.js +51 -0
- package/dist-cjs/commands/SearchQuickResponsesCommand.js +52 -0
- package/dist-cjs/commands/SearchSessionsCommand.js +51 -0
- package/dist-cjs/commands/StartContentUploadCommand.js +52 -0
- package/dist-cjs/commands/StartImportJobCommand.js +52 -0
- package/dist-cjs/commands/TagResourceCommand.js +51 -0
- package/dist-cjs/commands/UntagResourceCommand.js +51 -0
- package/dist-cjs/commands/UpdateContentCommand.js +52 -0
- package/dist-cjs/commands/UpdateKnowledgeBaseTemplateUriCommand.js +51 -0
- package/dist-cjs/commands/UpdateQuickResponseCommand.js +52 -0
- package/dist-cjs/commands/index.js +44 -0
- package/dist-cjs/endpoint/EndpointParameters.js +12 -0
- package/dist-cjs/endpoint/endpointResolver.js +12 -0
- package/dist-cjs/endpoint/ruleset.js +7 -0
- package/dist-cjs/extensionConfiguration.js +2 -0
- package/dist-cjs/index.js +12 -0
- package/dist-cjs/models/QConnectServiceException.js +12 -0
- package/dist-cjs/models/index.js +4 -0
- package/dist-cjs/models/models_0.js +559 -0
- package/dist-cjs/pagination/Interfaces.js +2 -0
- package/dist-cjs/pagination/ListAssistantAssociationsPaginator.js +29 -0
- package/dist-cjs/pagination/ListAssistantsPaginator.js +29 -0
- package/dist-cjs/pagination/ListContentsPaginator.js +29 -0
- package/dist-cjs/pagination/ListImportJobsPaginator.js +29 -0
- package/dist-cjs/pagination/ListKnowledgeBasesPaginator.js +29 -0
- package/dist-cjs/pagination/ListQuickResponsesPaginator.js +29 -0
- package/dist-cjs/pagination/QueryAssistantPaginator.js +29 -0
- package/dist-cjs/pagination/SearchContentPaginator.js +29 -0
- package/dist-cjs/pagination/SearchQuickResponsesPaginator.js +29 -0
- package/dist-cjs/pagination/SearchSessionsPaginator.js +29 -0
- package/dist-cjs/pagination/index.js +14 -0
- package/dist-cjs/protocols/Aws_restJson1.js +2993 -0
- package/dist-cjs/runtimeConfig.browser.js +39 -0
- package/dist-cjs/runtimeConfig.js +50 -0
- package/dist-cjs/runtimeConfig.native.js +15 -0
- package/dist-cjs/runtimeConfig.shared.js +24 -0
- package/dist-cjs/runtimeExtensions.js +22 -0
- package/dist-es/QConnect.js +89 -0
- package/dist-es/QConnectClient.js +39 -0
- package/dist-es/commands/CreateAssistantAssociationCommand.js +47 -0
- package/dist-es/commands/CreateAssistantCommand.js +47 -0
- package/dist-es/commands/CreateContentCommand.js +48 -0
- package/dist-es/commands/CreateKnowledgeBaseCommand.js +47 -0
- package/dist-es/commands/CreateQuickResponseCommand.js +48 -0
- package/dist-es/commands/CreateSessionCommand.js +47 -0
- package/dist-es/commands/DeleteAssistantAssociationCommand.js +47 -0
- package/dist-es/commands/DeleteAssistantCommand.js +47 -0
- package/dist-es/commands/DeleteContentCommand.js +47 -0
- package/dist-es/commands/DeleteImportJobCommand.js +47 -0
- package/dist-es/commands/DeleteKnowledgeBaseCommand.js +47 -0
- package/dist-es/commands/DeleteQuickResponseCommand.js +47 -0
- package/dist-es/commands/GetAssistantAssociationCommand.js +47 -0
- package/dist-es/commands/GetAssistantCommand.js +47 -0
- package/dist-es/commands/GetContentCommand.js +48 -0
- package/dist-es/commands/GetContentSummaryCommand.js +47 -0
- package/dist-es/commands/GetImportJobCommand.js +48 -0
- package/dist-es/commands/GetKnowledgeBaseCommand.js +47 -0
- package/dist-es/commands/GetQuickResponseCommand.js +48 -0
- package/dist-es/commands/GetRecommendationsCommand.js +48 -0
- package/dist-es/commands/GetSessionCommand.js +47 -0
- package/dist-es/commands/ListAssistantAssociationsCommand.js +47 -0
- package/dist-es/commands/ListAssistantsCommand.js +47 -0
- package/dist-es/commands/ListContentsCommand.js +47 -0
- package/dist-es/commands/ListImportJobsCommand.js +47 -0
- package/dist-es/commands/ListKnowledgeBasesCommand.js +47 -0
- package/dist-es/commands/ListQuickResponsesCommand.js +48 -0
- package/dist-es/commands/ListTagsForResourceCommand.js +47 -0
- package/dist-es/commands/NotifyRecommendationsReceivedCommand.js +47 -0
- package/dist-es/commands/QueryAssistantCommand.js +48 -0
- package/dist-es/commands/RemoveKnowledgeBaseTemplateUriCommand.js +47 -0
- package/dist-es/commands/SearchContentCommand.js +47 -0
- package/dist-es/commands/SearchQuickResponsesCommand.js +48 -0
- package/dist-es/commands/SearchSessionsCommand.js +47 -0
- package/dist-es/commands/StartContentUploadCommand.js +48 -0
- package/dist-es/commands/StartImportJobCommand.js +48 -0
- package/dist-es/commands/TagResourceCommand.js +47 -0
- package/dist-es/commands/UntagResourceCommand.js +47 -0
- package/dist-es/commands/UpdateContentCommand.js +48 -0
- package/dist-es/commands/UpdateKnowledgeBaseTemplateUriCommand.js +47 -0
- package/dist-es/commands/UpdateQuickResponseCommand.js +48 -0
- package/dist-es/commands/index.js +41 -0
- package/dist-es/endpoint/EndpointParameters.js +8 -0
- package/dist-es/endpoint/endpointResolver.js +8 -0
- package/dist-es/endpoint/ruleset.js +4 -0
- package/dist-es/extensionConfiguration.js +1 -0
- package/dist-es/index.js +7 -0
- package/dist-es/models/QConnectServiceException.js +8 -0
- package/dist-es/models/index.js +1 -0
- package/dist-es/models/models_0.js +508 -0
- package/dist-es/pagination/Interfaces.js +1 -0
- package/dist-es/pagination/ListAssistantAssociationsPaginator.js +25 -0
- package/dist-es/pagination/ListAssistantsPaginator.js +25 -0
- package/dist-es/pagination/ListContentsPaginator.js +25 -0
- package/dist-es/pagination/ListImportJobsPaginator.js +25 -0
- package/dist-es/pagination/ListKnowledgeBasesPaginator.js +25 -0
- package/dist-es/pagination/ListQuickResponsesPaginator.js +25 -0
- package/dist-es/pagination/QueryAssistantPaginator.js +25 -0
- package/dist-es/pagination/SearchContentPaginator.js +25 -0
- package/dist-es/pagination/SearchQuickResponsesPaginator.js +25 -0
- package/dist-es/pagination/SearchSessionsPaginator.js +25 -0
- package/dist-es/pagination/index.js +11 -0
- package/dist-es/protocols/Aws_restJson1.js +2907 -0
- package/dist-es/runtimeConfig.browser.js +34 -0
- package/dist-es/runtimeConfig.js +45 -0
- package/dist-es/runtimeConfig.native.js +11 -0
- package/dist-es/runtimeConfig.shared.js +20 -0
- package/dist-es/runtimeExtensions.js +18 -0
- package/dist-types/QConnect.d.ts +309 -0
- package/dist-types/QConnectClient.d.ts +222 -0
- package/dist-types/commands/CreateAssistantAssociationCommand.d.ts +117 -0
- package/dist-types/commands/CreateAssistantCommand.d.ts +117 -0
- package/dist-types/commands/CreateContentCommand.d.ts +123 -0
- package/dist-types/commands/CreateKnowledgeBaseCommand.d.ts +157 -0
- package/dist-types/commands/CreateQuickResponseCommand.d.ts +149 -0
- package/dist-types/commands/CreateSessionCommand.d.ts +104 -0
- package/dist-types/commands/DeleteAssistantAssociationCommand.d.ts +81 -0
- package/dist-types/commands/DeleteAssistantCommand.d.ts +80 -0
- package/dist-types/commands/DeleteContentCommand.d.ts +81 -0
- package/dist-types/commands/DeleteImportJobCommand.d.ts +87 -0
- package/dist-types/commands/DeleteKnowledgeBaseCommand.d.ts +94 -0
- package/dist-types/commands/DeleteQuickResponseCommand.d.ts +81 -0
- package/dist-types/commands/GetAssistantAssociationCommand.d.ts +98 -0
- package/dist-types/commands/GetAssistantCommand.d.ts +101 -0
- package/dist-types/commands/GetContentCommand.d.ts +102 -0
- package/dist-types/commands/GetContentSummaryCommand.d.ts +99 -0
- package/dist-types/commands/GetImportJobCommand.d.ts +106 -0
- package/dist-types/commands/GetKnowledgeBaseCommand.d.ts +107 -0
- package/dist-types/commands/GetQuickResponseCommand.d.ts +118 -0
- package/dist-types/commands/GetRecommendationsCommand.d.ts +239 -0
- package/dist-types/commands/GetSessionCommand.d.ts +94 -0
- package/dist-types/commands/ListAssistantAssociationsCommand.d.ts +102 -0
- package/dist-types/commands/ListAssistantsCommand.d.ts +102 -0
- package/dist-types/commands/ListContentsCommand.d.ts +103 -0
- package/dist-types/commands/ListImportJobsCommand.d.ts +104 -0
- package/dist-types/commands/ListKnowledgeBasesCommand.d.ts +107 -0
- package/dist-types/commands/ListQuickResponsesCommand.d.ts +106 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +78 -0
- package/dist-types/commands/NotifyRecommendationsReceivedCommand.d.ts +96 -0
- package/dist-types/commands/QueryAssistantCommand.d.ts +238 -0
- package/dist-types/commands/RemoveKnowledgeBaseTemplateUriCommand.d.ts +80 -0
- package/dist-types/commands/SearchContentCommand.d.ts +113 -0
- package/dist-types/commands/SearchQuickResponsesCommand.d.ts +163 -0
- package/dist-types/commands/SearchSessionsCommand.d.ts +101 -0
- package/dist-types/commands/StartContentUploadCommand.d.ts +92 -0
- package/dist-types/commands/StartImportJobCommand.d.ts +135 -0
- package/dist-types/commands/TagResourceCommand.d.ts +80 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +77 -0
- package/dist-types/commands/UpdateContentCommand.d.ts +114 -0
- package/dist-types/commands/UpdateKnowledgeBaseTemplateUriCommand.d.ts +113 -0
- package/dist-types/commands/UpdateQuickResponseCommand.d.ts +149 -0
- package/dist-types/commands/index.d.ts +41 -0
- package/dist-types/endpoint/EndpointParameters.d.ts +22 -0
- package/dist-types/endpoint/endpointResolver.d.ts +5 -0
- package/dist-types/endpoint/ruleset.d.ts +2 -0
- package/dist-types/extensionConfiguration.d.ts +8 -0
- package/dist-types/index.d.ts +27 -0
- package/dist-types/models/QConnectServiceException.d.ts +13 -0
- package/dist-types/models/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +4249 -0
- package/dist-types/pagination/Interfaces.d.ts +8 -0
- package/dist-types/pagination/ListAssistantAssociationsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListAssistantsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListContentsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListImportJobsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListKnowledgeBasesPaginator.d.ts +7 -0
- package/dist-types/pagination/ListQuickResponsesPaginator.d.ts +7 -0
- package/dist-types/pagination/QueryAssistantPaginator.d.ts +7 -0
- package/dist-types/pagination/SearchContentPaginator.d.ts +7 -0
- package/dist-types/pagination/SearchQuickResponsesPaginator.d.ts +7 -0
- package/dist-types/pagination/SearchSessionsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +11 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +371 -0
- package/dist-types/runtimeConfig.browser.d.ts +46 -0
- package/dist-types/runtimeConfig.d.ts +46 -0
- package/dist-types/runtimeConfig.native.d.ts +45 -0
- package/dist-types/runtimeConfig.shared.d.ts +19 -0
- package/dist-types/runtimeExtensions.d.ts +17 -0
- package/dist-types/ts3.4/QConnect.d.ts +702 -0
- package/dist-types/ts3.4/QConnectClient.d.ts +364 -0
- package/dist-types/ts3.4/commands/CreateAssistantAssociationCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/CreateAssistantCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/CreateContentCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/CreateKnowledgeBaseCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/CreateQuickResponseCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/CreateSessionCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/DeleteAssistantAssociationCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/DeleteAssistantCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/DeleteContentCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/DeleteImportJobCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/DeleteKnowledgeBaseCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/DeleteQuickResponseCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/GetAssistantAssociationCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/GetAssistantCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/GetContentCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/GetContentSummaryCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/GetImportJobCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/GetKnowledgeBaseCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/GetQuickResponseCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/GetRecommendationsCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/GetSessionCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/ListAssistantAssociationsCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/ListAssistantsCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/ListContentsCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/ListImportJobsCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/ListKnowledgeBasesCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/ListQuickResponsesCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/NotifyRecommendationsReceivedCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/QueryAssistantCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/RemoveKnowledgeBaseTemplateUriCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/SearchContentCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/SearchQuickResponsesCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/SearchSessionsCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/StartContentUploadCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/StartImportJobCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/UpdateContentCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/UpdateKnowledgeBaseTemplateUriCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/UpdateQuickResponseCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/index.d.ts +41 -0
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +33 -0
- package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
- package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
- package/dist-types/ts3.4/extensionConfiguration.d.ts +7 -0
- package/dist-types/ts3.4/index.d.ts +10 -0
- package/dist-types/ts3.4/models/QConnectServiceException.d.ts +8 -0
- package/dist-types/ts3.4/models/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +1241 -0
- package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
- package/dist-types/ts3.4/pagination/ListAssistantAssociationsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListAssistantsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListContentsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListImportJobsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListKnowledgeBasesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListQuickResponsesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/QueryAssistantPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/SearchContentPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/SearchQuickResponsesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/SearchSessionsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +11 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +497 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +97 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +97 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +88 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +19 -0
- package/dist-types/ts3.4/runtimeExtensions.d.ts +11 -0
- package/package.json +104 -0
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
|
|
4
|
+
import { ListAssistantAssociationsRequest, ListAssistantAssociationsResponse } from "../models/models_0";
|
|
5
|
+
import { QConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../QConnectClient";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export { __MetadataBearer, $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link ListAssistantAssociationsCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface ListAssistantAssociationsCommandInput extends ListAssistantAssociationsRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link ListAssistantAssociationsCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface ListAssistantAssociationsCommandOutput extends ListAssistantAssociationsResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* @public
|
|
26
|
+
* <p>Lists information about assistant associations.</p>
|
|
27
|
+
* @example
|
|
28
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
29
|
+
* ```javascript
|
|
30
|
+
* import { QConnectClient, ListAssistantAssociationsCommand } from "@aws-sdk/client-qconnect"; // ES Modules import
|
|
31
|
+
* // const { QConnectClient, ListAssistantAssociationsCommand } = require("@aws-sdk/client-qconnect"); // CommonJS import
|
|
32
|
+
* const client = new QConnectClient(config);
|
|
33
|
+
* const input = { // ListAssistantAssociationsRequest
|
|
34
|
+
* nextToken: "STRING_VALUE",
|
|
35
|
+
* maxResults: Number("int"),
|
|
36
|
+
* assistantId: "STRING_VALUE", // required
|
|
37
|
+
* };
|
|
38
|
+
* const command = new ListAssistantAssociationsCommand(input);
|
|
39
|
+
* const response = await client.send(command);
|
|
40
|
+
* // { // ListAssistantAssociationsResponse
|
|
41
|
+
* // assistantAssociationSummaries: [ // AssistantAssociationSummaryList // required
|
|
42
|
+
* // { // AssistantAssociationSummary
|
|
43
|
+
* // assistantAssociationId: "STRING_VALUE", // required
|
|
44
|
+
* // assistantAssociationArn: "STRING_VALUE", // required
|
|
45
|
+
* // assistantId: "STRING_VALUE", // required
|
|
46
|
+
* // assistantArn: "STRING_VALUE", // required
|
|
47
|
+
* // associationType: "STRING_VALUE", // required
|
|
48
|
+
* // associationData: { // AssistantAssociationOutputData Union: only one key present
|
|
49
|
+
* // knowledgeBaseAssociation: { // KnowledgeBaseAssociationData
|
|
50
|
+
* // knowledgeBaseId: "STRING_VALUE",
|
|
51
|
+
* // knowledgeBaseArn: "STRING_VALUE",
|
|
52
|
+
* // },
|
|
53
|
+
* // },
|
|
54
|
+
* // tags: { // Tags
|
|
55
|
+
* // "<keys>": "STRING_VALUE",
|
|
56
|
+
* // },
|
|
57
|
+
* // },
|
|
58
|
+
* // ],
|
|
59
|
+
* // nextToken: "STRING_VALUE",
|
|
60
|
+
* // };
|
|
61
|
+
*
|
|
62
|
+
* ```
|
|
63
|
+
*
|
|
64
|
+
* @param ListAssistantAssociationsCommandInput - {@link ListAssistantAssociationsCommandInput}
|
|
65
|
+
* @returns {@link ListAssistantAssociationsCommandOutput}
|
|
66
|
+
* @see {@link ListAssistantAssociationsCommandInput} for command's `input` shape.
|
|
67
|
+
* @see {@link ListAssistantAssociationsCommandOutput} for command's `response` shape.
|
|
68
|
+
* @see {@link QConnectClientResolvedConfig | config} for QConnectClient's `config` shape.
|
|
69
|
+
*
|
|
70
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
71
|
+
* <p>You do not have sufficient access to perform this action.</p>
|
|
72
|
+
*
|
|
73
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
74
|
+
* <p>The specified resource does not exist.</p>
|
|
75
|
+
*
|
|
76
|
+
* @throws {@link ValidationException} (client fault)
|
|
77
|
+
* <p>The input fails to satisfy the constraints specified by a service.</p>
|
|
78
|
+
*
|
|
79
|
+
* @throws {@link QConnectServiceException}
|
|
80
|
+
* <p>Base exception class for all service exceptions from QConnect service.</p>
|
|
81
|
+
*
|
|
82
|
+
*/
|
|
83
|
+
export declare class ListAssistantAssociationsCommand extends $Command<ListAssistantAssociationsCommandInput, ListAssistantAssociationsCommandOutput, QConnectClientResolvedConfig> {
|
|
84
|
+
readonly input: ListAssistantAssociationsCommandInput;
|
|
85
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
86
|
+
/**
|
|
87
|
+
* @public
|
|
88
|
+
*/
|
|
89
|
+
constructor(input: ListAssistantAssociationsCommandInput);
|
|
90
|
+
/**
|
|
91
|
+
* @internal
|
|
92
|
+
*/
|
|
93
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: QConnectClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListAssistantAssociationsCommandInput, ListAssistantAssociationsCommandOutput>;
|
|
94
|
+
/**
|
|
95
|
+
* @internal
|
|
96
|
+
*/
|
|
97
|
+
private serialize;
|
|
98
|
+
/**
|
|
99
|
+
* @internal
|
|
100
|
+
*/
|
|
101
|
+
private deserialize;
|
|
102
|
+
}
|
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
|
|
4
|
+
import { ListAssistantsRequest, ListAssistantsResponse } from "../models/models_0";
|
|
5
|
+
import { QConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../QConnectClient";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export { __MetadataBearer, $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link ListAssistantsCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface ListAssistantsCommandInput extends ListAssistantsRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link ListAssistantsCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface ListAssistantsCommandOutput extends ListAssistantsResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* @public
|
|
26
|
+
* <p>Lists information about assistants.</p>
|
|
27
|
+
* @example
|
|
28
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
29
|
+
* ```javascript
|
|
30
|
+
* import { QConnectClient, ListAssistantsCommand } from "@aws-sdk/client-qconnect"; // ES Modules import
|
|
31
|
+
* // const { QConnectClient, ListAssistantsCommand } = require("@aws-sdk/client-qconnect"); // CommonJS import
|
|
32
|
+
* const client = new QConnectClient(config);
|
|
33
|
+
* const input = { // ListAssistantsRequest
|
|
34
|
+
* nextToken: "STRING_VALUE",
|
|
35
|
+
* maxResults: Number("int"),
|
|
36
|
+
* };
|
|
37
|
+
* const command = new ListAssistantsCommand(input);
|
|
38
|
+
* const response = await client.send(command);
|
|
39
|
+
* // { // ListAssistantsResponse
|
|
40
|
+
* // assistantSummaries: [ // AssistantList // required
|
|
41
|
+
* // { // AssistantSummary
|
|
42
|
+
* // assistantId: "STRING_VALUE", // required
|
|
43
|
+
* // assistantArn: "STRING_VALUE", // required
|
|
44
|
+
* // name: "STRING_VALUE", // required
|
|
45
|
+
* // type: "STRING_VALUE", // required
|
|
46
|
+
* // status: "STRING_VALUE", // required
|
|
47
|
+
* // description: "STRING_VALUE",
|
|
48
|
+
* // tags: { // Tags
|
|
49
|
+
* // "<keys>": "STRING_VALUE",
|
|
50
|
+
* // },
|
|
51
|
+
* // serverSideEncryptionConfiguration: { // ServerSideEncryptionConfiguration
|
|
52
|
+
* // kmsKeyId: "STRING_VALUE",
|
|
53
|
+
* // },
|
|
54
|
+
* // integrationConfiguration: { // AssistantIntegrationConfiguration
|
|
55
|
+
* // topicIntegrationArn: "STRING_VALUE",
|
|
56
|
+
* // },
|
|
57
|
+
* // capabilityConfiguration: { // AssistantCapabilityConfiguration
|
|
58
|
+
* // type: "STRING_VALUE",
|
|
59
|
+
* // },
|
|
60
|
+
* // },
|
|
61
|
+
* // ],
|
|
62
|
+
* // nextToken: "STRING_VALUE",
|
|
63
|
+
* // };
|
|
64
|
+
*
|
|
65
|
+
* ```
|
|
66
|
+
*
|
|
67
|
+
* @param ListAssistantsCommandInput - {@link ListAssistantsCommandInput}
|
|
68
|
+
* @returns {@link ListAssistantsCommandOutput}
|
|
69
|
+
* @see {@link ListAssistantsCommandInput} for command's `input` shape.
|
|
70
|
+
* @see {@link ListAssistantsCommandOutput} for command's `response` shape.
|
|
71
|
+
* @see {@link QConnectClientResolvedConfig | config} for QConnectClient's `config` shape.
|
|
72
|
+
*
|
|
73
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
74
|
+
* <p>You do not have sufficient access to perform this action.</p>
|
|
75
|
+
*
|
|
76
|
+
* @throws {@link ValidationException} (client fault)
|
|
77
|
+
* <p>The input fails to satisfy the constraints specified by a service.</p>
|
|
78
|
+
*
|
|
79
|
+
* @throws {@link QConnectServiceException}
|
|
80
|
+
* <p>Base exception class for all service exceptions from QConnect service.</p>
|
|
81
|
+
*
|
|
82
|
+
*/
|
|
83
|
+
export declare class ListAssistantsCommand extends $Command<ListAssistantsCommandInput, ListAssistantsCommandOutput, QConnectClientResolvedConfig> {
|
|
84
|
+
readonly input: ListAssistantsCommandInput;
|
|
85
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
86
|
+
/**
|
|
87
|
+
* @public
|
|
88
|
+
*/
|
|
89
|
+
constructor(input: ListAssistantsCommandInput);
|
|
90
|
+
/**
|
|
91
|
+
* @internal
|
|
92
|
+
*/
|
|
93
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: QConnectClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListAssistantsCommandInput, ListAssistantsCommandOutput>;
|
|
94
|
+
/**
|
|
95
|
+
* @internal
|
|
96
|
+
*/
|
|
97
|
+
private serialize;
|
|
98
|
+
/**
|
|
99
|
+
* @internal
|
|
100
|
+
*/
|
|
101
|
+
private deserialize;
|
|
102
|
+
}
|
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
|
|
4
|
+
import { ListContentsRequest, ListContentsResponse } from "../models/models_0";
|
|
5
|
+
import { QConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../QConnectClient";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export { __MetadataBearer, $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link ListContentsCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface ListContentsCommandInput extends ListContentsRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link ListContentsCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface ListContentsCommandOutput extends ListContentsResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* @public
|
|
26
|
+
* <p>Lists the content.</p>
|
|
27
|
+
* @example
|
|
28
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
29
|
+
* ```javascript
|
|
30
|
+
* import { QConnectClient, ListContentsCommand } from "@aws-sdk/client-qconnect"; // ES Modules import
|
|
31
|
+
* // const { QConnectClient, ListContentsCommand } = require("@aws-sdk/client-qconnect"); // CommonJS import
|
|
32
|
+
* const client = new QConnectClient(config);
|
|
33
|
+
* const input = { // ListContentsRequest
|
|
34
|
+
* nextToken: "STRING_VALUE",
|
|
35
|
+
* maxResults: Number("int"),
|
|
36
|
+
* knowledgeBaseId: "STRING_VALUE", // required
|
|
37
|
+
* };
|
|
38
|
+
* const command = new ListContentsCommand(input);
|
|
39
|
+
* const response = await client.send(command);
|
|
40
|
+
* // { // ListContentsResponse
|
|
41
|
+
* // contentSummaries: [ // ContentSummaryList // required
|
|
42
|
+
* // { // ContentSummary
|
|
43
|
+
* // contentArn: "STRING_VALUE", // required
|
|
44
|
+
* // contentId: "STRING_VALUE", // required
|
|
45
|
+
* // knowledgeBaseArn: "STRING_VALUE", // required
|
|
46
|
+
* // knowledgeBaseId: "STRING_VALUE", // required
|
|
47
|
+
* // name: "STRING_VALUE", // required
|
|
48
|
+
* // revisionId: "STRING_VALUE", // required
|
|
49
|
+
* // title: "STRING_VALUE", // required
|
|
50
|
+
* // contentType: "STRING_VALUE", // required
|
|
51
|
+
* // status: "STRING_VALUE", // required
|
|
52
|
+
* // metadata: { // ContentMetadata // required
|
|
53
|
+
* // "<keys>": "STRING_VALUE",
|
|
54
|
+
* // },
|
|
55
|
+
* // tags: { // Tags
|
|
56
|
+
* // "<keys>": "STRING_VALUE",
|
|
57
|
+
* // },
|
|
58
|
+
* // },
|
|
59
|
+
* // ],
|
|
60
|
+
* // nextToken: "STRING_VALUE",
|
|
61
|
+
* // };
|
|
62
|
+
*
|
|
63
|
+
* ```
|
|
64
|
+
*
|
|
65
|
+
* @param ListContentsCommandInput - {@link ListContentsCommandInput}
|
|
66
|
+
* @returns {@link ListContentsCommandOutput}
|
|
67
|
+
* @see {@link ListContentsCommandInput} for command's `input` shape.
|
|
68
|
+
* @see {@link ListContentsCommandOutput} for command's `response` shape.
|
|
69
|
+
* @see {@link QConnectClientResolvedConfig | config} for QConnectClient's `config` shape.
|
|
70
|
+
*
|
|
71
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
72
|
+
* <p>You do not have sufficient access to perform this action.</p>
|
|
73
|
+
*
|
|
74
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
75
|
+
* <p>The specified resource does not exist.</p>
|
|
76
|
+
*
|
|
77
|
+
* @throws {@link ValidationException} (client fault)
|
|
78
|
+
* <p>The input fails to satisfy the constraints specified by a service.</p>
|
|
79
|
+
*
|
|
80
|
+
* @throws {@link QConnectServiceException}
|
|
81
|
+
* <p>Base exception class for all service exceptions from QConnect service.</p>
|
|
82
|
+
*
|
|
83
|
+
*/
|
|
84
|
+
export declare class ListContentsCommand extends $Command<ListContentsCommandInput, ListContentsCommandOutput, QConnectClientResolvedConfig> {
|
|
85
|
+
readonly input: ListContentsCommandInput;
|
|
86
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
87
|
+
/**
|
|
88
|
+
* @public
|
|
89
|
+
*/
|
|
90
|
+
constructor(input: ListContentsCommandInput);
|
|
91
|
+
/**
|
|
92
|
+
* @internal
|
|
93
|
+
*/
|
|
94
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: QConnectClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListContentsCommandInput, ListContentsCommandOutput>;
|
|
95
|
+
/**
|
|
96
|
+
* @internal
|
|
97
|
+
*/
|
|
98
|
+
private serialize;
|
|
99
|
+
/**
|
|
100
|
+
* @internal
|
|
101
|
+
*/
|
|
102
|
+
private deserialize;
|
|
103
|
+
}
|
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
|
|
4
|
+
import { ListImportJobsRequest, ListImportJobsResponse } from "../models/models_0";
|
|
5
|
+
import { QConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../QConnectClient";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export { __MetadataBearer, $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link ListImportJobsCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface ListImportJobsCommandInput extends ListImportJobsRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link ListImportJobsCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface ListImportJobsCommandOutput extends ListImportJobsResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* @public
|
|
26
|
+
* <p>Lists information about import jobs.</p>
|
|
27
|
+
* @example
|
|
28
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
29
|
+
* ```javascript
|
|
30
|
+
* import { QConnectClient, ListImportJobsCommand } from "@aws-sdk/client-qconnect"; // ES Modules import
|
|
31
|
+
* // const { QConnectClient, ListImportJobsCommand } = require("@aws-sdk/client-qconnect"); // CommonJS import
|
|
32
|
+
* const client = new QConnectClient(config);
|
|
33
|
+
* const input = { // ListImportJobsRequest
|
|
34
|
+
* nextToken: "STRING_VALUE",
|
|
35
|
+
* maxResults: Number("int"),
|
|
36
|
+
* knowledgeBaseId: "STRING_VALUE", // required
|
|
37
|
+
* };
|
|
38
|
+
* const command = new ListImportJobsCommand(input);
|
|
39
|
+
* const response = await client.send(command);
|
|
40
|
+
* // { // ListImportJobsResponse
|
|
41
|
+
* // importJobSummaries: [ // ImportJobList // required
|
|
42
|
+
* // { // ImportJobSummary
|
|
43
|
+
* // importJobId: "STRING_VALUE", // required
|
|
44
|
+
* // knowledgeBaseId: "STRING_VALUE", // required
|
|
45
|
+
* // uploadId: "STRING_VALUE", // required
|
|
46
|
+
* // knowledgeBaseArn: "STRING_VALUE", // required
|
|
47
|
+
* // importJobType: "STRING_VALUE", // required
|
|
48
|
+
* // status: "STRING_VALUE", // required
|
|
49
|
+
* // createdTime: new Date("TIMESTAMP"), // required
|
|
50
|
+
* // lastModifiedTime: new Date("TIMESTAMP"), // required
|
|
51
|
+
* // metadata: { // ContentMetadata
|
|
52
|
+
* // "<keys>": "STRING_VALUE",
|
|
53
|
+
* // },
|
|
54
|
+
* // externalSourceConfiguration: { // ExternalSourceConfiguration
|
|
55
|
+
* // source: "STRING_VALUE", // required
|
|
56
|
+
* // configuration: { // Configuration Union: only one key present
|
|
57
|
+
* // connectConfiguration: { // ConnectConfiguration
|
|
58
|
+
* // instanceId: "STRING_VALUE",
|
|
59
|
+
* // },
|
|
60
|
+
* // },
|
|
61
|
+
* // },
|
|
62
|
+
* // },
|
|
63
|
+
* // ],
|
|
64
|
+
* // nextToken: "STRING_VALUE",
|
|
65
|
+
* // };
|
|
66
|
+
*
|
|
67
|
+
* ```
|
|
68
|
+
*
|
|
69
|
+
* @param ListImportJobsCommandInput - {@link ListImportJobsCommandInput}
|
|
70
|
+
* @returns {@link ListImportJobsCommandOutput}
|
|
71
|
+
* @see {@link ListImportJobsCommandInput} for command's `input` shape.
|
|
72
|
+
* @see {@link ListImportJobsCommandOutput} for command's `response` shape.
|
|
73
|
+
* @see {@link QConnectClientResolvedConfig | config} for QConnectClient's `config` shape.
|
|
74
|
+
*
|
|
75
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
76
|
+
* <p>You do not have sufficient access to perform this action.</p>
|
|
77
|
+
*
|
|
78
|
+
* @throws {@link ValidationException} (client fault)
|
|
79
|
+
* <p>The input fails to satisfy the constraints specified by a service.</p>
|
|
80
|
+
*
|
|
81
|
+
* @throws {@link QConnectServiceException}
|
|
82
|
+
* <p>Base exception class for all service exceptions from QConnect service.</p>
|
|
83
|
+
*
|
|
84
|
+
*/
|
|
85
|
+
export declare class ListImportJobsCommand extends $Command<ListImportJobsCommandInput, ListImportJobsCommandOutput, QConnectClientResolvedConfig> {
|
|
86
|
+
readonly input: ListImportJobsCommandInput;
|
|
87
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
88
|
+
/**
|
|
89
|
+
* @public
|
|
90
|
+
*/
|
|
91
|
+
constructor(input: ListImportJobsCommandInput);
|
|
92
|
+
/**
|
|
93
|
+
* @internal
|
|
94
|
+
*/
|
|
95
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: QConnectClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListImportJobsCommandInput, ListImportJobsCommandOutput>;
|
|
96
|
+
/**
|
|
97
|
+
* @internal
|
|
98
|
+
*/
|
|
99
|
+
private serialize;
|
|
100
|
+
/**
|
|
101
|
+
* @internal
|
|
102
|
+
*/
|
|
103
|
+
private deserialize;
|
|
104
|
+
}
|
|
@@ -0,0 +1,107 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
|
|
4
|
+
import { ListKnowledgeBasesRequest, ListKnowledgeBasesResponse } from "../models/models_0";
|
|
5
|
+
import { QConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../QConnectClient";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export { __MetadataBearer, $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link ListKnowledgeBasesCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface ListKnowledgeBasesCommandInput extends ListKnowledgeBasesRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link ListKnowledgeBasesCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface ListKnowledgeBasesCommandOutput extends ListKnowledgeBasesResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* @public
|
|
26
|
+
* <p>Lists the knowledge bases.</p>
|
|
27
|
+
* @example
|
|
28
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
29
|
+
* ```javascript
|
|
30
|
+
* import { QConnectClient, ListKnowledgeBasesCommand } from "@aws-sdk/client-qconnect"; // ES Modules import
|
|
31
|
+
* // const { QConnectClient, ListKnowledgeBasesCommand } = require("@aws-sdk/client-qconnect"); // CommonJS import
|
|
32
|
+
* const client = new QConnectClient(config);
|
|
33
|
+
* const input = { // ListKnowledgeBasesRequest
|
|
34
|
+
* nextToken: "STRING_VALUE",
|
|
35
|
+
* maxResults: Number("int"),
|
|
36
|
+
* };
|
|
37
|
+
* const command = new ListKnowledgeBasesCommand(input);
|
|
38
|
+
* const response = await client.send(command);
|
|
39
|
+
* // { // ListKnowledgeBasesResponse
|
|
40
|
+
* // knowledgeBaseSummaries: [ // KnowledgeBaseList // required
|
|
41
|
+
* // { // KnowledgeBaseSummary
|
|
42
|
+
* // knowledgeBaseId: "STRING_VALUE", // required
|
|
43
|
+
* // knowledgeBaseArn: "STRING_VALUE", // required
|
|
44
|
+
* // name: "STRING_VALUE", // required
|
|
45
|
+
* // knowledgeBaseType: "STRING_VALUE", // required
|
|
46
|
+
* // status: "STRING_VALUE", // required
|
|
47
|
+
* // sourceConfiguration: { // SourceConfiguration Union: only one key present
|
|
48
|
+
* // appIntegrations: { // AppIntegrationsConfiguration
|
|
49
|
+
* // appIntegrationArn: "STRING_VALUE", // required
|
|
50
|
+
* // objectFields: [ // ObjectFieldsList
|
|
51
|
+
* // "STRING_VALUE",
|
|
52
|
+
* // ],
|
|
53
|
+
* // },
|
|
54
|
+
* // },
|
|
55
|
+
* // renderingConfiguration: { // RenderingConfiguration
|
|
56
|
+
* // templateUri: "STRING_VALUE",
|
|
57
|
+
* // },
|
|
58
|
+
* // serverSideEncryptionConfiguration: { // ServerSideEncryptionConfiguration
|
|
59
|
+
* // kmsKeyId: "STRING_VALUE",
|
|
60
|
+
* // },
|
|
61
|
+
* // description: "STRING_VALUE",
|
|
62
|
+
* // tags: { // Tags
|
|
63
|
+
* // "<keys>": "STRING_VALUE",
|
|
64
|
+
* // },
|
|
65
|
+
* // },
|
|
66
|
+
* // ],
|
|
67
|
+
* // nextToken: "STRING_VALUE",
|
|
68
|
+
* // };
|
|
69
|
+
*
|
|
70
|
+
* ```
|
|
71
|
+
*
|
|
72
|
+
* @param ListKnowledgeBasesCommandInput - {@link ListKnowledgeBasesCommandInput}
|
|
73
|
+
* @returns {@link ListKnowledgeBasesCommandOutput}
|
|
74
|
+
* @see {@link ListKnowledgeBasesCommandInput} for command's `input` shape.
|
|
75
|
+
* @see {@link ListKnowledgeBasesCommandOutput} for command's `response` shape.
|
|
76
|
+
* @see {@link QConnectClientResolvedConfig | config} for QConnectClient's `config` shape.
|
|
77
|
+
*
|
|
78
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
79
|
+
* <p>You do not have sufficient access to perform this action.</p>
|
|
80
|
+
*
|
|
81
|
+
* @throws {@link ValidationException} (client fault)
|
|
82
|
+
* <p>The input fails to satisfy the constraints specified by a service.</p>
|
|
83
|
+
*
|
|
84
|
+
* @throws {@link QConnectServiceException}
|
|
85
|
+
* <p>Base exception class for all service exceptions from QConnect service.</p>
|
|
86
|
+
*
|
|
87
|
+
*/
|
|
88
|
+
export declare class ListKnowledgeBasesCommand extends $Command<ListKnowledgeBasesCommandInput, ListKnowledgeBasesCommandOutput, QConnectClientResolvedConfig> {
|
|
89
|
+
readonly input: ListKnowledgeBasesCommandInput;
|
|
90
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
91
|
+
/**
|
|
92
|
+
* @public
|
|
93
|
+
*/
|
|
94
|
+
constructor(input: ListKnowledgeBasesCommandInput);
|
|
95
|
+
/**
|
|
96
|
+
* @internal
|
|
97
|
+
*/
|
|
98
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: QConnectClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListKnowledgeBasesCommandInput, ListKnowledgeBasesCommandOutput>;
|
|
99
|
+
/**
|
|
100
|
+
* @internal
|
|
101
|
+
*/
|
|
102
|
+
private serialize;
|
|
103
|
+
/**
|
|
104
|
+
* @internal
|
|
105
|
+
*/
|
|
106
|
+
private deserialize;
|
|
107
|
+
}
|
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
|
|
4
|
+
import { ListQuickResponsesRequest, ListQuickResponsesResponse } from "../models/models_0";
|
|
5
|
+
import { QConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../QConnectClient";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export { __MetadataBearer, $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link ListQuickResponsesCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface ListQuickResponsesCommandInput extends ListQuickResponsesRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link ListQuickResponsesCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface ListQuickResponsesCommandOutput extends ListQuickResponsesResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* @public
|
|
26
|
+
* <p>Lists information about quick response.</p>
|
|
27
|
+
* @example
|
|
28
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
29
|
+
* ```javascript
|
|
30
|
+
* import { QConnectClient, ListQuickResponsesCommand } from "@aws-sdk/client-qconnect"; // ES Modules import
|
|
31
|
+
* // const { QConnectClient, ListQuickResponsesCommand } = require("@aws-sdk/client-qconnect"); // CommonJS import
|
|
32
|
+
* const client = new QConnectClient(config);
|
|
33
|
+
* const input = { // ListQuickResponsesRequest
|
|
34
|
+
* nextToken: "STRING_VALUE",
|
|
35
|
+
* maxResults: Number("int"),
|
|
36
|
+
* knowledgeBaseId: "STRING_VALUE", // required
|
|
37
|
+
* };
|
|
38
|
+
* const command = new ListQuickResponsesCommand(input);
|
|
39
|
+
* const response = await client.send(command);
|
|
40
|
+
* // { // ListQuickResponsesResponse
|
|
41
|
+
* // quickResponseSummaries: [ // QuickResponseSummaryList // required
|
|
42
|
+
* // { // QuickResponseSummary
|
|
43
|
+
* // quickResponseArn: "STRING_VALUE", // required
|
|
44
|
+
* // quickResponseId: "STRING_VALUE", // required
|
|
45
|
+
* // knowledgeBaseArn: "STRING_VALUE", // required
|
|
46
|
+
* // knowledgeBaseId: "STRING_VALUE", // required
|
|
47
|
+
* // name: "STRING_VALUE", // required
|
|
48
|
+
* // contentType: "STRING_VALUE", // required
|
|
49
|
+
* // status: "STRING_VALUE", // required
|
|
50
|
+
* // createdTime: new Date("TIMESTAMP"), // required
|
|
51
|
+
* // lastModifiedTime: new Date("TIMESTAMP"), // required
|
|
52
|
+
* // description: "STRING_VALUE",
|
|
53
|
+
* // lastModifiedBy: "STRING_VALUE",
|
|
54
|
+
* // isActive: true || false,
|
|
55
|
+
* // channels: [ // Channels
|
|
56
|
+
* // "STRING_VALUE",
|
|
57
|
+
* // ],
|
|
58
|
+
* // tags: { // Tags
|
|
59
|
+
* // "<keys>": "STRING_VALUE",
|
|
60
|
+
* // },
|
|
61
|
+
* // },
|
|
62
|
+
* // ],
|
|
63
|
+
* // nextToken: "STRING_VALUE",
|
|
64
|
+
* // };
|
|
65
|
+
*
|
|
66
|
+
* ```
|
|
67
|
+
*
|
|
68
|
+
* @param ListQuickResponsesCommandInput - {@link ListQuickResponsesCommandInput}
|
|
69
|
+
* @returns {@link ListQuickResponsesCommandOutput}
|
|
70
|
+
* @see {@link ListQuickResponsesCommandInput} for command's `input` shape.
|
|
71
|
+
* @see {@link ListQuickResponsesCommandOutput} for command's `response` shape.
|
|
72
|
+
* @see {@link QConnectClientResolvedConfig | config} for QConnectClient's `config` shape.
|
|
73
|
+
*
|
|
74
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
75
|
+
* <p>You do not have sufficient access to perform this action.</p>
|
|
76
|
+
*
|
|
77
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
78
|
+
* <p>The specified resource does not exist.</p>
|
|
79
|
+
*
|
|
80
|
+
* @throws {@link ValidationException} (client fault)
|
|
81
|
+
* <p>The input fails to satisfy the constraints specified by a service.</p>
|
|
82
|
+
*
|
|
83
|
+
* @throws {@link QConnectServiceException}
|
|
84
|
+
* <p>Base exception class for all service exceptions from QConnect service.</p>
|
|
85
|
+
*
|
|
86
|
+
*/
|
|
87
|
+
export declare class ListQuickResponsesCommand extends $Command<ListQuickResponsesCommandInput, ListQuickResponsesCommandOutput, QConnectClientResolvedConfig> {
|
|
88
|
+
readonly input: ListQuickResponsesCommandInput;
|
|
89
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
90
|
+
/**
|
|
91
|
+
* @public
|
|
92
|
+
*/
|
|
93
|
+
constructor(input: ListQuickResponsesCommandInput);
|
|
94
|
+
/**
|
|
95
|
+
* @internal
|
|
96
|
+
*/
|
|
97
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: QConnectClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListQuickResponsesCommandInput, ListQuickResponsesCommandOutput>;
|
|
98
|
+
/**
|
|
99
|
+
* @internal
|
|
100
|
+
*/
|
|
101
|
+
private serialize;
|
|
102
|
+
/**
|
|
103
|
+
* @internal
|
|
104
|
+
*/
|
|
105
|
+
private deserialize;
|
|
106
|
+
}
|