@aws-sdk/client-qconnect 3.664.0 → 3.666.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/README.md +166 -0
- package/dist-cjs/index.js +1501 -102
- package/dist-es/QConnect.js +38 -0
- package/dist-es/commands/CreateAIAgentCommand.js +22 -0
- package/dist-es/commands/CreateAIAgentVersionCommand.js +22 -0
- package/dist-es/commands/CreateAIPromptCommand.js +23 -0
- package/dist-es/commands/CreateAIPromptVersionCommand.js +23 -0
- package/dist-es/commands/CreateKnowledgeBaseCommand.js +2 -1
- package/dist-es/commands/DeleteAIAgentCommand.js +22 -0
- package/dist-es/commands/DeleteAIAgentVersionCommand.js +22 -0
- package/dist-es/commands/DeleteAIPromptCommand.js +22 -0
- package/dist-es/commands/DeleteAIPromptVersionCommand.js +22 -0
- package/dist-es/commands/GetAIAgentCommand.js +22 -0
- package/dist-es/commands/GetAIPromptCommand.js +23 -0
- package/dist-es/commands/GetKnowledgeBaseCommand.js +2 -1
- package/dist-es/commands/ListAIAgentVersionsCommand.js +22 -0
- package/dist-es/commands/ListAIAgentsCommand.js +22 -0
- package/dist-es/commands/ListAIPromptVersionsCommand.js +22 -0
- package/dist-es/commands/ListAIPromptsCommand.js +22 -0
- package/dist-es/commands/ListKnowledgeBasesCommand.js +2 -1
- package/dist-es/commands/RemoveAssistantAIAgentCommand.js +22 -0
- package/dist-es/commands/UpdateAIAgentCommand.js +22 -0
- package/dist-es/commands/UpdateAIPromptCommand.js +23 -0
- package/dist-es/commands/UpdateAssistantAIAgentCommand.js +22 -0
- package/dist-es/commands/UpdateKnowledgeBaseTemplateUriCommand.js +2 -1
- package/dist-es/commands/UpdateSessionDataCommand.js +23 -0
- package/dist-es/commands/index.js +19 -0
- package/dist-es/models/models_0.js +310 -46
- package/dist-es/pagination/ListAIAgentVersionsPaginator.js +4 -0
- package/dist-es/pagination/ListAIAgentsPaginator.js +4 -0
- package/dist-es/pagination/ListAIPromptVersionsPaginator.js +4 -0
- package/dist-es/pagination/ListAIPromptsPaginator.js +4 -0
- package/dist-es/pagination/index.js +4 -0
- package/dist-es/protocols/Aws_restJson1.js +692 -8
- package/dist-types/QConnect.d.ts +148 -1
- package/dist-types/QConnectClient.d.ts +36 -3
- package/dist-types/commands/CreateAIAgentCommand.d.ts +252 -0
- package/dist-types/commands/CreateAIAgentVersionCommand.d.ts +180 -0
- package/dist-types/commands/CreateAIPromptCommand.d.ts +132 -0
- package/dist-types/commands/CreateAIPromptVersionCommand.d.ts +120 -0
- package/dist-types/commands/CreateAssistantCommand.d.ts +5 -0
- package/dist-types/commands/CreateContentAssociationCommand.d.ts +5 -6
- package/dist-types/commands/CreateKnowledgeBaseCommand.d.ts +108 -0
- package/dist-types/commands/CreateSessionCommand.d.ts +10 -0
- package/dist-types/commands/DeleteAIAgentCommand.d.ts +82 -0
- package/dist-types/commands/DeleteAIAgentVersionCommand.d.ts +89 -0
- package/dist-types/commands/DeleteAIPromptCommand.d.ts +82 -0
- package/dist-types/commands/DeleteAIPromptVersionCommand.d.ts +89 -0
- package/dist-types/commands/GetAIAgentCommand.d.ts +168 -0
- package/dist-types/commands/GetAIPromptCommand.d.ts +108 -0
- package/dist-types/commands/GetAssistantCommand.d.ts +5 -0
- package/dist-types/commands/GetKnowledgeBaseCommand.d.ts +56 -0
- package/dist-types/commands/GetRecommendationsCommand.d.ts +20 -0
- package/dist-types/commands/GetSessionCommand.d.ts +5 -0
- package/dist-types/commands/ListAIAgentVersionsCommand.d.ts +176 -0
- package/dist-types/commands/ListAIAgentsCommand.d.ts +172 -0
- package/dist-types/commands/ListAIPromptVersionsCommand.d.ts +111 -0
- package/dist-types/commands/ListAIPromptsCommand.d.ts +107 -0
- package/dist-types/commands/ListAssistantsCommand.d.ts +5 -0
- package/dist-types/commands/ListKnowledgeBasesCommand.d.ts +52 -0
- package/dist-types/commands/QueryAssistantCommand.d.ts +30 -1
- package/dist-types/commands/RemoveAssistantAIAgentCommand.d.ts +83 -0
- package/dist-types/commands/UpdateAIAgentCommand.d.ts +244 -0
- package/dist-types/commands/UpdateAIPromptCommand.d.ts +121 -0
- package/dist-types/commands/UpdateAssistantAIAgentCommand.d.ts +112 -0
- package/dist-types/commands/UpdateKnowledgeBaseTemplateUriCommand.d.ts +56 -0
- package/dist-types/commands/UpdateSessionCommand.d.ts +10 -0
- package/dist-types/commands/UpdateSessionDataCommand.d.ts +100 -0
- package/dist-types/commands/index.d.ts +19 -0
- package/dist-types/index.d.ts +15 -1
- package/dist-types/models/models_0.d.ts +2454 -275
- package/dist-types/pagination/ListAIAgentVersionsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListAIAgentsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListAIPromptVersionsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListAIPromptsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +4 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +171 -0
- package/dist-types/ts3.4/QConnect.d.ts +323 -0
- package/dist-types/ts3.4/QConnectClient.d.ts +116 -2
- package/dist-types/ts3.4/commands/CreateAIAgentCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/CreateAIAgentVersionCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/CreateAIPromptCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/CreateAIPromptVersionCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DeleteAIAgentCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/DeleteAIAgentVersionCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DeleteAIPromptCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/DeleteAIPromptVersionCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetAIAgentCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/GetAIPromptCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/ListAIAgentVersionsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListAIAgentsCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/ListAIPromptVersionsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListAIPromptsCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/RemoveAssistantAIAgentCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/UpdateAIAgentCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/UpdateAIPromptCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/UpdateAssistantAIAgentCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/UpdateSessionDataCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/index.d.ts +19 -0
- package/dist-types/ts3.4/models/models_0.d.ts +794 -103
- package/dist-types/ts3.4/pagination/ListAIAgentVersionsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListAIAgentsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListAIPromptVersionsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListAIPromptsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +4 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +228 -0
- package/package.json +12 -12
package/dist-cjs/index.js
CHANGED
|
@@ -21,13 +21,24 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
|
|
|
21
21
|
// src/index.ts
|
|
22
22
|
var src_exports = {};
|
|
23
23
|
__export(src_exports, {
|
|
24
|
+
AIAgentAssociationConfigurationType: () => AIAgentAssociationConfigurationType,
|
|
25
|
+
AIAgentConfiguration: () => AIAgentConfiguration,
|
|
26
|
+
AIAgentType: () => AIAgentType,
|
|
27
|
+
AIPromptAPIFormat: () => AIPromptAPIFormat,
|
|
28
|
+
AIPromptDataFilterSensitiveLog: () => AIPromptDataFilterSensitiveLog,
|
|
29
|
+
AIPromptTemplateConfiguration: () => AIPromptTemplateConfiguration,
|
|
30
|
+
AIPromptTemplateConfigurationFilterSensitiveLog: () => AIPromptTemplateConfigurationFilterSensitiveLog,
|
|
31
|
+
AIPromptTemplateType: () => AIPromptTemplateType,
|
|
32
|
+
AIPromptType: () => AIPromptType,
|
|
24
33
|
AccessDeniedException: () => AccessDeniedException,
|
|
25
34
|
AssistantAssociationInputData: () => AssistantAssociationInputData,
|
|
26
35
|
AssistantAssociationOutputData: () => AssistantAssociationOutputData,
|
|
27
36
|
AssistantCapabilityType: () => AssistantCapabilityType,
|
|
28
37
|
AssistantStatus: () => AssistantStatus,
|
|
29
38
|
AssistantType: () => AssistantType,
|
|
39
|
+
AssociationConfigurationData: () => AssociationConfigurationData,
|
|
30
40
|
AssociationType: () => AssociationType,
|
|
41
|
+
ChunkingStrategy: () => ChunkingStrategy,
|
|
31
42
|
Configuration: () => Configuration,
|
|
32
43
|
ConflictException: () => ConflictException,
|
|
33
44
|
ContentAssociationContents: () => ContentAssociationContents,
|
|
@@ -36,12 +47,21 @@ __export(src_exports, {
|
|
|
36
47
|
ContentDataFilterSensitiveLog: () => ContentDataFilterSensitiveLog,
|
|
37
48
|
ContentFeedbackData: () => ContentFeedbackData,
|
|
38
49
|
ContentStatus: () => ContentStatus,
|
|
50
|
+
CreateAIAgentCommand: () => CreateAIAgentCommand,
|
|
51
|
+
CreateAIAgentVersionCommand: () => CreateAIAgentVersionCommand,
|
|
52
|
+
CreateAIPromptCommand: () => CreateAIPromptCommand,
|
|
53
|
+
CreateAIPromptRequestFilterSensitiveLog: () => CreateAIPromptRequestFilterSensitiveLog,
|
|
54
|
+
CreateAIPromptResponseFilterSensitiveLog: () => CreateAIPromptResponseFilterSensitiveLog,
|
|
55
|
+
CreateAIPromptVersionCommand: () => CreateAIPromptVersionCommand,
|
|
56
|
+
CreateAIPromptVersionResponseFilterSensitiveLog: () => CreateAIPromptVersionResponseFilterSensitiveLog,
|
|
39
57
|
CreateAssistantAssociationCommand: () => CreateAssistantAssociationCommand,
|
|
40
58
|
CreateAssistantCommand: () => CreateAssistantCommand,
|
|
41
59
|
CreateContentAssociationCommand: () => CreateContentAssociationCommand,
|
|
42
60
|
CreateContentCommand: () => CreateContentCommand,
|
|
43
61
|
CreateContentResponseFilterSensitiveLog: () => CreateContentResponseFilterSensitiveLog,
|
|
44
62
|
CreateKnowledgeBaseCommand: () => CreateKnowledgeBaseCommand,
|
|
63
|
+
CreateKnowledgeBaseRequestFilterSensitiveLog: () => CreateKnowledgeBaseRequestFilterSensitiveLog,
|
|
64
|
+
CreateKnowledgeBaseResponseFilterSensitiveLog: () => CreateKnowledgeBaseResponseFilterSensitiveLog,
|
|
45
65
|
CreateQuickResponseCommand: () => CreateQuickResponseCommand,
|
|
46
66
|
CreateQuickResponseRequestFilterSensitiveLog: () => CreateQuickResponseRequestFilterSensitiveLog,
|
|
47
67
|
CreateQuickResponseResponseFilterSensitiveLog: () => CreateQuickResponseResponseFilterSensitiveLog,
|
|
@@ -50,6 +70,10 @@ __export(src_exports, {
|
|
|
50
70
|
DataDetailsFilterSensitiveLog: () => DataDetailsFilterSensitiveLog,
|
|
51
71
|
DataReference: () => DataReference,
|
|
52
72
|
DataSummaryFilterSensitiveLog: () => DataSummaryFilterSensitiveLog,
|
|
73
|
+
DeleteAIAgentCommand: () => DeleteAIAgentCommand,
|
|
74
|
+
DeleteAIAgentVersionCommand: () => DeleteAIAgentVersionCommand,
|
|
75
|
+
DeleteAIPromptCommand: () => DeleteAIPromptCommand,
|
|
76
|
+
DeleteAIPromptVersionCommand: () => DeleteAIPromptVersionCommand,
|
|
53
77
|
DeleteAssistantAssociationCommand: () => DeleteAssistantAssociationCommand,
|
|
54
78
|
DeleteAssistantCommand: () => DeleteAssistantCommand,
|
|
55
79
|
DeleteContentAssociationCommand: () => DeleteContentAssociationCommand,
|
|
@@ -63,6 +87,9 @@ __export(src_exports, {
|
|
|
63
87
|
FilterField: () => FilterField,
|
|
64
88
|
FilterOperator: () => FilterOperator,
|
|
65
89
|
GenerativeDataDetailsFilterSensitiveLog: () => GenerativeDataDetailsFilterSensitiveLog,
|
|
90
|
+
GetAIAgentCommand: () => GetAIAgentCommand,
|
|
91
|
+
GetAIPromptCommand: () => GetAIPromptCommand,
|
|
92
|
+
GetAIPromptResponseFilterSensitiveLog: () => GetAIPromptResponseFilterSensitiveLog,
|
|
66
93
|
GetAssistantAssociationCommand: () => GetAssistantAssociationCommand,
|
|
67
94
|
GetAssistantCommand: () => GetAssistantCommand,
|
|
68
95
|
GetContentAssociationCommand: () => GetContentAssociationCommand,
|
|
@@ -72,6 +99,7 @@ __export(src_exports, {
|
|
|
72
99
|
GetImportJobCommand: () => GetImportJobCommand,
|
|
73
100
|
GetImportJobResponseFilterSensitiveLog: () => GetImportJobResponseFilterSensitiveLog,
|
|
74
101
|
GetKnowledgeBaseCommand: () => GetKnowledgeBaseCommand,
|
|
102
|
+
GetKnowledgeBaseResponseFilterSensitiveLog: () => GetKnowledgeBaseResponseFilterSensitiveLog,
|
|
75
103
|
GetQuickResponseCommand: () => GetQuickResponseCommand,
|
|
76
104
|
GetQuickResponseResponseFilterSensitiveLog: () => GetQuickResponseResponseFilterSensitiveLog,
|
|
77
105
|
GetRecommendationsCommand: () => GetRecommendationsCommand,
|
|
@@ -81,20 +109,33 @@ __export(src_exports, {
|
|
|
81
109
|
ImportJobDataFilterSensitiveLog: () => ImportJobDataFilterSensitiveLog,
|
|
82
110
|
ImportJobStatus: () => ImportJobStatus,
|
|
83
111
|
ImportJobType: () => ImportJobType,
|
|
112
|
+
IntentDetectedDataDetailsFilterSensitiveLog: () => IntentDetectedDataDetailsFilterSensitiveLog,
|
|
113
|
+
KnowledgeBaseDataFilterSensitiveLog: () => KnowledgeBaseDataFilterSensitiveLog,
|
|
114
|
+
KnowledgeBaseSearchType: () => KnowledgeBaseSearchType,
|
|
84
115
|
KnowledgeBaseStatus: () => KnowledgeBaseStatus,
|
|
116
|
+
KnowledgeBaseSummaryFilterSensitiveLog: () => KnowledgeBaseSummaryFilterSensitiveLog,
|
|
85
117
|
KnowledgeBaseType: () => KnowledgeBaseType,
|
|
118
|
+
ListAIAgentVersionsCommand: () => ListAIAgentVersionsCommand,
|
|
119
|
+
ListAIAgentsCommand: () => ListAIAgentsCommand,
|
|
120
|
+
ListAIPromptVersionsCommand: () => ListAIPromptVersionsCommand,
|
|
121
|
+
ListAIPromptsCommand: () => ListAIPromptsCommand,
|
|
86
122
|
ListAssistantAssociationsCommand: () => ListAssistantAssociationsCommand,
|
|
87
123
|
ListAssistantsCommand: () => ListAssistantsCommand,
|
|
88
124
|
ListContentAssociationsCommand: () => ListContentAssociationsCommand,
|
|
89
125
|
ListContentsCommand: () => ListContentsCommand,
|
|
90
126
|
ListImportJobsCommand: () => ListImportJobsCommand,
|
|
91
127
|
ListKnowledgeBasesCommand: () => ListKnowledgeBasesCommand,
|
|
128
|
+
ListKnowledgeBasesResponseFilterSensitiveLog: () => ListKnowledgeBasesResponseFilterSensitiveLog,
|
|
92
129
|
ListQuickResponsesCommand: () => ListQuickResponsesCommand,
|
|
93
130
|
ListQuickResponsesResponseFilterSensitiveLog: () => ListQuickResponsesResponseFilterSensitiveLog,
|
|
94
131
|
ListTagsForResourceCommand: () => ListTagsForResourceCommand,
|
|
132
|
+
ManagedSourceConfiguration: () => ManagedSourceConfiguration,
|
|
133
|
+
ManagedSourceConfigurationFilterSensitiveLog: () => ManagedSourceConfigurationFilterSensitiveLog,
|
|
95
134
|
NotifyRecommendationsReceivedCommand: () => NotifyRecommendationsReceivedCommand,
|
|
96
135
|
OrCondition: () => OrCondition,
|
|
97
136
|
Order: () => Order,
|
|
137
|
+
Origin: () => Origin,
|
|
138
|
+
ParsingStrategy: () => ParsingStrategy,
|
|
98
139
|
PreconditionFailedException: () => PreconditionFailedException,
|
|
99
140
|
Priority: () => Priority,
|
|
100
141
|
PutFeedbackCommand: () => PutFeedbackCommand,
|
|
@@ -107,8 +148,11 @@ __export(src_exports, {
|
|
|
107
148
|
QueryCondition: () => QueryCondition,
|
|
108
149
|
QueryConditionComparisonOperator: () => QueryConditionComparisonOperator,
|
|
109
150
|
QueryConditionFieldName: () => QueryConditionFieldName,
|
|
151
|
+
QueryInputData: () => QueryInputData,
|
|
152
|
+
QueryInputDataFilterSensitiveLog: () => QueryInputDataFilterSensitiveLog,
|
|
110
153
|
QueryRecommendationTriggerDataFilterSensitiveLog: () => QueryRecommendationTriggerDataFilterSensitiveLog,
|
|
111
154
|
QueryResultType: () => QueryResultType,
|
|
155
|
+
QueryTextInputDataFilterSensitiveLog: () => QueryTextInputDataFilterSensitiveLog,
|
|
112
156
|
QuickResponseContentProvider: () => QuickResponseContentProvider,
|
|
113
157
|
QuickResponseContentProviderFilterSensitiveLog: () => QuickResponseContentProviderFilterSensitiveLog,
|
|
114
158
|
QuickResponseContentsFilterSensitiveLog: () => QuickResponseContentsFilterSensitiveLog,
|
|
@@ -127,41 +171,67 @@ __export(src_exports, {
|
|
|
127
171
|
RecommendationTriggerFilterSensitiveLog: () => RecommendationTriggerFilterSensitiveLog,
|
|
128
172
|
RecommendationTriggerType: () => RecommendationTriggerType,
|
|
129
173
|
RecommendationType: () => RecommendationType,
|
|
174
|
+
ReferenceType: () => ReferenceType,
|
|
130
175
|
Relevance: () => Relevance,
|
|
131
176
|
RelevanceLevel: () => RelevanceLevel,
|
|
177
|
+
RemoveAssistantAIAgentCommand: () => RemoveAssistantAIAgentCommand,
|
|
132
178
|
RemoveKnowledgeBaseTemplateUriCommand: () => RemoveKnowledgeBaseTemplateUriCommand,
|
|
133
179
|
RequestTimeoutException: () => RequestTimeoutException,
|
|
134
180
|
ResourceNotFoundException: () => ResourceNotFoundException,
|
|
135
181
|
ResultDataFilterSensitiveLog: () => ResultDataFilterSensitiveLog,
|
|
182
|
+
RuntimeSessionDataFilterSensitiveLog: () => RuntimeSessionDataFilterSensitiveLog,
|
|
183
|
+
RuntimeSessionDataValue: () => RuntimeSessionDataValue,
|
|
184
|
+
RuntimeSessionDataValueFilterSensitiveLog: () => RuntimeSessionDataValueFilterSensitiveLog,
|
|
136
185
|
SearchContentCommand: () => SearchContentCommand,
|
|
137
186
|
SearchQuickResponsesCommand: () => SearchQuickResponsesCommand,
|
|
138
187
|
SearchQuickResponsesRequestFilterSensitiveLog: () => SearchQuickResponsesRequestFilterSensitiveLog,
|
|
139
188
|
SearchQuickResponsesResponseFilterSensitiveLog: () => SearchQuickResponsesResponseFilterSensitiveLog,
|
|
140
189
|
SearchSessionsCommand: () => SearchSessionsCommand,
|
|
141
190
|
ServiceQuotaExceededException: () => ServiceQuotaExceededException,
|
|
191
|
+
SessionDataNamespace: () => SessionDataNamespace,
|
|
142
192
|
SourceConfiguration: () => SourceConfiguration,
|
|
193
|
+
SourceConfigurationFilterSensitiveLog: () => SourceConfigurationFilterSensitiveLog,
|
|
143
194
|
SourceContentDataDetailsFilterSensitiveLog: () => SourceContentDataDetailsFilterSensitiveLog,
|
|
144
195
|
SourceContentType: () => SourceContentType,
|
|
145
196
|
StartContentUploadCommand: () => StartContentUploadCommand,
|
|
146
197
|
StartContentUploadResponseFilterSensitiveLog: () => StartContentUploadResponseFilterSensitiveLog,
|
|
147
198
|
StartImportJobCommand: () => StartImportJobCommand,
|
|
148
199
|
StartImportJobResponseFilterSensitiveLog: () => StartImportJobResponseFilterSensitiveLog,
|
|
200
|
+
Status: () => Status,
|
|
201
|
+
SyncStatus: () => SyncStatus,
|
|
149
202
|
TagFilter: () => TagFilter,
|
|
150
203
|
TagResourceCommand: () => TagResourceCommand,
|
|
151
204
|
TargetType: () => TargetType,
|
|
152
205
|
TextDataFilterSensitiveLog: () => TextDataFilterSensitiveLog,
|
|
206
|
+
TextFullAIPromptEditTemplateConfigurationFilterSensitiveLog: () => TextFullAIPromptEditTemplateConfigurationFilterSensitiveLog,
|
|
153
207
|
ThrottlingException: () => ThrottlingException,
|
|
154
208
|
TooManyTagsException: () => TooManyTagsException,
|
|
155
209
|
UntagResourceCommand: () => UntagResourceCommand,
|
|
210
|
+
UpdateAIAgentCommand: () => UpdateAIAgentCommand,
|
|
211
|
+
UpdateAIPromptCommand: () => UpdateAIPromptCommand,
|
|
212
|
+
UpdateAIPromptRequestFilterSensitiveLog: () => UpdateAIPromptRequestFilterSensitiveLog,
|
|
213
|
+
UpdateAIPromptResponseFilterSensitiveLog: () => UpdateAIPromptResponseFilterSensitiveLog,
|
|
214
|
+
UpdateAssistantAIAgentCommand: () => UpdateAssistantAIAgentCommand,
|
|
156
215
|
UpdateContentCommand: () => UpdateContentCommand,
|
|
157
216
|
UpdateContentResponseFilterSensitiveLog: () => UpdateContentResponseFilterSensitiveLog,
|
|
158
217
|
UpdateKnowledgeBaseTemplateUriCommand: () => UpdateKnowledgeBaseTemplateUriCommand,
|
|
218
|
+
UpdateKnowledgeBaseTemplateUriResponseFilterSensitiveLog: () => UpdateKnowledgeBaseTemplateUriResponseFilterSensitiveLog,
|
|
159
219
|
UpdateQuickResponseCommand: () => UpdateQuickResponseCommand,
|
|
160
220
|
UpdateQuickResponseRequestFilterSensitiveLog: () => UpdateQuickResponseRequestFilterSensitiveLog,
|
|
161
221
|
UpdateQuickResponseResponseFilterSensitiveLog: () => UpdateQuickResponseResponseFilterSensitiveLog,
|
|
162
222
|
UpdateSessionCommand: () => UpdateSessionCommand,
|
|
223
|
+
UpdateSessionDataCommand: () => UpdateSessionDataCommand,
|
|
224
|
+
UpdateSessionDataRequestFilterSensitiveLog: () => UpdateSessionDataRequestFilterSensitiveLog,
|
|
225
|
+
UpdateSessionDataResponseFilterSensitiveLog: () => UpdateSessionDataResponseFilterSensitiveLog,
|
|
163
226
|
ValidationException: () => ValidationException,
|
|
227
|
+
VisibilityStatus: () => VisibilityStatus,
|
|
228
|
+
WebCrawlerConfigurationFilterSensitiveLog: () => WebCrawlerConfigurationFilterSensitiveLog,
|
|
229
|
+
WebScopeType: () => WebScopeType,
|
|
164
230
|
__Client: () => import_smithy_client.Client,
|
|
231
|
+
paginateListAIAgentVersions: () => paginateListAIAgentVersions,
|
|
232
|
+
paginateListAIAgents: () => paginateListAIAgents,
|
|
233
|
+
paginateListAIPromptVersions: () => paginateListAIPromptVersions,
|
|
234
|
+
paginateListAIPrompts: () => paginateListAIPrompts,
|
|
165
235
|
paginateListAssistantAssociations: () => paginateListAssistantAssociations,
|
|
166
236
|
paginateListAssistants: () => paginateListAssistants,
|
|
167
237
|
paginateListContentAssociations: () => paginateListContentAssociations,
|
|
@@ -316,7 +386,7 @@ var QConnectClient = _QConnectClient;
|
|
|
316
386
|
// src/QConnect.ts
|
|
317
387
|
|
|
318
388
|
|
|
319
|
-
// src/commands/
|
|
389
|
+
// src/commands/CreateAIAgentCommand.ts
|
|
320
390
|
|
|
321
391
|
var import_middleware_serde = require("@smithy/middleware-serde");
|
|
322
392
|
|
|
@@ -379,25 +449,73 @@ var _ConflictException = class _ConflictException extends QConnectServiceExcepti
|
|
|
379
449
|
};
|
|
380
450
|
__name(_ConflictException, "ConflictException");
|
|
381
451
|
var ConflictException = _ConflictException;
|
|
382
|
-
var
|
|
383
|
-
((
|
|
384
|
-
|
|
385
|
-
if (value.
|
|
386
|
-
return visitor.
|
|
452
|
+
var OrCondition;
|
|
453
|
+
((OrCondition3) => {
|
|
454
|
+
OrCondition3.visit = /* @__PURE__ */ __name((value, visitor) => {
|
|
455
|
+
if (value.andConditions !== void 0)
|
|
456
|
+
return visitor.andConditions(value.andConditions);
|
|
457
|
+
if (value.tagCondition !== void 0)
|
|
458
|
+
return visitor.tagCondition(value.tagCondition);
|
|
387
459
|
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
388
460
|
}, "visit");
|
|
389
|
-
})(
|
|
390
|
-
var
|
|
461
|
+
})(OrCondition || (OrCondition = {}));
|
|
462
|
+
var TagFilter;
|
|
463
|
+
((TagFilter3) => {
|
|
464
|
+
TagFilter3.visit = /* @__PURE__ */ __name((value, visitor) => {
|
|
465
|
+
if (value.tagCondition !== void 0)
|
|
466
|
+
return visitor.tagCondition(value.tagCondition);
|
|
467
|
+
if (value.andConditions !== void 0)
|
|
468
|
+
return visitor.andConditions(value.andConditions);
|
|
469
|
+
if (value.orConditions !== void 0)
|
|
470
|
+
return visitor.orConditions(value.orConditions);
|
|
471
|
+
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
472
|
+
}, "visit");
|
|
473
|
+
})(TagFilter || (TagFilter = {}));
|
|
474
|
+
var KnowledgeBaseSearchType = {
|
|
475
|
+
HYBRID: "HYBRID",
|
|
476
|
+
SEMANTIC: "SEMANTIC"
|
|
477
|
+
};
|
|
478
|
+
var AssociationConfigurationData;
|
|
479
|
+
((AssociationConfigurationData3) => {
|
|
480
|
+
AssociationConfigurationData3.visit = /* @__PURE__ */ __name((value, visitor) => {
|
|
481
|
+
if (value.knowledgeBaseAssociationConfigurationData !== void 0)
|
|
482
|
+
return visitor.knowledgeBaseAssociationConfigurationData(value.knowledgeBaseAssociationConfigurationData);
|
|
483
|
+
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
484
|
+
}, "visit");
|
|
485
|
+
})(AssociationConfigurationData || (AssociationConfigurationData = {}));
|
|
486
|
+
var AIAgentAssociationConfigurationType = {
|
|
391
487
|
KNOWLEDGE_BASE: "KNOWLEDGE_BASE"
|
|
392
488
|
};
|
|
393
|
-
var
|
|
394
|
-
((
|
|
395
|
-
|
|
396
|
-
if (value.
|
|
397
|
-
return visitor.
|
|
489
|
+
var AIAgentConfiguration;
|
|
490
|
+
((AIAgentConfiguration2) => {
|
|
491
|
+
AIAgentConfiguration2.visit = /* @__PURE__ */ __name((value, visitor) => {
|
|
492
|
+
if (value.manualSearchAIAgentConfiguration !== void 0)
|
|
493
|
+
return visitor.manualSearchAIAgentConfiguration(value.manualSearchAIAgentConfiguration);
|
|
494
|
+
if (value.answerRecommendationAIAgentConfiguration !== void 0)
|
|
495
|
+
return visitor.answerRecommendationAIAgentConfiguration(value.answerRecommendationAIAgentConfiguration);
|
|
398
496
|
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
399
497
|
}, "visit");
|
|
400
|
-
})(
|
|
498
|
+
})(AIAgentConfiguration || (AIAgentConfiguration = {}));
|
|
499
|
+
var AIAgentType = {
|
|
500
|
+
ANSWER_RECOMMENDATION: "ANSWER_RECOMMENDATION",
|
|
501
|
+
MANUAL_SEARCH: "MANUAL_SEARCH"
|
|
502
|
+
};
|
|
503
|
+
var VisibilityStatus = {
|
|
504
|
+
PUBLISHED: "PUBLISHED",
|
|
505
|
+
SAVED: "SAVED"
|
|
506
|
+
};
|
|
507
|
+
var Origin = {
|
|
508
|
+
CUSTOMER: "CUSTOMER",
|
|
509
|
+
SYSTEM: "SYSTEM"
|
|
510
|
+
};
|
|
511
|
+
var Status = {
|
|
512
|
+
ACTIVE: "ACTIVE",
|
|
513
|
+
CREATE_FAILED: "CREATE_FAILED",
|
|
514
|
+
CREATE_IN_PROGRESS: "CREATE_IN_PROGRESS",
|
|
515
|
+
DELETED: "DELETED",
|
|
516
|
+
DELETE_FAILED: "DELETE_FAILED",
|
|
517
|
+
DELETE_IN_PROGRESS: "DELETE_IN_PROGRESS"
|
|
518
|
+
};
|
|
401
519
|
var _ResourceNotFoundException = class _ResourceNotFoundException extends QConnectServiceException {
|
|
402
520
|
/**
|
|
403
521
|
* @internal
|
|
@@ -433,6 +551,24 @@ var _ServiceQuotaExceededException = class _ServiceQuotaExceededException extend
|
|
|
433
551
|
};
|
|
434
552
|
__name(_ServiceQuotaExceededException, "ServiceQuotaExceededException");
|
|
435
553
|
var ServiceQuotaExceededException = _ServiceQuotaExceededException;
|
|
554
|
+
var _ThrottlingException = class _ThrottlingException extends QConnectServiceException {
|
|
555
|
+
/**
|
|
556
|
+
* @internal
|
|
557
|
+
*/
|
|
558
|
+
constructor(opts) {
|
|
559
|
+
super({
|
|
560
|
+
name: "ThrottlingException",
|
|
561
|
+
$fault: "client",
|
|
562
|
+
...opts
|
|
563
|
+
});
|
|
564
|
+
this.name = "ThrottlingException";
|
|
565
|
+
this.$fault = "client";
|
|
566
|
+
this.$retryable = {};
|
|
567
|
+
Object.setPrototypeOf(this, _ThrottlingException.prototype);
|
|
568
|
+
}
|
|
569
|
+
};
|
|
570
|
+
__name(_ThrottlingException, "ThrottlingException");
|
|
571
|
+
var ThrottlingException = _ThrottlingException;
|
|
436
572
|
var _ValidationException = class _ValidationException extends QConnectServiceException {
|
|
437
573
|
/**
|
|
438
574
|
* @internal
|
|
@@ -450,6 +586,45 @@ var _ValidationException = class _ValidationException extends QConnectServiceExc
|
|
|
450
586
|
};
|
|
451
587
|
__name(_ValidationException, "ValidationException");
|
|
452
588
|
var ValidationException = _ValidationException;
|
|
589
|
+
var AIPromptAPIFormat = {
|
|
590
|
+
ANTHROPIC_CLAUDE_MESSAGES: "ANTHROPIC_CLAUDE_MESSAGES",
|
|
591
|
+
ANTHROPIC_CLAUDE_TEXT_COMPLETIONS: "ANTHROPIC_CLAUDE_TEXT_COMPLETIONS"
|
|
592
|
+
};
|
|
593
|
+
var AIPromptTemplateConfiguration;
|
|
594
|
+
((AIPromptTemplateConfiguration3) => {
|
|
595
|
+
AIPromptTemplateConfiguration3.visit = /* @__PURE__ */ __name((value, visitor) => {
|
|
596
|
+
if (value.textFullAIPromptEditTemplateConfiguration !== void 0)
|
|
597
|
+
return visitor.textFullAIPromptEditTemplateConfiguration(value.textFullAIPromptEditTemplateConfiguration);
|
|
598
|
+
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
599
|
+
}, "visit");
|
|
600
|
+
})(AIPromptTemplateConfiguration || (AIPromptTemplateConfiguration = {}));
|
|
601
|
+
var AIPromptTemplateType = {
|
|
602
|
+
TEXT: "TEXT"
|
|
603
|
+
};
|
|
604
|
+
var AIPromptType = {
|
|
605
|
+
ANSWER_GENERATION: "ANSWER_GENERATION",
|
|
606
|
+
INTENT_LABELING_GENERATION: "INTENT_LABELING_GENERATION",
|
|
607
|
+
QUERY_REFORMULATION: "QUERY_REFORMULATION"
|
|
608
|
+
};
|
|
609
|
+
var AssistantAssociationInputData;
|
|
610
|
+
((AssistantAssociationInputData3) => {
|
|
611
|
+
AssistantAssociationInputData3.visit = /* @__PURE__ */ __name((value, visitor) => {
|
|
612
|
+
if (value.knowledgeBaseId !== void 0)
|
|
613
|
+
return visitor.knowledgeBaseId(value.knowledgeBaseId);
|
|
614
|
+
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
615
|
+
}, "visit");
|
|
616
|
+
})(AssistantAssociationInputData || (AssistantAssociationInputData = {}));
|
|
617
|
+
var AssociationType = {
|
|
618
|
+
KNOWLEDGE_BASE: "KNOWLEDGE_BASE"
|
|
619
|
+
};
|
|
620
|
+
var AssistantAssociationOutputData;
|
|
621
|
+
((AssistantAssociationOutputData2) => {
|
|
622
|
+
AssistantAssociationOutputData2.visit = /* @__PURE__ */ __name((value, visitor) => {
|
|
623
|
+
if (value.knowledgeBaseAssociation !== void 0)
|
|
624
|
+
return visitor.knowledgeBaseAssociation(value.knowledgeBaseAssociation);
|
|
625
|
+
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
626
|
+
}, "visit");
|
|
627
|
+
})(AssistantAssociationOutputData || (AssistantAssociationOutputData = {}));
|
|
453
628
|
var AssistantType = {
|
|
454
629
|
AGENT: "AGENT"
|
|
455
630
|
};
|
|
@@ -473,6 +648,10 @@ var RelevanceLevel = {
|
|
|
473
648
|
var SourceContentType = {
|
|
474
649
|
KNOWLEDGE_CONTENT: "KNOWLEDGE_CONTENT"
|
|
475
650
|
};
|
|
651
|
+
var ReferenceType = {
|
|
652
|
+
KNOWLEDGE_BASE: "KNOWLEDGE_BASE",
|
|
653
|
+
WEB_CRAWLER: "WEB_CRAWLER"
|
|
654
|
+
};
|
|
476
655
|
var DataReference;
|
|
477
656
|
((DataReference2) => {
|
|
478
657
|
DataReference2.visit = /* @__PURE__ */ __name((value, visitor) => {
|
|
@@ -484,6 +663,7 @@ var DataReference;
|
|
|
484
663
|
}, "visit");
|
|
485
664
|
})(DataReference || (DataReference = {}));
|
|
486
665
|
var RecommendationType = {
|
|
666
|
+
DETECTED_INTENT: "DETECTED_INTENT",
|
|
487
667
|
GENERATIVE_ANSWER: "GENERATIVE_ANSWER",
|
|
488
668
|
GENERATIVE_RESPONSE: "GENERATIVE_RESPONSE",
|
|
489
669
|
KNOWLEDGE_CONTENT: "KNOWLEDGE_CONTENT"
|
|
@@ -535,8 +715,19 @@ var QueryCondition;
|
|
|
535
715
|
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
536
716
|
}, "visit");
|
|
537
717
|
})(QueryCondition || (QueryCondition = {}));
|
|
718
|
+
var QueryInputData;
|
|
719
|
+
((QueryInputData3) => {
|
|
720
|
+
QueryInputData3.visit = /* @__PURE__ */ __name((value, visitor) => {
|
|
721
|
+
if (value.queryTextInputData !== void 0)
|
|
722
|
+
return visitor.queryTextInputData(value.queryTextInputData);
|
|
723
|
+
if (value.intentInputData !== void 0)
|
|
724
|
+
return visitor.intentInputData(value.intentInputData);
|
|
725
|
+
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
726
|
+
}, "visit");
|
|
727
|
+
})(QueryInputData || (QueryInputData = {}));
|
|
538
728
|
var QueryResultType = {
|
|
539
729
|
GENERATIVE_ANSWER: "GENERATIVE_ANSWER",
|
|
730
|
+
INTENT_ANSWER: "INTENT_ANSWER",
|
|
540
731
|
KNOWLEDGE_CONTENT: "KNOWLEDGE_CONTENT"
|
|
541
732
|
};
|
|
542
733
|
var _RequestTimeoutException = class _RequestTimeoutException extends QConnectServiceException {
|
|
@@ -563,28 +754,23 @@ var FilterField = {
|
|
|
563
754
|
var FilterOperator = {
|
|
564
755
|
EQUALS: "EQUALS"
|
|
565
756
|
};
|
|
566
|
-
var
|
|
567
|
-
((
|
|
568
|
-
|
|
569
|
-
if (value.
|
|
570
|
-
return visitor.
|
|
571
|
-
if (value.tagCondition !== void 0)
|
|
572
|
-
return visitor.tagCondition(value.tagCondition);
|
|
757
|
+
var RuntimeSessionDataValue;
|
|
758
|
+
((RuntimeSessionDataValue3) => {
|
|
759
|
+
RuntimeSessionDataValue3.visit = /* @__PURE__ */ __name((value, visitor) => {
|
|
760
|
+
if (value.stringValue !== void 0)
|
|
761
|
+
return visitor.stringValue(value.stringValue);
|
|
573
762
|
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
574
763
|
}, "visit");
|
|
575
|
-
})(
|
|
576
|
-
var
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
586
|
-
}, "visit");
|
|
587
|
-
})(TagFilter || (TagFilter = {}));
|
|
764
|
+
})(RuntimeSessionDataValue || (RuntimeSessionDataValue = {}));
|
|
765
|
+
var SessionDataNamespace = {
|
|
766
|
+
Custom: "Custom"
|
|
767
|
+
};
|
|
768
|
+
var ChunkingStrategy = {
|
|
769
|
+
FIXED_SIZE: "FIXED_SIZE",
|
|
770
|
+
HIERARCHICAL: "HIERARCHICAL",
|
|
771
|
+
NONE: "NONE",
|
|
772
|
+
SEMANTIC: "SEMANTIC"
|
|
773
|
+
};
|
|
588
774
|
var Configuration;
|
|
589
775
|
((Configuration3) => {
|
|
590
776
|
Configuration3.visit = /* @__PURE__ */ __name((value, visitor) => {
|
|
@@ -604,24 +790,6 @@ var ContentAssociationContents;
|
|
|
604
790
|
var ContentAssociationType = {
|
|
605
791
|
AMAZON_CONNECT_GUIDE: "AMAZON_CONNECT_GUIDE"
|
|
606
792
|
};
|
|
607
|
-
var _ThrottlingException = class _ThrottlingException extends QConnectServiceException {
|
|
608
|
-
/**
|
|
609
|
-
* @internal
|
|
610
|
-
*/
|
|
611
|
-
constructor(opts) {
|
|
612
|
-
super({
|
|
613
|
-
name: "ThrottlingException",
|
|
614
|
-
$fault: "client",
|
|
615
|
-
...opts
|
|
616
|
-
});
|
|
617
|
-
this.name = "ThrottlingException";
|
|
618
|
-
this.$fault = "client";
|
|
619
|
-
this.$retryable = {};
|
|
620
|
-
Object.setPrototypeOf(this, _ThrottlingException.prototype);
|
|
621
|
-
}
|
|
622
|
-
};
|
|
623
|
-
__name(_ThrottlingException, "ThrottlingException");
|
|
624
|
-
var ThrottlingException = _ThrottlingException;
|
|
625
793
|
var ContentStatus = {
|
|
626
794
|
ACTIVE: "ACTIVE",
|
|
627
795
|
CREATE_FAILED: "CREATE_FAILED",
|
|
@@ -651,16 +819,41 @@ var PreconditionFailedException = _PreconditionFailedException;
|
|
|
651
819
|
var KnowledgeBaseType = {
|
|
652
820
|
CUSTOM: "CUSTOM",
|
|
653
821
|
EXTERNAL: "EXTERNAL",
|
|
822
|
+
MANAGED: "MANAGED",
|
|
823
|
+
MESSAGE_TEMPLATES: "MESSAGE_TEMPLATES",
|
|
654
824
|
QUICK_RESPONSES: "QUICK_RESPONSES"
|
|
655
825
|
};
|
|
826
|
+
var WebScopeType = {
|
|
827
|
+
HOST_ONLY: "HOST_ONLY",
|
|
828
|
+
SUBDOMAINS: "SUBDOMAINS"
|
|
829
|
+
};
|
|
830
|
+
var ManagedSourceConfiguration;
|
|
831
|
+
((ManagedSourceConfiguration3) => {
|
|
832
|
+
ManagedSourceConfiguration3.visit = /* @__PURE__ */ __name((value, visitor) => {
|
|
833
|
+
if (value.webCrawlerConfiguration !== void 0)
|
|
834
|
+
return visitor.webCrawlerConfiguration(value.webCrawlerConfiguration);
|
|
835
|
+
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
836
|
+
}, "visit");
|
|
837
|
+
})(ManagedSourceConfiguration || (ManagedSourceConfiguration = {}));
|
|
656
838
|
var SourceConfiguration;
|
|
657
839
|
((SourceConfiguration3) => {
|
|
658
840
|
SourceConfiguration3.visit = /* @__PURE__ */ __name((value, visitor) => {
|
|
659
841
|
if (value.appIntegrations !== void 0)
|
|
660
842
|
return visitor.appIntegrations(value.appIntegrations);
|
|
843
|
+
if (value.managedSourceConfiguration !== void 0)
|
|
844
|
+
return visitor.managedSourceConfiguration(value.managedSourceConfiguration);
|
|
661
845
|
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
662
846
|
}, "visit");
|
|
663
847
|
})(SourceConfiguration || (SourceConfiguration = {}));
|
|
848
|
+
var ParsingStrategy = {
|
|
849
|
+
BEDROCK_FOUNDATION_MODEL: "BEDROCK_FOUNDATION_MODEL"
|
|
850
|
+
};
|
|
851
|
+
var SyncStatus = {
|
|
852
|
+
CREATE_IN_PROGRESS: "CREATE_IN_PROGRESS",
|
|
853
|
+
SYNCING_IN_PROGRESS: "SYNCING_IN_PROGRESS",
|
|
854
|
+
SYNC_FAILED: "SYNC_FAILED",
|
|
855
|
+
SYNC_SUCCESS: "SYNC_SUCCESS"
|
|
856
|
+
};
|
|
664
857
|
var KnowledgeBaseStatus = {
|
|
665
858
|
ACTIVE: "ACTIVE",
|
|
666
859
|
CREATE_FAILED: "CREATE_FAILED",
|
|
@@ -751,11 +944,61 @@ var DataDetails;
|
|
|
751
944
|
return visitor.contentData(value.contentData);
|
|
752
945
|
if (value.generativeData !== void 0)
|
|
753
946
|
return visitor.generativeData(value.generativeData);
|
|
947
|
+
if (value.intentDetectedData !== void 0)
|
|
948
|
+
return visitor.intentDetectedData(value.intentDetectedData);
|
|
754
949
|
if (value.sourceContentData !== void 0)
|
|
755
950
|
return visitor.sourceContentData(value.sourceContentData);
|
|
756
951
|
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
757
952
|
}, "visit");
|
|
758
953
|
})(DataDetails || (DataDetails = {}));
|
|
954
|
+
var TextFullAIPromptEditTemplateConfigurationFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
955
|
+
...obj,
|
|
956
|
+
...obj.text && { text: import_smithy_client.SENSITIVE_STRING }
|
|
957
|
+
}), "TextFullAIPromptEditTemplateConfigurationFilterSensitiveLog");
|
|
958
|
+
var AIPromptTemplateConfigurationFilterSensitiveLog = /* @__PURE__ */ __name((obj) => {
|
|
959
|
+
if (obj.textFullAIPromptEditTemplateConfiguration !== void 0)
|
|
960
|
+
return {
|
|
961
|
+
textFullAIPromptEditTemplateConfiguration: TextFullAIPromptEditTemplateConfigurationFilterSensitiveLog(
|
|
962
|
+
obj.textFullAIPromptEditTemplateConfiguration
|
|
963
|
+
)
|
|
964
|
+
};
|
|
965
|
+
if (obj.$unknown !== void 0)
|
|
966
|
+
return { [obj.$unknown[0]]: "UNKNOWN" };
|
|
967
|
+
}, "AIPromptTemplateConfigurationFilterSensitiveLog");
|
|
968
|
+
var CreateAIPromptRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
969
|
+
...obj,
|
|
970
|
+
...obj.templateConfiguration && {
|
|
971
|
+
templateConfiguration: AIPromptTemplateConfigurationFilterSensitiveLog(obj.templateConfiguration)
|
|
972
|
+
}
|
|
973
|
+
}), "CreateAIPromptRequestFilterSensitiveLog");
|
|
974
|
+
var AIPromptDataFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
975
|
+
...obj,
|
|
976
|
+
...obj.templateConfiguration && {
|
|
977
|
+
templateConfiguration: AIPromptTemplateConfigurationFilterSensitiveLog(obj.templateConfiguration)
|
|
978
|
+
}
|
|
979
|
+
}), "AIPromptDataFilterSensitiveLog");
|
|
980
|
+
var CreateAIPromptResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
981
|
+
...obj,
|
|
982
|
+
...obj.aiPrompt && { aiPrompt: AIPromptDataFilterSensitiveLog(obj.aiPrompt) }
|
|
983
|
+
}), "CreateAIPromptResponseFilterSensitiveLog");
|
|
984
|
+
var CreateAIPromptVersionResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
985
|
+
...obj,
|
|
986
|
+
...obj.aiPrompt && { aiPrompt: AIPromptDataFilterSensitiveLog(obj.aiPrompt) }
|
|
987
|
+
}), "CreateAIPromptVersionResponseFilterSensitiveLog");
|
|
988
|
+
var GetAIPromptResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
989
|
+
...obj,
|
|
990
|
+
...obj.aiPrompt && { aiPrompt: AIPromptDataFilterSensitiveLog(obj.aiPrompt) }
|
|
991
|
+
}), "GetAIPromptResponseFilterSensitiveLog");
|
|
992
|
+
var UpdateAIPromptRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
993
|
+
...obj,
|
|
994
|
+
...obj.templateConfiguration && {
|
|
995
|
+
templateConfiguration: AIPromptTemplateConfigurationFilterSensitiveLog(obj.templateConfiguration)
|
|
996
|
+
}
|
|
997
|
+
}), "UpdateAIPromptRequestFilterSensitiveLog");
|
|
998
|
+
var UpdateAIPromptResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
999
|
+
...obj,
|
|
1000
|
+
...obj.aiPrompt && { aiPrompt: AIPromptDataFilterSensitiveLog(obj.aiPrompt) }
|
|
1001
|
+
}), "UpdateAIPromptResponseFilterSensitiveLog");
|
|
759
1002
|
var DocumentTextFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
760
1003
|
...obj,
|
|
761
1004
|
...obj.text && { text: import_smithy_client.SENSITIVE_STRING }
|
|
@@ -769,6 +1012,10 @@ var ContentDataDetailsFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
|
769
1012
|
...obj,
|
|
770
1013
|
...obj.textData && { textData: TextDataFilterSensitiveLog(obj.textData) }
|
|
771
1014
|
}), "ContentDataDetailsFilterSensitiveLog");
|
|
1015
|
+
var IntentDetectedDataDetailsFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
1016
|
+
...obj,
|
|
1017
|
+
...obj.intent && { intent: import_smithy_client.SENSITIVE_STRING }
|
|
1018
|
+
}), "IntentDetectedDataDetailsFilterSensitiveLog");
|
|
772
1019
|
var SourceContentDataDetailsFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
773
1020
|
...obj,
|
|
774
1021
|
...obj.textData && { textData: TextDataFilterSensitiveLog(obj.textData) }
|
|
@@ -792,11 +1039,43 @@ var RecommendationTriggerFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
|
792
1039
|
...obj,
|
|
793
1040
|
...obj.data && { data: RecommendationTriggerDataFilterSensitiveLog(obj.data) }
|
|
794
1041
|
}), "RecommendationTriggerFilterSensitiveLog");
|
|
1042
|
+
var QueryTextInputDataFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
1043
|
+
...obj,
|
|
1044
|
+
...obj.text && { text: import_smithy_client.SENSITIVE_STRING }
|
|
1045
|
+
}), "QueryTextInputDataFilterSensitiveLog");
|
|
1046
|
+
var QueryInputDataFilterSensitiveLog = /* @__PURE__ */ __name((obj) => {
|
|
1047
|
+
if (obj.queryTextInputData !== void 0)
|
|
1048
|
+
return { queryTextInputData: QueryTextInputDataFilterSensitiveLog(obj.queryTextInputData) };
|
|
1049
|
+
if (obj.intentInputData !== void 0)
|
|
1050
|
+
return { intentInputData: obj.intentInputData };
|
|
1051
|
+
if (obj.$unknown !== void 0)
|
|
1052
|
+
return { [obj.$unknown[0]]: "UNKNOWN" };
|
|
1053
|
+
}, "QueryInputDataFilterSensitiveLog");
|
|
795
1054
|
var QueryAssistantRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
796
1055
|
...obj,
|
|
797
1056
|
...obj.queryText && { queryText: import_smithy_client.SENSITIVE_STRING },
|
|
798
|
-
...obj.queryCondition && { queryCondition: obj.queryCondition.map((item) => item) }
|
|
1057
|
+
...obj.queryCondition && { queryCondition: obj.queryCondition.map((item) => item) },
|
|
1058
|
+
...obj.queryInputData && { queryInputData: QueryInputDataFilterSensitiveLog(obj.queryInputData) }
|
|
799
1059
|
}), "QueryAssistantRequestFilterSensitiveLog");
|
|
1060
|
+
var RuntimeSessionDataValueFilterSensitiveLog = /* @__PURE__ */ __name((obj) => {
|
|
1061
|
+
if (obj.stringValue !== void 0)
|
|
1062
|
+
return { stringValue: import_smithy_client.SENSITIVE_STRING };
|
|
1063
|
+
if (obj.$unknown !== void 0)
|
|
1064
|
+
return { [obj.$unknown[0]]: "UNKNOWN" };
|
|
1065
|
+
}, "RuntimeSessionDataValueFilterSensitiveLog");
|
|
1066
|
+
var RuntimeSessionDataFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
1067
|
+
...obj,
|
|
1068
|
+
...obj.key && { key: import_smithy_client.SENSITIVE_STRING },
|
|
1069
|
+
...obj.value && { value: RuntimeSessionDataValueFilterSensitiveLog(obj.value) }
|
|
1070
|
+
}), "RuntimeSessionDataFilterSensitiveLog");
|
|
1071
|
+
var UpdateSessionDataRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
1072
|
+
...obj,
|
|
1073
|
+
...obj.data && { data: obj.data.map((item) => RuntimeSessionDataFilterSensitiveLog(item)) }
|
|
1074
|
+
}), "UpdateSessionDataRequestFilterSensitiveLog");
|
|
1075
|
+
var UpdateSessionDataResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
1076
|
+
...obj,
|
|
1077
|
+
...obj.data && { data: obj.data.map((item) => RuntimeSessionDataFilterSensitiveLog(item)) }
|
|
1078
|
+
}), "UpdateSessionDataResponseFilterSensitiveLog");
|
|
800
1079
|
var ContentDataFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
801
1080
|
...obj,
|
|
802
1081
|
...obj.url && { url: import_smithy_client.SENSITIVE_STRING }
|
|
@@ -813,6 +1092,41 @@ var UpdateContentResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
|
813
1092
|
...obj,
|
|
814
1093
|
...obj.content && { content: ContentDataFilterSensitiveLog(obj.content) }
|
|
815
1094
|
}), "UpdateContentResponseFilterSensitiveLog");
|
|
1095
|
+
var WebCrawlerConfigurationFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
1096
|
+
...obj,
|
|
1097
|
+
...obj.inclusionFilters && { inclusionFilters: import_smithy_client.SENSITIVE_STRING },
|
|
1098
|
+
...obj.exclusionFilters && { exclusionFilters: import_smithy_client.SENSITIVE_STRING }
|
|
1099
|
+
}), "WebCrawlerConfigurationFilterSensitiveLog");
|
|
1100
|
+
var ManagedSourceConfigurationFilterSensitiveLog = /* @__PURE__ */ __name((obj) => {
|
|
1101
|
+
if (obj.webCrawlerConfiguration !== void 0)
|
|
1102
|
+
return { webCrawlerConfiguration: WebCrawlerConfigurationFilterSensitiveLog(obj.webCrawlerConfiguration) };
|
|
1103
|
+
if (obj.$unknown !== void 0)
|
|
1104
|
+
return { [obj.$unknown[0]]: "UNKNOWN" };
|
|
1105
|
+
}, "ManagedSourceConfigurationFilterSensitiveLog");
|
|
1106
|
+
var SourceConfigurationFilterSensitiveLog = /* @__PURE__ */ __name((obj) => {
|
|
1107
|
+
if (obj.appIntegrations !== void 0)
|
|
1108
|
+
return { appIntegrations: obj.appIntegrations };
|
|
1109
|
+
if (obj.managedSourceConfiguration !== void 0)
|
|
1110
|
+
return { managedSourceConfiguration: ManagedSourceConfigurationFilterSensitiveLog(obj.managedSourceConfiguration) };
|
|
1111
|
+
if (obj.$unknown !== void 0)
|
|
1112
|
+
return { [obj.$unknown[0]]: "UNKNOWN" };
|
|
1113
|
+
}, "SourceConfigurationFilterSensitiveLog");
|
|
1114
|
+
var CreateKnowledgeBaseRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
1115
|
+
...obj,
|
|
1116
|
+
...obj.sourceConfiguration && {
|
|
1117
|
+
sourceConfiguration: SourceConfigurationFilterSensitiveLog(obj.sourceConfiguration)
|
|
1118
|
+
}
|
|
1119
|
+
}), "CreateKnowledgeBaseRequestFilterSensitiveLog");
|
|
1120
|
+
var KnowledgeBaseDataFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
1121
|
+
...obj,
|
|
1122
|
+
...obj.sourceConfiguration && {
|
|
1123
|
+
sourceConfiguration: SourceConfigurationFilterSensitiveLog(obj.sourceConfiguration)
|
|
1124
|
+
}
|
|
1125
|
+
}), "KnowledgeBaseDataFilterSensitiveLog");
|
|
1126
|
+
var CreateKnowledgeBaseResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
1127
|
+
...obj,
|
|
1128
|
+
...obj.knowledgeBase && { knowledgeBase: KnowledgeBaseDataFilterSensitiveLog(obj.knowledgeBase) }
|
|
1129
|
+
}), "CreateKnowledgeBaseResponseFilterSensitiveLog");
|
|
816
1130
|
var QuickResponseDataProviderFilterSensitiveLog = /* @__PURE__ */ __name((obj) => {
|
|
817
1131
|
if (obj.content !== void 0)
|
|
818
1132
|
return { content: import_smithy_client.SENSITIVE_STRING };
|
|
@@ -865,10 +1179,26 @@ var GetImportJobResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
|
865
1179
|
...obj,
|
|
866
1180
|
...obj.importJob && { importJob: ImportJobDataFilterSensitiveLog(obj.importJob) }
|
|
867
1181
|
}), "GetImportJobResponseFilterSensitiveLog");
|
|
1182
|
+
var GetKnowledgeBaseResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
1183
|
+
...obj,
|
|
1184
|
+
...obj.knowledgeBase && { knowledgeBase: KnowledgeBaseDataFilterSensitiveLog(obj.knowledgeBase) }
|
|
1185
|
+
}), "GetKnowledgeBaseResponseFilterSensitiveLog");
|
|
868
1186
|
var GetQuickResponseResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
869
1187
|
...obj,
|
|
870
1188
|
...obj.quickResponse && { quickResponse: QuickResponseDataFilterSensitiveLog(obj.quickResponse) }
|
|
871
1189
|
}), "GetQuickResponseResponseFilterSensitiveLog");
|
|
1190
|
+
var KnowledgeBaseSummaryFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
1191
|
+
...obj,
|
|
1192
|
+
...obj.sourceConfiguration && {
|
|
1193
|
+
sourceConfiguration: SourceConfigurationFilterSensitiveLog(obj.sourceConfiguration)
|
|
1194
|
+
}
|
|
1195
|
+
}), "KnowledgeBaseSummaryFilterSensitiveLog");
|
|
1196
|
+
var ListKnowledgeBasesResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
1197
|
+
...obj,
|
|
1198
|
+
...obj.knowledgeBaseSummaries && {
|
|
1199
|
+
knowledgeBaseSummaries: obj.knowledgeBaseSummaries.map((item) => KnowledgeBaseSummaryFilterSensitiveLog(item))
|
|
1200
|
+
}
|
|
1201
|
+
}), "ListKnowledgeBasesResponseFilterSensitiveLog");
|
|
872
1202
|
var QuickResponseSummaryFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
873
1203
|
...obj,
|
|
874
1204
|
...obj.channels && { channels: import_smithy_client.SENSITIVE_STRING }
|
|
@@ -917,11 +1247,17 @@ var StartImportJobResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => (
|
|
|
917
1247
|
...obj,
|
|
918
1248
|
...obj.importJob && { importJob: ImportJobDataFilterSensitiveLog(obj.importJob) }
|
|
919
1249
|
}), "StartImportJobResponseFilterSensitiveLog");
|
|
1250
|
+
var UpdateKnowledgeBaseTemplateUriResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
1251
|
+
...obj,
|
|
1252
|
+
...obj.knowledgeBase && { knowledgeBase: KnowledgeBaseDataFilterSensitiveLog(obj.knowledgeBase) }
|
|
1253
|
+
}), "UpdateKnowledgeBaseTemplateUriResponseFilterSensitiveLog");
|
|
920
1254
|
var DataDetailsFilterSensitiveLog = /* @__PURE__ */ __name((obj) => {
|
|
921
1255
|
if (obj.contentData !== void 0)
|
|
922
1256
|
return { contentData: ContentDataDetailsFilterSensitiveLog(obj.contentData) };
|
|
923
1257
|
if (obj.generativeData !== void 0)
|
|
924
1258
|
return { generativeData: GenerativeDataDetailsFilterSensitiveLog(obj.generativeData) };
|
|
1259
|
+
if (obj.intentDetectedData !== void 0)
|
|
1260
|
+
return { intentDetectedData: IntentDetectedDataDetailsFilterSensitiveLog(obj.intentDetectedData) };
|
|
925
1261
|
if (obj.sourceContentData !== void 0)
|
|
926
1262
|
return { sourceContentData: SourceContentDataDetailsFilterSensitiveLog(obj.sourceContentData) };
|
|
927
1263
|
if (obj.$unknown !== void 0)
|
|
@@ -960,6 +1296,89 @@ var QueryAssistantResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => (
|
|
|
960
1296
|
}), "QueryAssistantResponseFilterSensitiveLog");
|
|
961
1297
|
|
|
962
1298
|
// src/protocols/Aws_restJson1.ts
|
|
1299
|
+
var se_CreateAIAgentCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1300
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
1301
|
+
const headers = {
|
|
1302
|
+
"content-type": "application/json"
|
|
1303
|
+
};
|
|
1304
|
+
b.bp("/assistants/{assistantId}/aiagents");
|
|
1305
|
+
b.p("assistantId", () => input.assistantId, "{assistantId}", false);
|
|
1306
|
+
let body;
|
|
1307
|
+
body = JSON.stringify(
|
|
1308
|
+
(0, import_smithy_client.take)(input, {
|
|
1309
|
+
clientToken: [true, (_) => _ ?? (0, import_uuid.v4)()],
|
|
1310
|
+
configuration: (_) => se_AIAgentConfiguration(_, context),
|
|
1311
|
+
description: [],
|
|
1312
|
+
name: [],
|
|
1313
|
+
tags: (_) => (0, import_smithy_client._json)(_),
|
|
1314
|
+
type: [],
|
|
1315
|
+
visibilityStatus: []
|
|
1316
|
+
})
|
|
1317
|
+
);
|
|
1318
|
+
b.m("POST").h(headers).b(body);
|
|
1319
|
+
return b.build();
|
|
1320
|
+
}, "se_CreateAIAgentCommand");
|
|
1321
|
+
var se_CreateAIAgentVersionCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1322
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
1323
|
+
const headers = {
|
|
1324
|
+
"content-type": "application/json"
|
|
1325
|
+
};
|
|
1326
|
+
b.bp("/assistants/{assistantId}/aiagents/{aiAgentId}/versions");
|
|
1327
|
+
b.p("assistantId", () => input.assistantId, "{assistantId}", false);
|
|
1328
|
+
b.p("aiAgentId", () => input.aiAgentId, "{aiAgentId}", false);
|
|
1329
|
+
let body;
|
|
1330
|
+
body = JSON.stringify(
|
|
1331
|
+
(0, import_smithy_client.take)(input, {
|
|
1332
|
+
clientToken: [true, (_) => _ ?? (0, import_uuid.v4)()],
|
|
1333
|
+
modifiedTime: (_) => _.getTime() / 1e3
|
|
1334
|
+
})
|
|
1335
|
+
);
|
|
1336
|
+
b.m("POST").h(headers).b(body);
|
|
1337
|
+
return b.build();
|
|
1338
|
+
}, "se_CreateAIAgentVersionCommand");
|
|
1339
|
+
var se_CreateAIPromptCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1340
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
1341
|
+
const headers = {
|
|
1342
|
+
"content-type": "application/json"
|
|
1343
|
+
};
|
|
1344
|
+
b.bp("/assistants/{assistantId}/aiprompts");
|
|
1345
|
+
b.p("assistantId", () => input.assistantId, "{assistantId}", false);
|
|
1346
|
+
let body;
|
|
1347
|
+
body = JSON.stringify(
|
|
1348
|
+
(0, import_smithy_client.take)(input, {
|
|
1349
|
+
apiFormat: [],
|
|
1350
|
+
clientToken: [true, (_) => _ ?? (0, import_uuid.v4)()],
|
|
1351
|
+
description: [],
|
|
1352
|
+
modelId: [],
|
|
1353
|
+
name: [],
|
|
1354
|
+
tags: (_) => (0, import_smithy_client._json)(_),
|
|
1355
|
+
templateConfiguration: (_) => (0, import_smithy_client._json)(_),
|
|
1356
|
+
templateType: [],
|
|
1357
|
+
type: [],
|
|
1358
|
+
visibilityStatus: []
|
|
1359
|
+
})
|
|
1360
|
+
);
|
|
1361
|
+
b.m("POST").h(headers).b(body);
|
|
1362
|
+
return b.build();
|
|
1363
|
+
}, "se_CreateAIPromptCommand");
|
|
1364
|
+
var se_CreateAIPromptVersionCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1365
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
1366
|
+
const headers = {
|
|
1367
|
+
"content-type": "application/json"
|
|
1368
|
+
};
|
|
1369
|
+
b.bp("/assistants/{assistantId}/aiprompts/{aiPromptId}/versions");
|
|
1370
|
+
b.p("assistantId", () => input.assistantId, "{assistantId}", false);
|
|
1371
|
+
b.p("aiPromptId", () => input.aiPromptId, "{aiPromptId}", false);
|
|
1372
|
+
let body;
|
|
1373
|
+
body = JSON.stringify(
|
|
1374
|
+
(0, import_smithy_client.take)(input, {
|
|
1375
|
+
clientToken: [true, (_) => _ ?? (0, import_uuid.v4)()],
|
|
1376
|
+
modifiedTime: (_) => _.getTime() / 1e3
|
|
1377
|
+
})
|
|
1378
|
+
);
|
|
1379
|
+
b.m("POST").h(headers).b(body);
|
|
1380
|
+
return b.build();
|
|
1381
|
+
}, "se_CreateAIPromptVersionCommand");
|
|
963
1382
|
var se_CreateAssistantCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
964
1383
|
const b = (0, import_core.requestBuilder)(input, context);
|
|
965
1384
|
const headers = {
|
|
@@ -1057,7 +1476,8 @@ var se_CreateKnowledgeBaseCommand = /* @__PURE__ */ __name(async (input, context
|
|
|
1057
1476
|
renderingConfiguration: (_) => (0, import_smithy_client._json)(_),
|
|
1058
1477
|
serverSideEncryptionConfiguration: (_) => (0, import_smithy_client._json)(_),
|
|
1059
1478
|
sourceConfiguration: (_) => (0, import_smithy_client._json)(_),
|
|
1060
|
-
tags: (_) => (0, import_smithy_client._json)(_)
|
|
1479
|
+
tags: (_) => (0, import_smithy_client._json)(_),
|
|
1480
|
+
vectorIngestionConfiguration: (_) => (0, import_smithy_client._json)(_)
|
|
1061
1481
|
})
|
|
1062
1482
|
);
|
|
1063
1483
|
b.m("POST").h(headers).b(body);
|
|
@@ -1099,6 +1519,7 @@ var se_CreateSessionCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
|
1099
1519
|
let body;
|
|
1100
1520
|
body = JSON.stringify(
|
|
1101
1521
|
(0, import_smithy_client.take)(input, {
|
|
1522
|
+
aiAgentConfiguration: (_) => (0, import_smithy_client._json)(_),
|
|
1102
1523
|
clientToken: [true, (_) => _ ?? (0, import_uuid.v4)()],
|
|
1103
1524
|
description: [],
|
|
1104
1525
|
name: [],
|
|
@@ -1109,6 +1530,48 @@ var se_CreateSessionCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
|
1109
1530
|
b.m("POST").h(headers).b(body);
|
|
1110
1531
|
return b.build();
|
|
1111
1532
|
}, "se_CreateSessionCommand");
|
|
1533
|
+
var se_DeleteAIAgentCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1534
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
1535
|
+
const headers = {};
|
|
1536
|
+
b.bp("/assistants/{assistantId}/aiagents/{aiAgentId}");
|
|
1537
|
+
b.p("assistantId", () => input.assistantId, "{assistantId}", false);
|
|
1538
|
+
b.p("aiAgentId", () => input.aiAgentId, "{aiAgentId}", false);
|
|
1539
|
+
let body;
|
|
1540
|
+
b.m("DELETE").h(headers).b(body);
|
|
1541
|
+
return b.build();
|
|
1542
|
+
}, "se_DeleteAIAgentCommand");
|
|
1543
|
+
var se_DeleteAIAgentVersionCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1544
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
1545
|
+
const headers = {};
|
|
1546
|
+
b.bp("/assistants/{assistantId}/aiagents/{aiAgentId}/versions/{versionNumber}");
|
|
1547
|
+
b.p("assistantId", () => input.assistantId, "{assistantId}", false);
|
|
1548
|
+
b.p("aiAgentId", () => input.aiAgentId, "{aiAgentId}", false);
|
|
1549
|
+
b.p("versionNumber", () => input.versionNumber.toString(), "{versionNumber}", false);
|
|
1550
|
+
let body;
|
|
1551
|
+
b.m("DELETE").h(headers).b(body);
|
|
1552
|
+
return b.build();
|
|
1553
|
+
}, "se_DeleteAIAgentVersionCommand");
|
|
1554
|
+
var se_DeleteAIPromptCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1555
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
1556
|
+
const headers = {};
|
|
1557
|
+
b.bp("/assistants/{assistantId}/aiprompts/{aiPromptId}");
|
|
1558
|
+
b.p("assistantId", () => input.assistantId, "{assistantId}", false);
|
|
1559
|
+
b.p("aiPromptId", () => input.aiPromptId, "{aiPromptId}", false);
|
|
1560
|
+
let body;
|
|
1561
|
+
b.m("DELETE").h(headers).b(body);
|
|
1562
|
+
return b.build();
|
|
1563
|
+
}, "se_DeleteAIPromptCommand");
|
|
1564
|
+
var se_DeleteAIPromptVersionCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1565
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
1566
|
+
const headers = {};
|
|
1567
|
+
b.bp("/assistants/{assistantId}/aiprompts/{aiPromptId}/versions/{versionNumber}");
|
|
1568
|
+
b.p("assistantId", () => input.assistantId, "{assistantId}", false);
|
|
1569
|
+
b.p("aiPromptId", () => input.aiPromptId, "{aiPromptId}", false);
|
|
1570
|
+
b.p("versionNumber", () => input.versionNumber.toString(), "{versionNumber}", false);
|
|
1571
|
+
let body;
|
|
1572
|
+
b.m("DELETE").h(headers).b(body);
|
|
1573
|
+
return b.build();
|
|
1574
|
+
}, "se_DeleteAIPromptVersionCommand");
|
|
1112
1575
|
var se_DeleteAssistantCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1113
1576
|
const b = (0, import_core.requestBuilder)(input, context);
|
|
1114
1577
|
const headers = {};
|
|
@@ -1178,6 +1641,26 @@ var se_DeleteQuickResponseCommand = /* @__PURE__ */ __name(async (input, context
|
|
|
1178
1641
|
b.m("DELETE").h(headers).b(body);
|
|
1179
1642
|
return b.build();
|
|
1180
1643
|
}, "se_DeleteQuickResponseCommand");
|
|
1644
|
+
var se_GetAIAgentCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1645
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
1646
|
+
const headers = {};
|
|
1647
|
+
b.bp("/assistants/{assistantId}/aiagents/{aiAgentId}");
|
|
1648
|
+
b.p("assistantId", () => input.assistantId, "{assistantId}", false);
|
|
1649
|
+
b.p("aiAgentId", () => input.aiAgentId, "{aiAgentId}", false);
|
|
1650
|
+
let body;
|
|
1651
|
+
b.m("GET").h(headers).b(body);
|
|
1652
|
+
return b.build();
|
|
1653
|
+
}, "se_GetAIAgentCommand");
|
|
1654
|
+
var se_GetAIPromptCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1655
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
1656
|
+
const headers = {};
|
|
1657
|
+
b.bp("/assistants/{assistantId}/aiprompts/{aiPromptId}");
|
|
1658
|
+
b.p("assistantId", () => input.assistantId, "{assistantId}", false);
|
|
1659
|
+
b.p("aiPromptId", () => input.aiPromptId, "{aiPromptId}", false);
|
|
1660
|
+
let body;
|
|
1661
|
+
b.m("GET").h(headers).b(body);
|
|
1662
|
+
return b.build();
|
|
1663
|
+
}, "se_GetAIPromptCommand");
|
|
1181
1664
|
var se_GetAssistantCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1182
1665
|
const b = (0, import_core.requestBuilder)(input, context);
|
|
1183
1666
|
const headers = {};
|
|
@@ -1281,6 +1764,64 @@ var se_GetSessionCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
|
1281
1764
|
b.m("GET").h(headers).b(body);
|
|
1282
1765
|
return b.build();
|
|
1283
1766
|
}, "se_GetSessionCommand");
|
|
1767
|
+
var se_ListAIAgentsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1768
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
1769
|
+
const headers = {};
|
|
1770
|
+
b.bp("/assistants/{assistantId}/aiagents");
|
|
1771
|
+
b.p("assistantId", () => input.assistantId, "{assistantId}", false);
|
|
1772
|
+
const query = (0, import_smithy_client.map)({
|
|
1773
|
+
[_nT]: [, input[_nT]],
|
|
1774
|
+
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
|
|
1775
|
+
[_o]: [, input[_o]]
|
|
1776
|
+
});
|
|
1777
|
+
let body;
|
|
1778
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
1779
|
+
return b.build();
|
|
1780
|
+
}, "se_ListAIAgentsCommand");
|
|
1781
|
+
var se_ListAIAgentVersionsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1782
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
1783
|
+
const headers = {};
|
|
1784
|
+
b.bp("/assistants/{assistantId}/aiagents/{aiAgentId}/versions");
|
|
1785
|
+
b.p("assistantId", () => input.assistantId, "{assistantId}", false);
|
|
1786
|
+
b.p("aiAgentId", () => input.aiAgentId, "{aiAgentId}", false);
|
|
1787
|
+
const query = (0, import_smithy_client.map)({
|
|
1788
|
+
[_nT]: [, input[_nT]],
|
|
1789
|
+
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
|
|
1790
|
+
[_o]: [, input[_o]]
|
|
1791
|
+
});
|
|
1792
|
+
let body;
|
|
1793
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
1794
|
+
return b.build();
|
|
1795
|
+
}, "se_ListAIAgentVersionsCommand");
|
|
1796
|
+
var se_ListAIPromptsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1797
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
1798
|
+
const headers = {};
|
|
1799
|
+
b.bp("/assistants/{assistantId}/aiprompts");
|
|
1800
|
+
b.p("assistantId", () => input.assistantId, "{assistantId}", false);
|
|
1801
|
+
const query = (0, import_smithy_client.map)({
|
|
1802
|
+
[_nT]: [, input[_nT]],
|
|
1803
|
+
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
|
|
1804
|
+
[_o]: [, input[_o]]
|
|
1805
|
+
});
|
|
1806
|
+
let body;
|
|
1807
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
1808
|
+
return b.build();
|
|
1809
|
+
}, "se_ListAIPromptsCommand");
|
|
1810
|
+
var se_ListAIPromptVersionsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1811
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
1812
|
+
const headers = {};
|
|
1813
|
+
b.bp("/assistants/{assistantId}/aiprompts/{aiPromptId}/versions");
|
|
1814
|
+
b.p("assistantId", () => input.assistantId, "{assistantId}", false);
|
|
1815
|
+
b.p("aiPromptId", () => input.aiPromptId, "{aiPromptId}", false);
|
|
1816
|
+
const query = (0, import_smithy_client.map)({
|
|
1817
|
+
[_nT]: [, input[_nT]],
|
|
1818
|
+
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
|
|
1819
|
+
[_o]: [, input[_o]]
|
|
1820
|
+
});
|
|
1821
|
+
let body;
|
|
1822
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
1823
|
+
return b.build();
|
|
1824
|
+
}, "se_ListAIPromptVersionsCommand");
|
|
1284
1825
|
var se_ListAssistantAssociationsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1285
1826
|
const b = (0, import_core.requestBuilder)(input, context);
|
|
1286
1827
|
const headers = {};
|
|
@@ -1427,7 +1968,9 @@ var se_QueryAssistantCommand = /* @__PURE__ */ __name(async (input, context) =>
|
|
|
1427
1968
|
(0, import_smithy_client.take)(input, {
|
|
1428
1969
|
maxResults: [],
|
|
1429
1970
|
nextToken: [],
|
|
1971
|
+
overrideKnowledgeBaseSearchType: [],
|
|
1430
1972
|
queryCondition: (_) => (0, import_smithy_client._json)(_),
|
|
1973
|
+
queryInputData: (_) => (0, import_smithy_client._json)(_),
|
|
1431
1974
|
queryText: [],
|
|
1432
1975
|
sessionId: []
|
|
1433
1976
|
})
|
|
@@ -1435,6 +1978,18 @@ var se_QueryAssistantCommand = /* @__PURE__ */ __name(async (input, context) =>
|
|
|
1435
1978
|
b.m("POST").h(headers).b(body);
|
|
1436
1979
|
return b.build();
|
|
1437
1980
|
}, "se_QueryAssistantCommand");
|
|
1981
|
+
var se_RemoveAssistantAIAgentCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1982
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
1983
|
+
const headers = {};
|
|
1984
|
+
b.bp("/assistants/{assistantId}/aiagentConfiguration");
|
|
1985
|
+
b.p("assistantId", () => input.assistantId, "{assistantId}", false);
|
|
1986
|
+
const query = (0, import_smithy_client.map)({
|
|
1987
|
+
[_aAT]: [, (0, import_smithy_client.expectNonNull)(input[_aAT], `aiAgentType`)]
|
|
1988
|
+
});
|
|
1989
|
+
let body;
|
|
1990
|
+
b.m("DELETE").h(headers).q(query).b(body);
|
|
1991
|
+
return b.build();
|
|
1992
|
+
}, "se_RemoveAssistantAIAgentCommand");
|
|
1438
1993
|
var se_RemoveKnowledgeBaseTemplateUriCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1439
1994
|
const b = (0, import_core.requestBuilder)(input, context);
|
|
1440
1995
|
const headers = {};
|
|
@@ -1510,66 +2065,123 @@ var se_StartContentUploadCommand = /* @__PURE__ */ __name(async (input, context)
|
|
|
1510
2065
|
const headers = {
|
|
1511
2066
|
"content-type": "application/json"
|
|
1512
2067
|
};
|
|
1513
|
-
b.bp("/knowledgeBases/{knowledgeBaseId}/upload");
|
|
1514
|
-
b.p("knowledgeBaseId", () => input.knowledgeBaseId, "{knowledgeBaseId}", false);
|
|
2068
|
+
b.bp("/knowledgeBases/{knowledgeBaseId}/upload");
|
|
2069
|
+
b.p("knowledgeBaseId", () => input.knowledgeBaseId, "{knowledgeBaseId}", false);
|
|
2070
|
+
let body;
|
|
2071
|
+
body = JSON.stringify(
|
|
2072
|
+
(0, import_smithy_client.take)(input, {
|
|
2073
|
+
contentType: [],
|
|
2074
|
+
presignedUrlTimeToLive: []
|
|
2075
|
+
})
|
|
2076
|
+
);
|
|
2077
|
+
b.m("POST").h(headers).b(body);
|
|
2078
|
+
return b.build();
|
|
2079
|
+
}, "se_StartContentUploadCommand");
|
|
2080
|
+
var se_StartImportJobCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
2081
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
2082
|
+
const headers = {
|
|
2083
|
+
"content-type": "application/json"
|
|
2084
|
+
};
|
|
2085
|
+
b.bp("/knowledgeBases/{knowledgeBaseId}/importJobs");
|
|
2086
|
+
b.p("knowledgeBaseId", () => input.knowledgeBaseId, "{knowledgeBaseId}", false);
|
|
2087
|
+
let body;
|
|
2088
|
+
body = JSON.stringify(
|
|
2089
|
+
(0, import_smithy_client.take)(input, {
|
|
2090
|
+
clientToken: [true, (_) => _ ?? (0, import_uuid.v4)()],
|
|
2091
|
+
externalSourceConfiguration: (_) => (0, import_smithy_client._json)(_),
|
|
2092
|
+
importJobType: [],
|
|
2093
|
+
metadata: (_) => (0, import_smithy_client._json)(_),
|
|
2094
|
+
uploadId: []
|
|
2095
|
+
})
|
|
2096
|
+
);
|
|
2097
|
+
b.m("POST").h(headers).b(body);
|
|
2098
|
+
return b.build();
|
|
2099
|
+
}, "se_StartImportJobCommand");
|
|
2100
|
+
var se_TagResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
2101
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
2102
|
+
const headers = {
|
|
2103
|
+
"content-type": "application/json"
|
|
2104
|
+
};
|
|
2105
|
+
b.bp("/tags/{resourceArn}");
|
|
2106
|
+
b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false);
|
|
2107
|
+
let body;
|
|
2108
|
+
body = JSON.stringify(
|
|
2109
|
+
(0, import_smithy_client.take)(input, {
|
|
2110
|
+
tags: (_) => (0, import_smithy_client._json)(_)
|
|
2111
|
+
})
|
|
2112
|
+
);
|
|
2113
|
+
b.m("POST").h(headers).b(body);
|
|
2114
|
+
return b.build();
|
|
2115
|
+
}, "se_TagResourceCommand");
|
|
2116
|
+
var se_UntagResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
2117
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
2118
|
+
const headers = {};
|
|
2119
|
+
b.bp("/tags/{resourceArn}");
|
|
2120
|
+
b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false);
|
|
2121
|
+
const query = (0, import_smithy_client.map)({
|
|
2122
|
+
[_tK]: [(0, import_smithy_client.expectNonNull)(input.tagKeys, `tagKeys`) != null, () => input[_tK] || []]
|
|
2123
|
+
});
|
|
2124
|
+
let body;
|
|
2125
|
+
b.m("DELETE").h(headers).q(query).b(body);
|
|
2126
|
+
return b.build();
|
|
2127
|
+
}, "se_UntagResourceCommand");
|
|
2128
|
+
var se_UpdateAIAgentCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
2129
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
2130
|
+
const headers = {
|
|
2131
|
+
"content-type": "application/json"
|
|
2132
|
+
};
|
|
2133
|
+
b.bp("/assistants/{assistantId}/aiagents/{aiAgentId}");
|
|
2134
|
+
b.p("assistantId", () => input.assistantId, "{assistantId}", false);
|
|
2135
|
+
b.p("aiAgentId", () => input.aiAgentId, "{aiAgentId}", false);
|
|
1515
2136
|
let body;
|
|
1516
2137
|
body = JSON.stringify(
|
|
1517
2138
|
(0, import_smithy_client.take)(input, {
|
|
1518
|
-
|
|
1519
|
-
|
|
2139
|
+
clientToken: [true, (_) => _ ?? (0, import_uuid.v4)()],
|
|
2140
|
+
configuration: (_) => se_AIAgentConfiguration(_, context),
|
|
2141
|
+
description: [],
|
|
2142
|
+
visibilityStatus: []
|
|
1520
2143
|
})
|
|
1521
2144
|
);
|
|
1522
2145
|
b.m("POST").h(headers).b(body);
|
|
1523
2146
|
return b.build();
|
|
1524
|
-
}, "
|
|
1525
|
-
var
|
|
2147
|
+
}, "se_UpdateAIAgentCommand");
|
|
2148
|
+
var se_UpdateAIPromptCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1526
2149
|
const b = (0, import_core.requestBuilder)(input, context);
|
|
1527
2150
|
const headers = {
|
|
1528
2151
|
"content-type": "application/json"
|
|
1529
2152
|
};
|
|
1530
|
-
b.bp("/
|
|
1531
|
-
b.p("
|
|
2153
|
+
b.bp("/assistants/{assistantId}/aiprompts/{aiPromptId}");
|
|
2154
|
+
b.p("assistantId", () => input.assistantId, "{assistantId}", false);
|
|
2155
|
+
b.p("aiPromptId", () => input.aiPromptId, "{aiPromptId}", false);
|
|
1532
2156
|
let body;
|
|
1533
2157
|
body = JSON.stringify(
|
|
1534
2158
|
(0, import_smithy_client.take)(input, {
|
|
1535
2159
|
clientToken: [true, (_) => _ ?? (0, import_uuid.v4)()],
|
|
1536
|
-
|
|
1537
|
-
|
|
1538
|
-
|
|
1539
|
-
uploadId: []
|
|
2160
|
+
description: [],
|
|
2161
|
+
templateConfiguration: (_) => (0, import_smithy_client._json)(_),
|
|
2162
|
+
visibilityStatus: []
|
|
1540
2163
|
})
|
|
1541
2164
|
);
|
|
1542
2165
|
b.m("POST").h(headers).b(body);
|
|
1543
2166
|
return b.build();
|
|
1544
|
-
}, "
|
|
1545
|
-
var
|
|
2167
|
+
}, "se_UpdateAIPromptCommand");
|
|
2168
|
+
var se_UpdateAssistantAIAgentCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1546
2169
|
const b = (0, import_core.requestBuilder)(input, context);
|
|
1547
2170
|
const headers = {
|
|
1548
2171
|
"content-type": "application/json"
|
|
1549
2172
|
};
|
|
1550
|
-
b.bp("/
|
|
1551
|
-
b.p("
|
|
2173
|
+
b.bp("/assistants/{assistantId}/aiagentConfiguration");
|
|
2174
|
+
b.p("assistantId", () => input.assistantId, "{assistantId}", false);
|
|
1552
2175
|
let body;
|
|
1553
2176
|
body = JSON.stringify(
|
|
1554
2177
|
(0, import_smithy_client.take)(input, {
|
|
1555
|
-
|
|
2178
|
+
aiAgentType: [],
|
|
2179
|
+
configuration: (_) => (0, import_smithy_client._json)(_)
|
|
1556
2180
|
})
|
|
1557
2181
|
);
|
|
1558
2182
|
b.m("POST").h(headers).b(body);
|
|
1559
2183
|
return b.build();
|
|
1560
|
-
}, "
|
|
1561
|
-
var se_UntagResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1562
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
1563
|
-
const headers = {};
|
|
1564
|
-
b.bp("/tags/{resourceArn}");
|
|
1565
|
-
b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false);
|
|
1566
|
-
const query = (0, import_smithy_client.map)({
|
|
1567
|
-
[_tK]: [(0, import_smithy_client.expectNonNull)(input.tagKeys, `tagKeys`) != null, () => input[_tK] || []]
|
|
1568
|
-
});
|
|
1569
|
-
let body;
|
|
1570
|
-
b.m("DELETE").h(headers).q(query).b(body);
|
|
1571
|
-
return b.build();
|
|
1572
|
-
}, "se_UntagResourceCommand");
|
|
2184
|
+
}, "se_UpdateAssistantAIAgentCommand");
|
|
1573
2185
|
var se_UpdateContentCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1574
2186
|
const b = (0, import_core.requestBuilder)(input, context);
|
|
1575
2187
|
const headers = {
|
|
@@ -1647,6 +2259,7 @@ var se_UpdateSessionCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
|
1647
2259
|
let body;
|
|
1648
2260
|
body = JSON.stringify(
|
|
1649
2261
|
(0, import_smithy_client.take)(input, {
|
|
2262
|
+
aiAgentConfiguration: (_) => (0, import_smithy_client._json)(_),
|
|
1650
2263
|
description: [],
|
|
1651
2264
|
tagFilter: (_) => (0, import_smithy_client._json)(_)
|
|
1652
2265
|
})
|
|
@@ -1654,6 +2267,82 @@ var se_UpdateSessionCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
|
1654
2267
|
b.m("POST").h(headers).b(body);
|
|
1655
2268
|
return b.build();
|
|
1656
2269
|
}, "se_UpdateSessionCommand");
|
|
2270
|
+
var se_UpdateSessionDataCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
2271
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
2272
|
+
const headers = {
|
|
2273
|
+
"content-type": "application/json"
|
|
2274
|
+
};
|
|
2275
|
+
b.bp("/assistants/{assistantId}/sessions/{sessionId}/data");
|
|
2276
|
+
b.p("assistantId", () => input.assistantId, "{assistantId}", false);
|
|
2277
|
+
b.p("sessionId", () => input.sessionId, "{sessionId}", false);
|
|
2278
|
+
let body;
|
|
2279
|
+
body = JSON.stringify(
|
|
2280
|
+
(0, import_smithy_client.take)(input, {
|
|
2281
|
+
data: (_) => (0, import_smithy_client._json)(_),
|
|
2282
|
+
namespace: []
|
|
2283
|
+
})
|
|
2284
|
+
);
|
|
2285
|
+
b.m("PATCH").h(headers).b(body);
|
|
2286
|
+
return b.build();
|
|
2287
|
+
}, "se_UpdateSessionDataCommand");
|
|
2288
|
+
var de_CreateAIAgentCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2289
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2290
|
+
return de_CommandError(output, context);
|
|
2291
|
+
}
|
|
2292
|
+
const contents = (0, import_smithy_client.map)({
|
|
2293
|
+
$metadata: deserializeMetadata(output)
|
|
2294
|
+
});
|
|
2295
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
2296
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
2297
|
+
aiAgent: (_) => de_AIAgentData(_, context)
|
|
2298
|
+
});
|
|
2299
|
+
Object.assign(contents, doc);
|
|
2300
|
+
return contents;
|
|
2301
|
+
}, "de_CreateAIAgentCommand");
|
|
2302
|
+
var de_CreateAIAgentVersionCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2303
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2304
|
+
return de_CommandError(output, context);
|
|
2305
|
+
}
|
|
2306
|
+
const contents = (0, import_smithy_client.map)({
|
|
2307
|
+
$metadata: deserializeMetadata(output)
|
|
2308
|
+
});
|
|
2309
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
2310
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
2311
|
+
aiAgent: (_) => de_AIAgentData(_, context),
|
|
2312
|
+
versionNumber: import_smithy_client.expectLong
|
|
2313
|
+
});
|
|
2314
|
+
Object.assign(contents, doc);
|
|
2315
|
+
return contents;
|
|
2316
|
+
}, "de_CreateAIAgentVersionCommand");
|
|
2317
|
+
var de_CreateAIPromptCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2318
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2319
|
+
return de_CommandError(output, context);
|
|
2320
|
+
}
|
|
2321
|
+
const contents = (0, import_smithy_client.map)({
|
|
2322
|
+
$metadata: deserializeMetadata(output)
|
|
2323
|
+
});
|
|
2324
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
2325
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
2326
|
+
aiPrompt: (_) => de_AIPromptData(_, context)
|
|
2327
|
+
});
|
|
2328
|
+
Object.assign(contents, doc);
|
|
2329
|
+
return contents;
|
|
2330
|
+
}, "de_CreateAIPromptCommand");
|
|
2331
|
+
var de_CreateAIPromptVersionCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2332
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2333
|
+
return de_CommandError(output, context);
|
|
2334
|
+
}
|
|
2335
|
+
const contents = (0, import_smithy_client.map)({
|
|
2336
|
+
$metadata: deserializeMetadata(output)
|
|
2337
|
+
});
|
|
2338
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
2339
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
2340
|
+
aiPrompt: (_) => de_AIPromptData(_, context),
|
|
2341
|
+
versionNumber: import_smithy_client.expectLong
|
|
2342
|
+
});
|
|
2343
|
+
Object.assign(contents, doc);
|
|
2344
|
+
return contents;
|
|
2345
|
+
}, "de_CreateAIPromptVersionCommand");
|
|
1657
2346
|
var de_CreateAssistantCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1658
2347
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1659
2348
|
return de_CommandError(output, context);
|
|
@@ -1752,6 +2441,46 @@ var de_CreateSessionCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
1752
2441
|
Object.assign(contents, doc);
|
|
1753
2442
|
return contents;
|
|
1754
2443
|
}, "de_CreateSessionCommand");
|
|
2444
|
+
var de_DeleteAIAgentCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2445
|
+
if (output.statusCode !== 204 && output.statusCode >= 300) {
|
|
2446
|
+
return de_CommandError(output, context);
|
|
2447
|
+
}
|
|
2448
|
+
const contents = (0, import_smithy_client.map)({
|
|
2449
|
+
$metadata: deserializeMetadata(output)
|
|
2450
|
+
});
|
|
2451
|
+
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
2452
|
+
return contents;
|
|
2453
|
+
}, "de_DeleteAIAgentCommand");
|
|
2454
|
+
var de_DeleteAIAgentVersionCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2455
|
+
if (output.statusCode !== 204 && output.statusCode >= 300) {
|
|
2456
|
+
return de_CommandError(output, context);
|
|
2457
|
+
}
|
|
2458
|
+
const contents = (0, import_smithy_client.map)({
|
|
2459
|
+
$metadata: deserializeMetadata(output)
|
|
2460
|
+
});
|
|
2461
|
+
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
2462
|
+
return contents;
|
|
2463
|
+
}, "de_DeleteAIAgentVersionCommand");
|
|
2464
|
+
var de_DeleteAIPromptCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2465
|
+
if (output.statusCode !== 204 && output.statusCode >= 300) {
|
|
2466
|
+
return de_CommandError(output, context);
|
|
2467
|
+
}
|
|
2468
|
+
const contents = (0, import_smithy_client.map)({
|
|
2469
|
+
$metadata: deserializeMetadata(output)
|
|
2470
|
+
});
|
|
2471
|
+
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
2472
|
+
return contents;
|
|
2473
|
+
}, "de_DeleteAIPromptCommand");
|
|
2474
|
+
var de_DeleteAIPromptVersionCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2475
|
+
if (output.statusCode !== 204 && output.statusCode >= 300) {
|
|
2476
|
+
return de_CommandError(output, context);
|
|
2477
|
+
}
|
|
2478
|
+
const contents = (0, import_smithy_client.map)({
|
|
2479
|
+
$metadata: deserializeMetadata(output)
|
|
2480
|
+
});
|
|
2481
|
+
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
2482
|
+
return contents;
|
|
2483
|
+
}, "de_DeleteAIPromptVersionCommand");
|
|
1755
2484
|
var de_DeleteAssistantCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1756
2485
|
if (output.statusCode !== 204 && output.statusCode >= 300) {
|
|
1757
2486
|
return de_CommandError(output, context);
|
|
@@ -1822,6 +2551,36 @@ var de_DeleteQuickResponseCommand = /* @__PURE__ */ __name(async (output, contex
|
|
|
1822
2551
|
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
1823
2552
|
return contents;
|
|
1824
2553
|
}, "de_DeleteQuickResponseCommand");
|
|
2554
|
+
var de_GetAIAgentCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2555
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2556
|
+
return de_CommandError(output, context);
|
|
2557
|
+
}
|
|
2558
|
+
const contents = (0, import_smithy_client.map)({
|
|
2559
|
+
$metadata: deserializeMetadata(output)
|
|
2560
|
+
});
|
|
2561
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
2562
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
2563
|
+
aiAgent: (_) => de_AIAgentData(_, context),
|
|
2564
|
+
versionNumber: import_smithy_client.expectLong
|
|
2565
|
+
});
|
|
2566
|
+
Object.assign(contents, doc);
|
|
2567
|
+
return contents;
|
|
2568
|
+
}, "de_GetAIAgentCommand");
|
|
2569
|
+
var de_GetAIPromptCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2570
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2571
|
+
return de_CommandError(output, context);
|
|
2572
|
+
}
|
|
2573
|
+
const contents = (0, import_smithy_client.map)({
|
|
2574
|
+
$metadata: deserializeMetadata(output)
|
|
2575
|
+
});
|
|
2576
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
2577
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
2578
|
+
aiPrompt: (_) => de_AIPromptData(_, context),
|
|
2579
|
+
versionNumber: import_smithy_client.expectLong
|
|
2580
|
+
});
|
|
2581
|
+
Object.assign(contents, doc);
|
|
2582
|
+
return contents;
|
|
2583
|
+
}, "de_GetAIPromptCommand");
|
|
1825
2584
|
var de_GetAssistantCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1826
2585
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1827
2586
|
return de_CommandError(output, context);
|
|
@@ -1963,6 +2722,66 @@ var de_GetSessionCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
1963
2722
|
Object.assign(contents, doc);
|
|
1964
2723
|
return contents;
|
|
1965
2724
|
}, "de_GetSessionCommand");
|
|
2725
|
+
var de_ListAIAgentsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2726
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2727
|
+
return de_CommandError(output, context);
|
|
2728
|
+
}
|
|
2729
|
+
const contents = (0, import_smithy_client.map)({
|
|
2730
|
+
$metadata: deserializeMetadata(output)
|
|
2731
|
+
});
|
|
2732
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
2733
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
2734
|
+
aiAgentSummaries: (_) => de_AIAgentSummaryList(_, context),
|
|
2735
|
+
nextToken: import_smithy_client.expectString
|
|
2736
|
+
});
|
|
2737
|
+
Object.assign(contents, doc);
|
|
2738
|
+
return contents;
|
|
2739
|
+
}, "de_ListAIAgentsCommand");
|
|
2740
|
+
var de_ListAIAgentVersionsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2741
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2742
|
+
return de_CommandError(output, context);
|
|
2743
|
+
}
|
|
2744
|
+
const contents = (0, import_smithy_client.map)({
|
|
2745
|
+
$metadata: deserializeMetadata(output)
|
|
2746
|
+
});
|
|
2747
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
2748
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
2749
|
+
aiAgentVersionSummaries: (_) => de_AIAgentVersionSummariesList(_, context),
|
|
2750
|
+
nextToken: import_smithy_client.expectString
|
|
2751
|
+
});
|
|
2752
|
+
Object.assign(contents, doc);
|
|
2753
|
+
return contents;
|
|
2754
|
+
}, "de_ListAIAgentVersionsCommand");
|
|
2755
|
+
var de_ListAIPromptsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2756
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2757
|
+
return de_CommandError(output, context);
|
|
2758
|
+
}
|
|
2759
|
+
const contents = (0, import_smithy_client.map)({
|
|
2760
|
+
$metadata: deserializeMetadata(output)
|
|
2761
|
+
});
|
|
2762
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
2763
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
2764
|
+
aiPromptSummaries: (_) => de_AIPromptSummaryList(_, context),
|
|
2765
|
+
nextToken: import_smithy_client.expectString
|
|
2766
|
+
});
|
|
2767
|
+
Object.assign(contents, doc);
|
|
2768
|
+
return contents;
|
|
2769
|
+
}, "de_ListAIPromptsCommand");
|
|
2770
|
+
var de_ListAIPromptVersionsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2771
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2772
|
+
return de_CommandError(output, context);
|
|
2773
|
+
}
|
|
2774
|
+
const contents = (0, import_smithy_client.map)({
|
|
2775
|
+
$metadata: deserializeMetadata(output)
|
|
2776
|
+
});
|
|
2777
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
2778
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
2779
|
+
aiPromptVersionSummaries: (_) => de_AIPromptVersionSummariesList(_, context),
|
|
2780
|
+
nextToken: import_smithy_client.expectString
|
|
2781
|
+
});
|
|
2782
|
+
Object.assign(contents, doc);
|
|
2783
|
+
return contents;
|
|
2784
|
+
}, "de_ListAIPromptVersionsCommand");
|
|
1966
2785
|
var de_ListAssistantAssociationsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1967
2786
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1968
2787
|
return de_CommandError(output, context);
|
|
@@ -2130,6 +2949,16 @@ var de_QueryAssistantCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
2130
2949
|
Object.assign(contents, doc);
|
|
2131
2950
|
return contents;
|
|
2132
2951
|
}, "de_QueryAssistantCommand");
|
|
2952
|
+
var de_RemoveAssistantAIAgentCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2953
|
+
if (output.statusCode !== 204 && output.statusCode >= 300) {
|
|
2954
|
+
return de_CommandError(output, context);
|
|
2955
|
+
}
|
|
2956
|
+
const contents = (0, import_smithy_client.map)({
|
|
2957
|
+
$metadata: deserializeMetadata(output)
|
|
2958
|
+
});
|
|
2959
|
+
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
2960
|
+
return contents;
|
|
2961
|
+
}, "de_RemoveAssistantAIAgentCommand");
|
|
2133
2962
|
var de_RemoveKnowledgeBaseTemplateUriCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2134
2963
|
if (output.statusCode !== 204 && output.statusCode >= 300) {
|
|
2135
2964
|
return de_CommandError(output, context);
|
|
@@ -2236,6 +3065,48 @@ var de_UntagResourceCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
2236
3065
|
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
2237
3066
|
return contents;
|
|
2238
3067
|
}, "de_UntagResourceCommand");
|
|
3068
|
+
var de_UpdateAIAgentCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3069
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
3070
|
+
return de_CommandError(output, context);
|
|
3071
|
+
}
|
|
3072
|
+
const contents = (0, import_smithy_client.map)({
|
|
3073
|
+
$metadata: deserializeMetadata(output)
|
|
3074
|
+
});
|
|
3075
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
3076
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
3077
|
+
aiAgent: (_) => de_AIAgentData(_, context)
|
|
3078
|
+
});
|
|
3079
|
+
Object.assign(contents, doc);
|
|
3080
|
+
return contents;
|
|
3081
|
+
}, "de_UpdateAIAgentCommand");
|
|
3082
|
+
var de_UpdateAIPromptCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3083
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
3084
|
+
return de_CommandError(output, context);
|
|
3085
|
+
}
|
|
3086
|
+
const contents = (0, import_smithy_client.map)({
|
|
3087
|
+
$metadata: deserializeMetadata(output)
|
|
3088
|
+
});
|
|
3089
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
3090
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
3091
|
+
aiPrompt: (_) => de_AIPromptData(_, context)
|
|
3092
|
+
});
|
|
3093
|
+
Object.assign(contents, doc);
|
|
3094
|
+
return contents;
|
|
3095
|
+
}, "de_UpdateAIPromptCommand");
|
|
3096
|
+
var de_UpdateAssistantAIAgentCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3097
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
3098
|
+
return de_CommandError(output, context);
|
|
3099
|
+
}
|
|
3100
|
+
const contents = (0, import_smithy_client.map)({
|
|
3101
|
+
$metadata: deserializeMetadata(output)
|
|
3102
|
+
});
|
|
3103
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
3104
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
3105
|
+
assistant: import_smithy_client._json
|
|
3106
|
+
});
|
|
3107
|
+
Object.assign(contents, doc);
|
|
3108
|
+
return contents;
|
|
3109
|
+
}, "de_UpdateAssistantAIAgentCommand");
|
|
2239
3110
|
var de_UpdateContentCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2240
3111
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2241
3112
|
return de_CommandError(output, context);
|
|
@@ -2292,6 +3163,23 @@ var de_UpdateSessionCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
2292
3163
|
Object.assign(contents, doc);
|
|
2293
3164
|
return contents;
|
|
2294
3165
|
}, "de_UpdateSessionCommand");
|
|
3166
|
+
var de_UpdateSessionDataCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3167
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
3168
|
+
return de_CommandError(output, context);
|
|
3169
|
+
}
|
|
3170
|
+
const contents = (0, import_smithy_client.map)({
|
|
3171
|
+
$metadata: deserializeMetadata(output)
|
|
3172
|
+
});
|
|
3173
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
3174
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
3175
|
+
data: import_smithy_client._json,
|
|
3176
|
+
namespace: import_smithy_client.expectString,
|
|
3177
|
+
sessionArn: import_smithy_client.expectString,
|
|
3178
|
+
sessionId: import_smithy_client.expectString
|
|
3179
|
+
});
|
|
3180
|
+
Object.assign(contents, doc);
|
|
3181
|
+
return contents;
|
|
3182
|
+
}, "de_UpdateSessionDataCommand");
|
|
2295
3183
|
var de_CommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2296
3184
|
const parsedOutput = {
|
|
2297
3185
|
...output,
|
|
@@ -2305,18 +3193,18 @@ var de_CommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
2305
3193
|
case "ConflictException":
|
|
2306
3194
|
case "com.amazonaws.qconnect#ConflictException":
|
|
2307
3195
|
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
2308
|
-
case "ServiceQuotaExceededException":
|
|
2309
|
-
case "com.amazonaws.qconnect#ServiceQuotaExceededException":
|
|
2310
|
-
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
2311
|
-
case "ValidationException":
|
|
2312
|
-
case "com.amazonaws.qconnect#ValidationException":
|
|
2313
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2314
3196
|
case "ResourceNotFoundException":
|
|
2315
3197
|
case "com.amazonaws.qconnect#ResourceNotFoundException":
|
|
2316
3198
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
3199
|
+
case "ServiceQuotaExceededException":
|
|
3200
|
+
case "com.amazonaws.qconnect#ServiceQuotaExceededException":
|
|
3201
|
+
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
2317
3202
|
case "ThrottlingException":
|
|
2318
3203
|
case "com.amazonaws.qconnect#ThrottlingException":
|
|
2319
3204
|
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
3205
|
+
case "ValidationException":
|
|
3206
|
+
case "com.amazonaws.qconnect#ValidationException":
|
|
3207
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2320
3208
|
case "RequestTimeoutException":
|
|
2321
3209
|
case "com.amazonaws.qconnect#RequestTimeoutException":
|
|
2322
3210
|
throw await de_RequestTimeoutExceptionRes(parsedOutput, context);
|
|
@@ -2455,6 +3343,135 @@ var de_ValidationExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, cont
|
|
|
2455
3343
|
});
|
|
2456
3344
|
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
2457
3345
|
}, "de_ValidationExceptionRes");
|
|
3346
|
+
var se_AIAgentConfiguration = /* @__PURE__ */ __name((input, context) => {
|
|
3347
|
+
return AIAgentConfiguration.visit(input, {
|
|
3348
|
+
answerRecommendationAIAgentConfiguration: (value) => ({ answerRecommendationAIAgentConfiguration: (0, import_smithy_client._json)(value) }),
|
|
3349
|
+
manualSearchAIAgentConfiguration: (value) => ({ manualSearchAIAgentConfiguration: (0, import_smithy_client._json)(value) }),
|
|
3350
|
+
_: (name, value) => ({ name: value })
|
|
3351
|
+
});
|
|
3352
|
+
}, "se_AIAgentConfiguration");
|
|
3353
|
+
var de_AIAgentConfiguration = /* @__PURE__ */ __name((output, context) => {
|
|
3354
|
+
if (output.answerRecommendationAIAgentConfiguration != null) {
|
|
3355
|
+
return {
|
|
3356
|
+
answerRecommendationAIAgentConfiguration: (0, import_smithy_client._json)(output.answerRecommendationAIAgentConfiguration)
|
|
3357
|
+
};
|
|
3358
|
+
}
|
|
3359
|
+
if (output.manualSearchAIAgentConfiguration != null) {
|
|
3360
|
+
return {
|
|
3361
|
+
manualSearchAIAgentConfiguration: (0, import_smithy_client._json)(output.manualSearchAIAgentConfiguration)
|
|
3362
|
+
};
|
|
3363
|
+
}
|
|
3364
|
+
return { $unknown: Object.entries(output)[0] };
|
|
3365
|
+
}, "de_AIAgentConfiguration");
|
|
3366
|
+
var de_AIAgentData = /* @__PURE__ */ __name((output, context) => {
|
|
3367
|
+
return (0, import_smithy_client.take)(output, {
|
|
3368
|
+
aiAgentArn: import_smithy_client.expectString,
|
|
3369
|
+
aiAgentId: import_smithy_client.expectString,
|
|
3370
|
+
assistantArn: import_smithy_client.expectString,
|
|
3371
|
+
assistantId: import_smithy_client.expectString,
|
|
3372
|
+
configuration: (_) => de_AIAgentConfiguration((0, import_core2.awsExpectUnion)(_), context),
|
|
3373
|
+
description: import_smithy_client.expectString,
|
|
3374
|
+
modifiedTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
3375
|
+
name: import_smithy_client.expectString,
|
|
3376
|
+
origin: import_smithy_client.expectString,
|
|
3377
|
+
status: import_smithy_client.expectString,
|
|
3378
|
+
tags: import_smithy_client._json,
|
|
3379
|
+
type: import_smithy_client.expectString,
|
|
3380
|
+
visibilityStatus: import_smithy_client.expectString
|
|
3381
|
+
});
|
|
3382
|
+
}, "de_AIAgentData");
|
|
3383
|
+
var de_AIAgentSummary = /* @__PURE__ */ __name((output, context) => {
|
|
3384
|
+
return (0, import_smithy_client.take)(output, {
|
|
3385
|
+
aiAgentArn: import_smithy_client.expectString,
|
|
3386
|
+
aiAgentId: import_smithy_client.expectString,
|
|
3387
|
+
assistantArn: import_smithy_client.expectString,
|
|
3388
|
+
assistantId: import_smithy_client.expectString,
|
|
3389
|
+
configuration: (_) => de_AIAgentConfiguration((0, import_core2.awsExpectUnion)(_), context),
|
|
3390
|
+
description: import_smithy_client.expectString,
|
|
3391
|
+
modifiedTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
3392
|
+
name: import_smithy_client.expectString,
|
|
3393
|
+
origin: import_smithy_client.expectString,
|
|
3394
|
+
status: import_smithy_client.expectString,
|
|
3395
|
+
tags: import_smithy_client._json,
|
|
3396
|
+
type: import_smithy_client.expectString,
|
|
3397
|
+
visibilityStatus: import_smithy_client.expectString
|
|
3398
|
+
});
|
|
3399
|
+
}, "de_AIAgentSummary");
|
|
3400
|
+
var de_AIAgentSummaryList = /* @__PURE__ */ __name((output, context) => {
|
|
3401
|
+
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
3402
|
+
return de_AIAgentSummary(entry, context);
|
|
3403
|
+
});
|
|
3404
|
+
return retVal;
|
|
3405
|
+
}, "de_AIAgentSummaryList");
|
|
3406
|
+
var de_AIAgentVersionSummariesList = /* @__PURE__ */ __name((output, context) => {
|
|
3407
|
+
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
3408
|
+
return de_AIAgentVersionSummary(entry, context);
|
|
3409
|
+
});
|
|
3410
|
+
return retVal;
|
|
3411
|
+
}, "de_AIAgentVersionSummariesList");
|
|
3412
|
+
var de_AIAgentVersionSummary = /* @__PURE__ */ __name((output, context) => {
|
|
3413
|
+
return (0, import_smithy_client.take)(output, {
|
|
3414
|
+
aiAgentSummary: (_) => de_AIAgentSummary(_, context),
|
|
3415
|
+
versionNumber: import_smithy_client.expectLong
|
|
3416
|
+
});
|
|
3417
|
+
}, "de_AIAgentVersionSummary");
|
|
3418
|
+
var de_AIPromptData = /* @__PURE__ */ __name((output, context) => {
|
|
3419
|
+
return (0, import_smithy_client.take)(output, {
|
|
3420
|
+
aiPromptArn: import_smithy_client.expectString,
|
|
3421
|
+
aiPromptId: import_smithy_client.expectString,
|
|
3422
|
+
apiFormat: import_smithy_client.expectString,
|
|
3423
|
+
assistantArn: import_smithy_client.expectString,
|
|
3424
|
+
assistantId: import_smithy_client.expectString,
|
|
3425
|
+
description: import_smithy_client.expectString,
|
|
3426
|
+
modelId: import_smithy_client.expectString,
|
|
3427
|
+
modifiedTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
3428
|
+
name: import_smithy_client.expectString,
|
|
3429
|
+
origin: import_smithy_client.expectString,
|
|
3430
|
+
status: import_smithy_client.expectString,
|
|
3431
|
+
tags: import_smithy_client._json,
|
|
3432
|
+
templateConfiguration: (_) => (0, import_smithy_client._json)((0, import_core2.awsExpectUnion)(_)),
|
|
3433
|
+
templateType: import_smithy_client.expectString,
|
|
3434
|
+
type: import_smithy_client.expectString,
|
|
3435
|
+
visibilityStatus: import_smithy_client.expectString
|
|
3436
|
+
});
|
|
3437
|
+
}, "de_AIPromptData");
|
|
3438
|
+
var de_AIPromptSummary = /* @__PURE__ */ __name((output, context) => {
|
|
3439
|
+
return (0, import_smithy_client.take)(output, {
|
|
3440
|
+
aiPromptArn: import_smithy_client.expectString,
|
|
3441
|
+
aiPromptId: import_smithy_client.expectString,
|
|
3442
|
+
apiFormat: import_smithy_client.expectString,
|
|
3443
|
+
assistantArn: import_smithy_client.expectString,
|
|
3444
|
+
assistantId: import_smithy_client.expectString,
|
|
3445
|
+
description: import_smithy_client.expectString,
|
|
3446
|
+
modelId: import_smithy_client.expectString,
|
|
3447
|
+
modifiedTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
3448
|
+
name: import_smithy_client.expectString,
|
|
3449
|
+
origin: import_smithy_client.expectString,
|
|
3450
|
+
status: import_smithy_client.expectString,
|
|
3451
|
+
tags: import_smithy_client._json,
|
|
3452
|
+
templateType: import_smithy_client.expectString,
|
|
3453
|
+
type: import_smithy_client.expectString,
|
|
3454
|
+
visibilityStatus: import_smithy_client.expectString
|
|
3455
|
+
});
|
|
3456
|
+
}, "de_AIPromptSummary");
|
|
3457
|
+
var de_AIPromptSummaryList = /* @__PURE__ */ __name((output, context) => {
|
|
3458
|
+
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
3459
|
+
return de_AIPromptSummary(entry, context);
|
|
3460
|
+
});
|
|
3461
|
+
return retVal;
|
|
3462
|
+
}, "de_AIPromptSummaryList");
|
|
3463
|
+
var de_AIPromptVersionSummariesList = /* @__PURE__ */ __name((output, context) => {
|
|
3464
|
+
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
3465
|
+
return de_AIPromptVersionSummary(entry, context);
|
|
3466
|
+
});
|
|
3467
|
+
return retVal;
|
|
3468
|
+
}, "de_AIPromptVersionSummariesList");
|
|
3469
|
+
var de_AIPromptVersionSummary = /* @__PURE__ */ __name((output, context) => {
|
|
3470
|
+
return (0, import_smithy_client.take)(output, {
|
|
3471
|
+
aiPromptSummary: (_) => de_AIPromptSummary(_, context),
|
|
3472
|
+
versionNumber: import_smithy_client.expectLong
|
|
3473
|
+
});
|
|
3474
|
+
}, "de_AIPromptVersionSummary");
|
|
2458
3475
|
var de_ContentData = /* @__PURE__ */ __name((output, context) => {
|
|
2459
3476
|
return (0, import_smithy_client.take)(output, {
|
|
2460
3477
|
contentArn: import_smithy_client.expectString,
|
|
@@ -2490,6 +3507,11 @@ var de_DataDetails = /* @__PURE__ */ __name((output, context) => {
|
|
|
2490
3507
|
generativeData: de_GenerativeDataDetails(output.generativeData, context)
|
|
2491
3508
|
};
|
|
2492
3509
|
}
|
|
3510
|
+
if (output.intentDetectedData != null) {
|
|
3511
|
+
return {
|
|
3512
|
+
intentDetectedData: (0, import_smithy_client._json)(output.intentDetectedData)
|
|
3513
|
+
};
|
|
3514
|
+
}
|
|
2493
3515
|
if (output.sourceContentData != null) {
|
|
2494
3516
|
return {
|
|
2495
3517
|
sourceContentData: de_SourceContentDataDetails(output.sourceContentData, context)
|
|
@@ -2556,6 +3578,8 @@ var de_ImportJobSummary = /* @__PURE__ */ __name((output, context) => {
|
|
|
2556
3578
|
var de_KnowledgeBaseData = /* @__PURE__ */ __name((output, context) => {
|
|
2557
3579
|
return (0, import_smithy_client.take)(output, {
|
|
2558
3580
|
description: import_smithy_client.expectString,
|
|
3581
|
+
ingestionFailureReasons: import_smithy_client._json,
|
|
3582
|
+
ingestionStatus: import_smithy_client.expectString,
|
|
2559
3583
|
knowledgeBaseArn: import_smithy_client.expectString,
|
|
2560
3584
|
knowledgeBaseId: import_smithy_client.expectString,
|
|
2561
3585
|
knowledgeBaseType: import_smithy_client.expectString,
|
|
@@ -2565,7 +3589,8 @@ var de_KnowledgeBaseData = /* @__PURE__ */ __name((output, context) => {
|
|
|
2565
3589
|
serverSideEncryptionConfiguration: import_smithy_client._json,
|
|
2566
3590
|
sourceConfiguration: (_) => (0, import_smithy_client._json)((0, import_core2.awsExpectUnion)(_)),
|
|
2567
3591
|
status: import_smithy_client.expectString,
|
|
2568
|
-
tags: import_smithy_client._json
|
|
3592
|
+
tags: import_smithy_client._json,
|
|
3593
|
+
vectorIngestionConfiguration: import_smithy_client._json
|
|
2569
3594
|
});
|
|
2570
3595
|
}, "de_KnowledgeBaseData");
|
|
2571
3596
|
var de_QueryResultsList = /* @__PURE__ */ __name((output, context) => {
|
|
@@ -2683,6 +3708,7 @@ var de_ResultData = /* @__PURE__ */ __name((output, context) => {
|
|
|
2683
3708
|
}, "de_ResultData");
|
|
2684
3709
|
var de_SourceContentDataDetails = /* @__PURE__ */ __name((output, context) => {
|
|
2685
3710
|
return (0, import_smithy_client.take)(output, {
|
|
3711
|
+
citationSpan: import_smithy_client._json,
|
|
2686
3712
|
id: import_smithy_client.expectString,
|
|
2687
3713
|
rankingData: (_) => de_RankingData(_, context),
|
|
2688
3714
|
textData: import_smithy_client._json,
|
|
@@ -2695,12 +3721,70 @@ var deserializeMetadata = /* @__PURE__ */ __name((output) => ({
|
|
|
2695
3721
|
extendedRequestId: output.headers["x-amz-id-2"],
|
|
2696
3722
|
cfId: output.headers["x-amz-cf-id"]
|
|
2697
3723
|
}), "deserializeMetadata");
|
|
3724
|
+
var _aAT = "aiAgentType";
|
|
2698
3725
|
var _mR = "maxResults";
|
|
2699
3726
|
var _nT = "nextToken";
|
|
3727
|
+
var _o = "origin";
|
|
2700
3728
|
var _tK = "tagKeys";
|
|
2701
3729
|
var _wTS = "waitTimeSeconds";
|
|
2702
3730
|
|
|
3731
|
+
// src/commands/CreateAIAgentCommand.ts
|
|
3732
|
+
var _CreateAIAgentCommand = class _CreateAIAgentCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
3733
|
+
return [
|
|
3734
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3735
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3736
|
+
];
|
|
3737
|
+
}).s("WisdomService", "CreateAIAgent", {}).n("QConnectClient", "CreateAIAgentCommand").f(void 0, void 0).ser(se_CreateAIAgentCommand).de(de_CreateAIAgentCommand).build() {
|
|
3738
|
+
};
|
|
3739
|
+
__name(_CreateAIAgentCommand, "CreateAIAgentCommand");
|
|
3740
|
+
var CreateAIAgentCommand = _CreateAIAgentCommand;
|
|
3741
|
+
|
|
3742
|
+
// src/commands/CreateAIAgentVersionCommand.ts
|
|
3743
|
+
|
|
3744
|
+
|
|
3745
|
+
|
|
3746
|
+
var _CreateAIAgentVersionCommand = class _CreateAIAgentVersionCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
3747
|
+
return [
|
|
3748
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3749
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3750
|
+
];
|
|
3751
|
+
}).s("WisdomService", "CreateAIAgentVersion", {}).n("QConnectClient", "CreateAIAgentVersionCommand").f(void 0, void 0).ser(se_CreateAIAgentVersionCommand).de(de_CreateAIAgentVersionCommand).build() {
|
|
3752
|
+
};
|
|
3753
|
+
__name(_CreateAIAgentVersionCommand, "CreateAIAgentVersionCommand");
|
|
3754
|
+
var CreateAIAgentVersionCommand = _CreateAIAgentVersionCommand;
|
|
3755
|
+
|
|
3756
|
+
// src/commands/CreateAIPromptCommand.ts
|
|
3757
|
+
|
|
3758
|
+
|
|
3759
|
+
|
|
3760
|
+
var _CreateAIPromptCommand = class _CreateAIPromptCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
3761
|
+
return [
|
|
3762
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3763
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3764
|
+
];
|
|
3765
|
+
}).s("WisdomService", "CreateAIPrompt", {}).n("QConnectClient", "CreateAIPromptCommand").f(CreateAIPromptRequestFilterSensitiveLog, CreateAIPromptResponseFilterSensitiveLog).ser(se_CreateAIPromptCommand).de(de_CreateAIPromptCommand).build() {
|
|
3766
|
+
};
|
|
3767
|
+
__name(_CreateAIPromptCommand, "CreateAIPromptCommand");
|
|
3768
|
+
var CreateAIPromptCommand = _CreateAIPromptCommand;
|
|
3769
|
+
|
|
3770
|
+
// src/commands/CreateAIPromptVersionCommand.ts
|
|
3771
|
+
|
|
3772
|
+
|
|
3773
|
+
|
|
3774
|
+
var _CreateAIPromptVersionCommand = class _CreateAIPromptVersionCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
3775
|
+
return [
|
|
3776
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3777
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3778
|
+
];
|
|
3779
|
+
}).s("WisdomService", "CreateAIPromptVersion", {}).n("QConnectClient", "CreateAIPromptVersionCommand").f(void 0, CreateAIPromptVersionResponseFilterSensitiveLog).ser(se_CreateAIPromptVersionCommand).de(de_CreateAIPromptVersionCommand).build() {
|
|
3780
|
+
};
|
|
3781
|
+
__name(_CreateAIPromptVersionCommand, "CreateAIPromptVersionCommand");
|
|
3782
|
+
var CreateAIPromptVersionCommand = _CreateAIPromptVersionCommand;
|
|
3783
|
+
|
|
2703
3784
|
// src/commands/CreateAssistantAssociationCommand.ts
|
|
3785
|
+
|
|
3786
|
+
|
|
3787
|
+
|
|
2704
3788
|
var _CreateAssistantAssociationCommand = class _CreateAssistantAssociationCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
2705
3789
|
return [
|
|
2706
3790
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
@@ -2762,7 +3846,7 @@ var _CreateKnowledgeBaseCommand = class _CreateKnowledgeBaseCommand extends impo
|
|
|
2762
3846
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2763
3847
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2764
3848
|
];
|
|
2765
|
-
}).s("WisdomService", "CreateKnowledgeBase", {}).n("QConnectClient", "CreateKnowledgeBaseCommand").f(
|
|
3849
|
+
}).s("WisdomService", "CreateKnowledgeBase", {}).n("QConnectClient", "CreateKnowledgeBaseCommand").f(CreateKnowledgeBaseRequestFilterSensitiveLog, CreateKnowledgeBaseResponseFilterSensitiveLog).ser(se_CreateKnowledgeBaseCommand).de(de_CreateKnowledgeBaseCommand).build() {
|
|
2766
3850
|
};
|
|
2767
3851
|
__name(_CreateKnowledgeBaseCommand, "CreateKnowledgeBaseCommand");
|
|
2768
3852
|
var CreateKnowledgeBaseCommand = _CreateKnowledgeBaseCommand;
|
|
@@ -2795,6 +3879,62 @@ var _CreateSessionCommand = class _CreateSessionCommand extends import_smithy_cl
|
|
|
2795
3879
|
__name(_CreateSessionCommand, "CreateSessionCommand");
|
|
2796
3880
|
var CreateSessionCommand = _CreateSessionCommand;
|
|
2797
3881
|
|
|
3882
|
+
// src/commands/DeleteAIAgentCommand.ts
|
|
3883
|
+
|
|
3884
|
+
|
|
3885
|
+
|
|
3886
|
+
var _DeleteAIAgentCommand = class _DeleteAIAgentCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
3887
|
+
return [
|
|
3888
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3889
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3890
|
+
];
|
|
3891
|
+
}).s("WisdomService", "DeleteAIAgent", {}).n("QConnectClient", "DeleteAIAgentCommand").f(void 0, void 0).ser(se_DeleteAIAgentCommand).de(de_DeleteAIAgentCommand).build() {
|
|
3892
|
+
};
|
|
3893
|
+
__name(_DeleteAIAgentCommand, "DeleteAIAgentCommand");
|
|
3894
|
+
var DeleteAIAgentCommand = _DeleteAIAgentCommand;
|
|
3895
|
+
|
|
3896
|
+
// src/commands/DeleteAIAgentVersionCommand.ts
|
|
3897
|
+
|
|
3898
|
+
|
|
3899
|
+
|
|
3900
|
+
var _DeleteAIAgentVersionCommand = class _DeleteAIAgentVersionCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
3901
|
+
return [
|
|
3902
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3903
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3904
|
+
];
|
|
3905
|
+
}).s("WisdomService", "DeleteAIAgentVersion", {}).n("QConnectClient", "DeleteAIAgentVersionCommand").f(void 0, void 0).ser(se_DeleteAIAgentVersionCommand).de(de_DeleteAIAgentVersionCommand).build() {
|
|
3906
|
+
};
|
|
3907
|
+
__name(_DeleteAIAgentVersionCommand, "DeleteAIAgentVersionCommand");
|
|
3908
|
+
var DeleteAIAgentVersionCommand = _DeleteAIAgentVersionCommand;
|
|
3909
|
+
|
|
3910
|
+
// src/commands/DeleteAIPromptCommand.ts
|
|
3911
|
+
|
|
3912
|
+
|
|
3913
|
+
|
|
3914
|
+
var _DeleteAIPromptCommand = class _DeleteAIPromptCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
3915
|
+
return [
|
|
3916
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3917
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3918
|
+
];
|
|
3919
|
+
}).s("WisdomService", "DeleteAIPrompt", {}).n("QConnectClient", "DeleteAIPromptCommand").f(void 0, void 0).ser(se_DeleteAIPromptCommand).de(de_DeleteAIPromptCommand).build() {
|
|
3920
|
+
};
|
|
3921
|
+
__name(_DeleteAIPromptCommand, "DeleteAIPromptCommand");
|
|
3922
|
+
var DeleteAIPromptCommand = _DeleteAIPromptCommand;
|
|
3923
|
+
|
|
3924
|
+
// src/commands/DeleteAIPromptVersionCommand.ts
|
|
3925
|
+
|
|
3926
|
+
|
|
3927
|
+
|
|
3928
|
+
var _DeleteAIPromptVersionCommand = class _DeleteAIPromptVersionCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
3929
|
+
return [
|
|
3930
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3931
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3932
|
+
];
|
|
3933
|
+
}).s("WisdomService", "DeleteAIPromptVersion", {}).n("QConnectClient", "DeleteAIPromptVersionCommand").f(void 0, void 0).ser(se_DeleteAIPromptVersionCommand).de(de_DeleteAIPromptVersionCommand).build() {
|
|
3934
|
+
};
|
|
3935
|
+
__name(_DeleteAIPromptVersionCommand, "DeleteAIPromptVersionCommand");
|
|
3936
|
+
var DeleteAIPromptVersionCommand = _DeleteAIPromptVersionCommand;
|
|
3937
|
+
|
|
2798
3938
|
// src/commands/DeleteAssistantAssociationCommand.ts
|
|
2799
3939
|
|
|
2800
3940
|
|
|
@@ -2893,6 +4033,34 @@ var _DeleteQuickResponseCommand = class _DeleteQuickResponseCommand extends impo
|
|
|
2893
4033
|
__name(_DeleteQuickResponseCommand, "DeleteQuickResponseCommand");
|
|
2894
4034
|
var DeleteQuickResponseCommand = _DeleteQuickResponseCommand;
|
|
2895
4035
|
|
|
4036
|
+
// src/commands/GetAIAgentCommand.ts
|
|
4037
|
+
|
|
4038
|
+
|
|
4039
|
+
|
|
4040
|
+
var _GetAIAgentCommand = class _GetAIAgentCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
4041
|
+
return [
|
|
4042
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
4043
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
4044
|
+
];
|
|
4045
|
+
}).s("WisdomService", "GetAIAgent", {}).n("QConnectClient", "GetAIAgentCommand").f(void 0, void 0).ser(se_GetAIAgentCommand).de(de_GetAIAgentCommand).build() {
|
|
4046
|
+
};
|
|
4047
|
+
__name(_GetAIAgentCommand, "GetAIAgentCommand");
|
|
4048
|
+
var GetAIAgentCommand = _GetAIAgentCommand;
|
|
4049
|
+
|
|
4050
|
+
// src/commands/GetAIPromptCommand.ts
|
|
4051
|
+
|
|
4052
|
+
|
|
4053
|
+
|
|
4054
|
+
var _GetAIPromptCommand = class _GetAIPromptCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
4055
|
+
return [
|
|
4056
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
4057
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
4058
|
+
];
|
|
4059
|
+
}).s("WisdomService", "GetAIPrompt", {}).n("QConnectClient", "GetAIPromptCommand").f(void 0, GetAIPromptResponseFilterSensitiveLog).ser(se_GetAIPromptCommand).de(de_GetAIPromptCommand).build() {
|
|
4060
|
+
};
|
|
4061
|
+
__name(_GetAIPromptCommand, "GetAIPromptCommand");
|
|
4062
|
+
var GetAIPromptCommand = _GetAIPromptCommand;
|
|
4063
|
+
|
|
2896
4064
|
// src/commands/GetAssistantAssociationCommand.ts
|
|
2897
4065
|
|
|
2898
4066
|
|
|
@@ -2986,7 +4154,7 @@ var _GetKnowledgeBaseCommand = class _GetKnowledgeBaseCommand extends import_smi
|
|
|
2986
4154
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2987
4155
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2988
4156
|
];
|
|
2989
|
-
}).s("WisdomService", "GetKnowledgeBase", {}).n("QConnectClient", "GetKnowledgeBaseCommand").f(void 0,
|
|
4157
|
+
}).s("WisdomService", "GetKnowledgeBase", {}).n("QConnectClient", "GetKnowledgeBaseCommand").f(void 0, GetKnowledgeBaseResponseFilterSensitiveLog).ser(se_GetKnowledgeBaseCommand).de(de_GetKnowledgeBaseCommand).build() {
|
|
2990
4158
|
};
|
|
2991
4159
|
__name(_GetKnowledgeBaseCommand, "GetKnowledgeBaseCommand");
|
|
2992
4160
|
var GetKnowledgeBaseCommand = _GetKnowledgeBaseCommand;
|
|
@@ -3033,6 +4201,62 @@ var _GetSessionCommand = class _GetSessionCommand extends import_smithy_client.C
|
|
|
3033
4201
|
__name(_GetSessionCommand, "GetSessionCommand");
|
|
3034
4202
|
var GetSessionCommand = _GetSessionCommand;
|
|
3035
4203
|
|
|
4204
|
+
// src/commands/ListAIAgentsCommand.ts
|
|
4205
|
+
|
|
4206
|
+
|
|
4207
|
+
|
|
4208
|
+
var _ListAIAgentsCommand = class _ListAIAgentsCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
4209
|
+
return [
|
|
4210
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
4211
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
4212
|
+
];
|
|
4213
|
+
}).s("WisdomService", "ListAIAgents", {}).n("QConnectClient", "ListAIAgentsCommand").f(void 0, void 0).ser(se_ListAIAgentsCommand).de(de_ListAIAgentsCommand).build() {
|
|
4214
|
+
};
|
|
4215
|
+
__name(_ListAIAgentsCommand, "ListAIAgentsCommand");
|
|
4216
|
+
var ListAIAgentsCommand = _ListAIAgentsCommand;
|
|
4217
|
+
|
|
4218
|
+
// src/commands/ListAIAgentVersionsCommand.ts
|
|
4219
|
+
|
|
4220
|
+
|
|
4221
|
+
|
|
4222
|
+
var _ListAIAgentVersionsCommand = class _ListAIAgentVersionsCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
4223
|
+
return [
|
|
4224
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
4225
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
4226
|
+
];
|
|
4227
|
+
}).s("WisdomService", "ListAIAgentVersions", {}).n("QConnectClient", "ListAIAgentVersionsCommand").f(void 0, void 0).ser(se_ListAIAgentVersionsCommand).de(de_ListAIAgentVersionsCommand).build() {
|
|
4228
|
+
};
|
|
4229
|
+
__name(_ListAIAgentVersionsCommand, "ListAIAgentVersionsCommand");
|
|
4230
|
+
var ListAIAgentVersionsCommand = _ListAIAgentVersionsCommand;
|
|
4231
|
+
|
|
4232
|
+
// src/commands/ListAIPromptsCommand.ts
|
|
4233
|
+
|
|
4234
|
+
|
|
4235
|
+
|
|
4236
|
+
var _ListAIPromptsCommand = class _ListAIPromptsCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
4237
|
+
return [
|
|
4238
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
4239
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
4240
|
+
];
|
|
4241
|
+
}).s("WisdomService", "ListAIPrompts", {}).n("QConnectClient", "ListAIPromptsCommand").f(void 0, void 0).ser(se_ListAIPromptsCommand).de(de_ListAIPromptsCommand).build() {
|
|
4242
|
+
};
|
|
4243
|
+
__name(_ListAIPromptsCommand, "ListAIPromptsCommand");
|
|
4244
|
+
var ListAIPromptsCommand = _ListAIPromptsCommand;
|
|
4245
|
+
|
|
4246
|
+
// src/commands/ListAIPromptVersionsCommand.ts
|
|
4247
|
+
|
|
4248
|
+
|
|
4249
|
+
|
|
4250
|
+
var _ListAIPromptVersionsCommand = class _ListAIPromptVersionsCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
4251
|
+
return [
|
|
4252
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
4253
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
4254
|
+
];
|
|
4255
|
+
}).s("WisdomService", "ListAIPromptVersions", {}).n("QConnectClient", "ListAIPromptVersionsCommand").f(void 0, void 0).ser(se_ListAIPromptVersionsCommand).de(de_ListAIPromptVersionsCommand).build() {
|
|
4256
|
+
};
|
|
4257
|
+
__name(_ListAIPromptVersionsCommand, "ListAIPromptVersionsCommand");
|
|
4258
|
+
var ListAIPromptVersionsCommand = _ListAIPromptVersionsCommand;
|
|
4259
|
+
|
|
3036
4260
|
// src/commands/ListAssistantAssociationsCommand.ts
|
|
3037
4261
|
|
|
3038
4262
|
|
|
@@ -3112,7 +4336,7 @@ var _ListKnowledgeBasesCommand = class _ListKnowledgeBasesCommand extends import
|
|
|
3112
4336
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3113
4337
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3114
4338
|
];
|
|
3115
|
-
}).s("WisdomService", "ListKnowledgeBases", {}).n("QConnectClient", "ListKnowledgeBasesCommand").f(void 0,
|
|
4339
|
+
}).s("WisdomService", "ListKnowledgeBases", {}).n("QConnectClient", "ListKnowledgeBasesCommand").f(void 0, ListKnowledgeBasesResponseFilterSensitiveLog).ser(se_ListKnowledgeBasesCommand).de(de_ListKnowledgeBasesCommand).build() {
|
|
3116
4340
|
};
|
|
3117
4341
|
__name(_ListKnowledgeBasesCommand, "ListKnowledgeBasesCommand");
|
|
3118
4342
|
var ListKnowledgeBasesCommand = _ListKnowledgeBasesCommand;
|
|
@@ -3187,6 +4411,20 @@ var _QueryAssistantCommand = class _QueryAssistantCommand extends import_smithy_
|
|
|
3187
4411
|
__name(_QueryAssistantCommand, "QueryAssistantCommand");
|
|
3188
4412
|
var QueryAssistantCommand = _QueryAssistantCommand;
|
|
3189
4413
|
|
|
4414
|
+
// src/commands/RemoveAssistantAIAgentCommand.ts
|
|
4415
|
+
|
|
4416
|
+
|
|
4417
|
+
|
|
4418
|
+
var _RemoveAssistantAIAgentCommand = class _RemoveAssistantAIAgentCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
4419
|
+
return [
|
|
4420
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
4421
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
4422
|
+
];
|
|
4423
|
+
}).s("WisdomService", "RemoveAssistantAIAgent", {}).n("QConnectClient", "RemoveAssistantAIAgentCommand").f(void 0, void 0).ser(se_RemoveAssistantAIAgentCommand).de(de_RemoveAssistantAIAgentCommand).build() {
|
|
4424
|
+
};
|
|
4425
|
+
__name(_RemoveAssistantAIAgentCommand, "RemoveAssistantAIAgentCommand");
|
|
4426
|
+
var RemoveAssistantAIAgentCommand = _RemoveAssistantAIAgentCommand;
|
|
4427
|
+
|
|
3190
4428
|
// src/commands/RemoveKnowledgeBaseTemplateUriCommand.ts
|
|
3191
4429
|
|
|
3192
4430
|
|
|
@@ -3299,6 +4537,48 @@ var _UntagResourceCommand = class _UntagResourceCommand extends import_smithy_cl
|
|
|
3299
4537
|
__name(_UntagResourceCommand, "UntagResourceCommand");
|
|
3300
4538
|
var UntagResourceCommand = _UntagResourceCommand;
|
|
3301
4539
|
|
|
4540
|
+
// src/commands/UpdateAIAgentCommand.ts
|
|
4541
|
+
|
|
4542
|
+
|
|
4543
|
+
|
|
4544
|
+
var _UpdateAIAgentCommand = class _UpdateAIAgentCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
4545
|
+
return [
|
|
4546
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
4547
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
4548
|
+
];
|
|
4549
|
+
}).s("WisdomService", "UpdateAIAgent", {}).n("QConnectClient", "UpdateAIAgentCommand").f(void 0, void 0).ser(se_UpdateAIAgentCommand).de(de_UpdateAIAgentCommand).build() {
|
|
4550
|
+
};
|
|
4551
|
+
__name(_UpdateAIAgentCommand, "UpdateAIAgentCommand");
|
|
4552
|
+
var UpdateAIAgentCommand = _UpdateAIAgentCommand;
|
|
4553
|
+
|
|
4554
|
+
// src/commands/UpdateAIPromptCommand.ts
|
|
4555
|
+
|
|
4556
|
+
|
|
4557
|
+
|
|
4558
|
+
var _UpdateAIPromptCommand = class _UpdateAIPromptCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
4559
|
+
return [
|
|
4560
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
4561
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
4562
|
+
];
|
|
4563
|
+
}).s("WisdomService", "UpdateAIPrompt", {}).n("QConnectClient", "UpdateAIPromptCommand").f(UpdateAIPromptRequestFilterSensitiveLog, UpdateAIPromptResponseFilterSensitiveLog).ser(se_UpdateAIPromptCommand).de(de_UpdateAIPromptCommand).build() {
|
|
4564
|
+
};
|
|
4565
|
+
__name(_UpdateAIPromptCommand, "UpdateAIPromptCommand");
|
|
4566
|
+
var UpdateAIPromptCommand = _UpdateAIPromptCommand;
|
|
4567
|
+
|
|
4568
|
+
// src/commands/UpdateAssistantAIAgentCommand.ts
|
|
4569
|
+
|
|
4570
|
+
|
|
4571
|
+
|
|
4572
|
+
var _UpdateAssistantAIAgentCommand = class _UpdateAssistantAIAgentCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
4573
|
+
return [
|
|
4574
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
4575
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
4576
|
+
];
|
|
4577
|
+
}).s("WisdomService", "UpdateAssistantAIAgent", {}).n("QConnectClient", "UpdateAssistantAIAgentCommand").f(void 0, void 0).ser(se_UpdateAssistantAIAgentCommand).de(de_UpdateAssistantAIAgentCommand).build() {
|
|
4578
|
+
};
|
|
4579
|
+
__name(_UpdateAssistantAIAgentCommand, "UpdateAssistantAIAgentCommand");
|
|
4580
|
+
var UpdateAssistantAIAgentCommand = _UpdateAssistantAIAgentCommand;
|
|
4581
|
+
|
|
3302
4582
|
// src/commands/UpdateContentCommand.ts
|
|
3303
4583
|
|
|
3304
4584
|
|
|
@@ -3322,7 +4602,7 @@ var _UpdateKnowledgeBaseTemplateUriCommand = class _UpdateKnowledgeBaseTemplateU
|
|
|
3322
4602
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3323
4603
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3324
4604
|
];
|
|
3325
|
-
}).s("WisdomService", "UpdateKnowledgeBaseTemplateUri", {}).n("QConnectClient", "UpdateKnowledgeBaseTemplateUriCommand").f(void 0,
|
|
4605
|
+
}).s("WisdomService", "UpdateKnowledgeBaseTemplateUri", {}).n("QConnectClient", "UpdateKnowledgeBaseTemplateUriCommand").f(void 0, UpdateKnowledgeBaseTemplateUriResponseFilterSensitiveLog).ser(se_UpdateKnowledgeBaseTemplateUriCommand).de(de_UpdateKnowledgeBaseTemplateUriCommand).build() {
|
|
3326
4606
|
};
|
|
3327
4607
|
__name(_UpdateKnowledgeBaseTemplateUriCommand, "UpdateKnowledgeBaseTemplateUriCommand");
|
|
3328
4608
|
var UpdateKnowledgeBaseTemplateUriCommand = _UpdateKnowledgeBaseTemplateUriCommand;
|
|
@@ -3355,8 +4635,26 @@ var _UpdateSessionCommand = class _UpdateSessionCommand extends import_smithy_cl
|
|
|
3355
4635
|
__name(_UpdateSessionCommand, "UpdateSessionCommand");
|
|
3356
4636
|
var UpdateSessionCommand = _UpdateSessionCommand;
|
|
3357
4637
|
|
|
4638
|
+
// src/commands/UpdateSessionDataCommand.ts
|
|
4639
|
+
|
|
4640
|
+
|
|
4641
|
+
|
|
4642
|
+
var _UpdateSessionDataCommand = class _UpdateSessionDataCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
4643
|
+
return [
|
|
4644
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
4645
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
4646
|
+
];
|
|
4647
|
+
}).s("WisdomService", "UpdateSessionData", {}).n("QConnectClient", "UpdateSessionDataCommand").f(UpdateSessionDataRequestFilterSensitiveLog, UpdateSessionDataResponseFilterSensitiveLog).ser(se_UpdateSessionDataCommand).de(de_UpdateSessionDataCommand).build() {
|
|
4648
|
+
};
|
|
4649
|
+
__name(_UpdateSessionDataCommand, "UpdateSessionDataCommand");
|
|
4650
|
+
var UpdateSessionDataCommand = _UpdateSessionDataCommand;
|
|
4651
|
+
|
|
3358
4652
|
// src/QConnect.ts
|
|
3359
4653
|
var commands = {
|
|
4654
|
+
CreateAIAgentCommand,
|
|
4655
|
+
CreateAIAgentVersionCommand,
|
|
4656
|
+
CreateAIPromptCommand,
|
|
4657
|
+
CreateAIPromptVersionCommand,
|
|
3360
4658
|
CreateAssistantCommand,
|
|
3361
4659
|
CreateAssistantAssociationCommand,
|
|
3362
4660
|
CreateContentCommand,
|
|
@@ -3364,6 +4662,10 @@ var commands = {
|
|
|
3364
4662
|
CreateKnowledgeBaseCommand,
|
|
3365
4663
|
CreateQuickResponseCommand,
|
|
3366
4664
|
CreateSessionCommand,
|
|
4665
|
+
DeleteAIAgentCommand,
|
|
4666
|
+
DeleteAIAgentVersionCommand,
|
|
4667
|
+
DeleteAIPromptCommand,
|
|
4668
|
+
DeleteAIPromptVersionCommand,
|
|
3367
4669
|
DeleteAssistantCommand,
|
|
3368
4670
|
DeleteAssistantAssociationCommand,
|
|
3369
4671
|
DeleteContentCommand,
|
|
@@ -3371,6 +4673,8 @@ var commands = {
|
|
|
3371
4673
|
DeleteImportJobCommand,
|
|
3372
4674
|
DeleteKnowledgeBaseCommand,
|
|
3373
4675
|
DeleteQuickResponseCommand,
|
|
4676
|
+
GetAIAgentCommand,
|
|
4677
|
+
GetAIPromptCommand,
|
|
3374
4678
|
GetAssistantCommand,
|
|
3375
4679
|
GetAssistantAssociationCommand,
|
|
3376
4680
|
GetContentCommand,
|
|
@@ -3381,6 +4685,10 @@ var commands = {
|
|
|
3381
4685
|
GetQuickResponseCommand,
|
|
3382
4686
|
GetRecommendationsCommand,
|
|
3383
4687
|
GetSessionCommand,
|
|
4688
|
+
ListAIAgentsCommand,
|
|
4689
|
+
ListAIAgentVersionsCommand,
|
|
4690
|
+
ListAIPromptsCommand,
|
|
4691
|
+
ListAIPromptVersionsCommand,
|
|
3384
4692
|
ListAssistantAssociationsCommand,
|
|
3385
4693
|
ListAssistantsCommand,
|
|
3386
4694
|
ListContentAssociationsCommand,
|
|
@@ -3392,6 +4700,7 @@ var commands = {
|
|
|
3392
4700
|
NotifyRecommendationsReceivedCommand,
|
|
3393
4701
|
PutFeedbackCommand,
|
|
3394
4702
|
QueryAssistantCommand,
|
|
4703
|
+
RemoveAssistantAIAgentCommand,
|
|
3395
4704
|
RemoveKnowledgeBaseTemplateUriCommand,
|
|
3396
4705
|
SearchContentCommand,
|
|
3397
4706
|
SearchQuickResponsesCommand,
|
|
@@ -3400,10 +4709,14 @@ var commands = {
|
|
|
3400
4709
|
StartImportJobCommand,
|
|
3401
4710
|
TagResourceCommand,
|
|
3402
4711
|
UntagResourceCommand,
|
|
4712
|
+
UpdateAIAgentCommand,
|
|
4713
|
+
UpdateAIPromptCommand,
|
|
4714
|
+
UpdateAssistantAIAgentCommand,
|
|
3403
4715
|
UpdateContentCommand,
|
|
3404
4716
|
UpdateKnowledgeBaseTemplateUriCommand,
|
|
3405
4717
|
UpdateQuickResponseCommand,
|
|
3406
|
-
UpdateSessionCommand
|
|
4718
|
+
UpdateSessionCommand,
|
|
4719
|
+
UpdateSessionDataCommand
|
|
3407
4720
|
};
|
|
3408
4721
|
var _QConnect = class _QConnect extends QConnectClient {
|
|
3409
4722
|
};
|
|
@@ -3411,6 +4724,22 @@ __name(_QConnect, "QConnect");
|
|
|
3411
4724
|
var QConnect = _QConnect;
|
|
3412
4725
|
(0, import_smithy_client.createAggregatedClient)(commands, QConnect);
|
|
3413
4726
|
|
|
4727
|
+
// src/pagination/ListAIAgentVersionsPaginator.ts
|
|
4728
|
+
|
|
4729
|
+
var paginateListAIAgentVersions = (0, import_core.createPaginator)(QConnectClient, ListAIAgentVersionsCommand, "nextToken", "nextToken", "maxResults");
|
|
4730
|
+
|
|
4731
|
+
// src/pagination/ListAIAgentsPaginator.ts
|
|
4732
|
+
|
|
4733
|
+
var paginateListAIAgents = (0, import_core.createPaginator)(QConnectClient, ListAIAgentsCommand, "nextToken", "nextToken", "maxResults");
|
|
4734
|
+
|
|
4735
|
+
// src/pagination/ListAIPromptVersionsPaginator.ts
|
|
4736
|
+
|
|
4737
|
+
var paginateListAIPromptVersions = (0, import_core.createPaginator)(QConnectClient, ListAIPromptVersionsCommand, "nextToken", "nextToken", "maxResults");
|
|
4738
|
+
|
|
4739
|
+
// src/pagination/ListAIPromptsPaginator.ts
|
|
4740
|
+
|
|
4741
|
+
var paginateListAIPrompts = (0, import_core.createPaginator)(QConnectClient, ListAIPromptsCommand, "nextToken", "nextToken", "maxResults");
|
|
4742
|
+
|
|
3414
4743
|
// src/pagination/ListAssistantAssociationsPaginator.ts
|
|
3415
4744
|
|
|
3416
4745
|
var paginateListAssistantAssociations = (0, import_core.createPaginator)(QConnectClient, ListAssistantAssociationsCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -3462,6 +4791,10 @@ var paginateSearchSessions = (0, import_core.createPaginator)(QConnectClient, Se
|
|
|
3462
4791
|
QConnectClient,
|
|
3463
4792
|
QConnect,
|
|
3464
4793
|
$Command,
|
|
4794
|
+
CreateAIAgentCommand,
|
|
4795
|
+
CreateAIAgentVersionCommand,
|
|
4796
|
+
CreateAIPromptCommand,
|
|
4797
|
+
CreateAIPromptVersionCommand,
|
|
3465
4798
|
CreateAssistantAssociationCommand,
|
|
3466
4799
|
CreateAssistantCommand,
|
|
3467
4800
|
CreateContentAssociationCommand,
|
|
@@ -3469,6 +4802,10 @@ var paginateSearchSessions = (0, import_core.createPaginator)(QConnectClient, Se
|
|
|
3469
4802
|
CreateKnowledgeBaseCommand,
|
|
3470
4803
|
CreateQuickResponseCommand,
|
|
3471
4804
|
CreateSessionCommand,
|
|
4805
|
+
DeleteAIAgentCommand,
|
|
4806
|
+
DeleteAIAgentVersionCommand,
|
|
4807
|
+
DeleteAIPromptCommand,
|
|
4808
|
+
DeleteAIPromptVersionCommand,
|
|
3472
4809
|
DeleteAssistantAssociationCommand,
|
|
3473
4810
|
DeleteAssistantCommand,
|
|
3474
4811
|
DeleteContentAssociationCommand,
|
|
@@ -3476,6 +4813,8 @@ var paginateSearchSessions = (0, import_core.createPaginator)(QConnectClient, Se
|
|
|
3476
4813
|
DeleteImportJobCommand,
|
|
3477
4814
|
DeleteKnowledgeBaseCommand,
|
|
3478
4815
|
DeleteQuickResponseCommand,
|
|
4816
|
+
GetAIAgentCommand,
|
|
4817
|
+
GetAIPromptCommand,
|
|
3479
4818
|
GetAssistantAssociationCommand,
|
|
3480
4819
|
GetAssistantCommand,
|
|
3481
4820
|
GetContentAssociationCommand,
|
|
@@ -3486,6 +4825,10 @@ var paginateSearchSessions = (0, import_core.createPaginator)(QConnectClient, Se
|
|
|
3486
4825
|
GetQuickResponseCommand,
|
|
3487
4826
|
GetRecommendationsCommand,
|
|
3488
4827
|
GetSessionCommand,
|
|
4828
|
+
ListAIAgentVersionsCommand,
|
|
4829
|
+
ListAIAgentsCommand,
|
|
4830
|
+
ListAIPromptVersionsCommand,
|
|
4831
|
+
ListAIPromptsCommand,
|
|
3489
4832
|
ListAssistantAssociationsCommand,
|
|
3490
4833
|
ListAssistantsCommand,
|
|
3491
4834
|
ListContentAssociationsCommand,
|
|
@@ -3497,6 +4840,7 @@ var paginateSearchSessions = (0, import_core.createPaginator)(QConnectClient, Se
|
|
|
3497
4840
|
NotifyRecommendationsReceivedCommand,
|
|
3498
4841
|
PutFeedbackCommand,
|
|
3499
4842
|
QueryAssistantCommand,
|
|
4843
|
+
RemoveAssistantAIAgentCommand,
|
|
3500
4844
|
RemoveKnowledgeBaseTemplateUriCommand,
|
|
3501
4845
|
SearchContentCommand,
|
|
3502
4846
|
SearchQuickResponsesCommand,
|
|
@@ -3505,10 +4849,18 @@ var paginateSearchSessions = (0, import_core.createPaginator)(QConnectClient, Se
|
|
|
3505
4849
|
StartImportJobCommand,
|
|
3506
4850
|
TagResourceCommand,
|
|
3507
4851
|
UntagResourceCommand,
|
|
4852
|
+
UpdateAIAgentCommand,
|
|
4853
|
+
UpdateAIPromptCommand,
|
|
4854
|
+
UpdateAssistantAIAgentCommand,
|
|
3508
4855
|
UpdateContentCommand,
|
|
3509
4856
|
UpdateKnowledgeBaseTemplateUriCommand,
|
|
3510
4857
|
UpdateQuickResponseCommand,
|
|
3511
4858
|
UpdateSessionCommand,
|
|
4859
|
+
UpdateSessionDataCommand,
|
|
4860
|
+
paginateListAIAgentVersions,
|
|
4861
|
+
paginateListAIAgents,
|
|
4862
|
+
paginateListAIPromptVersions,
|
|
4863
|
+
paginateListAIPrompts,
|
|
3512
4864
|
paginateListAssistantAssociations,
|
|
3513
4865
|
paginateListAssistants,
|
|
3514
4866
|
paginateListContentAssociations,
|
|
@@ -3522,17 +4874,33 @@ var paginateSearchSessions = (0, import_core.createPaginator)(QConnectClient, Se
|
|
|
3522
4874
|
paginateSearchSessions,
|
|
3523
4875
|
AccessDeniedException,
|
|
3524
4876
|
ConflictException,
|
|
3525
|
-
|
|
3526
|
-
|
|
3527
|
-
|
|
4877
|
+
OrCondition,
|
|
4878
|
+
TagFilter,
|
|
4879
|
+
KnowledgeBaseSearchType,
|
|
4880
|
+
AssociationConfigurationData,
|
|
4881
|
+
AIAgentAssociationConfigurationType,
|
|
4882
|
+
AIAgentConfiguration,
|
|
4883
|
+
AIAgentType,
|
|
4884
|
+
VisibilityStatus,
|
|
4885
|
+
Origin,
|
|
4886
|
+
Status,
|
|
3528
4887
|
ResourceNotFoundException,
|
|
3529
4888
|
ServiceQuotaExceededException,
|
|
4889
|
+
ThrottlingException,
|
|
3530
4890
|
ValidationException,
|
|
4891
|
+
AIPromptAPIFormat,
|
|
4892
|
+
AIPromptTemplateConfiguration,
|
|
4893
|
+
AIPromptTemplateType,
|
|
4894
|
+
AIPromptType,
|
|
4895
|
+
AssistantAssociationInputData,
|
|
4896
|
+
AssociationType,
|
|
4897
|
+
AssistantAssociationOutputData,
|
|
3531
4898
|
AssistantType,
|
|
3532
4899
|
AssistantCapabilityType,
|
|
3533
4900
|
AssistantStatus,
|
|
3534
4901
|
RelevanceLevel,
|
|
3535
4902
|
SourceContentType,
|
|
4903
|
+
ReferenceType,
|
|
3536
4904
|
DataReference,
|
|
3537
4905
|
RecommendationType,
|
|
3538
4906
|
RecommendationTriggerData,
|
|
@@ -3544,20 +4912,25 @@ var paginateSearchSessions = (0, import_core.createPaginator)(QConnectClient, Se
|
|
|
3544
4912
|
QueryConditionComparisonOperator,
|
|
3545
4913
|
QueryConditionFieldName,
|
|
3546
4914
|
QueryCondition,
|
|
4915
|
+
QueryInputData,
|
|
3547
4916
|
QueryResultType,
|
|
3548
4917
|
RequestTimeoutException,
|
|
3549
4918
|
FilterField,
|
|
3550
4919
|
FilterOperator,
|
|
3551
|
-
|
|
3552
|
-
|
|
4920
|
+
RuntimeSessionDataValue,
|
|
4921
|
+
SessionDataNamespace,
|
|
4922
|
+
ChunkingStrategy,
|
|
3553
4923
|
Configuration,
|
|
3554
4924
|
ContentAssociationContents,
|
|
3555
4925
|
ContentAssociationType,
|
|
3556
|
-
ThrottlingException,
|
|
3557
4926
|
ContentStatus,
|
|
3558
4927
|
PreconditionFailedException,
|
|
3559
4928
|
KnowledgeBaseType,
|
|
4929
|
+
WebScopeType,
|
|
4930
|
+
ManagedSourceConfiguration,
|
|
3560
4931
|
SourceConfiguration,
|
|
4932
|
+
ParsingStrategy,
|
|
4933
|
+
SyncStatus,
|
|
3561
4934
|
KnowledgeBaseStatus,
|
|
3562
4935
|
QuickResponseDataProvider,
|
|
3563
4936
|
QuickResponseContentProvider,
|
|
@@ -3571,19 +4944,41 @@ var paginateSearchSessions = (0, import_core.createPaginator)(QConnectClient, Se
|
|
|
3571
4944
|
Priority,
|
|
3572
4945
|
TooManyTagsException,
|
|
3573
4946
|
DataDetails,
|
|
4947
|
+
TextFullAIPromptEditTemplateConfigurationFilterSensitiveLog,
|
|
4948
|
+
AIPromptTemplateConfigurationFilterSensitiveLog,
|
|
4949
|
+
CreateAIPromptRequestFilterSensitiveLog,
|
|
4950
|
+
AIPromptDataFilterSensitiveLog,
|
|
4951
|
+
CreateAIPromptResponseFilterSensitiveLog,
|
|
4952
|
+
CreateAIPromptVersionResponseFilterSensitiveLog,
|
|
4953
|
+
GetAIPromptResponseFilterSensitiveLog,
|
|
4954
|
+
UpdateAIPromptRequestFilterSensitiveLog,
|
|
4955
|
+
UpdateAIPromptResponseFilterSensitiveLog,
|
|
3574
4956
|
DocumentTextFilterSensitiveLog,
|
|
3575
4957
|
TextDataFilterSensitiveLog,
|
|
3576
4958
|
ContentDataDetailsFilterSensitiveLog,
|
|
4959
|
+
IntentDetectedDataDetailsFilterSensitiveLog,
|
|
3577
4960
|
SourceContentDataDetailsFilterSensitiveLog,
|
|
3578
4961
|
DocumentFilterSensitiveLog,
|
|
3579
4962
|
QueryRecommendationTriggerDataFilterSensitiveLog,
|
|
3580
4963
|
RecommendationTriggerDataFilterSensitiveLog,
|
|
3581
4964
|
RecommendationTriggerFilterSensitiveLog,
|
|
4965
|
+
QueryTextInputDataFilterSensitiveLog,
|
|
4966
|
+
QueryInputDataFilterSensitiveLog,
|
|
3582
4967
|
QueryAssistantRequestFilterSensitiveLog,
|
|
4968
|
+
RuntimeSessionDataValueFilterSensitiveLog,
|
|
4969
|
+
RuntimeSessionDataFilterSensitiveLog,
|
|
4970
|
+
UpdateSessionDataRequestFilterSensitiveLog,
|
|
4971
|
+
UpdateSessionDataResponseFilterSensitiveLog,
|
|
3583
4972
|
ContentDataFilterSensitiveLog,
|
|
3584
4973
|
CreateContentResponseFilterSensitiveLog,
|
|
3585
4974
|
GetContentResponseFilterSensitiveLog,
|
|
3586
4975
|
UpdateContentResponseFilterSensitiveLog,
|
|
4976
|
+
WebCrawlerConfigurationFilterSensitiveLog,
|
|
4977
|
+
ManagedSourceConfigurationFilterSensitiveLog,
|
|
4978
|
+
SourceConfigurationFilterSensitiveLog,
|
|
4979
|
+
CreateKnowledgeBaseRequestFilterSensitiveLog,
|
|
4980
|
+
KnowledgeBaseDataFilterSensitiveLog,
|
|
4981
|
+
CreateKnowledgeBaseResponseFilterSensitiveLog,
|
|
3587
4982
|
QuickResponseDataProviderFilterSensitiveLog,
|
|
3588
4983
|
GroupingConfigurationFilterSensitiveLog,
|
|
3589
4984
|
CreateQuickResponseRequestFilterSensitiveLog,
|
|
@@ -3593,7 +4988,10 @@ var paginateSearchSessions = (0, import_core.createPaginator)(QConnectClient, Se
|
|
|
3593
4988
|
CreateQuickResponseResponseFilterSensitiveLog,
|
|
3594
4989
|
ImportJobDataFilterSensitiveLog,
|
|
3595
4990
|
GetImportJobResponseFilterSensitiveLog,
|
|
4991
|
+
GetKnowledgeBaseResponseFilterSensitiveLog,
|
|
3596
4992
|
GetQuickResponseResponseFilterSensitiveLog,
|
|
4993
|
+
KnowledgeBaseSummaryFilterSensitiveLog,
|
|
4994
|
+
ListKnowledgeBasesResponseFilterSensitiveLog,
|
|
3597
4995
|
QuickResponseSummaryFilterSensitiveLog,
|
|
3598
4996
|
ListQuickResponsesResponseFilterSensitiveLog,
|
|
3599
4997
|
UpdateQuickResponseRequestFilterSensitiveLog,
|
|
@@ -3603,6 +5001,7 @@ var paginateSearchSessions = (0, import_core.createPaginator)(QConnectClient, Se
|
|
|
3603
5001
|
SearchQuickResponsesResponseFilterSensitiveLog,
|
|
3604
5002
|
StartContentUploadResponseFilterSensitiveLog,
|
|
3605
5003
|
StartImportJobResponseFilterSensitiveLog,
|
|
5004
|
+
UpdateKnowledgeBaseTemplateUriResponseFilterSensitiveLog,
|
|
3606
5005
|
DataDetailsFilterSensitiveLog,
|
|
3607
5006
|
DataSummaryFilterSensitiveLog,
|
|
3608
5007
|
GenerativeDataDetailsFilterSensitiveLog,
|