@aws-sdk/client-wisdom 3.935.0 → 3.939.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.
@@ -1,3 +1,4 @@
1
+ import { AssistantStatus, AssistantType, AssociationType, ContentStatus, ExternalSource, FilterField, FilterOperator, ImportJobStatus, ImportJobType, KnowledgeBaseStatus, KnowledgeBaseType, Order, Priority, QuickResponseFilterOperator, QuickResponseQueryOperator, QuickResponseStatus, RecommendationSourceType, RecommendationTriggerType, RecommendationType, RelevanceLevel } from "./enums";
1
2
  /**
2
3
  * <p>Configuration information for Amazon AppIntegrations to automatically ingest content.</p>
3
4
  * @public
@@ -107,17 +108,6 @@ export declare namespace AssistantAssociationInputData {
107
108
  _: (name: string, value: any) => T;
108
109
  }
109
110
  }
110
- /**
111
- * @public
112
- * @enum
113
- */
114
- export declare const AssociationType: {
115
- readonly KNOWLEDGE_BASE: "KNOWLEDGE_BASE";
116
- };
117
- /**
118
- * @public
119
- */
120
- export type AssociationType = (typeof AssociationType)[keyof typeof AssociationType];
121
111
  /**
122
112
  * @public
123
113
  */
@@ -387,17 +377,6 @@ export interface ServerSideEncryptionConfiguration {
387
377
  */
388
378
  kmsKeyId?: string | undefined;
389
379
  }
390
- /**
391
- * @public
392
- * @enum
393
- */
394
- export declare const AssistantType: {
395
- readonly AGENT: "AGENT";
396
- };
397
- /**
398
- * @public
399
- */
400
- export type AssistantType = (typeof AssistantType)[keyof typeof AssistantType];
401
380
  /**
402
381
  * @public
403
382
  */
@@ -455,22 +434,6 @@ export interface AssistantIntegrationConfiguration {
455
434
  */
456
435
  topicIntegrationArn?: string | undefined;
457
436
  }
458
- /**
459
- * @public
460
- * @enum
461
- */
462
- export declare const AssistantStatus: {
463
- readonly ACTIVE: "ACTIVE";
464
- readonly CREATE_FAILED: "CREATE_FAILED";
465
- readonly CREATE_IN_PROGRESS: "CREATE_IN_PROGRESS";
466
- readonly DELETED: "DELETED";
467
- readonly DELETE_FAILED: "DELETE_FAILED";
468
- readonly DELETE_IN_PROGRESS: "DELETE_IN_PROGRESS";
469
- };
470
- /**
471
- * @public
472
- */
473
- export type AssistantStatus = (typeof AssistantStatus)[keyof typeof AssistantStatus];
474
437
  /**
475
438
  * <p>The assistant data.</p>
476
439
  * @public
@@ -684,30 +647,6 @@ export interface Document {
684
647
  */
685
648
  excerpt?: DocumentText | undefined;
686
649
  }
687
- /**
688
- * @public
689
- * @enum
690
- */
691
- export declare const RelevanceLevel: {
692
- readonly HIGH: "HIGH";
693
- readonly LOW: "LOW";
694
- readonly MEDIUM: "MEDIUM";
695
- };
696
- /**
697
- * @public
698
- */
699
- export type RelevanceLevel = (typeof RelevanceLevel)[keyof typeof RelevanceLevel];
700
- /**
701
- * @public
702
- * @enum
703
- */
704
- export declare const RecommendationType: {
705
- readonly KNOWLEDGE_CONTENT: "KNOWLEDGE_CONTENT";
706
- };
707
- /**
708
- * @public
709
- */
710
- export type RecommendationType = (typeof RecommendationType)[keyof typeof RecommendationType];
711
650
  /**
712
651
  * <p>Information about the recommendation.</p>
713
652
  * @public
@@ -783,30 +722,6 @@ export declare namespace RecommendationTriggerData {
783
722
  _: (name: string, value: any) => T;
784
723
  }
785
724
  }
786
- /**
787
- * @public
788
- * @enum
789
- */
790
- export declare const RecommendationSourceType: {
791
- readonly ISSUE_DETECTION: "ISSUE_DETECTION";
792
- readonly OTHER: "OTHER";
793
- readonly RULE_EVALUATION: "RULE_EVALUATION";
794
- };
795
- /**
796
- * @public
797
- */
798
- export type RecommendationSourceType = (typeof RecommendationSourceType)[keyof typeof RecommendationSourceType];
799
- /**
800
- * @public
801
- * @enum
802
- */
803
- export declare const RecommendationTriggerType: {
804
- readonly QUERY: "QUERY";
805
- };
806
- /**
807
- * @public
808
- */
809
- export type RecommendationTriggerType = (typeof RecommendationTriggerType)[keyof typeof RecommendationTriggerType];
810
725
  /**
811
726
  * <p>A recommendation trigger provides context on the event that produced the referenced
812
727
  * recommendations. Recommendations are only referenced in <code>recommendationIds</code> by a
@@ -1068,28 +983,6 @@ export interface QueryAssistantResponse {
1068
983
  */
1069
984
  nextToken?: string | undefined;
1070
985
  }
1071
- /**
1072
- * @public
1073
- * @enum
1074
- */
1075
- export declare const FilterField: {
1076
- readonly NAME: "NAME";
1077
- };
1078
- /**
1079
- * @public
1080
- */
1081
- export type FilterField = (typeof FilterField)[keyof typeof FilterField];
1082
- /**
1083
- * @public
1084
- * @enum
1085
- */
1086
- export declare const FilterOperator: {
1087
- readonly EQUALS: "EQUALS";
1088
- };
1089
- /**
1090
- * @public
1091
- */
1092
- export type FilterOperator = (typeof FilterOperator)[keyof typeof FilterOperator];
1093
986
  /**
1094
987
  * <p>A search filter.</p>
1095
988
  * @public
@@ -1401,23 +1294,6 @@ export interface CreateContentRequest {
1401
1294
  */
1402
1295
  tags?: Record<string, string> | undefined;
1403
1296
  }
1404
- /**
1405
- * @public
1406
- * @enum
1407
- */
1408
- export declare const ContentStatus: {
1409
- readonly ACTIVE: "ACTIVE";
1410
- readonly CREATE_FAILED: "CREATE_FAILED";
1411
- readonly CREATE_IN_PROGRESS: "CREATE_IN_PROGRESS";
1412
- readonly DELETED: "DELETED";
1413
- readonly DELETE_FAILED: "DELETE_FAILED";
1414
- readonly DELETE_IN_PROGRESS: "DELETE_IN_PROGRESS";
1415
- readonly UPDATE_FAILED: "UPDATE_FAILED";
1416
- };
1417
- /**
1418
- * @public
1419
- */
1420
- export type ContentStatus = (typeof ContentStatus)[keyof typeof ContentStatus];
1421
1297
  /**
1422
1298
  * <p>Information about the content.</p>
1423
1299
  * @public
@@ -1744,19 +1620,6 @@ export interface UpdateContentResponse {
1744
1620
  */
1745
1621
  content?: ContentData | undefined;
1746
1622
  }
1747
- /**
1748
- * @public
1749
- * @enum
1750
- */
1751
- export declare const KnowledgeBaseType: {
1752
- readonly CUSTOM: "CUSTOM";
1753
- readonly EXTERNAL: "EXTERNAL";
1754
- readonly QUICK_RESPONSES: "QUICK_RESPONSES";
1755
- };
1756
- /**
1757
- * @public
1758
- */
1759
- export type KnowledgeBaseType = (typeof KnowledgeBaseType)[keyof typeof KnowledgeBaseType];
1760
1623
  /**
1761
1624
  * <p>Information about how to render the content.</p>
1762
1625
  * @public
@@ -1877,22 +1740,6 @@ export interface CreateKnowledgeBaseRequest {
1877
1740
  */
1878
1741
  tags?: Record<string, string> | undefined;
1879
1742
  }
1880
- /**
1881
- * @public
1882
- * @enum
1883
- */
1884
- export declare const KnowledgeBaseStatus: {
1885
- readonly ACTIVE: "ACTIVE";
1886
- readonly CREATE_FAILED: "CREATE_FAILED";
1887
- readonly CREATE_IN_PROGRESS: "CREATE_IN_PROGRESS";
1888
- readonly DELETED: "DELETED";
1889
- readonly DELETE_FAILED: "DELETE_FAILED";
1890
- readonly DELETE_IN_PROGRESS: "DELETE_IN_PROGRESS";
1891
- };
1892
- /**
1893
- * @public
1894
- */
1895
- export type KnowledgeBaseStatus = (typeof KnowledgeBaseStatus)[keyof typeof KnowledgeBaseStatus];
1896
1743
  /**
1897
1744
  * <p>Information about the knowledge base.</p>
1898
1745
  * @public
@@ -2165,24 +2012,6 @@ export interface QuickResponseContents {
2165
2012
  */
2166
2013
  markdown?: QuickResponseContentProvider | undefined;
2167
2014
  }
2168
- /**
2169
- * @public
2170
- * @enum
2171
- */
2172
- export declare const QuickResponseStatus: {
2173
- readonly CREATED: "CREATED";
2174
- readonly CREATE_FAILED: "CREATE_FAILED";
2175
- readonly CREATE_IN_PROGRESS: "CREATE_IN_PROGRESS";
2176
- readonly DELETED: "DELETED";
2177
- readonly DELETE_FAILED: "DELETE_FAILED";
2178
- readonly DELETE_IN_PROGRESS: "DELETE_IN_PROGRESS";
2179
- readonly UPDATE_FAILED: "UPDATE_FAILED";
2180
- readonly UPDATE_IN_PROGRESS: "UPDATE_IN_PROGRESS";
2181
- };
2182
- /**
2183
- * @public
2184
- */
2185
- export type QuickResponseStatus = (typeof QuickResponseStatus)[keyof typeof QuickResponseStatus];
2186
2015
  /**
2187
2016
  * <p>Information about the quick response.</p>
2188
2017
  * @public
@@ -2356,17 +2185,6 @@ export interface DeleteQuickResponseRequest {
2356
2185
  */
2357
2186
  export interface DeleteQuickResponseResponse {
2358
2187
  }
2359
- /**
2360
- * @public
2361
- * @enum
2362
- */
2363
- export declare const ExternalSource: {
2364
- readonly AMAZON_CONNECT: "AMAZON_CONNECT";
2365
- };
2366
- /**
2367
- * @public
2368
- */
2369
- export type ExternalSource = (typeof ExternalSource)[keyof typeof ExternalSource];
2370
2188
  /**
2371
2189
  * <p>The configuration information of the external data source.</p>
2372
2190
  * @public
@@ -2398,33 +2216,6 @@ export interface GetImportJobRequest {
2398
2216
  */
2399
2217
  knowledgeBaseId: string | undefined;
2400
2218
  }
2401
- /**
2402
- * @public
2403
- * @enum
2404
- */
2405
- export declare const ImportJobType: {
2406
- readonly QUICK_RESPONSES: "QUICK_RESPONSES";
2407
- };
2408
- /**
2409
- * @public
2410
- */
2411
- export type ImportJobType = (typeof ImportJobType)[keyof typeof ImportJobType];
2412
- /**
2413
- * @public
2414
- * @enum
2415
- */
2416
- export declare const ImportJobStatus: {
2417
- readonly COMPLETE: "COMPLETE";
2418
- readonly DELETED: "DELETED";
2419
- readonly DELETE_FAILED: "DELETE_FAILED";
2420
- readonly DELETE_IN_PROGRESS: "DELETE_IN_PROGRESS";
2421
- readonly FAILED: "FAILED";
2422
- readonly START_IN_PROGRESS: "START_IN_PROGRESS";
2423
- };
2424
- /**
2425
- * @public
2426
- */
2427
- export type ImportJobStatus = (typeof ImportJobStatus)[keyof typeof ImportJobStatus];
2428
2219
  /**
2429
2220
  * <p>Summary information about the import job.</p>
2430
2221
  * @public
@@ -3020,18 +2811,6 @@ export interface SearchContentResponse {
3020
2811
  */
3021
2812
  nextToken?: string | undefined;
3022
2813
  }
3023
- /**
3024
- * @public
3025
- * @enum
3026
- */
3027
- export declare const QuickResponseFilterOperator: {
3028
- readonly EQUALS: "EQUALS";
3029
- readonly PREFIX: "PREFIX";
3030
- };
3031
- /**
3032
- * @public
3033
- */
3034
- export type QuickResponseFilterOperator = (typeof QuickResponseFilterOperator)[keyof typeof QuickResponseFilterOperator];
3035
2814
  /**
3036
2815
  * <p>The quick response fields to filter the quick response query results by.</p>
3037
2816
  * <p>The following is the list of supported field names.</p>
@@ -3097,18 +2876,6 @@ export interface QuickResponseFilterField {
3097
2876
  */
3098
2877
  includeNoExistence?: boolean | undefined;
3099
2878
  }
3100
- /**
3101
- * @public
3102
- * @enum
3103
- */
3104
- export declare const Order: {
3105
- readonly ASC: "ASC";
3106
- readonly DESC: "DESC";
3107
- };
3108
- /**
3109
- * @public
3110
- */
3111
- export type Order = (typeof Order)[keyof typeof Order];
3112
2879
  /**
3113
2880
  * <p>The quick response fields to order the quick response query results by.</p>
3114
2881
  * <p>The following is the list of supported field names.</p>
@@ -3164,31 +2931,6 @@ export interface QuickResponseOrderField {
3164
2931
  */
3165
2932
  order?: Order | undefined;
3166
2933
  }
3167
- /**
3168
- * @public
3169
- * @enum
3170
- */
3171
- export declare const QuickResponseQueryOperator: {
3172
- readonly CONTAINS: "CONTAINS";
3173
- readonly CONTAINS_AND_PREFIX: "CONTAINS_AND_PREFIX";
3174
- };
3175
- /**
3176
- * @public
3177
- */
3178
- export type QuickResponseQueryOperator = (typeof QuickResponseQueryOperator)[keyof typeof QuickResponseQueryOperator];
3179
- /**
3180
- * @public
3181
- * @enum
3182
- */
3183
- export declare const Priority: {
3184
- readonly HIGH: "HIGH";
3185
- readonly LOW: "LOW";
3186
- readonly MEDIUM: "MEDIUM";
3187
- };
3188
- /**
3189
- * @public
3190
- */
3191
- export type Priority = (typeof Priority)[keyof typeof Priority];
3192
2934
  /**
3193
2935
  * <p>The quick response fields to query quick responses by.</p>
3194
2936
  * <p>The following is the list of supported field names.</p>
@@ -5,6 +5,7 @@ export { RuntimeExtension } from "./runtimeExtensions";
5
5
  export { WisdomExtensionConfiguration } from "./extensionConfiguration";
6
6
  export * from "./commands";
7
7
  export * from "./pagination";
8
+ export * from "./models/enums";
8
9
  export * from "./models/errors";
9
10
  export * from "./models/models_0";
10
11
  export { WisdomServiceException } from "./models/WisdomServiceException";
@@ -0,0 +1,133 @@
1
+ export declare const AssociationType: {
2
+ readonly KNOWLEDGE_BASE: "KNOWLEDGE_BASE";
3
+ };
4
+ export type AssociationType =
5
+ (typeof AssociationType)[keyof typeof AssociationType];
6
+ export declare const AssistantType: {
7
+ readonly AGENT: "AGENT";
8
+ };
9
+ export type AssistantType = (typeof AssistantType)[keyof typeof AssistantType];
10
+ export declare const AssistantStatus: {
11
+ readonly ACTIVE: "ACTIVE";
12
+ readonly CREATE_FAILED: "CREATE_FAILED";
13
+ readonly CREATE_IN_PROGRESS: "CREATE_IN_PROGRESS";
14
+ readonly DELETED: "DELETED";
15
+ readonly DELETE_FAILED: "DELETE_FAILED";
16
+ readonly DELETE_IN_PROGRESS: "DELETE_IN_PROGRESS";
17
+ };
18
+ export type AssistantStatus =
19
+ (typeof AssistantStatus)[keyof typeof AssistantStatus];
20
+ export declare const RelevanceLevel: {
21
+ readonly HIGH: "HIGH";
22
+ readonly LOW: "LOW";
23
+ readonly MEDIUM: "MEDIUM";
24
+ };
25
+ export type RelevanceLevel =
26
+ (typeof RelevanceLevel)[keyof typeof RelevanceLevel];
27
+ export declare const RecommendationType: {
28
+ readonly KNOWLEDGE_CONTENT: "KNOWLEDGE_CONTENT";
29
+ };
30
+ export type RecommendationType =
31
+ (typeof RecommendationType)[keyof typeof RecommendationType];
32
+ export declare const RecommendationSourceType: {
33
+ readonly ISSUE_DETECTION: "ISSUE_DETECTION";
34
+ readonly OTHER: "OTHER";
35
+ readonly RULE_EVALUATION: "RULE_EVALUATION";
36
+ };
37
+ export type RecommendationSourceType =
38
+ (typeof RecommendationSourceType)[keyof typeof RecommendationSourceType];
39
+ export declare const RecommendationTriggerType: {
40
+ readonly QUERY: "QUERY";
41
+ };
42
+ export type RecommendationTriggerType =
43
+ (typeof RecommendationTriggerType)[keyof typeof RecommendationTriggerType];
44
+ export declare const FilterField: {
45
+ readonly NAME: "NAME";
46
+ };
47
+ export type FilterField = (typeof FilterField)[keyof typeof FilterField];
48
+ export declare const FilterOperator: {
49
+ readonly EQUALS: "EQUALS";
50
+ };
51
+ export type FilterOperator =
52
+ (typeof FilterOperator)[keyof typeof FilterOperator];
53
+ export declare const ContentStatus: {
54
+ readonly ACTIVE: "ACTIVE";
55
+ readonly CREATE_FAILED: "CREATE_FAILED";
56
+ readonly CREATE_IN_PROGRESS: "CREATE_IN_PROGRESS";
57
+ readonly DELETED: "DELETED";
58
+ readonly DELETE_FAILED: "DELETE_FAILED";
59
+ readonly DELETE_IN_PROGRESS: "DELETE_IN_PROGRESS";
60
+ readonly UPDATE_FAILED: "UPDATE_FAILED";
61
+ };
62
+ export type ContentStatus = (typeof ContentStatus)[keyof typeof ContentStatus];
63
+ export declare const KnowledgeBaseType: {
64
+ readonly CUSTOM: "CUSTOM";
65
+ readonly EXTERNAL: "EXTERNAL";
66
+ readonly QUICK_RESPONSES: "QUICK_RESPONSES";
67
+ };
68
+ export type KnowledgeBaseType =
69
+ (typeof KnowledgeBaseType)[keyof typeof KnowledgeBaseType];
70
+ export declare const KnowledgeBaseStatus: {
71
+ readonly ACTIVE: "ACTIVE";
72
+ readonly CREATE_FAILED: "CREATE_FAILED";
73
+ readonly CREATE_IN_PROGRESS: "CREATE_IN_PROGRESS";
74
+ readonly DELETED: "DELETED";
75
+ readonly DELETE_FAILED: "DELETE_FAILED";
76
+ readonly DELETE_IN_PROGRESS: "DELETE_IN_PROGRESS";
77
+ };
78
+ export type KnowledgeBaseStatus =
79
+ (typeof KnowledgeBaseStatus)[keyof typeof KnowledgeBaseStatus];
80
+ export declare const QuickResponseStatus: {
81
+ readonly CREATED: "CREATED";
82
+ readonly CREATE_FAILED: "CREATE_FAILED";
83
+ readonly CREATE_IN_PROGRESS: "CREATE_IN_PROGRESS";
84
+ readonly DELETED: "DELETED";
85
+ readonly DELETE_FAILED: "DELETE_FAILED";
86
+ readonly DELETE_IN_PROGRESS: "DELETE_IN_PROGRESS";
87
+ readonly UPDATE_FAILED: "UPDATE_FAILED";
88
+ readonly UPDATE_IN_PROGRESS: "UPDATE_IN_PROGRESS";
89
+ };
90
+ export type QuickResponseStatus =
91
+ (typeof QuickResponseStatus)[keyof typeof QuickResponseStatus];
92
+ export declare const ExternalSource: {
93
+ readonly AMAZON_CONNECT: "AMAZON_CONNECT";
94
+ };
95
+ export type ExternalSource =
96
+ (typeof ExternalSource)[keyof typeof ExternalSource];
97
+ export declare const ImportJobType: {
98
+ readonly QUICK_RESPONSES: "QUICK_RESPONSES";
99
+ };
100
+ export type ImportJobType = (typeof ImportJobType)[keyof typeof ImportJobType];
101
+ export declare const ImportJobStatus: {
102
+ readonly COMPLETE: "COMPLETE";
103
+ readonly DELETED: "DELETED";
104
+ readonly DELETE_FAILED: "DELETE_FAILED";
105
+ readonly DELETE_IN_PROGRESS: "DELETE_IN_PROGRESS";
106
+ readonly FAILED: "FAILED";
107
+ readonly START_IN_PROGRESS: "START_IN_PROGRESS";
108
+ };
109
+ export type ImportJobStatus =
110
+ (typeof ImportJobStatus)[keyof typeof ImportJobStatus];
111
+ export declare const QuickResponseFilterOperator: {
112
+ readonly EQUALS: "EQUALS";
113
+ readonly PREFIX: "PREFIX";
114
+ };
115
+ export type QuickResponseFilterOperator =
116
+ (typeof QuickResponseFilterOperator)[keyof typeof QuickResponseFilterOperator];
117
+ export declare const Order: {
118
+ readonly ASC: "ASC";
119
+ readonly DESC: "DESC";
120
+ };
121
+ export type Order = (typeof Order)[keyof typeof Order];
122
+ export declare const QuickResponseQueryOperator: {
123
+ readonly CONTAINS: "CONTAINS";
124
+ readonly CONTAINS_AND_PREFIX: "CONTAINS_AND_PREFIX";
125
+ };
126
+ export type QuickResponseQueryOperator =
127
+ (typeof QuickResponseQueryOperator)[keyof typeof QuickResponseQueryOperator];
128
+ export declare const Priority: {
129
+ readonly HIGH: "HIGH";
130
+ readonly LOW: "LOW";
131
+ readonly MEDIUM: "MEDIUM";
132
+ };
133
+ export type Priority = (typeof Priority)[keyof typeof Priority];