@aws-sdk/client-qapps 3.686.0 → 3.691.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.
|
@@ -55,17 +55,17 @@ export interface FileUploadCard {
|
|
|
55
55
|
* <p>The name of the file being uploaded.</p>
|
|
56
56
|
* @public
|
|
57
57
|
*/
|
|
58
|
-
filename?: string;
|
|
58
|
+
filename?: string | undefined;
|
|
59
59
|
/**
|
|
60
60
|
* <p>The unique identifier of the file associated with the card.</p>
|
|
61
61
|
* @public
|
|
62
62
|
*/
|
|
63
|
-
fileId?: string;
|
|
63
|
+
fileId?: string | undefined;
|
|
64
64
|
/**
|
|
65
65
|
* <p>A flag indicating if the user can override the default file for the upload card.</p>
|
|
66
66
|
* @public
|
|
67
67
|
*/
|
|
68
|
-
allowOverride?: boolean;
|
|
68
|
+
allowOverride?: boolean | undefined;
|
|
69
69
|
}
|
|
70
70
|
/**
|
|
71
71
|
* @public
|
|
@@ -256,12 +256,12 @@ export interface TextInputCard {
|
|
|
256
256
|
* <p>The placeholder text to display in the text input field.</p>
|
|
257
257
|
* @public
|
|
258
258
|
*/
|
|
259
|
-
placeholder?: string;
|
|
259
|
+
placeholder?: string | undefined;
|
|
260
260
|
/**
|
|
261
261
|
* <p>The default value to pre-populate in the text input field.</p>
|
|
262
262
|
* @public
|
|
263
263
|
*/
|
|
264
|
-
defaultValue?: string;
|
|
264
|
+
defaultValue?: string | undefined;
|
|
265
265
|
}
|
|
266
266
|
/**
|
|
267
267
|
* <p>Represents a file upload card. It can optionally
|
|
@@ -290,17 +290,17 @@ export interface FileUploadCardInput {
|
|
|
290
290
|
* <p>The default filename to use for the file upload card.</p>
|
|
291
291
|
* @public
|
|
292
292
|
*/
|
|
293
|
-
filename?: string;
|
|
293
|
+
filename?: string | undefined;
|
|
294
294
|
/**
|
|
295
295
|
* <p>The identifier of a pre-uploaded file associated with the card.</p>
|
|
296
296
|
* @public
|
|
297
297
|
*/
|
|
298
|
-
fileId?: string;
|
|
298
|
+
fileId?: string | undefined;
|
|
299
299
|
/**
|
|
300
300
|
* <p>A flag indicating if the user can override the default file for the upload card.</p>
|
|
301
301
|
* @public
|
|
302
302
|
*/
|
|
303
|
-
allowOverride?: boolean;
|
|
303
|
+
allowOverride?: boolean | undefined;
|
|
304
304
|
}
|
|
305
305
|
/**
|
|
306
306
|
* <p>The input shape for defining a plugin card in an Amazon Q App.</p>
|
|
@@ -357,12 +357,12 @@ export interface TextInputCardInput {
|
|
|
357
357
|
* <p>The placeholder text to display in the text input field.</p>
|
|
358
358
|
* @public
|
|
359
359
|
*/
|
|
360
|
-
placeholder?: string;
|
|
360
|
+
placeholder?: string | undefined;
|
|
361
361
|
/**
|
|
362
362
|
* <p>The default value to pre-populate in the text input field.</p>
|
|
363
363
|
* @public
|
|
364
364
|
*/
|
|
365
|
-
defaultValue?: string;
|
|
365
|
+
defaultValue?: string | undefined;
|
|
366
366
|
}
|
|
367
367
|
/**
|
|
368
368
|
* @public
|
|
@@ -441,7 +441,7 @@ export declare class InternalServerException extends __BaseException {
|
|
|
441
441
|
* <p>The number of seconds to wait before retrying the operation</p>
|
|
442
442
|
* @public
|
|
443
443
|
*/
|
|
444
|
-
retryAfterSeconds?: number;
|
|
444
|
+
retryAfterSeconds?: number | undefined;
|
|
445
445
|
/**
|
|
446
446
|
* @internal
|
|
447
447
|
*/
|
|
@@ -527,7 +527,7 @@ export declare class ThrottlingException extends __BaseException {
|
|
|
527
527
|
* <p>The number of seconds to wait before retrying the operation</p>
|
|
528
528
|
* @public
|
|
529
529
|
*/
|
|
530
|
-
retryAfterSeconds?: number;
|
|
530
|
+
retryAfterSeconds?: number | undefined;
|
|
531
531
|
/**
|
|
532
532
|
* @internal
|
|
533
533
|
*/
|
|
@@ -581,7 +581,7 @@ export interface BatchCreateCategoryInputCategory {
|
|
|
581
581
|
* <p>The unique identifier to be associated with a category. If you don't include a value, the category is automatically assigned a unique identifier.</p>
|
|
582
582
|
* @public
|
|
583
583
|
*/
|
|
584
|
-
id?: string;
|
|
584
|
+
id?: string | undefined;
|
|
585
585
|
/**
|
|
586
586
|
* <p>The name of the category.</p>
|
|
587
587
|
* @public
|
|
@@ -591,7 +591,7 @@ export interface BatchCreateCategoryInputCategory {
|
|
|
591
591
|
* <p>The color to be associated with a category. The color must be a hexadecimal value of either 3 or 6 digits.</p>
|
|
592
592
|
* @public
|
|
593
593
|
*/
|
|
594
|
-
color?: string;
|
|
594
|
+
color?: string | undefined;
|
|
595
595
|
}
|
|
596
596
|
/**
|
|
597
597
|
* @public
|
|
@@ -642,7 +642,7 @@ export interface CategoryInput {
|
|
|
642
642
|
* <p>The color of the category, represented as a hexadecimal value of either 3 or 6 digits.</p>
|
|
643
643
|
* @public
|
|
644
644
|
*/
|
|
645
|
-
color?: string;
|
|
645
|
+
color?: string | undefined;
|
|
646
646
|
}
|
|
647
647
|
/**
|
|
648
648
|
* @public
|
|
@@ -723,12 +723,12 @@ export interface Category {
|
|
|
723
723
|
* <p>The color of the category</p>
|
|
724
724
|
* @public
|
|
725
725
|
*/
|
|
726
|
-
color?: string;
|
|
726
|
+
color?: string | undefined;
|
|
727
727
|
/**
|
|
728
728
|
* <p>The number of published Amazon Q Apps associated with a category</p>
|
|
729
729
|
* @public
|
|
730
730
|
*/
|
|
731
|
-
appCount?: number;
|
|
731
|
+
appCount?: number | undefined;
|
|
732
732
|
}
|
|
733
733
|
/**
|
|
734
734
|
* <p>The requested operation could not be completed because
|
|
@@ -834,12 +834,12 @@ export interface CreateLibraryItemOutput {
|
|
|
834
834
|
* <p>The date and time the library item was last updated.</p>
|
|
835
835
|
* @public
|
|
836
836
|
*/
|
|
837
|
-
updatedAt?: Date;
|
|
837
|
+
updatedAt?: Date | undefined;
|
|
838
838
|
/**
|
|
839
839
|
* <p>The user who last updated the library item.</p>
|
|
840
840
|
* @public
|
|
841
841
|
*/
|
|
842
|
-
updatedBy?: string;
|
|
842
|
+
updatedBy?: string | undefined;
|
|
843
843
|
/**
|
|
844
844
|
* <p>The number of ratings the library item has received from users.</p>
|
|
845
845
|
* @public
|
|
@@ -849,7 +849,7 @@ export interface CreateLibraryItemOutput {
|
|
|
849
849
|
* <p>Indicates whether the library item has been verified.</p>
|
|
850
850
|
* @public
|
|
851
851
|
*/
|
|
852
|
-
isVerified?: boolean;
|
|
852
|
+
isVerified?: boolean | undefined;
|
|
853
853
|
}
|
|
854
854
|
/**
|
|
855
855
|
* @public
|
|
@@ -874,12 +874,12 @@ export interface CreateQAppOutput {
|
|
|
874
874
|
* <p>The description of the new Q App.</p>
|
|
875
875
|
* @public
|
|
876
876
|
*/
|
|
877
|
-
description?: string;
|
|
877
|
+
description?: string | undefined;
|
|
878
878
|
/**
|
|
879
879
|
* <p>The initial prompt displayed when the Q App is started.</p>
|
|
880
880
|
* @public
|
|
881
881
|
*/
|
|
882
|
-
initialPrompt?: string;
|
|
882
|
+
initialPrompt?: string | undefined;
|
|
883
883
|
/**
|
|
884
884
|
* <p>The version of the new Q App.</p>
|
|
885
885
|
* @public
|
|
@@ -914,7 +914,7 @@ export interface CreateQAppOutput {
|
|
|
914
914
|
* <p>The capabilities required to run the Q App, such as file upload or third-party integrations.</p>
|
|
915
915
|
* @public
|
|
916
916
|
*/
|
|
917
|
-
requiredCapabilities?: AppRequiredCapability[];
|
|
917
|
+
requiredCapabilities?: AppRequiredCapability[] | undefined;
|
|
918
918
|
}
|
|
919
919
|
/**
|
|
920
920
|
* @public
|
|
@@ -1006,7 +1006,7 @@ export interface GetLibraryItemInput {
|
|
|
1006
1006
|
* <p>The unique identifier of the Amazon Q App associated with the library item.</p>
|
|
1007
1007
|
* @public
|
|
1008
1008
|
*/
|
|
1009
|
-
appId?: string;
|
|
1009
|
+
appId?: string | undefined;
|
|
1010
1010
|
}
|
|
1011
1011
|
/**
|
|
1012
1012
|
* @public
|
|
@@ -1051,12 +1051,12 @@ export interface GetLibraryItemOutput {
|
|
|
1051
1051
|
* <p>The date and time the library item was last updated.</p>
|
|
1052
1052
|
* @public
|
|
1053
1053
|
*/
|
|
1054
|
-
updatedAt?: Date;
|
|
1054
|
+
updatedAt?: Date | undefined;
|
|
1055
1055
|
/**
|
|
1056
1056
|
* <p>The user who last updated the library item.</p>
|
|
1057
1057
|
* @public
|
|
1058
1058
|
*/
|
|
1059
|
-
updatedBy?: string;
|
|
1059
|
+
updatedBy?: string | undefined;
|
|
1060
1060
|
/**
|
|
1061
1061
|
* <p>The number of ratings the library item has received from users.</p>
|
|
1062
1062
|
* @public
|
|
@@ -1066,17 +1066,17 @@ export interface GetLibraryItemOutput {
|
|
|
1066
1066
|
* <p>Whether the current user has rated the library item.</p>
|
|
1067
1067
|
* @public
|
|
1068
1068
|
*/
|
|
1069
|
-
isRatedByUser?: boolean;
|
|
1069
|
+
isRatedByUser?: boolean | undefined;
|
|
1070
1070
|
/**
|
|
1071
1071
|
* <p>The number of users who have associated the Q App with their account.</p>
|
|
1072
1072
|
* @public
|
|
1073
1073
|
*/
|
|
1074
|
-
userCount?: number;
|
|
1074
|
+
userCount?: number | undefined;
|
|
1075
1075
|
/**
|
|
1076
1076
|
* <p>Indicates whether the library item has been verified.</p>
|
|
1077
1077
|
* @public
|
|
1078
1078
|
*/
|
|
1079
|
-
isVerified?: boolean;
|
|
1079
|
+
isVerified?: boolean | undefined;
|
|
1080
1080
|
}
|
|
1081
1081
|
/**
|
|
1082
1082
|
* @public
|
|
@@ -1171,7 +1171,7 @@ export interface ImportDocumentInput {
|
|
|
1171
1171
|
* <p>The unique identifier of the Q App session the file is associated with, if applicable.</p>
|
|
1172
1172
|
* @public
|
|
1173
1173
|
*/
|
|
1174
|
-
sessionId?: string;
|
|
1174
|
+
sessionId?: string | undefined;
|
|
1175
1175
|
}
|
|
1176
1176
|
/**
|
|
1177
1177
|
* @public
|
|
@@ -1181,7 +1181,7 @@ export interface ImportDocumentOutput {
|
|
|
1181
1181
|
* <p>The unique identifier assigned to the uploaded file.</p>
|
|
1182
1182
|
* @public
|
|
1183
1183
|
*/
|
|
1184
|
-
fileId?: string;
|
|
1184
|
+
fileId?: string | undefined;
|
|
1185
1185
|
}
|
|
1186
1186
|
/**
|
|
1187
1187
|
* <p>A library item is a snapshot of an Amazon Q App
|
|
@@ -1229,12 +1229,12 @@ export interface LibraryItemMember {
|
|
|
1229
1229
|
* <p>The date and time the library item was last updated.</p>
|
|
1230
1230
|
* @public
|
|
1231
1231
|
*/
|
|
1232
|
-
updatedAt?: Date;
|
|
1232
|
+
updatedAt?: Date | undefined;
|
|
1233
1233
|
/**
|
|
1234
1234
|
* <p>The user who last updated the library item.</p>
|
|
1235
1235
|
* @public
|
|
1236
1236
|
*/
|
|
1237
|
-
updatedBy?: string;
|
|
1237
|
+
updatedBy?: string | undefined;
|
|
1238
1238
|
/**
|
|
1239
1239
|
* <p>The number of ratings the library item has received.</p>
|
|
1240
1240
|
* @public
|
|
@@ -1244,17 +1244,17 @@ export interface LibraryItemMember {
|
|
|
1244
1244
|
* <p>Whether the current user has rated the library item.</p>
|
|
1245
1245
|
* @public
|
|
1246
1246
|
*/
|
|
1247
|
-
isRatedByUser?: boolean;
|
|
1247
|
+
isRatedByUser?: boolean | undefined;
|
|
1248
1248
|
/**
|
|
1249
1249
|
* <p>The number of users who have the associated Q App.</p>
|
|
1250
1250
|
* @public
|
|
1251
1251
|
*/
|
|
1252
|
-
userCount?: number;
|
|
1252
|
+
userCount?: number | undefined;
|
|
1253
1253
|
/**
|
|
1254
1254
|
* <p>Indicates whether the library item has been verified.</p>
|
|
1255
1255
|
* @public
|
|
1256
1256
|
*/
|
|
1257
|
-
isVerified?: boolean;
|
|
1257
|
+
isVerified?: boolean | undefined;
|
|
1258
1258
|
}
|
|
1259
1259
|
/**
|
|
1260
1260
|
* @public
|
|
@@ -1286,7 +1286,7 @@ export interface ListCategoriesOutput {
|
|
|
1286
1286
|
* <p>The categories of a Amazon Q Business application environment instance.</p>
|
|
1287
1287
|
* @public
|
|
1288
1288
|
*/
|
|
1289
|
-
categories?: Category[];
|
|
1289
|
+
categories?: Category[] | undefined;
|
|
1290
1290
|
}
|
|
1291
1291
|
/**
|
|
1292
1292
|
* @public
|
|
@@ -1301,17 +1301,17 @@ export interface ListLibraryItemsInput {
|
|
|
1301
1301
|
* <p>The maximum number of library items to return in the response.</p>
|
|
1302
1302
|
* @public
|
|
1303
1303
|
*/
|
|
1304
|
-
limit?: number;
|
|
1304
|
+
limit?: number | undefined;
|
|
1305
1305
|
/**
|
|
1306
1306
|
* <p>The token to request the next page of results.</p>
|
|
1307
1307
|
* @public
|
|
1308
1308
|
*/
|
|
1309
|
-
nextToken?: string;
|
|
1309
|
+
nextToken?: string | undefined;
|
|
1310
1310
|
/**
|
|
1311
1311
|
* <p>Optional category to filter the library items by.</p>
|
|
1312
1312
|
* @public
|
|
1313
1313
|
*/
|
|
1314
|
-
categoryId?: string;
|
|
1314
|
+
categoryId?: string | undefined;
|
|
1315
1315
|
}
|
|
1316
1316
|
/**
|
|
1317
1317
|
* @public
|
|
@@ -1321,12 +1321,12 @@ export interface ListLibraryItemsOutput {
|
|
|
1321
1321
|
* <p>The list of library items meeting the request criteria.</p>
|
|
1322
1322
|
* @public
|
|
1323
1323
|
*/
|
|
1324
|
-
libraryItems?: LibraryItemMember[];
|
|
1324
|
+
libraryItems?: LibraryItemMember[] | undefined;
|
|
1325
1325
|
/**
|
|
1326
1326
|
* <p>The token to use to request the next page of results.</p>
|
|
1327
1327
|
* @public
|
|
1328
1328
|
*/
|
|
1329
|
-
nextToken?: string;
|
|
1329
|
+
nextToken?: string | undefined;
|
|
1330
1330
|
}
|
|
1331
1331
|
/**
|
|
1332
1332
|
* @public
|
|
@@ -1341,12 +1341,12 @@ export interface ListQAppsInput {
|
|
|
1341
1341
|
* <p>The maximum number of Q Apps to return in the response.</p>
|
|
1342
1342
|
* @public
|
|
1343
1343
|
*/
|
|
1344
|
-
limit?: number;
|
|
1344
|
+
limit?: number | undefined;
|
|
1345
1345
|
/**
|
|
1346
1346
|
* <p>The token to request the next page of results.</p>
|
|
1347
1347
|
* @public
|
|
1348
1348
|
*/
|
|
1349
|
-
nextToken?: string;
|
|
1349
|
+
nextToken?: string | undefined;
|
|
1350
1350
|
}
|
|
1351
1351
|
/**
|
|
1352
1352
|
* <p>An Amazon Q App associated with a user, either owned by the user or favorited.</p>
|
|
@@ -1372,7 +1372,7 @@ export interface UserAppItem {
|
|
|
1372
1372
|
* <p>The description of the Q App.</p>
|
|
1373
1373
|
* @public
|
|
1374
1374
|
*/
|
|
1375
|
-
description?: string;
|
|
1375
|
+
description?: string | undefined;
|
|
1376
1376
|
/**
|
|
1377
1377
|
* <p>The date and time the user's association with the Q App was created.</p>
|
|
1378
1378
|
* @public
|
|
@@ -1382,17 +1382,17 @@ export interface UserAppItem {
|
|
|
1382
1382
|
* <p>A flag indicating whether the user can edit the Q App.</p>
|
|
1383
1383
|
* @public
|
|
1384
1384
|
*/
|
|
1385
|
-
canEdit?: boolean;
|
|
1385
|
+
canEdit?: boolean | undefined;
|
|
1386
1386
|
/**
|
|
1387
1387
|
* <p>The status of the user's association with the Q App.</p>
|
|
1388
1388
|
* @public
|
|
1389
1389
|
*/
|
|
1390
|
-
status?: string;
|
|
1390
|
+
status?: string | undefined;
|
|
1391
1391
|
/**
|
|
1392
1392
|
* <p>Indicates whether the Q App has been verified.</p>
|
|
1393
1393
|
* @public
|
|
1394
1394
|
*/
|
|
1395
|
-
isVerified?: boolean;
|
|
1395
|
+
isVerified?: boolean | undefined;
|
|
1396
1396
|
}
|
|
1397
1397
|
/**
|
|
1398
1398
|
* @public
|
|
@@ -1407,7 +1407,7 @@ export interface ListQAppsOutput {
|
|
|
1407
1407
|
* <p>The token to use to request the next page of results.</p>
|
|
1408
1408
|
* @public
|
|
1409
1409
|
*/
|
|
1410
|
-
nextToken?: string;
|
|
1410
|
+
nextToken?: string | undefined;
|
|
1411
1411
|
}
|
|
1412
1412
|
/**
|
|
1413
1413
|
* @public
|
|
@@ -1427,7 +1427,7 @@ export interface ListTagsForResourceResponse {
|
|
|
1427
1427
|
* <p>The list of tags that are assigned to the resource.</p>
|
|
1428
1428
|
* @public
|
|
1429
1429
|
*/
|
|
1430
|
-
tags?: Record<string, string
|
|
1430
|
+
tags?: Record<string, string> | undefined;
|
|
1431
1431
|
}
|
|
1432
1432
|
/**
|
|
1433
1433
|
* <p>The input options for generating an Q App definition.</p>
|
|
@@ -1484,7 +1484,7 @@ export interface PredictQAppInput {
|
|
|
1484
1484
|
* <p>The input to generate the Q App definition from, either a conversation or problem statement.</p>
|
|
1485
1485
|
* @public
|
|
1486
1486
|
*/
|
|
1487
|
-
options?: PredictQAppInputOptions;
|
|
1487
|
+
options?: PredictQAppInputOptions | undefined;
|
|
1488
1488
|
}
|
|
1489
1489
|
/**
|
|
1490
1490
|
* @public
|
|
@@ -1509,12 +1509,12 @@ export interface StartQAppSessionInput {
|
|
|
1509
1509
|
* <p>Optional initial input values to provide for the Q App session.</p>
|
|
1510
1510
|
* @public
|
|
1511
1511
|
*/
|
|
1512
|
-
initialValues?: CardValue[];
|
|
1512
|
+
initialValues?: CardValue[] | undefined;
|
|
1513
1513
|
/**
|
|
1514
1514
|
* <p>Optional tags to associate with the new Q App session.</p>
|
|
1515
1515
|
* @public
|
|
1516
1516
|
*/
|
|
1517
|
-
tags?: Record<string, string
|
|
1517
|
+
tags?: Record<string, string> | undefined;
|
|
1518
1518
|
}
|
|
1519
1519
|
/**
|
|
1520
1520
|
* @public
|
|
@@ -1604,12 +1604,12 @@ export interface UpdateLibraryItemInput {
|
|
|
1604
1604
|
* <p>The new status to set for the library item, such as "Published" or "Hidden".</p>
|
|
1605
1605
|
* @public
|
|
1606
1606
|
*/
|
|
1607
|
-
status?: LibraryItemStatus;
|
|
1607
|
+
status?: LibraryItemStatus | undefined;
|
|
1608
1608
|
/**
|
|
1609
1609
|
* <p>The new categories to associate with the library item.</p>
|
|
1610
1610
|
* @public
|
|
1611
1611
|
*/
|
|
1612
|
-
categories?: string[];
|
|
1612
|
+
categories?: string[] | undefined;
|
|
1613
1613
|
}
|
|
1614
1614
|
/**
|
|
1615
1615
|
* @public
|
|
@@ -1654,12 +1654,12 @@ export interface UpdateLibraryItemOutput {
|
|
|
1654
1654
|
* <p>The date and time the library item was last updated.</p>
|
|
1655
1655
|
* @public
|
|
1656
1656
|
*/
|
|
1657
|
-
updatedAt?: Date;
|
|
1657
|
+
updatedAt?: Date | undefined;
|
|
1658
1658
|
/**
|
|
1659
1659
|
* <p>The user who last updated the library item.</p>
|
|
1660
1660
|
* @public
|
|
1661
1661
|
*/
|
|
1662
|
-
updatedBy?: string;
|
|
1662
|
+
updatedBy?: string | undefined;
|
|
1663
1663
|
/**
|
|
1664
1664
|
* <p>The number of ratings the library item has received.</p>
|
|
1665
1665
|
* @public
|
|
@@ -1669,17 +1669,17 @@ export interface UpdateLibraryItemOutput {
|
|
|
1669
1669
|
* <p>Whether the current user has rated the library item.</p>
|
|
1670
1670
|
* @public
|
|
1671
1671
|
*/
|
|
1672
|
-
isRatedByUser?: boolean;
|
|
1672
|
+
isRatedByUser?: boolean | undefined;
|
|
1673
1673
|
/**
|
|
1674
1674
|
* <p>The number of users who have the associated Q App.</p>
|
|
1675
1675
|
* @public
|
|
1676
1676
|
*/
|
|
1677
|
-
userCount?: number;
|
|
1677
|
+
userCount?: number | undefined;
|
|
1678
1678
|
/**
|
|
1679
1679
|
* <p>Indicates whether the library item has been verified.</p>
|
|
1680
1680
|
* @public
|
|
1681
1681
|
*/
|
|
1682
|
-
isVerified?: boolean;
|
|
1682
|
+
isVerified?: boolean | undefined;
|
|
1683
1683
|
}
|
|
1684
1684
|
/**
|
|
1685
1685
|
* @public
|
|
@@ -1699,7 +1699,7 @@ export interface UpdateLibraryItemMetadataInput {
|
|
|
1699
1699
|
* <p>The verification status of the library item</p>
|
|
1700
1700
|
* @public
|
|
1701
1701
|
*/
|
|
1702
|
-
isVerified?: boolean;
|
|
1702
|
+
isVerified?: boolean | undefined;
|
|
1703
1703
|
}
|
|
1704
1704
|
/**
|
|
1705
1705
|
* @public
|
|
@@ -1724,12 +1724,12 @@ export interface UpdateQAppOutput {
|
|
|
1724
1724
|
* <p>The new description of the updated Q App.</p>
|
|
1725
1725
|
* @public
|
|
1726
1726
|
*/
|
|
1727
|
-
description?: string;
|
|
1727
|
+
description?: string | undefined;
|
|
1728
1728
|
/**
|
|
1729
1729
|
* <p>The initial prompt for the updated Q App.</p>
|
|
1730
1730
|
* @public
|
|
1731
1731
|
*/
|
|
1732
|
-
initialPrompt?: string;
|
|
1732
|
+
initialPrompt?: string | undefined;
|
|
1733
1733
|
/**
|
|
1734
1734
|
* <p>The new version of the updated Q App.</p>
|
|
1735
1735
|
* @public
|
|
@@ -1764,7 +1764,7 @@ export interface UpdateQAppOutput {
|
|
|
1764
1764
|
* <p>The capabilities required for the updated Q App.</p>
|
|
1765
1765
|
* @public
|
|
1766
1766
|
*/
|
|
1767
|
-
requiredCapabilities?: AppRequiredCapability[];
|
|
1767
|
+
requiredCapabilities?: AppRequiredCapability[] | undefined;
|
|
1768
1768
|
}
|
|
1769
1769
|
/**
|
|
1770
1770
|
* @public
|
|
@@ -1784,7 +1784,7 @@ export interface UpdateQAppSessionInput {
|
|
|
1784
1784
|
* <p>The input values to provide for the current state of the Q App session.</p>
|
|
1785
1785
|
* @public
|
|
1786
1786
|
*/
|
|
1787
|
-
values?: CardValue[];
|
|
1787
|
+
values?: CardValue[] | undefined;
|
|
1788
1788
|
}
|
|
1789
1789
|
/**
|
|
1790
1790
|
* @public
|
|
@@ -1810,17 +1810,17 @@ export interface AttributeFilter {
|
|
|
1810
1810
|
* <p>Performs a logical <code>AND</code> operation on all supplied filters.</p>
|
|
1811
1811
|
* @public
|
|
1812
1812
|
*/
|
|
1813
|
-
andAllFilters?: AttributeFilter[];
|
|
1813
|
+
andAllFilters?: AttributeFilter[] | undefined;
|
|
1814
1814
|
/**
|
|
1815
1815
|
* <p> Performs a logical <code>OR</code> operation on all supplied filters. </p>
|
|
1816
1816
|
* @public
|
|
1817
1817
|
*/
|
|
1818
|
-
orAllFilters?: AttributeFilter[];
|
|
1818
|
+
orAllFilters?: AttributeFilter[] | undefined;
|
|
1819
1819
|
/**
|
|
1820
1820
|
* <p>Performs a logical <code>NOT</code> operation on all supplied filters. </p>
|
|
1821
1821
|
* @public
|
|
1822
1822
|
*/
|
|
1823
|
-
notFilter?: AttributeFilter;
|
|
1823
|
+
notFilter?: AttributeFilter | undefined;
|
|
1824
1824
|
/**
|
|
1825
1825
|
* <p>Performs an <i>equals</i> operation on two document attributes or metadata fields. Supported
|
|
1826
1826
|
* for the following <a href="https://docs.aws.amazon.com/amazonq/latest/api-reference/API_DocumentAttributeValue.html">document attribute value types</a>: <code>dateValue</code>,
|
|
@@ -1828,49 +1828,49 @@ export interface AttributeFilter {
|
|
|
1828
1828
|
* <code>stringValue</code>.</p>
|
|
1829
1829
|
* @public
|
|
1830
1830
|
*/
|
|
1831
|
-
equalsTo?: DocumentAttribute;
|
|
1831
|
+
equalsTo?: DocumentAttribute | undefined;
|
|
1832
1832
|
/**
|
|
1833
1833
|
* <p>Returns <code>true</code> when a document contains all the specified document
|
|
1834
1834
|
* attributes or metadata fields. Supported for the following <a href="https://docs.aws.amazon.com/amazonq/latest/api-reference/API_DocumentAttributeValue.html">document attribute value types</a>:
|
|
1835
1835
|
* <code>stringListValue</code>.</p>
|
|
1836
1836
|
* @public
|
|
1837
1837
|
*/
|
|
1838
|
-
containsAll?: DocumentAttribute;
|
|
1838
|
+
containsAll?: DocumentAttribute | undefined;
|
|
1839
1839
|
/**
|
|
1840
1840
|
* <p>Returns <code>true</code> when a document contains any of the specified document
|
|
1841
1841
|
* attributes or metadata fields. Supported for the following <a href="https://docs.aws.amazon.com/amazonq/latest/api-reference/API_DocumentAttributeValue.html">document attribute value types</a>:
|
|
1842
1842
|
* <code>stringListValue</code>.</p>
|
|
1843
1843
|
* @public
|
|
1844
1844
|
*/
|
|
1845
|
-
containsAny?: DocumentAttribute;
|
|
1845
|
+
containsAny?: DocumentAttribute | undefined;
|
|
1846
1846
|
/**
|
|
1847
1847
|
* <p>Performs a <i>greater than</i> operation on two document attributes or metadata fields.
|
|
1848
1848
|
* Supported for the following <a href="https://docs.aws.amazon.com/amazonq/latest/api-reference/API_DocumentAttributeValue.html">document attribute value types</a>: <code>dateValue</code>
|
|
1849
1849
|
* and <code>longValue</code>.</p>
|
|
1850
1850
|
* @public
|
|
1851
1851
|
*/
|
|
1852
|
-
greaterThan?: DocumentAttribute;
|
|
1852
|
+
greaterThan?: DocumentAttribute | undefined;
|
|
1853
1853
|
/**
|
|
1854
1854
|
* <p>Performs a <i>greater than or equals</i> operation on two document attributes or metadata
|
|
1855
1855
|
* fields. Supported for the following <a href="https://docs.aws.amazon.com/amazonq/latest/api-reference/API_DocumentAttributeValue.html">document attribute value types</a>: <code>dateValue</code>
|
|
1856
1856
|
* and <code>longValue</code>. </p>
|
|
1857
1857
|
* @public
|
|
1858
1858
|
*/
|
|
1859
|
-
greaterThanOrEquals?: DocumentAttribute;
|
|
1859
|
+
greaterThanOrEquals?: DocumentAttribute | undefined;
|
|
1860
1860
|
/**
|
|
1861
1861
|
* <p>Performs a <i>less than</i> operation on two document attributes or metadata fields.
|
|
1862
1862
|
* Supported for the following <a href="https://docs.aws.amazon.com/amazonq/latest/api-reference/API_DocumentAttributeValue.html">document attribute value types</a>: <code>dateValue</code>
|
|
1863
1863
|
* and <code>longValue</code>.</p>
|
|
1864
1864
|
* @public
|
|
1865
1865
|
*/
|
|
1866
|
-
lessThan?: DocumentAttribute;
|
|
1866
|
+
lessThan?: DocumentAttribute | undefined;
|
|
1867
1867
|
/**
|
|
1868
1868
|
* <p>Performs a <i>less than or equals</i> operation on two document attributes or metadata
|
|
1869
1869
|
* fields.Supported for the following <a href="https://docs.aws.amazon.com/amazonq/latest/api-reference/API_DocumentAttributeValue.html">document attribute value type</a>: <code>dateValue</code>
|
|
1870
1870
|
* and <code>longValue</code>. </p>
|
|
1871
1871
|
* @public
|
|
1872
1872
|
*/
|
|
1873
|
-
lessThanOrEquals?: DocumentAttribute;
|
|
1873
|
+
lessThanOrEquals?: DocumentAttribute | undefined;
|
|
1874
1874
|
}
|
|
1875
1875
|
/**
|
|
1876
1876
|
* <p>A card in a Amazon Q App that generates a response
|
|
@@ -1912,7 +1912,7 @@ export interface QQueryCard {
|
|
|
1912
1912
|
* <p>The Amazon Q Business filters applied in this query card when resolving data sources</p>
|
|
1913
1913
|
* @public
|
|
1914
1914
|
*/
|
|
1915
|
-
attributeFilter?: AttributeFilter;
|
|
1915
|
+
attributeFilter?: AttributeFilter | undefined;
|
|
1916
1916
|
}
|
|
1917
1917
|
/**
|
|
1918
1918
|
* <p>The input shape for defining a query card in an Amazon Q App.</p>
|
|
@@ -1943,12 +1943,12 @@ export interface QQueryCardInput {
|
|
|
1943
1943
|
* <p>The source or type of output to generate for the query card.</p>
|
|
1944
1944
|
* @public
|
|
1945
1945
|
*/
|
|
1946
|
-
outputSource?: CardOutputSource;
|
|
1946
|
+
outputSource?: CardOutputSource | undefined;
|
|
1947
1947
|
/**
|
|
1948
1948
|
* <p>Turns on filtering of responses based on document attributes or metadata fields.</p>
|
|
1949
1949
|
* @public
|
|
1950
1950
|
*/
|
|
1951
|
-
attributeFilter?: AttributeFilter;
|
|
1951
|
+
attributeFilter?: AttributeFilter | undefined;
|
|
1952
1952
|
}
|
|
1953
1953
|
/**
|
|
1954
1954
|
* <p>A card representing a component or step in an Amazon Q App's flow.</p>
|
|
@@ -2113,7 +2113,7 @@ export interface AppDefinition {
|
|
|
2113
2113
|
* <p>A flag indicating whether the Q App's definition can be edited by the user.</p>
|
|
2114
2114
|
* @public
|
|
2115
2115
|
*/
|
|
2116
|
-
canEdit?: boolean;
|
|
2116
|
+
canEdit?: boolean | undefined;
|
|
2117
2117
|
}
|
|
2118
2118
|
/**
|
|
2119
2119
|
* <p>The input for defining an Q App.</p>
|
|
@@ -2129,7 +2129,7 @@ export interface AppDefinitionInput {
|
|
|
2129
2129
|
* <p>The initial prompt displayed when the Q App is started.</p>
|
|
2130
2130
|
* @public
|
|
2131
2131
|
*/
|
|
2132
|
-
initialPrompt?: string;
|
|
2132
|
+
initialPrompt?: string | undefined;
|
|
2133
2133
|
}
|
|
2134
2134
|
/**
|
|
2135
2135
|
* @public
|
|
@@ -2149,7 +2149,7 @@ export interface CreateQAppInput {
|
|
|
2149
2149
|
* <p>The description of the new Q App.</p>
|
|
2150
2150
|
* @public
|
|
2151
2151
|
*/
|
|
2152
|
-
description?: string;
|
|
2152
|
+
description?: string | undefined;
|
|
2153
2153
|
/**
|
|
2154
2154
|
* <p>The definition of the new Q App, specifying the cards and flow.</p>
|
|
2155
2155
|
* @public
|
|
@@ -2159,7 +2159,7 @@ export interface CreateQAppInput {
|
|
|
2159
2159
|
* <p>Optional tags to associate with the new Q App.</p>
|
|
2160
2160
|
* @public
|
|
2161
2161
|
*/
|
|
2162
|
-
tags?: Record<string, string
|
|
2162
|
+
tags?: Record<string, string> | undefined;
|
|
2163
2163
|
}
|
|
2164
2164
|
/**
|
|
2165
2165
|
* @public
|
|
@@ -2184,12 +2184,12 @@ export interface GetQAppOutput {
|
|
|
2184
2184
|
* <p>The description of the Q App.</p>
|
|
2185
2185
|
* @public
|
|
2186
2186
|
*/
|
|
2187
|
-
description?: string;
|
|
2187
|
+
description?: string | undefined;
|
|
2188
2188
|
/**
|
|
2189
2189
|
* <p>The initial prompt displayed when the Q App is started.</p>
|
|
2190
2190
|
* @public
|
|
2191
2191
|
*/
|
|
2192
|
-
initialPrompt?: string;
|
|
2192
|
+
initialPrompt?: string | undefined;
|
|
2193
2193
|
/**
|
|
2194
2194
|
* <p>The version of the Q App.</p>
|
|
2195
2195
|
* @public
|
|
@@ -2224,7 +2224,7 @@ export interface GetQAppOutput {
|
|
|
2224
2224
|
* <p>The capabilities required to run the Q App, such as file upload or third-party integrations.</p>
|
|
2225
2225
|
* @public
|
|
2226
2226
|
*/
|
|
2227
|
-
requiredCapabilities?: AppRequiredCapability[];
|
|
2227
|
+
requiredCapabilities?: AppRequiredCapability[] | undefined;
|
|
2228
2228
|
/**
|
|
2229
2229
|
* <p>The full definition of the Q App, specifying the cards and flow.</p>
|
|
2230
2230
|
* @public
|
|
@@ -2246,7 +2246,7 @@ export interface PredictAppDefinition {
|
|
|
2246
2246
|
* <p>The description of the generated Q App definition.</p>
|
|
2247
2247
|
* @public
|
|
2248
2248
|
*/
|
|
2249
|
-
description?: string;
|
|
2249
|
+
description?: string | undefined;
|
|
2250
2250
|
/**
|
|
2251
2251
|
* <p>The definition specifying the cards and flow of the generated Q App.</p>
|
|
2252
2252
|
* @public
|
|
@@ -2271,17 +2271,17 @@ export interface UpdateQAppInput {
|
|
|
2271
2271
|
* <p>The new title for the Q App.</p>
|
|
2272
2272
|
* @public
|
|
2273
2273
|
*/
|
|
2274
|
-
title?: string;
|
|
2274
|
+
title?: string | undefined;
|
|
2275
2275
|
/**
|
|
2276
2276
|
* <p>The new description for the Q App.</p>
|
|
2277
2277
|
* @public
|
|
2278
2278
|
*/
|
|
2279
|
-
description?: string;
|
|
2279
|
+
description?: string | undefined;
|
|
2280
2280
|
/**
|
|
2281
2281
|
* <p>The new definition specifying the cards and flow for the Q App.</p>
|
|
2282
2282
|
* @public
|
|
2283
2283
|
*/
|
|
2284
|
-
appDefinition?: AppDefinitionInput;
|
|
2284
|
+
appDefinition?: AppDefinitionInput | undefined;
|
|
2285
2285
|
}
|
|
2286
2286
|
/**
|
|
2287
2287
|
* @public
|
|
@@ -19,9 +19,9 @@ export interface FileUploadCard {
|
|
|
19
19
|
title: string | undefined;
|
|
20
20
|
dependencies: string[] | undefined;
|
|
21
21
|
type: CardType | undefined;
|
|
22
|
-
filename?: string;
|
|
23
|
-
fileId?: string;
|
|
24
|
-
allowOverride?: boolean;
|
|
22
|
+
filename?: string | undefined;
|
|
23
|
+
fileId?: string | undefined;
|
|
24
|
+
allowOverride?: boolean | undefined;
|
|
25
25
|
}
|
|
26
26
|
export declare const PluginType: {
|
|
27
27
|
readonly CUSTOM: "CUSTOM";
|
|
@@ -106,16 +106,16 @@ export interface TextInputCard {
|
|
|
106
106
|
title: string | undefined;
|
|
107
107
|
dependencies: string[] | undefined;
|
|
108
108
|
type: CardType | undefined;
|
|
109
|
-
placeholder?: string;
|
|
110
|
-
defaultValue?: string;
|
|
109
|
+
placeholder?: string | undefined;
|
|
110
|
+
defaultValue?: string | undefined;
|
|
111
111
|
}
|
|
112
112
|
export interface FileUploadCardInput {
|
|
113
113
|
title: string | undefined;
|
|
114
114
|
id: string | undefined;
|
|
115
115
|
type: CardType | undefined;
|
|
116
|
-
filename?: string;
|
|
117
|
-
fileId?: string;
|
|
118
|
-
allowOverride?: boolean;
|
|
116
|
+
filename?: string | undefined;
|
|
117
|
+
fileId?: string | undefined;
|
|
118
|
+
allowOverride?: boolean | undefined;
|
|
119
119
|
}
|
|
120
120
|
export interface QPluginCardInput {
|
|
121
121
|
title: string | undefined;
|
|
@@ -128,8 +128,8 @@ export interface TextInputCardInput {
|
|
|
128
128
|
title: string | undefined;
|
|
129
129
|
id: string | undefined;
|
|
130
130
|
type: CardType | undefined;
|
|
131
|
-
placeholder?: string;
|
|
132
|
-
defaultValue?: string;
|
|
131
|
+
placeholder?: string | undefined;
|
|
132
|
+
defaultValue?: string | undefined;
|
|
133
133
|
}
|
|
134
134
|
export declare const AppRequiredCapability: {
|
|
135
135
|
readonly CREATOR_MODE: "CreatorMode";
|
|
@@ -160,7 +160,7 @@ export declare class InternalServerException extends __BaseException {
|
|
|
160
160
|
readonly name: "InternalServerException";
|
|
161
161
|
readonly $fault: "server";
|
|
162
162
|
$retryable: {};
|
|
163
|
-
retryAfterSeconds?: number;
|
|
163
|
+
retryAfterSeconds?: number | undefined;
|
|
164
164
|
constructor(
|
|
165
165
|
opts: __ExceptionOptionType<InternalServerException, __BaseException>
|
|
166
166
|
);
|
|
@@ -193,7 +193,7 @@ export declare class ThrottlingException extends __BaseException {
|
|
|
193
193
|
};
|
|
194
194
|
serviceCode: string | undefined;
|
|
195
195
|
quotaCode: string | undefined;
|
|
196
|
-
retryAfterSeconds?: number;
|
|
196
|
+
retryAfterSeconds?: number | undefined;
|
|
197
197
|
constructor(
|
|
198
198
|
opts: __ExceptionOptionType<ThrottlingException, __BaseException>
|
|
199
199
|
);
|
|
@@ -217,9 +217,9 @@ export interface AssociateQAppWithUserInput {
|
|
|
217
217
|
appId: string | undefined;
|
|
218
218
|
}
|
|
219
219
|
export interface BatchCreateCategoryInputCategory {
|
|
220
|
-
id?: string;
|
|
220
|
+
id?: string | undefined;
|
|
221
221
|
title: string | undefined;
|
|
222
|
-
color?: string;
|
|
222
|
+
color?: string | undefined;
|
|
223
223
|
}
|
|
224
224
|
export interface BatchCreateCategoryInput {
|
|
225
225
|
instanceId: string | undefined;
|
|
@@ -232,7 +232,7 @@ export interface BatchDeleteCategoryInput {
|
|
|
232
232
|
export interface CategoryInput {
|
|
233
233
|
id: string | undefined;
|
|
234
234
|
title: string | undefined;
|
|
235
|
-
color?: string;
|
|
235
|
+
color?: string | undefined;
|
|
236
236
|
}
|
|
237
237
|
export interface BatchUpdateCategoryInput {
|
|
238
238
|
instanceId: string | undefined;
|
|
@@ -256,8 +256,8 @@ export interface CardValue {
|
|
|
256
256
|
export interface Category {
|
|
257
257
|
id: string | undefined;
|
|
258
258
|
title: string | undefined;
|
|
259
|
-
color?: string;
|
|
260
|
-
appCount?: number;
|
|
259
|
+
color?: string | undefined;
|
|
260
|
+
appCount?: number | undefined;
|
|
261
261
|
}
|
|
262
262
|
export declare class ContentTooLargeException extends __BaseException {
|
|
263
263
|
readonly name: "ContentTooLargeException";
|
|
@@ -288,24 +288,24 @@ export interface CreateLibraryItemOutput {
|
|
|
288
288
|
status: string | undefined;
|
|
289
289
|
createdAt: Date | undefined;
|
|
290
290
|
createdBy: string | undefined;
|
|
291
|
-
updatedAt?: Date;
|
|
292
|
-
updatedBy?: string;
|
|
291
|
+
updatedAt?: Date | undefined;
|
|
292
|
+
updatedBy?: string | undefined;
|
|
293
293
|
ratingCount: number | undefined;
|
|
294
|
-
isVerified?: boolean;
|
|
294
|
+
isVerified?: boolean | undefined;
|
|
295
295
|
}
|
|
296
296
|
export interface CreateQAppOutput {
|
|
297
297
|
appId: string | undefined;
|
|
298
298
|
appArn: string | undefined;
|
|
299
299
|
title: string | undefined;
|
|
300
|
-
description?: string;
|
|
301
|
-
initialPrompt?: string;
|
|
300
|
+
description?: string | undefined;
|
|
301
|
+
initialPrompt?: string | undefined;
|
|
302
302
|
appVersion: number | undefined;
|
|
303
303
|
status: AppStatus | undefined;
|
|
304
304
|
createdAt: Date | undefined;
|
|
305
305
|
createdBy: string | undefined;
|
|
306
306
|
updatedAt: Date | undefined;
|
|
307
307
|
updatedBy: string | undefined;
|
|
308
|
-
requiredCapabilities?: AppRequiredCapability[];
|
|
308
|
+
requiredCapabilities?: AppRequiredCapability[] | undefined;
|
|
309
309
|
}
|
|
310
310
|
export interface DeleteLibraryItemInput {
|
|
311
311
|
instanceId: string | undefined;
|
|
@@ -331,7 +331,7 @@ export type DocumentScope = (typeof DocumentScope)[keyof typeof DocumentScope];
|
|
|
331
331
|
export interface GetLibraryItemInput {
|
|
332
332
|
instanceId: string | undefined;
|
|
333
333
|
libraryItemId: string | undefined;
|
|
334
|
-
appId?: string;
|
|
334
|
+
appId?: string | undefined;
|
|
335
335
|
}
|
|
336
336
|
export interface GetLibraryItemOutput {
|
|
337
337
|
libraryItemId: string | undefined;
|
|
@@ -341,12 +341,12 @@ export interface GetLibraryItemOutput {
|
|
|
341
341
|
status: string | undefined;
|
|
342
342
|
createdAt: Date | undefined;
|
|
343
343
|
createdBy: string | undefined;
|
|
344
|
-
updatedAt?: Date;
|
|
345
|
-
updatedBy?: string;
|
|
344
|
+
updatedAt?: Date | undefined;
|
|
345
|
+
updatedBy?: string | undefined;
|
|
346
346
|
ratingCount: number | undefined;
|
|
347
|
-
isRatedByUser?: boolean;
|
|
348
|
-
userCount?: number;
|
|
349
|
-
isVerified?: boolean;
|
|
347
|
+
isRatedByUser?: boolean | undefined;
|
|
348
|
+
userCount?: number | undefined;
|
|
349
|
+
isVerified?: boolean | undefined;
|
|
350
350
|
}
|
|
351
351
|
export interface GetQAppInput {
|
|
352
352
|
instanceId: string | undefined;
|
|
@@ -369,10 +369,10 @@ export interface ImportDocumentInput {
|
|
|
369
369
|
fileContentsBase64: string | undefined;
|
|
370
370
|
fileName: string | undefined;
|
|
371
371
|
scope: DocumentScope | undefined;
|
|
372
|
-
sessionId?: string;
|
|
372
|
+
sessionId?: string | undefined;
|
|
373
373
|
}
|
|
374
374
|
export interface ImportDocumentOutput {
|
|
375
|
-
fileId?: string;
|
|
375
|
+
fileId?: string | undefined;
|
|
376
376
|
}
|
|
377
377
|
export interface LibraryItemMember {
|
|
378
378
|
libraryItemId: string | undefined;
|
|
@@ -382,12 +382,12 @@ export interface LibraryItemMember {
|
|
|
382
382
|
status: string | undefined;
|
|
383
383
|
createdAt: Date | undefined;
|
|
384
384
|
createdBy: string | undefined;
|
|
385
|
-
updatedAt?: Date;
|
|
386
|
-
updatedBy?: string;
|
|
385
|
+
updatedAt?: Date | undefined;
|
|
386
|
+
updatedBy?: string | undefined;
|
|
387
387
|
ratingCount: number | undefined;
|
|
388
|
-
isRatedByUser?: boolean;
|
|
389
|
-
userCount?: number;
|
|
390
|
-
isVerified?: boolean;
|
|
388
|
+
isRatedByUser?: boolean | undefined;
|
|
389
|
+
userCount?: number | undefined;
|
|
390
|
+
isVerified?: boolean | undefined;
|
|
391
391
|
}
|
|
392
392
|
export declare const LibraryItemStatus: {
|
|
393
393
|
readonly DISABLED: "DISABLED";
|
|
@@ -399,42 +399,42 @@ export interface ListCategoriesInput {
|
|
|
399
399
|
instanceId: string | undefined;
|
|
400
400
|
}
|
|
401
401
|
export interface ListCategoriesOutput {
|
|
402
|
-
categories?: Category[];
|
|
402
|
+
categories?: Category[] | undefined;
|
|
403
403
|
}
|
|
404
404
|
export interface ListLibraryItemsInput {
|
|
405
405
|
instanceId: string | undefined;
|
|
406
|
-
limit?: number;
|
|
407
|
-
nextToken?: string;
|
|
408
|
-
categoryId?: string;
|
|
406
|
+
limit?: number | undefined;
|
|
407
|
+
nextToken?: string | undefined;
|
|
408
|
+
categoryId?: string | undefined;
|
|
409
409
|
}
|
|
410
410
|
export interface ListLibraryItemsOutput {
|
|
411
|
-
libraryItems?: LibraryItemMember[];
|
|
412
|
-
nextToken?: string;
|
|
411
|
+
libraryItems?: LibraryItemMember[] | undefined;
|
|
412
|
+
nextToken?: string | undefined;
|
|
413
413
|
}
|
|
414
414
|
export interface ListQAppsInput {
|
|
415
415
|
instanceId: string | undefined;
|
|
416
|
-
limit?: number;
|
|
417
|
-
nextToken?: string;
|
|
416
|
+
limit?: number | undefined;
|
|
417
|
+
nextToken?: string | undefined;
|
|
418
418
|
}
|
|
419
419
|
export interface UserAppItem {
|
|
420
420
|
appId: string | undefined;
|
|
421
421
|
appArn: string | undefined;
|
|
422
422
|
title: string | undefined;
|
|
423
|
-
description?: string;
|
|
423
|
+
description?: string | undefined;
|
|
424
424
|
createdAt: Date | undefined;
|
|
425
|
-
canEdit?: boolean;
|
|
426
|
-
status?: string;
|
|
427
|
-
isVerified?: boolean;
|
|
425
|
+
canEdit?: boolean | undefined;
|
|
426
|
+
status?: string | undefined;
|
|
427
|
+
isVerified?: boolean | undefined;
|
|
428
428
|
}
|
|
429
429
|
export interface ListQAppsOutput {
|
|
430
430
|
apps: UserAppItem[] | undefined;
|
|
431
|
-
nextToken?: string;
|
|
431
|
+
nextToken?: string | undefined;
|
|
432
432
|
}
|
|
433
433
|
export interface ListTagsForResourceRequest {
|
|
434
434
|
resourceARN: string | undefined;
|
|
435
435
|
}
|
|
436
436
|
export interface ListTagsForResourceResponse {
|
|
437
|
-
tags?: Record<string, string
|
|
437
|
+
tags?: Record<string, string> | undefined;
|
|
438
438
|
}
|
|
439
439
|
export type PredictQAppInputOptions =
|
|
440
440
|
| PredictQAppInputOptions.ConversationMember
|
|
@@ -465,14 +465,14 @@ export declare namespace PredictQAppInputOptions {
|
|
|
465
465
|
}
|
|
466
466
|
export interface PredictQAppInput {
|
|
467
467
|
instanceId: string | undefined;
|
|
468
|
-
options?: PredictQAppInputOptions;
|
|
468
|
+
options?: PredictQAppInputOptions | undefined;
|
|
469
469
|
}
|
|
470
470
|
export interface StartQAppSessionInput {
|
|
471
471
|
instanceId: string | undefined;
|
|
472
472
|
appId: string | undefined;
|
|
473
473
|
appVersion: number | undefined;
|
|
474
|
-
initialValues?: CardValue[];
|
|
475
|
-
tags?: Record<string, string
|
|
474
|
+
initialValues?: CardValue[] | undefined;
|
|
475
|
+
tags?: Record<string, string> | undefined;
|
|
476
476
|
}
|
|
477
477
|
export interface StartQAppSessionOutput {
|
|
478
478
|
sessionId: string | undefined;
|
|
@@ -495,8 +495,8 @@ export interface UntagResourceResponse {}
|
|
|
495
495
|
export interface UpdateLibraryItemInput {
|
|
496
496
|
instanceId: string | undefined;
|
|
497
497
|
libraryItemId: string | undefined;
|
|
498
|
-
status?: LibraryItemStatus;
|
|
499
|
-
categories?: string[];
|
|
498
|
+
status?: LibraryItemStatus | undefined;
|
|
499
|
+
categories?: string[] | undefined;
|
|
500
500
|
}
|
|
501
501
|
export interface UpdateLibraryItemOutput {
|
|
502
502
|
libraryItemId: string | undefined;
|
|
@@ -506,52 +506,52 @@ export interface UpdateLibraryItemOutput {
|
|
|
506
506
|
status: string | undefined;
|
|
507
507
|
createdAt: Date | undefined;
|
|
508
508
|
createdBy: string | undefined;
|
|
509
|
-
updatedAt?: Date;
|
|
510
|
-
updatedBy?: string;
|
|
509
|
+
updatedAt?: Date | undefined;
|
|
510
|
+
updatedBy?: string | undefined;
|
|
511
511
|
ratingCount: number | undefined;
|
|
512
|
-
isRatedByUser?: boolean;
|
|
513
|
-
userCount?: number;
|
|
514
|
-
isVerified?: boolean;
|
|
512
|
+
isRatedByUser?: boolean | undefined;
|
|
513
|
+
userCount?: number | undefined;
|
|
514
|
+
isVerified?: boolean | undefined;
|
|
515
515
|
}
|
|
516
516
|
export interface UpdateLibraryItemMetadataInput {
|
|
517
517
|
instanceId: string | undefined;
|
|
518
518
|
libraryItemId: string | undefined;
|
|
519
|
-
isVerified?: boolean;
|
|
519
|
+
isVerified?: boolean | undefined;
|
|
520
520
|
}
|
|
521
521
|
export interface UpdateQAppOutput {
|
|
522
522
|
appId: string | undefined;
|
|
523
523
|
appArn: string | undefined;
|
|
524
524
|
title: string | undefined;
|
|
525
|
-
description?: string;
|
|
526
|
-
initialPrompt?: string;
|
|
525
|
+
description?: string | undefined;
|
|
526
|
+
initialPrompt?: string | undefined;
|
|
527
527
|
appVersion: number | undefined;
|
|
528
528
|
status: AppStatus | undefined;
|
|
529
529
|
createdAt: Date | undefined;
|
|
530
530
|
createdBy: string | undefined;
|
|
531
531
|
updatedAt: Date | undefined;
|
|
532
532
|
updatedBy: string | undefined;
|
|
533
|
-
requiredCapabilities?: AppRequiredCapability[];
|
|
533
|
+
requiredCapabilities?: AppRequiredCapability[] | undefined;
|
|
534
534
|
}
|
|
535
535
|
export interface UpdateQAppSessionInput {
|
|
536
536
|
instanceId: string | undefined;
|
|
537
537
|
sessionId: string | undefined;
|
|
538
|
-
values?: CardValue[];
|
|
538
|
+
values?: CardValue[] | undefined;
|
|
539
539
|
}
|
|
540
540
|
export interface UpdateQAppSessionOutput {
|
|
541
541
|
sessionId: string | undefined;
|
|
542
542
|
sessionArn: string | undefined;
|
|
543
543
|
}
|
|
544
544
|
export interface AttributeFilter {
|
|
545
|
-
andAllFilters?: AttributeFilter[];
|
|
546
|
-
orAllFilters?: AttributeFilter[];
|
|
547
|
-
notFilter?: AttributeFilter;
|
|
548
|
-
equalsTo?: DocumentAttribute;
|
|
549
|
-
containsAll?: DocumentAttribute;
|
|
550
|
-
containsAny?: DocumentAttribute;
|
|
551
|
-
greaterThan?: DocumentAttribute;
|
|
552
|
-
greaterThanOrEquals?: DocumentAttribute;
|
|
553
|
-
lessThan?: DocumentAttribute;
|
|
554
|
-
lessThanOrEquals?: DocumentAttribute;
|
|
545
|
+
andAllFilters?: AttributeFilter[] | undefined;
|
|
546
|
+
orAllFilters?: AttributeFilter[] | undefined;
|
|
547
|
+
notFilter?: AttributeFilter | undefined;
|
|
548
|
+
equalsTo?: DocumentAttribute | undefined;
|
|
549
|
+
containsAll?: DocumentAttribute | undefined;
|
|
550
|
+
containsAny?: DocumentAttribute | undefined;
|
|
551
|
+
greaterThan?: DocumentAttribute | undefined;
|
|
552
|
+
greaterThanOrEquals?: DocumentAttribute | undefined;
|
|
553
|
+
lessThan?: DocumentAttribute | undefined;
|
|
554
|
+
lessThanOrEquals?: DocumentAttribute | undefined;
|
|
555
555
|
}
|
|
556
556
|
export interface QQueryCard {
|
|
557
557
|
id: string | undefined;
|
|
@@ -560,15 +560,15 @@ export interface QQueryCard {
|
|
|
560
560
|
type: CardType | undefined;
|
|
561
561
|
prompt: string | undefined;
|
|
562
562
|
outputSource: CardOutputSource | undefined;
|
|
563
|
-
attributeFilter?: AttributeFilter;
|
|
563
|
+
attributeFilter?: AttributeFilter | undefined;
|
|
564
564
|
}
|
|
565
565
|
export interface QQueryCardInput {
|
|
566
566
|
title: string | undefined;
|
|
567
567
|
id: string | undefined;
|
|
568
568
|
type: CardType | undefined;
|
|
569
569
|
prompt: string | undefined;
|
|
570
|
-
outputSource?: CardOutputSource;
|
|
571
|
-
attributeFilter?: AttributeFilter;
|
|
570
|
+
outputSource?: CardOutputSource | undefined;
|
|
571
|
+
attributeFilter?: AttributeFilter | undefined;
|
|
572
572
|
}
|
|
573
573
|
export type Card =
|
|
574
574
|
| Card.FileUploadMember
|
|
@@ -675,45 +675,45 @@ export declare namespace CardInput {
|
|
|
675
675
|
export interface AppDefinition {
|
|
676
676
|
appDefinitionVersion: string | undefined;
|
|
677
677
|
cards: Card[] | undefined;
|
|
678
|
-
canEdit?: boolean;
|
|
678
|
+
canEdit?: boolean | undefined;
|
|
679
679
|
}
|
|
680
680
|
export interface AppDefinitionInput {
|
|
681
681
|
cards: CardInput[] | undefined;
|
|
682
|
-
initialPrompt?: string;
|
|
682
|
+
initialPrompt?: string | undefined;
|
|
683
683
|
}
|
|
684
684
|
export interface CreateQAppInput {
|
|
685
685
|
instanceId: string | undefined;
|
|
686
686
|
title: string | undefined;
|
|
687
|
-
description?: string;
|
|
687
|
+
description?: string | undefined;
|
|
688
688
|
appDefinition: AppDefinitionInput | undefined;
|
|
689
|
-
tags?: Record<string, string
|
|
689
|
+
tags?: Record<string, string> | undefined;
|
|
690
690
|
}
|
|
691
691
|
export interface GetQAppOutput {
|
|
692
692
|
appId: string | undefined;
|
|
693
693
|
appArn: string | undefined;
|
|
694
694
|
title: string | undefined;
|
|
695
|
-
description?: string;
|
|
696
|
-
initialPrompt?: string;
|
|
695
|
+
description?: string | undefined;
|
|
696
|
+
initialPrompt?: string | undefined;
|
|
697
697
|
appVersion: number | undefined;
|
|
698
698
|
status: AppStatus | undefined;
|
|
699
699
|
createdAt: Date | undefined;
|
|
700
700
|
createdBy: string | undefined;
|
|
701
701
|
updatedAt: Date | undefined;
|
|
702
702
|
updatedBy: string | undefined;
|
|
703
|
-
requiredCapabilities?: AppRequiredCapability[];
|
|
703
|
+
requiredCapabilities?: AppRequiredCapability[] | undefined;
|
|
704
704
|
appDefinition: AppDefinition | undefined;
|
|
705
705
|
}
|
|
706
706
|
export interface PredictAppDefinition {
|
|
707
707
|
title: string | undefined;
|
|
708
|
-
description?: string;
|
|
708
|
+
description?: string | undefined;
|
|
709
709
|
appDefinition: AppDefinitionInput | undefined;
|
|
710
710
|
}
|
|
711
711
|
export interface UpdateQAppInput {
|
|
712
712
|
instanceId: string | undefined;
|
|
713
713
|
appId: string | undefined;
|
|
714
|
-
title?: string;
|
|
715
|
-
description?: string;
|
|
716
|
-
appDefinition?: AppDefinitionInput;
|
|
714
|
+
title?: string | undefined;
|
|
715
|
+
description?: string | undefined;
|
|
716
|
+
appDefinition?: AppDefinitionInput | undefined;
|
|
717
717
|
}
|
|
718
718
|
export interface PredictQAppOutput {
|
|
719
719
|
app: PredictAppDefinition | undefined;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-qapps",
|
|
3
3
|
"description": "AWS SDK for JavaScript Qapps Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.691.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -20,19 +20,19 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
|
-
"@aws-sdk/client-sso-oidc": "3.
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/core": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
23
|
+
"@aws-sdk/client-sso-oidc": "3.691.0",
|
|
24
|
+
"@aws-sdk/client-sts": "3.691.0",
|
|
25
|
+
"@aws-sdk/core": "3.691.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.691.0",
|
|
27
27
|
"@aws-sdk/middleware-host-header": "3.686.0",
|
|
28
28
|
"@aws-sdk/middleware-logger": "3.686.0",
|
|
29
29
|
"@aws-sdk/middleware-recursion-detection": "3.686.0",
|
|
30
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
30
|
+
"@aws-sdk/middleware-user-agent": "3.691.0",
|
|
31
31
|
"@aws-sdk/region-config-resolver": "3.686.0",
|
|
32
32
|
"@aws-sdk/types": "3.686.0",
|
|
33
33
|
"@aws-sdk/util-endpoints": "3.686.0",
|
|
34
34
|
"@aws-sdk/util-user-agent-browser": "3.686.0",
|
|
35
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
35
|
+
"@aws-sdk/util-user-agent-node": "3.691.0",
|
|
36
36
|
"@smithy/config-resolver": "^3.0.10",
|
|
37
37
|
"@smithy/core": "^2.5.1",
|
|
38
38
|
"@smithy/fetch-http-handler": "^4.0.0",
|