@aws-sdk/client-qbusiness 3.840.0 → 3.844.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.
Files changed (52) hide show
  1. package/README.md +40 -0
  2. package/dist-cjs/index.js +309 -27
  3. package/dist-es/QBusiness.js +10 -0
  4. package/dist-es/commands/CreateChatResponseConfigurationCommand.js +22 -0
  5. package/dist-es/commands/DeleteChatResponseConfigurationCommand.js +22 -0
  6. package/dist-es/commands/GetChatResponseConfigurationCommand.js +22 -0
  7. package/dist-es/commands/ListChatResponseConfigurationsCommand.js +22 -0
  8. package/dist-es/commands/UpdateChatResponseConfigurationCommand.js +22 -0
  9. package/dist-es/commands/index.js +5 -0
  10. package/dist-es/models/models_0.js +16 -19
  11. package/dist-es/models/models_1.js +20 -0
  12. package/dist-es/pagination/ListChatResponseConfigurationsPaginator.js +4 -0
  13. package/dist-es/pagination/index.js +1 -0
  14. package/dist-es/protocols/Aws_restJson1.js +166 -2
  15. package/dist-types/QBusiness.d.ts +35 -0
  16. package/dist-types/QBusinessClient.d.ts +7 -2
  17. package/dist-types/commands/CreateChatResponseConfigurationCommand.d.ts +116 -0
  18. package/dist-types/commands/CreateRetrieverCommand.d.ts +6 -5
  19. package/dist-types/commands/DeleteChatResponseConfigurationCommand.d.ts +89 -0
  20. package/dist-types/commands/GetChatResponseConfigurationCommand.d.ts +137 -0
  21. package/dist-types/commands/GetGroupCommand.d.ts +1 -1
  22. package/dist-types/commands/GetMediaCommand.d.ts +1 -1
  23. package/dist-types/commands/GetPolicyCommand.d.ts +1 -1
  24. package/dist-types/commands/GetRetrieverCommand.d.ts +6 -5
  25. package/dist-types/commands/GetUserCommand.d.ts +1 -2
  26. package/dist-types/commands/ListChatResponseConfigurationsCommand.d.ts +100 -0
  27. package/dist-types/commands/UpdateChatResponseConfigurationCommand.d.ts +105 -0
  28. package/dist-types/commands/UpdateRetrieverCommand.d.ts +6 -5
  29. package/dist-types/commands/index.d.ts +5 -0
  30. package/dist-types/models/models_0.d.ts +245 -177
  31. package/dist-types/models/models_1.d.ts +286 -1
  32. package/dist-types/pagination/ListChatResponseConfigurationsPaginator.d.ts +7 -0
  33. package/dist-types/pagination/index.d.ts +1 -0
  34. package/dist-types/protocols/Aws_restJson1.d.ts +45 -0
  35. package/dist-types/ts3.4/QBusiness.d.ts +85 -0
  36. package/dist-types/ts3.4/QBusinessClient.d.ts +30 -0
  37. package/dist-types/ts3.4/commands/CreateChatResponseConfigurationCommand.d.ts +51 -0
  38. package/dist-types/ts3.4/commands/DeleteChatResponseConfigurationCommand.d.ts +51 -0
  39. package/dist-types/ts3.4/commands/GetChatResponseConfigurationCommand.d.ts +51 -0
  40. package/dist-types/ts3.4/commands/GetGroupCommand.d.ts +1 -1
  41. package/dist-types/ts3.4/commands/GetMediaCommand.d.ts +1 -1
  42. package/dist-types/ts3.4/commands/GetPolicyCommand.d.ts +1 -1
  43. package/dist-types/ts3.4/commands/GetUserCommand.d.ts +1 -2
  44. package/dist-types/ts3.4/commands/ListChatResponseConfigurationsCommand.d.ts +51 -0
  45. package/dist-types/ts3.4/commands/UpdateChatResponseConfigurationCommand.d.ts +51 -0
  46. package/dist-types/ts3.4/commands/index.d.ts +5 -0
  47. package/dist-types/ts3.4/models/models_0.d.ts +71 -51
  48. package/dist-types/ts3.4/models/models_1.d.ts +88 -0
  49. package/dist-types/ts3.4/pagination/ListChatResponseConfigurationsPaginator.d.ts +11 -0
  50. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  51. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +60 -0
  52. package/package.json +14 -14
@@ -1,4 +1,219 @@
1
- import { ActionExecution, ActionExecutionEvent, ActionReview, ActionSummary, Attachment, AttachmentInput, AttachmentInputEvent, AttachmentOutput, AuthChallengeResponse, AuthChallengeResponseEvent, BlockedPhrasesConfigurationUpdate, ChatMode, ChatModeConfiguration, ContentSource, Conversation, CreatorModeConfiguration, DataAccessorAuthenticationDetail, DataSourceSyncJob, DataSourceSyncJobStatus, DocumentAttribute, DocumentDetails, EndOfInputEvent, HallucinationReductionConfiguration, MembershipType, OrchestrationControl, PluginType, ResponseScope, S3, SourceAttribution, SubscriptionDetails, SubscriptionPrincipal, SubscriptionType, Tag, TextInputEvent, TopicConfiguration, UserAlias } from "./models_0";
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
+ import { ActionExecution, ActionExecutionEvent, ActionReview, ActionSummary, Attachment, AttachmentInput, AttachmentInputEvent, AttachmentOutput, AuthChallengeResponse, AuthChallengeResponseEvent, BlockedPhrasesConfigurationUpdate, ChatMode, ChatModeConfiguration, ChatResponseConfiguration, ChatResponseConfigurationDetail, ContentSource, Conversation, CreatorModeConfiguration, DataAccessorAuthenticationDetail, DataSourceSyncJob, DataSourceSyncJobStatus, DocumentAttribute, DocumentDetails, EndOfInputEvent, ErrorDetail, HallucinationReductionConfiguration, MembershipType, OrchestrationControl, PluginType, ResponseConfiguration, ResponseConfigurationType, ResponseScope, S3, SourceAttribution, SubscriptionDetails, SubscriptionPrincipal, SubscriptionType, Tag, TextInputEvent, TopicConfiguration, UserAlias } from "./models_0";
3
+ import { QBusinessServiceException as __BaseException } from "./QBusinessServiceException";
4
+ /**
5
+ * @public
6
+ */
7
+ export interface GetChatResponseConfigurationRequest {
8
+ /**
9
+ * <p>The unique identifier of the Amazon Q Business application containing the chat response configuration to retrieve.</p>
10
+ * @public
11
+ */
12
+ applicationId: string | undefined;
13
+ /**
14
+ * <p>The unique identifier of the chat response configuration to retrieve from the specified application.</p>
15
+ * @public
16
+ */
17
+ chatResponseConfigurationId: string | undefined;
18
+ }
19
+ /**
20
+ * @public
21
+ */
22
+ export interface GetChatResponseConfigurationResponse {
23
+ /**
24
+ * <p>The unique identifier of the retrieved chat response configuration.</p>
25
+ * @public
26
+ */
27
+ chatResponseConfigurationId?: string | undefined;
28
+ /**
29
+ * <p>The Amazon Resource Name (ARN) of the retrieved chat response configuration, which uniquely identifies the resource across all Amazon Web Services services. </p>
30
+ * @public
31
+ */
32
+ chatResponseConfigurationArn?: string | undefined;
33
+ /**
34
+ * <p>The human-readable name of the retrieved chat response configuration, making it easier to identify among multiple configurations.</p>
35
+ * @public
36
+ */
37
+ displayName?: string | undefined;
38
+ /**
39
+ * <p>The timestamp indicating when the chat response configuration was initially created.</p>
40
+ * @public
41
+ */
42
+ createdAt?: Date | undefined;
43
+ /**
44
+ * <p>The currently active configuration settings that are being used to generate responses in the Amazon Q Business application.</p>
45
+ * @public
46
+ */
47
+ inUseConfiguration?: ChatResponseConfigurationDetail | undefined;
48
+ /**
49
+ * <p>Information about the most recent update to the configuration, including timestamp and modification details.</p>
50
+ * @public
51
+ */
52
+ lastUpdateConfiguration?: ChatResponseConfigurationDetail | undefined;
53
+ }
54
+ /**
55
+ * @public
56
+ */
57
+ export interface GetGroupRequest {
58
+ /**
59
+ * <p>The identifier of the application id the group is attached to.</p>
60
+ * @public
61
+ */
62
+ applicationId: string | undefined;
63
+ /**
64
+ * <p>The identifier of the index the group is attached to.</p>
65
+ * @public
66
+ */
67
+ indexId: string | undefined;
68
+ /**
69
+ * <p>The name of the group.</p>
70
+ * @public
71
+ */
72
+ groupName: string | undefined;
73
+ /**
74
+ * <p>The identifier of the data source the group is attached to.</p>
75
+ * @public
76
+ */
77
+ dataSourceId?: string | undefined;
78
+ }
79
+ /**
80
+ * @public
81
+ * @enum
82
+ */
83
+ export declare const GroupStatus: {
84
+ readonly DELETED: "DELETED";
85
+ readonly DELETING: "DELETING";
86
+ readonly FAILED: "FAILED";
87
+ readonly PROCESSING: "PROCESSING";
88
+ readonly SUCCEEDED: "SUCCEEDED";
89
+ };
90
+ /**
91
+ * @public
92
+ */
93
+ export type GroupStatus = (typeof GroupStatus)[keyof typeof GroupStatus];
94
+ /**
95
+ * <p>Provides the details of a group's status.</p>
96
+ * @public
97
+ */
98
+ export interface GroupStatusDetail {
99
+ /**
100
+ * <p>The status of a group.</p>
101
+ * @public
102
+ */
103
+ status?: GroupStatus | undefined;
104
+ /**
105
+ * <p>The Unix timestamp when the Amazon Q Business application was last updated.</p>
106
+ * @public
107
+ */
108
+ lastUpdatedAt?: Date | undefined;
109
+ /**
110
+ * <p>The details of an error associated a group status.</p>
111
+ * @public
112
+ */
113
+ errorDetail?: ErrorDetail | undefined;
114
+ }
115
+ /**
116
+ * @public
117
+ */
118
+ export interface GetGroupResponse {
119
+ /**
120
+ * <p>The current status of the group.</p>
121
+ * @public
122
+ */
123
+ status?: GroupStatusDetail | undefined;
124
+ /**
125
+ * <p>The status history of the group.</p>
126
+ * @public
127
+ */
128
+ statusHistory?: GroupStatusDetail[] | undefined;
129
+ }
130
+ /**
131
+ * @public
132
+ */
133
+ export interface GetMediaRequest {
134
+ /**
135
+ * <p>The identifier of the Amazon Q Business which contains the media object.</p>
136
+ * @public
137
+ */
138
+ applicationId: string | undefined;
139
+ /**
140
+ * <p>The identifier of the Amazon Q Business conversation.</p>
141
+ * @public
142
+ */
143
+ conversationId: string | undefined;
144
+ /**
145
+ * <p>The identifier of the Amazon Q Business message.</p>
146
+ * @public
147
+ */
148
+ messageId: string | undefined;
149
+ /**
150
+ * <p>The identifier of the media object. You can find this in the <code>sourceAttributions</code> returned by the <code>Chat</code>, <code>ChatSync</code>, and <code>ListMessages</code> API responses.</p>
151
+ * @public
152
+ */
153
+ mediaId: string | undefined;
154
+ }
155
+ /**
156
+ * @public
157
+ */
158
+ export interface GetMediaResponse {
159
+ /**
160
+ * <p>The base64-encoded bytes of the media object.</p>
161
+ * @public
162
+ */
163
+ mediaBytes?: Uint8Array | undefined;
164
+ /**
165
+ * <p>The MIME type of the media object (image/png).</p>
166
+ * @public
167
+ */
168
+ mediaMimeType?: string | undefined;
169
+ }
170
+ /**
171
+ * <p>The requested media object is too large to be returned.</p>
172
+ * @public
173
+ */
174
+ export declare class MediaTooLargeException extends __BaseException {
175
+ readonly name: "MediaTooLargeException";
176
+ readonly $fault: "client";
177
+ /**
178
+ * @internal
179
+ */
180
+ constructor(opts: __ExceptionOptionType<MediaTooLargeException, __BaseException>);
181
+ }
182
+ /**
183
+ * @public
184
+ */
185
+ export interface GetPolicyRequest {
186
+ /**
187
+ * <p>The unique identifier of the Amazon Q Business application.</p>
188
+ * @public
189
+ */
190
+ applicationId: string | undefined;
191
+ }
192
+ /**
193
+ * @public
194
+ */
195
+ export interface GetPolicyResponse {
196
+ /**
197
+ * <p>The JSON representation of the permission policy.</p>
198
+ * @public
199
+ */
200
+ policy?: string | undefined;
201
+ }
202
+ /**
203
+ * @public
204
+ */
205
+ export interface GetUserRequest {
206
+ /**
207
+ * <p>The identifier of the application connected to the user.</p>
208
+ * @public
209
+ */
210
+ applicationId: string | undefined;
211
+ /**
212
+ * <p>The user email address attached to the user.</p>
213
+ * @public
214
+ */
215
+ userId: string | undefined;
216
+ }
2
217
  /**
3
218
  * @public
4
219
  */
@@ -54,6 +269,41 @@ export interface ListAttachmentsResponse {
54
269
  */
55
270
  nextToken?: string | undefined;
56
271
  }
272
+ /**
273
+ * @public
274
+ */
275
+ export interface ListChatResponseConfigurationsRequest {
276
+ /**
277
+ * <p>The unique identifier of the Amazon Q Business application for which to list available chat response configurations.</p>
278
+ * @public
279
+ */
280
+ applicationId: string | undefined;
281
+ /**
282
+ * <p>The maximum number of chat response configurations to return in a single response. This parameter helps control pagination of results when many configurations exist.</p>
283
+ * @public
284
+ */
285
+ maxResults?: number | undefined;
286
+ /**
287
+ * <p>A pagination token used to retrieve the next set of results when the number of configurations exceeds the specified <code>maxResults</code> value.</p>
288
+ * @public
289
+ */
290
+ nextToken?: string | undefined;
291
+ }
292
+ /**
293
+ * @public
294
+ */
295
+ export interface ListChatResponseConfigurationsResponse {
296
+ /**
297
+ * <p>A list of chat response configuration summaries, each containing key information about an available configuration in the specified application.</p>
298
+ * @public
299
+ */
300
+ chatResponseConfigurations?: ChatResponseConfiguration[] | undefined;
301
+ /**
302
+ * <p>A pagination token that can be used in a subsequent request to retrieve additional chat response configurations if the results were truncated due to the <code>maxResults</code> parameter.</p>
303
+ * @public
304
+ */
305
+ nextToken?: string | undefined;
306
+ }
57
307
  /**
58
308
  * @public
59
309
  */
@@ -1021,6 +1271,41 @@ export interface UpdateChatControlsConfigurationRequest {
1021
1271
  */
1022
1272
  export interface UpdateChatControlsConfigurationResponse {
1023
1273
  }
1274
+ /**
1275
+ * @public
1276
+ */
1277
+ export interface UpdateChatResponseConfigurationRequest {
1278
+ /**
1279
+ * <p>The unique identifier of the Amazon Q Business application containing the chat response configuration to update.</p>
1280
+ * @public
1281
+ */
1282
+ applicationId: string | undefined;
1283
+ /**
1284
+ * <p>The unique identifier of the chat response configuration to update within the specified application.</p>
1285
+ * @public
1286
+ */
1287
+ chatResponseConfigurationId: string | undefined;
1288
+ /**
1289
+ * <p>The new human-readable name to assign to the chat response configuration, making it easier to identify among multiple configurations.</p>
1290
+ * @public
1291
+ */
1292
+ displayName?: string | undefined;
1293
+ /**
1294
+ * <p>The updated collection of response configuration settings that define how Amazon Q Business generates and formats responses to user queries.</p>
1295
+ * @public
1296
+ */
1297
+ responseConfigurations: Partial<Record<ResponseConfigurationType, ResponseConfiguration>> | undefined;
1298
+ /**
1299
+ * <p>A unique, case-sensitive identifier to ensure idempotency of the request. This helps prevent the same update from being processed multiple times if retries occur.</p>
1300
+ * @public
1301
+ */
1302
+ clientToken?: string | undefined;
1303
+ }
1304
+ /**
1305
+ * @public
1306
+ */
1307
+ export interface UpdateChatResponseConfigurationResponse {
1308
+ }
1024
1309
  /**
1025
1310
  * @public
1026
1311
  */
@@ -0,0 +1,7 @@
1
+ import { Paginator } from "@smithy/types";
2
+ import { ListChatResponseConfigurationsCommandInput, ListChatResponseConfigurationsCommandOutput } from "../commands/ListChatResponseConfigurationsCommand";
3
+ import { QBusinessPaginationConfiguration } from "./Interfaces";
4
+ /**
5
+ * @public
6
+ */
7
+ export declare const paginateListChatResponseConfigurations: (config: QBusinessPaginationConfiguration, input: ListChatResponseConfigurationsCommandInput, ...rest: any[]) => Paginator<ListChatResponseConfigurationsCommandOutput>;
@@ -2,6 +2,7 @@ export * from "./GetChatControlsConfigurationPaginator";
2
2
  export * from "./Interfaces";
3
3
  export * from "./ListApplicationsPaginator";
4
4
  export * from "./ListAttachmentsPaginator";
5
+ export * from "./ListChatResponseConfigurationsPaginator";
5
6
  export * from "./ListConversationsPaginator";
6
7
  export * from "./ListDataAccessorsPaginator";
7
8
  export * from "./ListDataSourceSyncJobsPaginator";
@@ -9,6 +9,7 @@ import { ChatSyncCommandInput, ChatSyncCommandOutput } from "../commands/ChatSyn
9
9
  import { CheckDocumentAccessCommandInput, CheckDocumentAccessCommandOutput } from "../commands/CheckDocumentAccessCommand";
10
10
  import { CreateAnonymousWebExperienceUrlCommandInput, CreateAnonymousWebExperienceUrlCommandOutput } from "../commands/CreateAnonymousWebExperienceUrlCommand";
11
11
  import { CreateApplicationCommandInput, CreateApplicationCommandOutput } from "../commands/CreateApplicationCommand";
12
+ import { CreateChatResponseConfigurationCommandInput, CreateChatResponseConfigurationCommandOutput } from "../commands/CreateChatResponseConfigurationCommand";
12
13
  import { CreateDataAccessorCommandInput, CreateDataAccessorCommandOutput } from "../commands/CreateDataAccessorCommand";
13
14
  import { CreateDataSourceCommandInput, CreateDataSourceCommandOutput } from "../commands/CreateDataSourceCommand";
14
15
  import { CreateIndexCommandInput, CreateIndexCommandOutput } from "../commands/CreateIndexCommand";
@@ -20,6 +21,7 @@ import { CreateWebExperienceCommandInput, CreateWebExperienceCommandOutput } fro
20
21
  import { DeleteApplicationCommandInput, DeleteApplicationCommandOutput } from "../commands/DeleteApplicationCommand";
21
22
  import { DeleteAttachmentCommandInput, DeleteAttachmentCommandOutput } from "../commands/DeleteAttachmentCommand";
22
23
  import { DeleteChatControlsConfigurationCommandInput, DeleteChatControlsConfigurationCommandOutput } from "../commands/DeleteChatControlsConfigurationCommand";
24
+ import { DeleteChatResponseConfigurationCommandInput, DeleteChatResponseConfigurationCommandOutput } from "../commands/DeleteChatResponseConfigurationCommand";
23
25
  import { DeleteConversationCommandInput, DeleteConversationCommandOutput } from "../commands/DeleteConversationCommand";
24
26
  import { DeleteDataAccessorCommandInput, DeleteDataAccessorCommandOutput } from "../commands/DeleteDataAccessorCommand";
25
27
  import { DeleteDataSourceCommandInput, DeleteDataSourceCommandOutput } from "../commands/DeleteDataSourceCommand";
@@ -32,6 +34,7 @@ import { DeleteWebExperienceCommandInput, DeleteWebExperienceCommandOutput } fro
32
34
  import { DisassociatePermissionCommandInput, DisassociatePermissionCommandOutput } from "../commands/DisassociatePermissionCommand";
33
35
  import { GetApplicationCommandInput, GetApplicationCommandOutput } from "../commands/GetApplicationCommand";
34
36
  import { GetChatControlsConfigurationCommandInput, GetChatControlsConfigurationCommandOutput } from "../commands/GetChatControlsConfigurationCommand";
37
+ import { GetChatResponseConfigurationCommandInput, GetChatResponseConfigurationCommandOutput } from "../commands/GetChatResponseConfigurationCommand";
35
38
  import { GetDataAccessorCommandInput, GetDataAccessorCommandOutput } from "../commands/GetDataAccessorCommand";
36
39
  import { GetDataSourceCommandInput, GetDataSourceCommandOutput } from "../commands/GetDataSourceCommand";
37
40
  import { GetGroupCommandInput, GetGroupCommandOutput } from "../commands/GetGroupCommand";
@@ -44,6 +47,7 @@ import { GetUserCommandInput, GetUserCommandOutput } from "../commands/GetUserCo
44
47
  import { GetWebExperienceCommandInput, GetWebExperienceCommandOutput } from "../commands/GetWebExperienceCommand";
45
48
  import { ListApplicationsCommandInput, ListApplicationsCommandOutput } from "../commands/ListApplicationsCommand";
46
49
  import { ListAttachmentsCommandInput, ListAttachmentsCommandOutput } from "../commands/ListAttachmentsCommand";
50
+ import { ListChatResponseConfigurationsCommandInput, ListChatResponseConfigurationsCommandOutput } from "../commands/ListChatResponseConfigurationsCommand";
47
51
  import { ListConversationsCommandInput, ListConversationsCommandOutput } from "../commands/ListConversationsCommand";
48
52
  import { ListDataAccessorsCommandInput, ListDataAccessorsCommandOutput } from "../commands/ListDataAccessorsCommand";
49
53
  import { ListDataSourcesCommandInput, ListDataSourcesCommandOutput } from "../commands/ListDataSourcesCommand";
@@ -69,6 +73,7 @@ import { TagResourceCommandInput, TagResourceCommandOutput } from "../commands/T
69
73
  import { UntagResourceCommandInput, UntagResourceCommandOutput } from "../commands/UntagResourceCommand";
70
74
  import { UpdateApplicationCommandInput, UpdateApplicationCommandOutput } from "../commands/UpdateApplicationCommand";
71
75
  import { UpdateChatControlsConfigurationCommandInput, UpdateChatControlsConfigurationCommandOutput } from "../commands/UpdateChatControlsConfigurationCommand";
76
+ import { UpdateChatResponseConfigurationCommandInput, UpdateChatResponseConfigurationCommandOutput } from "../commands/UpdateChatResponseConfigurationCommand";
72
77
  import { UpdateDataAccessorCommandInput, UpdateDataAccessorCommandOutput } from "../commands/UpdateDataAccessorCommand";
73
78
  import { UpdateDataSourceCommandInput, UpdateDataSourceCommandOutput } from "../commands/UpdateDataSourceCommand";
74
79
  import { UpdateIndexCommandInput, UpdateIndexCommandOutput } from "../commands/UpdateIndexCommand";
@@ -113,6 +118,10 @@ export declare const se_CreateAnonymousWebExperienceUrlCommand: (input: CreateAn
113
118
  * serializeAws_restJson1CreateApplicationCommand
114
119
  */
115
120
  export declare const se_CreateApplicationCommand: (input: CreateApplicationCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
121
+ /**
122
+ * serializeAws_restJson1CreateChatResponseConfigurationCommand
123
+ */
124
+ export declare const se_CreateChatResponseConfigurationCommand: (input: CreateChatResponseConfigurationCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
116
125
  /**
117
126
  * serializeAws_restJson1CreateDataAccessorCommand
118
127
  */
@@ -157,6 +166,10 @@ export declare const se_DeleteAttachmentCommand: (input: DeleteAttachmentCommand
157
166
  * serializeAws_restJson1DeleteChatControlsConfigurationCommand
158
167
  */
159
168
  export declare const se_DeleteChatControlsConfigurationCommand: (input: DeleteChatControlsConfigurationCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
169
+ /**
170
+ * serializeAws_restJson1DeleteChatResponseConfigurationCommand
171
+ */
172
+ export declare const se_DeleteChatResponseConfigurationCommand: (input: DeleteChatResponseConfigurationCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
160
173
  /**
161
174
  * serializeAws_restJson1DeleteConversationCommand
162
175
  */
@@ -205,6 +218,10 @@ export declare const se_GetApplicationCommand: (input: GetApplicationCommandInpu
205
218
  * serializeAws_restJson1GetChatControlsConfigurationCommand
206
219
  */
207
220
  export declare const se_GetChatControlsConfigurationCommand: (input: GetChatControlsConfigurationCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
221
+ /**
222
+ * serializeAws_restJson1GetChatResponseConfigurationCommand
223
+ */
224
+ export declare const se_GetChatResponseConfigurationCommand: (input: GetChatResponseConfigurationCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
208
225
  /**
209
226
  * serializeAws_restJson1GetDataAccessorCommand
210
227
  */
@@ -253,6 +270,10 @@ export declare const se_ListApplicationsCommand: (input: ListApplicationsCommand
253
270
  * serializeAws_restJson1ListAttachmentsCommand
254
271
  */
255
272
  export declare const se_ListAttachmentsCommand: (input: ListAttachmentsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
273
+ /**
274
+ * serializeAws_restJson1ListChatResponseConfigurationsCommand
275
+ */
276
+ export declare const se_ListChatResponseConfigurationsCommand: (input: ListChatResponseConfigurationsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
256
277
  /**
257
278
  * serializeAws_restJson1ListConversationsCommand
258
279
  */
@@ -353,6 +374,10 @@ export declare const se_UpdateApplicationCommand: (input: UpdateApplicationComma
353
374
  * serializeAws_restJson1UpdateChatControlsConfigurationCommand
354
375
  */
355
376
  export declare const se_UpdateChatControlsConfigurationCommand: (input: UpdateChatControlsConfigurationCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
377
+ /**
378
+ * serializeAws_restJson1UpdateChatResponseConfigurationCommand
379
+ */
380
+ export declare const se_UpdateChatResponseConfigurationCommand: (input: UpdateChatResponseConfigurationCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
356
381
  /**
357
382
  * serializeAws_restJson1UpdateDataAccessorCommand
358
383
  */
@@ -421,6 +446,10 @@ export declare const de_CreateAnonymousWebExperienceUrlCommand: (output: __HttpR
421
446
  * deserializeAws_restJson1CreateApplicationCommand
422
447
  */
423
448
  export declare const de_CreateApplicationCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CreateApplicationCommandOutput>;
449
+ /**
450
+ * deserializeAws_restJson1CreateChatResponseConfigurationCommand
451
+ */
452
+ export declare const de_CreateChatResponseConfigurationCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CreateChatResponseConfigurationCommandOutput>;
424
453
  /**
425
454
  * deserializeAws_restJson1CreateDataAccessorCommand
426
455
  */
@@ -465,6 +494,10 @@ export declare const de_DeleteAttachmentCommand: (output: __HttpResponse, contex
465
494
  * deserializeAws_restJson1DeleteChatControlsConfigurationCommand
466
495
  */
467
496
  export declare const de_DeleteChatControlsConfigurationCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DeleteChatControlsConfigurationCommandOutput>;
497
+ /**
498
+ * deserializeAws_restJson1DeleteChatResponseConfigurationCommand
499
+ */
500
+ export declare const de_DeleteChatResponseConfigurationCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DeleteChatResponseConfigurationCommandOutput>;
468
501
  /**
469
502
  * deserializeAws_restJson1DeleteConversationCommand
470
503
  */
@@ -513,6 +546,10 @@ export declare const de_GetApplicationCommand: (output: __HttpResponse, context:
513
546
  * deserializeAws_restJson1GetChatControlsConfigurationCommand
514
547
  */
515
548
  export declare const de_GetChatControlsConfigurationCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetChatControlsConfigurationCommandOutput>;
549
+ /**
550
+ * deserializeAws_restJson1GetChatResponseConfigurationCommand
551
+ */
552
+ export declare const de_GetChatResponseConfigurationCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetChatResponseConfigurationCommandOutput>;
516
553
  /**
517
554
  * deserializeAws_restJson1GetDataAccessorCommand
518
555
  */
@@ -561,6 +598,10 @@ export declare const de_ListApplicationsCommand: (output: __HttpResponse, contex
561
598
  * deserializeAws_restJson1ListAttachmentsCommand
562
599
  */
563
600
  export declare const de_ListAttachmentsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListAttachmentsCommandOutput>;
601
+ /**
602
+ * deserializeAws_restJson1ListChatResponseConfigurationsCommand
603
+ */
604
+ export declare const de_ListChatResponseConfigurationsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListChatResponseConfigurationsCommandOutput>;
564
605
  /**
565
606
  * deserializeAws_restJson1ListConversationsCommand
566
607
  */
@@ -661,6 +702,10 @@ export declare const de_UpdateApplicationCommand: (output: __HttpResponse, conte
661
702
  * deserializeAws_restJson1UpdateChatControlsConfigurationCommand
662
703
  */
663
704
  export declare const de_UpdateChatControlsConfigurationCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdateChatControlsConfigurationCommandOutput>;
705
+ /**
706
+ * deserializeAws_restJson1UpdateChatResponseConfigurationCommand
707
+ */
708
+ export declare const de_UpdateChatResponseConfigurationCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdateChatResponseConfigurationCommandOutput>;
664
709
  /**
665
710
  * deserializeAws_restJson1UpdateDataAccessorCommand
666
711
  */
@@ -32,6 +32,10 @@ import {
32
32
  CreateApplicationCommandInput,
33
33
  CreateApplicationCommandOutput,
34
34
  } from "./commands/CreateApplicationCommand";
35
+ import {
36
+ CreateChatResponseConfigurationCommandInput,
37
+ CreateChatResponseConfigurationCommandOutput,
38
+ } from "./commands/CreateChatResponseConfigurationCommand";
35
39
  import {
36
40
  CreateDataAccessorCommandInput,
37
41
  CreateDataAccessorCommandOutput,
@@ -76,6 +80,10 @@ import {
76
80
  DeleteChatControlsConfigurationCommandInput,
77
81
  DeleteChatControlsConfigurationCommandOutput,
78
82
  } from "./commands/DeleteChatControlsConfigurationCommand";
83
+ import {
84
+ DeleteChatResponseConfigurationCommandInput,
85
+ DeleteChatResponseConfigurationCommandOutput,
86
+ } from "./commands/DeleteChatResponseConfigurationCommand";
79
87
  import {
80
88
  DeleteConversationCommandInput,
81
89
  DeleteConversationCommandOutput,
@@ -124,6 +132,10 @@ import {
124
132
  GetChatControlsConfigurationCommandInput,
125
133
  GetChatControlsConfigurationCommandOutput,
126
134
  } from "./commands/GetChatControlsConfigurationCommand";
135
+ import {
136
+ GetChatResponseConfigurationCommandInput,
137
+ GetChatResponseConfigurationCommandOutput,
138
+ } from "./commands/GetChatResponseConfigurationCommand";
127
139
  import {
128
140
  GetDataAccessorCommandInput,
129
141
  GetDataAccessorCommandOutput,
@@ -172,6 +184,10 @@ import {
172
184
  ListAttachmentsCommandInput,
173
185
  ListAttachmentsCommandOutput,
174
186
  } from "./commands/ListAttachmentsCommand";
187
+ import {
188
+ ListChatResponseConfigurationsCommandInput,
189
+ ListChatResponseConfigurationsCommandOutput,
190
+ } from "./commands/ListChatResponseConfigurationsCommand";
175
191
  import {
176
192
  ListConversationsCommandInput,
177
193
  ListConversationsCommandOutput,
@@ -272,6 +288,10 @@ import {
272
288
  UpdateChatControlsConfigurationCommandInput,
273
289
  UpdateChatControlsConfigurationCommandOutput,
274
290
  } from "./commands/UpdateChatControlsConfigurationCommand";
291
+ import {
292
+ UpdateChatResponseConfigurationCommandInput,
293
+ UpdateChatResponseConfigurationCommandOutput,
294
+ } from "./commands/UpdateChatResponseConfigurationCommand";
275
295
  import {
276
296
  UpdateDataAccessorCommandInput,
277
297
  UpdateDataAccessorCommandOutput,
@@ -423,6 +443,19 @@ export interface QBusiness {
423
443
  options: __HttpHandlerOptions,
424
444
  cb: (err: any, data?: CreateApplicationCommandOutput) => void
425
445
  ): void;
446
+ createChatResponseConfiguration(
447
+ args: CreateChatResponseConfigurationCommandInput,
448
+ options?: __HttpHandlerOptions
449
+ ): Promise<CreateChatResponseConfigurationCommandOutput>;
450
+ createChatResponseConfiguration(
451
+ args: CreateChatResponseConfigurationCommandInput,
452
+ cb: (err: any, data?: CreateChatResponseConfigurationCommandOutput) => void
453
+ ): void;
454
+ createChatResponseConfiguration(
455
+ args: CreateChatResponseConfigurationCommandInput,
456
+ options: __HttpHandlerOptions,
457
+ cb: (err: any, data?: CreateChatResponseConfigurationCommandOutput) => void
458
+ ): void;
426
459
  createDataAccessor(
427
460
  args: CreateDataAccessorCommandInput,
428
461
  options?: __HttpHandlerOptions
@@ -566,6 +599,19 @@ export interface QBusiness {
566
599
  options: __HttpHandlerOptions,
567
600
  cb: (err: any, data?: DeleteChatControlsConfigurationCommandOutput) => void
568
601
  ): void;
602
+ deleteChatResponseConfiguration(
603
+ args: DeleteChatResponseConfigurationCommandInput,
604
+ options?: __HttpHandlerOptions
605
+ ): Promise<DeleteChatResponseConfigurationCommandOutput>;
606
+ deleteChatResponseConfiguration(
607
+ args: DeleteChatResponseConfigurationCommandInput,
608
+ cb: (err: any, data?: DeleteChatResponseConfigurationCommandOutput) => void
609
+ ): void;
610
+ deleteChatResponseConfiguration(
611
+ args: DeleteChatResponseConfigurationCommandInput,
612
+ options: __HttpHandlerOptions,
613
+ cb: (err: any, data?: DeleteChatResponseConfigurationCommandOutput) => void
614
+ ): void;
569
615
  deleteConversation(
570
616
  args: DeleteConversationCommandInput,
571
617
  options?: __HttpHandlerOptions
@@ -722,6 +768,19 @@ export interface QBusiness {
722
768
  options: __HttpHandlerOptions,
723
769
  cb: (err: any, data?: GetChatControlsConfigurationCommandOutput) => void
724
770
  ): void;
771
+ getChatResponseConfiguration(
772
+ args: GetChatResponseConfigurationCommandInput,
773
+ options?: __HttpHandlerOptions
774
+ ): Promise<GetChatResponseConfigurationCommandOutput>;
775
+ getChatResponseConfiguration(
776
+ args: GetChatResponseConfigurationCommandInput,
777
+ cb: (err: any, data?: GetChatResponseConfigurationCommandOutput) => void
778
+ ): void;
779
+ getChatResponseConfiguration(
780
+ args: GetChatResponseConfigurationCommandInput,
781
+ options: __HttpHandlerOptions,
782
+ cb: (err: any, data?: GetChatResponseConfigurationCommandOutput) => void
783
+ ): void;
725
784
  getDataAccessor(
726
785
  args: GetDataAccessorCommandInput,
727
786
  options?: __HttpHandlerOptions
@@ -879,6 +938,19 @@ export interface QBusiness {
879
938
  options: __HttpHandlerOptions,
880
939
  cb: (err: any, data?: ListAttachmentsCommandOutput) => void
881
940
  ): void;
941
+ listChatResponseConfigurations(
942
+ args: ListChatResponseConfigurationsCommandInput,
943
+ options?: __HttpHandlerOptions
944
+ ): Promise<ListChatResponseConfigurationsCommandOutput>;
945
+ listChatResponseConfigurations(
946
+ args: ListChatResponseConfigurationsCommandInput,
947
+ cb: (err: any, data?: ListChatResponseConfigurationsCommandOutput) => void
948
+ ): void;
949
+ listChatResponseConfigurations(
950
+ args: ListChatResponseConfigurationsCommandInput,
951
+ options: __HttpHandlerOptions,
952
+ cb: (err: any, data?: ListChatResponseConfigurationsCommandOutput) => void
953
+ ): void;
882
954
  listConversations(
883
955
  args: ListConversationsCommandInput,
884
956
  options?: __HttpHandlerOptions
@@ -1205,6 +1277,19 @@ export interface QBusiness {
1205
1277
  options: __HttpHandlerOptions,
1206
1278
  cb: (err: any, data?: UpdateChatControlsConfigurationCommandOutput) => void
1207
1279
  ): void;
1280
+ updateChatResponseConfiguration(
1281
+ args: UpdateChatResponseConfigurationCommandInput,
1282
+ options?: __HttpHandlerOptions
1283
+ ): Promise<UpdateChatResponseConfigurationCommandOutput>;
1284
+ updateChatResponseConfiguration(
1285
+ args: UpdateChatResponseConfigurationCommandInput,
1286
+ cb: (err: any, data?: UpdateChatResponseConfigurationCommandOutput) => void
1287
+ ): void;
1288
+ updateChatResponseConfiguration(
1289
+ args: UpdateChatResponseConfigurationCommandInput,
1290
+ options: __HttpHandlerOptions,
1291
+ cb: (err: any, data?: UpdateChatResponseConfigurationCommandOutput) => void
1292
+ ): void;
1208
1293
  updateDataAccessor(
1209
1294
  args: UpdateDataAccessorCommandInput,
1210
1295
  options?: __HttpHandlerOptions