@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,559 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.RecommendationTriggerDataFilterSensitiveLog = exports.QueryRecommendationTriggerDataFilterSensitiveLog = exports.DocumentFilterSensitiveLog = exports.SourceContentDataDetailsFilterSensitiveLog = exports.ContentDataDetailsFilterSensitiveLog = exports.TextDataFilterSensitiveLog = exports.DocumentTextFilterSensitiveLog = exports.DataDetails = exports.TooManyTagsException = exports.Priority = exports.QuickResponseQueryOperator = exports.Order = exports.QuickResponseFilterOperator = exports.ImportJobStatus = exports.ImportJobType = exports.ExternalSource = exports.QuickResponseStatus = exports.QuickResponseContentProvider = exports.QuickResponseDataProvider = exports.KnowledgeBaseStatus = exports.SourceConfiguration = exports.KnowledgeBaseType = exports.PreconditionFailedException = exports.ContentStatus = exports.Configuration = exports.FilterOperator = exports.FilterField = exports.RequestTimeoutException = exports.QueryResultType = exports.QueryCondition = exports.QueryConditionFieldName = exports.QueryConditionComparisonOperator = exports.RecommendationTriggerType = exports.RecommendationSourceType = exports.RecommendationTriggerData = exports.RecommendationType = exports.DataReference = exports.SourceContentType = exports.RelevanceLevel = exports.AssistantStatus = exports.AssistantCapabilityType = exports.AssistantType = exports.ValidationException = exports.ServiceQuotaExceededException = exports.ResourceNotFoundException = exports.AssistantAssociationOutputData = exports.AssociationType = exports.AssistantAssociationInputData = exports.ConflictException = exports.AccessDeniedException = void 0;
|
|
4
|
+
exports.QueryAssistantResponseFilterSensitiveLog = exports.GetRecommendationsResponseFilterSensitiveLog = exports.ResultDataFilterSensitiveLog = exports.RecommendationDataFilterSensitiveLog = exports.GenerativeDataDetailsFilterSensitiveLog = exports.DataSummaryFilterSensitiveLog = exports.DataDetailsFilterSensitiveLog = exports.StartImportJobResponseFilterSensitiveLog = exports.StartContentUploadResponseFilterSensitiveLog = exports.SearchQuickResponsesResponseFilterSensitiveLog = exports.QuickResponseSearchResultDataFilterSensitiveLog = exports.SearchQuickResponsesRequestFilterSensitiveLog = exports.UpdateQuickResponseResponseFilterSensitiveLog = exports.UpdateQuickResponseRequestFilterSensitiveLog = exports.ListQuickResponsesResponseFilterSensitiveLog = exports.QuickResponseSummaryFilterSensitiveLog = exports.GetQuickResponseResponseFilterSensitiveLog = exports.GetImportJobResponseFilterSensitiveLog = exports.ImportJobDataFilterSensitiveLog = exports.CreateQuickResponseResponseFilterSensitiveLog = exports.QuickResponseDataFilterSensitiveLog = exports.QuickResponseContentsFilterSensitiveLog = exports.QuickResponseContentProviderFilterSensitiveLog = exports.CreateQuickResponseRequestFilterSensitiveLog = exports.GroupingConfigurationFilterSensitiveLog = exports.QuickResponseDataProviderFilterSensitiveLog = exports.UpdateContentResponseFilterSensitiveLog = exports.GetContentResponseFilterSensitiveLog = exports.CreateContentResponseFilterSensitiveLog = exports.ContentDataFilterSensitiveLog = exports.QueryAssistantRequestFilterSensitiveLog = exports.RecommendationTriggerFilterSensitiveLog = void 0;
|
|
5
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
6
|
+
const QConnectServiceException_1 = require("./QConnectServiceException");
|
|
7
|
+
class AccessDeniedException extends QConnectServiceException_1.QConnectServiceException {
|
|
8
|
+
constructor(opts) {
|
|
9
|
+
super({
|
|
10
|
+
name: "AccessDeniedException",
|
|
11
|
+
$fault: "client",
|
|
12
|
+
...opts,
|
|
13
|
+
});
|
|
14
|
+
this.name = "AccessDeniedException";
|
|
15
|
+
this.$fault = "client";
|
|
16
|
+
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
exports.AccessDeniedException = AccessDeniedException;
|
|
20
|
+
class ConflictException extends QConnectServiceException_1.QConnectServiceException {
|
|
21
|
+
constructor(opts) {
|
|
22
|
+
super({
|
|
23
|
+
name: "ConflictException",
|
|
24
|
+
$fault: "client",
|
|
25
|
+
...opts,
|
|
26
|
+
});
|
|
27
|
+
this.name = "ConflictException";
|
|
28
|
+
this.$fault = "client";
|
|
29
|
+
Object.setPrototypeOf(this, ConflictException.prototype);
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
exports.ConflictException = ConflictException;
|
|
33
|
+
var AssistantAssociationInputData;
|
|
34
|
+
(function (AssistantAssociationInputData) {
|
|
35
|
+
AssistantAssociationInputData.visit = (value, visitor) => {
|
|
36
|
+
if (value.knowledgeBaseId !== undefined)
|
|
37
|
+
return visitor.knowledgeBaseId(value.knowledgeBaseId);
|
|
38
|
+
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
39
|
+
};
|
|
40
|
+
})(AssistantAssociationInputData = exports.AssistantAssociationInputData || (exports.AssistantAssociationInputData = {}));
|
|
41
|
+
exports.AssociationType = {
|
|
42
|
+
KNOWLEDGE_BASE: "KNOWLEDGE_BASE",
|
|
43
|
+
};
|
|
44
|
+
var AssistantAssociationOutputData;
|
|
45
|
+
(function (AssistantAssociationOutputData) {
|
|
46
|
+
AssistantAssociationOutputData.visit = (value, visitor) => {
|
|
47
|
+
if (value.knowledgeBaseAssociation !== undefined)
|
|
48
|
+
return visitor.knowledgeBaseAssociation(value.knowledgeBaseAssociation);
|
|
49
|
+
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
50
|
+
};
|
|
51
|
+
})(AssistantAssociationOutputData = exports.AssistantAssociationOutputData || (exports.AssistantAssociationOutputData = {}));
|
|
52
|
+
class ResourceNotFoundException extends QConnectServiceException_1.QConnectServiceException {
|
|
53
|
+
constructor(opts) {
|
|
54
|
+
super({
|
|
55
|
+
name: "ResourceNotFoundException",
|
|
56
|
+
$fault: "client",
|
|
57
|
+
...opts,
|
|
58
|
+
});
|
|
59
|
+
this.name = "ResourceNotFoundException";
|
|
60
|
+
this.$fault = "client";
|
|
61
|
+
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
62
|
+
this.resourceName = opts.resourceName;
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
exports.ResourceNotFoundException = ResourceNotFoundException;
|
|
66
|
+
class ServiceQuotaExceededException extends QConnectServiceException_1.QConnectServiceException {
|
|
67
|
+
constructor(opts) {
|
|
68
|
+
super({
|
|
69
|
+
name: "ServiceQuotaExceededException",
|
|
70
|
+
$fault: "client",
|
|
71
|
+
...opts,
|
|
72
|
+
});
|
|
73
|
+
this.name = "ServiceQuotaExceededException";
|
|
74
|
+
this.$fault = "client";
|
|
75
|
+
Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
exports.ServiceQuotaExceededException = ServiceQuotaExceededException;
|
|
79
|
+
class ValidationException extends QConnectServiceException_1.QConnectServiceException {
|
|
80
|
+
constructor(opts) {
|
|
81
|
+
super({
|
|
82
|
+
name: "ValidationException",
|
|
83
|
+
$fault: "client",
|
|
84
|
+
...opts,
|
|
85
|
+
});
|
|
86
|
+
this.name = "ValidationException";
|
|
87
|
+
this.$fault = "client";
|
|
88
|
+
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
exports.ValidationException = ValidationException;
|
|
92
|
+
exports.AssistantType = {
|
|
93
|
+
AGENT: "AGENT",
|
|
94
|
+
};
|
|
95
|
+
exports.AssistantCapabilityType = {
|
|
96
|
+
V1: "V1",
|
|
97
|
+
V2: "V2",
|
|
98
|
+
};
|
|
99
|
+
exports.AssistantStatus = {
|
|
100
|
+
ACTIVE: "ACTIVE",
|
|
101
|
+
CREATE_FAILED: "CREATE_FAILED",
|
|
102
|
+
CREATE_IN_PROGRESS: "CREATE_IN_PROGRESS",
|
|
103
|
+
DELETED: "DELETED",
|
|
104
|
+
DELETE_FAILED: "DELETE_FAILED",
|
|
105
|
+
DELETE_IN_PROGRESS: "DELETE_IN_PROGRESS",
|
|
106
|
+
};
|
|
107
|
+
exports.RelevanceLevel = {
|
|
108
|
+
HIGH: "HIGH",
|
|
109
|
+
LOW: "LOW",
|
|
110
|
+
MEDIUM: "MEDIUM",
|
|
111
|
+
};
|
|
112
|
+
exports.SourceContentType = {
|
|
113
|
+
KNOWLEDGE_CONTENT: "KNOWLEDGE_CONTENT",
|
|
114
|
+
};
|
|
115
|
+
var DataReference;
|
|
116
|
+
(function (DataReference) {
|
|
117
|
+
DataReference.visit = (value, visitor) => {
|
|
118
|
+
if (value.contentReference !== undefined)
|
|
119
|
+
return visitor.contentReference(value.contentReference);
|
|
120
|
+
if (value.generativeReference !== undefined)
|
|
121
|
+
return visitor.generativeReference(value.generativeReference);
|
|
122
|
+
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
123
|
+
};
|
|
124
|
+
})(DataReference = exports.DataReference || (exports.DataReference = {}));
|
|
125
|
+
exports.RecommendationType = {
|
|
126
|
+
GENERATIVE_ANSWER: "GENERATIVE_ANSWER",
|
|
127
|
+
GENERATIVE_RESPONSE: "GENERATIVE_RESPONSE",
|
|
128
|
+
KNOWLEDGE_CONTENT: "KNOWLEDGE_CONTENT",
|
|
129
|
+
};
|
|
130
|
+
var RecommendationTriggerData;
|
|
131
|
+
(function (RecommendationTriggerData) {
|
|
132
|
+
RecommendationTriggerData.visit = (value, visitor) => {
|
|
133
|
+
if (value.query !== undefined)
|
|
134
|
+
return visitor.query(value.query);
|
|
135
|
+
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
136
|
+
};
|
|
137
|
+
})(RecommendationTriggerData = exports.RecommendationTriggerData || (exports.RecommendationTriggerData = {}));
|
|
138
|
+
exports.RecommendationSourceType = {
|
|
139
|
+
ISSUE_DETECTION: "ISSUE_DETECTION",
|
|
140
|
+
OTHER: "OTHER",
|
|
141
|
+
RULE_EVALUATION: "RULE_EVALUATION",
|
|
142
|
+
};
|
|
143
|
+
exports.RecommendationTriggerType = {
|
|
144
|
+
GENERATIVE: "GENERATIVE",
|
|
145
|
+
QUERY: "QUERY",
|
|
146
|
+
};
|
|
147
|
+
exports.QueryConditionComparisonOperator = {
|
|
148
|
+
EQUALS: "EQUALS",
|
|
149
|
+
};
|
|
150
|
+
exports.QueryConditionFieldName = {
|
|
151
|
+
RESULT_TYPE: "RESULT_TYPE",
|
|
152
|
+
};
|
|
153
|
+
var QueryCondition;
|
|
154
|
+
(function (QueryCondition) {
|
|
155
|
+
QueryCondition.visit = (value, visitor) => {
|
|
156
|
+
if (value.single !== undefined)
|
|
157
|
+
return visitor.single(value.single);
|
|
158
|
+
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
159
|
+
};
|
|
160
|
+
})(QueryCondition = exports.QueryCondition || (exports.QueryCondition = {}));
|
|
161
|
+
exports.QueryResultType = {
|
|
162
|
+
GENERATIVE_ANSWER: "GENERATIVE_ANSWER",
|
|
163
|
+
KNOWLEDGE_CONTENT: "KNOWLEDGE_CONTENT",
|
|
164
|
+
};
|
|
165
|
+
class RequestTimeoutException extends QConnectServiceException_1.QConnectServiceException {
|
|
166
|
+
constructor(opts) {
|
|
167
|
+
super({
|
|
168
|
+
name: "RequestTimeoutException",
|
|
169
|
+
$fault: "client",
|
|
170
|
+
...opts,
|
|
171
|
+
});
|
|
172
|
+
this.name = "RequestTimeoutException";
|
|
173
|
+
this.$fault = "client";
|
|
174
|
+
this.$retryable = {};
|
|
175
|
+
Object.setPrototypeOf(this, RequestTimeoutException.prototype);
|
|
176
|
+
}
|
|
177
|
+
}
|
|
178
|
+
exports.RequestTimeoutException = RequestTimeoutException;
|
|
179
|
+
exports.FilterField = {
|
|
180
|
+
NAME: "NAME",
|
|
181
|
+
};
|
|
182
|
+
exports.FilterOperator = {
|
|
183
|
+
EQUALS: "EQUALS",
|
|
184
|
+
};
|
|
185
|
+
var Configuration;
|
|
186
|
+
(function (Configuration) {
|
|
187
|
+
Configuration.visit = (value, visitor) => {
|
|
188
|
+
if (value.connectConfiguration !== undefined)
|
|
189
|
+
return visitor.connectConfiguration(value.connectConfiguration);
|
|
190
|
+
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
191
|
+
};
|
|
192
|
+
})(Configuration = exports.Configuration || (exports.Configuration = {}));
|
|
193
|
+
exports.ContentStatus = {
|
|
194
|
+
ACTIVE: "ACTIVE",
|
|
195
|
+
CREATE_FAILED: "CREATE_FAILED",
|
|
196
|
+
CREATE_IN_PROGRESS: "CREATE_IN_PROGRESS",
|
|
197
|
+
DELETED: "DELETED",
|
|
198
|
+
DELETE_FAILED: "DELETE_FAILED",
|
|
199
|
+
DELETE_IN_PROGRESS: "DELETE_IN_PROGRESS",
|
|
200
|
+
UPDATE_FAILED: "UPDATE_FAILED",
|
|
201
|
+
};
|
|
202
|
+
class PreconditionFailedException extends QConnectServiceException_1.QConnectServiceException {
|
|
203
|
+
constructor(opts) {
|
|
204
|
+
super({
|
|
205
|
+
name: "PreconditionFailedException",
|
|
206
|
+
$fault: "client",
|
|
207
|
+
...opts,
|
|
208
|
+
});
|
|
209
|
+
this.name = "PreconditionFailedException";
|
|
210
|
+
this.$fault = "client";
|
|
211
|
+
Object.setPrototypeOf(this, PreconditionFailedException.prototype);
|
|
212
|
+
}
|
|
213
|
+
}
|
|
214
|
+
exports.PreconditionFailedException = PreconditionFailedException;
|
|
215
|
+
exports.KnowledgeBaseType = {
|
|
216
|
+
CUSTOM: "CUSTOM",
|
|
217
|
+
EXTERNAL: "EXTERNAL",
|
|
218
|
+
QUICK_RESPONSES: "QUICK_RESPONSES",
|
|
219
|
+
};
|
|
220
|
+
var SourceConfiguration;
|
|
221
|
+
(function (SourceConfiguration) {
|
|
222
|
+
SourceConfiguration.visit = (value, visitor) => {
|
|
223
|
+
if (value.appIntegrations !== undefined)
|
|
224
|
+
return visitor.appIntegrations(value.appIntegrations);
|
|
225
|
+
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
226
|
+
};
|
|
227
|
+
})(SourceConfiguration = exports.SourceConfiguration || (exports.SourceConfiguration = {}));
|
|
228
|
+
exports.KnowledgeBaseStatus = {
|
|
229
|
+
ACTIVE: "ACTIVE",
|
|
230
|
+
CREATE_FAILED: "CREATE_FAILED",
|
|
231
|
+
CREATE_IN_PROGRESS: "CREATE_IN_PROGRESS",
|
|
232
|
+
DELETED: "DELETED",
|
|
233
|
+
DELETE_FAILED: "DELETE_FAILED",
|
|
234
|
+
DELETE_IN_PROGRESS: "DELETE_IN_PROGRESS",
|
|
235
|
+
};
|
|
236
|
+
var QuickResponseDataProvider;
|
|
237
|
+
(function (QuickResponseDataProvider) {
|
|
238
|
+
QuickResponseDataProvider.visit = (value, visitor) => {
|
|
239
|
+
if (value.content !== undefined)
|
|
240
|
+
return visitor.content(value.content);
|
|
241
|
+
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
242
|
+
};
|
|
243
|
+
})(QuickResponseDataProvider = exports.QuickResponseDataProvider || (exports.QuickResponseDataProvider = {}));
|
|
244
|
+
var QuickResponseContentProvider;
|
|
245
|
+
(function (QuickResponseContentProvider) {
|
|
246
|
+
QuickResponseContentProvider.visit = (value, visitor) => {
|
|
247
|
+
if (value.content !== undefined)
|
|
248
|
+
return visitor.content(value.content);
|
|
249
|
+
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
250
|
+
};
|
|
251
|
+
})(QuickResponseContentProvider = exports.QuickResponseContentProvider || (exports.QuickResponseContentProvider = {}));
|
|
252
|
+
exports.QuickResponseStatus = {
|
|
253
|
+
CREATED: "CREATED",
|
|
254
|
+
CREATE_FAILED: "CREATE_FAILED",
|
|
255
|
+
CREATE_IN_PROGRESS: "CREATE_IN_PROGRESS",
|
|
256
|
+
DELETED: "DELETED",
|
|
257
|
+
DELETE_FAILED: "DELETE_FAILED",
|
|
258
|
+
DELETE_IN_PROGRESS: "DELETE_IN_PROGRESS",
|
|
259
|
+
UPDATE_FAILED: "UPDATE_FAILED",
|
|
260
|
+
UPDATE_IN_PROGRESS: "UPDATE_IN_PROGRESS",
|
|
261
|
+
};
|
|
262
|
+
exports.ExternalSource = {
|
|
263
|
+
AMAZON_CONNECT: "AMAZON_CONNECT",
|
|
264
|
+
};
|
|
265
|
+
exports.ImportJobType = {
|
|
266
|
+
QUICK_RESPONSES: "QUICK_RESPONSES",
|
|
267
|
+
};
|
|
268
|
+
exports.ImportJobStatus = {
|
|
269
|
+
COMPLETE: "COMPLETE",
|
|
270
|
+
DELETED: "DELETED",
|
|
271
|
+
DELETE_FAILED: "DELETE_FAILED",
|
|
272
|
+
DELETE_IN_PROGRESS: "DELETE_IN_PROGRESS",
|
|
273
|
+
FAILED: "FAILED",
|
|
274
|
+
START_IN_PROGRESS: "START_IN_PROGRESS",
|
|
275
|
+
};
|
|
276
|
+
exports.QuickResponseFilterOperator = {
|
|
277
|
+
EQUALS: "EQUALS",
|
|
278
|
+
PREFIX: "PREFIX",
|
|
279
|
+
};
|
|
280
|
+
exports.Order = {
|
|
281
|
+
ASC: "ASC",
|
|
282
|
+
DESC: "DESC",
|
|
283
|
+
};
|
|
284
|
+
exports.QuickResponseQueryOperator = {
|
|
285
|
+
CONTAINS: "CONTAINS",
|
|
286
|
+
CONTAINS_AND_PREFIX: "CONTAINS_AND_PREFIX",
|
|
287
|
+
};
|
|
288
|
+
exports.Priority = {
|
|
289
|
+
HIGH: "HIGH",
|
|
290
|
+
LOW: "LOW",
|
|
291
|
+
MEDIUM: "MEDIUM",
|
|
292
|
+
};
|
|
293
|
+
class TooManyTagsException extends QConnectServiceException_1.QConnectServiceException {
|
|
294
|
+
constructor(opts) {
|
|
295
|
+
super({
|
|
296
|
+
name: "TooManyTagsException",
|
|
297
|
+
$fault: "client",
|
|
298
|
+
...opts,
|
|
299
|
+
});
|
|
300
|
+
this.name = "TooManyTagsException";
|
|
301
|
+
this.$fault = "client";
|
|
302
|
+
Object.setPrototypeOf(this, TooManyTagsException.prototype);
|
|
303
|
+
this.resourceName = opts.resourceName;
|
|
304
|
+
}
|
|
305
|
+
}
|
|
306
|
+
exports.TooManyTagsException = TooManyTagsException;
|
|
307
|
+
var DataDetails;
|
|
308
|
+
(function (DataDetails) {
|
|
309
|
+
DataDetails.visit = (value, visitor) => {
|
|
310
|
+
if (value.contentData !== undefined)
|
|
311
|
+
return visitor.contentData(value.contentData);
|
|
312
|
+
if (value.generativeData !== undefined)
|
|
313
|
+
return visitor.generativeData(value.generativeData);
|
|
314
|
+
if (value.sourceContentData !== undefined)
|
|
315
|
+
return visitor.sourceContentData(value.sourceContentData);
|
|
316
|
+
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
317
|
+
};
|
|
318
|
+
})(DataDetails = exports.DataDetails || (exports.DataDetails = {}));
|
|
319
|
+
const DocumentTextFilterSensitiveLog = (obj) => ({
|
|
320
|
+
...obj,
|
|
321
|
+
...(obj.text && { text: smithy_client_1.SENSITIVE_STRING }),
|
|
322
|
+
});
|
|
323
|
+
exports.DocumentTextFilterSensitiveLog = DocumentTextFilterSensitiveLog;
|
|
324
|
+
const TextDataFilterSensitiveLog = (obj) => ({
|
|
325
|
+
...obj,
|
|
326
|
+
...(obj.title && { title: (0, exports.DocumentTextFilterSensitiveLog)(obj.title) }),
|
|
327
|
+
...(obj.excerpt && { excerpt: (0, exports.DocumentTextFilterSensitiveLog)(obj.excerpt) }),
|
|
328
|
+
});
|
|
329
|
+
exports.TextDataFilterSensitiveLog = TextDataFilterSensitiveLog;
|
|
330
|
+
const ContentDataDetailsFilterSensitiveLog = (obj) => ({
|
|
331
|
+
...obj,
|
|
332
|
+
...(obj.textData && { textData: (0, exports.TextDataFilterSensitiveLog)(obj.textData) }),
|
|
333
|
+
});
|
|
334
|
+
exports.ContentDataDetailsFilterSensitiveLog = ContentDataDetailsFilterSensitiveLog;
|
|
335
|
+
const SourceContentDataDetailsFilterSensitiveLog = (obj) => ({
|
|
336
|
+
...obj,
|
|
337
|
+
...(obj.textData && { textData: (0, exports.TextDataFilterSensitiveLog)(obj.textData) }),
|
|
338
|
+
});
|
|
339
|
+
exports.SourceContentDataDetailsFilterSensitiveLog = SourceContentDataDetailsFilterSensitiveLog;
|
|
340
|
+
const DocumentFilterSensitiveLog = (obj) => ({
|
|
341
|
+
...obj,
|
|
342
|
+
...(obj.title && { title: (0, exports.DocumentTextFilterSensitiveLog)(obj.title) }),
|
|
343
|
+
...(obj.excerpt && { excerpt: (0, exports.DocumentTextFilterSensitiveLog)(obj.excerpt) }),
|
|
344
|
+
});
|
|
345
|
+
exports.DocumentFilterSensitiveLog = DocumentFilterSensitiveLog;
|
|
346
|
+
const QueryRecommendationTriggerDataFilterSensitiveLog = (obj) => ({
|
|
347
|
+
...obj,
|
|
348
|
+
...(obj.text && { text: smithy_client_1.SENSITIVE_STRING }),
|
|
349
|
+
});
|
|
350
|
+
exports.QueryRecommendationTriggerDataFilterSensitiveLog = QueryRecommendationTriggerDataFilterSensitiveLog;
|
|
351
|
+
const RecommendationTriggerDataFilterSensitiveLog = (obj) => {
|
|
352
|
+
if (obj.query !== undefined)
|
|
353
|
+
return { query: (0, exports.QueryRecommendationTriggerDataFilterSensitiveLog)(obj.query) };
|
|
354
|
+
if (obj.$unknown !== undefined)
|
|
355
|
+
return { [obj.$unknown[0]]: "UNKNOWN" };
|
|
356
|
+
};
|
|
357
|
+
exports.RecommendationTriggerDataFilterSensitiveLog = RecommendationTriggerDataFilterSensitiveLog;
|
|
358
|
+
const RecommendationTriggerFilterSensitiveLog = (obj) => ({
|
|
359
|
+
...obj,
|
|
360
|
+
...(obj.data && { data: (0, exports.RecommendationTriggerDataFilterSensitiveLog)(obj.data) }),
|
|
361
|
+
});
|
|
362
|
+
exports.RecommendationTriggerFilterSensitiveLog = RecommendationTriggerFilterSensitiveLog;
|
|
363
|
+
const QueryAssistantRequestFilterSensitiveLog = (obj) => ({
|
|
364
|
+
...obj,
|
|
365
|
+
...(obj.queryText && { queryText: smithy_client_1.SENSITIVE_STRING }),
|
|
366
|
+
...(obj.queryCondition && { queryCondition: obj.queryCondition.map((item) => item) }),
|
|
367
|
+
});
|
|
368
|
+
exports.QueryAssistantRequestFilterSensitiveLog = QueryAssistantRequestFilterSensitiveLog;
|
|
369
|
+
const ContentDataFilterSensitiveLog = (obj) => ({
|
|
370
|
+
...obj,
|
|
371
|
+
...(obj.url && { url: smithy_client_1.SENSITIVE_STRING }),
|
|
372
|
+
});
|
|
373
|
+
exports.ContentDataFilterSensitiveLog = ContentDataFilterSensitiveLog;
|
|
374
|
+
const CreateContentResponseFilterSensitiveLog = (obj) => ({
|
|
375
|
+
...obj,
|
|
376
|
+
...(obj.content && { content: (0, exports.ContentDataFilterSensitiveLog)(obj.content) }),
|
|
377
|
+
});
|
|
378
|
+
exports.CreateContentResponseFilterSensitiveLog = CreateContentResponseFilterSensitiveLog;
|
|
379
|
+
const GetContentResponseFilterSensitiveLog = (obj) => ({
|
|
380
|
+
...obj,
|
|
381
|
+
...(obj.content && { content: (0, exports.ContentDataFilterSensitiveLog)(obj.content) }),
|
|
382
|
+
});
|
|
383
|
+
exports.GetContentResponseFilterSensitiveLog = GetContentResponseFilterSensitiveLog;
|
|
384
|
+
const UpdateContentResponseFilterSensitiveLog = (obj) => ({
|
|
385
|
+
...obj,
|
|
386
|
+
...(obj.content && { content: (0, exports.ContentDataFilterSensitiveLog)(obj.content) }),
|
|
387
|
+
});
|
|
388
|
+
exports.UpdateContentResponseFilterSensitiveLog = UpdateContentResponseFilterSensitiveLog;
|
|
389
|
+
const QuickResponseDataProviderFilterSensitiveLog = (obj) => {
|
|
390
|
+
if (obj.content !== undefined)
|
|
391
|
+
return { content: smithy_client_1.SENSITIVE_STRING };
|
|
392
|
+
if (obj.$unknown !== undefined)
|
|
393
|
+
return { [obj.$unknown[0]]: "UNKNOWN" };
|
|
394
|
+
};
|
|
395
|
+
exports.QuickResponseDataProviderFilterSensitiveLog = QuickResponseDataProviderFilterSensitiveLog;
|
|
396
|
+
const GroupingConfigurationFilterSensitiveLog = (obj) => ({
|
|
397
|
+
...obj,
|
|
398
|
+
...(obj.criteria && { criteria: smithy_client_1.SENSITIVE_STRING }),
|
|
399
|
+
...(obj.values && { values: smithy_client_1.SENSITIVE_STRING }),
|
|
400
|
+
});
|
|
401
|
+
exports.GroupingConfigurationFilterSensitiveLog = GroupingConfigurationFilterSensitiveLog;
|
|
402
|
+
const CreateQuickResponseRequestFilterSensitiveLog = (obj) => ({
|
|
403
|
+
...obj,
|
|
404
|
+
...(obj.content && { content: (0, exports.QuickResponseDataProviderFilterSensitiveLog)(obj.content) }),
|
|
405
|
+
...(obj.groupingConfiguration && {
|
|
406
|
+
groupingConfiguration: (0, exports.GroupingConfigurationFilterSensitiveLog)(obj.groupingConfiguration),
|
|
407
|
+
}),
|
|
408
|
+
...(obj.channels && { channels: smithy_client_1.SENSITIVE_STRING }),
|
|
409
|
+
});
|
|
410
|
+
exports.CreateQuickResponseRequestFilterSensitiveLog = CreateQuickResponseRequestFilterSensitiveLog;
|
|
411
|
+
const QuickResponseContentProviderFilterSensitiveLog = (obj) => {
|
|
412
|
+
if (obj.content !== undefined)
|
|
413
|
+
return { content: smithy_client_1.SENSITIVE_STRING };
|
|
414
|
+
if (obj.$unknown !== undefined)
|
|
415
|
+
return { [obj.$unknown[0]]: "UNKNOWN" };
|
|
416
|
+
};
|
|
417
|
+
exports.QuickResponseContentProviderFilterSensitiveLog = QuickResponseContentProviderFilterSensitiveLog;
|
|
418
|
+
const QuickResponseContentsFilterSensitiveLog = (obj) => ({
|
|
419
|
+
...obj,
|
|
420
|
+
...(obj.plainText && { plainText: (0, exports.QuickResponseContentProviderFilterSensitiveLog)(obj.plainText) }),
|
|
421
|
+
...(obj.markdown && { markdown: (0, exports.QuickResponseContentProviderFilterSensitiveLog)(obj.markdown) }),
|
|
422
|
+
});
|
|
423
|
+
exports.QuickResponseContentsFilterSensitiveLog = QuickResponseContentsFilterSensitiveLog;
|
|
424
|
+
const QuickResponseDataFilterSensitiveLog = (obj) => ({
|
|
425
|
+
...obj,
|
|
426
|
+
...(obj.contents && { contents: (0, exports.QuickResponseContentsFilterSensitiveLog)(obj.contents) }),
|
|
427
|
+
...(obj.groupingConfiguration && {
|
|
428
|
+
groupingConfiguration: (0, exports.GroupingConfigurationFilterSensitiveLog)(obj.groupingConfiguration),
|
|
429
|
+
}),
|
|
430
|
+
...(obj.channels && { channels: smithy_client_1.SENSITIVE_STRING }),
|
|
431
|
+
});
|
|
432
|
+
exports.QuickResponseDataFilterSensitiveLog = QuickResponseDataFilterSensitiveLog;
|
|
433
|
+
const CreateQuickResponseResponseFilterSensitiveLog = (obj) => ({
|
|
434
|
+
...obj,
|
|
435
|
+
...(obj.quickResponse && { quickResponse: (0, exports.QuickResponseDataFilterSensitiveLog)(obj.quickResponse) }),
|
|
436
|
+
});
|
|
437
|
+
exports.CreateQuickResponseResponseFilterSensitiveLog = CreateQuickResponseResponseFilterSensitiveLog;
|
|
438
|
+
const ImportJobDataFilterSensitiveLog = (obj) => ({
|
|
439
|
+
...obj,
|
|
440
|
+
...(obj.url && { url: smithy_client_1.SENSITIVE_STRING }),
|
|
441
|
+
...(obj.failedRecordReport && { failedRecordReport: smithy_client_1.SENSITIVE_STRING }),
|
|
442
|
+
...(obj.externalSourceConfiguration && { externalSourceConfiguration: obj.externalSourceConfiguration }),
|
|
443
|
+
});
|
|
444
|
+
exports.ImportJobDataFilterSensitiveLog = ImportJobDataFilterSensitiveLog;
|
|
445
|
+
const GetImportJobResponseFilterSensitiveLog = (obj) => ({
|
|
446
|
+
...obj,
|
|
447
|
+
...(obj.importJob && { importJob: (0, exports.ImportJobDataFilterSensitiveLog)(obj.importJob) }),
|
|
448
|
+
});
|
|
449
|
+
exports.GetImportJobResponseFilterSensitiveLog = GetImportJobResponseFilterSensitiveLog;
|
|
450
|
+
const GetQuickResponseResponseFilterSensitiveLog = (obj) => ({
|
|
451
|
+
...obj,
|
|
452
|
+
...(obj.quickResponse && { quickResponse: (0, exports.QuickResponseDataFilterSensitiveLog)(obj.quickResponse) }),
|
|
453
|
+
});
|
|
454
|
+
exports.GetQuickResponseResponseFilterSensitiveLog = GetQuickResponseResponseFilterSensitiveLog;
|
|
455
|
+
const QuickResponseSummaryFilterSensitiveLog = (obj) => ({
|
|
456
|
+
...obj,
|
|
457
|
+
...(obj.channels && { channels: smithy_client_1.SENSITIVE_STRING }),
|
|
458
|
+
});
|
|
459
|
+
exports.QuickResponseSummaryFilterSensitiveLog = QuickResponseSummaryFilterSensitiveLog;
|
|
460
|
+
const ListQuickResponsesResponseFilterSensitiveLog = (obj) => ({
|
|
461
|
+
...obj,
|
|
462
|
+
...(obj.quickResponseSummaries && {
|
|
463
|
+
quickResponseSummaries: obj.quickResponseSummaries.map((item) => (0, exports.QuickResponseSummaryFilterSensitiveLog)(item)),
|
|
464
|
+
}),
|
|
465
|
+
});
|
|
466
|
+
exports.ListQuickResponsesResponseFilterSensitiveLog = ListQuickResponsesResponseFilterSensitiveLog;
|
|
467
|
+
const UpdateQuickResponseRequestFilterSensitiveLog = (obj) => ({
|
|
468
|
+
...obj,
|
|
469
|
+
...(obj.content && { content: (0, exports.QuickResponseDataProviderFilterSensitiveLog)(obj.content) }),
|
|
470
|
+
...(obj.groupingConfiguration && {
|
|
471
|
+
groupingConfiguration: (0, exports.GroupingConfigurationFilterSensitiveLog)(obj.groupingConfiguration),
|
|
472
|
+
}),
|
|
473
|
+
...(obj.channels && { channels: smithy_client_1.SENSITIVE_STRING }),
|
|
474
|
+
});
|
|
475
|
+
exports.UpdateQuickResponseRequestFilterSensitiveLog = UpdateQuickResponseRequestFilterSensitiveLog;
|
|
476
|
+
const UpdateQuickResponseResponseFilterSensitiveLog = (obj) => ({
|
|
477
|
+
...obj,
|
|
478
|
+
...(obj.quickResponse && { quickResponse: (0, exports.QuickResponseDataFilterSensitiveLog)(obj.quickResponse) }),
|
|
479
|
+
});
|
|
480
|
+
exports.UpdateQuickResponseResponseFilterSensitiveLog = UpdateQuickResponseResponseFilterSensitiveLog;
|
|
481
|
+
const SearchQuickResponsesRequestFilterSensitiveLog = (obj) => ({
|
|
482
|
+
...obj,
|
|
483
|
+
...(obj.attributes && { attributes: smithy_client_1.SENSITIVE_STRING }),
|
|
484
|
+
});
|
|
485
|
+
exports.SearchQuickResponsesRequestFilterSensitiveLog = SearchQuickResponsesRequestFilterSensitiveLog;
|
|
486
|
+
const QuickResponseSearchResultDataFilterSensitiveLog = (obj) => ({
|
|
487
|
+
...obj,
|
|
488
|
+
...(obj.contents && { contents: (0, exports.QuickResponseContentsFilterSensitiveLog)(obj.contents) }),
|
|
489
|
+
...(obj.groupingConfiguration && {
|
|
490
|
+
groupingConfiguration: (0, exports.GroupingConfigurationFilterSensitiveLog)(obj.groupingConfiguration),
|
|
491
|
+
}),
|
|
492
|
+
...(obj.channels && { channels: smithy_client_1.SENSITIVE_STRING }),
|
|
493
|
+
...(obj.attributesNotInterpolated && { attributesNotInterpolated: smithy_client_1.SENSITIVE_STRING }),
|
|
494
|
+
...(obj.attributesInterpolated && { attributesInterpolated: smithy_client_1.SENSITIVE_STRING }),
|
|
495
|
+
});
|
|
496
|
+
exports.QuickResponseSearchResultDataFilterSensitiveLog = QuickResponseSearchResultDataFilterSensitiveLog;
|
|
497
|
+
const SearchQuickResponsesResponseFilterSensitiveLog = (obj) => ({
|
|
498
|
+
...obj,
|
|
499
|
+
...(obj.results && { results: obj.results.map((item) => (0, exports.QuickResponseSearchResultDataFilterSensitiveLog)(item)) }),
|
|
500
|
+
});
|
|
501
|
+
exports.SearchQuickResponsesResponseFilterSensitiveLog = SearchQuickResponsesResponseFilterSensitiveLog;
|
|
502
|
+
const StartContentUploadResponseFilterSensitiveLog = (obj) => ({
|
|
503
|
+
...obj,
|
|
504
|
+
...(obj.url && { url: smithy_client_1.SENSITIVE_STRING }),
|
|
505
|
+
});
|
|
506
|
+
exports.StartContentUploadResponseFilterSensitiveLog = StartContentUploadResponseFilterSensitiveLog;
|
|
507
|
+
const StartImportJobResponseFilterSensitiveLog = (obj) => ({
|
|
508
|
+
...obj,
|
|
509
|
+
...(obj.importJob && { importJob: (0, exports.ImportJobDataFilterSensitiveLog)(obj.importJob) }),
|
|
510
|
+
});
|
|
511
|
+
exports.StartImportJobResponseFilterSensitiveLog = StartImportJobResponseFilterSensitiveLog;
|
|
512
|
+
const DataDetailsFilterSensitiveLog = (obj) => {
|
|
513
|
+
if (obj.contentData !== undefined)
|
|
514
|
+
return { contentData: (0, exports.ContentDataDetailsFilterSensitiveLog)(obj.contentData) };
|
|
515
|
+
if (obj.generativeData !== undefined)
|
|
516
|
+
return { generativeData: (0, exports.GenerativeDataDetailsFilterSensitiveLog)(obj.generativeData) };
|
|
517
|
+
if (obj.sourceContentData !== undefined)
|
|
518
|
+
return { sourceContentData: (0, exports.SourceContentDataDetailsFilterSensitiveLog)(obj.sourceContentData) };
|
|
519
|
+
if (obj.$unknown !== undefined)
|
|
520
|
+
return { [obj.$unknown[0]]: "UNKNOWN" };
|
|
521
|
+
};
|
|
522
|
+
exports.DataDetailsFilterSensitiveLog = DataDetailsFilterSensitiveLog;
|
|
523
|
+
const DataSummaryFilterSensitiveLog = (obj) => ({
|
|
524
|
+
...obj,
|
|
525
|
+
...(obj.reference && { reference: obj.reference }),
|
|
526
|
+
...(obj.details && { details: (0, exports.DataDetailsFilterSensitiveLog)(obj.details) }),
|
|
527
|
+
});
|
|
528
|
+
exports.DataSummaryFilterSensitiveLog = DataSummaryFilterSensitiveLog;
|
|
529
|
+
const GenerativeDataDetailsFilterSensitiveLog = (obj) => ({
|
|
530
|
+
...obj,
|
|
531
|
+
...(obj.completion && { completion: smithy_client_1.SENSITIVE_STRING }),
|
|
532
|
+
...(obj.references && { references: obj.references.map((item) => (0, exports.DataSummaryFilterSensitiveLog)(item)) }),
|
|
533
|
+
});
|
|
534
|
+
exports.GenerativeDataDetailsFilterSensitiveLog = GenerativeDataDetailsFilterSensitiveLog;
|
|
535
|
+
const RecommendationDataFilterSensitiveLog = (obj) => ({
|
|
536
|
+
...obj,
|
|
537
|
+
...(obj.document && { document: (0, exports.DocumentFilterSensitiveLog)(obj.document) }),
|
|
538
|
+
...(obj.data && { data: (0, exports.DataSummaryFilterSensitiveLog)(obj.data) }),
|
|
539
|
+
});
|
|
540
|
+
exports.RecommendationDataFilterSensitiveLog = RecommendationDataFilterSensitiveLog;
|
|
541
|
+
const ResultDataFilterSensitiveLog = (obj) => ({
|
|
542
|
+
...obj,
|
|
543
|
+
...(obj.document && { document: (0, exports.DocumentFilterSensitiveLog)(obj.document) }),
|
|
544
|
+
...(obj.data && { data: (0, exports.DataSummaryFilterSensitiveLog)(obj.data) }),
|
|
545
|
+
});
|
|
546
|
+
exports.ResultDataFilterSensitiveLog = ResultDataFilterSensitiveLog;
|
|
547
|
+
const GetRecommendationsResponseFilterSensitiveLog = (obj) => ({
|
|
548
|
+
...obj,
|
|
549
|
+
...(obj.recommendations && {
|
|
550
|
+
recommendations: obj.recommendations.map((item) => (0, exports.RecommendationDataFilterSensitiveLog)(item)),
|
|
551
|
+
}),
|
|
552
|
+
...(obj.triggers && { triggers: obj.triggers.map((item) => (0, exports.RecommendationTriggerFilterSensitiveLog)(item)) }),
|
|
553
|
+
});
|
|
554
|
+
exports.GetRecommendationsResponseFilterSensitiveLog = GetRecommendationsResponseFilterSensitiveLog;
|
|
555
|
+
const QueryAssistantResponseFilterSensitiveLog = (obj) => ({
|
|
556
|
+
...obj,
|
|
557
|
+
...(obj.results && { results: obj.results.map((item) => (0, exports.ResultDataFilterSensitiveLog)(item)) }),
|
|
558
|
+
});
|
|
559
|
+
exports.QueryAssistantResponseFilterSensitiveLog = QueryAssistantResponseFilterSensitiveLog;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.paginateListAssistantAssociations = void 0;
|
|
4
|
+
const ListAssistantAssociationsCommand_1 = require("../commands/ListAssistantAssociationsCommand");
|
|
5
|
+
const QConnectClient_1 = require("../QConnectClient");
|
|
6
|
+
const makePagedClientRequest = async (client, input, ...args) => {
|
|
7
|
+
return await client.send(new ListAssistantAssociationsCommand_1.ListAssistantAssociationsCommand(input), ...args);
|
|
8
|
+
};
|
|
9
|
+
async function* paginateListAssistantAssociations(config, input, ...additionalArguments) {
|
|
10
|
+
let token = config.startingToken || undefined;
|
|
11
|
+
let hasNext = true;
|
|
12
|
+
let page;
|
|
13
|
+
while (hasNext) {
|
|
14
|
+
input.nextToken = token;
|
|
15
|
+
input["maxResults"] = config.pageSize;
|
|
16
|
+
if (config.client instanceof QConnectClient_1.QConnectClient) {
|
|
17
|
+
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
+
}
|
|
19
|
+
else {
|
|
20
|
+
throw new Error("Invalid client, expected QConnect | QConnectClient");
|
|
21
|
+
}
|
|
22
|
+
yield page;
|
|
23
|
+
const prevToken = token;
|
|
24
|
+
token = page.nextToken;
|
|
25
|
+
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
+
}
|
|
27
|
+
return undefined;
|
|
28
|
+
}
|
|
29
|
+
exports.paginateListAssistantAssociations = paginateListAssistantAssociations;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.paginateListAssistants = void 0;
|
|
4
|
+
const ListAssistantsCommand_1 = require("../commands/ListAssistantsCommand");
|
|
5
|
+
const QConnectClient_1 = require("../QConnectClient");
|
|
6
|
+
const makePagedClientRequest = async (client, input, ...args) => {
|
|
7
|
+
return await client.send(new ListAssistantsCommand_1.ListAssistantsCommand(input), ...args);
|
|
8
|
+
};
|
|
9
|
+
async function* paginateListAssistants(config, input, ...additionalArguments) {
|
|
10
|
+
let token = config.startingToken || undefined;
|
|
11
|
+
let hasNext = true;
|
|
12
|
+
let page;
|
|
13
|
+
while (hasNext) {
|
|
14
|
+
input.nextToken = token;
|
|
15
|
+
input["maxResults"] = config.pageSize;
|
|
16
|
+
if (config.client instanceof QConnectClient_1.QConnectClient) {
|
|
17
|
+
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
+
}
|
|
19
|
+
else {
|
|
20
|
+
throw new Error("Invalid client, expected QConnect | QConnectClient");
|
|
21
|
+
}
|
|
22
|
+
yield page;
|
|
23
|
+
const prevToken = token;
|
|
24
|
+
token = page.nextToken;
|
|
25
|
+
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
+
}
|
|
27
|
+
return undefined;
|
|
28
|
+
}
|
|
29
|
+
exports.paginateListAssistants = paginateListAssistants;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.paginateListContents = void 0;
|
|
4
|
+
const ListContentsCommand_1 = require("../commands/ListContentsCommand");
|
|
5
|
+
const QConnectClient_1 = require("../QConnectClient");
|
|
6
|
+
const makePagedClientRequest = async (client, input, ...args) => {
|
|
7
|
+
return await client.send(new ListContentsCommand_1.ListContentsCommand(input), ...args);
|
|
8
|
+
};
|
|
9
|
+
async function* paginateListContents(config, input, ...additionalArguments) {
|
|
10
|
+
let token = config.startingToken || undefined;
|
|
11
|
+
let hasNext = true;
|
|
12
|
+
let page;
|
|
13
|
+
while (hasNext) {
|
|
14
|
+
input.nextToken = token;
|
|
15
|
+
input["maxResults"] = config.pageSize;
|
|
16
|
+
if (config.client instanceof QConnectClient_1.QConnectClient) {
|
|
17
|
+
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
+
}
|
|
19
|
+
else {
|
|
20
|
+
throw new Error("Invalid client, expected QConnect | QConnectClient");
|
|
21
|
+
}
|
|
22
|
+
yield page;
|
|
23
|
+
const prevToken = token;
|
|
24
|
+
token = page.nextToken;
|
|
25
|
+
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
+
}
|
|
27
|
+
return undefined;
|
|
28
|
+
}
|
|
29
|
+
exports.paginateListContents = paginateListContents;
|