@aws-sdk/client-qconnect 3.1135.0 → 3.1136.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 +1 -1
- package/dist-cjs/index.js +88 -18
- package/dist-es/models/enums.js +11 -0
- package/dist-es/schemas/schemas_0.js +70 -17
- package/dist-types/QConnect.d.ts +1 -1
- package/dist-types/QConnectClient.d.ts +1 -1
- package/dist-types/commands/CreateAIAgentCommand.d.ts +74 -2
- package/dist-types/commands/CreateAIAgentVersionCommand.d.ts +37 -1
- package/dist-types/commands/CreateContentAssociationCommand.d.ts +1 -1
- package/dist-types/commands/CreateMessageTemplateVersionCommand.d.ts +2 -1
- package/dist-types/commands/CreateQuickResponseCommand.d.ts +1 -2
- package/dist-types/commands/CreateSessionCommand.d.ts +1 -1
- package/dist-types/commands/DeleteContentAssociationCommand.d.ts +1 -1
- package/dist-types/commands/GetAIAgentCommand.d.ts +37 -1
- package/dist-types/commands/GetContentAssociationCommand.d.ts +1 -1
- package/dist-types/commands/GetNextMessageCommand.d.ts +1 -0
- package/dist-types/commands/GetRecommendationsCommand.d.ts +1 -1
- package/dist-types/commands/ListAIAgentVersionsCommand.d.ts +37 -1
- package/dist-types/commands/ListAIAgentsCommand.d.ts +37 -1
- package/dist-types/commands/ListContentAssociationsCommand.d.ts +1 -1
- package/dist-types/commands/ListMessagesCommand.d.ts +1 -0
- package/dist-types/commands/ListSpansCommand.d.ts +3 -0
- package/dist-types/commands/QueryAssistantCommand.d.ts +1 -1
- package/dist-types/commands/SendMessageCommand.d.ts +1 -0
- package/dist-types/commands/UpdateAIAgentCommand.d.ts +74 -2
- package/dist-types/commands/UpdateSessionCommand.d.ts +1 -1
- package/dist-types/index.d.ts +1 -1
- package/dist-types/models/enums.d.ts +27 -0
- package/dist-types/models/models_0.d.ts +187 -267
- package/dist-types/models/models_1.d.ts +279 -7
- package/dist-types/schemas/schemas_0.d.ts +5 -0
- package/dist-types/ts3.4/commands/CreateMessageTemplateVersionCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/CreateQuickResponseCommand.d.ts +1 -2
- package/dist-types/ts3.4/models/enums.d.ts +13 -0
- package/dist-types/ts3.4/models/models_0.d.ts +81 -76
- package/dist-types/ts3.4/models/models_1.d.ts +81 -3
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +5 -0
- package/package.json +1 -1
|
@@ -1,5 +1,262 @@
|
|
|
1
|
-
import type { AIAgentType, AIPromptType, ChannelSubtype, ExternalSource, ImportJobStatus, ImportJobType, KnowledgeBaseSearchType, KnowledgeBaseStatus, KnowledgeBaseType, MessageTemplateFilterOperator, MessageTemplateQueryOperator, Order, Participant, Priority, QueryResultType, QuickResponseFilterOperator, QuickResponseQueryOperator, QuickResponseStatus, RecommendationType, RelevanceLevel, SpanStatus, SpanType } from "./enums";
|
|
2
|
-
import type { CaseSummarizationChunkDataDetails, Configuration, ContentDataDetails, ContentSummary, DataReference, Document, EmailOverviewChunkDataDetails, EmailResponseChunkDataDetails,
|
|
1
|
+
import type { AIAgentType, AIPromptType, ChannelSubtype, ExternalSource, ImportJobStatus, ImportJobType, InteractionMode, KnowledgeBaseSearchType, KnowledgeBaseStatus, KnowledgeBaseType, MessageTemplateAttributeType, MessageTemplateFilterOperator, MessageTemplateQueryOperator, Order, Participant, Priority, QueryResultType, QuickResponseFilterOperator, QuickResponseQueryOperator, QuickResponseStatus, RecommendationType, RelevanceLevel, ReturnReason, SpanStatus, SpanType } from "./enums";
|
|
2
|
+
import type { CaseSummarizationChunkDataDetails, Configuration, ContentDataDetails, ContentSummary, DataReference, Document, EmailOverviewChunkDataDetails, EmailResponseChunkDataDetails, FilterAttribute, GroupingConfiguration, IntentDetectedDataDetails, KnowledgeBaseData, KnowledgeSource, MessageTemplateAttachment, MessageTemplateAttributes, MessageTemplateContentProvider, MessageTemplateData, MessageTemplateSourceConfiguration, MessageTemplateSourceConfigurationSummary, NotesChunkDataDetails, NotesDataDetails, RankingData, RecommendationTrigger, RenderingConfiguration, SearchExpression, ServerSideEncryptionConfiguration, SourceConfiguration, SourceContentDataDetails, SpanGuardrailAssessment, SpanReasoningValue, SpanTextValue, SpanToolUseValue, SuggestedMessageDataDetails, VectorIngestionConfiguration } from "./models_0";
|
|
3
|
+
/**
|
|
4
|
+
* <p>The extended data of a message template.</p>
|
|
5
|
+
* @public
|
|
6
|
+
*/
|
|
7
|
+
export interface ExtendedMessageTemplateData {
|
|
8
|
+
/**
|
|
9
|
+
* <p>The Amazon Resource Name (ARN) of the message template.</p>
|
|
10
|
+
* @public
|
|
11
|
+
*/
|
|
12
|
+
messageTemplateArn: string | undefined;
|
|
13
|
+
/**
|
|
14
|
+
* <p>The identifier of the message template.</p>
|
|
15
|
+
* @public
|
|
16
|
+
*/
|
|
17
|
+
messageTemplateId: string | undefined;
|
|
18
|
+
/**
|
|
19
|
+
* <p>The Amazon Resource Name (ARN) of the knowledge base.</p>
|
|
20
|
+
* @public
|
|
21
|
+
*/
|
|
22
|
+
knowledgeBaseArn: string | undefined;
|
|
23
|
+
/**
|
|
24
|
+
* <p>The identifier of the knowledge base.</p>
|
|
25
|
+
* @public
|
|
26
|
+
*/
|
|
27
|
+
knowledgeBaseId: string | undefined;
|
|
28
|
+
/**
|
|
29
|
+
* <p>The name of the message template.</p>
|
|
30
|
+
* @public
|
|
31
|
+
*/
|
|
32
|
+
name: string | undefined;
|
|
33
|
+
/**
|
|
34
|
+
* <p>The channel of the message template.</p>
|
|
35
|
+
* @public
|
|
36
|
+
*/
|
|
37
|
+
channel?: string | undefined;
|
|
38
|
+
/**
|
|
39
|
+
* <p>The channel subtype this message template applies to.</p>
|
|
40
|
+
* @public
|
|
41
|
+
*/
|
|
42
|
+
channelSubtype: ChannelSubtype | undefined;
|
|
43
|
+
/**
|
|
44
|
+
* <p>The timestamp when the message template was created.</p>
|
|
45
|
+
* @public
|
|
46
|
+
*/
|
|
47
|
+
createdTime: Date | undefined;
|
|
48
|
+
/**
|
|
49
|
+
* <p>The timestamp when the message template data was last modified.</p>
|
|
50
|
+
* @public
|
|
51
|
+
*/
|
|
52
|
+
lastModifiedTime: Date | undefined;
|
|
53
|
+
/**
|
|
54
|
+
* <p>The Amazon Resource Name (ARN) of the user who last updated the message template data.</p>
|
|
55
|
+
* @public
|
|
56
|
+
*/
|
|
57
|
+
lastModifiedBy: string | undefined;
|
|
58
|
+
/**
|
|
59
|
+
* <p>The content of the message template.</p>
|
|
60
|
+
* @public
|
|
61
|
+
*/
|
|
62
|
+
content?: MessageTemplateContentProvider | undefined;
|
|
63
|
+
/**
|
|
64
|
+
* <p>The description of the message template.</p>
|
|
65
|
+
* @public
|
|
66
|
+
*/
|
|
67
|
+
description?: string | undefined;
|
|
68
|
+
/**
|
|
69
|
+
* <p>The language code value for the language in which the quick response is written. The supported language codes include <code>de_DE</code>, <code>en_US</code>, <code>es_ES</code>, <code>fr_FR</code>, <code>id_ID</code>, <code>it_IT</code>, <code>ja_JP</code>, <code>ko_KR</code>, <code>pt_BR</code>, <code>zh_CN</code>, <code>zh_TW</code> </p>
|
|
70
|
+
* @public
|
|
71
|
+
*/
|
|
72
|
+
language?: string | undefined;
|
|
73
|
+
/**
|
|
74
|
+
* <p>The source configuration summary of the message template.</p>
|
|
75
|
+
* @public
|
|
76
|
+
*/
|
|
77
|
+
sourceConfigurationSummary?: MessageTemplateSourceConfigurationSummary | undefined;
|
|
78
|
+
/**
|
|
79
|
+
* <p>The configuration information of the grouping of Amazon Q in Connect users.</p>
|
|
80
|
+
* @public
|
|
81
|
+
*/
|
|
82
|
+
groupingConfiguration?: GroupingConfiguration | undefined;
|
|
83
|
+
/**
|
|
84
|
+
* <p>An object that specifies the default values to use for variables in the message template. This object contains different categories of key-value pairs. Each key defines a variable or placeholder in the message template. The corresponding value defines the default value for that variable.</p>
|
|
85
|
+
* @public
|
|
86
|
+
*/
|
|
87
|
+
defaultAttributes?: MessageTemplateAttributes | undefined;
|
|
88
|
+
/**
|
|
89
|
+
* <p>The types of attributes contain the message template.</p>
|
|
90
|
+
* @public
|
|
91
|
+
*/
|
|
92
|
+
attributeTypes?: MessageTemplateAttributeType[] | undefined;
|
|
93
|
+
/**
|
|
94
|
+
* <p>The message template attachments.</p>
|
|
95
|
+
* @public
|
|
96
|
+
*/
|
|
97
|
+
attachments?: MessageTemplateAttachment[] | undefined;
|
|
98
|
+
/**
|
|
99
|
+
* <p>Whether the version of the message template is activated.</p>
|
|
100
|
+
* @public
|
|
101
|
+
*/
|
|
102
|
+
isActive?: boolean | undefined;
|
|
103
|
+
/**
|
|
104
|
+
* <p>The version number of the message template version.</p>
|
|
105
|
+
* @public
|
|
106
|
+
*/
|
|
107
|
+
versionNumber?: number | undefined;
|
|
108
|
+
/**
|
|
109
|
+
* <p>The checksum value of the message template content that is referenced by the <code>$LATEST</code> qualifier. It can be returned in <code>MessageTemplateData</code> or <code>ExtendedMessageTemplateData</code>. It’s calculated by content, language, <code>defaultAttributes</code> and <code>Attachments</code> of the message template.</p>
|
|
110
|
+
* @public
|
|
111
|
+
*/
|
|
112
|
+
messageTemplateContentSha256: string | undefined;
|
|
113
|
+
/**
|
|
114
|
+
* <p>The tags used to organize, track, or control access for this resource.</p>
|
|
115
|
+
* @public
|
|
116
|
+
*/
|
|
117
|
+
tags?: Record<string, string> | undefined;
|
|
118
|
+
}
|
|
119
|
+
/**
|
|
120
|
+
* @public
|
|
121
|
+
*/
|
|
122
|
+
export interface CreateMessageTemplateVersionResponse {
|
|
123
|
+
/**
|
|
124
|
+
* <p>The message template.</p>
|
|
125
|
+
* @public
|
|
126
|
+
*/
|
|
127
|
+
messageTemplate?: ExtendedMessageTemplateData | undefined;
|
|
128
|
+
}
|
|
129
|
+
/**
|
|
130
|
+
* <p>The container of quick response data.</p>
|
|
131
|
+
* @public
|
|
132
|
+
*/
|
|
133
|
+
export type QuickResponseDataProvider = QuickResponseDataProvider.ContentMember | QuickResponseDataProvider.$UnknownMember;
|
|
134
|
+
/**
|
|
135
|
+
* @public
|
|
136
|
+
*/
|
|
137
|
+
export declare namespace QuickResponseDataProvider {
|
|
138
|
+
/**
|
|
139
|
+
* <p>The content of the quick response.</p>
|
|
140
|
+
* @public
|
|
141
|
+
*/
|
|
142
|
+
interface ContentMember {
|
|
143
|
+
content: string;
|
|
144
|
+
$unknown?: never;
|
|
145
|
+
}
|
|
146
|
+
/**
|
|
147
|
+
* @public
|
|
148
|
+
*/
|
|
149
|
+
interface $UnknownMember {
|
|
150
|
+
content?: never;
|
|
151
|
+
$unknown: [string, any];
|
|
152
|
+
}
|
|
153
|
+
/**
|
|
154
|
+
* @deprecated unused in schema-serde mode.
|
|
155
|
+
*
|
|
156
|
+
*/
|
|
157
|
+
interface Visitor<T> {
|
|
158
|
+
content: (value: string) => T;
|
|
159
|
+
_: (name: string, value: any) => T;
|
|
160
|
+
}
|
|
161
|
+
}
|
|
162
|
+
/**
|
|
163
|
+
* @public
|
|
164
|
+
*/
|
|
165
|
+
export interface CreateQuickResponseRequest {
|
|
166
|
+
/**
|
|
167
|
+
* <p>The identifier of the knowledge base. Can be either the ID or the ARN. URLs cannot contain the ARN.</p>
|
|
168
|
+
* @public
|
|
169
|
+
*/
|
|
170
|
+
knowledgeBaseId: string | undefined;
|
|
171
|
+
/**
|
|
172
|
+
* <p>The name of the quick response.</p>
|
|
173
|
+
* @public
|
|
174
|
+
*/
|
|
175
|
+
name: string | undefined;
|
|
176
|
+
/**
|
|
177
|
+
* <p>The content of the quick response.</p>
|
|
178
|
+
* @public
|
|
179
|
+
*/
|
|
180
|
+
content: QuickResponseDataProvider | undefined;
|
|
181
|
+
/**
|
|
182
|
+
* <p>The media type of the quick response content.</p> <ul> <li> <p>Use <code>application/x.quickresponse;format=plain</code> for a quick response written in plain text.</p> </li> <li> <p>Use <code>application/x.quickresponse;format=markdown</code> for a quick response written in richtext.</p> </li> </ul>
|
|
183
|
+
* @public
|
|
184
|
+
*/
|
|
185
|
+
contentType?: string | undefined;
|
|
186
|
+
/**
|
|
187
|
+
* <p>The configuration information of the user groups that the quick response is accessible to.</p>
|
|
188
|
+
* @public
|
|
189
|
+
*/
|
|
190
|
+
groupingConfiguration?: GroupingConfiguration | undefined;
|
|
191
|
+
/**
|
|
192
|
+
* <p>The description of the quick response.</p>
|
|
193
|
+
* @public
|
|
194
|
+
*/
|
|
195
|
+
description?: string | undefined;
|
|
196
|
+
/**
|
|
197
|
+
* <p>The shortcut key of the quick response. The value should be unique across the knowledge base. </p>
|
|
198
|
+
* @public
|
|
199
|
+
*/
|
|
200
|
+
shortcutKey?: string | undefined;
|
|
201
|
+
/**
|
|
202
|
+
* <p>Whether the quick response is active.</p>
|
|
203
|
+
* @public
|
|
204
|
+
*/
|
|
205
|
+
isActive?: boolean | undefined;
|
|
206
|
+
/**
|
|
207
|
+
* <p>The Connect Customer channels this quick response applies to.</p>
|
|
208
|
+
* @public
|
|
209
|
+
*/
|
|
210
|
+
channels?: string[] | undefined;
|
|
211
|
+
/**
|
|
212
|
+
* <p>The language code value for the language in which the quick response is written. The supported language codes include <code>de_DE</code>, <code>en_US</code>, <code>es_ES</code>, <code>fr_FR</code>, <code>id_ID</code>, <code>it_IT</code>, <code>ja_JP</code>, <code>ko_KR</code>, <code>pt_BR</code>, <code>zh_CN</code>, <code>zh_TW</code> </p>
|
|
213
|
+
* @public
|
|
214
|
+
*/
|
|
215
|
+
language?: string | undefined;
|
|
216
|
+
/**
|
|
217
|
+
* <p>A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see <a href="http://aws.amazon.com/builders-library/making-retries-safe-with-idempotent-APIs/">Making retries safe with idempotent APIs</a>.</p>
|
|
218
|
+
* @public
|
|
219
|
+
*/
|
|
220
|
+
clientToken?: string | undefined;
|
|
221
|
+
/**
|
|
222
|
+
* <p>The tags used to organize, track, or control access for this resource.</p>
|
|
223
|
+
* @public
|
|
224
|
+
*/
|
|
225
|
+
tags?: Record<string, string> | undefined;
|
|
226
|
+
}
|
|
227
|
+
/**
|
|
228
|
+
* <p>The container quick response content.</p>
|
|
229
|
+
* @public
|
|
230
|
+
*/
|
|
231
|
+
export type QuickResponseContentProvider = QuickResponseContentProvider.ContentMember | QuickResponseContentProvider.$UnknownMember;
|
|
232
|
+
/**
|
|
233
|
+
* @public
|
|
234
|
+
*/
|
|
235
|
+
export declare namespace QuickResponseContentProvider {
|
|
236
|
+
/**
|
|
237
|
+
* <p>The content of the quick response.</p>
|
|
238
|
+
* @public
|
|
239
|
+
*/
|
|
240
|
+
interface ContentMember {
|
|
241
|
+
content: string;
|
|
242
|
+
$unknown?: never;
|
|
243
|
+
}
|
|
244
|
+
/**
|
|
245
|
+
* @public
|
|
246
|
+
*/
|
|
247
|
+
interface $UnknownMember {
|
|
248
|
+
content?: never;
|
|
249
|
+
$unknown: [string, any];
|
|
250
|
+
}
|
|
251
|
+
/**
|
|
252
|
+
* @deprecated unused in schema-serde mode.
|
|
253
|
+
*
|
|
254
|
+
*/
|
|
255
|
+
interface Visitor<T> {
|
|
256
|
+
content: (value: string) => T;
|
|
257
|
+
_: (name: string, value: any) => T;
|
|
258
|
+
}
|
|
259
|
+
}
|
|
3
260
|
/**
|
|
4
261
|
* <p>The content of the quick response stored in different media types.</p>
|
|
5
262
|
* @public
|
|
@@ -97,7 +354,7 @@ export interface QuickResponseData {
|
|
|
97
354
|
*/
|
|
98
355
|
isActive?: boolean | undefined;
|
|
99
356
|
/**
|
|
100
|
-
* <p>The
|
|
357
|
+
* <p>The Connect Customer contact channels this quick response applies to. The supported contact channel types include <code>Chat</code>.</p>
|
|
101
358
|
* @public
|
|
102
359
|
*/
|
|
103
360
|
channels?: string[] | undefined;
|
|
@@ -1044,7 +1301,7 @@ export interface QuickResponseSummary {
|
|
|
1044
1301
|
*/
|
|
1045
1302
|
isActive?: boolean | undefined;
|
|
1046
1303
|
/**
|
|
1047
|
-
* <p>The
|
|
1304
|
+
* <p>The Connect Customer contact channels this quick response applies to. The supported contact channel types include <code>Chat</code>.</p>
|
|
1048
1305
|
* @public
|
|
1049
1306
|
*/
|
|
1050
1307
|
channels?: string[] | undefined;
|
|
@@ -1134,7 +1391,7 @@ export interface UpdateQuickResponseRequest {
|
|
|
1134
1391
|
*/
|
|
1135
1392
|
isActive?: boolean | undefined;
|
|
1136
1393
|
/**
|
|
1137
|
-
* <p>The
|
|
1394
|
+
* <p>The Connect Customer contact channels this quick response applies to. The supported contact channel types include <code>Chat</code>.</p>
|
|
1138
1395
|
* @public
|
|
1139
1396
|
*/
|
|
1140
1397
|
channels?: string[] | undefined;
|
|
@@ -1553,7 +1810,7 @@ export interface SearchQuickResponsesRequest {
|
|
|
1553
1810
|
*/
|
|
1554
1811
|
maxResults?: number | undefined;
|
|
1555
1812
|
/**
|
|
1556
|
-
* <p>The <a href="https://docs.aws.amazon.com/connect/latest/adminguide/connect-attrib-list.html#user-defined-attributes">user-defined
|
|
1813
|
+
* <p>The <a href="https://docs.aws.amazon.com/connect/latest/adminguide/connect-attrib-list.html#user-defined-attributes">user-defined Connect Customer contact attributes</a> to be resolved when search results are returned.</p>
|
|
1557
1814
|
* @public
|
|
1558
1815
|
*/
|
|
1559
1816
|
attributes?: Record<string, string> | undefined;
|
|
@@ -1639,7 +1896,7 @@ export interface QuickResponseSearchResultData {
|
|
|
1639
1896
|
*/
|
|
1640
1897
|
lastModifiedBy?: string | undefined;
|
|
1641
1898
|
/**
|
|
1642
|
-
* <p>The
|
|
1899
|
+
* <p>The Connect Customer contact channels this quick response applies to. The supported contact channel types include <code>Chat</code>.</p>
|
|
1643
1900
|
* @public
|
|
1644
1901
|
*/
|
|
1645
1902
|
channels?: string[] | undefined;
|
|
@@ -2832,6 +3089,21 @@ export interface SpanAttributes {
|
|
|
2832
3089
|
* @public
|
|
2833
3090
|
*/
|
|
2834
3091
|
aiAgentOrchestratorUseCase?: string | undefined;
|
|
3092
|
+
/**
|
|
3093
|
+
* <p>How the orchestrator engaged the collaborator agent. Present on spans that invoke a collaborator agent.</p>
|
|
3094
|
+
* @public
|
|
3095
|
+
*/
|
|
3096
|
+
interactionMode?: InteractionMode | undefined;
|
|
3097
|
+
/**
|
|
3098
|
+
* <p>Identifier of the collaborator agent being invoked. For first-party collaborators this is the Amazon Connect AI agent ID; for third-party collaborators this is the external application ID.</p>
|
|
3099
|
+
* @public
|
|
3100
|
+
*/
|
|
3101
|
+
targetAgentId?: string | undefined;
|
|
3102
|
+
/**
|
|
3103
|
+
* <p>Reason a sub-agent returned control to the calling agent. Present on return_to_agent spans.</p>
|
|
3104
|
+
* @public
|
|
3105
|
+
*/
|
|
3106
|
+
returnReason?: ReturnReason | undefined;
|
|
2835
3107
|
/**
|
|
2836
3108
|
* <p>LLM model ID for request (e.g., anthropic.claude-3-sonnet)</p>
|
|
2837
3109
|
* @public
|
|
@@ -102,6 +102,7 @@ export declare var CustomerProfileAttributes$: StaticStructureSchema;
|
|
|
102
102
|
export declare var DataSummary$: StaticStructureSchema;
|
|
103
103
|
export declare var DeactivateMessageTemplateRequest$: StaticStructureSchema;
|
|
104
104
|
export declare var DeactivateMessageTemplateResponse$: StaticStructureSchema;
|
|
105
|
+
export declare var DelegateAgentConfiguration$: StaticStructureSchema;
|
|
105
106
|
export declare var DeleteAIAgentRequest$: StaticStructureSchema;
|
|
106
107
|
export declare var DeleteAIAgentResponse$: StaticStructureSchema;
|
|
107
108
|
export declare var DeleteAIAgentVersionRequest$: StaticStructureSchema;
|
|
@@ -192,6 +193,7 @@ export declare var GuardrailPolicyResult$: StaticStructureSchema;
|
|
|
192
193
|
export declare var GuardrailRegexConfig$: StaticStructureSchema;
|
|
193
194
|
export declare var GuardrailTopicConfig$: StaticStructureSchema;
|
|
194
195
|
export declare var GuardrailWordConfig$: StaticStructureSchema;
|
|
196
|
+
export declare var HandoffAgentConfiguration$: StaticStructureSchema;
|
|
195
197
|
export declare var HierarchicalChunkingConfiguration$: StaticStructureSchema;
|
|
196
198
|
export declare var HierarchicalChunkingLevelConfiguration$: StaticStructureSchema;
|
|
197
199
|
export declare var Highlight$: StaticStructureSchema;
|
|
@@ -256,6 +258,7 @@ export declare var MessageTemplateSearchResultData$: StaticStructureSchema;
|
|
|
256
258
|
export declare var MessageTemplateSummary$: StaticStructureSchema;
|
|
257
259
|
export declare var MessageTemplateVersionSummary$: StaticStructureSchema;
|
|
258
260
|
export declare var ModelSummary$: StaticStructureSchema;
|
|
261
|
+
export declare var MultiAgentInstruction$: StaticStructureSchema;
|
|
259
262
|
export declare var NotesChunkDataDetails$: StaticStructureSchema;
|
|
260
263
|
export declare var NotesDataDetails$: StaticStructureSchema;
|
|
261
264
|
export declare var NoteTakingAIAgentConfiguration$: StaticStructureSchema;
|
|
@@ -386,6 +389,7 @@ export declare var WebCrawlerLimits$: StaticStructureSchema;
|
|
|
386
389
|
export declare var WhatsAppMessageTemplateContent$: StaticStructureSchema;
|
|
387
390
|
export declare var WhatsAppMessageTemplateSourceConfiguration$: StaticStructureSchema;
|
|
388
391
|
export declare var WhatsAppMessageTemplateSourceConfigurationSummary$: StaticStructureSchema;
|
|
392
|
+
export declare var AgentTarget$: StaticUnionSchema;
|
|
389
393
|
export declare var AIAgentConfiguration$: StaticUnionSchema;
|
|
390
394
|
export declare var AIPromptTemplateConfiguration$: StaticUnionSchema;
|
|
391
395
|
export declare var AssistantAssociationInputData$: StaticUnionSchema;
|
|
@@ -403,6 +407,7 @@ export declare var MessageTemplateBodyContentProvider$: StaticUnionSchema;
|
|
|
403
407
|
export declare var MessageTemplateContentProvider$: StaticUnionSchema;
|
|
404
408
|
export declare var MessageTemplateSourceConfiguration$: StaticUnionSchema;
|
|
405
409
|
export declare var MessageTemplateSourceConfigurationSummary$: StaticUnionSchema;
|
|
410
|
+
export declare var MultiAgentConfiguration$: StaticUnionSchema;
|
|
406
411
|
export declare var OrCondition$: StaticUnionSchema;
|
|
407
412
|
export declare var QueryCondition$: StaticUnionSchema;
|
|
408
413
|
export declare var QueryInputData$: StaticUnionSchema;
|
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
CreateMessageTemplateVersionResponse,
|
|
5
|
-
} from "../models/models_0";
|
|
2
|
+
import { CreateMessageTemplateVersionRequest } from "../models/models_0";
|
|
3
|
+
import { CreateMessageTemplateVersionResponse } from "../models/models_1";
|
|
6
4
|
export { __MetadataBearer };
|
|
7
5
|
export interface CreateMessageTemplateVersionCommandInput extends CreateMessageTemplateVersionRequest {}
|
|
8
6
|
export interface CreateMessageTemplateVersionCommandOutput
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
-
import { CreateQuickResponseRequest } from "../models/
|
|
3
|
-
import { CreateQuickResponseResponse } from "../models/models_1";
|
|
2
|
+
import { CreateQuickResponseRequest, CreateQuickResponseResponse } from "../models/models_1";
|
|
4
3
|
export { __MetadataBearer };
|
|
5
4
|
export interface CreateQuickResponseCommandInput extends CreateQuickResponseRequest {}
|
|
6
5
|
export interface CreateQuickResponseCommandOutput
|
|
@@ -310,6 +310,7 @@ export declare const Participant: {
|
|
|
310
310
|
};
|
|
311
311
|
export type Participant = (typeof Participant)[keyof typeof Participant];
|
|
312
312
|
export declare const MessageType: {
|
|
313
|
+
readonly DATA: "DATA";
|
|
313
314
|
readonly TEXT: "TEXT";
|
|
314
315
|
readonly TOOL_USE_RESULT: "TOOL_USE_RESULT";
|
|
315
316
|
};
|
|
@@ -339,6 +340,18 @@ export declare const GuardrailSource: {
|
|
|
339
340
|
readonly OUTPUT: "OUTPUT";
|
|
340
341
|
};
|
|
341
342
|
export type GuardrailSource = (typeof GuardrailSource)[keyof typeof GuardrailSource];
|
|
343
|
+
export declare const InteractionMode: {
|
|
344
|
+
readonly DELEGATE: "DELEGATE";
|
|
345
|
+
readonly HANDOFF: "HANDOFF";
|
|
346
|
+
};
|
|
347
|
+
export type InteractionMode = (typeof InteractionMode)[keyof typeof InteractionMode];
|
|
348
|
+
export declare const ReturnReason: {
|
|
349
|
+
readonly COMPLETE: "COMPLETE";
|
|
350
|
+
readonly COMPLETE_WITH_ERROR: "COMPLETE_WITH_ERROR";
|
|
351
|
+
readonly ESCALATE: "ESCALATE";
|
|
352
|
+
readonly OUT_OF_DOMAIN: "OUT_OF_DOMAIN";
|
|
353
|
+
};
|
|
354
|
+
export type ReturnReason = (typeof ReturnReason)[keyof typeof ReturnReason];
|
|
342
355
|
export declare const SpanType: {
|
|
343
356
|
readonly CLIENT: "CLIENT";
|
|
344
357
|
readonly INTERNAL: "INTERNAL";
|
|
@@ -73,6 +73,32 @@ export interface AgentAttributes {
|
|
|
73
73
|
firstName?: string | undefined;
|
|
74
74
|
lastName?: string | undefined;
|
|
75
75
|
}
|
|
76
|
+
export type AgentTarget =
|
|
77
|
+
| AgentTarget.AiAgentIdMember
|
|
78
|
+
| AgentTarget.ApplicationIdMember
|
|
79
|
+
| AgentTarget.$UnknownMember;
|
|
80
|
+
export declare namespace AgentTarget {
|
|
81
|
+
interface AiAgentIdMember {
|
|
82
|
+
aiAgentId: string;
|
|
83
|
+
applicationId?: never;
|
|
84
|
+
$unknown?: never;
|
|
85
|
+
}
|
|
86
|
+
interface ApplicationIdMember {
|
|
87
|
+
aiAgentId?: never;
|
|
88
|
+
applicationId: string;
|
|
89
|
+
$unknown?: never;
|
|
90
|
+
}
|
|
91
|
+
interface $UnknownMember {
|
|
92
|
+
aiAgentId?: never;
|
|
93
|
+
applicationId?: never;
|
|
94
|
+
$unknown: [string, any];
|
|
95
|
+
}
|
|
96
|
+
interface Visitor<T> {
|
|
97
|
+
aiAgentId: (value: string) => T;
|
|
98
|
+
applicationId: (value: string) => T;
|
|
99
|
+
_: (name: string, value: any) => T;
|
|
100
|
+
}
|
|
101
|
+
}
|
|
76
102
|
export interface TagCondition {
|
|
77
103
|
key: string | undefined;
|
|
78
104
|
value?: string | undefined;
|
|
@@ -210,6 +236,46 @@ export interface NoteTakingAIAgentConfiguration {
|
|
|
210
236
|
noteTakingAIGuardrailId?: string | undefined;
|
|
211
237
|
locale?: string | undefined;
|
|
212
238
|
}
|
|
239
|
+
export interface MultiAgentInstruction {
|
|
240
|
+
instruction?: string | undefined;
|
|
241
|
+
examples?: string[] | undefined;
|
|
242
|
+
}
|
|
243
|
+
export interface DelegateAgentConfiguration {
|
|
244
|
+
agentTarget: AgentTarget | undefined;
|
|
245
|
+
instruction?: MultiAgentInstruction | undefined;
|
|
246
|
+
}
|
|
247
|
+
export interface HandoffAgentConfiguration {
|
|
248
|
+
agentTarget: AgentTarget | undefined;
|
|
249
|
+
instruction?: MultiAgentInstruction | undefined;
|
|
250
|
+
audioStreamingEnabled?: boolean | undefined;
|
|
251
|
+
immediateHandoff?: boolean | undefined;
|
|
252
|
+
}
|
|
253
|
+
export type MultiAgentConfiguration =
|
|
254
|
+
| MultiAgentConfiguration.DelegateAgentConfigurationMember
|
|
255
|
+
| MultiAgentConfiguration.HandoffAgentConfigurationMember
|
|
256
|
+
| MultiAgentConfiguration.$UnknownMember;
|
|
257
|
+
export declare namespace MultiAgentConfiguration {
|
|
258
|
+
interface DelegateAgentConfigurationMember {
|
|
259
|
+
delegateAgentConfiguration: DelegateAgentConfiguration;
|
|
260
|
+
handoffAgentConfiguration?: never;
|
|
261
|
+
$unknown?: never;
|
|
262
|
+
}
|
|
263
|
+
interface HandoffAgentConfigurationMember {
|
|
264
|
+
delegateAgentConfiguration?: never;
|
|
265
|
+
handoffAgentConfiguration: HandoffAgentConfiguration;
|
|
266
|
+
$unknown?: never;
|
|
267
|
+
}
|
|
268
|
+
interface $UnknownMember {
|
|
269
|
+
delegateAgentConfiguration?: never;
|
|
270
|
+
handoffAgentConfiguration?: never;
|
|
271
|
+
$unknown: [string, any];
|
|
272
|
+
}
|
|
273
|
+
interface Visitor<T> {
|
|
274
|
+
delegateAgentConfiguration: (value: DelegateAgentConfiguration) => T;
|
|
275
|
+
handoffAgentConfiguration: (value: HandoffAgentConfiguration) => T;
|
|
276
|
+
_: (name: string, value: any) => T;
|
|
277
|
+
}
|
|
278
|
+
}
|
|
213
279
|
export interface Annotation {
|
|
214
280
|
title?: string | undefined;
|
|
215
281
|
destructiveHint?: boolean | undefined;
|
|
@@ -269,11 +335,14 @@ export interface ToolConfiguration {
|
|
|
269
335
|
userInteractionConfiguration?: UserInteractionConfiguration | undefined;
|
|
270
336
|
}
|
|
271
337
|
export interface OrchestrationAIAgentConfiguration {
|
|
272
|
-
orchestrationAIPromptId
|
|
338
|
+
orchestrationAIPromptId?: string | undefined;
|
|
273
339
|
orchestrationAIGuardrailId?: string | undefined;
|
|
274
340
|
toolConfigurations?: ToolConfiguration[] | undefined;
|
|
341
|
+
multiAgentConfigurations?: MultiAgentConfiguration[] | undefined;
|
|
275
342
|
connectInstanceArn?: string | undefined;
|
|
276
343
|
locale?: string | undefined;
|
|
344
|
+
inputSchemas?: __DocumentType[] | undefined;
|
|
345
|
+
outputSchemas?: __DocumentType[] | undefined;
|
|
277
346
|
}
|
|
278
347
|
export interface SelfServiceAIAgentConfiguration {
|
|
279
348
|
selfServicePreProcessingAIPromptId?: string | undefined;
|
|
@@ -1478,6 +1547,7 @@ export interface ToolUseResultData {
|
|
|
1478
1547
|
inputSchema?: __DocumentType | undefined;
|
|
1479
1548
|
}
|
|
1480
1549
|
export type MessageData =
|
|
1550
|
+
| MessageData.DataMember
|
|
1481
1551
|
| MessageData.TextMember
|
|
1482
1552
|
| MessageData.ToolUseResultMember
|
|
1483
1553
|
| MessageData.$UnknownMember;
|
|
@@ -1485,21 +1555,31 @@ export declare namespace MessageData {
|
|
|
1485
1555
|
interface TextMember {
|
|
1486
1556
|
text: TextMessage;
|
|
1487
1557
|
toolUseResult?: never;
|
|
1558
|
+
data?: never;
|
|
1488
1559
|
$unknown?: never;
|
|
1489
1560
|
}
|
|
1490
1561
|
interface ToolUseResultMember {
|
|
1491
1562
|
text?: never;
|
|
1492
1563
|
toolUseResult: ToolUseResultData;
|
|
1564
|
+
data?: never;
|
|
1565
|
+
$unknown?: never;
|
|
1566
|
+
}
|
|
1567
|
+
interface DataMember {
|
|
1568
|
+
text?: never;
|
|
1569
|
+
toolUseResult?: never;
|
|
1570
|
+
data: __DocumentType;
|
|
1493
1571
|
$unknown?: never;
|
|
1494
1572
|
}
|
|
1495
1573
|
interface $UnknownMember {
|
|
1496
1574
|
text?: never;
|
|
1497
1575
|
toolUseResult?: never;
|
|
1576
|
+
data?: never;
|
|
1498
1577
|
$unknown: [string, any];
|
|
1499
1578
|
}
|
|
1500
1579
|
interface Visitor<T> {
|
|
1501
1580
|
text: (value: TextMessage) => T;
|
|
1502
1581
|
toolUseResult: (value: ToolUseResultData) => T;
|
|
1582
|
+
data: (value: __DocumentType) => T;
|
|
1503
1583
|
_: (name: string, value: any) => T;
|
|
1504
1584
|
}
|
|
1505
1585
|
}
|
|
@@ -2268,78 +2348,3 @@ export interface CreateMessageTemplateVersionRequest {
|
|
|
2268
2348
|
messageTemplateId: string | undefined;
|
|
2269
2349
|
messageTemplateContentSha256?: string | undefined;
|
|
2270
2350
|
}
|
|
2271
|
-
export interface ExtendedMessageTemplateData {
|
|
2272
|
-
messageTemplateArn: string | undefined;
|
|
2273
|
-
messageTemplateId: string | undefined;
|
|
2274
|
-
knowledgeBaseArn: string | undefined;
|
|
2275
|
-
knowledgeBaseId: string | undefined;
|
|
2276
|
-
name: string | undefined;
|
|
2277
|
-
channel?: string | undefined;
|
|
2278
|
-
channelSubtype: ChannelSubtype | undefined;
|
|
2279
|
-
createdTime: Date | undefined;
|
|
2280
|
-
lastModifiedTime: Date | undefined;
|
|
2281
|
-
lastModifiedBy: string | undefined;
|
|
2282
|
-
content?: MessageTemplateContentProvider | undefined;
|
|
2283
|
-
description?: string | undefined;
|
|
2284
|
-
language?: string | undefined;
|
|
2285
|
-
sourceConfigurationSummary?: MessageTemplateSourceConfigurationSummary | undefined;
|
|
2286
|
-
groupingConfiguration?: GroupingConfiguration | undefined;
|
|
2287
|
-
defaultAttributes?: MessageTemplateAttributes | undefined;
|
|
2288
|
-
attributeTypes?: MessageTemplateAttributeType[] | undefined;
|
|
2289
|
-
attachments?: MessageTemplateAttachment[] | undefined;
|
|
2290
|
-
isActive?: boolean | undefined;
|
|
2291
|
-
versionNumber?: number | undefined;
|
|
2292
|
-
messageTemplateContentSha256: string | undefined;
|
|
2293
|
-
tags?: Record<string, string> | undefined;
|
|
2294
|
-
}
|
|
2295
|
-
export interface CreateMessageTemplateVersionResponse {
|
|
2296
|
-
messageTemplate?: ExtendedMessageTemplateData | undefined;
|
|
2297
|
-
}
|
|
2298
|
-
export type QuickResponseDataProvider =
|
|
2299
|
-
| QuickResponseDataProvider.ContentMember
|
|
2300
|
-
| QuickResponseDataProvider.$UnknownMember;
|
|
2301
|
-
export declare namespace QuickResponseDataProvider {
|
|
2302
|
-
interface ContentMember {
|
|
2303
|
-
content: string;
|
|
2304
|
-
$unknown?: never;
|
|
2305
|
-
}
|
|
2306
|
-
interface $UnknownMember {
|
|
2307
|
-
content?: never;
|
|
2308
|
-
$unknown: [string, any];
|
|
2309
|
-
}
|
|
2310
|
-
interface Visitor<T> {
|
|
2311
|
-
content: (value: string) => T;
|
|
2312
|
-
_: (name: string, value: any) => T;
|
|
2313
|
-
}
|
|
2314
|
-
}
|
|
2315
|
-
export interface CreateQuickResponseRequest {
|
|
2316
|
-
knowledgeBaseId: string | undefined;
|
|
2317
|
-
name: string | undefined;
|
|
2318
|
-
content: QuickResponseDataProvider | undefined;
|
|
2319
|
-
contentType?: string | undefined;
|
|
2320
|
-
groupingConfiguration?: GroupingConfiguration | undefined;
|
|
2321
|
-
description?: string | undefined;
|
|
2322
|
-
shortcutKey?: string | undefined;
|
|
2323
|
-
isActive?: boolean | undefined;
|
|
2324
|
-
channels?: string[] | undefined;
|
|
2325
|
-
language?: string | undefined;
|
|
2326
|
-
clientToken?: string | undefined;
|
|
2327
|
-
tags?: Record<string, string> | undefined;
|
|
2328
|
-
}
|
|
2329
|
-
export type QuickResponseContentProvider =
|
|
2330
|
-
| QuickResponseContentProvider.ContentMember
|
|
2331
|
-
| QuickResponseContentProvider.$UnknownMember;
|
|
2332
|
-
export declare namespace QuickResponseContentProvider {
|
|
2333
|
-
interface ContentMember {
|
|
2334
|
-
content: string;
|
|
2335
|
-
$unknown?: never;
|
|
2336
|
-
}
|
|
2337
|
-
interface $UnknownMember {
|
|
2338
|
-
content?: never;
|
|
2339
|
-
$unknown: [string, any];
|
|
2340
|
-
}
|
|
2341
|
-
interface Visitor<T> {
|
|
2342
|
-
content: (value: string) => T;
|
|
2343
|
-
_: (name: string, value: any) => T;
|
|
2344
|
-
}
|
|
2345
|
-
}
|