@aws-sdk/client-qbusiness 3.554.0 → 3.557.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 +15 -16
- package/dist-cjs/index.js +36 -5
- package/dist-es/models/models_0.js +17 -0
- package/dist-es/protocols/Aws_restJson1.js +13 -5
- package/dist-types/QBusiness.d.ts +15 -16
- package/dist-types/QBusinessClient.d.ts +15 -16
- package/dist-types/commands/BatchDeleteDocumentCommand.d.ts +3 -3
- package/dist-types/commands/BatchPutDocumentCommand.d.ts +7 -7
- package/dist-types/commands/ChatSyncCommand.d.ts +10 -4
- package/dist-types/commands/CreateApplicationCommand.d.ts +5 -4
- package/dist-types/commands/CreateDataSourceCommand.d.ts +4 -4
- package/dist-types/commands/CreateIndexCommand.d.ts +4 -4
- package/dist-types/commands/CreatePluginCommand.d.ts +4 -4
- package/dist-types/commands/CreateRetrieverCommand.d.ts +4 -4
- package/dist-types/commands/CreateUserCommand.d.ts +3 -3
- package/dist-types/commands/CreateWebExperienceCommand.d.ts +5 -4
- package/dist-types/commands/DeleteApplicationCommand.d.ts +3 -3
- package/dist-types/commands/DeleteChatControlsConfigurationCommand.d.ts +3 -3
- package/dist-types/commands/DeleteConversationCommand.d.ts +4 -4
- package/dist-types/commands/DeleteDataSourceCommand.d.ts +3 -3
- package/dist-types/commands/DeleteGroupCommand.d.ts +2 -2
- package/dist-types/commands/DeleteIndexCommand.d.ts +3 -3
- package/dist-types/commands/DeletePluginCommand.d.ts +3 -3
- package/dist-types/commands/DeleteRetrieverCommand.d.ts +3 -3
- package/dist-types/commands/DeleteUserCommand.d.ts +2 -2
- package/dist-types/commands/DeleteWebExperienceCommand.d.ts +3 -3
- package/dist-types/commands/GetApplicationCommand.d.ts +4 -3
- package/dist-types/commands/GetChatControlsConfigurationCommand.d.ts +6 -3
- package/dist-types/commands/GetDataSourceCommand.d.ts +3 -3
- package/dist-types/commands/GetGroupCommand.d.ts +2 -2
- package/dist-types/commands/GetIndexCommand.d.ts +3 -3
- package/dist-types/commands/GetPluginCommand.d.ts +3 -3
- package/dist-types/commands/GetRetrieverCommand.d.ts +3 -3
- package/dist-types/commands/GetUserCommand.d.ts +2 -2
- package/dist-types/commands/GetWebExperienceCommand.d.ts +4 -3
- package/dist-types/commands/ListApplicationsCommand.d.ts +3 -3
- package/dist-types/commands/ListConversationsCommand.d.ts +4 -4
- package/dist-types/commands/ListDataSourceSyncJobsCommand.d.ts +3 -3
- package/dist-types/commands/ListDataSourcesCommand.d.ts +3 -3
- package/dist-types/commands/ListDocumentsCommand.d.ts +2 -2
- package/dist-types/commands/ListGroupsCommand.d.ts +2 -2
- package/dist-types/commands/ListIndicesCommand.d.ts +3 -3
- package/dist-types/commands/ListMessagesCommand.d.ts +4 -4
- package/dist-types/commands/ListPluginsCommand.d.ts +3 -3
- package/dist-types/commands/ListRetrieversCommand.d.ts +3 -3
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -3
- package/dist-types/commands/ListWebExperiencesCommand.d.ts +3 -3
- package/dist-types/commands/PutFeedbackCommand.d.ts +4 -4
- package/dist-types/commands/PutGroupCommand.d.ts +4 -4
- package/dist-types/commands/StartDataSourceSyncJobCommand.d.ts +4 -4
- package/dist-types/commands/StopDataSourceSyncJobCommand.d.ts +3 -3
- package/dist-types/commands/TagResourceCommand.d.ts +3 -3
- package/dist-types/commands/UntagResourceCommand.d.ts +3 -3
- package/dist-types/commands/UpdateApplicationCommand.d.ts +3 -3
- package/dist-types/commands/UpdateChatControlsConfigurationCommand.d.ts +7 -4
- package/dist-types/commands/UpdateDataSourceCommand.d.ts +3 -3
- package/dist-types/commands/UpdateIndexCommand.d.ts +4 -4
- package/dist-types/commands/UpdatePluginCommand.d.ts +4 -4
- package/dist-types/commands/UpdateRetrieverCommand.d.ts +4 -4
- package/dist-types/commands/UpdateUserCommand.d.ts +3 -3
- package/dist-types/commands/UpdateWebExperienceCommand.d.ts +3 -3
- package/dist-types/index.d.ts +15 -16
- package/dist-types/models/models_0.d.ts +491 -320
- package/dist-types/ts3.4/models/models_0.d.ts +52 -5
- package/package.json +4 -4
|
@@ -154,6 +154,7 @@ export interface Tag {
|
|
|
154
154
|
export interface CreateApplicationRequest {
|
|
155
155
|
displayName: string | undefined;
|
|
156
156
|
roleArn: string | undefined;
|
|
157
|
+
identityCenterInstanceArn?: string;
|
|
157
158
|
description?: string;
|
|
158
159
|
encryptionConfiguration?: EncryptionConfiguration;
|
|
159
160
|
tags?: Tag[];
|
|
@@ -241,6 +242,7 @@ export interface GetApplicationResponse {
|
|
|
241
242
|
displayName?: string;
|
|
242
243
|
applicationId?: string;
|
|
243
244
|
applicationArn?: string;
|
|
245
|
+
identityCenterApplicationArn?: string;
|
|
244
246
|
roleArn?: string;
|
|
245
247
|
status?: ApplicationStatus;
|
|
246
248
|
description?: string;
|
|
@@ -867,6 +869,7 @@ export interface CreateWebExperienceRequest {
|
|
|
867
869
|
subtitle?: string;
|
|
868
870
|
welcomeMessage?: string;
|
|
869
871
|
samplePromptsControlMode?: WebExperienceSamplePromptsControlMode;
|
|
872
|
+
roleArn?: string;
|
|
870
873
|
tags?: Tag[];
|
|
871
874
|
clientToken?: string;
|
|
872
875
|
}
|
|
@@ -931,6 +934,7 @@ export interface GetWebExperienceResponse {
|
|
|
931
934
|
subtitle?: string;
|
|
932
935
|
welcomeMessage?: string;
|
|
933
936
|
samplePromptsControlMode?: WebExperienceSamplePromptsControlMode;
|
|
937
|
+
roleArn?: string;
|
|
934
938
|
authenticationConfiguration?: WebExperienceAuthConfiguration;
|
|
935
939
|
error?: ErrorDetail;
|
|
936
940
|
}
|
|
@@ -960,6 +964,15 @@ export interface UpdateWebExperienceRequest {
|
|
|
960
964
|
samplePromptsControlMode?: WebExperienceSamplePromptsControlMode;
|
|
961
965
|
}
|
|
962
966
|
export interface UpdateWebExperienceResponse {}
|
|
967
|
+
export declare const CreatorModeControl: {
|
|
968
|
+
readonly DISABLED: "DISABLED";
|
|
969
|
+
readonly ENABLED: "ENABLED";
|
|
970
|
+
};
|
|
971
|
+
export type CreatorModeControl =
|
|
972
|
+
(typeof CreatorModeControl)[keyof typeof CreatorModeControl];
|
|
973
|
+
export interface AppliedCreatorModeConfiguration {
|
|
974
|
+
creatorModeControl: CreatorModeControl | undefined;
|
|
975
|
+
}
|
|
963
976
|
export interface AttachmentInput {
|
|
964
977
|
name: string | undefined;
|
|
965
978
|
data: Uint8Array | undefined;
|
|
@@ -1070,6 +1083,33 @@ export interface BlockedPhrasesConfigurationUpdate {
|
|
|
1070
1083
|
blockedPhrasesToDelete?: string[];
|
|
1071
1084
|
systemMessageOverride?: string;
|
|
1072
1085
|
}
|
|
1086
|
+
export declare const ChatMode: {
|
|
1087
|
+
readonly CREATOR_MODE: "CREATOR_MODE";
|
|
1088
|
+
readonly PLUGIN_MODE: "PLUGIN_MODE";
|
|
1089
|
+
readonly RETRIEVAL_MODE: "RETRIEVAL_MODE";
|
|
1090
|
+
};
|
|
1091
|
+
export type ChatMode = (typeof ChatMode)[keyof typeof ChatMode];
|
|
1092
|
+
export interface PluginConfiguration {
|
|
1093
|
+
pluginId: string | undefined;
|
|
1094
|
+
}
|
|
1095
|
+
export type ChatModeConfiguration =
|
|
1096
|
+
| ChatModeConfiguration.PluginConfigurationMember
|
|
1097
|
+
| ChatModeConfiguration.$UnknownMember;
|
|
1098
|
+
export declare namespace ChatModeConfiguration {
|
|
1099
|
+
interface PluginConfigurationMember {
|
|
1100
|
+
pluginConfiguration: PluginConfiguration;
|
|
1101
|
+
$unknown?: never;
|
|
1102
|
+
}
|
|
1103
|
+
interface $UnknownMember {
|
|
1104
|
+
pluginConfiguration?: never;
|
|
1105
|
+
$unknown: [string, any];
|
|
1106
|
+
}
|
|
1107
|
+
interface Visitor<T> {
|
|
1108
|
+
pluginConfiguration: (value: PluginConfiguration) => T;
|
|
1109
|
+
_: (name: string, value: any) => T;
|
|
1110
|
+
}
|
|
1111
|
+
const visit: <T>(value: ChatModeConfiguration, visitor: Visitor<T>) => T;
|
|
1112
|
+
}
|
|
1073
1113
|
export interface TextSegment {
|
|
1074
1114
|
beginOffset?: number;
|
|
1075
1115
|
endOffset?: number;
|
|
@@ -1125,6 +1165,9 @@ export interface CreateUserRequest {
|
|
|
1125
1165
|
clientToken?: string;
|
|
1126
1166
|
}
|
|
1127
1167
|
export interface CreateUserResponse {}
|
|
1168
|
+
export interface CreatorModeConfiguration {
|
|
1169
|
+
creatorModeControl: CreatorModeControl | undefined;
|
|
1170
|
+
}
|
|
1128
1171
|
export interface DataSourceSyncJobMetrics {
|
|
1129
1172
|
documentsAdded?: string;
|
|
1130
1173
|
documentsModified?: string;
|
|
@@ -1159,7 +1202,7 @@ export interface DeleteChatControlsConfigurationResponse {}
|
|
|
1159
1202
|
export interface DeleteConversationRequest {
|
|
1160
1203
|
conversationId: string | undefined;
|
|
1161
1204
|
applicationId: string | undefined;
|
|
1162
|
-
userId
|
|
1205
|
+
userId?: string;
|
|
1163
1206
|
}
|
|
1164
1207
|
export interface DeleteConversationResponse {}
|
|
1165
1208
|
export interface DeleteGroupRequest {
|
|
@@ -1255,6 +1298,7 @@ export interface GetChatControlsConfigurationResponse {
|
|
|
1255
1298
|
responseScope?: ResponseScope;
|
|
1256
1299
|
blockedPhrases?: BlockedPhrasesConfiguration;
|
|
1257
1300
|
topicConfigurations?: TopicConfiguration[];
|
|
1301
|
+
creatorModeConfiguration?: AppliedCreatorModeConfiguration;
|
|
1258
1302
|
nextToken?: string;
|
|
1259
1303
|
}
|
|
1260
1304
|
export interface GetGroupRequest {
|
|
@@ -1289,7 +1333,7 @@ export interface GetUserResponse {
|
|
|
1289
1333
|
}
|
|
1290
1334
|
export interface ListConversationsRequest {
|
|
1291
1335
|
applicationId: string | undefined;
|
|
1292
|
-
userId
|
|
1336
|
+
userId?: string;
|
|
1293
1337
|
nextToken?: string;
|
|
1294
1338
|
maxResults?: number;
|
|
1295
1339
|
}
|
|
@@ -1340,7 +1384,7 @@ export interface ListGroupsResponse {
|
|
|
1340
1384
|
export interface ListMessagesRequest {
|
|
1341
1385
|
conversationId: string | undefined;
|
|
1342
1386
|
applicationId: string | undefined;
|
|
1343
|
-
userId
|
|
1387
|
+
userId?: string;
|
|
1344
1388
|
nextToken?: string;
|
|
1345
1389
|
maxResults?: number;
|
|
1346
1390
|
}
|
|
@@ -1399,7 +1443,7 @@ export interface MessageUsefulnessFeedback {
|
|
|
1399
1443
|
}
|
|
1400
1444
|
export interface PutFeedbackRequest {
|
|
1401
1445
|
applicationId: string | undefined;
|
|
1402
|
-
userId
|
|
1446
|
+
userId?: string;
|
|
1403
1447
|
conversationId: string | undefined;
|
|
1404
1448
|
messageId: string | undefined;
|
|
1405
1449
|
messageCopiedAt?: Date;
|
|
@@ -1457,6 +1501,7 @@ export interface UpdateChatControlsConfigurationRequest {
|
|
|
1457
1501
|
blockedPhrasesConfigurationUpdate?: BlockedPhrasesConfigurationUpdate;
|
|
1458
1502
|
topicConfigurationsToCreateOrUpdate?: TopicConfiguration[];
|
|
1459
1503
|
topicConfigurationsToDelete?: TopicConfiguration[];
|
|
1504
|
+
creatorModeConfiguration?: CreatorModeConfiguration;
|
|
1460
1505
|
}
|
|
1461
1506
|
export interface UpdateChatControlsConfigurationResponse {}
|
|
1462
1507
|
export interface UpdateUserRequest {
|
|
@@ -1484,7 +1529,7 @@ export interface AttributeFilter {
|
|
|
1484
1529
|
}
|
|
1485
1530
|
export interface ChatSyncInput {
|
|
1486
1531
|
applicationId: string | undefined;
|
|
1487
|
-
userId
|
|
1532
|
+
userId?: string;
|
|
1488
1533
|
userGroups?: string[];
|
|
1489
1534
|
userMessage?: string;
|
|
1490
1535
|
attachments?: AttachmentInput[];
|
|
@@ -1492,6 +1537,8 @@ export interface ChatSyncInput {
|
|
|
1492
1537
|
conversationId?: string;
|
|
1493
1538
|
parentMessageId?: string;
|
|
1494
1539
|
attributeFilter?: AttributeFilter;
|
|
1540
|
+
chatMode?: ChatMode;
|
|
1541
|
+
chatModeConfiguration?: ChatModeConfiguration;
|
|
1495
1542
|
clientToken?: string;
|
|
1496
1543
|
}
|
|
1497
1544
|
export declare const EncryptionConfigurationFilterSensitiveLog: (
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-qbusiness",
|
|
3
3
|
"description": "AWS SDK for JavaScript Qbusiness Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.557.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-qbusiness",
|
|
@@ -20,9 +20,9 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
23
|
-
"@aws-sdk/client-sts": "3.
|
|
24
|
-
"@aws-sdk/core": "3.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
23
|
+
"@aws-sdk/client-sts": "3.556.0",
|
|
24
|
+
"@aws-sdk/core": "3.556.0",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.556.0",
|
|
26
26
|
"@aws-sdk/middleware-host-header": "3.535.0",
|
|
27
27
|
"@aws-sdk/middleware-logger": "3.535.0",
|
|
28
28
|
"@aws-sdk/middleware-recursion-detection": "3.535.0",
|