@aws-sdk/client-qconnect 3.940.0 → 3.943.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 +16 -0
- package/dist-cjs/index.js +879 -101
- package/dist-es/QConnect.js +4 -0
- package/dist-es/commands/ListSpansCommand.js +16 -0
- package/dist-es/commands/RetrieveCommand.js +16 -0
- package/dist-es/commands/index.js +2 -0
- package/dist-es/models/enums.js +61 -12
- package/dist-es/models/errors.js +12 -0
- package/dist-es/pagination/ListSpansPaginator.js +4 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/schemas/schemas_0.js +774 -90
- package/dist-types/QConnect.d.ts +14 -0
- package/dist-types/QConnectClient.d.ts +4 -2
- package/dist-types/commands/CreateAIAgentCommand.d.ts +126 -0
- package/dist-types/commands/CreateAIAgentVersionCommand.d.ts +63 -0
- package/dist-types/commands/CreateAIPromptCommand.d.ts +16 -0
- package/dist-types/commands/CreateAIPromptVersionCommand.d.ts +8 -0
- package/dist-types/commands/CreateAssistantAssociationCommand.d.ts +8 -0
- package/dist-types/commands/CreateAssistantCommand.d.ts +6 -0
- package/dist-types/commands/CreateSessionCommand.d.ts +14 -1
- 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 +63 -0
- package/dist-types/commands/GetAIPromptCommand.d.ts +8 -0
- package/dist-types/commands/GetAssistantAssociationCommand.d.ts +4 -0
- package/dist-types/commands/GetAssistantCommand.d.ts +6 -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 +1 -1
- package/dist-types/commands/GetNextMessageCommand.d.ts +26 -0
- package/dist-types/commands/GetQuickResponseCommand.d.ts +1 -1
- package/dist-types/commands/GetRecommendationsCommand.d.ts +39 -0
- package/dist-types/commands/GetSessionCommand.d.ts +6 -0
- package/dist-types/commands/ListAIAgentVersionsCommand.d.ts +63 -0
- package/dist-types/commands/ListAIAgentsCommand.d.ts +63 -0
- package/dist-types/commands/ListAssistantAssociationsCommand.d.ts +4 -0
- package/dist-types/commands/ListAssistantsCommand.d.ts +6 -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 +23 -0
- package/dist-types/commands/ListSpansCommand.d.ts +207 -0
- package/dist-types/commands/QueryAssistantCommand.d.ts +41 -0
- package/dist-types/commands/RemoveAssistantAIAgentCommand.d.ts +1 -0
- package/dist-types/commands/RenderMessageTemplateCommand.d.ts +1 -2
- package/dist-types/commands/RetrieveCommand.d.ts +168 -0
- package/dist-types/commands/SendMessageCommand.d.ts +37 -1
- package/dist-types/commands/UpdateAIAgentCommand.d.ts +126 -0
- package/dist-types/commands/UpdateAIPromptCommand.d.ts +16 -0
- package/dist-types/commands/UpdateAssistantAIAgentCommand.d.ts +12 -0
- package/dist-types/commands/UpdateSessionCommand.d.ts +13 -0
- package/dist-types/commands/index.d.ts +2 -0
- package/dist-types/models/enums.d.ts +110 -21
- package/dist-types/models/errors.d.ts +13 -1
- package/dist-types/models/models_0.d.ts +996 -723
- package/dist-types/models/models_1.d.ts +1563 -48
- package/dist-types/pagination/ListSpansPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/schemas/schemas_0.d.ts +64 -0
- package/dist-types/ts3.4/QConnect.d.ts +34 -0
- package/dist-types/ts3.4/QConnectClient.d.ts +12 -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/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/GetQuickResponseCommand.d.ts +1 -1
- 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/ListSpansCommand.d.ts +48 -0
- package/dist-types/ts3.4/commands/RenderMessageTemplateCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/RetrieveCommand.d.ts +48 -0
- package/dist-types/ts3.4/commands/index.d.ts +2 -0
- package/dist-types/ts3.4/models/enums.d.ts +71 -15
- package/dist-types/ts3.4/models/errors.d.ts +7 -0
- package/dist-types/ts3.4/models/models_0.d.ts +354 -172
- package/dist-types/ts3.4/models/models_1.d.ts +663 -2
- package/dist-types/ts3.4/pagination/ListSpansPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +64 -0
- package/package.json +5 -5
package/dist-es/QConnect.js
CHANGED
|
@@ -63,6 +63,7 @@ import { ListMessagesCommand, } from "./commands/ListMessagesCommand";
|
|
|
63
63
|
import { ListMessageTemplatesCommand, } from "./commands/ListMessageTemplatesCommand";
|
|
64
64
|
import { ListMessageTemplateVersionsCommand, } from "./commands/ListMessageTemplateVersionsCommand";
|
|
65
65
|
import { ListQuickResponsesCommand, } from "./commands/ListQuickResponsesCommand";
|
|
66
|
+
import { ListSpansCommand } from "./commands/ListSpansCommand";
|
|
66
67
|
import { ListTagsForResourceCommand, } from "./commands/ListTagsForResourceCommand";
|
|
67
68
|
import { NotifyRecommendationsReceivedCommand, } from "./commands/NotifyRecommendationsReceivedCommand";
|
|
68
69
|
import { PutFeedbackCommand } from "./commands/PutFeedbackCommand";
|
|
@@ -70,6 +71,7 @@ import { QueryAssistantCommand, } from "./commands/QueryAssistantCommand";
|
|
|
70
71
|
import { RemoveAssistantAIAgentCommand, } from "./commands/RemoveAssistantAIAgentCommand";
|
|
71
72
|
import { RemoveKnowledgeBaseTemplateUriCommand, } from "./commands/RemoveKnowledgeBaseTemplateUriCommand";
|
|
72
73
|
import { RenderMessageTemplateCommand, } from "./commands/RenderMessageTemplateCommand";
|
|
74
|
+
import { RetrieveCommand } from "./commands/RetrieveCommand";
|
|
73
75
|
import { SearchContentCommand, } from "./commands/SearchContentCommand";
|
|
74
76
|
import { SearchMessageTemplatesCommand, } from "./commands/SearchMessageTemplatesCommand";
|
|
75
77
|
import { SearchQuickResponsesCommand, } from "./commands/SearchQuickResponsesCommand";
|
|
@@ -156,6 +158,7 @@ const commands = {
|
|
|
156
158
|
ListMessageTemplatesCommand,
|
|
157
159
|
ListMessageTemplateVersionsCommand,
|
|
158
160
|
ListQuickResponsesCommand,
|
|
161
|
+
ListSpansCommand,
|
|
159
162
|
ListTagsForResourceCommand,
|
|
160
163
|
NotifyRecommendationsReceivedCommand,
|
|
161
164
|
PutFeedbackCommand,
|
|
@@ -163,6 +166,7 @@ const commands = {
|
|
|
163
166
|
RemoveAssistantAIAgentCommand,
|
|
164
167
|
RemoveKnowledgeBaseTemplateUriCommand,
|
|
165
168
|
RenderMessageTemplateCommand,
|
|
169
|
+
RetrieveCommand,
|
|
166
170
|
SearchContentCommand,
|
|
167
171
|
SearchMessageTemplatesCommand,
|
|
168
172
|
SearchQuickResponsesCommand,
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
+
import { ListSpans } from "../schemas/schemas_0";
|
|
5
|
+
export { $Command };
|
|
6
|
+
export class ListSpansCommand extends $Command
|
|
7
|
+
.classBuilder()
|
|
8
|
+
.ep(commonParams)
|
|
9
|
+
.m(function (Command, cs, config, o) {
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
+
})
|
|
12
|
+
.s("WisdomService", "ListSpans", {})
|
|
13
|
+
.n("QConnectClient", "ListSpansCommand")
|
|
14
|
+
.sc(ListSpans)
|
|
15
|
+
.build() {
|
|
16
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
+
import { Retrieve } from "../schemas/schemas_0";
|
|
5
|
+
export { $Command };
|
|
6
|
+
export class RetrieveCommand extends $Command
|
|
7
|
+
.classBuilder()
|
|
8
|
+
.ep(commonParams)
|
|
9
|
+
.m(function (Command, cs, config, o) {
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
+
})
|
|
12
|
+
.s("WisdomService", "Retrieve", {})
|
|
13
|
+
.n("QConnectClient", "RetrieveCommand")
|
|
14
|
+
.sc(Retrieve)
|
|
15
|
+
.build() {
|
|
16
|
+
}
|
|
@@ -62,6 +62,7 @@ export * from "./ListMessageTemplateVersionsCommand";
|
|
|
62
62
|
export * from "./ListMessageTemplatesCommand";
|
|
63
63
|
export * from "./ListMessagesCommand";
|
|
64
64
|
export * from "./ListQuickResponsesCommand";
|
|
65
|
+
export * from "./ListSpansCommand";
|
|
65
66
|
export * from "./ListTagsForResourceCommand";
|
|
66
67
|
export * from "./NotifyRecommendationsReceivedCommand";
|
|
67
68
|
export * from "./PutFeedbackCommand";
|
|
@@ -69,6 +70,7 @@ export * from "./QueryAssistantCommand";
|
|
|
69
70
|
export * from "./RemoveAssistantAIAgentCommand";
|
|
70
71
|
export * from "./RemoveKnowledgeBaseTemplateUriCommand";
|
|
71
72
|
export * from "./RenderMessageTemplateCommand";
|
|
73
|
+
export * from "./RetrieveCommand";
|
|
72
74
|
export * from "./SearchContentCommand";
|
|
73
75
|
export * from "./SearchMessageTemplatesCommand";
|
|
74
76
|
export * from "./SearchQuickResponsesCommand";
|
package/dist-es/models/enums.js
CHANGED
|
@@ -5,12 +5,25 @@ export const KnowledgeBaseSearchType = {
|
|
|
5
5
|
export const AIAgentAssociationConfigurationType = {
|
|
6
6
|
KNOWLEDGE_BASE: "KNOWLEDGE_BASE",
|
|
7
7
|
};
|
|
8
|
+
export const ToolOverrideInputValueType = {
|
|
9
|
+
JSON_STRING: "JSON_STRING",
|
|
10
|
+
NUMBER: "NUMBER",
|
|
11
|
+
STRING: "STRING",
|
|
12
|
+
};
|
|
13
|
+
export const ToolType = {
|
|
14
|
+
CONSTANT: "CONSTANT",
|
|
15
|
+
MODEL_CONTEXT_PROTOCOL: "MODEL_CONTEXT_PROTOCOL",
|
|
16
|
+
RETURN_TO_CONTROL: "RETURN_TO_CONTROL",
|
|
17
|
+
};
|
|
8
18
|
export const AIAgentType = {
|
|
9
19
|
ANSWER_RECOMMENDATION: "ANSWER_RECOMMENDATION",
|
|
20
|
+
CASE_SUMMARIZATION: "CASE_SUMMARIZATION",
|
|
10
21
|
EMAIL_GENERATIVE_ANSWER: "EMAIL_GENERATIVE_ANSWER",
|
|
11
22
|
EMAIL_OVERVIEW: "EMAIL_OVERVIEW",
|
|
12
23
|
EMAIL_RESPONSE: "EMAIL_RESPONSE",
|
|
13
24
|
MANUAL_SEARCH: "MANUAL_SEARCH",
|
|
25
|
+
NOTE_TAKING: "NOTE_TAKING",
|
|
26
|
+
ORCHESTRATION: "ORCHESTRATION",
|
|
14
27
|
SELF_SERVICE: "SELF_SERVICE",
|
|
15
28
|
};
|
|
16
29
|
export const VisibilityStatus = {
|
|
@@ -101,16 +114,20 @@ export const AIPromptTemplateType = {
|
|
|
101
114
|
};
|
|
102
115
|
export const AIPromptType = {
|
|
103
116
|
ANSWER_GENERATION: "ANSWER_GENERATION",
|
|
117
|
+
CASE_SUMMARIZATION: "CASE_SUMMARIZATION",
|
|
104
118
|
EMAIL_GENERATIVE_ANSWER: "EMAIL_GENERATIVE_ANSWER",
|
|
105
119
|
EMAIL_OVERVIEW: "EMAIL_OVERVIEW",
|
|
106
120
|
EMAIL_QUERY_REFORMULATION: "EMAIL_QUERY_REFORMULATION",
|
|
107
121
|
EMAIL_RESPONSE: "EMAIL_RESPONSE",
|
|
108
122
|
INTENT_LABELING_GENERATION: "INTENT_LABELING_GENERATION",
|
|
123
|
+
NOTE_TAKING: "NOTE_TAKING",
|
|
124
|
+
ORCHESTRATION: "ORCHESTRATION",
|
|
109
125
|
QUERY_REFORMULATION: "QUERY_REFORMULATION",
|
|
110
126
|
SELF_SERVICE_ANSWER_GENERATION: "SELF_SERVICE_ANSWER_GENERATION",
|
|
111
127
|
SELF_SERVICE_PRE_PROCESSING: "SELF_SERVICE_PRE_PROCESSING",
|
|
112
128
|
};
|
|
113
129
|
export const AssociationType = {
|
|
130
|
+
EXTERNAL_BEDROCK_KNOWLEDGE_BASE: "EXTERNAL_BEDROCK_KNOWLEDGE_BASE",
|
|
114
131
|
KNOWLEDGE_BASE: "KNOWLEDGE_BASE",
|
|
115
132
|
};
|
|
116
133
|
export const AssistantType = {
|
|
@@ -128,21 +145,12 @@ export const AssistantStatus = {
|
|
|
128
145
|
DELETE_FAILED: "DELETE_FAILED",
|
|
129
146
|
DELETE_IN_PROGRESS: "DELETE_IN_PROGRESS",
|
|
130
147
|
};
|
|
131
|
-
export const RelevanceLevel = {
|
|
132
|
-
HIGH: "HIGH",
|
|
133
|
-
LOW: "LOW",
|
|
134
|
-
MEDIUM: "MEDIUM",
|
|
135
|
-
};
|
|
136
|
-
export const SourceContentType = {
|
|
137
|
-
KNOWLEDGE_CONTENT: "KNOWLEDGE_CONTENT",
|
|
138
|
-
};
|
|
139
|
-
export const ReferenceType = {
|
|
140
|
-
KNOWLEDGE_BASE: "KNOWLEDGE_BASE",
|
|
141
|
-
WEB_CRAWLER: "WEB_CRAWLER",
|
|
142
|
-
};
|
|
143
148
|
export const RecommendationType = {
|
|
149
|
+
BLOCKED_CASE_SUMMARIZATION_CHUNK: "BLOCKED_CASE_SUMMARIZATION_CHUNK",
|
|
144
150
|
BLOCKED_GENERATIVE_ANSWER_CHUNK: "BLOCKED_GENERATIVE_ANSWER_CHUNK",
|
|
145
151
|
BLOCKED_INTENT_ANSWER_CHUNK: "BLOCKED_INTENT_ANSWER_CHUNK",
|
|
152
|
+
BLOCKED_NOTES_CHUNK: "BLOCKED_NOTES_CHUNK",
|
|
153
|
+
CASE_SUMMARIZATION_CHUNK: "CASE_SUMMARIZATION_CHUNK",
|
|
146
154
|
DETECTED_INTENT: "DETECTED_INTENT",
|
|
147
155
|
EMAIL_GENERATIVE_ANSWER_CHUNK: "EMAIL_GENERATIVE_ANSWER_CHUNK",
|
|
148
156
|
EMAIL_OVERVIEW_CHUNK: "EMAIL_OVERVIEW_CHUNK",
|
|
@@ -152,6 +160,28 @@ export const RecommendationType = {
|
|
|
152
160
|
GENERATIVE_RESPONSE: "GENERATIVE_RESPONSE",
|
|
153
161
|
INTENT_ANSWER_CHUNK: "INTENT_ANSWER_CHUNK",
|
|
154
162
|
KNOWLEDGE_CONTENT: "KNOWLEDGE_CONTENT",
|
|
163
|
+
NOTES_CHUNK: "NOTES_CHUNK",
|
|
164
|
+
SUGGESTED_MESSAGE: "SUGGESTED_MESSAGE",
|
|
165
|
+
};
|
|
166
|
+
export const RelevanceLevel = {
|
|
167
|
+
HIGH: "HIGH",
|
|
168
|
+
LOW: "LOW",
|
|
169
|
+
MEDIUM: "MEDIUM",
|
|
170
|
+
};
|
|
171
|
+
export const SourceContentType = {
|
|
172
|
+
KNOWLEDGE_CONTENT: "KNOWLEDGE_CONTENT",
|
|
173
|
+
};
|
|
174
|
+
export const ReferenceType = {
|
|
175
|
+
BEDROCK_KB_CONFLUENCE: "BEDROCK_KB_CONFLUENCE",
|
|
176
|
+
BEDROCK_KB_CUSTOM_DOCUMENT: "BEDROCK_KB_CUSTOM_DOCUMENT",
|
|
177
|
+
BEDROCK_KB_KENDRA: "BEDROCK_KB_KENDRA",
|
|
178
|
+
BEDROCK_KB_S3: "BEDROCK_KB_S3",
|
|
179
|
+
BEDROCK_KB_SALESFORCE: "BEDROCK_KB_SALESFORCE",
|
|
180
|
+
BEDROCK_KB_SHAREPOINT: "BEDROCK_KB_SHAREPOINT",
|
|
181
|
+
BEDROCK_KB_SQL: "BEDROCK_KB_SQL",
|
|
182
|
+
BEDROCK_KB_WEB: "BEDROCK_KB_WEB",
|
|
183
|
+
KNOWLEDGE_BASE: "KNOWLEDGE_BASE",
|
|
184
|
+
WEB_CRAWLER: "WEB_CRAWLER",
|
|
155
185
|
};
|
|
156
186
|
export const RecommendationSourceType = {
|
|
157
187
|
ISSUE_DETECTION: "ISSUE_DETECTION",
|
|
@@ -177,8 +207,11 @@ export const QueryConditionFieldName = {
|
|
|
177
207
|
RESULT_TYPE: "RESULT_TYPE",
|
|
178
208
|
};
|
|
179
209
|
export const QueryResultType = {
|
|
210
|
+
BLOCKED_CASE_SUMMARIZATION_CHUNK: "BLOCKED_CASE_SUMMARIZATION_CHUNK",
|
|
180
211
|
BLOCKED_GENERATIVE_ANSWER_CHUNK: "BLOCKED_GENERATIVE_ANSWER_CHUNK",
|
|
181
212
|
BLOCKED_INTENT_ANSWER_CHUNK: "BLOCKED_INTENT_ANSWER_CHUNK",
|
|
213
|
+
BLOCKED_NOTES_CHUNK: "BLOCKED_NOTES_CHUNK",
|
|
214
|
+
CASE_SUMMARIZATION_CHUNK: "CASE_SUMMARIZATION_CHUNK",
|
|
182
215
|
EMAIL_GENERATIVE_ANSWER_CHUNK: "EMAIL_GENERATIVE_ANSWER_CHUNK",
|
|
183
216
|
EMAIL_OVERVIEW_CHUNK: "EMAIL_OVERVIEW_CHUNK",
|
|
184
217
|
EMAIL_RESPONSE_CHUNK: "EMAIL_RESPONSE_CHUNK",
|
|
@@ -187,6 +220,8 @@ export const QueryResultType = {
|
|
|
187
220
|
INTENT_ANSWER: "INTENT_ANSWER",
|
|
188
221
|
INTENT_ANSWER_CHUNK: "INTENT_ANSWER_CHUNK",
|
|
189
222
|
KNOWLEDGE_CONTENT: "KNOWLEDGE_CONTENT",
|
|
223
|
+
NOTES: "NOTES",
|
|
224
|
+
NOTES_CHUNK: "NOTES_CHUNK",
|
|
190
225
|
};
|
|
191
226
|
export const FilterField = {
|
|
192
227
|
NAME: "NAME",
|
|
@@ -212,6 +247,20 @@ export const Participant = {
|
|
|
212
247
|
export const MessageType = {
|
|
213
248
|
TEXT: "TEXT",
|
|
214
249
|
};
|
|
250
|
+
export const MessageFilterType = {
|
|
251
|
+
ALL: "ALL",
|
|
252
|
+
TEXT_ONLY: "TEXT_ONLY",
|
|
253
|
+
};
|
|
254
|
+
export const SpanType = {
|
|
255
|
+
CLIENT: "CLIENT",
|
|
256
|
+
INTERNAL: "INTERNAL",
|
|
257
|
+
SERVER: "SERVER",
|
|
258
|
+
};
|
|
259
|
+
export const SpanStatus = {
|
|
260
|
+
ERROR: "ERROR",
|
|
261
|
+
OK: "OK",
|
|
262
|
+
TIMEOUT: "TIMEOUT",
|
|
263
|
+
};
|
|
215
264
|
export const SessionDataNamespace = {
|
|
216
265
|
Custom: "Custom",
|
|
217
266
|
};
|
package/dist-es/models/errors.js
CHANGED
|
@@ -111,6 +111,18 @@ export class DependencyFailedException extends __BaseException {
|
|
|
111
111
|
Object.setPrototypeOf(this, DependencyFailedException.prototype);
|
|
112
112
|
}
|
|
113
113
|
}
|
|
114
|
+
export class UnprocessableContentException extends __BaseException {
|
|
115
|
+
name = "UnprocessableContentException";
|
|
116
|
+
$fault = "client";
|
|
117
|
+
constructor(opts) {
|
|
118
|
+
super({
|
|
119
|
+
name: "UnprocessableContentException",
|
|
120
|
+
$fault: "client",
|
|
121
|
+
...opts,
|
|
122
|
+
});
|
|
123
|
+
Object.setPrototypeOf(this, UnprocessableContentException.prototype);
|
|
124
|
+
}
|
|
125
|
+
}
|
|
114
126
|
export class PreconditionFailedException extends __BaseException {
|
|
115
127
|
name = "PreconditionFailedException";
|
|
116
128
|
$fault = "client";
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
2
|
+
import { ListSpansCommand } from "../commands/ListSpansCommand";
|
|
3
|
+
import { QConnectClient } from "../QConnectClient";
|
|
4
|
+
export const paginateListSpans = createPaginator(QConnectClient, ListSpansCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -15,6 +15,7 @@ export * from "./ListMessageTemplateVersionsPaginator";
|
|
|
15
15
|
export * from "./ListMessageTemplatesPaginator";
|
|
16
16
|
export * from "./ListMessagesPaginator";
|
|
17
17
|
export * from "./ListQuickResponsesPaginator";
|
|
18
|
+
export * from "./ListSpansPaginator";
|
|
18
19
|
export * from "./QueryAssistantPaginator";
|
|
19
20
|
export * from "./SearchContentPaginator";
|
|
20
21
|
export * from "./SearchMessageTemplatesPaginator";
|