@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
package/dist-types/QConnect.d.ts
CHANGED
|
@@ -63,6 +63,7 @@ import { ListMessagesCommandInput, ListMessagesCommandOutput } from "./commands/
|
|
|
63
63
|
import { ListMessageTemplatesCommandInput, ListMessageTemplatesCommandOutput } from "./commands/ListMessageTemplatesCommand";
|
|
64
64
|
import { ListMessageTemplateVersionsCommandInput, ListMessageTemplateVersionsCommandOutput } from "./commands/ListMessageTemplateVersionsCommand";
|
|
65
65
|
import { ListQuickResponsesCommandInput, ListQuickResponsesCommandOutput } from "./commands/ListQuickResponsesCommand";
|
|
66
|
+
import { ListSpansCommandInput, ListSpansCommandOutput } from "./commands/ListSpansCommand";
|
|
66
67
|
import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
|
|
67
68
|
import { NotifyRecommendationsReceivedCommandInput, NotifyRecommendationsReceivedCommandOutput } from "./commands/NotifyRecommendationsReceivedCommand";
|
|
68
69
|
import { PutFeedbackCommandInput, PutFeedbackCommandOutput } from "./commands/PutFeedbackCommand";
|
|
@@ -70,6 +71,7 @@ import { QueryAssistantCommandInput, QueryAssistantCommandOutput } from "./comma
|
|
|
70
71
|
import { RemoveAssistantAIAgentCommandInput, RemoveAssistantAIAgentCommandOutput } from "./commands/RemoveAssistantAIAgentCommand";
|
|
71
72
|
import { RemoveKnowledgeBaseTemplateUriCommandInput, RemoveKnowledgeBaseTemplateUriCommandOutput } from "./commands/RemoveKnowledgeBaseTemplateUriCommand";
|
|
72
73
|
import { RenderMessageTemplateCommandInput, RenderMessageTemplateCommandOutput } from "./commands/RenderMessageTemplateCommand";
|
|
74
|
+
import { RetrieveCommandInput, RetrieveCommandOutput } from "./commands/RetrieveCommand";
|
|
73
75
|
import { SearchContentCommandInput, SearchContentCommandOutput } from "./commands/SearchContentCommand";
|
|
74
76
|
import { SearchMessageTemplatesCommandInput, SearchMessageTemplatesCommandOutput } from "./commands/SearchMessageTemplatesCommand";
|
|
75
77
|
import { SearchQuickResponsesCommandInput, SearchQuickResponsesCommandOutput } from "./commands/SearchQuickResponsesCommand";
|
|
@@ -478,6 +480,12 @@ export interface QConnect {
|
|
|
478
480
|
listQuickResponses(args: ListQuickResponsesCommandInput, options?: __HttpHandlerOptions): Promise<ListQuickResponsesCommandOutput>;
|
|
479
481
|
listQuickResponses(args: ListQuickResponsesCommandInput, cb: (err: any, data?: ListQuickResponsesCommandOutput) => void): void;
|
|
480
482
|
listQuickResponses(args: ListQuickResponsesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListQuickResponsesCommandOutput) => void): void;
|
|
483
|
+
/**
|
|
484
|
+
* @see {@link ListSpansCommand}
|
|
485
|
+
*/
|
|
486
|
+
listSpans(args: ListSpansCommandInput, options?: __HttpHandlerOptions): Promise<ListSpansCommandOutput>;
|
|
487
|
+
listSpans(args: ListSpansCommandInput, cb: (err: any, data?: ListSpansCommandOutput) => void): void;
|
|
488
|
+
listSpans(args: ListSpansCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListSpansCommandOutput) => void): void;
|
|
481
489
|
/**
|
|
482
490
|
* @see {@link ListTagsForResourceCommand}
|
|
483
491
|
*/
|
|
@@ -520,6 +528,12 @@ export interface QConnect {
|
|
|
520
528
|
renderMessageTemplate(args: RenderMessageTemplateCommandInput, options?: __HttpHandlerOptions): Promise<RenderMessageTemplateCommandOutput>;
|
|
521
529
|
renderMessageTemplate(args: RenderMessageTemplateCommandInput, cb: (err: any, data?: RenderMessageTemplateCommandOutput) => void): void;
|
|
522
530
|
renderMessageTemplate(args: RenderMessageTemplateCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: RenderMessageTemplateCommandOutput) => void): void;
|
|
531
|
+
/**
|
|
532
|
+
* @see {@link RetrieveCommand}
|
|
533
|
+
*/
|
|
534
|
+
retrieve(args: RetrieveCommandInput, options?: __HttpHandlerOptions): Promise<RetrieveCommandOutput>;
|
|
535
|
+
retrieve(args: RetrieveCommandInput, cb: (err: any, data?: RetrieveCommandOutput) => void): void;
|
|
536
|
+
retrieve(args: RetrieveCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: RetrieveCommandOutput) => void): void;
|
|
523
537
|
/**
|
|
524
538
|
* @see {@link SearchContentCommand}
|
|
525
539
|
*/
|
|
@@ -71,6 +71,7 @@ import { ListMessagesCommandInput, ListMessagesCommandOutput } from "./commands/
|
|
|
71
71
|
import { ListMessageTemplatesCommandInput, ListMessageTemplatesCommandOutput } from "./commands/ListMessageTemplatesCommand";
|
|
72
72
|
import { ListMessageTemplateVersionsCommandInput, ListMessageTemplateVersionsCommandOutput } from "./commands/ListMessageTemplateVersionsCommand";
|
|
73
73
|
import { ListQuickResponsesCommandInput, ListQuickResponsesCommandOutput } from "./commands/ListQuickResponsesCommand";
|
|
74
|
+
import { ListSpansCommandInput, ListSpansCommandOutput } from "./commands/ListSpansCommand";
|
|
74
75
|
import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
|
|
75
76
|
import { NotifyRecommendationsReceivedCommandInput, NotifyRecommendationsReceivedCommandOutput } from "./commands/NotifyRecommendationsReceivedCommand";
|
|
76
77
|
import { PutFeedbackCommandInput, PutFeedbackCommandOutput } from "./commands/PutFeedbackCommand";
|
|
@@ -78,6 +79,7 @@ import { QueryAssistantCommandInput, QueryAssistantCommandOutput } from "./comma
|
|
|
78
79
|
import { RemoveAssistantAIAgentCommandInput, RemoveAssistantAIAgentCommandOutput } from "./commands/RemoveAssistantAIAgentCommand";
|
|
79
80
|
import { RemoveKnowledgeBaseTemplateUriCommandInput, RemoveKnowledgeBaseTemplateUriCommandOutput } from "./commands/RemoveKnowledgeBaseTemplateUriCommand";
|
|
80
81
|
import { RenderMessageTemplateCommandInput, RenderMessageTemplateCommandOutput } from "./commands/RenderMessageTemplateCommand";
|
|
82
|
+
import { RetrieveCommandInput, RetrieveCommandOutput } from "./commands/RetrieveCommand";
|
|
81
83
|
import { SearchContentCommandInput, SearchContentCommandOutput } from "./commands/SearchContentCommand";
|
|
82
84
|
import { SearchMessageTemplatesCommandInput, SearchMessageTemplatesCommandOutput } from "./commands/SearchMessageTemplatesCommand";
|
|
83
85
|
import { SearchQuickResponsesCommandInput, SearchQuickResponsesCommandOutput } from "./commands/SearchQuickResponsesCommand";
|
|
@@ -104,11 +106,11 @@ export { __Client };
|
|
|
104
106
|
/**
|
|
105
107
|
* @public
|
|
106
108
|
*/
|
|
107
|
-
export type ServiceInputTypes = ActivateMessageTemplateCommandInput | CreateAIAgentCommandInput | CreateAIAgentVersionCommandInput | CreateAIGuardrailCommandInput | CreateAIGuardrailVersionCommandInput | CreateAIPromptCommandInput | CreateAIPromptVersionCommandInput | CreateAssistantAssociationCommandInput | CreateAssistantCommandInput | CreateContentAssociationCommandInput | CreateContentCommandInput | CreateKnowledgeBaseCommandInput | CreateMessageTemplateAttachmentCommandInput | CreateMessageTemplateCommandInput | CreateMessageTemplateVersionCommandInput | CreateQuickResponseCommandInput | CreateSessionCommandInput | DeactivateMessageTemplateCommandInput | DeleteAIAgentCommandInput | DeleteAIAgentVersionCommandInput | DeleteAIGuardrailCommandInput | DeleteAIGuardrailVersionCommandInput | DeleteAIPromptCommandInput | DeleteAIPromptVersionCommandInput | DeleteAssistantAssociationCommandInput | DeleteAssistantCommandInput | DeleteContentAssociationCommandInput | DeleteContentCommandInput | DeleteImportJobCommandInput | DeleteKnowledgeBaseCommandInput | DeleteMessageTemplateAttachmentCommandInput | DeleteMessageTemplateCommandInput | DeleteQuickResponseCommandInput | GetAIAgentCommandInput | GetAIGuardrailCommandInput | GetAIPromptCommandInput | GetAssistantAssociationCommandInput | GetAssistantCommandInput | GetContentAssociationCommandInput | GetContentCommandInput | GetContentSummaryCommandInput | GetImportJobCommandInput | GetKnowledgeBaseCommandInput | GetMessageTemplateCommandInput | GetNextMessageCommandInput | GetQuickResponseCommandInput | GetRecommendationsCommandInput | GetSessionCommandInput | ListAIAgentVersionsCommandInput | ListAIAgentsCommandInput | ListAIGuardrailVersionsCommandInput | ListAIGuardrailsCommandInput | ListAIPromptVersionsCommandInput | ListAIPromptsCommandInput | ListAssistantAssociationsCommandInput | ListAssistantsCommandInput | ListContentAssociationsCommandInput | ListContentsCommandInput | ListImportJobsCommandInput | ListKnowledgeBasesCommandInput | ListMessageTemplateVersionsCommandInput | ListMessageTemplatesCommandInput | ListMessagesCommandInput | ListQuickResponsesCommandInput | ListTagsForResourceCommandInput | NotifyRecommendationsReceivedCommandInput | PutFeedbackCommandInput | QueryAssistantCommandInput | RemoveAssistantAIAgentCommandInput | RemoveKnowledgeBaseTemplateUriCommandInput | RenderMessageTemplateCommandInput | SearchContentCommandInput | SearchMessageTemplatesCommandInput | SearchQuickResponsesCommandInput | SearchSessionsCommandInput | SendMessageCommandInput | StartContentUploadCommandInput | StartImportJobCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateAIAgentCommandInput | UpdateAIGuardrailCommandInput | UpdateAIPromptCommandInput | UpdateAssistantAIAgentCommandInput | UpdateContentCommandInput | UpdateKnowledgeBaseTemplateUriCommandInput | UpdateMessageTemplateCommandInput | UpdateMessageTemplateMetadataCommandInput | UpdateQuickResponseCommandInput | UpdateSessionCommandInput | UpdateSessionDataCommandInput;
|
|
109
|
+
export type ServiceInputTypes = ActivateMessageTemplateCommandInput | CreateAIAgentCommandInput | CreateAIAgentVersionCommandInput | CreateAIGuardrailCommandInput | CreateAIGuardrailVersionCommandInput | CreateAIPromptCommandInput | CreateAIPromptVersionCommandInput | CreateAssistantAssociationCommandInput | CreateAssistantCommandInput | CreateContentAssociationCommandInput | CreateContentCommandInput | CreateKnowledgeBaseCommandInput | CreateMessageTemplateAttachmentCommandInput | CreateMessageTemplateCommandInput | CreateMessageTemplateVersionCommandInput | CreateQuickResponseCommandInput | CreateSessionCommandInput | DeactivateMessageTemplateCommandInput | DeleteAIAgentCommandInput | DeleteAIAgentVersionCommandInput | DeleteAIGuardrailCommandInput | DeleteAIGuardrailVersionCommandInput | DeleteAIPromptCommandInput | DeleteAIPromptVersionCommandInput | DeleteAssistantAssociationCommandInput | DeleteAssistantCommandInput | DeleteContentAssociationCommandInput | DeleteContentCommandInput | DeleteImportJobCommandInput | DeleteKnowledgeBaseCommandInput | DeleteMessageTemplateAttachmentCommandInput | DeleteMessageTemplateCommandInput | DeleteQuickResponseCommandInput | GetAIAgentCommandInput | GetAIGuardrailCommandInput | GetAIPromptCommandInput | GetAssistantAssociationCommandInput | GetAssistantCommandInput | GetContentAssociationCommandInput | GetContentCommandInput | GetContentSummaryCommandInput | GetImportJobCommandInput | GetKnowledgeBaseCommandInput | GetMessageTemplateCommandInput | GetNextMessageCommandInput | GetQuickResponseCommandInput | GetRecommendationsCommandInput | GetSessionCommandInput | ListAIAgentVersionsCommandInput | ListAIAgentsCommandInput | ListAIGuardrailVersionsCommandInput | ListAIGuardrailsCommandInput | ListAIPromptVersionsCommandInput | ListAIPromptsCommandInput | ListAssistantAssociationsCommandInput | ListAssistantsCommandInput | ListContentAssociationsCommandInput | ListContentsCommandInput | ListImportJobsCommandInput | ListKnowledgeBasesCommandInput | ListMessageTemplateVersionsCommandInput | ListMessageTemplatesCommandInput | ListMessagesCommandInput | ListQuickResponsesCommandInput | ListSpansCommandInput | ListTagsForResourceCommandInput | NotifyRecommendationsReceivedCommandInput | PutFeedbackCommandInput | QueryAssistantCommandInput | RemoveAssistantAIAgentCommandInput | RemoveKnowledgeBaseTemplateUriCommandInput | RenderMessageTemplateCommandInput | RetrieveCommandInput | SearchContentCommandInput | SearchMessageTemplatesCommandInput | SearchQuickResponsesCommandInput | SearchSessionsCommandInput | SendMessageCommandInput | StartContentUploadCommandInput | StartImportJobCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateAIAgentCommandInput | UpdateAIGuardrailCommandInput | UpdateAIPromptCommandInput | UpdateAssistantAIAgentCommandInput | UpdateContentCommandInput | UpdateKnowledgeBaseTemplateUriCommandInput | UpdateMessageTemplateCommandInput | UpdateMessageTemplateMetadataCommandInput | UpdateQuickResponseCommandInput | UpdateSessionCommandInput | UpdateSessionDataCommandInput;
|
|
108
110
|
/**
|
|
109
111
|
* @public
|
|
110
112
|
*/
|
|
111
|
-
export type ServiceOutputTypes = ActivateMessageTemplateCommandOutput | CreateAIAgentCommandOutput | CreateAIAgentVersionCommandOutput | CreateAIGuardrailCommandOutput | CreateAIGuardrailVersionCommandOutput | CreateAIPromptCommandOutput | CreateAIPromptVersionCommandOutput | CreateAssistantAssociationCommandOutput | CreateAssistantCommandOutput | CreateContentAssociationCommandOutput | CreateContentCommandOutput | CreateKnowledgeBaseCommandOutput | CreateMessageTemplateAttachmentCommandOutput | CreateMessageTemplateCommandOutput | CreateMessageTemplateVersionCommandOutput | CreateQuickResponseCommandOutput | CreateSessionCommandOutput | DeactivateMessageTemplateCommandOutput | DeleteAIAgentCommandOutput | DeleteAIAgentVersionCommandOutput | DeleteAIGuardrailCommandOutput | DeleteAIGuardrailVersionCommandOutput | DeleteAIPromptCommandOutput | DeleteAIPromptVersionCommandOutput | DeleteAssistantAssociationCommandOutput | DeleteAssistantCommandOutput | DeleteContentAssociationCommandOutput | DeleteContentCommandOutput | DeleteImportJobCommandOutput | DeleteKnowledgeBaseCommandOutput | DeleteMessageTemplateAttachmentCommandOutput | DeleteMessageTemplateCommandOutput | DeleteQuickResponseCommandOutput | GetAIAgentCommandOutput | GetAIGuardrailCommandOutput | GetAIPromptCommandOutput | GetAssistantAssociationCommandOutput | GetAssistantCommandOutput | GetContentAssociationCommandOutput | GetContentCommandOutput | GetContentSummaryCommandOutput | GetImportJobCommandOutput | GetKnowledgeBaseCommandOutput | GetMessageTemplateCommandOutput | GetNextMessageCommandOutput | GetQuickResponseCommandOutput | GetRecommendationsCommandOutput | GetSessionCommandOutput | ListAIAgentVersionsCommandOutput | ListAIAgentsCommandOutput | ListAIGuardrailVersionsCommandOutput | ListAIGuardrailsCommandOutput | ListAIPromptVersionsCommandOutput | ListAIPromptsCommandOutput | ListAssistantAssociationsCommandOutput | ListAssistantsCommandOutput | ListContentAssociationsCommandOutput | ListContentsCommandOutput | ListImportJobsCommandOutput | ListKnowledgeBasesCommandOutput | ListMessageTemplateVersionsCommandOutput | ListMessageTemplatesCommandOutput | ListMessagesCommandOutput | ListQuickResponsesCommandOutput | ListTagsForResourceCommandOutput | NotifyRecommendationsReceivedCommandOutput | PutFeedbackCommandOutput | QueryAssistantCommandOutput | RemoveAssistantAIAgentCommandOutput | RemoveKnowledgeBaseTemplateUriCommandOutput | RenderMessageTemplateCommandOutput | SearchContentCommandOutput | SearchMessageTemplatesCommandOutput | SearchQuickResponsesCommandOutput | SearchSessionsCommandOutput | SendMessageCommandOutput | StartContentUploadCommandOutput | StartImportJobCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateAIAgentCommandOutput | UpdateAIGuardrailCommandOutput | UpdateAIPromptCommandOutput | UpdateAssistantAIAgentCommandOutput | UpdateContentCommandOutput | UpdateKnowledgeBaseTemplateUriCommandOutput | UpdateMessageTemplateCommandOutput | UpdateMessageTemplateMetadataCommandOutput | UpdateQuickResponseCommandOutput | UpdateSessionCommandOutput | UpdateSessionDataCommandOutput;
|
|
113
|
+
export type ServiceOutputTypes = ActivateMessageTemplateCommandOutput | CreateAIAgentCommandOutput | CreateAIAgentVersionCommandOutput | CreateAIGuardrailCommandOutput | CreateAIGuardrailVersionCommandOutput | CreateAIPromptCommandOutput | CreateAIPromptVersionCommandOutput | CreateAssistantAssociationCommandOutput | CreateAssistantCommandOutput | CreateContentAssociationCommandOutput | CreateContentCommandOutput | CreateKnowledgeBaseCommandOutput | CreateMessageTemplateAttachmentCommandOutput | CreateMessageTemplateCommandOutput | CreateMessageTemplateVersionCommandOutput | CreateQuickResponseCommandOutput | CreateSessionCommandOutput | DeactivateMessageTemplateCommandOutput | DeleteAIAgentCommandOutput | DeleteAIAgentVersionCommandOutput | DeleteAIGuardrailCommandOutput | DeleteAIGuardrailVersionCommandOutput | DeleteAIPromptCommandOutput | DeleteAIPromptVersionCommandOutput | DeleteAssistantAssociationCommandOutput | DeleteAssistantCommandOutput | DeleteContentAssociationCommandOutput | DeleteContentCommandOutput | DeleteImportJobCommandOutput | DeleteKnowledgeBaseCommandOutput | DeleteMessageTemplateAttachmentCommandOutput | DeleteMessageTemplateCommandOutput | DeleteQuickResponseCommandOutput | GetAIAgentCommandOutput | GetAIGuardrailCommandOutput | GetAIPromptCommandOutput | GetAssistantAssociationCommandOutput | GetAssistantCommandOutput | GetContentAssociationCommandOutput | GetContentCommandOutput | GetContentSummaryCommandOutput | GetImportJobCommandOutput | GetKnowledgeBaseCommandOutput | GetMessageTemplateCommandOutput | GetNextMessageCommandOutput | GetQuickResponseCommandOutput | GetRecommendationsCommandOutput | GetSessionCommandOutput | ListAIAgentVersionsCommandOutput | ListAIAgentsCommandOutput | ListAIGuardrailVersionsCommandOutput | ListAIGuardrailsCommandOutput | ListAIPromptVersionsCommandOutput | ListAIPromptsCommandOutput | ListAssistantAssociationsCommandOutput | ListAssistantsCommandOutput | ListContentAssociationsCommandOutput | ListContentsCommandOutput | ListImportJobsCommandOutput | ListKnowledgeBasesCommandOutput | ListMessageTemplateVersionsCommandOutput | ListMessageTemplatesCommandOutput | ListMessagesCommandOutput | ListQuickResponsesCommandOutput | ListSpansCommandOutput | ListTagsForResourceCommandOutput | NotifyRecommendationsReceivedCommandOutput | PutFeedbackCommandOutput | QueryAssistantCommandOutput | RemoveAssistantAIAgentCommandOutput | RemoveKnowledgeBaseTemplateUriCommandOutput | RenderMessageTemplateCommandOutput | RetrieveCommandOutput | SearchContentCommandOutput | SearchMessageTemplatesCommandOutput | SearchQuickResponsesCommandOutput | SearchSessionsCommandOutput | SendMessageCommandOutput | StartContentUploadCommandOutput | StartImportJobCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateAIAgentCommandOutput | UpdateAIGuardrailCommandOutput | UpdateAIPromptCommandOutput | UpdateAssistantAIAgentCommandOutput | UpdateContentCommandOutput | UpdateKnowledgeBaseTemplateUriCommandOutput | UpdateMessageTemplateCommandOutput | UpdateMessageTemplateMetadataCommandOutput | UpdateQuickResponseCommandOutput | UpdateSessionCommandOutput | UpdateSessionDataCommandOutput;
|
|
112
114
|
/**
|
|
113
115
|
* @public
|
|
114
116
|
*/
|
|
@@ -111,6 +111,9 @@ declare const CreateAIAgentCommand_base: {
|
|
|
111
111
|
* },
|
|
112
112
|
* ],
|
|
113
113
|
* locale: "STRING_VALUE",
|
|
114
|
+
* suggestedMessages: [ // SuggestedMessagesList
|
|
115
|
+
* "STRING_VALUE",
|
|
116
|
+
* ],
|
|
114
117
|
* },
|
|
115
118
|
* selfServiceAIAgentConfiguration: { // SelfServiceAIAgentConfiguration
|
|
116
119
|
* selfServicePreProcessingAIPromptId: "STRING_VALUE",
|
|
@@ -199,6 +202,66 @@ declare const CreateAIAgentCommand_base: {
|
|
|
199
202
|
* },
|
|
200
203
|
* ],
|
|
201
204
|
* },
|
|
205
|
+
* orchestrationAIAgentConfiguration: { // OrchestrationAIAgentConfiguration
|
|
206
|
+
* orchestrationAIPromptId: "STRING_VALUE", // required
|
|
207
|
+
* orchestrationAIGuardrailId: "STRING_VALUE",
|
|
208
|
+
* toolConfigurations: [ // ToolConfigurationList
|
|
209
|
+
* { // ToolConfiguration
|
|
210
|
+
* toolName: "STRING_VALUE", // required
|
|
211
|
+
* toolType: "STRING_VALUE", // required
|
|
212
|
+
* title: "STRING_VALUE",
|
|
213
|
+
* toolId: "STRING_VALUE",
|
|
214
|
+
* description: "STRING_VALUE",
|
|
215
|
+
* instruction: { // ToolInstruction
|
|
216
|
+
* instruction: "STRING_VALUE",
|
|
217
|
+
* examples: [ // ToolExampleList
|
|
218
|
+
* "STRING_VALUE",
|
|
219
|
+
* ],
|
|
220
|
+
* },
|
|
221
|
+
* overrideInputValues: [ // ToolOverrideInputValueList
|
|
222
|
+
* { // ToolOverrideInputValue
|
|
223
|
+
* jsonPath: "STRING_VALUE", // required
|
|
224
|
+
* value: { // ToolOverrideInputValueConfiguration Union: only one key present
|
|
225
|
+
* constant: { // ToolOverrideConstantInputValue
|
|
226
|
+
* type: "STRING_VALUE", // required
|
|
227
|
+
* value: "STRING_VALUE", // required
|
|
228
|
+
* },
|
|
229
|
+
* },
|
|
230
|
+
* },
|
|
231
|
+
* ],
|
|
232
|
+
* outputFilters: [ // ToolOutputFilterList
|
|
233
|
+
* { // ToolOutputFilter
|
|
234
|
+
* jsonPath: "STRING_VALUE", // required
|
|
235
|
+
* outputConfiguration: { // ToolOutputConfiguration
|
|
236
|
+
* outputVariableNameOverride: "STRING_VALUE",
|
|
237
|
+
* sessionDataNamespace: "STRING_VALUE",
|
|
238
|
+
* },
|
|
239
|
+
* },
|
|
240
|
+
* ],
|
|
241
|
+
* inputSchema: "DOCUMENT_VALUE",
|
|
242
|
+
* outputSchema: "DOCUMENT_VALUE",
|
|
243
|
+
* annotations: { // Annotation
|
|
244
|
+
* title: "STRING_VALUE",
|
|
245
|
+
* destructiveHint: true || false,
|
|
246
|
+
* },
|
|
247
|
+
* userInteractionConfiguration: { // UserInteractionConfiguration
|
|
248
|
+
* isUserConfirmationRequired: true || false,
|
|
249
|
+
* },
|
|
250
|
+
* },
|
|
251
|
+
* ],
|
|
252
|
+
* connectInstanceArn: "STRING_VALUE",
|
|
253
|
+
* locale: "STRING_VALUE",
|
|
254
|
+
* },
|
|
255
|
+
* noteTakingAIAgentConfiguration: { // NoteTakingAIAgentConfiguration
|
|
256
|
+
* noteTakingAIPromptId: "STRING_VALUE",
|
|
257
|
+
* noteTakingAIGuardrailId: "STRING_VALUE",
|
|
258
|
+
* locale: "STRING_VALUE",
|
|
259
|
+
* },
|
|
260
|
+
* caseSummarizationAIAgentConfiguration: { // CaseSummarizationAIAgentConfiguration
|
|
261
|
+
* caseSummarizationAIPromptId: "STRING_VALUE",
|
|
262
|
+
* caseSummarizationAIGuardrailId: "STRING_VALUE",
|
|
263
|
+
* locale: "STRING_VALUE",
|
|
264
|
+
* },
|
|
202
265
|
* },
|
|
203
266
|
* visibilityStatus: "STRING_VALUE", // required
|
|
204
267
|
* tags: { // Tags
|
|
@@ -286,6 +349,9 @@ declare const CreateAIAgentCommand_base: {
|
|
|
286
349
|
* // },
|
|
287
350
|
* // ],
|
|
288
351
|
* // locale: "STRING_VALUE",
|
|
352
|
+
* // suggestedMessages: [ // SuggestedMessagesList
|
|
353
|
+
* // "STRING_VALUE",
|
|
354
|
+
* // ],
|
|
289
355
|
* // },
|
|
290
356
|
* // selfServiceAIAgentConfiguration: { // SelfServiceAIAgentConfiguration
|
|
291
357
|
* // selfServicePreProcessingAIPromptId: "STRING_VALUE",
|
|
@@ -374,6 +440,66 @@ declare const CreateAIAgentCommand_base: {
|
|
|
374
440
|
* // },
|
|
375
441
|
* // ],
|
|
376
442
|
* // },
|
|
443
|
+
* // orchestrationAIAgentConfiguration: { // OrchestrationAIAgentConfiguration
|
|
444
|
+
* // orchestrationAIPromptId: "STRING_VALUE", // required
|
|
445
|
+
* // orchestrationAIGuardrailId: "STRING_VALUE",
|
|
446
|
+
* // toolConfigurations: [ // ToolConfigurationList
|
|
447
|
+
* // { // ToolConfiguration
|
|
448
|
+
* // toolName: "STRING_VALUE", // required
|
|
449
|
+
* // toolType: "STRING_VALUE", // required
|
|
450
|
+
* // title: "STRING_VALUE",
|
|
451
|
+
* // toolId: "STRING_VALUE",
|
|
452
|
+
* // description: "STRING_VALUE",
|
|
453
|
+
* // instruction: { // ToolInstruction
|
|
454
|
+
* // instruction: "STRING_VALUE",
|
|
455
|
+
* // examples: [ // ToolExampleList
|
|
456
|
+
* // "STRING_VALUE",
|
|
457
|
+
* // ],
|
|
458
|
+
* // },
|
|
459
|
+
* // overrideInputValues: [ // ToolOverrideInputValueList
|
|
460
|
+
* // { // ToolOverrideInputValue
|
|
461
|
+
* // jsonPath: "STRING_VALUE", // required
|
|
462
|
+
* // value: { // ToolOverrideInputValueConfiguration Union: only one key present
|
|
463
|
+
* // constant: { // ToolOverrideConstantInputValue
|
|
464
|
+
* // type: "STRING_VALUE", // required
|
|
465
|
+
* // value: "STRING_VALUE", // required
|
|
466
|
+
* // },
|
|
467
|
+
* // },
|
|
468
|
+
* // },
|
|
469
|
+
* // ],
|
|
470
|
+
* // outputFilters: [ // ToolOutputFilterList
|
|
471
|
+
* // { // ToolOutputFilter
|
|
472
|
+
* // jsonPath: "STRING_VALUE", // required
|
|
473
|
+
* // outputConfiguration: { // ToolOutputConfiguration
|
|
474
|
+
* // outputVariableNameOverride: "STRING_VALUE",
|
|
475
|
+
* // sessionDataNamespace: "STRING_VALUE",
|
|
476
|
+
* // },
|
|
477
|
+
* // },
|
|
478
|
+
* // ],
|
|
479
|
+
* // inputSchema: "DOCUMENT_VALUE",
|
|
480
|
+
* // outputSchema: "DOCUMENT_VALUE",
|
|
481
|
+
* // annotations: { // Annotation
|
|
482
|
+
* // title: "STRING_VALUE",
|
|
483
|
+
* // destructiveHint: true || false,
|
|
484
|
+
* // },
|
|
485
|
+
* // userInteractionConfiguration: { // UserInteractionConfiguration
|
|
486
|
+
* // isUserConfirmationRequired: true || false,
|
|
487
|
+
* // },
|
|
488
|
+
* // },
|
|
489
|
+
* // ],
|
|
490
|
+
* // connectInstanceArn: "STRING_VALUE",
|
|
491
|
+
* // locale: "STRING_VALUE",
|
|
492
|
+
* // },
|
|
493
|
+
* // noteTakingAIAgentConfiguration: { // NoteTakingAIAgentConfiguration
|
|
494
|
+
* // noteTakingAIPromptId: "STRING_VALUE",
|
|
495
|
+
* // noteTakingAIGuardrailId: "STRING_VALUE",
|
|
496
|
+
* // locale: "STRING_VALUE",
|
|
497
|
+
* // },
|
|
498
|
+
* // caseSummarizationAIAgentConfiguration: { // CaseSummarizationAIAgentConfiguration
|
|
499
|
+
* // caseSummarizationAIPromptId: "STRING_VALUE",
|
|
500
|
+
* // caseSummarizationAIGuardrailId: "STRING_VALUE",
|
|
501
|
+
* // locale: "STRING_VALUE",
|
|
502
|
+
* // },
|
|
377
503
|
* // },
|
|
378
504
|
* // modifiedTime: new Date("TIMESTAMP"),
|
|
379
505
|
* // description: "STRING_VALUE",
|
|
@@ -122,6 +122,9 @@ declare const CreateAIAgentVersionCommand_base: {
|
|
|
122
122
|
* // },
|
|
123
123
|
* // ],
|
|
124
124
|
* // locale: "STRING_VALUE",
|
|
125
|
+
* // suggestedMessages: [ // SuggestedMessagesList
|
|
126
|
+
* // "STRING_VALUE",
|
|
127
|
+
* // ],
|
|
125
128
|
* // },
|
|
126
129
|
* // selfServiceAIAgentConfiguration: { // SelfServiceAIAgentConfiguration
|
|
127
130
|
* // selfServicePreProcessingAIPromptId: "STRING_VALUE",
|
|
@@ -210,6 +213,66 @@ declare const CreateAIAgentVersionCommand_base: {
|
|
|
210
213
|
* // },
|
|
211
214
|
* // ],
|
|
212
215
|
* // },
|
|
216
|
+
* // orchestrationAIAgentConfiguration: { // OrchestrationAIAgentConfiguration
|
|
217
|
+
* // orchestrationAIPromptId: "STRING_VALUE", // required
|
|
218
|
+
* // orchestrationAIGuardrailId: "STRING_VALUE",
|
|
219
|
+
* // toolConfigurations: [ // ToolConfigurationList
|
|
220
|
+
* // { // ToolConfiguration
|
|
221
|
+
* // toolName: "STRING_VALUE", // required
|
|
222
|
+
* // toolType: "STRING_VALUE", // required
|
|
223
|
+
* // title: "STRING_VALUE",
|
|
224
|
+
* // toolId: "STRING_VALUE",
|
|
225
|
+
* // description: "STRING_VALUE",
|
|
226
|
+
* // instruction: { // ToolInstruction
|
|
227
|
+
* // instruction: "STRING_VALUE",
|
|
228
|
+
* // examples: [ // ToolExampleList
|
|
229
|
+
* // "STRING_VALUE",
|
|
230
|
+
* // ],
|
|
231
|
+
* // },
|
|
232
|
+
* // overrideInputValues: [ // ToolOverrideInputValueList
|
|
233
|
+
* // { // ToolOverrideInputValue
|
|
234
|
+
* // jsonPath: "STRING_VALUE", // required
|
|
235
|
+
* // value: { // ToolOverrideInputValueConfiguration Union: only one key present
|
|
236
|
+
* // constant: { // ToolOverrideConstantInputValue
|
|
237
|
+
* // type: "STRING_VALUE", // required
|
|
238
|
+
* // value: "STRING_VALUE", // required
|
|
239
|
+
* // },
|
|
240
|
+
* // },
|
|
241
|
+
* // },
|
|
242
|
+
* // ],
|
|
243
|
+
* // outputFilters: [ // ToolOutputFilterList
|
|
244
|
+
* // { // ToolOutputFilter
|
|
245
|
+
* // jsonPath: "STRING_VALUE", // required
|
|
246
|
+
* // outputConfiguration: { // ToolOutputConfiguration
|
|
247
|
+
* // outputVariableNameOverride: "STRING_VALUE",
|
|
248
|
+
* // sessionDataNamespace: "STRING_VALUE",
|
|
249
|
+
* // },
|
|
250
|
+
* // },
|
|
251
|
+
* // ],
|
|
252
|
+
* // inputSchema: "DOCUMENT_VALUE",
|
|
253
|
+
* // outputSchema: "DOCUMENT_VALUE",
|
|
254
|
+
* // annotations: { // Annotation
|
|
255
|
+
* // title: "STRING_VALUE",
|
|
256
|
+
* // destructiveHint: true || false,
|
|
257
|
+
* // },
|
|
258
|
+
* // userInteractionConfiguration: { // UserInteractionConfiguration
|
|
259
|
+
* // isUserConfirmationRequired: true || false,
|
|
260
|
+
* // },
|
|
261
|
+
* // },
|
|
262
|
+
* // ],
|
|
263
|
+
* // connectInstanceArn: "STRING_VALUE",
|
|
264
|
+
* // locale: "STRING_VALUE",
|
|
265
|
+
* // },
|
|
266
|
+
* // noteTakingAIAgentConfiguration: { // NoteTakingAIAgentConfiguration
|
|
267
|
+
* // noteTakingAIPromptId: "STRING_VALUE",
|
|
268
|
+
* // noteTakingAIGuardrailId: "STRING_VALUE",
|
|
269
|
+
* // locale: "STRING_VALUE",
|
|
270
|
+
* // },
|
|
271
|
+
* // caseSummarizationAIAgentConfiguration: { // CaseSummarizationAIAgentConfiguration
|
|
272
|
+
* // caseSummarizationAIPromptId: "STRING_VALUE",
|
|
273
|
+
* // caseSummarizationAIGuardrailId: "STRING_VALUE",
|
|
274
|
+
* // locale: "STRING_VALUE",
|
|
275
|
+
* // },
|
|
213
276
|
* // },
|
|
214
277
|
* // modifiedTime: new Date("TIMESTAMP"),
|
|
215
278
|
* // description: "STRING_VALUE",
|
|
@@ -54,6 +54,14 @@ declare const CreateAIPromptCommand_base: {
|
|
|
54
54
|
* "<keys>": "STRING_VALUE",
|
|
55
55
|
* },
|
|
56
56
|
* description: "STRING_VALUE",
|
|
57
|
+
* inferenceConfiguration: { // AIPromptInferenceConfiguration Union: only one key present
|
|
58
|
+
* textAIPromptInferenceConfiguration: { // TextAIPromptInferenceConfiguration
|
|
59
|
+
* temperature: Number("float"),
|
|
60
|
+
* topP: Number("float"),
|
|
61
|
+
* topK: Number("int"),
|
|
62
|
+
* maxTokensToSample: Number("int"),
|
|
63
|
+
* },
|
|
64
|
+
* },
|
|
57
65
|
* };
|
|
58
66
|
* const command = new CreateAIPromptCommand(input);
|
|
59
67
|
* const response = await client.send(command);
|
|
@@ -73,6 +81,14 @@ declare const CreateAIPromptCommand_base: {
|
|
|
73
81
|
* // text: "STRING_VALUE", // required
|
|
74
82
|
* // },
|
|
75
83
|
* // },
|
|
84
|
+
* // inferenceConfiguration: { // AIPromptInferenceConfiguration Union: only one key present
|
|
85
|
+
* // textAIPromptInferenceConfiguration: { // TextAIPromptInferenceConfiguration
|
|
86
|
+
* // temperature: Number("float"),
|
|
87
|
+
* // topP: Number("float"),
|
|
88
|
+
* // topK: Number("int"),
|
|
89
|
+
* // maxTokensToSample: Number("int"),
|
|
90
|
+
* // },
|
|
91
|
+
* // },
|
|
76
92
|
* // modifiedTime: new Date("TIMESTAMP"),
|
|
77
93
|
* // description: "STRING_VALUE",
|
|
78
94
|
* // visibilityStatus: "STRING_VALUE", // required
|
|
@@ -60,6 +60,14 @@ declare const CreateAIPromptVersionCommand_base: {
|
|
|
60
60
|
* // text: "STRING_VALUE", // required
|
|
61
61
|
* // },
|
|
62
62
|
* // },
|
|
63
|
+
* // inferenceConfiguration: { // AIPromptInferenceConfiguration Union: only one key present
|
|
64
|
+
* // textAIPromptInferenceConfiguration: { // TextAIPromptInferenceConfiguration
|
|
65
|
+
* // temperature: Number("float"),
|
|
66
|
+
* // topP: Number("float"),
|
|
67
|
+
* // topK: Number("int"),
|
|
68
|
+
* // maxTokensToSample: Number("int"),
|
|
69
|
+
* // },
|
|
70
|
+
* // },
|
|
63
71
|
* // modifiedTime: new Date("TIMESTAMP"),
|
|
64
72
|
* // description: "STRING_VALUE",
|
|
65
73
|
* // visibilityStatus: "STRING_VALUE", // required
|
|
@@ -41,6 +41,10 @@ declare const CreateAssistantAssociationCommand_base: {
|
|
|
41
41
|
* associationType: "STRING_VALUE", // required
|
|
42
42
|
* association: { // AssistantAssociationInputData Union: only one key present
|
|
43
43
|
* knowledgeBaseId: "STRING_VALUE",
|
|
44
|
+
* externalBedrockKnowledgeBaseConfig: { // ExternalBedrockKnowledgeBaseConfig
|
|
45
|
+
* bedrockKnowledgeBaseArn: "STRING_VALUE", // required
|
|
46
|
+
* accessRoleArn: "STRING_VALUE", // required
|
|
47
|
+
* },
|
|
44
48
|
* },
|
|
45
49
|
* clientToken: "STRING_VALUE",
|
|
46
50
|
* tags: { // Tags
|
|
@@ -61,6 +65,10 @@ declare const CreateAssistantAssociationCommand_base: {
|
|
|
61
65
|
* // knowledgeBaseId: "STRING_VALUE",
|
|
62
66
|
* // knowledgeBaseArn: "STRING_VALUE",
|
|
63
67
|
* // },
|
|
68
|
+
* // externalBedrockKnowledgeBaseConfig: { // ExternalBedrockKnowledgeBaseConfig
|
|
69
|
+
* // bedrockKnowledgeBaseArn: "STRING_VALUE", // required
|
|
70
|
+
* // accessRoleArn: "STRING_VALUE", // required
|
|
71
|
+
* // },
|
|
64
72
|
* // },
|
|
65
73
|
* // tags: { // Tags
|
|
66
74
|
* // "<keys>": "STRING_VALUE",
|
|
@@ -75,6 +75,12 @@ declare const CreateAssistantCommand_base: {
|
|
|
75
75
|
* // aiAgentId: "STRING_VALUE", // required
|
|
76
76
|
* // },
|
|
77
77
|
* // },
|
|
78
|
+
* // orchestratorConfigurationList: [ // OrchestratorConfigurationList
|
|
79
|
+
* // { // OrchestratorConfigurationEntry
|
|
80
|
+
* // aiAgentId: "STRING_VALUE",
|
|
81
|
+
* // orchestratorUseCase: "STRING_VALUE", // required
|
|
82
|
+
* // },
|
|
83
|
+
* // ],
|
|
78
84
|
* // },
|
|
79
85
|
* // };
|
|
80
86
|
*
|
|
@@ -70,6 +70,13 @@ declare const CreateSessionCommand_base: {
|
|
|
70
70
|
* },
|
|
71
71
|
* },
|
|
72
72
|
* contactArn: "STRING_VALUE",
|
|
73
|
+
* orchestratorConfigurationList: [ // OrchestratorConfigurationList
|
|
74
|
+
* { // OrchestratorConfigurationEntry
|
|
75
|
+
* aiAgentId: "STRING_VALUE",
|
|
76
|
+
* orchestratorUseCase: "STRING_VALUE", // required
|
|
77
|
+
* },
|
|
78
|
+
* ],
|
|
79
|
+
* removeOrchestratorConfigurationList: true || false,
|
|
73
80
|
* };
|
|
74
81
|
* const command = new CreateSessionCommand(input);
|
|
75
82
|
* const response = await client.send(command);
|
|
@@ -111,6 +118,12 @@ declare const CreateSessionCommand_base: {
|
|
|
111
118
|
* // },
|
|
112
119
|
* // },
|
|
113
120
|
* // origin: "STRING_VALUE",
|
|
121
|
+
* // orchestratorConfigurationList: [ // OrchestratorConfigurationList
|
|
122
|
+
* // { // OrchestratorConfigurationEntry
|
|
123
|
+
* // aiAgentId: "STRING_VALUE",
|
|
124
|
+
* // orchestratorUseCase: "STRING_VALUE", // required
|
|
125
|
+
* // },
|
|
126
|
+
* // ],
|
|
114
127
|
* // },
|
|
115
128
|
* // };
|
|
116
129
|
*
|
|
@@ -129,7 +142,7 @@ declare const CreateSessionCommand_base: {
|
|
|
129
142
|
* <p>The request could not be processed because of conflict in the current state of the resource. For example, if you're using a <code>Create</code> API (such as <code>CreateAssistant</code>) that accepts name, a conflicting resource (usually with the same name) is being created or mutated.</p>
|
|
130
143
|
*
|
|
131
144
|
* @throws {@link DependencyFailedException} (client fault)
|
|
132
|
-
* <p>
|
|
145
|
+
* <p>The request failed because it depends on another request that failed.</p>
|
|
133
146
|
*
|
|
134
147
|
* @throws {@link ResourceNotFoundException} (client fault)
|
|
135
148
|
* <p>The specified resource does not exist.</p>
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import { DeleteImportJobRequest, DeleteImportJobResponse } from "../models/
|
|
3
|
+
import { DeleteImportJobRequest, DeleteImportJobResponse } from "../models/models_1";
|
|
4
4
|
import { QConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../QConnectClient";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import { DeleteKnowledgeBaseRequest, DeleteKnowledgeBaseResponse } from "../models/
|
|
3
|
+
import { DeleteKnowledgeBaseRequest, DeleteKnowledgeBaseResponse } from "../models/models_1";
|
|
4
4
|
import { QConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../QConnectClient";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import { DeleteMessageTemplateAttachmentRequest, DeleteMessageTemplateAttachmentResponse } from "../models/
|
|
3
|
+
import { DeleteMessageTemplateAttachmentRequest, DeleteMessageTemplateAttachmentResponse } from "../models/models_1";
|
|
4
4
|
import { QConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../QConnectClient";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import { DeleteMessageTemplateRequest, DeleteMessageTemplateResponse } from "../models/
|
|
3
|
+
import { DeleteMessageTemplateRequest, DeleteMessageTemplateResponse } from "../models/models_1";
|
|
4
4
|
import { QConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../QConnectClient";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import { DeleteQuickResponseRequest, DeleteQuickResponseResponse } from "../models/
|
|
3
|
+
import { DeleteQuickResponseRequest, DeleteQuickResponseResponse } from "../models/models_1";
|
|
4
4
|
import { QConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../QConnectClient";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
@@ -120,6 +120,9 @@ declare const GetAIAgentCommand_base: {
|
|
|
120
120
|
* // },
|
|
121
121
|
* // ],
|
|
122
122
|
* // locale: "STRING_VALUE",
|
|
123
|
+
* // suggestedMessages: [ // SuggestedMessagesList
|
|
124
|
+
* // "STRING_VALUE",
|
|
125
|
+
* // ],
|
|
123
126
|
* // },
|
|
124
127
|
* // selfServiceAIAgentConfiguration: { // SelfServiceAIAgentConfiguration
|
|
125
128
|
* // selfServicePreProcessingAIPromptId: "STRING_VALUE",
|
|
@@ -208,6 +211,66 @@ declare const GetAIAgentCommand_base: {
|
|
|
208
211
|
* // },
|
|
209
212
|
* // ],
|
|
210
213
|
* // },
|
|
214
|
+
* // orchestrationAIAgentConfiguration: { // OrchestrationAIAgentConfiguration
|
|
215
|
+
* // orchestrationAIPromptId: "STRING_VALUE", // required
|
|
216
|
+
* // orchestrationAIGuardrailId: "STRING_VALUE",
|
|
217
|
+
* // toolConfigurations: [ // ToolConfigurationList
|
|
218
|
+
* // { // ToolConfiguration
|
|
219
|
+
* // toolName: "STRING_VALUE", // required
|
|
220
|
+
* // toolType: "STRING_VALUE", // required
|
|
221
|
+
* // title: "STRING_VALUE",
|
|
222
|
+
* // toolId: "STRING_VALUE",
|
|
223
|
+
* // description: "STRING_VALUE",
|
|
224
|
+
* // instruction: { // ToolInstruction
|
|
225
|
+
* // instruction: "STRING_VALUE",
|
|
226
|
+
* // examples: [ // ToolExampleList
|
|
227
|
+
* // "STRING_VALUE",
|
|
228
|
+
* // ],
|
|
229
|
+
* // },
|
|
230
|
+
* // overrideInputValues: [ // ToolOverrideInputValueList
|
|
231
|
+
* // { // ToolOverrideInputValue
|
|
232
|
+
* // jsonPath: "STRING_VALUE", // required
|
|
233
|
+
* // value: { // ToolOverrideInputValueConfiguration Union: only one key present
|
|
234
|
+
* // constant: { // ToolOverrideConstantInputValue
|
|
235
|
+
* // type: "STRING_VALUE", // required
|
|
236
|
+
* // value: "STRING_VALUE", // required
|
|
237
|
+
* // },
|
|
238
|
+
* // },
|
|
239
|
+
* // },
|
|
240
|
+
* // ],
|
|
241
|
+
* // outputFilters: [ // ToolOutputFilterList
|
|
242
|
+
* // { // ToolOutputFilter
|
|
243
|
+
* // jsonPath: "STRING_VALUE", // required
|
|
244
|
+
* // outputConfiguration: { // ToolOutputConfiguration
|
|
245
|
+
* // outputVariableNameOverride: "STRING_VALUE",
|
|
246
|
+
* // sessionDataNamespace: "STRING_VALUE",
|
|
247
|
+
* // },
|
|
248
|
+
* // },
|
|
249
|
+
* // ],
|
|
250
|
+
* // inputSchema: "DOCUMENT_VALUE",
|
|
251
|
+
* // outputSchema: "DOCUMENT_VALUE",
|
|
252
|
+
* // annotations: { // Annotation
|
|
253
|
+
* // title: "STRING_VALUE",
|
|
254
|
+
* // destructiveHint: true || false,
|
|
255
|
+
* // },
|
|
256
|
+
* // userInteractionConfiguration: { // UserInteractionConfiguration
|
|
257
|
+
* // isUserConfirmationRequired: true || false,
|
|
258
|
+
* // },
|
|
259
|
+
* // },
|
|
260
|
+
* // ],
|
|
261
|
+
* // connectInstanceArn: "STRING_VALUE",
|
|
262
|
+
* // locale: "STRING_VALUE",
|
|
263
|
+
* // },
|
|
264
|
+
* // noteTakingAIAgentConfiguration: { // NoteTakingAIAgentConfiguration
|
|
265
|
+
* // noteTakingAIPromptId: "STRING_VALUE",
|
|
266
|
+
* // noteTakingAIGuardrailId: "STRING_VALUE",
|
|
267
|
+
* // locale: "STRING_VALUE",
|
|
268
|
+
* // },
|
|
269
|
+
* // caseSummarizationAIAgentConfiguration: { // CaseSummarizationAIAgentConfiguration
|
|
270
|
+
* // caseSummarizationAIPromptId: "STRING_VALUE",
|
|
271
|
+
* // caseSummarizationAIGuardrailId: "STRING_VALUE",
|
|
272
|
+
* // locale: "STRING_VALUE",
|
|
273
|
+
* // },
|
|
211
274
|
* // },
|
|
212
275
|
* // modifiedTime: new Date("TIMESTAMP"),
|
|
213
276
|
* // description: "STRING_VALUE",
|
|
@@ -58,6 +58,14 @@ declare const GetAIPromptCommand_base: {
|
|
|
58
58
|
* // text: "STRING_VALUE", // required
|
|
59
59
|
* // },
|
|
60
60
|
* // },
|
|
61
|
+
* // inferenceConfiguration: { // AIPromptInferenceConfiguration Union: only one key present
|
|
62
|
+
* // textAIPromptInferenceConfiguration: { // TextAIPromptInferenceConfiguration
|
|
63
|
+
* // temperature: Number("float"),
|
|
64
|
+
* // topP: Number("float"),
|
|
65
|
+
* // topK: Number("int"),
|
|
66
|
+
* // maxTokensToSample: Number("int"),
|
|
67
|
+
* // },
|
|
68
|
+
* // },
|
|
61
69
|
* // modifiedTime: new Date("TIMESTAMP"),
|
|
62
70
|
* // description: "STRING_VALUE",
|
|
63
71
|
* // visibilityStatus: "STRING_VALUE", // required
|
|
@@ -54,6 +54,10 @@ declare const GetAssistantAssociationCommand_base: {
|
|
|
54
54
|
* // knowledgeBaseId: "STRING_VALUE",
|
|
55
55
|
* // knowledgeBaseArn: "STRING_VALUE",
|
|
56
56
|
* // },
|
|
57
|
+
* // externalBedrockKnowledgeBaseConfig: { // ExternalBedrockKnowledgeBaseConfig
|
|
58
|
+
* // bedrockKnowledgeBaseArn: "STRING_VALUE", // required
|
|
59
|
+
* // accessRoleArn: "STRING_VALUE", // required
|
|
60
|
+
* // },
|
|
57
61
|
* // },
|
|
58
62
|
* // tags: { // Tags
|
|
59
63
|
* // "<keys>": "STRING_VALUE",
|
|
@@ -66,6 +66,12 @@ declare const GetAssistantCommand_base: {
|
|
|
66
66
|
* // aiAgentId: "STRING_VALUE", // required
|
|
67
67
|
* // },
|
|
68
68
|
* // },
|
|
69
|
+
* // orchestratorConfigurationList: [ // OrchestratorConfigurationList
|
|
70
|
+
* // { // OrchestratorConfigurationEntry
|
|
71
|
+
* // aiAgentId: "STRING_VALUE",
|
|
72
|
+
* // orchestratorUseCase: "STRING_VALUE", // required
|
|
73
|
+
* // },
|
|
74
|
+
* // ],
|
|
69
75
|
* // },
|
|
70
76
|
* // };
|
|
71
77
|
*
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import { GetImportJobRequest, GetImportJobResponse } from "../models/
|
|
3
|
+
import { GetImportJobRequest, GetImportJobResponse } from "../models/models_1";
|
|
4
4
|
import { QConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../QConnectClient";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import { GetKnowledgeBaseRequest, GetKnowledgeBaseResponse } from "../models/
|
|
3
|
+
import { GetKnowledgeBaseRequest, GetKnowledgeBaseResponse } from "../models/models_1";
|
|
4
4
|
import { QConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../QConnectClient";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|