@aws-sdk/client-qconnect 3.940.0 → 3.943.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 +16 -0
- package/dist-cjs/index.js +879 -101
- package/dist-es/QConnect.js +4 -0
- package/dist-es/commands/ListSpansCommand.js +16 -0
- package/dist-es/commands/RetrieveCommand.js +16 -0
- package/dist-es/commands/index.js +2 -0
- package/dist-es/models/enums.js +61 -12
- package/dist-es/models/errors.js +12 -0
- package/dist-es/pagination/ListSpansPaginator.js +4 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/schemas/schemas_0.js +774 -90
- package/dist-types/QConnect.d.ts +14 -0
- package/dist-types/QConnectClient.d.ts +4 -2
- package/dist-types/commands/CreateAIAgentCommand.d.ts +126 -0
- package/dist-types/commands/CreateAIAgentVersionCommand.d.ts +63 -0
- package/dist-types/commands/CreateAIPromptCommand.d.ts +16 -0
- package/dist-types/commands/CreateAIPromptVersionCommand.d.ts +8 -0
- package/dist-types/commands/CreateAssistantAssociationCommand.d.ts +8 -0
- package/dist-types/commands/CreateAssistantCommand.d.ts +6 -0
- package/dist-types/commands/CreateSessionCommand.d.ts +14 -1
- package/dist-types/commands/DeleteImportJobCommand.d.ts +1 -1
- package/dist-types/commands/DeleteKnowledgeBaseCommand.d.ts +1 -1
- package/dist-types/commands/DeleteMessageTemplateAttachmentCommand.d.ts +1 -1
- package/dist-types/commands/DeleteMessageTemplateCommand.d.ts +1 -1
- package/dist-types/commands/DeleteQuickResponseCommand.d.ts +1 -1
- package/dist-types/commands/GetAIAgentCommand.d.ts +63 -0
- package/dist-types/commands/GetAIPromptCommand.d.ts +8 -0
- package/dist-types/commands/GetAssistantAssociationCommand.d.ts +4 -0
- package/dist-types/commands/GetAssistantCommand.d.ts +6 -0
- package/dist-types/commands/GetImportJobCommand.d.ts +1 -1
- package/dist-types/commands/GetKnowledgeBaseCommand.d.ts +1 -1
- package/dist-types/commands/GetMessageTemplateCommand.d.ts +1 -1
- package/dist-types/commands/GetNextMessageCommand.d.ts +26 -0
- package/dist-types/commands/GetQuickResponseCommand.d.ts +1 -1
- package/dist-types/commands/GetRecommendationsCommand.d.ts +39 -0
- package/dist-types/commands/GetSessionCommand.d.ts +6 -0
- package/dist-types/commands/ListAIAgentVersionsCommand.d.ts +63 -0
- package/dist-types/commands/ListAIAgentsCommand.d.ts +63 -0
- package/dist-types/commands/ListAssistantAssociationsCommand.d.ts +4 -0
- package/dist-types/commands/ListAssistantsCommand.d.ts +6 -0
- package/dist-types/commands/ListImportJobsCommand.d.ts +1 -1
- package/dist-types/commands/ListKnowledgeBasesCommand.d.ts +1 -1
- package/dist-types/commands/ListMessageTemplateVersionsCommand.d.ts +1 -1
- package/dist-types/commands/ListMessageTemplatesCommand.d.ts +1 -1
- package/dist-types/commands/ListMessagesCommand.d.ts +23 -0
- package/dist-types/commands/ListSpansCommand.d.ts +207 -0
- package/dist-types/commands/QueryAssistantCommand.d.ts +41 -0
- package/dist-types/commands/RemoveAssistantAIAgentCommand.d.ts +1 -0
- package/dist-types/commands/RenderMessageTemplateCommand.d.ts +1 -2
- package/dist-types/commands/RetrieveCommand.d.ts +168 -0
- package/dist-types/commands/SendMessageCommand.d.ts +37 -1
- package/dist-types/commands/UpdateAIAgentCommand.d.ts +126 -0
- package/dist-types/commands/UpdateAIPromptCommand.d.ts +16 -0
- package/dist-types/commands/UpdateAssistantAIAgentCommand.d.ts +12 -0
- package/dist-types/commands/UpdateSessionCommand.d.ts +13 -0
- package/dist-types/commands/index.d.ts +2 -0
- package/dist-types/models/enums.d.ts +110 -21
- package/dist-types/models/errors.d.ts +13 -1
- package/dist-types/models/models_0.d.ts +996 -723
- package/dist-types/models/models_1.d.ts +1563 -48
- package/dist-types/pagination/ListSpansPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/schemas/schemas_0.d.ts +64 -0
- package/dist-types/ts3.4/QConnect.d.ts +34 -0
- package/dist-types/ts3.4/QConnectClient.d.ts +12 -0
- package/dist-types/ts3.4/commands/DeleteImportJobCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeleteKnowledgeBaseCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeleteMessageTemplateAttachmentCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeleteMessageTemplateCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeleteQuickResponseCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetImportJobCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetKnowledgeBaseCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetMessageTemplateCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetQuickResponseCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListImportJobsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListKnowledgeBasesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListMessageTemplateVersionsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListMessageTemplatesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListSpansCommand.d.ts +48 -0
- package/dist-types/ts3.4/commands/RenderMessageTemplateCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/RetrieveCommand.d.ts +48 -0
- package/dist-types/ts3.4/commands/index.d.ts +2 -0
- package/dist-types/ts3.4/models/enums.d.ts +71 -15
- package/dist-types/ts3.4/models/errors.d.ts +7 -0
- package/dist-types/ts3.4/models/models_0.d.ts +354 -172
- package/dist-types/ts3.4/models/models_1.d.ts +663 -2
- package/dist-types/ts3.4/pagination/ListSpansPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +64 -0
- package/package.json +5 -5
|
@@ -21,16 +21,45 @@ export declare const AIAgentAssociationConfigurationType: {
|
|
|
21
21
|
* @public
|
|
22
22
|
*/
|
|
23
23
|
export type AIAgentAssociationConfigurationType = (typeof AIAgentAssociationConfigurationType)[keyof typeof AIAgentAssociationConfigurationType];
|
|
24
|
+
/**
|
|
25
|
+
* @public
|
|
26
|
+
* @enum
|
|
27
|
+
*/
|
|
28
|
+
export declare const ToolOverrideInputValueType: {
|
|
29
|
+
readonly JSON_STRING: "JSON_STRING";
|
|
30
|
+
readonly NUMBER: "NUMBER";
|
|
31
|
+
readonly STRING: "STRING";
|
|
32
|
+
};
|
|
33
|
+
/**
|
|
34
|
+
* @public
|
|
35
|
+
*/
|
|
36
|
+
export type ToolOverrideInputValueType = (typeof ToolOverrideInputValueType)[keyof typeof ToolOverrideInputValueType];
|
|
37
|
+
/**
|
|
38
|
+
* @public
|
|
39
|
+
* @enum
|
|
40
|
+
*/
|
|
41
|
+
export declare const ToolType: {
|
|
42
|
+
readonly CONSTANT: "CONSTANT";
|
|
43
|
+
readonly MODEL_CONTEXT_PROTOCOL: "MODEL_CONTEXT_PROTOCOL";
|
|
44
|
+
readonly RETURN_TO_CONTROL: "RETURN_TO_CONTROL";
|
|
45
|
+
};
|
|
46
|
+
/**
|
|
47
|
+
* @public
|
|
48
|
+
*/
|
|
49
|
+
export type ToolType = (typeof ToolType)[keyof typeof ToolType];
|
|
24
50
|
/**
|
|
25
51
|
* @public
|
|
26
52
|
* @enum
|
|
27
53
|
*/
|
|
28
54
|
export declare const AIAgentType: {
|
|
29
55
|
readonly ANSWER_RECOMMENDATION: "ANSWER_RECOMMENDATION";
|
|
56
|
+
readonly CASE_SUMMARIZATION: "CASE_SUMMARIZATION";
|
|
30
57
|
readonly EMAIL_GENERATIVE_ANSWER: "EMAIL_GENERATIVE_ANSWER";
|
|
31
58
|
readonly EMAIL_OVERVIEW: "EMAIL_OVERVIEW";
|
|
32
59
|
readonly EMAIL_RESPONSE: "EMAIL_RESPONSE";
|
|
33
60
|
readonly MANUAL_SEARCH: "MANUAL_SEARCH";
|
|
61
|
+
readonly NOTE_TAKING: "NOTE_TAKING";
|
|
62
|
+
readonly ORCHESTRATION: "ORCHESTRATION";
|
|
34
63
|
readonly SELF_SERVICE: "SELF_SERVICE";
|
|
35
64
|
};
|
|
36
65
|
/**
|
|
@@ -225,11 +254,14 @@ export type AIPromptTemplateType = (typeof AIPromptTemplateType)[keyof typeof AI
|
|
|
225
254
|
*/
|
|
226
255
|
export declare const AIPromptType: {
|
|
227
256
|
readonly ANSWER_GENERATION: "ANSWER_GENERATION";
|
|
257
|
+
readonly CASE_SUMMARIZATION: "CASE_SUMMARIZATION";
|
|
228
258
|
readonly EMAIL_GENERATIVE_ANSWER: "EMAIL_GENERATIVE_ANSWER";
|
|
229
259
|
readonly EMAIL_OVERVIEW: "EMAIL_OVERVIEW";
|
|
230
260
|
readonly EMAIL_QUERY_REFORMULATION: "EMAIL_QUERY_REFORMULATION";
|
|
231
261
|
readonly EMAIL_RESPONSE: "EMAIL_RESPONSE";
|
|
232
262
|
readonly INTENT_LABELING_GENERATION: "INTENT_LABELING_GENERATION";
|
|
263
|
+
readonly NOTE_TAKING: "NOTE_TAKING";
|
|
264
|
+
readonly ORCHESTRATION: "ORCHESTRATION";
|
|
233
265
|
readonly QUERY_REFORMULATION: "QUERY_REFORMULATION";
|
|
234
266
|
readonly SELF_SERVICE_ANSWER_GENERATION: "SELF_SERVICE_ANSWER_GENERATION";
|
|
235
267
|
readonly SELF_SERVICE_PRE_PROCESSING: "SELF_SERVICE_PRE_PROCESSING";
|
|
@@ -243,6 +275,7 @@ export type AIPromptType = (typeof AIPromptType)[keyof typeof AIPromptType];
|
|
|
243
275
|
* @enum
|
|
244
276
|
*/
|
|
245
277
|
export declare const AssociationType: {
|
|
278
|
+
readonly EXTERNAL_BEDROCK_KNOWLEDGE_BASE: "EXTERNAL_BEDROCK_KNOWLEDGE_BASE";
|
|
246
279
|
readonly KNOWLEDGE_BASE: "KNOWLEDGE_BASE";
|
|
247
280
|
};
|
|
248
281
|
/**
|
|
@@ -288,6 +321,32 @@ export declare const AssistantStatus: {
|
|
|
288
321
|
* @public
|
|
289
322
|
*/
|
|
290
323
|
export type AssistantStatus = (typeof AssistantStatus)[keyof typeof AssistantStatus];
|
|
324
|
+
/**
|
|
325
|
+
* @public
|
|
326
|
+
* @enum
|
|
327
|
+
*/
|
|
328
|
+
export declare const RecommendationType: {
|
|
329
|
+
readonly BLOCKED_CASE_SUMMARIZATION_CHUNK: "BLOCKED_CASE_SUMMARIZATION_CHUNK";
|
|
330
|
+
readonly BLOCKED_GENERATIVE_ANSWER_CHUNK: "BLOCKED_GENERATIVE_ANSWER_CHUNK";
|
|
331
|
+
readonly BLOCKED_INTENT_ANSWER_CHUNK: "BLOCKED_INTENT_ANSWER_CHUNK";
|
|
332
|
+
readonly BLOCKED_NOTES_CHUNK: "BLOCKED_NOTES_CHUNK";
|
|
333
|
+
readonly CASE_SUMMARIZATION_CHUNK: "CASE_SUMMARIZATION_CHUNK";
|
|
334
|
+
readonly DETECTED_INTENT: "DETECTED_INTENT";
|
|
335
|
+
readonly EMAIL_GENERATIVE_ANSWER_CHUNK: "EMAIL_GENERATIVE_ANSWER_CHUNK";
|
|
336
|
+
readonly EMAIL_OVERVIEW_CHUNK: "EMAIL_OVERVIEW_CHUNK";
|
|
337
|
+
readonly EMAIL_RESPONSE_CHUNK: "EMAIL_RESPONSE_CHUNK";
|
|
338
|
+
readonly GENERATIVE_ANSWER: "GENERATIVE_ANSWER";
|
|
339
|
+
readonly GENERATIVE_ANSWER_CHUNK: "GENERATIVE_ANSWER_CHUNK";
|
|
340
|
+
readonly GENERATIVE_RESPONSE: "GENERATIVE_RESPONSE";
|
|
341
|
+
readonly INTENT_ANSWER_CHUNK: "INTENT_ANSWER_CHUNK";
|
|
342
|
+
readonly KNOWLEDGE_CONTENT: "KNOWLEDGE_CONTENT";
|
|
343
|
+
readonly NOTES_CHUNK: "NOTES_CHUNK";
|
|
344
|
+
readonly SUGGESTED_MESSAGE: "SUGGESTED_MESSAGE";
|
|
345
|
+
};
|
|
346
|
+
/**
|
|
347
|
+
* @public
|
|
348
|
+
*/
|
|
349
|
+
export type RecommendationType = (typeof RecommendationType)[keyof typeof RecommendationType];
|
|
291
350
|
/**
|
|
292
351
|
* @public
|
|
293
352
|
* @enum
|
|
@@ -317,6 +376,14 @@ export type SourceContentType = (typeof SourceContentType)[keyof typeof SourceCo
|
|
|
317
376
|
* @enum
|
|
318
377
|
*/
|
|
319
378
|
export declare const ReferenceType: {
|
|
379
|
+
readonly BEDROCK_KB_CONFLUENCE: "BEDROCK_KB_CONFLUENCE";
|
|
380
|
+
readonly BEDROCK_KB_CUSTOM_DOCUMENT: "BEDROCK_KB_CUSTOM_DOCUMENT";
|
|
381
|
+
readonly BEDROCK_KB_KENDRA: "BEDROCK_KB_KENDRA";
|
|
382
|
+
readonly BEDROCK_KB_S3: "BEDROCK_KB_S3";
|
|
383
|
+
readonly BEDROCK_KB_SALESFORCE: "BEDROCK_KB_SALESFORCE";
|
|
384
|
+
readonly BEDROCK_KB_SHAREPOINT: "BEDROCK_KB_SHAREPOINT";
|
|
385
|
+
readonly BEDROCK_KB_SQL: "BEDROCK_KB_SQL";
|
|
386
|
+
readonly BEDROCK_KB_WEB: "BEDROCK_KB_WEB";
|
|
320
387
|
readonly KNOWLEDGE_BASE: "KNOWLEDGE_BASE";
|
|
321
388
|
readonly WEB_CRAWLER: "WEB_CRAWLER";
|
|
322
389
|
};
|
|
@@ -324,27 +391,6 @@ export declare const ReferenceType: {
|
|
|
324
391
|
* @public
|
|
325
392
|
*/
|
|
326
393
|
export type ReferenceType = (typeof ReferenceType)[keyof typeof ReferenceType];
|
|
327
|
-
/**
|
|
328
|
-
* @public
|
|
329
|
-
* @enum
|
|
330
|
-
*/
|
|
331
|
-
export declare const RecommendationType: {
|
|
332
|
-
readonly BLOCKED_GENERATIVE_ANSWER_CHUNK: "BLOCKED_GENERATIVE_ANSWER_CHUNK";
|
|
333
|
-
readonly BLOCKED_INTENT_ANSWER_CHUNK: "BLOCKED_INTENT_ANSWER_CHUNK";
|
|
334
|
-
readonly DETECTED_INTENT: "DETECTED_INTENT";
|
|
335
|
-
readonly EMAIL_GENERATIVE_ANSWER_CHUNK: "EMAIL_GENERATIVE_ANSWER_CHUNK";
|
|
336
|
-
readonly EMAIL_OVERVIEW_CHUNK: "EMAIL_OVERVIEW_CHUNK";
|
|
337
|
-
readonly EMAIL_RESPONSE_CHUNK: "EMAIL_RESPONSE_CHUNK";
|
|
338
|
-
readonly GENERATIVE_ANSWER: "GENERATIVE_ANSWER";
|
|
339
|
-
readonly GENERATIVE_ANSWER_CHUNK: "GENERATIVE_ANSWER_CHUNK";
|
|
340
|
-
readonly GENERATIVE_RESPONSE: "GENERATIVE_RESPONSE";
|
|
341
|
-
readonly INTENT_ANSWER_CHUNK: "INTENT_ANSWER_CHUNK";
|
|
342
|
-
readonly KNOWLEDGE_CONTENT: "KNOWLEDGE_CONTENT";
|
|
343
|
-
};
|
|
344
|
-
/**
|
|
345
|
-
* @public
|
|
346
|
-
*/
|
|
347
|
-
export type RecommendationType = (typeof RecommendationType)[keyof typeof RecommendationType];
|
|
348
394
|
/**
|
|
349
395
|
* @public
|
|
350
396
|
* @enum
|
|
@@ -421,8 +467,11 @@ export type QueryConditionFieldName = (typeof QueryConditionFieldName)[keyof typ
|
|
|
421
467
|
* @enum
|
|
422
468
|
*/
|
|
423
469
|
export declare const QueryResultType: {
|
|
470
|
+
readonly BLOCKED_CASE_SUMMARIZATION_CHUNK: "BLOCKED_CASE_SUMMARIZATION_CHUNK";
|
|
424
471
|
readonly BLOCKED_GENERATIVE_ANSWER_CHUNK: "BLOCKED_GENERATIVE_ANSWER_CHUNK";
|
|
425
472
|
readonly BLOCKED_INTENT_ANSWER_CHUNK: "BLOCKED_INTENT_ANSWER_CHUNK";
|
|
473
|
+
readonly BLOCKED_NOTES_CHUNK: "BLOCKED_NOTES_CHUNK";
|
|
474
|
+
readonly CASE_SUMMARIZATION_CHUNK: "CASE_SUMMARIZATION_CHUNK";
|
|
426
475
|
readonly EMAIL_GENERATIVE_ANSWER_CHUNK: "EMAIL_GENERATIVE_ANSWER_CHUNK";
|
|
427
476
|
readonly EMAIL_OVERVIEW_CHUNK: "EMAIL_OVERVIEW_CHUNK";
|
|
428
477
|
readonly EMAIL_RESPONSE_CHUNK: "EMAIL_RESPONSE_CHUNK";
|
|
@@ -431,6 +480,8 @@ export declare const QueryResultType: {
|
|
|
431
480
|
readonly INTENT_ANSWER: "INTENT_ANSWER";
|
|
432
481
|
readonly INTENT_ANSWER_CHUNK: "INTENT_ANSWER_CHUNK";
|
|
433
482
|
readonly KNOWLEDGE_CONTENT: "KNOWLEDGE_CONTENT";
|
|
483
|
+
readonly NOTES: "NOTES";
|
|
484
|
+
readonly NOTES_CHUNK: "NOTES_CHUNK";
|
|
434
485
|
};
|
|
435
486
|
/**
|
|
436
487
|
* @public
|
|
@@ -508,6 +559,44 @@ export declare const MessageType: {
|
|
|
508
559
|
* @public
|
|
509
560
|
*/
|
|
510
561
|
export type MessageType = (typeof MessageType)[keyof typeof MessageType];
|
|
562
|
+
/**
|
|
563
|
+
* @public
|
|
564
|
+
* @enum
|
|
565
|
+
*/
|
|
566
|
+
export declare const MessageFilterType: {
|
|
567
|
+
readonly ALL: "ALL";
|
|
568
|
+
readonly TEXT_ONLY: "TEXT_ONLY";
|
|
569
|
+
};
|
|
570
|
+
/**
|
|
571
|
+
* @public
|
|
572
|
+
*/
|
|
573
|
+
export type MessageFilterType = (typeof MessageFilterType)[keyof typeof MessageFilterType];
|
|
574
|
+
/**
|
|
575
|
+
* @public
|
|
576
|
+
* @enum
|
|
577
|
+
*/
|
|
578
|
+
export declare const SpanType: {
|
|
579
|
+
readonly CLIENT: "CLIENT";
|
|
580
|
+
readonly INTERNAL: "INTERNAL";
|
|
581
|
+
readonly SERVER: "SERVER";
|
|
582
|
+
};
|
|
583
|
+
/**
|
|
584
|
+
* @public
|
|
585
|
+
*/
|
|
586
|
+
export type SpanType = (typeof SpanType)[keyof typeof SpanType];
|
|
587
|
+
/**
|
|
588
|
+
* @public
|
|
589
|
+
* @enum
|
|
590
|
+
*/
|
|
591
|
+
export declare const SpanStatus: {
|
|
592
|
+
readonly ERROR: "ERROR";
|
|
593
|
+
readonly OK: "OK";
|
|
594
|
+
readonly TIMEOUT: "TIMEOUT";
|
|
595
|
+
};
|
|
596
|
+
/**
|
|
597
|
+
* @public
|
|
598
|
+
*/
|
|
599
|
+
export type SpanStatus = (typeof SpanStatus)[keyof typeof SpanStatus];
|
|
511
600
|
/**
|
|
512
601
|
* @public
|
|
513
602
|
* @enum
|
|
@@ -104,7 +104,7 @@ export declare class RequestTimeoutException extends __BaseException {
|
|
|
104
104
|
constructor(opts: __ExceptionOptionType<RequestTimeoutException, __BaseException>);
|
|
105
105
|
}
|
|
106
106
|
/**
|
|
107
|
-
* <p>
|
|
107
|
+
* <p>The request failed because it depends on another request that failed.</p>
|
|
108
108
|
* @public
|
|
109
109
|
*/
|
|
110
110
|
export declare class DependencyFailedException extends __BaseException {
|
|
@@ -115,6 +115,18 @@ export declare class DependencyFailedException extends __BaseException {
|
|
|
115
115
|
*/
|
|
116
116
|
constructor(opts: __ExceptionOptionType<DependencyFailedException, __BaseException>);
|
|
117
117
|
}
|
|
118
|
+
/**
|
|
119
|
+
* <p>The server has a failure of processing the message</p>
|
|
120
|
+
* @public
|
|
121
|
+
*/
|
|
122
|
+
export declare class UnprocessableContentException extends __BaseException {
|
|
123
|
+
readonly name: "UnprocessableContentException";
|
|
124
|
+
readonly $fault: "client";
|
|
125
|
+
/**
|
|
126
|
+
* @internal
|
|
127
|
+
*/
|
|
128
|
+
constructor(opts: __ExceptionOptionType<UnprocessableContentException, __BaseException>);
|
|
129
|
+
}
|
|
118
130
|
/**
|
|
119
131
|
* <p>The provided <code>revisionId</code> does not match, indicating the content has been modified since it was last read.</p>
|
|
120
132
|
* @public
|