@aws-sdk/client-qconnect 3.699.0 → 3.703.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 +88 -0
- package/dist-cjs/index.js +1188 -127
- package/dist-es/QConnect.js +22 -0
- package/dist-es/commands/CreateAIGuardrailCommand.js +23 -0
- package/dist-es/commands/CreateAIGuardrailVersionCommand.js +23 -0
- package/dist-es/commands/CreateQuickResponseCommand.js +1 -1
- package/dist-es/commands/DeleteAIGuardrailCommand.js +22 -0
- package/dist-es/commands/DeleteAIGuardrailVersionCommand.js +22 -0
- package/dist-es/commands/GetAIGuardrailCommand.js +23 -0
- package/dist-es/commands/GetImportJobCommand.js +1 -1
- package/dist-es/commands/GetKnowledgeBaseCommand.js +1 -1
- package/dist-es/commands/GetMessageTemplateCommand.js +1 -1
- package/dist-es/commands/GetNextMessageCommand.js +23 -0
- package/dist-es/commands/GetQuickResponseCommand.js +1 -1
- package/dist-es/commands/ListAIGuardrailVersionsCommand.js +23 -0
- package/dist-es/commands/ListAIGuardrailsCommand.js +23 -0
- package/dist-es/commands/ListKnowledgeBasesCommand.js +1 -1
- package/dist-es/commands/ListMessagesCommand.js +23 -0
- package/dist-es/commands/ListQuickResponsesCommand.js +1 -1
- package/dist-es/commands/RenderMessageTemplateCommand.js +1 -1
- package/dist-es/commands/SendMessageCommand.js +23 -0
- package/dist-es/commands/UpdateAIGuardrailCommand.js +23 -0
- package/dist-es/commands/UpdateMessageTemplateCommand.js +1 -1
- package/dist-es/commands/UpdateMessageTemplateMetadataCommand.js +1 -1
- package/dist-es/commands/UpdateQuickResponseCommand.js +1 -1
- package/dist-es/commands/index.js +11 -0
- package/dist-es/models/models_0.js +310 -166
- package/dist-es/models/models_1.js +167 -1
- package/dist-es/pagination/ListAIGuardrailVersionsPaginator.js +4 -0
- package/dist-es/pagination/ListAIGuardrailsPaginator.js +4 -0
- package/dist-es/pagination/ListMessagesPaginator.js +4 -0
- package/dist-es/pagination/index.js +3 -0
- package/dist-es/protocols/Aws_restJson1.js +443 -1
- package/dist-types/QConnect.d.ts +77 -0
- package/dist-types/QConnectClient.d.ts +13 -2
- package/dist-types/commands/CreateAIAgentCommand.d.ts +62 -0
- package/dist-types/commands/CreateAIAgentVersionCommand.d.ts +31 -0
- package/dist-types/commands/CreateAIGuardrailCommand.d.ts +231 -0
- package/dist-types/commands/CreateAIGuardrailVersionCommand.d.ts +169 -0
- package/dist-types/commands/CreateQuickResponseCommand.d.ts +1 -1
- package/dist-types/commands/DeactivateMessageTemplateCommand.d.ts +1 -1
- package/dist-types/commands/DeleteAIGuardrailCommand.d.ts +88 -0
- package/dist-types/commands/DeleteAIGuardrailVersionCommand.d.ts +89 -0
- package/dist-types/commands/DeleteImportJobCommand.d.ts +1 -1
- package/dist-types/commands/DeleteKnowledgeBaseCommand.d.ts +1 -1
- package/dist-types/commands/DeleteMessageTemplateAttachmentCommand.d.ts +1 -1
- package/dist-types/commands/DeleteMessageTemplateCommand.d.ts +1 -1
- package/dist-types/commands/DeleteQuickResponseCommand.d.ts +1 -1
- package/dist-types/commands/GetAIAgentCommand.d.ts +31 -0
- package/dist-types/commands/GetAIGuardrailCommand.d.ts +157 -0
- package/dist-types/commands/GetImportJobCommand.d.ts +1 -1
- package/dist-types/commands/GetKnowledgeBaseCommand.d.ts +1 -1
- package/dist-types/commands/GetMessageTemplateCommand.d.ts +4 -3
- package/dist-types/commands/GetNextMessageCommand.d.ts +106 -0
- package/dist-types/commands/GetQuickResponseCommand.d.ts +1 -1
- package/dist-types/commands/ListAIAgentVersionsCommand.d.ts +31 -0
- package/dist-types/commands/ListAIAgentsCommand.d.ts +31 -0
- package/dist-types/commands/ListAIGuardrailVersionsCommand.d.ts +105 -0
- package/dist-types/commands/ListAIGuardrailsCommand.d.ts +101 -0
- package/dist-types/commands/ListImportJobsCommand.d.ts +1 -1
- package/dist-types/commands/ListKnowledgeBasesCommand.d.ts +1 -1
- package/dist-types/commands/ListMessageTemplateVersionsCommand.d.ts +1 -1
- package/dist-types/commands/ListMessageTemplatesCommand.d.ts +1 -1
- package/dist-types/commands/ListMessagesCommand.d.ts +95 -0
- package/dist-types/commands/ListQuickResponsesCommand.d.ts +1 -1
- package/dist-types/commands/RemoveKnowledgeBaseTemplateUriCommand.d.ts +1 -2
- package/dist-types/commands/RenderMessageTemplateCommand.d.ts +1 -1
- package/dist-types/commands/SendMessageCommand.d.ts +114 -0
- package/dist-types/commands/UpdateAIAgentCommand.d.ts +62 -0
- package/dist-types/commands/UpdateAIGuardrailCommand.d.ts +224 -0
- package/dist-types/commands/UpdateMessageTemplateCommand.d.ts +1 -1
- package/dist-types/commands/UpdateMessageTemplateMetadataCommand.d.ts +1 -1
- package/dist-types/commands/UpdateQuickResponseCommand.d.ts +1 -1
- package/dist-types/commands/index.d.ts +11 -0
- package/dist-types/models/models_0.d.ts +3820 -3619
- package/dist-types/models/models_1.d.ts +1513 -1
- package/dist-types/pagination/ListAIGuardrailVersionsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListAIGuardrailsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListMessagesPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +3 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +99 -0
- package/dist-types/ts3.4/QConnect.d.ts +187 -0
- package/dist-types/ts3.4/QConnectClient.d.ts +66 -0
- package/dist-types/ts3.4/commands/CreateAIGuardrailCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/CreateAIGuardrailVersionCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/CreateQuickResponseCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeactivateMessageTemplateCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeleteAIGuardrailCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DeleteAIGuardrailVersionCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DeleteImportJobCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeleteKnowledgeBaseCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeleteMessageTemplateAttachmentCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeleteMessageTemplateCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeleteQuickResponseCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetAIGuardrailCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/GetImportJobCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetKnowledgeBaseCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetMessageTemplateCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetNextMessageCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/GetQuickResponseCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListAIGuardrailVersionsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListAIGuardrailsCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/ListImportJobsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListKnowledgeBasesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListMessageTemplateVersionsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListMessageTemplatesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListMessagesCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/ListQuickResponsesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/RemoveKnowledgeBaseTemplateUriCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/RenderMessageTemplateCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/SendMessageCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/UpdateAIGuardrailCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/UpdateMessageTemplateCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateMessageTemplateMetadataCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateQuickResponseCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/index.d.ts +11 -0
- package/dist-types/ts3.4/models/models_0.d.ts +482 -441
- package/dist-types/ts3.4/models/models_1.d.ts +437 -5
- package/dist-types/ts3.4/pagination/ListAIGuardrailVersionsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListAIGuardrailsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListMessagesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +3 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +132 -0
- package/package.json +1 -1
|
@@ -1,27 +1,390 @@
|
|
|
1
1
|
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
2
|
import {
|
|
3
3
|
ChannelSubtype,
|
|
4
|
+
Configuration,
|
|
4
5
|
ContentDataDetails,
|
|
5
6
|
ContentSummary,
|
|
6
7
|
DataReference,
|
|
7
8
|
Document,
|
|
8
|
-
|
|
9
|
+
ExtendedMessageTemplateData,
|
|
9
10
|
GroupingConfiguration,
|
|
10
|
-
ImportJobData,
|
|
11
|
-
ImportJobType,
|
|
12
11
|
IntentDetectedDataDetails,
|
|
13
12
|
KnowledgeBaseData,
|
|
13
|
+
KnowledgeBaseStatus,
|
|
14
|
+
KnowledgeBaseType,
|
|
15
|
+
MessageTemplateAttachment,
|
|
16
|
+
MessageTemplateAttributes,
|
|
17
|
+
MessageTemplateContentProvider,
|
|
18
|
+
MessageTemplateData,
|
|
14
19
|
QueryResultType,
|
|
15
|
-
QuickResponseContents,
|
|
16
|
-
QuickResponseStatus,
|
|
17
20
|
RankingData,
|
|
18
21
|
RecommendationTrigger,
|
|
19
22
|
RecommendationType,
|
|
20
23
|
RelevanceLevel,
|
|
24
|
+
RenderingConfiguration,
|
|
21
25
|
SearchExpression,
|
|
26
|
+
ServerSideEncryptionConfiguration,
|
|
27
|
+
SourceConfiguration,
|
|
22
28
|
SourceContentDataDetails,
|
|
29
|
+
VectorIngestionConfiguration,
|
|
23
30
|
} from "./models_0";
|
|
24
31
|
import { QConnectServiceException as __BaseException } from "./QConnectServiceException";
|
|
32
|
+
export type QuickResponseDataProvider =
|
|
33
|
+
| QuickResponseDataProvider.ContentMember
|
|
34
|
+
| QuickResponseDataProvider.$UnknownMember;
|
|
35
|
+
export declare namespace QuickResponseDataProvider {
|
|
36
|
+
interface ContentMember {
|
|
37
|
+
content: string;
|
|
38
|
+
$unknown?: never;
|
|
39
|
+
}
|
|
40
|
+
interface $UnknownMember {
|
|
41
|
+
content?: never;
|
|
42
|
+
$unknown: [string, any];
|
|
43
|
+
}
|
|
44
|
+
interface Visitor<T> {
|
|
45
|
+
content: (value: string) => T;
|
|
46
|
+
_: (name: string, value: any) => T;
|
|
47
|
+
}
|
|
48
|
+
const visit: <T>(value: QuickResponseDataProvider, visitor: Visitor<T>) => T;
|
|
49
|
+
}
|
|
50
|
+
export interface CreateQuickResponseRequest {
|
|
51
|
+
knowledgeBaseId: string | undefined;
|
|
52
|
+
name: string | undefined;
|
|
53
|
+
content: QuickResponseDataProvider | undefined;
|
|
54
|
+
contentType?: string | undefined;
|
|
55
|
+
groupingConfiguration?: GroupingConfiguration | undefined;
|
|
56
|
+
description?: string | undefined;
|
|
57
|
+
shortcutKey?: string | undefined;
|
|
58
|
+
isActive?: boolean | undefined;
|
|
59
|
+
channels?: string[] | undefined;
|
|
60
|
+
language?: string | undefined;
|
|
61
|
+
clientToken?: string | undefined;
|
|
62
|
+
tags?: Record<string, string> | undefined;
|
|
63
|
+
}
|
|
64
|
+
export type QuickResponseContentProvider =
|
|
65
|
+
| QuickResponseContentProvider.ContentMember
|
|
66
|
+
| QuickResponseContentProvider.$UnknownMember;
|
|
67
|
+
export declare namespace QuickResponseContentProvider {
|
|
68
|
+
interface ContentMember {
|
|
69
|
+
content: string;
|
|
70
|
+
$unknown?: never;
|
|
71
|
+
}
|
|
72
|
+
interface $UnknownMember {
|
|
73
|
+
content?: never;
|
|
74
|
+
$unknown: [string, any];
|
|
75
|
+
}
|
|
76
|
+
interface Visitor<T> {
|
|
77
|
+
content: (value: string) => T;
|
|
78
|
+
_: (name: string, value: any) => T;
|
|
79
|
+
}
|
|
80
|
+
const visit: <T>(
|
|
81
|
+
value: QuickResponseContentProvider,
|
|
82
|
+
visitor: Visitor<T>
|
|
83
|
+
) => T;
|
|
84
|
+
}
|
|
85
|
+
export interface QuickResponseContents {
|
|
86
|
+
plainText?: QuickResponseContentProvider | undefined;
|
|
87
|
+
markdown?: QuickResponseContentProvider | undefined;
|
|
88
|
+
}
|
|
89
|
+
export declare const QuickResponseStatus: {
|
|
90
|
+
readonly CREATED: "CREATED";
|
|
91
|
+
readonly CREATE_FAILED: "CREATE_FAILED";
|
|
92
|
+
readonly CREATE_IN_PROGRESS: "CREATE_IN_PROGRESS";
|
|
93
|
+
readonly DELETED: "DELETED";
|
|
94
|
+
readonly DELETE_FAILED: "DELETE_FAILED";
|
|
95
|
+
readonly DELETE_IN_PROGRESS: "DELETE_IN_PROGRESS";
|
|
96
|
+
readonly UPDATE_FAILED: "UPDATE_FAILED";
|
|
97
|
+
readonly UPDATE_IN_PROGRESS: "UPDATE_IN_PROGRESS";
|
|
98
|
+
};
|
|
99
|
+
export type QuickResponseStatus =
|
|
100
|
+
(typeof QuickResponseStatus)[keyof typeof QuickResponseStatus];
|
|
101
|
+
export interface QuickResponseData {
|
|
102
|
+
quickResponseArn: string | undefined;
|
|
103
|
+
quickResponseId: string | undefined;
|
|
104
|
+
knowledgeBaseArn: string | undefined;
|
|
105
|
+
knowledgeBaseId: string | undefined;
|
|
106
|
+
name: string | undefined;
|
|
107
|
+
contentType: string | undefined;
|
|
108
|
+
status: QuickResponseStatus | undefined;
|
|
109
|
+
createdTime: Date | undefined;
|
|
110
|
+
lastModifiedTime: Date | undefined;
|
|
111
|
+
contents?: QuickResponseContents | undefined;
|
|
112
|
+
description?: string | undefined;
|
|
113
|
+
groupingConfiguration?: GroupingConfiguration | undefined;
|
|
114
|
+
shortcutKey?: string | undefined;
|
|
115
|
+
lastModifiedBy?: string | undefined;
|
|
116
|
+
isActive?: boolean | undefined;
|
|
117
|
+
channels?: string[] | undefined;
|
|
118
|
+
language?: string | undefined;
|
|
119
|
+
tags?: Record<string, string> | undefined;
|
|
120
|
+
}
|
|
121
|
+
export interface CreateQuickResponseResponse {
|
|
122
|
+
quickResponse?: QuickResponseData | undefined;
|
|
123
|
+
}
|
|
124
|
+
export interface DeactivateMessageTemplateRequest {
|
|
125
|
+
knowledgeBaseId: string | undefined;
|
|
126
|
+
messageTemplateId: string | undefined;
|
|
127
|
+
versionNumber: number | undefined;
|
|
128
|
+
}
|
|
129
|
+
export interface DeactivateMessageTemplateResponse {
|
|
130
|
+
messageTemplateArn: string | undefined;
|
|
131
|
+
messageTemplateId: string | undefined;
|
|
132
|
+
versionNumber: number | undefined;
|
|
133
|
+
}
|
|
134
|
+
export interface DeleteImportJobRequest {
|
|
135
|
+
knowledgeBaseId: string | undefined;
|
|
136
|
+
importJobId: string | undefined;
|
|
137
|
+
}
|
|
138
|
+
export interface DeleteImportJobResponse {}
|
|
139
|
+
export interface DeleteKnowledgeBaseRequest {
|
|
140
|
+
knowledgeBaseId: string | undefined;
|
|
141
|
+
}
|
|
142
|
+
export interface DeleteKnowledgeBaseResponse {}
|
|
143
|
+
export interface DeleteMessageTemplateRequest {
|
|
144
|
+
knowledgeBaseId: string | undefined;
|
|
145
|
+
messageTemplateId: string | undefined;
|
|
146
|
+
}
|
|
147
|
+
export interface DeleteMessageTemplateResponse {}
|
|
148
|
+
export interface DeleteMessageTemplateAttachmentRequest {
|
|
149
|
+
knowledgeBaseId: string | undefined;
|
|
150
|
+
messageTemplateId: string | undefined;
|
|
151
|
+
attachmentId: string | undefined;
|
|
152
|
+
}
|
|
153
|
+
export interface DeleteMessageTemplateAttachmentResponse {}
|
|
154
|
+
export interface DeleteQuickResponseRequest {
|
|
155
|
+
knowledgeBaseId: string | undefined;
|
|
156
|
+
quickResponseId: string | undefined;
|
|
157
|
+
}
|
|
158
|
+
export interface DeleteQuickResponseResponse {}
|
|
159
|
+
export declare const ExternalSource: {
|
|
160
|
+
readonly AMAZON_CONNECT: "AMAZON_CONNECT";
|
|
161
|
+
};
|
|
162
|
+
export type ExternalSource =
|
|
163
|
+
(typeof ExternalSource)[keyof typeof ExternalSource];
|
|
164
|
+
export interface ExternalSourceConfiguration {
|
|
165
|
+
source: ExternalSource | undefined;
|
|
166
|
+
configuration: Configuration | undefined;
|
|
167
|
+
}
|
|
168
|
+
export interface GetImportJobRequest {
|
|
169
|
+
importJobId: string | undefined;
|
|
170
|
+
knowledgeBaseId: string | undefined;
|
|
171
|
+
}
|
|
172
|
+
export declare const ImportJobType: {
|
|
173
|
+
readonly QUICK_RESPONSES: "QUICK_RESPONSES";
|
|
174
|
+
};
|
|
175
|
+
export type ImportJobType = (typeof ImportJobType)[keyof typeof ImportJobType];
|
|
176
|
+
export declare const ImportJobStatus: {
|
|
177
|
+
readonly COMPLETE: "COMPLETE";
|
|
178
|
+
readonly DELETED: "DELETED";
|
|
179
|
+
readonly DELETE_FAILED: "DELETE_FAILED";
|
|
180
|
+
readonly DELETE_IN_PROGRESS: "DELETE_IN_PROGRESS";
|
|
181
|
+
readonly FAILED: "FAILED";
|
|
182
|
+
readonly START_IN_PROGRESS: "START_IN_PROGRESS";
|
|
183
|
+
};
|
|
184
|
+
export type ImportJobStatus =
|
|
185
|
+
(typeof ImportJobStatus)[keyof typeof ImportJobStatus];
|
|
186
|
+
export interface ImportJobData {
|
|
187
|
+
importJobId: string | undefined;
|
|
188
|
+
knowledgeBaseId: string | undefined;
|
|
189
|
+
uploadId: string | undefined;
|
|
190
|
+
knowledgeBaseArn: string | undefined;
|
|
191
|
+
importJobType: ImportJobType | undefined;
|
|
192
|
+
status: ImportJobStatus | undefined;
|
|
193
|
+
url: string | undefined;
|
|
194
|
+
failedRecordReport?: string | undefined;
|
|
195
|
+
urlExpiry: Date | undefined;
|
|
196
|
+
createdTime: Date | undefined;
|
|
197
|
+
lastModifiedTime: Date | undefined;
|
|
198
|
+
metadata?: Record<string, string> | undefined;
|
|
199
|
+
externalSourceConfiguration?: ExternalSourceConfiguration | undefined;
|
|
200
|
+
}
|
|
201
|
+
export interface GetImportJobResponse {
|
|
202
|
+
importJob?: ImportJobData | undefined;
|
|
203
|
+
}
|
|
204
|
+
export interface GetKnowledgeBaseRequest {
|
|
205
|
+
knowledgeBaseId: string | undefined;
|
|
206
|
+
}
|
|
207
|
+
export interface GetKnowledgeBaseResponse {
|
|
208
|
+
knowledgeBase?: KnowledgeBaseData | undefined;
|
|
209
|
+
}
|
|
210
|
+
export interface GetMessageTemplateRequest {
|
|
211
|
+
messageTemplateId: string | undefined;
|
|
212
|
+
knowledgeBaseId: string | undefined;
|
|
213
|
+
}
|
|
214
|
+
export interface GetMessageTemplateResponse {
|
|
215
|
+
messageTemplate?: ExtendedMessageTemplateData | undefined;
|
|
216
|
+
}
|
|
217
|
+
export interface GetQuickResponseRequest {
|
|
218
|
+
quickResponseId: string | undefined;
|
|
219
|
+
knowledgeBaseId: string | undefined;
|
|
220
|
+
}
|
|
221
|
+
export interface GetQuickResponseResponse {
|
|
222
|
+
quickResponse?: QuickResponseData | undefined;
|
|
223
|
+
}
|
|
224
|
+
export interface ImportJobSummary {
|
|
225
|
+
importJobId: string | undefined;
|
|
226
|
+
knowledgeBaseId: string | undefined;
|
|
227
|
+
uploadId: string | undefined;
|
|
228
|
+
knowledgeBaseArn: string | undefined;
|
|
229
|
+
importJobType: ImportJobType | undefined;
|
|
230
|
+
status: ImportJobStatus | undefined;
|
|
231
|
+
createdTime: Date | undefined;
|
|
232
|
+
lastModifiedTime: Date | undefined;
|
|
233
|
+
metadata?: Record<string, string> | undefined;
|
|
234
|
+
externalSourceConfiguration?: ExternalSourceConfiguration | undefined;
|
|
235
|
+
}
|
|
236
|
+
export interface ListImportJobsRequest {
|
|
237
|
+
nextToken?: string | undefined;
|
|
238
|
+
maxResults?: number | undefined;
|
|
239
|
+
knowledgeBaseId: string | undefined;
|
|
240
|
+
}
|
|
241
|
+
export interface ListImportJobsResponse {
|
|
242
|
+
importJobSummaries: ImportJobSummary[] | undefined;
|
|
243
|
+
nextToken?: string | undefined;
|
|
244
|
+
}
|
|
245
|
+
export interface ListKnowledgeBasesRequest {
|
|
246
|
+
nextToken?: string | undefined;
|
|
247
|
+
maxResults?: number | undefined;
|
|
248
|
+
}
|
|
249
|
+
export interface KnowledgeBaseSummary {
|
|
250
|
+
knowledgeBaseId: string | undefined;
|
|
251
|
+
knowledgeBaseArn: string | undefined;
|
|
252
|
+
name: string | undefined;
|
|
253
|
+
knowledgeBaseType: KnowledgeBaseType | undefined;
|
|
254
|
+
status: KnowledgeBaseStatus | undefined;
|
|
255
|
+
sourceConfiguration?: SourceConfiguration | undefined;
|
|
256
|
+
vectorIngestionConfiguration?: VectorIngestionConfiguration | undefined;
|
|
257
|
+
renderingConfiguration?: RenderingConfiguration | undefined;
|
|
258
|
+
serverSideEncryptionConfiguration?:
|
|
259
|
+
| ServerSideEncryptionConfiguration
|
|
260
|
+
| undefined;
|
|
261
|
+
description?: string | undefined;
|
|
262
|
+
tags?: Record<string, string> | undefined;
|
|
263
|
+
}
|
|
264
|
+
export interface ListKnowledgeBasesResponse {
|
|
265
|
+
knowledgeBaseSummaries: KnowledgeBaseSummary[] | undefined;
|
|
266
|
+
nextToken?: string | undefined;
|
|
267
|
+
}
|
|
268
|
+
export interface ListMessageTemplatesRequest {
|
|
269
|
+
nextToken?: string | undefined;
|
|
270
|
+
maxResults?: number | undefined;
|
|
271
|
+
knowledgeBaseId: string | undefined;
|
|
272
|
+
}
|
|
273
|
+
export interface MessageTemplateSummary {
|
|
274
|
+
messageTemplateArn: string | undefined;
|
|
275
|
+
messageTemplateId: string | undefined;
|
|
276
|
+
knowledgeBaseArn: string | undefined;
|
|
277
|
+
knowledgeBaseId: string | undefined;
|
|
278
|
+
name: string | undefined;
|
|
279
|
+
channelSubtype: ChannelSubtype | undefined;
|
|
280
|
+
createdTime: Date | undefined;
|
|
281
|
+
lastModifiedTime: Date | undefined;
|
|
282
|
+
lastModifiedBy: string | undefined;
|
|
283
|
+
activeVersionNumber?: number | undefined;
|
|
284
|
+
description?: string | undefined;
|
|
285
|
+
tags?: Record<string, string> | undefined;
|
|
286
|
+
}
|
|
287
|
+
export interface ListMessageTemplatesResponse {
|
|
288
|
+
messageTemplateSummaries: MessageTemplateSummary[] | undefined;
|
|
289
|
+
nextToken?: string | undefined;
|
|
290
|
+
}
|
|
291
|
+
export interface ListMessageTemplateVersionsRequest {
|
|
292
|
+
knowledgeBaseId: string | undefined;
|
|
293
|
+
messageTemplateId: string | undefined;
|
|
294
|
+
nextToken?: string | undefined;
|
|
295
|
+
maxResults?: number | undefined;
|
|
296
|
+
}
|
|
297
|
+
export interface MessageTemplateVersionSummary {
|
|
298
|
+
messageTemplateArn: string | undefined;
|
|
299
|
+
messageTemplateId: string | undefined;
|
|
300
|
+
knowledgeBaseArn: string | undefined;
|
|
301
|
+
knowledgeBaseId: string | undefined;
|
|
302
|
+
name: string | undefined;
|
|
303
|
+
channelSubtype: ChannelSubtype | undefined;
|
|
304
|
+
isActive: boolean | undefined;
|
|
305
|
+
versionNumber: number | undefined;
|
|
306
|
+
}
|
|
307
|
+
export interface ListMessageTemplateVersionsResponse {
|
|
308
|
+
messageTemplateVersionSummaries: MessageTemplateVersionSummary[] | undefined;
|
|
309
|
+
nextToken?: string | undefined;
|
|
310
|
+
}
|
|
311
|
+
export interface RenderMessageTemplateRequest {
|
|
312
|
+
knowledgeBaseId: string | undefined;
|
|
313
|
+
messageTemplateId: string | undefined;
|
|
314
|
+
attributes: MessageTemplateAttributes | undefined;
|
|
315
|
+
}
|
|
316
|
+
export interface RenderMessageTemplateResponse {
|
|
317
|
+
content: MessageTemplateContentProvider | undefined;
|
|
318
|
+
attributesNotInterpolated?: string[] | undefined;
|
|
319
|
+
attachments?: MessageTemplateAttachment[] | undefined;
|
|
320
|
+
}
|
|
321
|
+
export interface UpdateMessageTemplateRequest {
|
|
322
|
+
knowledgeBaseId: string | undefined;
|
|
323
|
+
messageTemplateId: string | undefined;
|
|
324
|
+
content?: MessageTemplateContentProvider | undefined;
|
|
325
|
+
language?: string | undefined;
|
|
326
|
+
defaultAttributes?: MessageTemplateAttributes | undefined;
|
|
327
|
+
}
|
|
328
|
+
export interface UpdateMessageTemplateResponse {
|
|
329
|
+
messageTemplate?: MessageTemplateData | undefined;
|
|
330
|
+
}
|
|
331
|
+
export interface UpdateMessageTemplateMetadataRequest {
|
|
332
|
+
knowledgeBaseId: string | undefined;
|
|
333
|
+
messageTemplateId: string | undefined;
|
|
334
|
+
name?: string | undefined;
|
|
335
|
+
description?: string | undefined;
|
|
336
|
+
groupingConfiguration?: GroupingConfiguration | undefined;
|
|
337
|
+
}
|
|
338
|
+
export interface UpdateMessageTemplateMetadataResponse {
|
|
339
|
+
messageTemplate?: MessageTemplateData | undefined;
|
|
340
|
+
}
|
|
341
|
+
export interface ListQuickResponsesRequest {
|
|
342
|
+
nextToken?: string | undefined;
|
|
343
|
+
maxResults?: number | undefined;
|
|
344
|
+
knowledgeBaseId: string | undefined;
|
|
345
|
+
}
|
|
346
|
+
export interface QuickResponseSummary {
|
|
347
|
+
quickResponseArn: string | undefined;
|
|
348
|
+
quickResponseId: string | undefined;
|
|
349
|
+
knowledgeBaseArn: string | undefined;
|
|
350
|
+
knowledgeBaseId: string | undefined;
|
|
351
|
+
name: string | undefined;
|
|
352
|
+
contentType: string | undefined;
|
|
353
|
+
status: QuickResponseStatus | undefined;
|
|
354
|
+
createdTime: Date | undefined;
|
|
355
|
+
lastModifiedTime: Date | undefined;
|
|
356
|
+
description?: string | undefined;
|
|
357
|
+
lastModifiedBy?: string | undefined;
|
|
358
|
+
isActive?: boolean | undefined;
|
|
359
|
+
channels?: string[] | undefined;
|
|
360
|
+
tags?: Record<string, string> | undefined;
|
|
361
|
+
}
|
|
362
|
+
export interface ListQuickResponsesResponse {
|
|
363
|
+
quickResponseSummaries: QuickResponseSummary[] | undefined;
|
|
364
|
+
nextToken?: string | undefined;
|
|
365
|
+
}
|
|
366
|
+
export interface UpdateQuickResponseRequest {
|
|
367
|
+
knowledgeBaseId: string | undefined;
|
|
368
|
+
quickResponseId: string | undefined;
|
|
369
|
+
name?: string | undefined;
|
|
370
|
+
content?: QuickResponseDataProvider | undefined;
|
|
371
|
+
contentType?: string | undefined;
|
|
372
|
+
groupingConfiguration?: GroupingConfiguration | undefined;
|
|
373
|
+
removeGroupingConfiguration?: boolean | undefined;
|
|
374
|
+
description?: string | undefined;
|
|
375
|
+
removeDescription?: boolean | undefined;
|
|
376
|
+
shortcutKey?: string | undefined;
|
|
377
|
+
removeShortcutKey?: boolean | undefined;
|
|
378
|
+
isActive?: boolean | undefined;
|
|
379
|
+
channels?: string[] | undefined;
|
|
380
|
+
language?: string | undefined;
|
|
381
|
+
}
|
|
382
|
+
export interface UpdateQuickResponseResponse {
|
|
383
|
+
quickResponse?: QuickResponseData | undefined;
|
|
384
|
+
}
|
|
385
|
+
export interface RemoveKnowledgeBaseTemplateUriRequest {
|
|
386
|
+
knowledgeBaseId: string | undefined;
|
|
387
|
+
}
|
|
25
388
|
export interface RemoveKnowledgeBaseTemplateUriResponse {}
|
|
26
389
|
export interface SearchContentRequest {
|
|
27
390
|
nextToken?: string | undefined;
|
|
@@ -308,6 +671,75 @@ export interface QueryAssistantResponse {
|
|
|
308
671
|
results: ResultData[] | undefined;
|
|
309
672
|
nextToken?: string | undefined;
|
|
310
673
|
}
|
|
674
|
+
export declare const QuickResponseDataProviderFilterSensitiveLog: (
|
|
675
|
+
obj: QuickResponseDataProvider
|
|
676
|
+
) => any;
|
|
677
|
+
export declare const CreateQuickResponseRequestFilterSensitiveLog: (
|
|
678
|
+
obj: CreateQuickResponseRequest
|
|
679
|
+
) => any;
|
|
680
|
+
export declare const QuickResponseContentProviderFilterSensitiveLog: (
|
|
681
|
+
obj: QuickResponseContentProvider
|
|
682
|
+
) => any;
|
|
683
|
+
export declare const QuickResponseContentsFilterSensitiveLog: (
|
|
684
|
+
obj: QuickResponseContents
|
|
685
|
+
) => any;
|
|
686
|
+
export declare const QuickResponseDataFilterSensitiveLog: (
|
|
687
|
+
obj: QuickResponseData
|
|
688
|
+
) => any;
|
|
689
|
+
export declare const CreateQuickResponseResponseFilterSensitiveLog: (
|
|
690
|
+
obj: CreateQuickResponseResponse
|
|
691
|
+
) => any;
|
|
692
|
+
export declare const ImportJobDataFilterSensitiveLog: (
|
|
693
|
+
obj: ImportJobData
|
|
694
|
+
) => any;
|
|
695
|
+
export declare const GetImportJobResponseFilterSensitiveLog: (
|
|
696
|
+
obj: GetImportJobResponse
|
|
697
|
+
) => any;
|
|
698
|
+
export declare const GetKnowledgeBaseResponseFilterSensitiveLog: (
|
|
699
|
+
obj: GetKnowledgeBaseResponse
|
|
700
|
+
) => any;
|
|
701
|
+
export declare const GetMessageTemplateResponseFilterSensitiveLog: (
|
|
702
|
+
obj: GetMessageTemplateResponse
|
|
703
|
+
) => any;
|
|
704
|
+
export declare const GetQuickResponseResponseFilterSensitiveLog: (
|
|
705
|
+
obj: GetQuickResponseResponse
|
|
706
|
+
) => any;
|
|
707
|
+
export declare const KnowledgeBaseSummaryFilterSensitiveLog: (
|
|
708
|
+
obj: KnowledgeBaseSummary
|
|
709
|
+
) => any;
|
|
710
|
+
export declare const ListKnowledgeBasesResponseFilterSensitiveLog: (
|
|
711
|
+
obj: ListKnowledgeBasesResponse
|
|
712
|
+
) => any;
|
|
713
|
+
export declare const RenderMessageTemplateRequestFilterSensitiveLog: (
|
|
714
|
+
obj: RenderMessageTemplateRequest
|
|
715
|
+
) => any;
|
|
716
|
+
export declare const RenderMessageTemplateResponseFilterSensitiveLog: (
|
|
717
|
+
obj: RenderMessageTemplateResponse
|
|
718
|
+
) => any;
|
|
719
|
+
export declare const UpdateMessageTemplateRequestFilterSensitiveLog: (
|
|
720
|
+
obj: UpdateMessageTemplateRequest
|
|
721
|
+
) => any;
|
|
722
|
+
export declare const UpdateMessageTemplateResponseFilterSensitiveLog: (
|
|
723
|
+
obj: UpdateMessageTemplateResponse
|
|
724
|
+
) => any;
|
|
725
|
+
export declare const UpdateMessageTemplateMetadataRequestFilterSensitiveLog: (
|
|
726
|
+
obj: UpdateMessageTemplateMetadataRequest
|
|
727
|
+
) => any;
|
|
728
|
+
export declare const UpdateMessageTemplateMetadataResponseFilterSensitiveLog: (
|
|
729
|
+
obj: UpdateMessageTemplateMetadataResponse
|
|
730
|
+
) => any;
|
|
731
|
+
export declare const QuickResponseSummaryFilterSensitiveLog: (
|
|
732
|
+
obj: QuickResponseSummary
|
|
733
|
+
) => any;
|
|
734
|
+
export declare const ListQuickResponsesResponseFilterSensitiveLog: (
|
|
735
|
+
obj: ListQuickResponsesResponse
|
|
736
|
+
) => any;
|
|
737
|
+
export declare const UpdateQuickResponseRequestFilterSensitiveLog: (
|
|
738
|
+
obj: UpdateQuickResponseRequest
|
|
739
|
+
) => any;
|
|
740
|
+
export declare const UpdateQuickResponseResponseFilterSensitiveLog: (
|
|
741
|
+
obj: UpdateQuickResponseResponse
|
|
742
|
+
) => any;
|
|
311
743
|
export declare const MessageTemplateSearchResultDataFilterSensitiveLog: (
|
|
312
744
|
obj: MessageTemplateSearchResultData
|
|
313
745
|
) => any;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Paginator } from "@smithy/types";
|
|
2
|
+
import {
|
|
3
|
+
ListAIGuardrailVersionsCommandInput,
|
|
4
|
+
ListAIGuardrailVersionsCommandOutput,
|
|
5
|
+
} from "../commands/ListAIGuardrailVersionsCommand";
|
|
6
|
+
import { QConnectPaginationConfiguration } from "./Interfaces";
|
|
7
|
+
export declare const paginateListAIGuardrailVersions: (
|
|
8
|
+
config: QConnectPaginationConfiguration,
|
|
9
|
+
input: ListAIGuardrailVersionsCommandInput,
|
|
10
|
+
...rest: any[]
|
|
11
|
+
) => Paginator<ListAIGuardrailVersionsCommandOutput>;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Paginator } from "@smithy/types";
|
|
2
|
+
import {
|
|
3
|
+
ListAIGuardrailsCommandInput,
|
|
4
|
+
ListAIGuardrailsCommandOutput,
|
|
5
|
+
} from "../commands/ListAIGuardrailsCommand";
|
|
6
|
+
import { QConnectPaginationConfiguration } from "./Interfaces";
|
|
7
|
+
export declare const paginateListAIGuardrails: (
|
|
8
|
+
config: QConnectPaginationConfiguration,
|
|
9
|
+
input: ListAIGuardrailsCommandInput,
|
|
10
|
+
...rest: any[]
|
|
11
|
+
) => Paginator<ListAIGuardrailsCommandOutput>;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Paginator } from "@smithy/types";
|
|
2
|
+
import {
|
|
3
|
+
ListMessagesCommandInput,
|
|
4
|
+
ListMessagesCommandOutput,
|
|
5
|
+
} from "../commands/ListMessagesCommand";
|
|
6
|
+
import { QConnectPaginationConfiguration } from "./Interfaces";
|
|
7
|
+
export declare const paginateListMessages: (
|
|
8
|
+
config: QConnectPaginationConfiguration,
|
|
9
|
+
input: ListMessagesCommandInput,
|
|
10
|
+
...rest: any[]
|
|
11
|
+
) => Paginator<ListMessagesCommandOutput>;
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
export * from "./Interfaces";
|
|
2
2
|
export * from "./ListAIAgentVersionsPaginator";
|
|
3
3
|
export * from "./ListAIAgentsPaginator";
|
|
4
|
+
export * from "./ListAIGuardrailVersionsPaginator";
|
|
5
|
+
export * from "./ListAIGuardrailsPaginator";
|
|
4
6
|
export * from "./ListAIPromptVersionsPaginator";
|
|
5
7
|
export * from "./ListAIPromptsPaginator";
|
|
6
8
|
export * from "./ListAssistantAssociationsPaginator";
|
|
@@ -11,6 +13,7 @@ export * from "./ListImportJobsPaginator";
|
|
|
11
13
|
export * from "./ListKnowledgeBasesPaginator";
|
|
12
14
|
export * from "./ListMessageTemplateVersionsPaginator";
|
|
13
15
|
export * from "./ListMessageTemplatesPaginator";
|
|
16
|
+
export * from "./ListMessagesPaginator";
|
|
14
17
|
export * from "./ListQuickResponsesPaginator";
|
|
15
18
|
export * from "./QueryAssistantPaginator";
|
|
16
19
|
export * from "./SearchContentPaginator";
|