@aws-sdk/client-qbusiness 3.840.0 → 3.841.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 +40 -0
- package/dist-cjs/index.js +309 -27
- package/dist-es/QBusiness.js +10 -0
- package/dist-es/commands/CreateChatResponseConfigurationCommand.js +22 -0
- package/dist-es/commands/DeleteChatResponseConfigurationCommand.js +22 -0
- package/dist-es/commands/GetChatResponseConfigurationCommand.js +22 -0
- package/dist-es/commands/ListChatResponseConfigurationsCommand.js +22 -0
- package/dist-es/commands/UpdateChatResponseConfigurationCommand.js +22 -0
- package/dist-es/commands/index.js +5 -0
- package/dist-es/models/models_0.js +16 -19
- package/dist-es/models/models_1.js +20 -0
- package/dist-es/pagination/ListChatResponseConfigurationsPaginator.js +4 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/protocols/Aws_restJson1.js +166 -2
- package/dist-types/QBusiness.d.ts +35 -0
- package/dist-types/QBusinessClient.d.ts +7 -2
- package/dist-types/commands/CreateChatResponseConfigurationCommand.d.ts +116 -0
- package/dist-types/commands/CreateRetrieverCommand.d.ts +6 -5
- package/dist-types/commands/DeleteChatResponseConfigurationCommand.d.ts +89 -0
- package/dist-types/commands/GetChatResponseConfigurationCommand.d.ts +137 -0
- package/dist-types/commands/GetGroupCommand.d.ts +1 -1
- package/dist-types/commands/GetMediaCommand.d.ts +1 -1
- package/dist-types/commands/GetPolicyCommand.d.ts +1 -1
- package/dist-types/commands/GetRetrieverCommand.d.ts +6 -5
- package/dist-types/commands/GetUserCommand.d.ts +1 -2
- package/dist-types/commands/ListChatResponseConfigurationsCommand.d.ts +100 -0
- package/dist-types/commands/UpdateChatResponseConfigurationCommand.d.ts +105 -0
- package/dist-types/commands/UpdateRetrieverCommand.d.ts +6 -5
- package/dist-types/commands/index.d.ts +5 -0
- package/dist-types/models/models_0.d.ts +245 -177
- package/dist-types/models/models_1.d.ts +286 -1
- package/dist-types/pagination/ListChatResponseConfigurationsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +45 -0
- package/dist-types/ts3.4/QBusiness.d.ts +85 -0
- package/dist-types/ts3.4/QBusinessClient.d.ts +30 -0
- package/dist-types/ts3.4/commands/CreateChatResponseConfigurationCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DeleteChatResponseConfigurationCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetChatResponseConfigurationCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetGroupCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetMediaCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetPolicyCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetUserCommand.d.ts +1 -2
- package/dist-types/ts3.4/commands/ListChatResponseConfigurationsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/UpdateChatResponseConfigurationCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/index.d.ts +5 -0
- package/dist-types/ts3.4/models/models_0.d.ts +71 -51
- package/dist-types/ts3.4/models/models_1.d.ts +88 -0
- package/dist-types/ts3.4/pagination/ListChatResponseConfigurationsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +60 -0
- package/package.json +1 -1
|
@@ -8,6 +8,7 @@ import { ChatSyncCommandInput, ChatSyncCommandOutput } from "./commands/ChatSync
|
|
|
8
8
|
import { CheckDocumentAccessCommandInput, CheckDocumentAccessCommandOutput } from "./commands/CheckDocumentAccessCommand";
|
|
9
9
|
import { CreateAnonymousWebExperienceUrlCommandInput, CreateAnonymousWebExperienceUrlCommandOutput } from "./commands/CreateAnonymousWebExperienceUrlCommand";
|
|
10
10
|
import { CreateApplicationCommandInput, CreateApplicationCommandOutput } from "./commands/CreateApplicationCommand";
|
|
11
|
+
import { CreateChatResponseConfigurationCommandInput, CreateChatResponseConfigurationCommandOutput } from "./commands/CreateChatResponseConfigurationCommand";
|
|
11
12
|
import { CreateDataAccessorCommandInput, CreateDataAccessorCommandOutput } from "./commands/CreateDataAccessorCommand";
|
|
12
13
|
import { CreateDataSourceCommandInput, CreateDataSourceCommandOutput } from "./commands/CreateDataSourceCommand";
|
|
13
14
|
import { CreateIndexCommandInput, CreateIndexCommandOutput } from "./commands/CreateIndexCommand";
|
|
@@ -19,6 +20,7 @@ import { CreateWebExperienceCommandInput, CreateWebExperienceCommandOutput } fro
|
|
|
19
20
|
import { DeleteApplicationCommandInput, DeleteApplicationCommandOutput } from "./commands/DeleteApplicationCommand";
|
|
20
21
|
import { DeleteAttachmentCommandInput, DeleteAttachmentCommandOutput } from "./commands/DeleteAttachmentCommand";
|
|
21
22
|
import { DeleteChatControlsConfigurationCommandInput, DeleteChatControlsConfigurationCommandOutput } from "./commands/DeleteChatControlsConfigurationCommand";
|
|
23
|
+
import { DeleteChatResponseConfigurationCommandInput, DeleteChatResponseConfigurationCommandOutput } from "./commands/DeleteChatResponseConfigurationCommand";
|
|
22
24
|
import { DeleteConversationCommandInput, DeleteConversationCommandOutput } from "./commands/DeleteConversationCommand";
|
|
23
25
|
import { DeleteDataAccessorCommandInput, DeleteDataAccessorCommandOutput } from "./commands/DeleteDataAccessorCommand";
|
|
24
26
|
import { DeleteDataSourceCommandInput, DeleteDataSourceCommandOutput } from "./commands/DeleteDataSourceCommand";
|
|
@@ -31,6 +33,7 @@ import { DeleteWebExperienceCommandInput, DeleteWebExperienceCommandOutput } fro
|
|
|
31
33
|
import { DisassociatePermissionCommandInput, DisassociatePermissionCommandOutput } from "./commands/DisassociatePermissionCommand";
|
|
32
34
|
import { GetApplicationCommandInput, GetApplicationCommandOutput } from "./commands/GetApplicationCommand";
|
|
33
35
|
import { GetChatControlsConfigurationCommandInput, GetChatControlsConfigurationCommandOutput } from "./commands/GetChatControlsConfigurationCommand";
|
|
36
|
+
import { GetChatResponseConfigurationCommandInput, GetChatResponseConfigurationCommandOutput } from "./commands/GetChatResponseConfigurationCommand";
|
|
34
37
|
import { GetDataAccessorCommandInput, GetDataAccessorCommandOutput } from "./commands/GetDataAccessorCommand";
|
|
35
38
|
import { GetDataSourceCommandInput, GetDataSourceCommandOutput } from "./commands/GetDataSourceCommand";
|
|
36
39
|
import { GetGroupCommandInput, GetGroupCommandOutput } from "./commands/GetGroupCommand";
|
|
@@ -43,6 +46,7 @@ import { GetUserCommandInput, GetUserCommandOutput } from "./commands/GetUserCom
|
|
|
43
46
|
import { GetWebExperienceCommandInput, GetWebExperienceCommandOutput } from "./commands/GetWebExperienceCommand";
|
|
44
47
|
import { ListApplicationsCommandInput, ListApplicationsCommandOutput } from "./commands/ListApplicationsCommand";
|
|
45
48
|
import { ListAttachmentsCommandInput, ListAttachmentsCommandOutput } from "./commands/ListAttachmentsCommand";
|
|
49
|
+
import { ListChatResponseConfigurationsCommandInput, ListChatResponseConfigurationsCommandOutput } from "./commands/ListChatResponseConfigurationsCommand";
|
|
46
50
|
import { ListConversationsCommandInput, ListConversationsCommandOutput } from "./commands/ListConversationsCommand";
|
|
47
51
|
import { ListDataAccessorsCommandInput, ListDataAccessorsCommandOutput } from "./commands/ListDataAccessorsCommand";
|
|
48
52
|
import { ListDataSourcesCommandInput, ListDataSourcesCommandOutput } from "./commands/ListDataSourcesCommand";
|
|
@@ -68,6 +72,7 @@ import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/Ta
|
|
|
68
72
|
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
69
73
|
import { UpdateApplicationCommandInput, UpdateApplicationCommandOutput } from "./commands/UpdateApplicationCommand";
|
|
70
74
|
import { UpdateChatControlsConfigurationCommandInput, UpdateChatControlsConfigurationCommandOutput } from "./commands/UpdateChatControlsConfigurationCommand";
|
|
75
|
+
import { UpdateChatResponseConfigurationCommandInput, UpdateChatResponseConfigurationCommandOutput } from "./commands/UpdateChatResponseConfigurationCommand";
|
|
71
76
|
import { UpdateDataAccessorCommandInput, UpdateDataAccessorCommandOutput } from "./commands/UpdateDataAccessorCommand";
|
|
72
77
|
import { UpdateDataSourceCommandInput, UpdateDataSourceCommandOutput } from "./commands/UpdateDataSourceCommand";
|
|
73
78
|
import { UpdateIndexCommandInput, UpdateIndexCommandOutput } from "./commands/UpdateIndexCommand";
|
|
@@ -132,6 +137,12 @@ export interface QBusiness {
|
|
|
132
137
|
createApplication(args: CreateApplicationCommandInput, options?: __HttpHandlerOptions): Promise<CreateApplicationCommandOutput>;
|
|
133
138
|
createApplication(args: CreateApplicationCommandInput, cb: (err: any, data?: CreateApplicationCommandOutput) => void): void;
|
|
134
139
|
createApplication(args: CreateApplicationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateApplicationCommandOutput) => void): void;
|
|
140
|
+
/**
|
|
141
|
+
* @see {@link CreateChatResponseConfigurationCommand}
|
|
142
|
+
*/
|
|
143
|
+
createChatResponseConfiguration(args: CreateChatResponseConfigurationCommandInput, options?: __HttpHandlerOptions): Promise<CreateChatResponseConfigurationCommandOutput>;
|
|
144
|
+
createChatResponseConfiguration(args: CreateChatResponseConfigurationCommandInput, cb: (err: any, data?: CreateChatResponseConfigurationCommandOutput) => void): void;
|
|
145
|
+
createChatResponseConfiguration(args: CreateChatResponseConfigurationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateChatResponseConfigurationCommandOutput) => void): void;
|
|
135
146
|
/**
|
|
136
147
|
* @see {@link CreateDataAccessorCommand}
|
|
137
148
|
*/
|
|
@@ -198,6 +209,12 @@ export interface QBusiness {
|
|
|
198
209
|
deleteChatControlsConfiguration(args: DeleteChatControlsConfigurationCommandInput, options?: __HttpHandlerOptions): Promise<DeleteChatControlsConfigurationCommandOutput>;
|
|
199
210
|
deleteChatControlsConfiguration(args: DeleteChatControlsConfigurationCommandInput, cb: (err: any, data?: DeleteChatControlsConfigurationCommandOutput) => void): void;
|
|
200
211
|
deleteChatControlsConfiguration(args: DeleteChatControlsConfigurationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteChatControlsConfigurationCommandOutput) => void): void;
|
|
212
|
+
/**
|
|
213
|
+
* @see {@link DeleteChatResponseConfigurationCommand}
|
|
214
|
+
*/
|
|
215
|
+
deleteChatResponseConfiguration(args: DeleteChatResponseConfigurationCommandInput, options?: __HttpHandlerOptions): Promise<DeleteChatResponseConfigurationCommandOutput>;
|
|
216
|
+
deleteChatResponseConfiguration(args: DeleteChatResponseConfigurationCommandInput, cb: (err: any, data?: DeleteChatResponseConfigurationCommandOutput) => void): void;
|
|
217
|
+
deleteChatResponseConfiguration(args: DeleteChatResponseConfigurationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteChatResponseConfigurationCommandOutput) => void): void;
|
|
201
218
|
/**
|
|
202
219
|
* @see {@link DeleteConversationCommand}
|
|
203
220
|
*/
|
|
@@ -270,6 +287,12 @@ export interface QBusiness {
|
|
|
270
287
|
getChatControlsConfiguration(args: GetChatControlsConfigurationCommandInput, options?: __HttpHandlerOptions): Promise<GetChatControlsConfigurationCommandOutput>;
|
|
271
288
|
getChatControlsConfiguration(args: GetChatControlsConfigurationCommandInput, cb: (err: any, data?: GetChatControlsConfigurationCommandOutput) => void): void;
|
|
272
289
|
getChatControlsConfiguration(args: GetChatControlsConfigurationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetChatControlsConfigurationCommandOutput) => void): void;
|
|
290
|
+
/**
|
|
291
|
+
* @see {@link GetChatResponseConfigurationCommand}
|
|
292
|
+
*/
|
|
293
|
+
getChatResponseConfiguration(args: GetChatResponseConfigurationCommandInput, options?: __HttpHandlerOptions): Promise<GetChatResponseConfigurationCommandOutput>;
|
|
294
|
+
getChatResponseConfiguration(args: GetChatResponseConfigurationCommandInput, cb: (err: any, data?: GetChatResponseConfigurationCommandOutput) => void): void;
|
|
295
|
+
getChatResponseConfiguration(args: GetChatResponseConfigurationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetChatResponseConfigurationCommandOutput) => void): void;
|
|
273
296
|
/**
|
|
274
297
|
* @see {@link GetDataAccessorCommand}
|
|
275
298
|
*/
|
|
@@ -343,6 +366,12 @@ export interface QBusiness {
|
|
|
343
366
|
listAttachments(args: ListAttachmentsCommandInput, options?: __HttpHandlerOptions): Promise<ListAttachmentsCommandOutput>;
|
|
344
367
|
listAttachments(args: ListAttachmentsCommandInput, cb: (err: any, data?: ListAttachmentsCommandOutput) => void): void;
|
|
345
368
|
listAttachments(args: ListAttachmentsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListAttachmentsCommandOutput) => void): void;
|
|
369
|
+
/**
|
|
370
|
+
* @see {@link ListChatResponseConfigurationsCommand}
|
|
371
|
+
*/
|
|
372
|
+
listChatResponseConfigurations(args: ListChatResponseConfigurationsCommandInput, options?: __HttpHandlerOptions): Promise<ListChatResponseConfigurationsCommandOutput>;
|
|
373
|
+
listChatResponseConfigurations(args: ListChatResponseConfigurationsCommandInput, cb: (err: any, data?: ListChatResponseConfigurationsCommandOutput) => void): void;
|
|
374
|
+
listChatResponseConfigurations(args: ListChatResponseConfigurationsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListChatResponseConfigurationsCommandOutput) => void): void;
|
|
346
375
|
/**
|
|
347
376
|
* @see {@link ListConversationsCommand}
|
|
348
377
|
*/
|
|
@@ -494,6 +523,12 @@ export interface QBusiness {
|
|
|
494
523
|
updateChatControlsConfiguration(args: UpdateChatControlsConfigurationCommandInput, options?: __HttpHandlerOptions): Promise<UpdateChatControlsConfigurationCommandOutput>;
|
|
495
524
|
updateChatControlsConfiguration(args: UpdateChatControlsConfigurationCommandInput, cb: (err: any, data?: UpdateChatControlsConfigurationCommandOutput) => void): void;
|
|
496
525
|
updateChatControlsConfiguration(args: UpdateChatControlsConfigurationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateChatControlsConfigurationCommandOutput) => void): void;
|
|
526
|
+
/**
|
|
527
|
+
* @see {@link UpdateChatResponseConfigurationCommand}
|
|
528
|
+
*/
|
|
529
|
+
updateChatResponseConfiguration(args: UpdateChatResponseConfigurationCommandInput, options?: __HttpHandlerOptions): Promise<UpdateChatResponseConfigurationCommandOutput>;
|
|
530
|
+
updateChatResponseConfiguration(args: UpdateChatResponseConfigurationCommandInput, cb: (err: any, data?: UpdateChatResponseConfigurationCommandOutput) => void): void;
|
|
531
|
+
updateChatResponseConfiguration(args: UpdateChatResponseConfigurationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateChatResponseConfigurationCommandOutput) => void): void;
|
|
497
532
|
/**
|
|
498
533
|
* @see {@link UpdateDataAccessorCommand}
|
|
499
534
|
*/
|
|
@@ -19,6 +19,7 @@ import { ChatSyncCommandInput, ChatSyncCommandOutput } from "./commands/ChatSync
|
|
|
19
19
|
import { CheckDocumentAccessCommandInput, CheckDocumentAccessCommandOutput } from "./commands/CheckDocumentAccessCommand";
|
|
20
20
|
import { CreateAnonymousWebExperienceUrlCommandInput, CreateAnonymousWebExperienceUrlCommandOutput } from "./commands/CreateAnonymousWebExperienceUrlCommand";
|
|
21
21
|
import { CreateApplicationCommandInput, CreateApplicationCommandOutput } from "./commands/CreateApplicationCommand";
|
|
22
|
+
import { CreateChatResponseConfigurationCommandInput, CreateChatResponseConfigurationCommandOutput } from "./commands/CreateChatResponseConfigurationCommand";
|
|
22
23
|
import { CreateDataAccessorCommandInput, CreateDataAccessorCommandOutput } from "./commands/CreateDataAccessorCommand";
|
|
23
24
|
import { CreateDataSourceCommandInput, CreateDataSourceCommandOutput } from "./commands/CreateDataSourceCommand";
|
|
24
25
|
import { CreateIndexCommandInput, CreateIndexCommandOutput } from "./commands/CreateIndexCommand";
|
|
@@ -30,6 +31,7 @@ import { CreateWebExperienceCommandInput, CreateWebExperienceCommandOutput } fro
|
|
|
30
31
|
import { DeleteApplicationCommandInput, DeleteApplicationCommandOutput } from "./commands/DeleteApplicationCommand";
|
|
31
32
|
import { DeleteAttachmentCommandInput, DeleteAttachmentCommandOutput } from "./commands/DeleteAttachmentCommand";
|
|
32
33
|
import { DeleteChatControlsConfigurationCommandInput, DeleteChatControlsConfigurationCommandOutput } from "./commands/DeleteChatControlsConfigurationCommand";
|
|
34
|
+
import { DeleteChatResponseConfigurationCommandInput, DeleteChatResponseConfigurationCommandOutput } from "./commands/DeleteChatResponseConfigurationCommand";
|
|
33
35
|
import { DeleteConversationCommandInput, DeleteConversationCommandOutput } from "./commands/DeleteConversationCommand";
|
|
34
36
|
import { DeleteDataAccessorCommandInput, DeleteDataAccessorCommandOutput } from "./commands/DeleteDataAccessorCommand";
|
|
35
37
|
import { DeleteDataSourceCommandInput, DeleteDataSourceCommandOutput } from "./commands/DeleteDataSourceCommand";
|
|
@@ -42,6 +44,7 @@ import { DeleteWebExperienceCommandInput, DeleteWebExperienceCommandOutput } fro
|
|
|
42
44
|
import { DisassociatePermissionCommandInput, DisassociatePermissionCommandOutput } from "./commands/DisassociatePermissionCommand";
|
|
43
45
|
import { GetApplicationCommandInput, GetApplicationCommandOutput } from "./commands/GetApplicationCommand";
|
|
44
46
|
import { GetChatControlsConfigurationCommandInput, GetChatControlsConfigurationCommandOutput } from "./commands/GetChatControlsConfigurationCommand";
|
|
47
|
+
import { GetChatResponseConfigurationCommandInput, GetChatResponseConfigurationCommandOutput } from "./commands/GetChatResponseConfigurationCommand";
|
|
45
48
|
import { GetDataAccessorCommandInput, GetDataAccessorCommandOutput } from "./commands/GetDataAccessorCommand";
|
|
46
49
|
import { GetDataSourceCommandInput, GetDataSourceCommandOutput } from "./commands/GetDataSourceCommand";
|
|
47
50
|
import { GetGroupCommandInput, GetGroupCommandOutput } from "./commands/GetGroupCommand";
|
|
@@ -54,6 +57,7 @@ import { GetUserCommandInput, GetUserCommandOutput } from "./commands/GetUserCom
|
|
|
54
57
|
import { GetWebExperienceCommandInput, GetWebExperienceCommandOutput } from "./commands/GetWebExperienceCommand";
|
|
55
58
|
import { ListApplicationsCommandInput, ListApplicationsCommandOutput } from "./commands/ListApplicationsCommand";
|
|
56
59
|
import { ListAttachmentsCommandInput, ListAttachmentsCommandOutput } from "./commands/ListAttachmentsCommand";
|
|
60
|
+
import { ListChatResponseConfigurationsCommandInput, ListChatResponseConfigurationsCommandOutput } from "./commands/ListChatResponseConfigurationsCommand";
|
|
57
61
|
import { ListConversationsCommandInput, ListConversationsCommandOutput } from "./commands/ListConversationsCommand";
|
|
58
62
|
import { ListDataAccessorsCommandInput, ListDataAccessorsCommandOutput } from "./commands/ListDataAccessorsCommand";
|
|
59
63
|
import { ListDataSourcesCommandInput, ListDataSourcesCommandOutput } from "./commands/ListDataSourcesCommand";
|
|
@@ -79,6 +83,7 @@ import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/Ta
|
|
|
79
83
|
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
80
84
|
import { UpdateApplicationCommandInput, UpdateApplicationCommandOutput } from "./commands/UpdateApplicationCommand";
|
|
81
85
|
import { UpdateChatControlsConfigurationCommandInput, UpdateChatControlsConfigurationCommandOutput } from "./commands/UpdateChatControlsConfigurationCommand";
|
|
86
|
+
import { UpdateChatResponseConfigurationCommandInput, UpdateChatResponseConfigurationCommandOutput } from "./commands/UpdateChatResponseConfigurationCommand";
|
|
82
87
|
import { UpdateDataAccessorCommandInput, UpdateDataAccessorCommandOutput } from "./commands/UpdateDataAccessorCommand";
|
|
83
88
|
import { UpdateDataSourceCommandInput, UpdateDataSourceCommandOutput } from "./commands/UpdateDataSourceCommand";
|
|
84
89
|
import { UpdateIndexCommandInput, UpdateIndexCommandOutput } from "./commands/UpdateIndexCommand";
|
|
@@ -93,11 +98,11 @@ export { __Client };
|
|
|
93
98
|
/**
|
|
94
99
|
* @public
|
|
95
100
|
*/
|
|
96
|
-
export type ServiceInputTypes = AssociatePermissionCommandInput | BatchDeleteDocumentCommandInput | BatchPutDocumentCommandInput | CancelSubscriptionCommandInput | ChatCommandInput | ChatSyncCommandInput | CheckDocumentAccessCommandInput | CreateAnonymousWebExperienceUrlCommandInput | CreateApplicationCommandInput | CreateDataAccessorCommandInput | CreateDataSourceCommandInput | CreateIndexCommandInput | CreatePluginCommandInput | CreateRetrieverCommandInput | CreateSubscriptionCommandInput | CreateUserCommandInput | CreateWebExperienceCommandInput | DeleteApplicationCommandInput | DeleteAttachmentCommandInput | DeleteChatControlsConfigurationCommandInput | DeleteConversationCommandInput | DeleteDataAccessorCommandInput | DeleteDataSourceCommandInput | DeleteGroupCommandInput | DeleteIndexCommandInput | DeletePluginCommandInput | DeleteRetrieverCommandInput | DeleteUserCommandInput | DeleteWebExperienceCommandInput | DisassociatePermissionCommandInput | GetApplicationCommandInput | GetChatControlsConfigurationCommandInput | GetDataAccessorCommandInput | GetDataSourceCommandInput | GetGroupCommandInput | GetIndexCommandInput | GetMediaCommandInput | GetPluginCommandInput | GetPolicyCommandInput | GetRetrieverCommandInput | GetUserCommandInput | GetWebExperienceCommandInput | ListApplicationsCommandInput | ListAttachmentsCommandInput | ListConversationsCommandInput | ListDataAccessorsCommandInput | ListDataSourceSyncJobsCommandInput | ListDataSourcesCommandInput | ListDocumentsCommandInput | ListGroupsCommandInput | ListIndicesCommandInput | ListMessagesCommandInput | ListPluginActionsCommandInput | ListPluginTypeActionsCommandInput | ListPluginTypeMetadataCommandInput | ListPluginsCommandInput | ListRetrieversCommandInput | ListSubscriptionsCommandInput | ListTagsForResourceCommandInput | ListWebExperiencesCommandInput | PutFeedbackCommandInput | PutGroupCommandInput | SearchRelevantContentCommandInput | StartDataSourceSyncJobCommandInput | StopDataSourceSyncJobCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateApplicationCommandInput | UpdateChatControlsConfigurationCommandInput | UpdateDataAccessorCommandInput | UpdateDataSourceCommandInput | UpdateIndexCommandInput | UpdatePluginCommandInput | UpdateRetrieverCommandInput | UpdateSubscriptionCommandInput | UpdateUserCommandInput | UpdateWebExperienceCommandInput;
|
|
101
|
+
export type ServiceInputTypes = AssociatePermissionCommandInput | BatchDeleteDocumentCommandInput | BatchPutDocumentCommandInput | CancelSubscriptionCommandInput | ChatCommandInput | ChatSyncCommandInput | CheckDocumentAccessCommandInput | CreateAnonymousWebExperienceUrlCommandInput | CreateApplicationCommandInput | CreateChatResponseConfigurationCommandInput | CreateDataAccessorCommandInput | CreateDataSourceCommandInput | CreateIndexCommandInput | CreatePluginCommandInput | CreateRetrieverCommandInput | CreateSubscriptionCommandInput | CreateUserCommandInput | CreateWebExperienceCommandInput | DeleteApplicationCommandInput | DeleteAttachmentCommandInput | DeleteChatControlsConfigurationCommandInput | DeleteChatResponseConfigurationCommandInput | DeleteConversationCommandInput | DeleteDataAccessorCommandInput | DeleteDataSourceCommandInput | DeleteGroupCommandInput | DeleteIndexCommandInput | DeletePluginCommandInput | DeleteRetrieverCommandInput | DeleteUserCommandInput | DeleteWebExperienceCommandInput | DisassociatePermissionCommandInput | GetApplicationCommandInput | GetChatControlsConfigurationCommandInput | GetChatResponseConfigurationCommandInput | GetDataAccessorCommandInput | GetDataSourceCommandInput | GetGroupCommandInput | GetIndexCommandInput | GetMediaCommandInput | GetPluginCommandInput | GetPolicyCommandInput | GetRetrieverCommandInput | GetUserCommandInput | GetWebExperienceCommandInput | ListApplicationsCommandInput | ListAttachmentsCommandInput | ListChatResponseConfigurationsCommandInput | ListConversationsCommandInput | ListDataAccessorsCommandInput | ListDataSourceSyncJobsCommandInput | ListDataSourcesCommandInput | ListDocumentsCommandInput | ListGroupsCommandInput | ListIndicesCommandInput | ListMessagesCommandInput | ListPluginActionsCommandInput | ListPluginTypeActionsCommandInput | ListPluginTypeMetadataCommandInput | ListPluginsCommandInput | ListRetrieversCommandInput | ListSubscriptionsCommandInput | ListTagsForResourceCommandInput | ListWebExperiencesCommandInput | PutFeedbackCommandInput | PutGroupCommandInput | SearchRelevantContentCommandInput | StartDataSourceSyncJobCommandInput | StopDataSourceSyncJobCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateApplicationCommandInput | UpdateChatControlsConfigurationCommandInput | UpdateChatResponseConfigurationCommandInput | UpdateDataAccessorCommandInput | UpdateDataSourceCommandInput | UpdateIndexCommandInput | UpdatePluginCommandInput | UpdateRetrieverCommandInput | UpdateSubscriptionCommandInput | UpdateUserCommandInput | UpdateWebExperienceCommandInput;
|
|
97
102
|
/**
|
|
98
103
|
* @public
|
|
99
104
|
*/
|
|
100
|
-
export type ServiceOutputTypes = AssociatePermissionCommandOutput | BatchDeleteDocumentCommandOutput | BatchPutDocumentCommandOutput | CancelSubscriptionCommandOutput | ChatCommandOutput | ChatSyncCommandOutput | CheckDocumentAccessCommandOutput | CreateAnonymousWebExperienceUrlCommandOutput | CreateApplicationCommandOutput | CreateDataAccessorCommandOutput | CreateDataSourceCommandOutput | CreateIndexCommandOutput | CreatePluginCommandOutput | CreateRetrieverCommandOutput | CreateSubscriptionCommandOutput | CreateUserCommandOutput | CreateWebExperienceCommandOutput | DeleteApplicationCommandOutput | DeleteAttachmentCommandOutput | DeleteChatControlsConfigurationCommandOutput | DeleteConversationCommandOutput | DeleteDataAccessorCommandOutput | DeleteDataSourceCommandOutput | DeleteGroupCommandOutput | DeleteIndexCommandOutput | DeletePluginCommandOutput | DeleteRetrieverCommandOutput | DeleteUserCommandOutput | DeleteWebExperienceCommandOutput | DisassociatePermissionCommandOutput | GetApplicationCommandOutput | GetChatControlsConfigurationCommandOutput | GetDataAccessorCommandOutput | GetDataSourceCommandOutput | GetGroupCommandOutput | GetIndexCommandOutput | GetMediaCommandOutput | GetPluginCommandOutput | GetPolicyCommandOutput | GetRetrieverCommandOutput | GetUserCommandOutput | GetWebExperienceCommandOutput | ListApplicationsCommandOutput | ListAttachmentsCommandOutput | ListConversationsCommandOutput | ListDataAccessorsCommandOutput | ListDataSourceSyncJobsCommandOutput | ListDataSourcesCommandOutput | ListDocumentsCommandOutput | ListGroupsCommandOutput | ListIndicesCommandOutput | ListMessagesCommandOutput | ListPluginActionsCommandOutput | ListPluginTypeActionsCommandOutput | ListPluginTypeMetadataCommandOutput | ListPluginsCommandOutput | ListRetrieversCommandOutput | ListSubscriptionsCommandOutput | ListTagsForResourceCommandOutput | ListWebExperiencesCommandOutput | PutFeedbackCommandOutput | PutGroupCommandOutput | SearchRelevantContentCommandOutput | StartDataSourceSyncJobCommandOutput | StopDataSourceSyncJobCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateApplicationCommandOutput | UpdateChatControlsConfigurationCommandOutput | UpdateDataAccessorCommandOutput | UpdateDataSourceCommandOutput | UpdateIndexCommandOutput | UpdatePluginCommandOutput | UpdateRetrieverCommandOutput | UpdateSubscriptionCommandOutput | UpdateUserCommandOutput | UpdateWebExperienceCommandOutput;
|
|
105
|
+
export type ServiceOutputTypes = AssociatePermissionCommandOutput | BatchDeleteDocumentCommandOutput | BatchPutDocumentCommandOutput | CancelSubscriptionCommandOutput | ChatCommandOutput | ChatSyncCommandOutput | CheckDocumentAccessCommandOutput | CreateAnonymousWebExperienceUrlCommandOutput | CreateApplicationCommandOutput | CreateChatResponseConfigurationCommandOutput | CreateDataAccessorCommandOutput | CreateDataSourceCommandOutput | CreateIndexCommandOutput | CreatePluginCommandOutput | CreateRetrieverCommandOutput | CreateSubscriptionCommandOutput | CreateUserCommandOutput | CreateWebExperienceCommandOutput | DeleteApplicationCommandOutput | DeleteAttachmentCommandOutput | DeleteChatControlsConfigurationCommandOutput | DeleteChatResponseConfigurationCommandOutput | DeleteConversationCommandOutput | DeleteDataAccessorCommandOutput | DeleteDataSourceCommandOutput | DeleteGroupCommandOutput | DeleteIndexCommandOutput | DeletePluginCommandOutput | DeleteRetrieverCommandOutput | DeleteUserCommandOutput | DeleteWebExperienceCommandOutput | DisassociatePermissionCommandOutput | GetApplicationCommandOutput | GetChatControlsConfigurationCommandOutput | GetChatResponseConfigurationCommandOutput | GetDataAccessorCommandOutput | GetDataSourceCommandOutput | GetGroupCommandOutput | GetIndexCommandOutput | GetMediaCommandOutput | GetPluginCommandOutput | GetPolicyCommandOutput | GetRetrieverCommandOutput | GetUserCommandOutput | GetWebExperienceCommandOutput | ListApplicationsCommandOutput | ListAttachmentsCommandOutput | ListChatResponseConfigurationsCommandOutput | ListConversationsCommandOutput | ListDataAccessorsCommandOutput | ListDataSourceSyncJobsCommandOutput | ListDataSourcesCommandOutput | ListDocumentsCommandOutput | ListGroupsCommandOutput | ListIndicesCommandOutput | ListMessagesCommandOutput | ListPluginActionsCommandOutput | ListPluginTypeActionsCommandOutput | ListPluginTypeMetadataCommandOutput | ListPluginsCommandOutput | ListRetrieversCommandOutput | ListSubscriptionsCommandOutput | ListTagsForResourceCommandOutput | ListWebExperiencesCommandOutput | PutFeedbackCommandOutput | PutGroupCommandOutput | SearchRelevantContentCommandOutput | StartDataSourceSyncJobCommandOutput | StopDataSourceSyncJobCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateApplicationCommandOutput | UpdateChatControlsConfigurationCommandOutput | UpdateChatResponseConfigurationCommandOutput | UpdateDataAccessorCommandOutput | UpdateDataSourceCommandOutput | UpdateIndexCommandOutput | UpdatePluginCommandOutput | UpdateRetrieverCommandOutput | UpdateSubscriptionCommandOutput | UpdateUserCommandOutput | UpdateWebExperienceCommandOutput;
|
|
101
106
|
/**
|
|
102
107
|
* @public
|
|
103
108
|
*/
|
|
@@ -0,0 +1,116 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { CreateChatResponseConfigurationRequest, CreateChatResponseConfigurationResponse } from "../models/models_0";
|
|
4
|
+
import { QBusinessClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../QBusinessClient";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link CreateChatResponseConfigurationCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface CreateChatResponseConfigurationCommandInput extends CreateChatResponseConfigurationRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link CreateChatResponseConfigurationCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface CreateChatResponseConfigurationCommandOutput extends CreateChatResponseConfigurationResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const CreateChatResponseConfigurationCommand_base: {
|
|
25
|
+
new (input: CreateChatResponseConfigurationCommandInput): import("@smithy/smithy-client").CommandImpl<CreateChatResponseConfigurationCommandInput, CreateChatResponseConfigurationCommandOutput, QBusinessClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: CreateChatResponseConfigurationCommandInput): import("@smithy/smithy-client").CommandImpl<CreateChatResponseConfigurationCommandInput, CreateChatResponseConfigurationCommandOutput, QBusinessClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Creates a new chat response configuration for an Amazon Q Business application. This operation establishes a set of parameters that define how the system generates and formats responses to user queries in chat interactions.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { QBusinessClient, CreateChatResponseConfigurationCommand } from "@aws-sdk/client-qbusiness"; // ES Modules import
|
|
35
|
+
* // const { QBusinessClient, CreateChatResponseConfigurationCommand } = require("@aws-sdk/client-qbusiness"); // CommonJS import
|
|
36
|
+
* const client = new QBusinessClient(config);
|
|
37
|
+
* const input = { // CreateChatResponseConfigurationRequest
|
|
38
|
+
* applicationId: "STRING_VALUE", // required
|
|
39
|
+
* displayName: "STRING_VALUE", // required
|
|
40
|
+
* clientToken: "STRING_VALUE",
|
|
41
|
+
* responseConfigurations: { // ResponseConfigurations // required
|
|
42
|
+
* "<keys>": { // ResponseConfiguration
|
|
43
|
+
* instructionCollection: { // InstructionCollection
|
|
44
|
+
* responseLength: "STRING_VALUE",
|
|
45
|
+
* targetAudience: "STRING_VALUE",
|
|
46
|
+
* perspective: "STRING_VALUE",
|
|
47
|
+
* outputStyle: "STRING_VALUE",
|
|
48
|
+
* identity: "STRING_VALUE",
|
|
49
|
+
* tone: "STRING_VALUE",
|
|
50
|
+
* customInstructions: "STRING_VALUE",
|
|
51
|
+
* examples: "STRING_VALUE",
|
|
52
|
+
* },
|
|
53
|
+
* },
|
|
54
|
+
* },
|
|
55
|
+
* tags: [ // Tags
|
|
56
|
+
* { // Tag
|
|
57
|
+
* key: "STRING_VALUE", // required
|
|
58
|
+
* value: "STRING_VALUE", // required
|
|
59
|
+
* },
|
|
60
|
+
* ],
|
|
61
|
+
* };
|
|
62
|
+
* const command = new CreateChatResponseConfigurationCommand(input);
|
|
63
|
+
* const response = await client.send(command);
|
|
64
|
+
* // { // CreateChatResponseConfigurationResponse
|
|
65
|
+
* // chatResponseConfigurationId: "STRING_VALUE", // required
|
|
66
|
+
* // chatResponseConfigurationArn: "STRING_VALUE", // required
|
|
67
|
+
* // };
|
|
68
|
+
*
|
|
69
|
+
* ```
|
|
70
|
+
*
|
|
71
|
+
* @param CreateChatResponseConfigurationCommandInput - {@link CreateChatResponseConfigurationCommandInput}
|
|
72
|
+
* @returns {@link CreateChatResponseConfigurationCommandOutput}
|
|
73
|
+
* @see {@link CreateChatResponseConfigurationCommandInput} for command's `input` shape.
|
|
74
|
+
* @see {@link CreateChatResponseConfigurationCommandOutput} for command's `response` shape.
|
|
75
|
+
* @see {@link QBusinessClientResolvedConfig | config} for QBusinessClient's `config` shape.
|
|
76
|
+
*
|
|
77
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
78
|
+
* <p> You don't have access to perform this action. Make sure you have the required permission policies and user accounts and try again.</p>
|
|
79
|
+
*
|
|
80
|
+
* @throws {@link ConflictException} (client fault)
|
|
81
|
+
* <p>You are trying to perform an action that conflicts with the current status of your resource. Fix any inconsistencies with your resources and try again.</p>
|
|
82
|
+
*
|
|
83
|
+
* @throws {@link InternalServerException} (server fault)
|
|
84
|
+
* <p>An issue occurred with the internal server used for your Amazon Q Business service. Wait some minutes and try again, or contact <a href="http://aws.amazon.com/contact-us/">Support</a> for help.</p>
|
|
85
|
+
*
|
|
86
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
87
|
+
* <p>The application or plugin resource you want to use doesn’t exist. Make sure you have provided the correct resource and try again.</p>
|
|
88
|
+
*
|
|
89
|
+
* @throws {@link ServiceQuotaExceededException} (client fault)
|
|
90
|
+
* <p>You have exceeded the set limits for your Amazon Q Business service. </p>
|
|
91
|
+
*
|
|
92
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
93
|
+
* <p>The request was denied due to throttling. Reduce the number of requests and try again.</p>
|
|
94
|
+
*
|
|
95
|
+
* @throws {@link ValidationException} (client fault)
|
|
96
|
+
* <p>The input doesn't meet the constraints set by the Amazon Q Business service. Provide the correct input and try again.</p>
|
|
97
|
+
*
|
|
98
|
+
* @throws {@link QBusinessServiceException}
|
|
99
|
+
* <p>Base exception class for all service exceptions from QBusiness service.</p>
|
|
100
|
+
*
|
|
101
|
+
*
|
|
102
|
+
* @public
|
|
103
|
+
*/
|
|
104
|
+
export declare class CreateChatResponseConfigurationCommand extends CreateChatResponseConfigurationCommand_base {
|
|
105
|
+
/** @internal type navigation helper, not in runtime. */
|
|
106
|
+
protected static __types: {
|
|
107
|
+
api: {
|
|
108
|
+
input: CreateChatResponseConfigurationRequest;
|
|
109
|
+
output: CreateChatResponseConfigurationResponse;
|
|
110
|
+
};
|
|
111
|
+
sdk: {
|
|
112
|
+
input: CreateChatResponseConfigurationCommandInput;
|
|
113
|
+
output: CreateChatResponseConfigurationCommandOutput;
|
|
114
|
+
};
|
|
115
|
+
};
|
|
116
|
+
}
|
|
@@ -41,24 +41,25 @@ declare const CreateRetrieverCommand_base: {
|
|
|
41
41
|
* configuration: { // RetrieverConfiguration Union: only one key present
|
|
42
42
|
* nativeIndexConfiguration: { // NativeIndexConfiguration
|
|
43
43
|
* indexId: "STRING_VALUE", // required
|
|
44
|
+
* version: Number("long"),
|
|
44
45
|
* boostingOverride: { // DocumentAttributeBoostingOverrideMap
|
|
45
46
|
* "<keys>": { // DocumentAttributeBoostingConfiguration Union: only one key present
|
|
46
47
|
* numberConfiguration: { // NumberAttributeBoostingConfiguration
|
|
47
|
-
* boostingLevel: "NONE" || "LOW" || "MEDIUM" || "HIGH" || "VERY_HIGH", // required
|
|
48
|
+
* boostingLevel: "NONE" || "LOW" || "MEDIUM" || "HIGH" || "VERY_HIGH" || "ONE" || "TWO", // required
|
|
48
49
|
* boostingType: "PRIORITIZE_LARGER_VALUES" || "PRIORITIZE_SMALLER_VALUES",
|
|
49
50
|
* },
|
|
50
51
|
* stringConfiguration: { // StringAttributeBoostingConfiguration
|
|
51
|
-
* boostingLevel: "NONE" || "LOW" || "MEDIUM" || "HIGH" || "VERY_HIGH", // required
|
|
52
|
+
* boostingLevel: "NONE" || "LOW" || "MEDIUM" || "HIGH" || "VERY_HIGH" || "ONE" || "TWO", // required
|
|
52
53
|
* attributeValueBoosting: { // StringAttributeValueBoosting
|
|
53
|
-
* "<keys>": "LOW" || "MEDIUM" || "HIGH" || "VERY_HIGH",
|
|
54
|
+
* "<keys>": "LOW" || "MEDIUM" || "HIGH" || "VERY_HIGH" || "ONE" || "TWO" || "THREE" || "FOUR" || "FIVE",
|
|
54
55
|
* },
|
|
55
56
|
* },
|
|
56
57
|
* dateConfiguration: { // DateAttributeBoostingConfiguration
|
|
57
|
-
* boostingLevel: "NONE" || "LOW" || "MEDIUM" || "HIGH" || "VERY_HIGH", // required
|
|
58
|
+
* boostingLevel: "NONE" || "LOW" || "MEDIUM" || "HIGH" || "VERY_HIGH" || "ONE" || "TWO", // required
|
|
58
59
|
* boostingDurationInSeconds: Number("long"),
|
|
59
60
|
* },
|
|
60
61
|
* stringListConfiguration: { // StringListAttributeBoostingConfiguration
|
|
61
|
-
* boostingLevel: "NONE" || "LOW" || "MEDIUM" || "HIGH" || "VERY_HIGH", // required
|
|
62
|
+
* boostingLevel: "NONE" || "LOW" || "MEDIUM" || "HIGH" || "VERY_HIGH" || "ONE" || "TWO", // required
|
|
62
63
|
* },
|
|
63
64
|
* },
|
|
64
65
|
* },
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { DeleteChatResponseConfigurationRequest, DeleteChatResponseConfigurationResponse } from "../models/models_0";
|
|
4
|
+
import { QBusinessClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../QBusinessClient";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link DeleteChatResponseConfigurationCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface DeleteChatResponseConfigurationCommandInput extends DeleteChatResponseConfigurationRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link DeleteChatResponseConfigurationCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface DeleteChatResponseConfigurationCommandOutput extends DeleteChatResponseConfigurationResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const DeleteChatResponseConfigurationCommand_base: {
|
|
25
|
+
new (input: DeleteChatResponseConfigurationCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteChatResponseConfigurationCommandInput, DeleteChatResponseConfigurationCommandOutput, QBusinessClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: DeleteChatResponseConfigurationCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteChatResponseConfigurationCommandInput, DeleteChatResponseConfigurationCommandOutput, QBusinessClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Deletes a specified chat response configuration from an Amazon Q Business application.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { QBusinessClient, DeleteChatResponseConfigurationCommand } from "@aws-sdk/client-qbusiness"; // ES Modules import
|
|
35
|
+
* // const { QBusinessClient, DeleteChatResponseConfigurationCommand } = require("@aws-sdk/client-qbusiness"); // CommonJS import
|
|
36
|
+
* const client = new QBusinessClient(config);
|
|
37
|
+
* const input = { // DeleteChatResponseConfigurationRequest
|
|
38
|
+
* applicationId: "STRING_VALUE", // required
|
|
39
|
+
* chatResponseConfigurationId: "STRING_VALUE", // required
|
|
40
|
+
* };
|
|
41
|
+
* const command = new DeleteChatResponseConfigurationCommand(input);
|
|
42
|
+
* const response = await client.send(command);
|
|
43
|
+
* // {};
|
|
44
|
+
*
|
|
45
|
+
* ```
|
|
46
|
+
*
|
|
47
|
+
* @param DeleteChatResponseConfigurationCommandInput - {@link DeleteChatResponseConfigurationCommandInput}
|
|
48
|
+
* @returns {@link DeleteChatResponseConfigurationCommandOutput}
|
|
49
|
+
* @see {@link DeleteChatResponseConfigurationCommandInput} for command's `input` shape.
|
|
50
|
+
* @see {@link DeleteChatResponseConfigurationCommandOutput} for command's `response` shape.
|
|
51
|
+
* @see {@link QBusinessClientResolvedConfig | config} for QBusinessClient's `config` shape.
|
|
52
|
+
*
|
|
53
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
54
|
+
* <p> You don't have access to perform this action. Make sure you have the required permission policies and user accounts and try again.</p>
|
|
55
|
+
*
|
|
56
|
+
* @throws {@link ConflictException} (client fault)
|
|
57
|
+
* <p>You are trying to perform an action that conflicts with the current status of your resource. Fix any inconsistencies with your resources and try again.</p>
|
|
58
|
+
*
|
|
59
|
+
* @throws {@link InternalServerException} (server fault)
|
|
60
|
+
* <p>An issue occurred with the internal server used for your Amazon Q Business service. Wait some minutes and try again, or contact <a href="http://aws.amazon.com/contact-us/">Support</a> for help.</p>
|
|
61
|
+
*
|
|
62
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
63
|
+
* <p>The application or plugin resource you want to use doesn’t exist. Make sure you have provided the correct resource and try again.</p>
|
|
64
|
+
*
|
|
65
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
66
|
+
* <p>The request was denied due to throttling. Reduce the number of requests and try again.</p>
|
|
67
|
+
*
|
|
68
|
+
* @throws {@link ValidationException} (client fault)
|
|
69
|
+
* <p>The input doesn't meet the constraints set by the Amazon Q Business service. Provide the correct input and try again.</p>
|
|
70
|
+
*
|
|
71
|
+
* @throws {@link QBusinessServiceException}
|
|
72
|
+
* <p>Base exception class for all service exceptions from QBusiness service.</p>
|
|
73
|
+
*
|
|
74
|
+
*
|
|
75
|
+
* @public
|
|
76
|
+
*/
|
|
77
|
+
export declare class DeleteChatResponseConfigurationCommand extends DeleteChatResponseConfigurationCommand_base {
|
|
78
|
+
/** @internal type navigation helper, not in runtime. */
|
|
79
|
+
protected static __types: {
|
|
80
|
+
api: {
|
|
81
|
+
input: DeleteChatResponseConfigurationRequest;
|
|
82
|
+
output: {};
|
|
83
|
+
};
|
|
84
|
+
sdk: {
|
|
85
|
+
input: DeleteChatResponseConfigurationCommandInput;
|
|
86
|
+
output: DeleteChatResponseConfigurationCommandOutput;
|
|
87
|
+
};
|
|
88
|
+
};
|
|
89
|
+
}
|
|
@@ -0,0 +1,137 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { GetChatResponseConfigurationRequest, GetChatResponseConfigurationResponse } from "../models/models_1";
|
|
4
|
+
import { QBusinessClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../QBusinessClient";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link GetChatResponseConfigurationCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface GetChatResponseConfigurationCommandInput extends GetChatResponseConfigurationRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link GetChatResponseConfigurationCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface GetChatResponseConfigurationCommandOutput extends GetChatResponseConfigurationResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const GetChatResponseConfigurationCommand_base: {
|
|
25
|
+
new (input: GetChatResponseConfigurationCommandInput): import("@smithy/smithy-client").CommandImpl<GetChatResponseConfigurationCommandInput, GetChatResponseConfigurationCommandOutput, QBusinessClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: GetChatResponseConfigurationCommandInput): import("@smithy/smithy-client").CommandImpl<GetChatResponseConfigurationCommandInput, GetChatResponseConfigurationCommandOutput, QBusinessClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Retrieves detailed information about a specific chat response configuration from an Amazon Q Business application. This operation returns the complete configuration settings and metadata.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { QBusinessClient, GetChatResponseConfigurationCommand } from "@aws-sdk/client-qbusiness"; // ES Modules import
|
|
35
|
+
* // const { QBusinessClient, GetChatResponseConfigurationCommand } = require("@aws-sdk/client-qbusiness"); // CommonJS import
|
|
36
|
+
* const client = new QBusinessClient(config);
|
|
37
|
+
* const input = { // GetChatResponseConfigurationRequest
|
|
38
|
+
* applicationId: "STRING_VALUE", // required
|
|
39
|
+
* chatResponseConfigurationId: "STRING_VALUE", // required
|
|
40
|
+
* };
|
|
41
|
+
* const command = new GetChatResponseConfigurationCommand(input);
|
|
42
|
+
* const response = await client.send(command);
|
|
43
|
+
* // { // GetChatResponseConfigurationResponse
|
|
44
|
+
* // chatResponseConfigurationId: "STRING_VALUE",
|
|
45
|
+
* // chatResponseConfigurationArn: "STRING_VALUE",
|
|
46
|
+
* // displayName: "STRING_VALUE",
|
|
47
|
+
* // createdAt: new Date("TIMESTAMP"),
|
|
48
|
+
* // inUseConfiguration: { // ChatResponseConfigurationDetail
|
|
49
|
+
* // responseConfigurations: { // ResponseConfigurations
|
|
50
|
+
* // "<keys>": { // ResponseConfiguration
|
|
51
|
+
* // instructionCollection: { // InstructionCollection
|
|
52
|
+
* // responseLength: "STRING_VALUE",
|
|
53
|
+
* // targetAudience: "STRING_VALUE",
|
|
54
|
+
* // perspective: "STRING_VALUE",
|
|
55
|
+
* // outputStyle: "STRING_VALUE",
|
|
56
|
+
* // identity: "STRING_VALUE",
|
|
57
|
+
* // tone: "STRING_VALUE",
|
|
58
|
+
* // customInstructions: "STRING_VALUE",
|
|
59
|
+
* // examples: "STRING_VALUE",
|
|
60
|
+
* // },
|
|
61
|
+
* // },
|
|
62
|
+
* // },
|
|
63
|
+
* // responseConfigurationSummary: "STRING_VALUE",
|
|
64
|
+
* // status: "CREATING" || "UPDATING" || "FAILED" || "ACTIVE",
|
|
65
|
+
* // error: { // ErrorDetail
|
|
66
|
+
* // errorMessage: "STRING_VALUE",
|
|
67
|
+
* // errorCode: "InternalError" || "InvalidRequest" || "ResourceInactive" || "ResourceNotFound",
|
|
68
|
+
* // },
|
|
69
|
+
* // updatedAt: new Date("TIMESTAMP"),
|
|
70
|
+
* // },
|
|
71
|
+
* // lastUpdateConfiguration: {
|
|
72
|
+
* // responseConfigurations: {
|
|
73
|
+
* // "<keys>": {
|
|
74
|
+
* // instructionCollection: {
|
|
75
|
+
* // responseLength: "STRING_VALUE",
|
|
76
|
+
* // targetAudience: "STRING_VALUE",
|
|
77
|
+
* // perspective: "STRING_VALUE",
|
|
78
|
+
* // outputStyle: "STRING_VALUE",
|
|
79
|
+
* // identity: "STRING_VALUE",
|
|
80
|
+
* // tone: "STRING_VALUE",
|
|
81
|
+
* // customInstructions: "STRING_VALUE",
|
|
82
|
+
* // examples: "STRING_VALUE",
|
|
83
|
+
* // },
|
|
84
|
+
* // },
|
|
85
|
+
* // },
|
|
86
|
+
* // responseConfigurationSummary: "STRING_VALUE",
|
|
87
|
+
* // status: "CREATING" || "UPDATING" || "FAILED" || "ACTIVE",
|
|
88
|
+
* // error: {
|
|
89
|
+
* // errorMessage: "STRING_VALUE",
|
|
90
|
+
* // errorCode: "InternalError" || "InvalidRequest" || "ResourceInactive" || "ResourceNotFound",
|
|
91
|
+
* // },
|
|
92
|
+
* // updatedAt: new Date("TIMESTAMP"),
|
|
93
|
+
* // },
|
|
94
|
+
* // };
|
|
95
|
+
*
|
|
96
|
+
* ```
|
|
97
|
+
*
|
|
98
|
+
* @param GetChatResponseConfigurationCommandInput - {@link GetChatResponseConfigurationCommandInput}
|
|
99
|
+
* @returns {@link GetChatResponseConfigurationCommandOutput}
|
|
100
|
+
* @see {@link GetChatResponseConfigurationCommandInput} for command's `input` shape.
|
|
101
|
+
* @see {@link GetChatResponseConfigurationCommandOutput} for command's `response` shape.
|
|
102
|
+
* @see {@link QBusinessClientResolvedConfig | config} for QBusinessClient's `config` shape.
|
|
103
|
+
*
|
|
104
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
105
|
+
* <p> You don't have access to perform this action. Make sure you have the required permission policies and user accounts and try again.</p>
|
|
106
|
+
*
|
|
107
|
+
* @throws {@link InternalServerException} (server fault)
|
|
108
|
+
* <p>An issue occurred with the internal server used for your Amazon Q Business service. Wait some minutes and try again, or contact <a href="http://aws.amazon.com/contact-us/">Support</a> for help.</p>
|
|
109
|
+
*
|
|
110
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
111
|
+
* <p>The application or plugin resource you want to use doesn’t exist. Make sure you have provided the correct resource and try again.</p>
|
|
112
|
+
*
|
|
113
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
114
|
+
* <p>The request was denied due to throttling. Reduce the number of requests and try again.</p>
|
|
115
|
+
*
|
|
116
|
+
* @throws {@link ValidationException} (client fault)
|
|
117
|
+
* <p>The input doesn't meet the constraints set by the Amazon Q Business service. Provide the correct input and try again.</p>
|
|
118
|
+
*
|
|
119
|
+
* @throws {@link QBusinessServiceException}
|
|
120
|
+
* <p>Base exception class for all service exceptions from QBusiness service.</p>
|
|
121
|
+
*
|
|
122
|
+
*
|
|
123
|
+
* @public
|
|
124
|
+
*/
|
|
125
|
+
export declare class GetChatResponseConfigurationCommand extends GetChatResponseConfigurationCommand_base {
|
|
126
|
+
/** @internal type navigation helper, not in runtime. */
|
|
127
|
+
protected static __types: {
|
|
128
|
+
api: {
|
|
129
|
+
input: GetChatResponseConfigurationRequest;
|
|
130
|
+
output: GetChatResponseConfigurationResponse;
|
|
131
|
+
};
|
|
132
|
+
sdk: {
|
|
133
|
+
input: GetChatResponseConfigurationCommandInput;
|
|
134
|
+
output: GetChatResponseConfigurationCommandOutput;
|
|
135
|
+
};
|
|
136
|
+
};
|
|
137
|
+
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import { GetGroupRequest, GetGroupResponse } from "../models/
|
|
3
|
+
import { GetGroupRequest, GetGroupResponse } from "../models/models_1";
|
|
4
4
|
import { QBusinessClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../QBusinessClient";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import { GetMediaRequest, GetMediaResponse } from "../models/
|
|
3
|
+
import { GetMediaRequest, GetMediaResponse } from "../models/models_1";
|
|
4
4
|
import { QBusinessClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../QBusinessClient";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import { GetPolicyRequest, GetPolicyResponse } from "../models/
|
|
3
|
+
import { GetPolicyRequest, GetPolicyResponse } from "../models/models_1";
|
|
4
4
|
import { QBusinessClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../QBusinessClient";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
@@ -50,24 +50,25 @@ declare const GetRetrieverCommand_base: {
|
|
|
50
50
|
* // configuration: { // RetrieverConfiguration Union: only one key present
|
|
51
51
|
* // nativeIndexConfiguration: { // NativeIndexConfiguration
|
|
52
52
|
* // indexId: "STRING_VALUE", // required
|
|
53
|
+
* // version: Number("long"),
|
|
53
54
|
* // boostingOverride: { // DocumentAttributeBoostingOverrideMap
|
|
54
55
|
* // "<keys>": { // DocumentAttributeBoostingConfiguration Union: only one key present
|
|
55
56
|
* // numberConfiguration: { // NumberAttributeBoostingConfiguration
|
|
56
|
-
* // boostingLevel: "NONE" || "LOW" || "MEDIUM" || "HIGH" || "VERY_HIGH", // required
|
|
57
|
+
* // boostingLevel: "NONE" || "LOW" || "MEDIUM" || "HIGH" || "VERY_HIGH" || "ONE" || "TWO", // required
|
|
57
58
|
* // boostingType: "PRIORITIZE_LARGER_VALUES" || "PRIORITIZE_SMALLER_VALUES",
|
|
58
59
|
* // },
|
|
59
60
|
* // stringConfiguration: { // StringAttributeBoostingConfiguration
|
|
60
|
-
* // boostingLevel: "NONE" || "LOW" || "MEDIUM" || "HIGH" || "VERY_HIGH", // required
|
|
61
|
+
* // boostingLevel: "NONE" || "LOW" || "MEDIUM" || "HIGH" || "VERY_HIGH" || "ONE" || "TWO", // required
|
|
61
62
|
* // attributeValueBoosting: { // StringAttributeValueBoosting
|
|
62
|
-
* // "<keys>": "LOW" || "MEDIUM" || "HIGH" || "VERY_HIGH",
|
|
63
|
+
* // "<keys>": "LOW" || "MEDIUM" || "HIGH" || "VERY_HIGH" || "ONE" || "TWO" || "THREE" || "FOUR" || "FIVE",
|
|
63
64
|
* // },
|
|
64
65
|
* // },
|
|
65
66
|
* // dateConfiguration: { // DateAttributeBoostingConfiguration
|
|
66
|
-
* // boostingLevel: "NONE" || "LOW" || "MEDIUM" || "HIGH" || "VERY_HIGH", // required
|
|
67
|
+
* // boostingLevel: "NONE" || "LOW" || "MEDIUM" || "HIGH" || "VERY_HIGH" || "ONE" || "TWO", // required
|
|
67
68
|
* // boostingDurationInSeconds: Number("long"),
|
|
68
69
|
* // },
|
|
69
70
|
* // stringListConfiguration: { // StringListAttributeBoostingConfiguration
|
|
70
|
-
* // boostingLevel: "NONE" || "LOW" || "MEDIUM" || "HIGH" || "VERY_HIGH", // required
|
|
71
|
+
* // boostingLevel: "NONE" || "LOW" || "MEDIUM" || "HIGH" || "VERY_HIGH" || "ONE" || "TWO", // required
|
|
71
72
|
* // },
|
|
72
73
|
* // },
|
|
73
74
|
* // },
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import { GetUserRequest } from "../models/
|
|
4
|
-
import { GetUserResponse } from "../models/models_1";
|
|
3
|
+
import { GetUserRequest, GetUserResponse } from "../models/models_1";
|
|
5
4
|
import { QBusinessClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../QBusinessClient";
|
|
6
5
|
/**
|
|
7
6
|
* @public
|