@aws-sdk/client-qconnect 3.928.0 → 3.930.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/index.js +5185 -5292
- package/dist-cjs/runtimeConfig.shared.js +2 -0
- package/dist-es/QConnectClient.js +2 -0
- package/dist-es/commands/ActivateMessageTemplateCommand.js +3 -9
- package/dist-es/commands/CreateAIAgentCommand.js +3 -9
- package/dist-es/commands/CreateAIAgentVersionCommand.js +3 -9
- package/dist-es/commands/CreateAIGuardrailCommand.js +3 -10
- package/dist-es/commands/CreateAIGuardrailVersionCommand.js +3 -10
- package/dist-es/commands/CreateAIPromptCommand.js +3 -10
- package/dist-es/commands/CreateAIPromptVersionCommand.js +3 -10
- package/dist-es/commands/CreateAssistantAssociationCommand.js +3 -9
- package/dist-es/commands/CreateAssistantCommand.js +3 -9
- package/dist-es/commands/CreateContentAssociationCommand.js +3 -9
- package/dist-es/commands/CreateContentCommand.js +3 -10
- package/dist-es/commands/CreateKnowledgeBaseCommand.js +3 -10
- package/dist-es/commands/CreateMessageTemplateAttachmentCommand.js +3 -10
- package/dist-es/commands/CreateMessageTemplateCommand.js +3 -11
- package/dist-es/commands/CreateMessageTemplateVersionCommand.js +3 -10
- package/dist-es/commands/CreateQuickResponseCommand.js +3 -10
- package/dist-es/commands/CreateSessionCommand.js +3 -9
- package/dist-es/commands/DeactivateMessageTemplateCommand.js +3 -9
- package/dist-es/commands/DeleteAIAgentCommand.js +3 -9
- package/dist-es/commands/DeleteAIAgentVersionCommand.js +3 -9
- package/dist-es/commands/DeleteAIGuardrailCommand.js +3 -9
- package/dist-es/commands/DeleteAIGuardrailVersionCommand.js +3 -9
- package/dist-es/commands/DeleteAIPromptCommand.js +3 -9
- package/dist-es/commands/DeleteAIPromptVersionCommand.js +3 -9
- package/dist-es/commands/DeleteAssistantAssociationCommand.js +3 -9
- package/dist-es/commands/DeleteAssistantCommand.js +3 -9
- package/dist-es/commands/DeleteContentAssociationCommand.js +3 -9
- package/dist-es/commands/DeleteContentCommand.js +3 -9
- package/dist-es/commands/DeleteImportJobCommand.js +3 -9
- package/dist-es/commands/DeleteKnowledgeBaseCommand.js +3 -9
- package/dist-es/commands/DeleteMessageTemplateAttachmentCommand.js +3 -9
- package/dist-es/commands/DeleteMessageTemplateCommand.js +3 -9
- package/dist-es/commands/DeleteQuickResponseCommand.js +3 -9
- package/dist-es/commands/GetAIAgentCommand.js +3 -9
- package/dist-es/commands/GetAIGuardrailCommand.js +3 -10
- package/dist-es/commands/GetAIPromptCommand.js +3 -10
- package/dist-es/commands/GetAssistantAssociationCommand.js +3 -9
- package/dist-es/commands/GetAssistantCommand.js +3 -9
- package/dist-es/commands/GetContentAssociationCommand.js +3 -9
- package/dist-es/commands/GetContentCommand.js +3 -10
- package/dist-es/commands/GetContentSummaryCommand.js +3 -9
- package/dist-es/commands/GetImportJobCommand.js +3 -10
- package/dist-es/commands/GetKnowledgeBaseCommand.js +3 -10
- package/dist-es/commands/GetMessageTemplateCommand.js +3 -10
- package/dist-es/commands/GetNextMessageCommand.js +3 -10
- package/dist-es/commands/GetQuickResponseCommand.js +3 -10
- package/dist-es/commands/GetRecommendationsCommand.js +3 -10
- package/dist-es/commands/GetSessionCommand.js +3 -9
- package/dist-es/commands/ListAIAgentVersionsCommand.js +3 -9
- package/dist-es/commands/ListAIAgentsCommand.js +3 -9
- package/dist-es/commands/ListAIGuardrailVersionsCommand.js +3 -10
- package/dist-es/commands/ListAIGuardrailsCommand.js +3 -10
- package/dist-es/commands/ListAIPromptVersionsCommand.js +3 -9
- package/dist-es/commands/ListAIPromptsCommand.js +3 -9
- package/dist-es/commands/ListAssistantAssociationsCommand.js +3 -9
- package/dist-es/commands/ListAssistantsCommand.js +3 -9
- package/dist-es/commands/ListContentAssociationsCommand.js +3 -9
- package/dist-es/commands/ListContentsCommand.js +3 -9
- package/dist-es/commands/ListImportJobsCommand.js +3 -9
- package/dist-es/commands/ListKnowledgeBasesCommand.js +3 -10
- package/dist-es/commands/ListMessageTemplateVersionsCommand.js +3 -9
- package/dist-es/commands/ListMessageTemplatesCommand.js +3 -9
- package/dist-es/commands/ListMessagesCommand.js +3 -10
- package/dist-es/commands/ListQuickResponsesCommand.js +3 -10
- package/dist-es/commands/ListTagsForResourceCommand.js +3 -9
- package/dist-es/commands/NotifyRecommendationsReceivedCommand.js +3 -9
- package/dist-es/commands/PutFeedbackCommand.js +3 -9
- package/dist-es/commands/QueryAssistantCommand.js +3 -11
- package/dist-es/commands/RemoveAssistantAIAgentCommand.js +3 -9
- package/dist-es/commands/RemoveKnowledgeBaseTemplateUriCommand.js +3 -9
- package/dist-es/commands/RenderMessageTemplateCommand.js +3 -10
- package/dist-es/commands/SearchContentCommand.js +3 -9
- package/dist-es/commands/SearchMessageTemplatesCommand.js +3 -10
- package/dist-es/commands/SearchQuickResponsesCommand.js +3 -10
- package/dist-es/commands/SearchSessionsCommand.js +3 -9
- package/dist-es/commands/SendMessageCommand.js +3 -10
- package/dist-es/commands/StartContentUploadCommand.js +3 -10
- package/dist-es/commands/StartImportJobCommand.js +3 -10
- package/dist-es/commands/TagResourceCommand.js +3 -9
- package/dist-es/commands/UntagResourceCommand.js +3 -9
- package/dist-es/commands/UpdateAIAgentCommand.js +3 -9
- package/dist-es/commands/UpdateAIGuardrailCommand.js +3 -10
- package/dist-es/commands/UpdateAIPromptCommand.js +3 -10
- package/dist-es/commands/UpdateAssistantAIAgentCommand.js +3 -9
- package/dist-es/commands/UpdateContentCommand.js +3 -10
- package/dist-es/commands/UpdateKnowledgeBaseTemplateUriCommand.js +3 -10
- package/dist-es/commands/UpdateMessageTemplateCommand.js +3 -10
- package/dist-es/commands/UpdateMessageTemplateMetadataCommand.js +3 -10
- package/dist-es/commands/UpdateQuickResponseCommand.js +3 -10
- package/dist-es/commands/UpdateSessionCommand.js +3 -9
- package/dist-es/commands/UpdateSessionDataCommand.js +3 -10
- package/dist-es/models/models_0.js +0 -722
- package/dist-es/models/models_1.js +0 -314
- package/dist-es/runtimeConfig.shared.js +2 -0
- package/dist-es/schemas/schemas_0.js +4975 -0
- package/dist-types/QConnectClient.d.ts +10 -1
- package/dist-types/models/models_0.d.ts +80 -352
- package/dist-types/models/models_1.d.ts +12 -191
- package/dist-types/runtimeConfig.browser.d.ts +1 -0
- package/dist-types/runtimeConfig.d.ts +1 -0
- package/dist-types/runtimeConfig.native.d.ts +1 -0
- package/dist-types/runtimeConfig.shared.d.ts +1 -0
- package/dist-types/schemas/schemas_0.d.ts +542 -0
- package/dist-types/ts3.4/QConnectClient.d.ts +4 -0
- package/dist-types/ts3.4/models/models_0.d.ts +0 -269
- package/dist-types/ts3.4/models/models_1.d.ts +0 -141
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +549 -0
- package/package.json +33 -34
- package/dist-es/protocols/Aws_restJson1.js +0 -3456
- package/dist-types/protocols/Aws_restJson1.d.ts +0 -821
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +0 -1097
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { SENSITIVE_STRING } from "@smithy/smithy-client";
|
|
2
1
|
import { QConnectServiceException as __BaseException } from "./QConnectServiceException";
|
|
3
2
|
export class AccessDeniedException extends __BaseException {
|
|
4
3
|
name = "AccessDeniedException";
|
|
@@ -63,61 +62,13 @@ export class ValidationException extends __BaseException {
|
|
|
63
62
|
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
64
63
|
}
|
|
65
64
|
}
|
|
66
|
-
export var OrCondition;
|
|
67
|
-
(function (OrCondition) {
|
|
68
|
-
OrCondition.visit = (value, visitor) => {
|
|
69
|
-
if (value.andConditions !== undefined)
|
|
70
|
-
return visitor.andConditions(value.andConditions);
|
|
71
|
-
if (value.tagCondition !== undefined)
|
|
72
|
-
return visitor.tagCondition(value.tagCondition);
|
|
73
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
74
|
-
};
|
|
75
|
-
})(OrCondition || (OrCondition = {}));
|
|
76
|
-
export var TagFilter;
|
|
77
|
-
(function (TagFilter) {
|
|
78
|
-
TagFilter.visit = (value, visitor) => {
|
|
79
|
-
if (value.tagCondition !== undefined)
|
|
80
|
-
return visitor.tagCondition(value.tagCondition);
|
|
81
|
-
if (value.andConditions !== undefined)
|
|
82
|
-
return visitor.andConditions(value.andConditions);
|
|
83
|
-
if (value.orConditions !== undefined)
|
|
84
|
-
return visitor.orConditions(value.orConditions);
|
|
85
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
86
|
-
};
|
|
87
|
-
})(TagFilter || (TagFilter = {}));
|
|
88
65
|
export const KnowledgeBaseSearchType = {
|
|
89
66
|
HYBRID: "HYBRID",
|
|
90
67
|
SEMANTIC: "SEMANTIC",
|
|
91
68
|
};
|
|
92
|
-
export var AssociationConfigurationData;
|
|
93
|
-
(function (AssociationConfigurationData) {
|
|
94
|
-
AssociationConfigurationData.visit = (value, visitor) => {
|
|
95
|
-
if (value.knowledgeBaseAssociationConfigurationData !== undefined)
|
|
96
|
-
return visitor.knowledgeBaseAssociationConfigurationData(value.knowledgeBaseAssociationConfigurationData);
|
|
97
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
98
|
-
};
|
|
99
|
-
})(AssociationConfigurationData || (AssociationConfigurationData = {}));
|
|
100
69
|
export const AIAgentAssociationConfigurationType = {
|
|
101
70
|
KNOWLEDGE_BASE: "KNOWLEDGE_BASE",
|
|
102
71
|
};
|
|
103
|
-
export var AIAgentConfiguration;
|
|
104
|
-
(function (AIAgentConfiguration) {
|
|
105
|
-
AIAgentConfiguration.visit = (value, visitor) => {
|
|
106
|
-
if (value.manualSearchAIAgentConfiguration !== undefined)
|
|
107
|
-
return visitor.manualSearchAIAgentConfiguration(value.manualSearchAIAgentConfiguration);
|
|
108
|
-
if (value.answerRecommendationAIAgentConfiguration !== undefined)
|
|
109
|
-
return visitor.answerRecommendationAIAgentConfiguration(value.answerRecommendationAIAgentConfiguration);
|
|
110
|
-
if (value.selfServiceAIAgentConfiguration !== undefined)
|
|
111
|
-
return visitor.selfServiceAIAgentConfiguration(value.selfServiceAIAgentConfiguration);
|
|
112
|
-
if (value.emailResponseAIAgentConfiguration !== undefined)
|
|
113
|
-
return visitor.emailResponseAIAgentConfiguration(value.emailResponseAIAgentConfiguration);
|
|
114
|
-
if (value.emailOverviewAIAgentConfiguration !== undefined)
|
|
115
|
-
return visitor.emailOverviewAIAgentConfiguration(value.emailOverviewAIAgentConfiguration);
|
|
116
|
-
if (value.emailGenerativeAnswerAIAgentConfiguration !== undefined)
|
|
117
|
-
return visitor.emailGenerativeAnswerAIAgentConfiguration(value.emailGenerativeAnswerAIAgentConfiguration);
|
|
118
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
119
|
-
};
|
|
120
|
-
})(AIAgentConfiguration || (AIAgentConfiguration = {}));
|
|
121
72
|
export const AIAgentType = {
|
|
122
73
|
ANSWER_RECOMMENDATION: "ANSWER_RECOMMENDATION",
|
|
123
74
|
EMAIL_GENERATIVE_ANSWER: "EMAIL_GENERATIVE_ANSWER",
|
|
@@ -233,14 +184,6 @@ export const AIPromptAPIFormat = {
|
|
|
233
184
|
MESSAGES: "MESSAGES",
|
|
234
185
|
TEXT_COMPLETIONS: "TEXT_COMPLETIONS",
|
|
235
186
|
};
|
|
236
|
-
export var AIPromptTemplateConfiguration;
|
|
237
|
-
(function (AIPromptTemplateConfiguration) {
|
|
238
|
-
AIPromptTemplateConfiguration.visit = (value, visitor) => {
|
|
239
|
-
if (value.textFullAIPromptEditTemplateConfiguration !== undefined)
|
|
240
|
-
return visitor.textFullAIPromptEditTemplateConfiguration(value.textFullAIPromptEditTemplateConfiguration);
|
|
241
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
242
|
-
};
|
|
243
|
-
})(AIPromptTemplateConfiguration || (AIPromptTemplateConfiguration = {}));
|
|
244
187
|
export const AIPromptTemplateType = {
|
|
245
188
|
TEXT: "TEXT",
|
|
246
189
|
};
|
|
@@ -255,25 +198,9 @@ export const AIPromptType = {
|
|
|
255
198
|
SELF_SERVICE_ANSWER_GENERATION: "SELF_SERVICE_ANSWER_GENERATION",
|
|
256
199
|
SELF_SERVICE_PRE_PROCESSING: "SELF_SERVICE_PRE_PROCESSING",
|
|
257
200
|
};
|
|
258
|
-
export var AssistantAssociationInputData;
|
|
259
|
-
(function (AssistantAssociationInputData) {
|
|
260
|
-
AssistantAssociationInputData.visit = (value, visitor) => {
|
|
261
|
-
if (value.knowledgeBaseId !== undefined)
|
|
262
|
-
return visitor.knowledgeBaseId(value.knowledgeBaseId);
|
|
263
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
264
|
-
};
|
|
265
|
-
})(AssistantAssociationInputData || (AssistantAssociationInputData = {}));
|
|
266
201
|
export const AssociationType = {
|
|
267
202
|
KNOWLEDGE_BASE: "KNOWLEDGE_BASE",
|
|
268
203
|
};
|
|
269
|
-
export var AssistantAssociationOutputData;
|
|
270
|
-
(function (AssistantAssociationOutputData) {
|
|
271
|
-
AssistantAssociationOutputData.visit = (value, visitor) => {
|
|
272
|
-
if (value.knowledgeBaseAssociation !== undefined)
|
|
273
|
-
return visitor.knowledgeBaseAssociation(value.knowledgeBaseAssociation);
|
|
274
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
275
|
-
};
|
|
276
|
-
})(AssistantAssociationOutputData || (AssistantAssociationOutputData = {}));
|
|
277
204
|
export const AssistantType = {
|
|
278
205
|
AGENT: "AGENT",
|
|
279
206
|
};
|
|
@@ -301,16 +228,6 @@ export const ReferenceType = {
|
|
|
301
228
|
KNOWLEDGE_BASE: "KNOWLEDGE_BASE",
|
|
302
229
|
WEB_CRAWLER: "WEB_CRAWLER",
|
|
303
230
|
};
|
|
304
|
-
export var DataReference;
|
|
305
|
-
(function (DataReference) {
|
|
306
|
-
DataReference.visit = (value, visitor) => {
|
|
307
|
-
if (value.contentReference !== undefined)
|
|
308
|
-
return visitor.contentReference(value.contentReference);
|
|
309
|
-
if (value.generativeReference !== undefined)
|
|
310
|
-
return visitor.generativeReference(value.generativeReference);
|
|
311
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
312
|
-
};
|
|
313
|
-
})(DataReference || (DataReference = {}));
|
|
314
231
|
export const RecommendationType = {
|
|
315
232
|
BLOCKED_GENERATIVE_ANSWER_CHUNK: "BLOCKED_GENERATIVE_ANSWER_CHUNK",
|
|
316
233
|
BLOCKED_INTENT_ANSWER_CHUNK: "BLOCKED_INTENT_ANSWER_CHUNK",
|
|
@@ -324,14 +241,6 @@ export const RecommendationType = {
|
|
|
324
241
|
INTENT_ANSWER_CHUNK: "INTENT_ANSWER_CHUNK",
|
|
325
242
|
KNOWLEDGE_CONTENT: "KNOWLEDGE_CONTENT",
|
|
326
243
|
};
|
|
327
|
-
export var RecommendationTriggerData;
|
|
328
|
-
(function (RecommendationTriggerData) {
|
|
329
|
-
RecommendationTriggerData.visit = (value, visitor) => {
|
|
330
|
-
if (value.query !== undefined)
|
|
331
|
-
return visitor.query(value.query);
|
|
332
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
333
|
-
};
|
|
334
|
-
})(RecommendationTriggerData || (RecommendationTriggerData = {}));
|
|
335
244
|
export const RecommendationSourceType = {
|
|
336
245
|
ISSUE_DETECTION: "ISSUE_DETECTION",
|
|
337
246
|
OTHER: "OTHER",
|
|
@@ -345,14 +254,6 @@ export const Relevance = {
|
|
|
345
254
|
HELPFUL: "HELPFUL",
|
|
346
255
|
NOT_HELPFUL: "NOT_HELPFUL",
|
|
347
256
|
};
|
|
348
|
-
export var ContentFeedbackData;
|
|
349
|
-
(function (ContentFeedbackData) {
|
|
350
|
-
ContentFeedbackData.visit = (value, visitor) => {
|
|
351
|
-
if (value.generativeContentFeedbackData !== undefined)
|
|
352
|
-
return visitor.generativeContentFeedbackData(value.generativeContentFeedbackData);
|
|
353
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
354
|
-
};
|
|
355
|
-
})(ContentFeedbackData || (ContentFeedbackData = {}));
|
|
356
257
|
export const TargetType = {
|
|
357
258
|
RECOMMENDATION: "RECOMMENDATION",
|
|
358
259
|
RESULT: "RESULT",
|
|
@@ -363,24 +264,6 @@ export const QueryConditionComparisonOperator = {
|
|
|
363
264
|
export const QueryConditionFieldName = {
|
|
364
265
|
RESULT_TYPE: "RESULT_TYPE",
|
|
365
266
|
};
|
|
366
|
-
export var QueryCondition;
|
|
367
|
-
(function (QueryCondition) {
|
|
368
|
-
QueryCondition.visit = (value, visitor) => {
|
|
369
|
-
if (value.single !== undefined)
|
|
370
|
-
return visitor.single(value.single);
|
|
371
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
372
|
-
};
|
|
373
|
-
})(QueryCondition || (QueryCondition = {}));
|
|
374
|
-
export var QueryInputData;
|
|
375
|
-
(function (QueryInputData) {
|
|
376
|
-
QueryInputData.visit = (value, visitor) => {
|
|
377
|
-
if (value.queryTextInputData !== undefined)
|
|
378
|
-
return visitor.queryTextInputData(value.queryTextInputData);
|
|
379
|
-
if (value.intentInputData !== undefined)
|
|
380
|
-
return visitor.intentInputData(value.intentInputData);
|
|
381
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
382
|
-
};
|
|
383
|
-
})(QueryInputData || (QueryInputData = {}));
|
|
384
267
|
export const QueryResultType = {
|
|
385
268
|
BLOCKED_GENERATIVE_ANSWER_CHUNK: "BLOCKED_GENERATIVE_ANSWER_CHUNK",
|
|
386
269
|
BLOCKED_INTENT_ANSWER_CHUNK: "BLOCKED_INTENT_ANSWER_CHUNK",
|
|
@@ -424,14 +307,6 @@ export class DependencyFailedException extends __BaseException {
|
|
|
424
307
|
Object.setPrototypeOf(this, DependencyFailedException.prototype);
|
|
425
308
|
}
|
|
426
309
|
}
|
|
427
|
-
export var RuntimeSessionDataValue;
|
|
428
|
-
(function (RuntimeSessionDataValue) {
|
|
429
|
-
RuntimeSessionDataValue.visit = (value, visitor) => {
|
|
430
|
-
if (value.stringValue !== undefined)
|
|
431
|
-
return visitor.stringValue(value.stringValue);
|
|
432
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
433
|
-
};
|
|
434
|
-
})(RuntimeSessionDataValue || (RuntimeSessionDataValue = {}));
|
|
435
310
|
export const ConversationStatusReason = {
|
|
436
311
|
FAILED: "FAILED",
|
|
437
312
|
REJECTED: "REJECTED",
|
|
@@ -447,14 +322,6 @@ export const Participant = {
|
|
|
447
322
|
BOT: "BOT",
|
|
448
323
|
CUSTOMER: "CUSTOMER",
|
|
449
324
|
};
|
|
450
|
-
export var MessageData;
|
|
451
|
-
(function (MessageData) {
|
|
452
|
-
MessageData.visit = (value, visitor) => {
|
|
453
|
-
if (value.text !== undefined)
|
|
454
|
-
return visitor.text(value.text);
|
|
455
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
456
|
-
};
|
|
457
|
-
})(MessageData || (MessageData = {}));
|
|
458
325
|
export const MessageType = {
|
|
459
326
|
TEXT: "TEXT",
|
|
460
327
|
};
|
|
@@ -471,22 +338,6 @@ export const ChunkingStrategy = {
|
|
|
471
338
|
NONE: "NONE",
|
|
472
339
|
SEMANTIC: "SEMANTIC",
|
|
473
340
|
};
|
|
474
|
-
export var Configuration;
|
|
475
|
-
(function (Configuration) {
|
|
476
|
-
Configuration.visit = (value, visitor) => {
|
|
477
|
-
if (value.connectConfiguration !== undefined)
|
|
478
|
-
return visitor.connectConfiguration(value.connectConfiguration);
|
|
479
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
480
|
-
};
|
|
481
|
-
})(Configuration || (Configuration = {}));
|
|
482
|
-
export var ContentAssociationContents;
|
|
483
|
-
(function (ContentAssociationContents) {
|
|
484
|
-
ContentAssociationContents.visit = (value, visitor) => {
|
|
485
|
-
if (value.amazonConnectGuideAssociation !== undefined)
|
|
486
|
-
return visitor.amazonConnectGuideAssociation(value.amazonConnectGuideAssociation);
|
|
487
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
488
|
-
};
|
|
489
|
-
})(ContentAssociationContents || (ContentAssociationContents = {}));
|
|
490
341
|
export const ContentAssociationType = {
|
|
491
342
|
AMAZON_CONNECT_GUIDE: "AMAZON_CONNECT_GUIDE",
|
|
492
343
|
};
|
|
@@ -525,24 +376,6 @@ export const WebScopeType = {
|
|
|
525
376
|
HOST_ONLY: "HOST_ONLY",
|
|
526
377
|
SUBDOMAINS: "SUBDOMAINS",
|
|
527
378
|
};
|
|
528
|
-
export var ManagedSourceConfiguration;
|
|
529
|
-
(function (ManagedSourceConfiguration) {
|
|
530
|
-
ManagedSourceConfiguration.visit = (value, visitor) => {
|
|
531
|
-
if (value.webCrawlerConfiguration !== undefined)
|
|
532
|
-
return visitor.webCrawlerConfiguration(value.webCrawlerConfiguration);
|
|
533
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
534
|
-
};
|
|
535
|
-
})(ManagedSourceConfiguration || (ManagedSourceConfiguration = {}));
|
|
536
|
-
export var SourceConfiguration;
|
|
537
|
-
(function (SourceConfiguration) {
|
|
538
|
-
SourceConfiguration.visit = (value, visitor) => {
|
|
539
|
-
if (value.appIntegrations !== undefined)
|
|
540
|
-
return visitor.appIntegrations(value.appIntegrations);
|
|
541
|
-
if (value.managedSourceConfiguration !== undefined)
|
|
542
|
-
return visitor.managedSourceConfiguration(value.managedSourceConfiguration);
|
|
543
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
544
|
-
};
|
|
545
|
-
})(SourceConfiguration || (SourceConfiguration = {}));
|
|
546
379
|
export const ParsingStrategy = {
|
|
547
380
|
BEDROCK_FOUNDATION_MODEL: "BEDROCK_FOUNDATION_MODEL",
|
|
548
381
|
};
|
|
@@ -560,564 +393,9 @@ export const KnowledgeBaseStatus = {
|
|
|
560
393
|
DELETE_FAILED: "DELETE_FAILED",
|
|
561
394
|
DELETE_IN_PROGRESS: "DELETE_IN_PROGRESS",
|
|
562
395
|
};
|
|
563
|
-
export var MessageTemplateBodyContentProvider;
|
|
564
|
-
(function (MessageTemplateBodyContentProvider) {
|
|
565
|
-
MessageTemplateBodyContentProvider.visit = (value, visitor) => {
|
|
566
|
-
if (value.content !== undefined)
|
|
567
|
-
return visitor.content(value.content);
|
|
568
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
569
|
-
};
|
|
570
|
-
})(MessageTemplateBodyContentProvider || (MessageTemplateBodyContentProvider = {}));
|
|
571
|
-
export var MessageTemplateContentProvider;
|
|
572
|
-
(function (MessageTemplateContentProvider) {
|
|
573
|
-
MessageTemplateContentProvider.visit = (value, visitor) => {
|
|
574
|
-
if (value.email !== undefined)
|
|
575
|
-
return visitor.email(value.email);
|
|
576
|
-
if (value.sms !== undefined)
|
|
577
|
-
return visitor.sms(value.sms);
|
|
578
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
579
|
-
};
|
|
580
|
-
})(MessageTemplateContentProvider || (MessageTemplateContentProvider = {}));
|
|
581
396
|
export const MessageTemplateAttributeType = {
|
|
582
397
|
AGENT: "AGENT",
|
|
583
398
|
CUSTOM: "CUSTOM",
|
|
584
399
|
CUSTOMER_PROFILE: "CUSTOMER_PROFILE",
|
|
585
400
|
SYSTEM: "SYSTEM",
|
|
586
401
|
};
|
|
587
|
-
export const AgentAttributesFilterSensitiveLog = (obj) => ({
|
|
588
|
-
...obj,
|
|
589
|
-
...(obj.firstName && { firstName: SENSITIVE_STRING }),
|
|
590
|
-
...(obj.lastName && { lastName: SENSITIVE_STRING }),
|
|
591
|
-
});
|
|
592
|
-
export const GuardrailContentFilterConfigFilterSensitiveLog = (obj) => ({
|
|
593
|
-
...obj,
|
|
594
|
-
...(obj.type && { type: SENSITIVE_STRING }),
|
|
595
|
-
...(obj.inputStrength && { inputStrength: SENSITIVE_STRING }),
|
|
596
|
-
...(obj.outputStrength && { outputStrength: SENSITIVE_STRING }),
|
|
597
|
-
});
|
|
598
|
-
export const AIGuardrailContentPolicyConfigFilterSensitiveLog = (obj) => ({
|
|
599
|
-
...obj,
|
|
600
|
-
...(obj.filtersConfig && {
|
|
601
|
-
filtersConfig: obj.filtersConfig.map((item) => GuardrailContentFilterConfigFilterSensitiveLog(item)),
|
|
602
|
-
}),
|
|
603
|
-
});
|
|
604
|
-
export const GuardrailContextualGroundingFilterConfigFilterSensitiveLog = (obj) => ({
|
|
605
|
-
...obj,
|
|
606
|
-
...(obj.type && { type: SENSITIVE_STRING }),
|
|
607
|
-
...(obj.threshold && { threshold: SENSITIVE_STRING }),
|
|
608
|
-
});
|
|
609
|
-
export const AIGuardrailContextualGroundingPolicyConfigFilterSensitiveLog = (obj) => ({
|
|
610
|
-
...obj,
|
|
611
|
-
...(obj.filtersConfig && {
|
|
612
|
-
filtersConfig: obj.filtersConfig.map((item) => GuardrailContextualGroundingFilterConfigFilterSensitiveLog(item)),
|
|
613
|
-
}),
|
|
614
|
-
});
|
|
615
|
-
export const GuardrailPiiEntityConfigFilterSensitiveLog = (obj) => ({
|
|
616
|
-
...obj,
|
|
617
|
-
...(obj.type && { type: SENSITIVE_STRING }),
|
|
618
|
-
...(obj.action && { action: SENSITIVE_STRING }),
|
|
619
|
-
});
|
|
620
|
-
export const GuardrailRegexConfigFilterSensitiveLog = (obj) => ({
|
|
621
|
-
...obj,
|
|
622
|
-
...(obj.name && { name: SENSITIVE_STRING }),
|
|
623
|
-
...(obj.description && { description: SENSITIVE_STRING }),
|
|
624
|
-
...(obj.pattern && { pattern: SENSITIVE_STRING }),
|
|
625
|
-
...(obj.action && { action: SENSITIVE_STRING }),
|
|
626
|
-
});
|
|
627
|
-
export const AIGuardrailSensitiveInformationPolicyConfigFilterSensitiveLog = (obj) => ({
|
|
628
|
-
...obj,
|
|
629
|
-
...(obj.piiEntitiesConfig && {
|
|
630
|
-
piiEntitiesConfig: obj.piiEntitiesConfig.map((item) => GuardrailPiiEntityConfigFilterSensitiveLog(item)),
|
|
631
|
-
}),
|
|
632
|
-
...(obj.regexesConfig && {
|
|
633
|
-
regexesConfig: obj.regexesConfig.map((item) => GuardrailRegexConfigFilterSensitiveLog(item)),
|
|
634
|
-
}),
|
|
635
|
-
});
|
|
636
|
-
export const GuardrailTopicConfigFilterSensitiveLog = (obj) => ({
|
|
637
|
-
...obj,
|
|
638
|
-
...(obj.name && { name: SENSITIVE_STRING }),
|
|
639
|
-
...(obj.definition && { definition: SENSITIVE_STRING }),
|
|
640
|
-
...(obj.examples && { examples: SENSITIVE_STRING }),
|
|
641
|
-
...(obj.type && { type: SENSITIVE_STRING }),
|
|
642
|
-
});
|
|
643
|
-
export const AIGuardrailTopicPolicyConfigFilterSensitiveLog = (obj) => ({
|
|
644
|
-
...obj,
|
|
645
|
-
...(obj.topicsConfig && {
|
|
646
|
-
topicsConfig: obj.topicsConfig.map((item) => GuardrailTopicConfigFilterSensitiveLog(item)),
|
|
647
|
-
}),
|
|
648
|
-
});
|
|
649
|
-
export const GuardrailManagedWordsConfigFilterSensitiveLog = (obj) => ({
|
|
650
|
-
...obj,
|
|
651
|
-
...(obj.type && { type: SENSITIVE_STRING }),
|
|
652
|
-
});
|
|
653
|
-
export const GuardrailWordConfigFilterSensitiveLog = (obj) => ({
|
|
654
|
-
...obj,
|
|
655
|
-
...(obj.text && { text: SENSITIVE_STRING }),
|
|
656
|
-
});
|
|
657
|
-
export const AIGuardrailWordPolicyConfigFilterSensitiveLog = (obj) => ({
|
|
658
|
-
...obj,
|
|
659
|
-
...(obj.wordsConfig && { wordsConfig: obj.wordsConfig.map((item) => GuardrailWordConfigFilterSensitiveLog(item)) }),
|
|
660
|
-
...(obj.managedWordListsConfig && {
|
|
661
|
-
managedWordListsConfig: obj.managedWordListsConfig.map((item) => GuardrailManagedWordsConfigFilterSensitiveLog(item)),
|
|
662
|
-
}),
|
|
663
|
-
});
|
|
664
|
-
export const CreateAIGuardrailRequestFilterSensitiveLog = (obj) => ({
|
|
665
|
-
...obj,
|
|
666
|
-
...(obj.blockedInputMessaging && { blockedInputMessaging: SENSITIVE_STRING }),
|
|
667
|
-
...(obj.blockedOutputsMessaging && { blockedOutputsMessaging: SENSITIVE_STRING }),
|
|
668
|
-
...(obj.description && { description: SENSITIVE_STRING }),
|
|
669
|
-
...(obj.topicPolicyConfig && {
|
|
670
|
-
topicPolicyConfig: AIGuardrailTopicPolicyConfigFilterSensitiveLog(obj.topicPolicyConfig),
|
|
671
|
-
}),
|
|
672
|
-
...(obj.contentPolicyConfig && {
|
|
673
|
-
contentPolicyConfig: AIGuardrailContentPolicyConfigFilterSensitiveLog(obj.contentPolicyConfig),
|
|
674
|
-
}),
|
|
675
|
-
...(obj.wordPolicyConfig && {
|
|
676
|
-
wordPolicyConfig: AIGuardrailWordPolicyConfigFilterSensitiveLog(obj.wordPolicyConfig),
|
|
677
|
-
}),
|
|
678
|
-
...(obj.sensitiveInformationPolicyConfig && {
|
|
679
|
-
sensitiveInformationPolicyConfig: AIGuardrailSensitiveInformationPolicyConfigFilterSensitiveLog(obj.sensitiveInformationPolicyConfig),
|
|
680
|
-
}),
|
|
681
|
-
...(obj.contextualGroundingPolicyConfig && {
|
|
682
|
-
contextualGroundingPolicyConfig: AIGuardrailContextualGroundingPolicyConfigFilterSensitiveLog(obj.contextualGroundingPolicyConfig),
|
|
683
|
-
}),
|
|
684
|
-
});
|
|
685
|
-
export const AIGuardrailDataFilterSensitiveLog = (obj) => ({
|
|
686
|
-
...obj,
|
|
687
|
-
...(obj.blockedInputMessaging && { blockedInputMessaging: SENSITIVE_STRING }),
|
|
688
|
-
...(obj.blockedOutputsMessaging && { blockedOutputsMessaging: SENSITIVE_STRING }),
|
|
689
|
-
...(obj.description && { description: SENSITIVE_STRING }),
|
|
690
|
-
...(obj.topicPolicyConfig && {
|
|
691
|
-
topicPolicyConfig: AIGuardrailTopicPolicyConfigFilterSensitiveLog(obj.topicPolicyConfig),
|
|
692
|
-
}),
|
|
693
|
-
...(obj.contentPolicyConfig && {
|
|
694
|
-
contentPolicyConfig: AIGuardrailContentPolicyConfigFilterSensitiveLog(obj.contentPolicyConfig),
|
|
695
|
-
}),
|
|
696
|
-
...(obj.wordPolicyConfig && {
|
|
697
|
-
wordPolicyConfig: AIGuardrailWordPolicyConfigFilterSensitiveLog(obj.wordPolicyConfig),
|
|
698
|
-
}),
|
|
699
|
-
...(obj.sensitiveInformationPolicyConfig && {
|
|
700
|
-
sensitiveInformationPolicyConfig: AIGuardrailSensitiveInformationPolicyConfigFilterSensitiveLog(obj.sensitiveInformationPolicyConfig),
|
|
701
|
-
}),
|
|
702
|
-
...(obj.contextualGroundingPolicyConfig && {
|
|
703
|
-
contextualGroundingPolicyConfig: AIGuardrailContextualGroundingPolicyConfigFilterSensitiveLog(obj.contextualGroundingPolicyConfig),
|
|
704
|
-
}),
|
|
705
|
-
});
|
|
706
|
-
export const CreateAIGuardrailResponseFilterSensitiveLog = (obj) => ({
|
|
707
|
-
...obj,
|
|
708
|
-
...(obj.aiGuardrail && { aiGuardrail: AIGuardrailDataFilterSensitiveLog(obj.aiGuardrail) }),
|
|
709
|
-
});
|
|
710
|
-
export const CreateAIGuardrailVersionResponseFilterSensitiveLog = (obj) => ({
|
|
711
|
-
...obj,
|
|
712
|
-
...(obj.aiGuardrail && { aiGuardrail: AIGuardrailDataFilterSensitiveLog(obj.aiGuardrail) }),
|
|
713
|
-
});
|
|
714
|
-
export const GetAIGuardrailResponseFilterSensitiveLog = (obj) => ({
|
|
715
|
-
...obj,
|
|
716
|
-
...(obj.aiGuardrail && { aiGuardrail: AIGuardrailDataFilterSensitiveLog(obj.aiGuardrail) }),
|
|
717
|
-
});
|
|
718
|
-
export const AIGuardrailSummaryFilterSensitiveLog = (obj) => ({
|
|
719
|
-
...obj,
|
|
720
|
-
...(obj.description && { description: SENSITIVE_STRING }),
|
|
721
|
-
});
|
|
722
|
-
export const ListAIGuardrailsResponseFilterSensitiveLog = (obj) => ({
|
|
723
|
-
...obj,
|
|
724
|
-
...(obj.aiGuardrailSummaries && {
|
|
725
|
-
aiGuardrailSummaries: obj.aiGuardrailSummaries.map((item) => AIGuardrailSummaryFilterSensitiveLog(item)),
|
|
726
|
-
}),
|
|
727
|
-
});
|
|
728
|
-
export const AIGuardrailVersionSummaryFilterSensitiveLog = (obj) => ({
|
|
729
|
-
...obj,
|
|
730
|
-
...(obj.aiGuardrailSummary && { aiGuardrailSummary: AIGuardrailSummaryFilterSensitiveLog(obj.aiGuardrailSummary) }),
|
|
731
|
-
});
|
|
732
|
-
export const ListAIGuardrailVersionsResponseFilterSensitiveLog = (obj) => ({
|
|
733
|
-
...obj,
|
|
734
|
-
...(obj.aiGuardrailVersionSummaries && {
|
|
735
|
-
aiGuardrailVersionSummaries: obj.aiGuardrailVersionSummaries.map((item) => AIGuardrailVersionSummaryFilterSensitiveLog(item)),
|
|
736
|
-
}),
|
|
737
|
-
});
|
|
738
|
-
export const UpdateAIGuardrailRequestFilterSensitiveLog = (obj) => ({
|
|
739
|
-
...obj,
|
|
740
|
-
...(obj.blockedInputMessaging && { blockedInputMessaging: SENSITIVE_STRING }),
|
|
741
|
-
...(obj.blockedOutputsMessaging && { blockedOutputsMessaging: SENSITIVE_STRING }),
|
|
742
|
-
...(obj.description && { description: SENSITIVE_STRING }),
|
|
743
|
-
...(obj.topicPolicyConfig && {
|
|
744
|
-
topicPolicyConfig: AIGuardrailTopicPolicyConfigFilterSensitiveLog(obj.topicPolicyConfig),
|
|
745
|
-
}),
|
|
746
|
-
...(obj.contentPolicyConfig && {
|
|
747
|
-
contentPolicyConfig: AIGuardrailContentPolicyConfigFilterSensitiveLog(obj.contentPolicyConfig),
|
|
748
|
-
}),
|
|
749
|
-
...(obj.wordPolicyConfig && {
|
|
750
|
-
wordPolicyConfig: AIGuardrailWordPolicyConfigFilterSensitiveLog(obj.wordPolicyConfig),
|
|
751
|
-
}),
|
|
752
|
-
...(obj.sensitiveInformationPolicyConfig && {
|
|
753
|
-
sensitiveInformationPolicyConfig: AIGuardrailSensitiveInformationPolicyConfigFilterSensitiveLog(obj.sensitiveInformationPolicyConfig),
|
|
754
|
-
}),
|
|
755
|
-
...(obj.contextualGroundingPolicyConfig && {
|
|
756
|
-
contextualGroundingPolicyConfig: AIGuardrailContextualGroundingPolicyConfigFilterSensitiveLog(obj.contextualGroundingPolicyConfig),
|
|
757
|
-
}),
|
|
758
|
-
});
|
|
759
|
-
export const UpdateAIGuardrailResponseFilterSensitiveLog = (obj) => ({
|
|
760
|
-
...obj,
|
|
761
|
-
...(obj.aiGuardrail && { aiGuardrail: AIGuardrailDataFilterSensitiveLog(obj.aiGuardrail) }),
|
|
762
|
-
});
|
|
763
|
-
export const TextFullAIPromptEditTemplateConfigurationFilterSensitiveLog = (obj) => ({
|
|
764
|
-
...obj,
|
|
765
|
-
...(obj.text && { text: SENSITIVE_STRING }),
|
|
766
|
-
});
|
|
767
|
-
export const AIPromptTemplateConfigurationFilterSensitiveLog = (obj) => {
|
|
768
|
-
if (obj.textFullAIPromptEditTemplateConfiguration !== undefined)
|
|
769
|
-
return {
|
|
770
|
-
textFullAIPromptEditTemplateConfiguration: TextFullAIPromptEditTemplateConfigurationFilterSensitiveLog(obj.textFullAIPromptEditTemplateConfiguration),
|
|
771
|
-
};
|
|
772
|
-
if (obj.$unknown !== undefined)
|
|
773
|
-
return { [obj.$unknown[0]]: "UNKNOWN" };
|
|
774
|
-
};
|
|
775
|
-
export const CreateAIPromptRequestFilterSensitiveLog = (obj) => ({
|
|
776
|
-
...obj,
|
|
777
|
-
...(obj.templateConfiguration && {
|
|
778
|
-
templateConfiguration: AIPromptTemplateConfigurationFilterSensitiveLog(obj.templateConfiguration),
|
|
779
|
-
}),
|
|
780
|
-
});
|
|
781
|
-
export const AIPromptDataFilterSensitiveLog = (obj) => ({
|
|
782
|
-
...obj,
|
|
783
|
-
...(obj.templateConfiguration && {
|
|
784
|
-
templateConfiguration: AIPromptTemplateConfigurationFilterSensitiveLog(obj.templateConfiguration),
|
|
785
|
-
}),
|
|
786
|
-
});
|
|
787
|
-
export const CreateAIPromptResponseFilterSensitiveLog = (obj) => ({
|
|
788
|
-
...obj,
|
|
789
|
-
...(obj.aiPrompt && { aiPrompt: AIPromptDataFilterSensitiveLog(obj.aiPrompt) }),
|
|
790
|
-
});
|
|
791
|
-
export const CreateAIPromptVersionResponseFilterSensitiveLog = (obj) => ({
|
|
792
|
-
...obj,
|
|
793
|
-
...(obj.aiPrompt && { aiPrompt: AIPromptDataFilterSensitiveLog(obj.aiPrompt) }),
|
|
794
|
-
});
|
|
795
|
-
export const GetAIPromptResponseFilterSensitiveLog = (obj) => ({
|
|
796
|
-
...obj,
|
|
797
|
-
...(obj.aiPrompt && { aiPrompt: AIPromptDataFilterSensitiveLog(obj.aiPrompt) }),
|
|
798
|
-
});
|
|
799
|
-
export const UpdateAIPromptRequestFilterSensitiveLog = (obj) => ({
|
|
800
|
-
...obj,
|
|
801
|
-
...(obj.templateConfiguration && {
|
|
802
|
-
templateConfiguration: AIPromptTemplateConfigurationFilterSensitiveLog(obj.templateConfiguration),
|
|
803
|
-
}),
|
|
804
|
-
});
|
|
805
|
-
export const UpdateAIPromptResponseFilterSensitiveLog = (obj) => ({
|
|
806
|
-
...obj,
|
|
807
|
-
...(obj.aiPrompt && { aiPrompt: AIPromptDataFilterSensitiveLog(obj.aiPrompt) }),
|
|
808
|
-
});
|
|
809
|
-
export const DocumentTextFilterSensitiveLog = (obj) => ({
|
|
810
|
-
...obj,
|
|
811
|
-
...(obj.text && { text: SENSITIVE_STRING }),
|
|
812
|
-
});
|
|
813
|
-
export const TextDataFilterSensitiveLog = (obj) => ({
|
|
814
|
-
...obj,
|
|
815
|
-
...(obj.title && { title: DocumentTextFilterSensitiveLog(obj.title) }),
|
|
816
|
-
...(obj.excerpt && { excerpt: DocumentTextFilterSensitiveLog(obj.excerpt) }),
|
|
817
|
-
});
|
|
818
|
-
export const ContentDataDetailsFilterSensitiveLog = (obj) => ({
|
|
819
|
-
...obj,
|
|
820
|
-
...(obj.textData && { textData: TextDataFilterSensitiveLog(obj.textData) }),
|
|
821
|
-
});
|
|
822
|
-
export const EmailOverviewChunkDataDetailsFilterSensitiveLog = (obj) => ({
|
|
823
|
-
...obj,
|
|
824
|
-
...(obj.completion && { completion: SENSITIVE_STRING }),
|
|
825
|
-
});
|
|
826
|
-
export const EmailResponseChunkDataDetailsFilterSensitiveLog = (obj) => ({
|
|
827
|
-
...obj,
|
|
828
|
-
...(obj.completion && { completion: SENSITIVE_STRING }),
|
|
829
|
-
});
|
|
830
|
-
export const IntentDetectedDataDetailsFilterSensitiveLog = (obj) => ({
|
|
831
|
-
...obj,
|
|
832
|
-
...(obj.intent && { intent: SENSITIVE_STRING }),
|
|
833
|
-
});
|
|
834
|
-
export const SourceContentDataDetailsFilterSensitiveLog = (obj) => ({
|
|
835
|
-
...obj,
|
|
836
|
-
...(obj.textData && { textData: TextDataFilterSensitiveLog(obj.textData) }),
|
|
837
|
-
});
|
|
838
|
-
export const DocumentFilterSensitiveLog = (obj) => ({
|
|
839
|
-
...obj,
|
|
840
|
-
...(obj.title && { title: DocumentTextFilterSensitiveLog(obj.title) }),
|
|
841
|
-
...(obj.excerpt && { excerpt: DocumentTextFilterSensitiveLog(obj.excerpt) }),
|
|
842
|
-
});
|
|
843
|
-
export const QueryRecommendationTriggerDataFilterSensitiveLog = (obj) => ({
|
|
844
|
-
...obj,
|
|
845
|
-
...(obj.text && { text: SENSITIVE_STRING }),
|
|
846
|
-
});
|
|
847
|
-
export const RecommendationTriggerDataFilterSensitiveLog = (obj) => {
|
|
848
|
-
if (obj.query !== undefined)
|
|
849
|
-
return { query: QueryRecommendationTriggerDataFilterSensitiveLog(obj.query) };
|
|
850
|
-
if (obj.$unknown !== undefined)
|
|
851
|
-
return { [obj.$unknown[0]]: "UNKNOWN" };
|
|
852
|
-
};
|
|
853
|
-
export const RecommendationTriggerFilterSensitiveLog = (obj) => ({
|
|
854
|
-
...obj,
|
|
855
|
-
...(obj.data && { data: RecommendationTriggerDataFilterSensitiveLog(obj.data) }),
|
|
856
|
-
});
|
|
857
|
-
export const QueryTextInputDataFilterSensitiveLog = (obj) => ({
|
|
858
|
-
...obj,
|
|
859
|
-
...(obj.text && { text: SENSITIVE_STRING }),
|
|
860
|
-
});
|
|
861
|
-
export const QueryInputDataFilterSensitiveLog = (obj) => {
|
|
862
|
-
if (obj.queryTextInputData !== undefined)
|
|
863
|
-
return { queryTextInputData: QueryTextInputDataFilterSensitiveLog(obj.queryTextInputData) };
|
|
864
|
-
if (obj.intentInputData !== undefined)
|
|
865
|
-
return { intentInputData: obj.intentInputData };
|
|
866
|
-
if (obj.$unknown !== undefined)
|
|
867
|
-
return { [obj.$unknown[0]]: "UNKNOWN" };
|
|
868
|
-
};
|
|
869
|
-
export const QueryAssistantRequestFilterSensitiveLog = (obj) => ({
|
|
870
|
-
...obj,
|
|
871
|
-
...(obj.queryText && { queryText: SENSITIVE_STRING }),
|
|
872
|
-
...(obj.queryCondition && { queryCondition: obj.queryCondition.map((item) => item) }),
|
|
873
|
-
...(obj.queryInputData && { queryInputData: QueryInputDataFilterSensitiveLog(obj.queryInputData) }),
|
|
874
|
-
});
|
|
875
|
-
export const RuntimeSessionDataValueFilterSensitiveLog = (obj) => {
|
|
876
|
-
if (obj.stringValue !== undefined)
|
|
877
|
-
return { stringValue: SENSITIVE_STRING };
|
|
878
|
-
if (obj.$unknown !== undefined)
|
|
879
|
-
return { [obj.$unknown[0]]: "UNKNOWN" };
|
|
880
|
-
};
|
|
881
|
-
export const RuntimeSessionDataFilterSensitiveLog = (obj) => ({
|
|
882
|
-
...obj,
|
|
883
|
-
...(obj.key && { key: SENSITIVE_STRING }),
|
|
884
|
-
...(obj.value && { value: RuntimeSessionDataValueFilterSensitiveLog(obj.value) }),
|
|
885
|
-
});
|
|
886
|
-
export const TextMessageFilterSensitiveLog = (obj) => ({
|
|
887
|
-
...obj,
|
|
888
|
-
...(obj.value && { value: SENSITIVE_STRING }),
|
|
889
|
-
});
|
|
890
|
-
export const MessageDataFilterSensitiveLog = (obj) => {
|
|
891
|
-
if (obj.text !== undefined)
|
|
892
|
-
return { text: TextMessageFilterSensitiveLog(obj.text) };
|
|
893
|
-
if (obj.$unknown !== undefined)
|
|
894
|
-
return { [obj.$unknown[0]]: "UNKNOWN" };
|
|
895
|
-
};
|
|
896
|
-
export const MessageOutputFilterSensitiveLog = (obj) => ({
|
|
897
|
-
...obj,
|
|
898
|
-
...(obj.value && { value: MessageDataFilterSensitiveLog(obj.value) }),
|
|
899
|
-
});
|
|
900
|
-
export const GetNextMessageResponseFilterSensitiveLog = (obj) => ({
|
|
901
|
-
...obj,
|
|
902
|
-
...(obj.response && { response: MessageOutputFilterSensitiveLog(obj.response) }),
|
|
903
|
-
...(obj.conversationSessionData && {
|
|
904
|
-
conversationSessionData: obj.conversationSessionData.map((item) => RuntimeSessionDataFilterSensitiveLog(item)),
|
|
905
|
-
}),
|
|
906
|
-
});
|
|
907
|
-
export const ListMessagesResponseFilterSensitiveLog = (obj) => ({
|
|
908
|
-
...obj,
|
|
909
|
-
...(obj.messages && { messages: obj.messages.map((item) => MessageOutputFilterSensitiveLog(item)) }),
|
|
910
|
-
});
|
|
911
|
-
export const SelfServiceConversationHistoryFilterSensitiveLog = (obj) => ({
|
|
912
|
-
...obj,
|
|
913
|
-
...(obj.inputTranscript && { inputTranscript: SENSITIVE_STRING }),
|
|
914
|
-
...(obj.botResponse && { botResponse: SENSITIVE_STRING }),
|
|
915
|
-
});
|
|
916
|
-
export const ConversationContextFilterSensitiveLog = (obj) => ({
|
|
917
|
-
...obj,
|
|
918
|
-
...(obj.selfServiceConversationHistory && {
|
|
919
|
-
selfServiceConversationHistory: obj.selfServiceConversationHistory.map((item) => SelfServiceConversationHistoryFilterSensitiveLog(item)),
|
|
920
|
-
}),
|
|
921
|
-
});
|
|
922
|
-
export const MessageInputFilterSensitiveLog = (obj) => ({
|
|
923
|
-
...obj,
|
|
924
|
-
...(obj.value && { value: MessageDataFilterSensitiveLog(obj.value) }),
|
|
925
|
-
});
|
|
926
|
-
export const SendMessageRequestFilterSensitiveLog = (obj) => ({
|
|
927
|
-
...obj,
|
|
928
|
-
...(obj.message && { message: MessageInputFilterSensitiveLog(obj.message) }),
|
|
929
|
-
...(obj.conversationContext && {
|
|
930
|
-
conversationContext: ConversationContextFilterSensitiveLog(obj.conversationContext),
|
|
931
|
-
}),
|
|
932
|
-
});
|
|
933
|
-
export const UpdateSessionDataRequestFilterSensitiveLog = (obj) => ({
|
|
934
|
-
...obj,
|
|
935
|
-
...(obj.data && { data: obj.data.map((item) => RuntimeSessionDataFilterSensitiveLog(item)) }),
|
|
936
|
-
});
|
|
937
|
-
export const UpdateSessionDataResponseFilterSensitiveLog = (obj) => ({
|
|
938
|
-
...obj,
|
|
939
|
-
...(obj.data && { data: obj.data.map((item) => RuntimeSessionDataFilterSensitiveLog(item)) }),
|
|
940
|
-
});
|
|
941
|
-
export const ContentDataFilterSensitiveLog = (obj) => ({
|
|
942
|
-
...obj,
|
|
943
|
-
...(obj.url && { url: SENSITIVE_STRING }),
|
|
944
|
-
});
|
|
945
|
-
export const CreateContentResponseFilterSensitiveLog = (obj) => ({
|
|
946
|
-
...obj,
|
|
947
|
-
...(obj.content && { content: ContentDataFilterSensitiveLog(obj.content) }),
|
|
948
|
-
});
|
|
949
|
-
export const GetContentResponseFilterSensitiveLog = (obj) => ({
|
|
950
|
-
...obj,
|
|
951
|
-
...(obj.content && { content: ContentDataFilterSensitiveLog(obj.content) }),
|
|
952
|
-
});
|
|
953
|
-
export const UpdateContentResponseFilterSensitiveLog = (obj) => ({
|
|
954
|
-
...obj,
|
|
955
|
-
...(obj.content && { content: ContentDataFilterSensitiveLog(obj.content) }),
|
|
956
|
-
});
|
|
957
|
-
export const WebCrawlerConfigurationFilterSensitiveLog = (obj) => ({
|
|
958
|
-
...obj,
|
|
959
|
-
...(obj.inclusionFilters && { inclusionFilters: SENSITIVE_STRING }),
|
|
960
|
-
...(obj.exclusionFilters && { exclusionFilters: SENSITIVE_STRING }),
|
|
961
|
-
});
|
|
962
|
-
export const ManagedSourceConfigurationFilterSensitiveLog = (obj) => {
|
|
963
|
-
if (obj.webCrawlerConfiguration !== undefined)
|
|
964
|
-
return { webCrawlerConfiguration: WebCrawlerConfigurationFilterSensitiveLog(obj.webCrawlerConfiguration) };
|
|
965
|
-
if (obj.$unknown !== undefined)
|
|
966
|
-
return { [obj.$unknown[0]]: "UNKNOWN" };
|
|
967
|
-
};
|
|
968
|
-
export const SourceConfigurationFilterSensitiveLog = (obj) => {
|
|
969
|
-
if (obj.appIntegrations !== undefined)
|
|
970
|
-
return { appIntegrations: obj.appIntegrations };
|
|
971
|
-
if (obj.managedSourceConfiguration !== undefined)
|
|
972
|
-
return { managedSourceConfiguration: ManagedSourceConfigurationFilterSensitiveLog(obj.managedSourceConfiguration) };
|
|
973
|
-
if (obj.$unknown !== undefined)
|
|
974
|
-
return { [obj.$unknown[0]]: "UNKNOWN" };
|
|
975
|
-
};
|
|
976
|
-
export const CreateKnowledgeBaseRequestFilterSensitiveLog = (obj) => ({
|
|
977
|
-
...obj,
|
|
978
|
-
...(obj.sourceConfiguration && {
|
|
979
|
-
sourceConfiguration: SourceConfigurationFilterSensitiveLog(obj.sourceConfiguration),
|
|
980
|
-
}),
|
|
981
|
-
});
|
|
982
|
-
export const KnowledgeBaseDataFilterSensitiveLog = (obj) => ({
|
|
983
|
-
...obj,
|
|
984
|
-
...(obj.sourceConfiguration && {
|
|
985
|
-
sourceConfiguration: SourceConfigurationFilterSensitiveLog(obj.sourceConfiguration),
|
|
986
|
-
}),
|
|
987
|
-
});
|
|
988
|
-
export const CreateKnowledgeBaseResponseFilterSensitiveLog = (obj) => ({
|
|
989
|
-
...obj,
|
|
990
|
-
...(obj.knowledgeBase && { knowledgeBase: KnowledgeBaseDataFilterSensitiveLog(obj.knowledgeBase) }),
|
|
991
|
-
});
|
|
992
|
-
export const MessageTemplateBodyContentProviderFilterSensitiveLog = (obj) => {
|
|
993
|
-
if (obj.content !== undefined)
|
|
994
|
-
return { content: SENSITIVE_STRING };
|
|
995
|
-
if (obj.$unknown !== undefined)
|
|
996
|
-
return { [obj.$unknown[0]]: "UNKNOWN" };
|
|
997
|
-
};
|
|
998
|
-
export const EmailMessageTemplateContentBodyFilterSensitiveLog = (obj) => ({
|
|
999
|
-
...obj,
|
|
1000
|
-
...(obj.plainText && { plainText: MessageTemplateBodyContentProviderFilterSensitiveLog(obj.plainText) }),
|
|
1001
|
-
...(obj.html && { html: MessageTemplateBodyContentProviderFilterSensitiveLog(obj.html) }),
|
|
1002
|
-
});
|
|
1003
|
-
export const EmailHeaderFilterSensitiveLog = (obj) => ({
|
|
1004
|
-
...obj,
|
|
1005
|
-
...(obj.value && { value: SENSITIVE_STRING }),
|
|
1006
|
-
});
|
|
1007
|
-
export const EmailMessageTemplateContentFilterSensitiveLog = (obj) => ({
|
|
1008
|
-
...obj,
|
|
1009
|
-
...(obj.subject && { subject: SENSITIVE_STRING }),
|
|
1010
|
-
...(obj.body && { body: EmailMessageTemplateContentBodyFilterSensitiveLog(obj.body) }),
|
|
1011
|
-
...(obj.headers && { headers: obj.headers.map((item) => EmailHeaderFilterSensitiveLog(item)) }),
|
|
1012
|
-
});
|
|
1013
|
-
export const SMSMessageTemplateContentBodyFilterSensitiveLog = (obj) => ({
|
|
1014
|
-
...obj,
|
|
1015
|
-
...(obj.plainText && { plainText: MessageTemplateBodyContentProviderFilterSensitiveLog(obj.plainText) }),
|
|
1016
|
-
});
|
|
1017
|
-
export const SMSMessageTemplateContentFilterSensitiveLog = (obj) => ({
|
|
1018
|
-
...obj,
|
|
1019
|
-
...(obj.body && { body: SMSMessageTemplateContentBodyFilterSensitiveLog(obj.body) }),
|
|
1020
|
-
});
|
|
1021
|
-
export const MessageTemplateContentProviderFilterSensitiveLog = (obj) => {
|
|
1022
|
-
if (obj.email !== undefined)
|
|
1023
|
-
return { email: EmailMessageTemplateContentFilterSensitiveLog(obj.email) };
|
|
1024
|
-
if (obj.sms !== undefined)
|
|
1025
|
-
return { sms: SMSMessageTemplateContentFilterSensitiveLog(obj.sms) };
|
|
1026
|
-
if (obj.$unknown !== undefined)
|
|
1027
|
-
return { [obj.$unknown[0]]: "UNKNOWN" };
|
|
1028
|
-
};
|
|
1029
|
-
export const CustomerProfileAttributesFilterSensitiveLog = (obj) => ({
|
|
1030
|
-
...obj,
|
|
1031
|
-
...(obj.profileId && { profileId: SENSITIVE_STRING }),
|
|
1032
|
-
...(obj.profileARN && { profileARN: SENSITIVE_STRING }),
|
|
1033
|
-
...(obj.firstName && { firstName: SENSITIVE_STRING }),
|
|
1034
|
-
...(obj.middleName && { middleName: SENSITIVE_STRING }),
|
|
1035
|
-
...(obj.lastName && { lastName: SENSITIVE_STRING }),
|
|
1036
|
-
...(obj.accountNumber && { accountNumber: SENSITIVE_STRING }),
|
|
1037
|
-
...(obj.emailAddress && { emailAddress: SENSITIVE_STRING }),
|
|
1038
|
-
...(obj.phoneNumber && { phoneNumber: SENSITIVE_STRING }),
|
|
1039
|
-
...(obj.additionalInformation && { additionalInformation: SENSITIVE_STRING }),
|
|
1040
|
-
...(obj.partyType && { partyType: SENSITIVE_STRING }),
|
|
1041
|
-
...(obj.businessName && { businessName: SENSITIVE_STRING }),
|
|
1042
|
-
...(obj.birthDate && { birthDate: SENSITIVE_STRING }),
|
|
1043
|
-
...(obj.gender && { gender: SENSITIVE_STRING }),
|
|
1044
|
-
...(obj.mobilePhoneNumber && { mobilePhoneNumber: SENSITIVE_STRING }),
|
|
1045
|
-
...(obj.homePhoneNumber && { homePhoneNumber: SENSITIVE_STRING }),
|
|
1046
|
-
...(obj.businessPhoneNumber && { businessPhoneNumber: SENSITIVE_STRING }),
|
|
1047
|
-
...(obj.businessEmailAddress && { businessEmailAddress: SENSITIVE_STRING }),
|
|
1048
|
-
...(obj.address1 && { address1: SENSITIVE_STRING }),
|
|
1049
|
-
...(obj.address2 && { address2: SENSITIVE_STRING }),
|
|
1050
|
-
...(obj.address3 && { address3: SENSITIVE_STRING }),
|
|
1051
|
-
...(obj.address4 && { address4: SENSITIVE_STRING }),
|
|
1052
|
-
...(obj.city && { city: SENSITIVE_STRING }),
|
|
1053
|
-
...(obj.county && { county: SENSITIVE_STRING }),
|
|
1054
|
-
...(obj.country && { country: SENSITIVE_STRING }),
|
|
1055
|
-
...(obj.postalCode && { postalCode: SENSITIVE_STRING }),
|
|
1056
|
-
...(obj.province && { province: SENSITIVE_STRING }),
|
|
1057
|
-
...(obj.state && { state: SENSITIVE_STRING }),
|
|
1058
|
-
...(obj.shippingAddress1 && { shippingAddress1: SENSITIVE_STRING }),
|
|
1059
|
-
...(obj.shippingAddress2 && { shippingAddress2: SENSITIVE_STRING }),
|
|
1060
|
-
...(obj.shippingAddress3 && { shippingAddress3: SENSITIVE_STRING }),
|
|
1061
|
-
...(obj.shippingAddress4 && { shippingAddress4: SENSITIVE_STRING }),
|
|
1062
|
-
...(obj.shippingCity && { shippingCity: SENSITIVE_STRING }),
|
|
1063
|
-
...(obj.shippingCounty && { shippingCounty: SENSITIVE_STRING }),
|
|
1064
|
-
...(obj.shippingCountry && { shippingCountry: SENSITIVE_STRING }),
|
|
1065
|
-
...(obj.shippingPostalCode && { shippingPostalCode: SENSITIVE_STRING }),
|
|
1066
|
-
...(obj.shippingProvince && { shippingProvince: SENSITIVE_STRING }),
|
|
1067
|
-
...(obj.shippingState && { shippingState: SENSITIVE_STRING }),
|
|
1068
|
-
...(obj.mailingAddress1 && { mailingAddress1: SENSITIVE_STRING }),
|
|
1069
|
-
...(obj.mailingAddress2 && { mailingAddress2: SENSITIVE_STRING }),
|
|
1070
|
-
...(obj.mailingAddress3 && { mailingAddress3: SENSITIVE_STRING }),
|
|
1071
|
-
...(obj.mailingAddress4 && { mailingAddress4: SENSITIVE_STRING }),
|
|
1072
|
-
...(obj.mailingCity && { mailingCity: SENSITIVE_STRING }),
|
|
1073
|
-
...(obj.mailingCounty && { mailingCounty: SENSITIVE_STRING }),
|
|
1074
|
-
...(obj.mailingCountry && { mailingCountry: SENSITIVE_STRING }),
|
|
1075
|
-
...(obj.mailingPostalCode && { mailingPostalCode: SENSITIVE_STRING }),
|
|
1076
|
-
...(obj.mailingProvince && { mailingProvince: SENSITIVE_STRING }),
|
|
1077
|
-
...(obj.mailingState && { mailingState: SENSITIVE_STRING }),
|
|
1078
|
-
...(obj.billingAddress1 && { billingAddress1: SENSITIVE_STRING }),
|
|
1079
|
-
...(obj.billingAddress2 && { billingAddress2: SENSITIVE_STRING }),
|
|
1080
|
-
...(obj.billingAddress3 && { billingAddress3: SENSITIVE_STRING }),
|
|
1081
|
-
...(obj.billingAddress4 && { billingAddress4: SENSITIVE_STRING }),
|
|
1082
|
-
...(obj.billingCity && { billingCity: SENSITIVE_STRING }),
|
|
1083
|
-
...(obj.billingCounty && { billingCounty: SENSITIVE_STRING }),
|
|
1084
|
-
...(obj.billingCountry && { billingCountry: SENSITIVE_STRING }),
|
|
1085
|
-
...(obj.billingPostalCode && { billingPostalCode: SENSITIVE_STRING }),
|
|
1086
|
-
...(obj.billingProvince && { billingProvince: SENSITIVE_STRING }),
|
|
1087
|
-
...(obj.billingState && { billingState: SENSITIVE_STRING }),
|
|
1088
|
-
...(obj.custom && { custom: SENSITIVE_STRING }),
|
|
1089
|
-
});
|
|
1090
|
-
export const SystemEndpointAttributesFilterSensitiveLog = (obj) => ({
|
|
1091
|
-
...obj,
|
|
1092
|
-
...(obj.address && { address: SENSITIVE_STRING }),
|
|
1093
|
-
});
|
|
1094
|
-
export const SystemAttributesFilterSensitiveLog = (obj) => ({
|
|
1095
|
-
...obj,
|
|
1096
|
-
...(obj.name && { name: SENSITIVE_STRING }),
|
|
1097
|
-
...(obj.customerEndpoint && { customerEndpoint: SystemEndpointAttributesFilterSensitiveLog(obj.customerEndpoint) }),
|
|
1098
|
-
...(obj.systemEndpoint && { systemEndpoint: SystemEndpointAttributesFilterSensitiveLog(obj.systemEndpoint) }),
|
|
1099
|
-
});
|
|
1100
|
-
export const MessageTemplateAttributesFilterSensitiveLog = (obj) => ({
|
|
1101
|
-
...obj,
|
|
1102
|
-
...(obj.systemAttributes && { systemAttributes: SystemAttributesFilterSensitiveLog(obj.systemAttributes) }),
|
|
1103
|
-
...(obj.agentAttributes && { agentAttributes: AgentAttributesFilterSensitiveLog(obj.agentAttributes) }),
|
|
1104
|
-
...(obj.customerProfileAttributes && {
|
|
1105
|
-
customerProfileAttributes: CustomerProfileAttributesFilterSensitiveLog(obj.customerProfileAttributes),
|
|
1106
|
-
}),
|
|
1107
|
-
...(obj.customAttributes && { customAttributes: SENSITIVE_STRING }),
|
|
1108
|
-
});
|
|
1109
|
-
export const GroupingConfigurationFilterSensitiveLog = (obj) => ({
|
|
1110
|
-
...obj,
|
|
1111
|
-
...(obj.criteria && { criteria: SENSITIVE_STRING }),
|
|
1112
|
-
...(obj.values && { values: SENSITIVE_STRING }),
|
|
1113
|
-
});
|
|
1114
|
-
export const CreateMessageTemplateRequestFilterSensitiveLog = (obj) => ({
|
|
1115
|
-
...obj,
|
|
1116
|
-
...(obj.content && { content: MessageTemplateContentProviderFilterSensitiveLog(obj.content) }),
|
|
1117
|
-
...(obj.defaultAttributes && {
|
|
1118
|
-
defaultAttributes: MessageTemplateAttributesFilterSensitiveLog(obj.defaultAttributes),
|
|
1119
|
-
}),
|
|
1120
|
-
...(obj.groupingConfiguration && {
|
|
1121
|
-
groupingConfiguration: GroupingConfigurationFilterSensitiveLog(obj.groupingConfiguration),
|
|
1122
|
-
}),
|
|
1123
|
-
});
|