@aws-sdk/client-qbusiness 3.787.0 → 3.793.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 +9 -39
- package/dist-cjs/index.js +55 -5
- package/dist-es/QBusiness.js +2 -0
- package/dist-es/commands/CheckDocumentAccessCommand.js +22 -0
- package/dist-es/commands/index.js +1 -0
- package/dist-es/models/models_0.js +0 -4
- package/dist-es/models/models_1.js +4 -0
- package/dist-es/protocols/Aws_restJson1.js +32 -0
- package/dist-types/QBusiness.d.ts +8 -39
- package/dist-types/QBusinessClient.d.ts +4 -41
- package/dist-types/commands/AssociatePermissionCommand.d.ts +7 -15
- package/dist-types/commands/BatchDeleteDocumentCommand.d.ts +7 -16
- package/dist-types/commands/BatchPutDocumentCommand.d.ts +7 -29
- package/dist-types/commands/CancelSubscriptionCommand.d.ts +6 -13
- package/dist-types/commands/ChatCommand.d.ts +8 -17
- package/dist-types/commands/ChatSyncCommand.d.ts +8 -17
- package/dist-types/commands/CheckDocumentAccessCommand.d.ts +145 -0
- package/dist-types/commands/CreateApplicationCommand.d.ts +7 -27
- package/dist-types/commands/CreateDataAccessorCommand.d.ts +7 -18
- package/dist-types/commands/CreateDataSourceCommand.d.ts +7 -16
- package/dist-types/commands/CreateIndexCommand.d.ts +7 -21
- package/dist-types/commands/CreatePluginCommand.d.ts +6 -12
- package/dist-types/commands/CreateRetrieverCommand.d.ts +6 -12
- package/dist-types/commands/CreateSubscriptionCommand.d.ts +7 -18
- package/dist-types/commands/CreateUserCommand.d.ts +7 -14
- package/dist-types/commands/CreateWebExperienceCommand.d.ts +6 -12
- package/dist-types/commands/DeleteApplicationCommand.d.ts +6 -12
- package/dist-types/commands/DeleteAttachmentCommand.d.ts +6 -12
- package/dist-types/commands/DeleteChatControlsConfigurationCommand.d.ts +5 -10
- package/dist-types/commands/DeleteConversationCommand.d.ts +6 -12
- package/dist-types/commands/DeleteDataAccessorCommand.d.ts +7 -14
- package/dist-types/commands/DeleteDataSourceCommand.d.ts +7 -15
- package/dist-types/commands/DeleteGroupCommand.d.ts +7 -21
- package/dist-types/commands/DeleteIndexCommand.d.ts +6 -12
- package/dist-types/commands/DeletePluginCommand.d.ts +6 -12
- package/dist-types/commands/DeleteRetrieverCommand.d.ts +6 -12
- package/dist-types/commands/DeleteUserCommand.d.ts +6 -12
- package/dist-types/commands/DeleteWebExperienceCommand.d.ts +6 -12
- package/dist-types/commands/DisassociatePermissionCommand.d.ts +7 -14
- package/dist-types/commands/GetApplicationCommand.d.ts +5 -10
- package/dist-types/commands/GetChatControlsConfigurationCommand.d.ts +6 -12
- package/dist-types/commands/GetDataAccessorCommand.d.ts +6 -14
- package/dist-types/commands/GetDataSourceCommand.d.ts +5 -10
- package/dist-types/commands/GetGroupCommand.d.ts +6 -12
- package/dist-types/commands/GetIndexCommand.d.ts +5 -10
- package/dist-types/commands/GetMediaCommand.d.ts +7 -16
- package/dist-types/commands/GetPluginCommand.d.ts +5 -10
- package/dist-types/commands/GetPolicyCommand.d.ts +6 -12
- package/dist-types/commands/GetRetrieverCommand.d.ts +6 -12
- package/dist-types/commands/GetUserCommand.d.ts +7 -14
- package/dist-types/commands/GetWebExperienceCommand.d.ts +5 -10
- package/dist-types/commands/ListApplicationsCommand.d.ts +5 -15
- package/dist-types/commands/ListAttachmentsCommand.d.ts +6 -12
- package/dist-types/commands/ListConversationsCommand.d.ts +6 -12
- package/dist-types/commands/ListDataAccessorsCommand.d.ts +6 -13
- package/dist-types/commands/ListDataSourceSyncJobsCommand.d.ts +6 -12
- package/dist-types/commands/ListDataSourcesCommand.d.ts +5 -10
- package/dist-types/commands/ListDocumentsCommand.d.ts +7 -11
- package/dist-types/commands/ListGroupsCommand.d.ts +7 -13
- package/dist-types/commands/ListIndicesCommand.d.ts +5 -10
- package/dist-types/commands/ListMessagesCommand.d.ts +7 -13
- package/dist-types/commands/ListPluginActionsCommand.d.ts +6 -12
- package/dist-types/commands/ListPluginTypeActionsCommand.d.ts +5 -10
- package/dist-types/commands/ListPluginTypeMetadataCommand.d.ts +4 -8
- package/dist-types/commands/ListPluginsCommand.d.ts +5 -10
- package/dist-types/commands/ListRetrieversCommand.d.ts +5 -10
- package/dist-types/commands/ListSubscriptionsCommand.d.ts +6 -12
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +6 -12
- package/dist-types/commands/ListWebExperiencesCommand.d.ts +5 -10
- package/dist-types/commands/PutFeedbackCommand.d.ts +6 -12
- package/dist-types/commands/PutGroupCommand.d.ts +7 -23
- package/dist-types/commands/SearchRelevantContentCommand.d.ts +7 -18
- package/dist-types/commands/StartDataSourceSyncJobCommand.d.ts +7 -14
- package/dist-types/commands/StopDataSourceSyncJobCommand.d.ts +7 -14
- package/dist-types/commands/TagResourceCommand.d.ts +7 -15
- package/dist-types/commands/UntagResourceCommand.d.ts +5 -10
- package/dist-types/commands/UpdateApplicationCommand.d.ts +7 -25
- package/dist-types/commands/UpdateChatControlsConfigurationCommand.d.ts +7 -14
- package/dist-types/commands/UpdateDataAccessorCommand.d.ts +7 -15
- package/dist-types/commands/UpdateDataSourceCommand.d.ts +6 -12
- package/dist-types/commands/UpdateIndexCommand.d.ts +6 -12
- package/dist-types/commands/UpdatePluginCommand.d.ts +6 -12
- package/dist-types/commands/UpdateRetrieverCommand.d.ts +6 -12
- package/dist-types/commands/UpdateSubscriptionCommand.d.ts +7 -16
- package/dist-types/commands/UpdateUserCommand.d.ts +6 -12
- package/dist-types/commands/UpdateWebExperienceCommand.d.ts +6 -12
- package/dist-types/commands/index.d.ts +1 -0
- package/dist-types/index.d.ts +1 -39
- package/dist-types/models/models_0.d.ts +500 -1228
- package/dist-types/models/models_1.d.ts +257 -181
- package/dist-types/protocols/Aws_restJson1.d.ts +9 -0
- package/dist-types/ts3.4/QBusiness.d.ts +17 -0
- package/dist-types/ts3.4/QBusinessClient.d.ts +6 -0
- package/dist-types/ts3.4/commands/CheckDocumentAccessCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListDocumentsCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/ListGroupsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListMessagesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListPluginActionsCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +42 -51
- package/dist-types/ts3.4/models/models_1.d.ts +55 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +12 -0
- package/package.json +1 -1
|
@@ -1,11 +1,214 @@
|
|
|
1
|
-
import { ActionExecution, ActionExecutionEvent, ActionSummary, AttachmentInput, AttachmentInputEvent, AuthChallengeResponse, AuthChallengeResponseEvent, BlockedPhrasesConfigurationUpdate, ChatMode, ChatModeConfiguration, ContentSource, CreatorModeConfiguration, DocumentAttribute, EndOfInputEvent, HallucinationReductionConfiguration, MembershipType, OrchestrationControl, PluginType, ResponseScope, S3, SubscriptionDetails, SubscriptionPrincipal, SubscriptionType, Tag, TextInputEvent, TopicConfiguration, UserAlias } from "./models_0";
|
|
1
|
+
import { ActionExecution, ActionExecutionEvent, ActionReview, ActionSummary, AttachmentInput, AttachmentInputEvent, AttachmentOutput, AuthChallengeResponse, AuthChallengeResponseEvent, BlockedPhrasesConfigurationUpdate, ChatMode, ChatModeConfiguration, ContentSource, CreatorModeConfiguration, DocumentAttribute, DocumentDetails, EndOfInputEvent, HallucinationReductionConfiguration, MembershipType, OrchestrationControl, PluginType, ResponseScope, S3, SourceAttribution, SubscriptionDetails, SubscriptionPrincipal, SubscriptionType, Tag, TextInputEvent, TopicConfiguration, UserAlias } from "./models_0";
|
|
2
|
+
/**
|
|
3
|
+
* @public
|
|
4
|
+
*/
|
|
5
|
+
export interface ListDocumentsResponse {
|
|
6
|
+
/**
|
|
7
|
+
* <p>A list of document details.</p>
|
|
8
|
+
* @public
|
|
9
|
+
*/
|
|
10
|
+
documentDetailList?: DocumentDetails[] | undefined;
|
|
11
|
+
/**
|
|
12
|
+
* <p>If the <code>maxResults</code> response was incomplete because there is more data to retrieve, Amazon Q Business returns a pagination token in the response. You can use this pagination token to retrieve the next set of documents.</p>
|
|
13
|
+
* @public
|
|
14
|
+
*/
|
|
15
|
+
nextToken?: string | undefined;
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*/
|
|
20
|
+
export interface ListGroupsRequest {
|
|
21
|
+
/**
|
|
22
|
+
* <p>The identifier of the application for getting a list of groups mapped to users.</p>
|
|
23
|
+
* @public
|
|
24
|
+
*/
|
|
25
|
+
applicationId: string | undefined;
|
|
26
|
+
/**
|
|
27
|
+
* <p>The identifier of the index for getting a list of groups mapped to users.</p>
|
|
28
|
+
* @public
|
|
29
|
+
*/
|
|
30
|
+
indexId: string | undefined;
|
|
31
|
+
/**
|
|
32
|
+
* <p>The timestamp identifier used for the latest <code>PUT</code> or <code>DELETE</code> action for mapping users to their groups.</p>
|
|
33
|
+
* @public
|
|
34
|
+
*/
|
|
35
|
+
updatedEarlierThan: Date | undefined;
|
|
36
|
+
/**
|
|
37
|
+
* <p>The identifier of the data source for getting a list of groups mapped to users.</p>
|
|
38
|
+
* @public
|
|
39
|
+
*/
|
|
40
|
+
dataSourceId?: string | undefined;
|
|
41
|
+
/**
|
|
42
|
+
* <p>If the previous response was incomplete (because there is more data to retrieve), Amazon Q Business returns a pagination token in the response. You can use this pagination token to retrieve the next set of groups that are mapped to users.</p>
|
|
43
|
+
* @public
|
|
44
|
+
*/
|
|
45
|
+
nextToken?: string | undefined;
|
|
46
|
+
/**
|
|
47
|
+
* <p>The maximum number of returned groups that are mapped to users.</p>
|
|
48
|
+
* @public
|
|
49
|
+
*/
|
|
50
|
+
maxResults?: number | undefined;
|
|
51
|
+
}
|
|
52
|
+
/**
|
|
53
|
+
* <p>Summary information for groups.</p>
|
|
54
|
+
* @public
|
|
55
|
+
*/
|
|
56
|
+
export interface GroupSummary {
|
|
57
|
+
/**
|
|
58
|
+
* <p>The name of the group the summary information is for.</p>
|
|
59
|
+
* @public
|
|
60
|
+
*/
|
|
61
|
+
groupName?: string | undefined;
|
|
62
|
+
}
|
|
63
|
+
/**
|
|
64
|
+
* @public
|
|
65
|
+
*/
|
|
66
|
+
export interface ListGroupsResponse {
|
|
67
|
+
/**
|
|
68
|
+
* <p>If the response is truncated, Amazon Q Business returns this token that you can use in the subsequent request to retrieve the next set of groups that are mapped to users.</p>
|
|
69
|
+
* @public
|
|
70
|
+
*/
|
|
71
|
+
nextToken?: string | undefined;
|
|
72
|
+
/**
|
|
73
|
+
* <p>Summary information for list of groups that are mapped to users.</p>
|
|
74
|
+
* @public
|
|
75
|
+
*/
|
|
76
|
+
items?: GroupSummary[] | undefined;
|
|
77
|
+
}
|
|
78
|
+
/**
|
|
79
|
+
* @public
|
|
80
|
+
*/
|
|
81
|
+
export interface ListMessagesRequest {
|
|
82
|
+
/**
|
|
83
|
+
* <p>The identifier of the Amazon Q Business web experience conversation.</p>
|
|
84
|
+
* @public
|
|
85
|
+
*/
|
|
86
|
+
conversationId: string | undefined;
|
|
87
|
+
/**
|
|
88
|
+
* <p>The identifier for the Amazon Q Business application.</p>
|
|
89
|
+
* @public
|
|
90
|
+
*/
|
|
91
|
+
applicationId: string | undefined;
|
|
92
|
+
/**
|
|
93
|
+
* <p>The identifier of the user involved in the Amazon Q Business web experience conversation.</p>
|
|
94
|
+
* @public
|
|
95
|
+
*/
|
|
96
|
+
userId?: string | undefined;
|
|
97
|
+
/**
|
|
98
|
+
* <p>If the number of messages returned exceeds <code>maxResults</code>, Amazon Q Business returns a next token as a pagination token to retrieve the next set of messages.</p>
|
|
99
|
+
* @public
|
|
100
|
+
*/
|
|
101
|
+
nextToken?: string | undefined;
|
|
102
|
+
/**
|
|
103
|
+
* <p>The maximum number of messages to return.</p>
|
|
104
|
+
* @public
|
|
105
|
+
*/
|
|
106
|
+
maxResults?: number | undefined;
|
|
107
|
+
}
|
|
108
|
+
/**
|
|
109
|
+
* @public
|
|
110
|
+
* @enum
|
|
111
|
+
*/
|
|
112
|
+
export declare const MessageType: {
|
|
113
|
+
readonly SYSTEM: "SYSTEM";
|
|
114
|
+
readonly USER: "USER";
|
|
115
|
+
};
|
|
116
|
+
/**
|
|
117
|
+
* @public
|
|
118
|
+
*/
|
|
119
|
+
export type MessageType = (typeof MessageType)[keyof typeof MessageType];
|
|
120
|
+
/**
|
|
121
|
+
* <p>A message in an Amazon Q Business web experience.</p>
|
|
122
|
+
* @public
|
|
123
|
+
*/
|
|
124
|
+
export interface Message {
|
|
125
|
+
/**
|
|
126
|
+
* <p>The identifier of the Amazon Q Business web experience message.</p>
|
|
127
|
+
* @public
|
|
128
|
+
*/
|
|
129
|
+
messageId?: string | undefined;
|
|
130
|
+
/**
|
|
131
|
+
* <p>The content of the Amazon Q Business web experience message.</p>
|
|
132
|
+
* @public
|
|
133
|
+
*/
|
|
134
|
+
body?: string | undefined;
|
|
135
|
+
/**
|
|
136
|
+
* <p>The timestamp of the first Amazon Q Business web experience message.</p>
|
|
137
|
+
* @public
|
|
138
|
+
*/
|
|
139
|
+
time?: Date | undefined;
|
|
140
|
+
/**
|
|
141
|
+
* <p>The type of Amazon Q Business message, whether <code>HUMAN</code> or <code>AI</code> generated.</p>
|
|
142
|
+
* @public
|
|
143
|
+
*/
|
|
144
|
+
type?: MessageType | undefined;
|
|
145
|
+
/**
|
|
146
|
+
* <p>A file directly uploaded into an Amazon Q Business web experience chat.</p>
|
|
147
|
+
* @public
|
|
148
|
+
*/
|
|
149
|
+
attachments?: AttachmentOutput[] | undefined;
|
|
150
|
+
/**
|
|
151
|
+
* <p>The source documents used to generate Amazon Q Business web experience message.</p>
|
|
152
|
+
* @public
|
|
153
|
+
*/
|
|
154
|
+
sourceAttribution?: SourceAttribution[] | undefined;
|
|
155
|
+
/**
|
|
156
|
+
* <p>An output event that Amazon Q Business returns to an user who wants to perform a plugin action during a non-streaming chat conversation. It contains information about the selected action with a list of possible user input fields, some pre-populated by Amazon Q Business.</p>
|
|
157
|
+
* @public
|
|
158
|
+
*/
|
|
159
|
+
actionReview?: ActionReview | undefined;
|
|
160
|
+
/**
|
|
161
|
+
* <p>Performs an Amazon Q Business plugin action during a non-streaming chat conversation.</p>
|
|
162
|
+
* @public
|
|
163
|
+
*/
|
|
164
|
+
actionExecution?: ActionExecution | undefined;
|
|
165
|
+
}
|
|
166
|
+
/**
|
|
167
|
+
* @public
|
|
168
|
+
*/
|
|
169
|
+
export interface ListMessagesResponse {
|
|
170
|
+
/**
|
|
171
|
+
* <p>An array of information on one or more messages.</p>
|
|
172
|
+
* @public
|
|
173
|
+
*/
|
|
174
|
+
messages?: Message[] | undefined;
|
|
175
|
+
/**
|
|
176
|
+
* <p>If the response is truncated, Amazon Q Business returns this token, which you can use in a later request to list the next set of messages.</p>
|
|
177
|
+
* @public
|
|
178
|
+
*/
|
|
179
|
+
nextToken?: string | undefined;
|
|
180
|
+
}
|
|
181
|
+
/**
|
|
182
|
+
* @public
|
|
183
|
+
*/
|
|
184
|
+
export interface ListPluginActionsRequest {
|
|
185
|
+
/**
|
|
186
|
+
* <p>The identifier of the Amazon Q Business application the plugin is attached to.</p>
|
|
187
|
+
* @public
|
|
188
|
+
*/
|
|
189
|
+
applicationId: string | undefined;
|
|
190
|
+
/**
|
|
191
|
+
* <p>The identifier of the Amazon Q Business plugin.</p>
|
|
192
|
+
* @public
|
|
193
|
+
*/
|
|
194
|
+
pluginId: string | undefined;
|
|
195
|
+
/**
|
|
196
|
+
* <p>If the number of plugin actions returned exceeds <code>maxResults</code>, Amazon Q Business returns a next token as a pagination token to retrieve the next set of plugin actions.</p>
|
|
197
|
+
* @public
|
|
198
|
+
*/
|
|
199
|
+
nextToken?: string | undefined;
|
|
200
|
+
/**
|
|
201
|
+
* <p>The maximum number of plugin actions to return.</p>
|
|
202
|
+
* @public
|
|
203
|
+
*/
|
|
204
|
+
maxResults?: number | undefined;
|
|
205
|
+
}
|
|
2
206
|
/**
|
|
3
207
|
* @public
|
|
4
208
|
*/
|
|
5
209
|
export interface ListPluginActionsResponse {
|
|
6
210
|
/**
|
|
7
|
-
* <p>If the response is truncated, Amazon Q Business returns this token, which you
|
|
8
|
-
* can use in a later request to list the next set of plugin actions.</p>
|
|
211
|
+
* <p>If the response is truncated, Amazon Q Business returns this token, which you can use in a later request to list the next set of plugin actions.</p>
|
|
9
212
|
* @public
|
|
10
213
|
*/
|
|
11
214
|
nextToken?: string | undefined;
|
|
@@ -25,8 +228,7 @@ export interface ListPluginTypeActionsRequest {
|
|
|
25
228
|
*/
|
|
26
229
|
pluginType: PluginType | undefined;
|
|
27
230
|
/**
|
|
28
|
-
* <p>If the number of plugins returned exceeds <code>maxResults</code>, Amazon Q Business returns a next token as a pagination token to retrieve the next set
|
|
29
|
-
* of plugins.</p>
|
|
231
|
+
* <p>If the number of plugins returned exceeds <code>maxResults</code>, Amazon Q Business returns a next token as a pagination token to retrieve the next set of plugins.</p>
|
|
30
232
|
* @public
|
|
31
233
|
*/
|
|
32
234
|
nextToken?: string | undefined;
|
|
@@ -41,8 +243,7 @@ export interface ListPluginTypeActionsRequest {
|
|
|
41
243
|
*/
|
|
42
244
|
export interface ListPluginTypeActionsResponse {
|
|
43
245
|
/**
|
|
44
|
-
* <p>If the response is truncated, Amazon Q Business returns this token, which you
|
|
45
|
-
* can use in a later request to list the next set of plugins.</p>
|
|
246
|
+
* <p>If the response is truncated, Amazon Q Business returns this token, which you can use in a later request to list the next set of plugins.</p>
|
|
46
247
|
* @public
|
|
47
248
|
*/
|
|
48
249
|
nextToken?: string | undefined;
|
|
@@ -57,8 +258,7 @@ export interface ListPluginTypeActionsResponse {
|
|
|
57
258
|
*/
|
|
58
259
|
export interface ListPluginTypeMetadataRequest {
|
|
59
260
|
/**
|
|
60
|
-
* <p>If the metadata returned exceeds <code>maxResults</code>, Amazon Q Business
|
|
61
|
-
* returns a next token as a pagination token to retrieve the next set of metadata.</p>
|
|
261
|
+
* <p>If the metadata returned exceeds <code>maxResults</code>, Amazon Q Business returns a next token as a pagination token to retrieve the next set of metadata.</p>
|
|
62
262
|
* @public
|
|
63
263
|
*/
|
|
64
264
|
nextToken?: string | undefined;
|
|
@@ -99,8 +299,7 @@ export interface PluginTypeMetadataSummary {
|
|
|
99
299
|
*/
|
|
100
300
|
category?: PluginTypeCategory | undefined;
|
|
101
301
|
/**
|
|
102
|
-
* <p>The description assigned by Amazon Q Business to a plugin. You can't
|
|
103
|
-
* modify this value.</p>
|
|
302
|
+
* <p>The description assigned by Amazon Q Business to a plugin. You can't modify this value.</p>
|
|
104
303
|
* @public
|
|
105
304
|
*/
|
|
106
305
|
description?: string | undefined;
|
|
@@ -110,8 +309,7 @@ export interface PluginTypeMetadataSummary {
|
|
|
110
309
|
*/
|
|
111
310
|
export interface ListPluginTypeMetadataResponse {
|
|
112
311
|
/**
|
|
113
|
-
* <p>If the response is truncated, Amazon Q Business returns this token, which you
|
|
114
|
-
* can use in a later request to list the next set of plugin metadata.</p>
|
|
312
|
+
* <p>If the response is truncated, Amazon Q Business returns this token, which you can use in a later request to list the next set of plugin metadata.</p>
|
|
115
313
|
* @public
|
|
116
314
|
*/
|
|
117
315
|
nextToken?: string | undefined;
|
|
@@ -131,9 +329,7 @@ export interface ListSubscriptionsRequest {
|
|
|
131
329
|
*/
|
|
132
330
|
applicationId: string | undefined;
|
|
133
331
|
/**
|
|
134
|
-
* <p>If the <code>maxResults</code> response was incomplete because there is more data to
|
|
135
|
-
* retrieve, Amazon Q Business returns a pagination token in the response. You can use this
|
|
136
|
-
* pagination token to retrieve the next set of Amazon Q Business subscriptions.</p>
|
|
332
|
+
* <p>If the <code>maxResults</code> response was incomplete because there is more data to retrieve, Amazon Q Business returns a pagination token in the response. You can use this pagination token to retrieve the next set of Amazon Q Business subscriptions.</p>
|
|
137
333
|
* @public
|
|
138
334
|
*/
|
|
139
335
|
nextToken?: string | undefined;
|
|
@@ -144,13 +340,7 @@ export interface ListSubscriptionsRequest {
|
|
|
144
340
|
maxResults?: number | undefined;
|
|
145
341
|
}
|
|
146
342
|
/**
|
|
147
|
-
* <p>Information about an Amazon Q Business subscription.</p>
|
|
148
|
-
* <p>Subscriptions are used to provide access for an IAM Identity Center user or a group to
|
|
149
|
-
* an Amazon Q Business application.</p>
|
|
150
|
-
* <p>Amazon Q Business offers two subscription tiers: <code>Q_LITE</code> and
|
|
151
|
-
* <code>Q_BUSINESS</code>. Subscription tier determines feature access for the user.
|
|
152
|
-
* For more information on subscriptions and pricing tiers, see <a href="https://aws.amazon.com/q/business/pricing/">Amazon Q Business
|
|
153
|
-
* pricing</a>.</p>
|
|
343
|
+
* <p>Information about an Amazon Q Business subscription.</p> <p>Subscriptions are used to provide access for an IAM Identity Center user or a group to an Amazon Q Business application.</p> <p>Amazon Q Business offers two subscription tiers: <code>Q_LITE</code> and <code>Q_BUSINESS</code>. Subscription tier determines feature access for the user. For more information on subscriptions and pricing tiers, see <a href="https://aws.amazon.com/q/business/pricing/">Amazon Q Business pricing</a>.</p>
|
|
154
344
|
* @public
|
|
155
345
|
*/
|
|
156
346
|
export interface Subscription {
|
|
@@ -160,14 +350,12 @@ export interface Subscription {
|
|
|
160
350
|
*/
|
|
161
351
|
subscriptionId?: string | undefined;
|
|
162
352
|
/**
|
|
163
|
-
* <p>The Amazon Resource Name (ARN) of the Amazon Q Business subscription that was
|
|
164
|
-
* updated.</p>
|
|
353
|
+
* <p>The Amazon Resource Name (ARN) of the Amazon Q Business subscription that was updated.</p>
|
|
165
354
|
* @public
|
|
166
355
|
*/
|
|
167
356
|
subscriptionArn?: string | undefined;
|
|
168
357
|
/**
|
|
169
|
-
* <p>The IAM Identity Center <code>UserId</code> or <code>GroupId</code> of a user or group
|
|
170
|
-
* in the IAM Identity Center instance connected to the Amazon Q Business application.</p>
|
|
358
|
+
* <p>The IAM Identity Center <code>UserId</code> or <code>GroupId</code> of a user or group in the IAM Identity Center instance connected to the Amazon Q Business application.</p>
|
|
171
359
|
* @public
|
|
172
360
|
*/
|
|
173
361
|
principal?: SubscriptionPrincipal | undefined;
|
|
@@ -187,14 +375,12 @@ export interface Subscription {
|
|
|
187
375
|
*/
|
|
188
376
|
export interface ListSubscriptionsResponse {
|
|
189
377
|
/**
|
|
190
|
-
* <p>If the response is truncated, Amazon Q Business returns this token. You can use this token
|
|
191
|
-
* in a subsequent request to retrieve the next set of subscriptions.</p>
|
|
378
|
+
* <p>If the response is truncated, Amazon Q Business returns this token. You can use this token in a subsequent request to retrieve the next set of subscriptions.</p>
|
|
192
379
|
* @public
|
|
193
380
|
*/
|
|
194
381
|
nextToken?: string | undefined;
|
|
195
382
|
/**
|
|
196
|
-
* <p>An array of summary information on the subscriptions configured for an Amazon Q Business
|
|
197
|
-
* application.</p>
|
|
383
|
+
* <p>An array of summary information on the subscriptions configured for an Amazon Q Business application.</p>
|
|
198
384
|
* @public
|
|
199
385
|
*/
|
|
200
386
|
subscriptions?: Subscription[] | undefined;
|
|
@@ -204,8 +390,7 @@ export interface ListSubscriptionsResponse {
|
|
|
204
390
|
*/
|
|
205
391
|
export interface ListTagsForResourceRequest {
|
|
206
392
|
/**
|
|
207
|
-
* <p>The Amazon Resource Name (ARN) of the Amazon Q Business application or data source to get
|
|
208
|
-
* a list of tags for.</p>
|
|
393
|
+
* <p>The Amazon Resource Name (ARN) of the Amazon Q Business application or data source to get a list of tags for.</p>
|
|
209
394
|
* @public
|
|
210
395
|
*/
|
|
211
396
|
resourceARN: string | undefined;
|
|
@@ -270,8 +455,7 @@ export interface MessageUsefulnessFeedback {
|
|
|
270
455
|
*/
|
|
271
456
|
reason?: MessageUsefulnessReason | undefined;
|
|
272
457
|
/**
|
|
273
|
-
* <p>A comment given by an end user on the usefulness of an AI-generated chat
|
|
274
|
-
* message.</p>
|
|
458
|
+
* <p>A comment given by an end user on the usefulness of an AI-generated chat message.</p>
|
|
275
459
|
* @public
|
|
276
460
|
*/
|
|
277
461
|
comment?: string | undefined;
|
|
@@ -349,26 +533,22 @@ export interface MemberUser {
|
|
|
349
533
|
type?: MembershipType | undefined;
|
|
350
534
|
}
|
|
351
535
|
/**
|
|
352
|
-
* <p>A list of users or sub groups that belong to a group. This is for generating
|
|
353
|
-
* Amazon Q Business chat results only from document a user has access to.</p>
|
|
536
|
+
* <p>A list of users or sub groups that belong to a group. This is for generating Amazon Q Business chat results only from document a user has access to.</p>
|
|
354
537
|
* @public
|
|
355
538
|
*/
|
|
356
539
|
export interface GroupMembers {
|
|
357
540
|
/**
|
|
358
|
-
* <p>A list of sub groups that belong to a group. For example, the sub groups "Research",
|
|
359
|
-
* "Engineering", and "Sales and Marketing" all belong to the group "Company".</p>
|
|
541
|
+
* <p>A list of sub groups that belong to a group. For example, the sub groups "Research", "Engineering", and "Sales and Marketing" all belong to the group "Company".</p>
|
|
360
542
|
* @public
|
|
361
543
|
*/
|
|
362
544
|
memberGroups?: MemberGroup[] | undefined;
|
|
363
545
|
/**
|
|
364
|
-
* <p>A list of users that belong to a group. For example, a list of interns all belong to
|
|
365
|
-
* the "Interns" group.</p>
|
|
546
|
+
* <p>A list of users that belong to a group. For example, a list of interns all belong to the "Interns" group.</p>
|
|
366
547
|
* @public
|
|
367
548
|
*/
|
|
368
549
|
memberUsers?: MemberUser[] | undefined;
|
|
369
550
|
/**
|
|
370
|
-
* <p>Information required for Amazon Q Business to find a specific file in an Amazon S3
|
|
371
|
-
* bucket.</p>
|
|
551
|
+
* <p>Information required for Amazon Q Business to find a specific file in an Amazon S3 bucket.</p>
|
|
372
552
|
* @public
|
|
373
553
|
*/
|
|
374
554
|
s3PathForGroupMembers?: S3 | undefined;
|
|
@@ -388,19 +568,12 @@ export interface PutGroupRequest {
|
|
|
388
568
|
*/
|
|
389
569
|
indexId: string | undefined;
|
|
390
570
|
/**
|
|
391
|
-
* <p>The list that contains your users or sub groups that belong the same group. For
|
|
392
|
-
* example, the group "Company" includes the user "CEO" and the sub groups "Research",
|
|
393
|
-
* "Engineering", and "Sales and Marketing".</p>
|
|
571
|
+
* <p>The list that contains your users or sub groups that belong the same group. For example, the group "Company" includes the user "CEO" and the sub groups "Research", "Engineering", and "Sales and Marketing".</p>
|
|
394
572
|
* @public
|
|
395
573
|
*/
|
|
396
574
|
groupName: string | undefined;
|
|
397
575
|
/**
|
|
398
|
-
* <p>The identifier of the data source for which you want to map users to their groups.
|
|
399
|
-
* This is useful if a group is tied to multiple data sources, but you only want the group
|
|
400
|
-
* to access documents of a certain data source. For example, the groups "Research",
|
|
401
|
-
* "Engineering", and "Sales and Marketing" are all tied to the company's documents stored
|
|
402
|
-
* in the data sources Confluence and Salesforce. However, "Sales and Marketing" team only
|
|
403
|
-
* needs access to customer-related documents stored in Salesforce.</p>
|
|
576
|
+
* <p>The identifier of the data source for which you want to map users to their groups. This is useful if a group is tied to multiple data sources, but you only want the group to access documents of a certain data source. For example, the groups "Research", "Engineering", and "Sales and Marketing" are all tied to the company's documents stored in the data sources Confluence and Salesforce. However, "Sales and Marketing" team only needs access to customer-related documents stored in Salesforce.</p>
|
|
404
577
|
* @public
|
|
405
578
|
*/
|
|
406
579
|
dataSourceId?: string | undefined;
|
|
@@ -410,14 +583,12 @@ export interface PutGroupRequest {
|
|
|
410
583
|
*/
|
|
411
584
|
type: MembershipType | undefined;
|
|
412
585
|
/**
|
|
413
|
-
* <p>A list of users or sub groups that belong to a group. This is for generating
|
|
414
|
-
* Amazon Q Business chat results only from document a user has access to.</p>
|
|
586
|
+
* <p>A list of users or sub groups that belong to a group. This is for generating Amazon Q Business chat results only from document a user has access to.</p>
|
|
415
587
|
* @public
|
|
416
588
|
*/
|
|
417
589
|
groupMembers: GroupMembers | undefined;
|
|
418
590
|
/**
|
|
419
|
-
* <p>The Amazon Resource Name (ARN) of an IAM role that has access to the S3 file that contains
|
|
420
|
-
* your list of users that belong to a group.</p>
|
|
591
|
+
* <p>The Amazon Resource Name (ARN) of an IAM role that has access to the S3 file that contains your list of users that belong to a group.</p>
|
|
421
592
|
* @public
|
|
422
593
|
*/
|
|
423
594
|
roleArn?: string | undefined;
|
|
@@ -544,8 +715,7 @@ export interface StopDataSourceSyncJobRequest {
|
|
|
544
715
|
*/
|
|
545
716
|
dataSourceId: string | undefined;
|
|
546
717
|
/**
|
|
547
|
-
* <p>The identifier of the Amazon Q Business application that the data source is connected
|
|
548
|
-
* to.</p>
|
|
718
|
+
* <p>The identifier of the Amazon Q Business application that the data source is connected to.</p>
|
|
549
719
|
* @public
|
|
550
720
|
*/
|
|
551
721
|
applicationId: string | undefined;
|
|
@@ -565,14 +735,12 @@ export interface StopDataSourceSyncJobResponse {
|
|
|
565
735
|
*/
|
|
566
736
|
export interface TagResourceRequest {
|
|
567
737
|
/**
|
|
568
|
-
* <p>The Amazon Resource Name (ARN) of the Amazon Q Business application or data source to
|
|
569
|
-
* tag.</p>
|
|
738
|
+
* <p>The Amazon Resource Name (ARN) of the Amazon Q Business application or data source to tag.</p>
|
|
570
739
|
* @public
|
|
571
740
|
*/
|
|
572
741
|
resourceARN: string | undefined;
|
|
573
742
|
/**
|
|
574
|
-
* <p>A list of tag keys to add to the Amazon Q Business application or data source. If a tag
|
|
575
|
-
* already exists, the existing value is replaced with the new value.</p>
|
|
743
|
+
* <p>A list of tag keys to add to the Amazon Q Business application or data source. If a tag already exists, the existing value is replaced with the new value.</p>
|
|
576
744
|
* @public
|
|
577
745
|
*/
|
|
578
746
|
tags: Tag[] | undefined;
|
|
@@ -587,14 +755,12 @@ export interface TagResourceResponse {
|
|
|
587
755
|
*/
|
|
588
756
|
export interface UntagResourceRequest {
|
|
589
757
|
/**
|
|
590
|
-
* <p>The Amazon Resource Name (ARN) of the Amazon Q Business application, or data source to
|
|
591
|
-
* remove the tag from.</p>
|
|
758
|
+
* <p>The Amazon Resource Name (ARN) of the Amazon Q Business application, or data source to remove the tag from.</p>
|
|
592
759
|
* @public
|
|
593
760
|
*/
|
|
594
761
|
resourceARN: string | undefined;
|
|
595
762
|
/**
|
|
596
|
-
* <p>A list of tag keys to remove from the Amazon Q Business application or data source. If a
|
|
597
|
-
* tag key does not exist on the resource, it is ignored.</p>
|
|
763
|
+
* <p>A list of tag keys to remove from the Amazon Q Business application or data source. If a tag key does not exist on the resource, it is ignored.</p>
|
|
598
764
|
* @public
|
|
599
765
|
*/
|
|
600
766
|
tagKeys: string[] | undefined;
|
|
@@ -605,18 +771,12 @@ export interface UntagResourceRequest {
|
|
|
605
771
|
export interface UntagResourceResponse {
|
|
606
772
|
}
|
|
607
773
|
/**
|
|
608
|
-
* <p>Configuration information required to enable chat orchestration for your Amazon Q Business
|
|
609
|
-
* application.</p>
|
|
610
|
-
* <note>
|
|
611
|
-
* <p>Chat orchestration is optimized to work for English language content. For more
|
|
612
|
-
* details on language support in Amazon Q Business, see <a href="https://docs.aws.amazon.com/amazonq/latest/qbusiness-ug/supported-languages.html">Supported languages</a>.</p>
|
|
613
|
-
* </note>
|
|
774
|
+
* <p>Configuration information required to enable chat orchestration for your Amazon Q Business application.</p> <note> <p>Chat orchestration is optimized to work for English language content. For more details on language support in Amazon Q Business, see <a href="https://docs.aws.amazon.com/amazonq/latest/qbusiness-ug/supported-languages.html">Supported languages</a>.</p> </note>
|
|
614
775
|
* @public
|
|
615
776
|
*/
|
|
616
777
|
export interface OrchestrationConfiguration {
|
|
617
778
|
/**
|
|
618
|
-
* <p> Status information about whether chat orchestration is activated or deactivated for
|
|
619
|
-
* your Amazon Q Business application.</p>
|
|
779
|
+
* <p> Status information about whether chat orchestration is activated or deactivated for your Amazon Q Business application.</p>
|
|
620
780
|
* @public
|
|
621
781
|
*/
|
|
622
782
|
control: OrchestrationControl | undefined;
|
|
@@ -631,16 +791,12 @@ export interface UpdateChatControlsConfigurationRequest {
|
|
|
631
791
|
*/
|
|
632
792
|
applicationId: string | undefined;
|
|
633
793
|
/**
|
|
634
|
-
* <p>A token that you provide to identify the request to update a Amazon Q Business application
|
|
635
|
-
* chat configuration.</p>
|
|
794
|
+
* <p>A token that you provide to identify the request to update a Amazon Q Business application chat configuration.</p>
|
|
636
795
|
* @public
|
|
637
796
|
*/
|
|
638
797
|
clientToken?: string | undefined;
|
|
639
798
|
/**
|
|
640
|
-
* <p>The response scope configured for your application. This determines whether your
|
|
641
|
-
* application uses its retrieval augmented generation (RAG) system to generate answers
|
|
642
|
-
* only from your enterprise data, or also uses the large language models (LLM) knowledge
|
|
643
|
-
* to respons to end user questions in chat.</p>
|
|
799
|
+
* <p>The response scope configured for your application. This determines whether your application uses its retrieval augmented generation (RAG) system to generate answers only from your enterprise data, or also uses the large language models (LLM) knowledge to respons to end user questions in chat.</p>
|
|
644
800
|
* @public
|
|
645
801
|
*/
|
|
646
802
|
responseScope?: ResponseScope | undefined;
|
|
@@ -685,8 +841,7 @@ export interface UpdateChatControlsConfigurationResponse {
|
|
|
685
841
|
*/
|
|
686
842
|
export interface UpdateSubscriptionRequest {
|
|
687
843
|
/**
|
|
688
|
-
* <p>The identifier of the Amazon Q Business application where the subscription update should
|
|
689
|
-
* take effect.</p>
|
|
844
|
+
* <p>The identifier of the Amazon Q Business application where the subscription update should take effect.</p>
|
|
690
845
|
* @public
|
|
691
846
|
*/
|
|
692
847
|
applicationId: string | undefined;
|
|
@@ -706,8 +861,7 @@ export interface UpdateSubscriptionRequest {
|
|
|
706
861
|
*/
|
|
707
862
|
export interface UpdateSubscriptionResponse {
|
|
708
863
|
/**
|
|
709
|
-
* <p>The Amazon Resource Name (ARN) of the Amazon Q Business subscription that was
|
|
710
|
-
* updated.</p>
|
|
864
|
+
* <p>The Amazon Resource Name (ARN) of the Amazon Q Business subscription that was updated.</p>
|
|
711
865
|
* @public
|
|
712
866
|
*/
|
|
713
867
|
subscriptionArn?: string | undefined;
|
|
@@ -788,52 +942,37 @@ export interface AttributeFilter {
|
|
|
788
942
|
*/
|
|
789
943
|
notFilter?: AttributeFilter | undefined;
|
|
790
944
|
/**
|
|
791
|
-
* <p>Performs an equals operation on two document attributes or metadata fields. Supported
|
|
792
|
-
* for the following <a href="https://docs.aws.amazon.com/amazonq/latest/api-reference/API_DocumentAttributeValue.html">document attribute value types</a>: <code>dateValue</code>,
|
|
793
|
-
* <code>longValue</code>, <code>stringListValue</code> and
|
|
794
|
-
* <code>stringValue</code>.</p>
|
|
945
|
+
* <p>Performs an equals operation on two document attributes or metadata fields. Supported for the following <a href="https://docs.aws.amazon.com/amazonq/latest/api-reference/API_DocumentAttributeValue.html">document attribute value types</a>: <code>dateValue</code>, <code>longValue</code>, <code>stringListValue</code> and <code>stringValue</code>.</p>
|
|
795
946
|
* @public
|
|
796
947
|
*/
|
|
797
948
|
equalsTo?: DocumentAttribute | undefined;
|
|
798
949
|
/**
|
|
799
|
-
* <p>Returns <code>true</code> when a document contains all the specified document
|
|
800
|
-
* attributes or metadata fields. Supported for the following <a href="https://docs.aws.amazon.com/amazonq/latest/api-reference/API_DocumentAttributeValue.html">document attribute value types</a>:
|
|
801
|
-
* <code>stringListValue</code>.</p>
|
|
950
|
+
* <p>Returns <code>true</code> when a document contains all the specified document attributes or metadata fields. Supported for the following <a href="https://docs.aws.amazon.com/amazonq/latest/api-reference/API_DocumentAttributeValue.html">document attribute value types</a>: <code>stringListValue</code>.</p>
|
|
802
951
|
* @public
|
|
803
952
|
*/
|
|
804
953
|
containsAll?: DocumentAttribute | undefined;
|
|
805
954
|
/**
|
|
806
|
-
* <p>Returns <code>true</code> when a document contains any of the specified document
|
|
807
|
-
* attributes or metadata fields. Supported for the following <a href="https://docs.aws.amazon.com/amazonq/latest/api-reference/API_DocumentAttributeValue.html">document attribute value types</a>:
|
|
808
|
-
* <code>stringListValue</code>.</p>
|
|
955
|
+
* <p>Returns <code>true</code> when a document contains any of the specified document attributes or metadata fields. Supported for the following <a href="https://docs.aws.amazon.com/amazonq/latest/api-reference/API_DocumentAttributeValue.html">document attribute value types</a>: <code>stringListValue</code>.</p>
|
|
809
956
|
* @public
|
|
810
957
|
*/
|
|
811
958
|
containsAny?: DocumentAttribute | undefined;
|
|
812
959
|
/**
|
|
813
|
-
* <p>Performs a greater than operation on two document attributes or metadata fields.
|
|
814
|
-
* Supported for the following <a href="https://docs.aws.amazon.com/amazonq/latest/api-reference/API_DocumentAttributeValue.html">document attribute value types</a>: <code>dateValue</code>
|
|
815
|
-
* and <code>longValue</code>.</p>
|
|
960
|
+
* <p>Performs a greater than operation on two document attributes or metadata fields. Supported for the following <a href="https://docs.aws.amazon.com/amazonq/latest/api-reference/API_DocumentAttributeValue.html">document attribute value types</a>: <code>dateValue</code> and <code>longValue</code>.</p>
|
|
816
961
|
* @public
|
|
817
962
|
*/
|
|
818
963
|
greaterThan?: DocumentAttribute | undefined;
|
|
819
964
|
/**
|
|
820
|
-
* <p>Performs a greater or equals than operation on two document attributes or metadata
|
|
821
|
-
* fields. Supported for the following <a href="https://docs.aws.amazon.com/amazonq/latest/api-reference/API_DocumentAttributeValue.html">document attribute value types</a>: <code>dateValue</code>
|
|
822
|
-
* and <code>longValue</code>. </p>
|
|
965
|
+
* <p>Performs a greater or equals than operation on two document attributes or metadata fields. Supported for the following <a href="https://docs.aws.amazon.com/amazonq/latest/api-reference/API_DocumentAttributeValue.html">document attribute value types</a>: <code>dateValue</code> and <code>longValue</code>. </p>
|
|
823
966
|
* @public
|
|
824
967
|
*/
|
|
825
968
|
greaterThanOrEquals?: DocumentAttribute | undefined;
|
|
826
969
|
/**
|
|
827
|
-
* <p>Performs a less than operation on two document attributes or metadata fields.
|
|
828
|
-
* Supported for the following <a href="https://docs.aws.amazon.com/amazonq/latest/api-reference/API_DocumentAttributeValue.html">document attribute value types</a>: <code>dateValue</code>
|
|
829
|
-
* and <code>longValue</code>.</p>
|
|
970
|
+
* <p>Performs a less than operation on two document attributes or metadata fields. Supported for the following <a href="https://docs.aws.amazon.com/amazonq/latest/api-reference/API_DocumentAttributeValue.html">document attribute value types</a>: <code>dateValue</code> and <code>longValue</code>.</p>
|
|
830
971
|
* @public
|
|
831
972
|
*/
|
|
832
973
|
lessThan?: DocumentAttribute | undefined;
|
|
833
974
|
/**
|
|
834
|
-
* <p>Performs a less than or equals operation on two document attributes or metadata
|
|
835
|
-
* fields.Supported for the following <a href="https://docs.aws.amazon.com/amazonq/latest/api-reference/API_DocumentAttributeValue.html">document attribute value type</a>: <code>dateValue</code>
|
|
836
|
-
* and <code>longValue</code>. </p>
|
|
975
|
+
* <p>Performs a less than or equals operation on two document attributes or metadata fields.Supported for the following <a href="https://docs.aws.amazon.com/amazonq/latest/api-reference/API_DocumentAttributeValue.html">document attribute value type</a>: <code>dateValue</code> and <code>longValue</code>. </p>
|
|
837
976
|
* @public
|
|
838
977
|
*/
|
|
839
978
|
lessThanOrEquals?: DocumentAttribute | undefined;
|
|
@@ -854,8 +993,7 @@ export interface ActionFilterConfiguration {
|
|
|
854
993
|
*/
|
|
855
994
|
export interface ChatSyncInput {
|
|
856
995
|
/**
|
|
857
|
-
* <p>The identifier of the Amazon Q Business application linked to the Amazon Q Business
|
|
858
|
-
* conversation.</p>
|
|
996
|
+
* <p>The identifier of the Amazon Q Business application linked to the Amazon Q Business conversation.</p>
|
|
859
997
|
* @public
|
|
860
998
|
*/
|
|
861
999
|
applicationId: string | undefined;
|
|
@@ -875,8 +1013,7 @@ export interface ChatSyncInput {
|
|
|
875
1013
|
*/
|
|
876
1014
|
userMessage?: string | undefined;
|
|
877
1015
|
/**
|
|
878
|
-
* <p>A list of files uploaded directly during chat. You can upload a maximum of 5 files of
|
|
879
|
-
* upto 10 MB each.</p>
|
|
1016
|
+
* <p>A list of files uploaded directly during chat. You can upload a maximum of 5 files of upto 10 MB each.</p>
|
|
880
1017
|
* @public
|
|
881
1018
|
*/
|
|
882
1019
|
attachments?: AttachmentInput[] | undefined;
|
|
@@ -886,8 +1023,7 @@ export interface ChatSyncInput {
|
|
|
886
1023
|
*/
|
|
887
1024
|
actionExecution?: ActionExecution | undefined;
|
|
888
1025
|
/**
|
|
889
|
-
* <p>An authentication verification event response by a third party authentication server
|
|
890
|
-
* to Amazon Q Business.</p>
|
|
1026
|
+
* <p>An authentication verification event response by a third party authentication server to Amazon Q Business.</p>
|
|
891
1027
|
* @public
|
|
892
1028
|
*/
|
|
893
1029
|
authChallengeResponse?: AuthChallengeResponse | undefined;
|
|
@@ -902,44 +1038,12 @@ export interface ChatSyncInput {
|
|
|
902
1038
|
*/
|
|
903
1039
|
parentMessageId?: string | undefined;
|
|
904
1040
|
/**
|
|
905
|
-
* <p>Enables filtering of Amazon Q Business web experience responses based on document
|
|
906
|
-
* attributes or metadata fields.</p>
|
|
1041
|
+
* <p>Enables filtering of Amazon Q Business web experience responses based on document attributes or metadata fields.</p>
|
|
907
1042
|
* @public
|
|
908
1043
|
*/
|
|
909
1044
|
attributeFilter?: AttributeFilter | undefined;
|
|
910
1045
|
/**
|
|
911
|
-
* <p>The <code>chatMode</code> parameter determines the chat modes available to
|
|
912
|
-
* Amazon Q Business users:</p>
|
|
913
|
-
* <ul>
|
|
914
|
-
* <li>
|
|
915
|
-
* <p>
|
|
916
|
-
* <code>RETRIEVAL_MODE</code> - If you choose this mode, Amazon Q generates responses solely from the data sources connected and
|
|
917
|
-
* indexed by the application. If an answer is not found in the data sources or
|
|
918
|
-
* there are no data sources available, Amazon Q will respond with a
|
|
919
|
-
* "<i>No Answer Found</i>" message, unless LLM knowledge has
|
|
920
|
-
* been enabled. In that case, Amazon Q will generate a response from
|
|
921
|
-
* the LLM knowledge</p>
|
|
922
|
-
* </li>
|
|
923
|
-
* <li>
|
|
924
|
-
* <p>
|
|
925
|
-
* <code>CREATOR_MODE</code> - By selecting this mode, you can choose to generate
|
|
926
|
-
* responses only from the LLM knowledge. You can also attach files and have Amazon Q
|
|
927
|
-
* generate a response based on the data in those files.
|
|
928
|
-
* If the attached files do not contain an answer for the query, Amazon Q
|
|
929
|
-
* will automatically fall back to generating a response from the LLM knowledge.</p>
|
|
930
|
-
* </li>
|
|
931
|
-
* <li>
|
|
932
|
-
* <p>
|
|
933
|
-
* <code>PLUGIN_MODE</code> - By selecting this mode, users can choose to
|
|
934
|
-
* use plugins in chat to get their responses.</p>
|
|
935
|
-
* </li>
|
|
936
|
-
* </ul>
|
|
937
|
-
* <note>
|
|
938
|
-
* <p>If none of the modes are selected, Amazon Q will only respond using the information
|
|
939
|
-
* from the attached files.</p>
|
|
940
|
-
* </note>
|
|
941
|
-
* <p>For more information, see <a href="https://docs.aws.amazon.com/amazonq/latest/qbusiness-ug/guardrails.html">Admin controls and guardrails</a>, <a href="https://docs.aws.amazon.com/amazonq/latest/qbusiness-ug/plugins.html">Plugins</a>,
|
|
942
|
-
* and <a href="https://docs.aws.amazon.com/amazonq/latest/business-use-dg/using-web-experience.html#chat-source-scope">Response sources</a>.</p>
|
|
1046
|
+
* <p>The <code>chatMode</code> parameter determines the chat modes available to Amazon Q Business users:</p> <ul> <li> <p> <code>RETRIEVAL_MODE</code> - If you choose this mode, Amazon Q generates responses solely from the data sources connected and indexed by the application. If an answer is not found in the data sources or there are no data sources available, Amazon Q will respond with a "<i>No Answer Found</i>" message, unless LLM knowledge has been enabled. In that case, Amazon Q will generate a response from the LLM knowledge</p> </li> <li> <p> <code>CREATOR_MODE</code> - By selecting this mode, you can choose to generate responses only from the LLM knowledge. You can also attach files and have Amazon Q generate a response based on the data in those files. If the attached files do not contain an answer for the query, Amazon Q will automatically fall back to generating a response from the LLM knowledge.</p> </li> <li> <p> <code>PLUGIN_MODE</code> - By selecting this mode, users can choose to use plugins in chat to get their responses.</p> </li> </ul> <note> <p>If none of the modes are selected, Amazon Q will only respond using the information from the attached files.</p> </note> <p>For more information, see <a href="https://docs.aws.amazon.com/amazonq/latest/qbusiness-ug/guardrails.html">Admin controls and guardrails</a>, <a href="https://docs.aws.amazon.com/amazonq/latest/qbusiness-ug/plugins.html">Plugins</a>, and <a href="https://docs.aws.amazon.com/amazonq/latest/business-use-dg/using-web-experience.html#chat-source-scope">Response sources</a>.</p>
|
|
943
1047
|
* @public
|
|
944
1048
|
*/
|
|
945
1049
|
chatMode?: ChatMode | undefined;
|
|
@@ -955,41 +1059,17 @@ export interface ChatSyncInput {
|
|
|
955
1059
|
clientToken?: string | undefined;
|
|
956
1060
|
}
|
|
957
1061
|
/**
|
|
958
|
-
* <p>A configuration event activated by an end user request to select a specific chat
|
|
959
|
-
* mode.</p>
|
|
1062
|
+
* <p>A configuration event activated by an end user request to select a specific chat mode.</p>
|
|
960
1063
|
* @public
|
|
961
1064
|
*/
|
|
962
1065
|
export interface ConfigurationEvent {
|
|
963
1066
|
/**
|
|
964
|
-
* <p>The chat modes available to an Amazon Q Business end user.</p>
|
|
965
|
-
* <ul>
|
|
966
|
-
* <li>
|
|
967
|
-
* <p>
|
|
968
|
-
* <code>RETRIEVAL_MODE</code> - The default chat mode for an
|
|
969
|
-
* Amazon Q Business application. When this mode is enabled, Amazon Q Business generates
|
|
970
|
-
* responses only from data sources connected to an Amazon Q Business
|
|
971
|
-
* application.</p>
|
|
972
|
-
* </li>
|
|
973
|
-
* <li>
|
|
974
|
-
* <p>
|
|
975
|
-
* <code>CREATOR_MODE</code> - By selecting this mode, users can choose to
|
|
976
|
-
* generate responses only from the LLM knowledge, without consulting connected
|
|
977
|
-
* data sources, for a chat request.</p>
|
|
978
|
-
* </li>
|
|
979
|
-
* <li>
|
|
980
|
-
* <p>
|
|
981
|
-
* <code>PLUGIN_MODE</code> - By selecting this mode, users can choose to
|
|
982
|
-
* use plugins in chat.</p>
|
|
983
|
-
* </li>
|
|
984
|
-
* </ul>
|
|
985
|
-
* <p>For more information, see <a href="https://docs.aws.amazon.com/amazonq/latest/qbusiness-ug/guardrails.html">Admin controls and guardrails</a>, <a href="https://docs.aws.amazon.com/amazonq/latest/qbusiness-ug/plugins.html">Plugins</a>,
|
|
986
|
-
* and <a href="https://docs.aws.amazon.com/amazonq/latest/business-use-dg/using-web-experience.html#chat-source-scope">Conversation settings</a>.</p>
|
|
1067
|
+
* <p>The chat modes available to an Amazon Q Business end user.</p> <ul> <li> <p> <code>RETRIEVAL_MODE</code> - The default chat mode for an Amazon Q Business application. When this mode is enabled, Amazon Q Business generates responses only from data sources connected to an Amazon Q Business application.</p> </li> <li> <p> <code>CREATOR_MODE</code> - By selecting this mode, users can choose to generate responses only from the LLM knowledge, without consulting connected data sources, for a chat request.</p> </li> <li> <p> <code>PLUGIN_MODE</code> - By selecting this mode, users can choose to use plugins in chat.</p> </li> </ul> <p>For more information, see <a href="https://docs.aws.amazon.com/amazonq/latest/qbusiness-ug/guardrails.html">Admin controls and guardrails</a>, <a href="https://docs.aws.amazon.com/amazonq/latest/qbusiness-ug/plugins.html">Plugins</a>, and <a href="https://docs.aws.amazon.com/amazonq/latest/business-use-dg/using-web-experience.html#chat-source-scope">Conversation settings</a>.</p>
|
|
987
1068
|
* @public
|
|
988
1069
|
*/
|
|
989
1070
|
chatMode?: ChatMode | undefined;
|
|
990
1071
|
/**
|
|
991
|
-
* <p>Configuration information for Amazon Q Business conversation modes.</p>
|
|
992
|
-
* <p>For more information, see <a href="https://docs.aws.amazon.com/amazonq/latest/qbusiness-ug/guardrails.html">Admin controls and guardrails</a> and <a href="https://docs.aws.amazon.com/amazonq/latest/business-use-dg/using-web-experience.html#chat-source-scope">Conversation settings</a>.</p>
|
|
1072
|
+
* <p>Configuration information for Amazon Q Business conversation modes.</p> <p>For more information, see <a href="https://docs.aws.amazon.com/amazonq/latest/qbusiness-ug/guardrails.html">Admin controls and guardrails</a> and <a href="https://docs.aws.amazon.com/amazonq/latest/business-use-dg/using-web-experience.html#chat-source-scope">Conversation settings</a>.</p>
|
|
993
1073
|
* @public
|
|
994
1074
|
*/
|
|
995
1075
|
chatModeConfiguration?: ChatModeConfiguration | undefined;
|
|
@@ -1060,8 +1140,7 @@ export type ChatInputStream = ChatInputStream.ActionExecutionEventMember | ChatI
|
|
|
1060
1140
|
*/
|
|
1061
1141
|
export declare namespace ChatInputStream {
|
|
1062
1142
|
/**
|
|
1063
|
-
* <p>A configuration event activated by an end user request to select a specific chat
|
|
1064
|
-
* mode.</p>
|
|
1143
|
+
* <p>A configuration event activated by an end user request to select a specific chat mode.</p>
|
|
1065
1144
|
* @public
|
|
1066
1145
|
*/
|
|
1067
1146
|
interface ConfigurationEventMember {
|
|
@@ -1074,8 +1153,7 @@ export declare namespace ChatInputStream {
|
|
|
1074
1153
|
$unknown?: never;
|
|
1075
1154
|
}
|
|
1076
1155
|
/**
|
|
1077
|
-
* <p>Information about the payload of the <code>ChatInputStream</code> event containing the
|
|
1078
|
-
* end user message input.</p>
|
|
1156
|
+
* <p>Information about the payload of the <code>ChatInputStream</code> event containing the end user message input.</p>
|
|
1079
1157
|
* @public
|
|
1080
1158
|
*/
|
|
1081
1159
|
interface TextEventMember {
|
|
@@ -1127,8 +1205,7 @@ export declare namespace ChatInputStream {
|
|
|
1127
1205
|
$unknown?: never;
|
|
1128
1206
|
}
|
|
1129
1207
|
/**
|
|
1130
|
-
* <p>An authentication verification event response by a third party authentication server
|
|
1131
|
-
* to Amazon Q Business.</p>
|
|
1208
|
+
* <p>An authentication verification event response by a third party authentication server to Amazon Q Business.</p>
|
|
1132
1209
|
* @public
|
|
1133
1210
|
*/
|
|
1134
1211
|
interface AuthChallengeResponseEventMember {
|
|
@@ -1168,8 +1245,7 @@ export declare namespace ChatInputStream {
|
|
|
1168
1245
|
*/
|
|
1169
1246
|
export interface ChatInput {
|
|
1170
1247
|
/**
|
|
1171
|
-
* <p>The identifier of the Amazon Q Business application linked to a streaming Amazon Q Business
|
|
1172
|
-
* conversation.</p>
|
|
1248
|
+
* <p>The identifier of the Amazon Q Business application linked to a streaming Amazon Q Business conversation.</p>
|
|
1173
1249
|
* @public
|
|
1174
1250
|
*/
|
|
1175
1251
|
applicationId: string | undefined;
|