Skip to content

Commit 32269b6

Browse files
author
awstools
committed
feat(client-qbusiness): New ChatResponseConfiguration to Customize Q Business chat responses for specific use cases and communication needs. Updated Boosting capability allowing admins to provide preference on date attributes for recency and/or provide a preferred data source.
1 parent 859a807 commit 32269b6

22 files changed

+2650
-251
lines changed

clients/client-qbusiness/README.md

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -274,6 +274,14 @@ CreateApplication
274274

275275
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/qbusiness/command/CreateApplicationCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-qbusiness/Interface/CreateApplicationCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-qbusiness/Interface/CreateApplicationCommandOutput/)
276276

277+
</details>
278+
<details>
279+
<summary>
280+
CreateChatResponseConfiguration
281+
</summary>
282+
283+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/qbusiness/command/CreateChatResponseConfigurationCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-qbusiness/Interface/CreateChatResponseConfigurationCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-qbusiness/Interface/CreateChatResponseConfigurationCommandOutput/)
284+
277285
</details>
278286
<details>
279287
<summary>
@@ -362,6 +370,14 @@ DeleteChatControlsConfiguration
362370

363371
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/qbusiness/command/DeleteChatControlsConfigurationCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-qbusiness/Interface/DeleteChatControlsConfigurationCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-qbusiness/Interface/DeleteChatControlsConfigurationCommandOutput/)
364372

373+
</details>
374+
<details>
375+
<summary>
376+
DeleteChatResponseConfiguration
377+
</summary>
378+
379+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/qbusiness/command/DeleteChatResponseConfigurationCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-qbusiness/Interface/DeleteChatResponseConfigurationCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-qbusiness/Interface/DeleteChatResponseConfigurationCommandOutput/)
380+
365381
</details>
366382
<details>
367383
<summary>
@@ -458,6 +474,14 @@ GetChatControlsConfiguration
458474

459475
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/qbusiness/command/GetChatControlsConfigurationCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-qbusiness/Interface/GetChatControlsConfigurationCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-qbusiness/Interface/GetChatControlsConfigurationCommandOutput/)
460476

477+
</details>
478+
<details>
479+
<summary>
480+
GetChatResponseConfiguration
481+
</summary>
482+
483+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/qbusiness/command/GetChatResponseConfigurationCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-qbusiness/Interface/GetChatResponseConfigurationCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-qbusiness/Interface/GetChatResponseConfigurationCommandOutput/)
484+
461485
</details>
462486
<details>
463487
<summary>
@@ -554,6 +578,14 @@ ListAttachments
554578

555579
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/qbusiness/command/ListAttachmentsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-qbusiness/Interface/ListAttachmentsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-qbusiness/Interface/ListAttachmentsCommandOutput/)
556580

581+
</details>
582+
<details>
583+
<summary>
584+
ListChatResponseConfigurations
585+
</summary>
586+
587+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/qbusiness/command/ListChatResponseConfigurationsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-qbusiness/Interface/ListChatResponseConfigurationsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-qbusiness/Interface/ListChatResponseConfigurationsCommandOutput/)
588+
557589
</details>
558590
<details>
559591
<summary>
@@ -754,6 +786,14 @@ UpdateChatControlsConfiguration
754786

755787
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/qbusiness/command/UpdateChatControlsConfigurationCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-qbusiness/Interface/UpdateChatControlsConfigurationCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-qbusiness/Interface/UpdateChatControlsConfigurationCommandOutput/)
756788

789+
</details>
790+
<details>
791+
<summary>
792+
UpdateChatResponseConfiguration
793+
</summary>
794+
795+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/qbusiness/command/UpdateChatResponseConfigurationCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-qbusiness/Interface/UpdateChatResponseConfigurationCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-qbusiness/Interface/UpdateChatResponseConfigurationCommandOutput/)
796+
757797
</details>
758798
<details>
759799
<summary>

clients/client-qbusiness/src/QBusiness.ts

Lines changed: 115 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,11 @@ import {
3939
CreateApplicationCommandInput,
4040
CreateApplicationCommandOutput,
4141
} from "./commands/CreateApplicationCommand";
42+
import {
43+
CreateChatResponseConfigurationCommand,
44+
CreateChatResponseConfigurationCommandInput,
45+
CreateChatResponseConfigurationCommandOutput,
46+
} from "./commands/CreateChatResponseConfigurationCommand";
4247
import {
4348
CreateDataAccessorCommand,
4449
CreateDataAccessorCommandInput,
@@ -86,6 +91,11 @@ import {
8691
DeleteChatControlsConfigurationCommandInput,
8792
DeleteChatControlsConfigurationCommandOutput,
8893
} from "./commands/DeleteChatControlsConfigurationCommand";
94+
import {
95+
DeleteChatResponseConfigurationCommand,
96+
DeleteChatResponseConfigurationCommandInput,
97+
DeleteChatResponseConfigurationCommandOutput,
98+
} from "./commands/DeleteChatResponseConfigurationCommand";
8999
import {
90100
DeleteConversationCommand,
91101
DeleteConversationCommandInput,
@@ -134,6 +144,11 @@ import {
134144
GetChatControlsConfigurationCommandInput,
135145
GetChatControlsConfigurationCommandOutput,
136146
} from "./commands/GetChatControlsConfigurationCommand";
147+
import {
148+
GetChatResponseConfigurationCommand,
149+
GetChatResponseConfigurationCommandInput,
150+
GetChatResponseConfigurationCommandOutput,
151+
} from "./commands/GetChatResponseConfigurationCommand";
137152
import {
138153
GetDataAccessorCommand,
139154
GetDataAccessorCommandInput,
@@ -170,6 +185,11 @@ import {
170185
ListAttachmentsCommandInput,
171186
ListAttachmentsCommandOutput,
172187
} from "./commands/ListAttachmentsCommand";
188+
import {
189+
ListChatResponseConfigurationsCommand,
190+
ListChatResponseConfigurationsCommandInput,
191+
ListChatResponseConfigurationsCommandOutput,
192+
} from "./commands/ListChatResponseConfigurationsCommand";
173193
import {
174194
ListConversationsCommand,
175195
ListConversationsCommandInput,
@@ -271,6 +291,11 @@ import {
271291
UpdateChatControlsConfigurationCommandInput,
272292
UpdateChatControlsConfigurationCommandOutput,
273293
} from "./commands/UpdateChatControlsConfigurationCommand";
294+
import {
295+
UpdateChatResponseConfigurationCommand,
296+
UpdateChatResponseConfigurationCommandInput,
297+
UpdateChatResponseConfigurationCommandOutput,
298+
} from "./commands/UpdateChatResponseConfigurationCommand";
274299
import {
275300
UpdateDataAccessorCommand,
276301
UpdateDataAccessorCommandInput,
@@ -315,6 +340,7 @@ const commands = {
315340
CheckDocumentAccessCommand,
316341
CreateAnonymousWebExperienceUrlCommand,
317342
CreateApplicationCommand,
343+
CreateChatResponseConfigurationCommand,
318344
CreateDataAccessorCommand,
319345
CreateDataSourceCommand,
320346
CreateIndexCommand,
@@ -326,6 +352,7 @@ const commands = {
326352
DeleteApplicationCommand,
327353
DeleteAttachmentCommand,
328354
DeleteChatControlsConfigurationCommand,
355+
DeleteChatResponseConfigurationCommand,
329356
DeleteConversationCommand,
330357
DeleteDataAccessorCommand,
331358
DeleteDataSourceCommand,
@@ -338,6 +365,7 @@ const commands = {
338365
DisassociatePermissionCommand,
339366
GetApplicationCommand,
340367
GetChatControlsConfigurationCommand,
368+
GetChatResponseConfigurationCommand,
341369
GetDataAccessorCommand,
342370
GetDataSourceCommand,
343371
GetGroupCommand,
@@ -350,6 +378,7 @@ const commands = {
350378
GetWebExperienceCommand,
351379
ListApplicationsCommand,
352380
ListAttachmentsCommand,
381+
ListChatResponseConfigurationsCommand,
353382
ListConversationsCommand,
354383
ListDataAccessorsCommand,
355384
ListDataSourcesCommand,
@@ -375,6 +404,7 @@ const commands = {
375404
UntagResourceCommand,
376405
UpdateApplicationCommand,
377406
UpdateChatControlsConfigurationCommand,
407+
UpdateChatResponseConfigurationCommand,
378408
UpdateDataAccessorCommand,
379409
UpdateDataSourceCommand,
380410
UpdateIndexCommand,
@@ -523,6 +553,23 @@ export interface QBusiness {
523553
cb: (err: any, data?: CreateApplicationCommandOutput) => void
524554
): void;
525555

556+
/**
557+
* @see {@link CreateChatResponseConfigurationCommand}
558+
*/
559+
createChatResponseConfiguration(
560+
args: CreateChatResponseConfigurationCommandInput,
561+
options?: __HttpHandlerOptions
562+
): Promise<CreateChatResponseConfigurationCommandOutput>;
563+
createChatResponseConfiguration(
564+
args: CreateChatResponseConfigurationCommandInput,
565+
cb: (err: any, data?: CreateChatResponseConfigurationCommandOutput) => void
566+
): void;
567+
createChatResponseConfiguration(
568+
args: CreateChatResponseConfigurationCommandInput,
569+
options: __HttpHandlerOptions,
570+
cb: (err: any, data?: CreateChatResponseConfigurationCommandOutput) => void
571+
): void;
572+
526573
/**
527574
* @see {@link CreateDataAccessorCommand}
528575
*/
@@ -689,6 +736,23 @@ export interface QBusiness {
689736
cb: (err: any, data?: DeleteChatControlsConfigurationCommandOutput) => void
690737
): void;
691738

739+
/**
740+
* @see {@link DeleteChatResponseConfigurationCommand}
741+
*/
742+
deleteChatResponseConfiguration(
743+
args: DeleteChatResponseConfigurationCommandInput,
744+
options?: __HttpHandlerOptions
745+
): Promise<DeleteChatResponseConfigurationCommandOutput>;
746+
deleteChatResponseConfiguration(
747+
args: DeleteChatResponseConfigurationCommandInput,
748+
cb: (err: any, data?: DeleteChatResponseConfigurationCommandOutput) => void
749+
): void;
750+
deleteChatResponseConfiguration(
751+
args: DeleteChatResponseConfigurationCommandInput,
752+
options: __HttpHandlerOptions,
753+
cb: (err: any, data?: DeleteChatResponseConfigurationCommandOutput) => void
754+
): void;
755+
692756
/**
693757
* @see {@link DeleteConversationCommand}
694758
*/
@@ -863,6 +927,23 @@ export interface QBusiness {
863927
cb: (err: any, data?: GetChatControlsConfigurationCommandOutput) => void
864928
): void;
865929

930+
/**
931+
* @see {@link GetChatResponseConfigurationCommand}
932+
*/
933+
getChatResponseConfiguration(
934+
args: GetChatResponseConfigurationCommandInput,
935+
options?: __HttpHandlerOptions
936+
): Promise<GetChatResponseConfigurationCommandOutput>;
937+
getChatResponseConfiguration(
938+
args: GetChatResponseConfigurationCommandInput,
939+
cb: (err: any, data?: GetChatResponseConfigurationCommandOutput) => void
940+
): void;
941+
getChatResponseConfiguration(
942+
args: GetChatResponseConfigurationCommandInput,
943+
options: __HttpHandlerOptions,
944+
cb: (err: any, data?: GetChatResponseConfigurationCommandOutput) => void
945+
): void;
946+
866947
/**
867948
* @see {@link GetDataAccessorCommand}
868949
*/
@@ -1014,6 +1095,23 @@ export interface QBusiness {
10141095
cb: (err: any, data?: ListAttachmentsCommandOutput) => void
10151096
): void;
10161097

1098+
/**
1099+
* @see {@link ListChatResponseConfigurationsCommand}
1100+
*/
1101+
listChatResponseConfigurations(
1102+
args: ListChatResponseConfigurationsCommandInput,
1103+
options?: __HttpHandlerOptions
1104+
): Promise<ListChatResponseConfigurationsCommandOutput>;
1105+
listChatResponseConfigurations(
1106+
args: ListChatResponseConfigurationsCommandInput,
1107+
cb: (err: any, data?: ListChatResponseConfigurationsCommandOutput) => void
1108+
): void;
1109+
listChatResponseConfigurations(
1110+
args: ListChatResponseConfigurationsCommandInput,
1111+
options: __HttpHandlerOptions,
1112+
cb: (err: any, data?: ListChatResponseConfigurationsCommandOutput) => void
1113+
): void;
1114+
10171115
/**
10181116
* @see {@link ListConversationsCommand}
10191117
*/
@@ -1380,6 +1478,23 @@ export interface QBusiness {
13801478
cb: (err: any, data?: UpdateChatControlsConfigurationCommandOutput) => void
13811479
): void;
13821480

1481+
/**
1482+
* @see {@link UpdateChatResponseConfigurationCommand}
1483+
*/
1484+
updateChatResponseConfiguration(
1485+
args: UpdateChatResponseConfigurationCommandInput,
1486+
options?: __HttpHandlerOptions
1487+
): Promise<UpdateChatResponseConfigurationCommandOutput>;
1488+
updateChatResponseConfiguration(
1489+
args: UpdateChatResponseConfigurationCommandInput,
1490+
cb: (err: any, data?: UpdateChatResponseConfigurationCommandOutput) => void
1491+
): void;
1492+
updateChatResponseConfiguration(
1493+
args: UpdateChatResponseConfigurationCommandInput,
1494+
options: __HttpHandlerOptions,
1495+
cb: (err: any, data?: UpdateChatResponseConfigurationCommandOutput) => void
1496+
): void;
1497+
13831498
/**
13841499
* @see {@link UpdateDataAccessorCommand}
13851500
*/

0 commit comments

Comments
 (0)