Skip to content

Commit 923dca4

Browse files
author
awstools
committed
feat(client-qconnect): New AIAgent types: Orchestration for ModelContextProtocol tool integration, CaseSummary for Amazon Connect Case summaries, NoteTaker for Agent Assistance notes. Added ListSpans and Retrieve APIs. Enhanced Q in Connect AssistantAssociationType to support Bring Your Own Bedrock Knowledge Bases.
1 parent 40ac3d8 commit 923dca4

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

54 files changed

+9942
-3686
lines changed

clients/client-qconnect/README.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -714,6 +714,14 @@ ListQuickResponses
714714

715715
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/qconnect/command/ListQuickResponsesCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-qconnect/Interface/ListQuickResponsesCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-qconnect/Interface/ListQuickResponsesCommandOutput/)
716716

717+
</details>
718+
<details>
719+
<summary>
720+
ListSpans
721+
</summary>
722+
723+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/qconnect/command/ListSpansCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-qconnect/Interface/ListSpansCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-qconnect/Interface/ListSpansCommandOutput/)
724+
717725
</details>
718726
<details>
719727
<summary>
@@ -770,6 +778,14 @@ RenderMessageTemplate
770778

771779
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/qconnect/command/RenderMessageTemplateCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-qconnect/Interface/RenderMessageTemplateCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-qconnect/Interface/RenderMessageTemplateCommandOutput/)
772780

781+
</details>
782+
<details>
783+
<summary>
784+
Retrieve
785+
</summary>
786+
787+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/qconnect/command/RetrieveCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-qconnect/Interface/RetrieveCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-qconnect/Interface/RetrieveCommandOutput/)
788+
773789
</details>
774790
<details>
775791
<summary>

clients/client-qconnect/src/QConnect.ts

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -306,6 +306,7 @@ import {
306306
ListQuickResponsesCommandInput,
307307
ListQuickResponsesCommandOutput,
308308
} from "./commands/ListQuickResponsesCommand";
309+
import { ListSpansCommand, ListSpansCommandInput, ListSpansCommandOutput } from "./commands/ListSpansCommand";
309310
import {
310311
ListTagsForResourceCommand,
311312
ListTagsForResourceCommandInput,
@@ -337,6 +338,7 @@ import {
337338
RenderMessageTemplateCommandInput,
338339
RenderMessageTemplateCommandOutput,
339340
} from "./commands/RenderMessageTemplateCommand";
341+
import { RetrieveCommand, RetrieveCommandInput, RetrieveCommandOutput } from "./commands/RetrieveCommand";
340342
import {
341343
SearchContentCommand,
342344
SearchContentCommandInput,
@@ -496,13 +498,15 @@ const commands = {
496498
ListMessageTemplatesCommand,
497499
ListMessageTemplateVersionsCommand,
498500
ListQuickResponsesCommand,
501+
ListSpansCommand,
499502
ListTagsForResourceCommand,
500503
NotifyRecommendationsReceivedCommand,
501504
PutFeedbackCommand,
502505
QueryAssistantCommand,
503506
RemoveAssistantAIAgentCommand,
504507
RemoveKnowledgeBaseTemplateUriCommand,
505508
RenderMessageTemplateCommand,
509+
RetrieveCommand,
506510
SearchContentCommand,
507511
SearchMessageTemplatesCommand,
508512
SearchQuickResponsesCommand,
@@ -1499,6 +1503,17 @@ export interface QConnect {
14991503
cb: (err: any, data?: ListQuickResponsesCommandOutput) => void
15001504
): void;
15011505

1506+
/**
1507+
* @see {@link ListSpansCommand}
1508+
*/
1509+
listSpans(args: ListSpansCommandInput, options?: __HttpHandlerOptions): Promise<ListSpansCommandOutput>;
1510+
listSpans(args: ListSpansCommandInput, cb: (err: any, data?: ListSpansCommandOutput) => void): void;
1511+
listSpans(
1512+
args: ListSpansCommandInput,
1513+
options: __HttpHandlerOptions,
1514+
cb: (err: any, data?: ListSpansCommandOutput) => void
1515+
): void;
1516+
15021517
/**
15031518
* @see {@link ListTagsForResourceCommand}
15041519
*/
@@ -1609,6 +1624,17 @@ export interface QConnect {
16091624
cb: (err: any, data?: RenderMessageTemplateCommandOutput) => void
16101625
): void;
16111626

1627+
/**
1628+
* @see {@link RetrieveCommand}
1629+
*/
1630+
retrieve(args: RetrieveCommandInput, options?: __HttpHandlerOptions): Promise<RetrieveCommandOutput>;
1631+
retrieve(args: RetrieveCommandInput, cb: (err: any, data?: RetrieveCommandOutput) => void): void;
1632+
retrieve(
1633+
args: RetrieveCommandInput,
1634+
options: __HttpHandlerOptions,
1635+
cb: (err: any, data?: RetrieveCommandOutput) => void
1636+
): void;
1637+
16121638
/**
16131639
* @see {@link SearchContentCommand}
16141640
*/

clients/client-qconnect/src/QConnectClient.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -211,6 +211,7 @@ import {
211211
ListMessageTemplateVersionsCommandOutput,
212212
} from "./commands/ListMessageTemplateVersionsCommand";
213213
import { ListQuickResponsesCommandInput, ListQuickResponsesCommandOutput } from "./commands/ListQuickResponsesCommand";
214+
import { ListSpansCommandInput, ListSpansCommandOutput } from "./commands/ListSpansCommand";
214215
import {
215216
ListTagsForResourceCommandInput,
216217
ListTagsForResourceCommandOutput,
@@ -233,6 +234,7 @@ import {
233234
RenderMessageTemplateCommandInput,
234235
RenderMessageTemplateCommandOutput,
235236
} from "./commands/RenderMessageTemplateCommand";
237+
import { RetrieveCommandInput, RetrieveCommandOutput } from "./commands/RetrieveCommand";
236238
import { SearchContentCommandInput, SearchContentCommandOutput } from "./commands/SearchContentCommand";
237239
import {
238240
SearchMessageTemplatesCommandInput,
@@ -353,13 +355,15 @@ export type ServiceInputTypes =
353355
| ListMessageTemplatesCommandInput
354356
| ListMessagesCommandInput
355357
| ListQuickResponsesCommandInput
358+
| ListSpansCommandInput
356359
| ListTagsForResourceCommandInput
357360
| NotifyRecommendationsReceivedCommandInput
358361
| PutFeedbackCommandInput
359362
| QueryAssistantCommandInput
360363
| RemoveAssistantAIAgentCommandInput
361364
| RemoveKnowledgeBaseTemplateUriCommandInput
362365
| RenderMessageTemplateCommandInput
366+
| RetrieveCommandInput
363367
| SearchContentCommandInput
364368
| SearchMessageTemplatesCommandInput
365369
| SearchQuickResponsesCommandInput
@@ -449,13 +453,15 @@ export type ServiceOutputTypes =
449453
| ListMessageTemplatesCommandOutput
450454
| ListMessagesCommandOutput
451455
| ListQuickResponsesCommandOutput
456+
| ListSpansCommandOutput
452457
| ListTagsForResourceCommandOutput
453458
| NotifyRecommendationsReceivedCommandOutput
454459
| PutFeedbackCommandOutput
455460
| QueryAssistantCommandOutput
456461
| RemoveAssistantAIAgentCommandOutput
457462
| RemoveKnowledgeBaseTemplateUriCommandOutput
458463
| RenderMessageTemplateCommandOutput
464+
| RetrieveCommandOutput
459465
| SearchContentCommandOutput
460466
| SearchMessageTemplatesCommandOutput
461467
| SearchQuickResponsesCommandOutput

clients/client-qconnect/src/commands/CreateAIAgentCommand.ts

Lines changed: 126 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,9 @@ export interface CreateAIAgentCommandOutput extends CreateAIAgentResponse, __Met
111111
* },
112112
* ],
113113
* locale: "STRING_VALUE",
114+
* suggestedMessages: [ // SuggestedMessagesList
115+
* "STRING_VALUE",
116+
* ],
114117
* },
115118
* selfServiceAIAgentConfiguration: { // SelfServiceAIAgentConfiguration
116119
* selfServicePreProcessingAIPromptId: "STRING_VALUE",
@@ -199,6 +202,66 @@ export interface CreateAIAgentCommandOutput extends CreateAIAgentResponse, __Met
199202
* },
200203
* ],
201204
* },
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+
* },
202265
* },
203266
* visibilityStatus: "STRING_VALUE", // required
204267
* tags: { // Tags
@@ -286,6 +349,9 @@ export interface CreateAIAgentCommandOutput extends CreateAIAgentResponse, __Met
286349
* // },
287350
* // ],
288351
* // locale: "STRING_VALUE",
352+
* // suggestedMessages: [ // SuggestedMessagesList
353+
* // "STRING_VALUE",
354+
* // ],
289355
* // },
290356
* // selfServiceAIAgentConfiguration: { // SelfServiceAIAgentConfiguration
291357
* // selfServicePreProcessingAIPromptId: "STRING_VALUE",
@@ -374,6 +440,66 @@ export interface CreateAIAgentCommandOutput extends CreateAIAgentResponse, __Met
374440
* // },
375441
* // ],
376442
* // },
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+
* // },
377503
* // },
378504
* // modifiedTime: new Date("TIMESTAMP"),
379505
* // description: "STRING_VALUE",

clients/client-qconnect/src/commands/CreateAIAgentVersionCommand.ts

Lines changed: 63 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,9 @@ export interface CreateAIAgentVersionCommandOutput extends CreateAIAgentVersionR
122122
* // },
123123
* // ],
124124
* // locale: "STRING_VALUE",
125+
* // suggestedMessages: [ // SuggestedMessagesList
126+
* // "STRING_VALUE",
127+
* // ],
125128
* // },
126129
* // selfServiceAIAgentConfiguration: { // SelfServiceAIAgentConfiguration
127130
* // selfServicePreProcessingAIPromptId: "STRING_VALUE",
@@ -210,6 +213,66 @@ export interface CreateAIAgentVersionCommandOutput extends CreateAIAgentVersionR
210213
* // },
211214
* // ],
212215
* // },
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+
* // },
213276
* // },
214277
* // modifiedTime: new Date("TIMESTAMP"),
215278
* // description: "STRING_VALUE",

0 commit comments

Comments
 (0)