@aws-sdk/client-bedrock-agent 3.933.0 → 3.935.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/dist-cjs/index.js +373 -373
- package/dist-es/index.js +2 -1
- package/dist-es/models/enums.js +372 -0
- package/dist-es/models/errors.js +87 -0
- package/dist-es/models/models_0.js +1 -347
- package/dist-es/models/models_1.js +1 -112
- package/dist-es/schemas/schemas_0.js +1 -1
- package/dist-types/commands/AssociateAgentKnowledgeBaseCommand.d.ts +1 -1
- package/dist-types/commands/DeleteKnowledgeBaseDocumentsCommand.d.ts +1 -1
- package/dist-types/commands/GetIngestionJobCommand.d.ts +1 -2
- package/dist-types/commands/GetKnowledgeBaseDocumentsCommand.d.ts +1 -1
- package/dist-types/commands/IngestKnowledgeBaseDocumentsCommand.d.ts +1 -1
- package/dist-types/commands/ListIngestionJobsCommand.d.ts +1 -1
- package/dist-types/commands/ListKnowledgeBaseDocumentsCommand.d.ts +1 -1
- package/dist-types/commands/StartIngestionJobCommand.d.ts +1 -1
- package/dist-types/commands/StopIngestionJobCommand.d.ts +1 -1
- package/dist-types/index.d.ts +4 -1
- package/dist-types/models/enums.d.ts +938 -0
- package/dist-types/models/errors.d.ts +92 -0
- package/dist-types/models/models_0.d.ts +1045 -742
- package/dist-types/models/models_1.d.ts +2 -1332
- package/dist-types/ts3.4/commands/AssociateAgentKnowledgeBaseCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeleteKnowledgeBaseDocumentsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetIngestionJobCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/GetKnowledgeBaseDocumentsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/IngestKnowledgeBaseDocumentsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListIngestionJobsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListKnowledgeBaseDocumentsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/StartIngestionJobCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/StopIngestionJobCommand.d.ts +1 -1
- package/dist-types/ts3.4/index.d.ts +4 -1
- package/dist-types/ts3.4/models/enums.d.ts +501 -0
- package/dist-types/ts3.4/models/errors.d.ts +51 -0
- package/dist-types/ts3.4/models/models_0.d.ts +330 -396
- package/dist-types/ts3.4/models/models_1.d.ts +14 -424
- package/package.json +12 -12
- package/dist-es/models/index.js +0 -2
- package/dist-types/models/index.d.ts +0 -2
- package/dist-types/ts3.4/models/index.d.ts +0 -2
package/dist-es/index.js
CHANGED
|
@@ -2,5 +2,6 @@ export * from "./BedrockAgentClient";
|
|
|
2
2
|
export * from "./BedrockAgent";
|
|
3
3
|
export * from "./commands";
|
|
4
4
|
export * from "./pagination";
|
|
5
|
-
export * from "./models";
|
|
5
|
+
export * from "./models/enums";
|
|
6
|
+
export * from "./models/errors";
|
|
6
7
|
export { BedrockAgentServiceException } from "./models/BedrockAgentServiceException";
|
|
@@ -0,0 +1,372 @@
|
|
|
1
|
+
export const CustomControlMethod = {
|
|
2
|
+
RETURN_CONTROL: "RETURN_CONTROL",
|
|
3
|
+
};
|
|
4
|
+
export const ActionGroupState = {
|
|
5
|
+
DISABLED: "DISABLED",
|
|
6
|
+
ENABLED: "ENABLED",
|
|
7
|
+
};
|
|
8
|
+
export const Type = {
|
|
9
|
+
ARRAY: "array",
|
|
10
|
+
BOOLEAN: "boolean",
|
|
11
|
+
INTEGER: "integer",
|
|
12
|
+
NUMBER: "number",
|
|
13
|
+
STRING: "string",
|
|
14
|
+
};
|
|
15
|
+
export const RequireConfirmation = {
|
|
16
|
+
DISABLED: "DISABLED",
|
|
17
|
+
ENABLED: "ENABLED",
|
|
18
|
+
};
|
|
19
|
+
export const ActionGroupSignature = {
|
|
20
|
+
AMAZON_CODEINTERPRETER: "AMAZON.CodeInterpreter",
|
|
21
|
+
AMAZON_USERINPUT: "AMAZON.UserInput",
|
|
22
|
+
ANTHROPIC_BASH: "ANTHROPIC.Bash",
|
|
23
|
+
ANTHROPIC_COMPUTER: "ANTHROPIC.Computer",
|
|
24
|
+
ANTHROPIC_TEXTEDITOR: "ANTHROPIC.TextEditor",
|
|
25
|
+
};
|
|
26
|
+
export const AgentCollaboration = {
|
|
27
|
+
DISABLED: "DISABLED",
|
|
28
|
+
SUPERVISOR: "SUPERVISOR",
|
|
29
|
+
SUPERVISOR_ROUTER: "SUPERVISOR_ROUTER",
|
|
30
|
+
};
|
|
31
|
+
export const AgentStatus = {
|
|
32
|
+
CREATING: "CREATING",
|
|
33
|
+
DELETING: "DELETING",
|
|
34
|
+
FAILED: "FAILED",
|
|
35
|
+
NOT_PREPARED: "NOT_PREPARED",
|
|
36
|
+
PREPARED: "PREPARED",
|
|
37
|
+
PREPARING: "PREPARING",
|
|
38
|
+
UPDATING: "UPDATING",
|
|
39
|
+
VERSIONING: "VERSIONING",
|
|
40
|
+
};
|
|
41
|
+
export const MemoryType = {
|
|
42
|
+
SESSION_SUMMARY: "SESSION_SUMMARY",
|
|
43
|
+
};
|
|
44
|
+
export const OrchestrationType = {
|
|
45
|
+
CUSTOM_ORCHESTRATION: "CUSTOM_ORCHESTRATION",
|
|
46
|
+
DEFAULT: "DEFAULT",
|
|
47
|
+
};
|
|
48
|
+
export const CreationMode = {
|
|
49
|
+
DEFAULT: "DEFAULT",
|
|
50
|
+
OVERRIDDEN: "OVERRIDDEN",
|
|
51
|
+
};
|
|
52
|
+
export const PromptState = {
|
|
53
|
+
DISABLED: "DISABLED",
|
|
54
|
+
ENABLED: "ENABLED",
|
|
55
|
+
};
|
|
56
|
+
export const PromptType = {
|
|
57
|
+
KNOWLEDGE_BASE_RESPONSE_GENERATION: "KNOWLEDGE_BASE_RESPONSE_GENERATION",
|
|
58
|
+
MEMORY_SUMMARIZATION: "MEMORY_SUMMARIZATION",
|
|
59
|
+
ORCHESTRATION: "ORCHESTRATION",
|
|
60
|
+
POST_PROCESSING: "POST_PROCESSING",
|
|
61
|
+
PRE_PROCESSING: "PRE_PROCESSING",
|
|
62
|
+
};
|
|
63
|
+
export const AgentAliasStatus = {
|
|
64
|
+
CREATING: "CREATING",
|
|
65
|
+
DELETING: "DELETING",
|
|
66
|
+
DISSOCIATED: "DISSOCIATED",
|
|
67
|
+
FAILED: "FAILED",
|
|
68
|
+
PREPARED: "PREPARED",
|
|
69
|
+
UPDATING: "UPDATING",
|
|
70
|
+
};
|
|
71
|
+
export const AliasInvocationState = {
|
|
72
|
+
ACCEPT_INVOCATIONS: "ACCEPT_INVOCATIONS",
|
|
73
|
+
REJECT_INVOCATIONS: "REJECT_INVOCATIONS",
|
|
74
|
+
};
|
|
75
|
+
export const RelayConversationHistory = {
|
|
76
|
+
DISABLED: "DISABLED",
|
|
77
|
+
TO_COLLABORATOR: "TO_COLLABORATOR",
|
|
78
|
+
};
|
|
79
|
+
export const KnowledgeBaseState = {
|
|
80
|
+
DISABLED: "DISABLED",
|
|
81
|
+
ENABLED: "ENABLED",
|
|
82
|
+
};
|
|
83
|
+
export const DataDeletionPolicy = {
|
|
84
|
+
DELETE: "DELETE",
|
|
85
|
+
RETAIN: "RETAIN",
|
|
86
|
+
};
|
|
87
|
+
export const CrawlFilterConfigurationType = {
|
|
88
|
+
PATTERN: "PATTERN",
|
|
89
|
+
};
|
|
90
|
+
export const ConfluenceAuthType = {
|
|
91
|
+
BASIC: "BASIC",
|
|
92
|
+
OAUTH2_CLIENT_CREDENTIALS: "OAUTH2_CLIENT_CREDENTIALS",
|
|
93
|
+
};
|
|
94
|
+
export const ConfluenceHostType = {
|
|
95
|
+
SAAS: "SAAS",
|
|
96
|
+
};
|
|
97
|
+
export const SalesforceAuthType = {
|
|
98
|
+
OAUTH2_CLIENT_CREDENTIALS: "OAUTH2_CLIENT_CREDENTIALS",
|
|
99
|
+
};
|
|
100
|
+
export const SharePointAuthType = {
|
|
101
|
+
OAUTH2_CLIENT_CREDENTIALS: "OAUTH2_CLIENT_CREDENTIALS",
|
|
102
|
+
OAUTH2_SHAREPOINT_APP_ONLY_CLIENT_CREDENTIALS: "OAUTH2_SHAREPOINT_APP_ONLY_CLIENT_CREDENTIALS",
|
|
103
|
+
};
|
|
104
|
+
export const SharePointHostType = {
|
|
105
|
+
ONLINE: "ONLINE",
|
|
106
|
+
};
|
|
107
|
+
export const DataSourceType = {
|
|
108
|
+
CONFLUENCE: "CONFLUENCE",
|
|
109
|
+
CUSTOM: "CUSTOM",
|
|
110
|
+
REDSHIFT_METADATA: "REDSHIFT_METADATA",
|
|
111
|
+
S3: "S3",
|
|
112
|
+
SALESFORCE: "SALESFORCE",
|
|
113
|
+
SHAREPOINT: "SHAREPOINT",
|
|
114
|
+
WEB: "WEB",
|
|
115
|
+
};
|
|
116
|
+
export const WebScopeType = {
|
|
117
|
+
HOST_ONLY: "HOST_ONLY",
|
|
118
|
+
SUBDOMAINS: "SUBDOMAINS",
|
|
119
|
+
};
|
|
120
|
+
export const ChunkingStrategy = {
|
|
121
|
+
FIXED_SIZE: "FIXED_SIZE",
|
|
122
|
+
HIERARCHICAL: "HIERARCHICAL",
|
|
123
|
+
NONE: "NONE",
|
|
124
|
+
SEMANTIC: "SEMANTIC",
|
|
125
|
+
};
|
|
126
|
+
export const EnrichmentStrategyMethod = {
|
|
127
|
+
CHUNK_ENTITY_EXTRACTION: "CHUNK_ENTITY_EXTRACTION",
|
|
128
|
+
};
|
|
129
|
+
export const ContextEnrichmentType = {
|
|
130
|
+
BEDROCK_FOUNDATION_MODEL: "BEDROCK_FOUNDATION_MODEL",
|
|
131
|
+
};
|
|
132
|
+
export const StepType = {
|
|
133
|
+
POST_CHUNKING: "POST_CHUNKING",
|
|
134
|
+
};
|
|
135
|
+
export const ParsingModality = {
|
|
136
|
+
MULTIMODAL: "MULTIMODAL",
|
|
137
|
+
};
|
|
138
|
+
export const ParsingStrategy = {
|
|
139
|
+
BEDROCK_DATA_AUTOMATION: "BEDROCK_DATA_AUTOMATION",
|
|
140
|
+
BEDROCK_FOUNDATION_MODEL: "BEDROCK_FOUNDATION_MODEL",
|
|
141
|
+
};
|
|
142
|
+
export const DataSourceStatus = {
|
|
143
|
+
AVAILABLE: "AVAILABLE",
|
|
144
|
+
DELETE_UNSUCCESSFUL: "DELETE_UNSUCCESSFUL",
|
|
145
|
+
DELETING: "DELETING",
|
|
146
|
+
};
|
|
147
|
+
export const FlowConnectionType = {
|
|
148
|
+
CONDITIONAL: "Conditional",
|
|
149
|
+
DATA: "Data",
|
|
150
|
+
};
|
|
151
|
+
export const SupportedLanguages = {
|
|
152
|
+
PYTHON_3: "Python_3",
|
|
153
|
+
};
|
|
154
|
+
export const PerformanceConfigLatency = {
|
|
155
|
+
OPTIMIZED: "optimized",
|
|
156
|
+
STANDARD: "standard",
|
|
157
|
+
};
|
|
158
|
+
export const RerankingMetadataSelectionMode = {
|
|
159
|
+
ALL: "ALL",
|
|
160
|
+
SELECTIVE: "SELECTIVE",
|
|
161
|
+
};
|
|
162
|
+
export const VectorSearchRerankingConfigurationType = {
|
|
163
|
+
BEDROCK_RERANKING_MODEL: "BEDROCK_RERANKING_MODEL",
|
|
164
|
+
};
|
|
165
|
+
export const CachePointType = {
|
|
166
|
+
DEFAULT: "default",
|
|
167
|
+
};
|
|
168
|
+
export const ConversationRole = {
|
|
169
|
+
ASSISTANT: "assistant",
|
|
170
|
+
USER: "user",
|
|
171
|
+
};
|
|
172
|
+
export const PromptTemplateType = {
|
|
173
|
+
CHAT: "CHAT",
|
|
174
|
+
TEXT: "TEXT",
|
|
175
|
+
};
|
|
176
|
+
export const FlowNodeInputCategory = {
|
|
177
|
+
EXIT_LOOP: "ExitLoop",
|
|
178
|
+
LOOP_CONDITION: "LoopCondition",
|
|
179
|
+
RETURN_VALUE_TO_LOOP_START: "ReturnValueToLoopStart",
|
|
180
|
+
};
|
|
181
|
+
export const FlowNodeIODataType = {
|
|
182
|
+
ARRAY: "Array",
|
|
183
|
+
BOOLEAN: "Boolean",
|
|
184
|
+
NUMBER: "Number",
|
|
185
|
+
OBJECT: "Object",
|
|
186
|
+
STRING: "String",
|
|
187
|
+
};
|
|
188
|
+
export const FlowNodeType = {
|
|
189
|
+
AGENT: "Agent",
|
|
190
|
+
COLLECTOR: "Collector",
|
|
191
|
+
CONDITION: "Condition",
|
|
192
|
+
INLINE_CODE: "InlineCode",
|
|
193
|
+
INPUT: "Input",
|
|
194
|
+
ITERATOR: "Iterator",
|
|
195
|
+
KNOWLEDGE_BASE: "KnowledgeBase",
|
|
196
|
+
LAMBDA_FUNCTION: "LambdaFunction",
|
|
197
|
+
LEX: "Lex",
|
|
198
|
+
LOOP: "Loop",
|
|
199
|
+
LOOP_CONTROLLER: "LoopController",
|
|
200
|
+
LOOP_INPUT: "LoopInput",
|
|
201
|
+
OUTPUT: "Output",
|
|
202
|
+
PROMPT: "Prompt",
|
|
203
|
+
RETRIEVAL: "Retrieval",
|
|
204
|
+
STORAGE: "Storage",
|
|
205
|
+
};
|
|
206
|
+
export const FlowStatus = {
|
|
207
|
+
FAILED: "Failed",
|
|
208
|
+
NOT_PREPARED: "NotPrepared",
|
|
209
|
+
PREPARED: "Prepared",
|
|
210
|
+
PREPARING: "Preparing",
|
|
211
|
+
};
|
|
212
|
+
export const ConcurrencyType = {
|
|
213
|
+
AUTOMATIC: "Automatic",
|
|
214
|
+
MANUAL: "Manual",
|
|
215
|
+
};
|
|
216
|
+
export const IncompatibleLoopNodeType = {
|
|
217
|
+
COLLECTOR: "Collector",
|
|
218
|
+
CONDITION: "Condition",
|
|
219
|
+
INPUT: "Input",
|
|
220
|
+
ITERATOR: "Iterator",
|
|
221
|
+
};
|
|
222
|
+
export const FlowValidationSeverity = {
|
|
223
|
+
ERROR: "Error",
|
|
224
|
+
WARNING: "Warning",
|
|
225
|
+
};
|
|
226
|
+
export const FlowValidationType = {
|
|
227
|
+
CYCLIC_CONNECTION: "CyclicConnection",
|
|
228
|
+
DUPLICATE_CONDITION_EXPRESSION: "DuplicateConditionExpression",
|
|
229
|
+
DUPLICATE_CONNECTIONS: "DuplicateConnections",
|
|
230
|
+
INCOMPATIBLE_CONNECTION_DATA_TYPE: "IncompatibleConnectionDataType",
|
|
231
|
+
INVALID_LOOP_BOUNDARY: "InvalidLoopBoundary",
|
|
232
|
+
LOOP_INCOMPATIBLE_NODE_TYPE: "LoopIncompatibleNodeType",
|
|
233
|
+
MALFORMED_CONDITION_EXPRESSION: "MalformedConditionExpression",
|
|
234
|
+
MALFORMED_NODE_INPUT_EXPRESSION: "MalformedNodeInputExpression",
|
|
235
|
+
MISMATCHED_NODE_INPUT_TYPE: "MismatchedNodeInputType",
|
|
236
|
+
MISMATCHED_NODE_OUTPUT_TYPE: "MismatchedNodeOutputType",
|
|
237
|
+
MISSING_CONNECTION_CONFIGURATION: "MissingConnectionConfiguration",
|
|
238
|
+
MISSING_DEFAULT_CONDITION: "MissingDefaultCondition",
|
|
239
|
+
MISSING_ENDING_NODES: "MissingEndingNodes",
|
|
240
|
+
MISSING_LOOP_CONTROLLER_NODE: "MissingLoopControllerNode",
|
|
241
|
+
MISSING_LOOP_INPUT_NODE: "MissingLoopInputNode",
|
|
242
|
+
MISSING_NODE_CONFIGURATION: "MissingNodeConfiguration",
|
|
243
|
+
MISSING_NODE_INPUT: "MissingNodeInput",
|
|
244
|
+
MISSING_NODE_OUTPUT: "MissingNodeOutput",
|
|
245
|
+
MISSING_STARTING_NODES: "MissingStartingNodes",
|
|
246
|
+
MULTIPLE_LOOP_CONTROLLER_NODES: "MultipleLoopControllerNodes",
|
|
247
|
+
MULTIPLE_LOOP_INPUT_NODES: "MultipleLoopInputNodes",
|
|
248
|
+
MULTIPLE_NODE_INPUT_CONNECTIONS: "MultipleNodeInputConnections",
|
|
249
|
+
UNFULFILLED_NODE_INPUT: "UnfulfilledNodeInput",
|
|
250
|
+
UNKNOWN_CONNECTION_CONDITION: "UnknownConnectionCondition",
|
|
251
|
+
UNKNOWN_CONNECTION_SOURCE: "UnknownConnectionSource",
|
|
252
|
+
UNKNOWN_CONNECTION_SOURCE_OUTPUT: "UnknownConnectionSourceOutput",
|
|
253
|
+
UNKNOWN_CONNECTION_TARGET: "UnknownConnectionTarget",
|
|
254
|
+
UNKNOWN_CONNECTION_TARGET_INPUT: "UnknownConnectionTargetInput",
|
|
255
|
+
UNKNOWN_NODE_INPUT: "UnknownNodeInput",
|
|
256
|
+
UNKNOWN_NODE_OUTPUT: "UnknownNodeOutput",
|
|
257
|
+
UNREACHABLE_NODE: "UnreachableNode",
|
|
258
|
+
UNSATISFIED_CONNECTION_CONDITIONS: "UnsatisfiedConnectionConditions",
|
|
259
|
+
UNSPECIFIED: "Unspecified",
|
|
260
|
+
};
|
|
261
|
+
export const IngestionJobStatus = {
|
|
262
|
+
COMPLETE: "COMPLETE",
|
|
263
|
+
FAILED: "FAILED",
|
|
264
|
+
IN_PROGRESS: "IN_PROGRESS",
|
|
265
|
+
STARTING: "STARTING",
|
|
266
|
+
STOPPED: "STOPPED",
|
|
267
|
+
STOPPING: "STOPPING",
|
|
268
|
+
};
|
|
269
|
+
export const IngestionJobFilterAttribute = {
|
|
270
|
+
STATUS: "STATUS",
|
|
271
|
+
};
|
|
272
|
+
export const IngestionJobFilterOperator = {
|
|
273
|
+
EQ: "EQ",
|
|
274
|
+
};
|
|
275
|
+
export const IngestionJobSortByAttribute = {
|
|
276
|
+
STARTED_AT: "STARTED_AT",
|
|
277
|
+
STATUS: "STATUS",
|
|
278
|
+
};
|
|
279
|
+
export const SortOrder = {
|
|
280
|
+
ASCENDING: "ASCENDING",
|
|
281
|
+
DESCENDING: "DESCENDING",
|
|
282
|
+
};
|
|
283
|
+
export const ContentDataSourceType = {
|
|
284
|
+
CUSTOM: "CUSTOM",
|
|
285
|
+
S3: "S3",
|
|
286
|
+
};
|
|
287
|
+
export const DocumentStatus = {
|
|
288
|
+
DELETE_IN_PROGRESS: "DELETE_IN_PROGRESS",
|
|
289
|
+
DELETING: "DELETING",
|
|
290
|
+
FAILED: "FAILED",
|
|
291
|
+
IGNORED: "IGNORED",
|
|
292
|
+
INDEXED: "INDEXED",
|
|
293
|
+
IN_PROGRESS: "IN_PROGRESS",
|
|
294
|
+
METADATA_PARTIALLY_INDEXED: "METADATA_PARTIALLY_INDEXED",
|
|
295
|
+
METADATA_UPDATE_FAILED: "METADATA_UPDATE_FAILED",
|
|
296
|
+
NOT_FOUND: "NOT_FOUND",
|
|
297
|
+
PARTIALLY_INDEXED: "PARTIALLY_INDEXED",
|
|
298
|
+
PENDING: "PENDING",
|
|
299
|
+
STARTING: "STARTING",
|
|
300
|
+
};
|
|
301
|
+
export const InlineContentType = {
|
|
302
|
+
BYTE: "BYTE",
|
|
303
|
+
TEXT: "TEXT",
|
|
304
|
+
};
|
|
305
|
+
export const CustomSourceType = {
|
|
306
|
+
IN_LINE: "IN_LINE",
|
|
307
|
+
S3_LOCATION: "S3_LOCATION",
|
|
308
|
+
};
|
|
309
|
+
export const MetadataValueType = {
|
|
310
|
+
BOOLEAN: "BOOLEAN",
|
|
311
|
+
NUMBER: "NUMBER",
|
|
312
|
+
STRING: "STRING",
|
|
313
|
+
STRING_LIST: "STRING_LIST",
|
|
314
|
+
};
|
|
315
|
+
export const MetadataSourceType = {
|
|
316
|
+
IN_LINE_ATTRIBUTE: "IN_LINE_ATTRIBUTE",
|
|
317
|
+
S3_LOCATION: "S3_LOCATION",
|
|
318
|
+
};
|
|
319
|
+
export const RedshiftProvisionedAuthType = {
|
|
320
|
+
IAM: "IAM",
|
|
321
|
+
USERNAME: "USERNAME",
|
|
322
|
+
USERNAME_PASSWORD: "USERNAME_PASSWORD",
|
|
323
|
+
};
|
|
324
|
+
export const RedshiftServerlessAuthType = {
|
|
325
|
+
IAM: "IAM",
|
|
326
|
+
USERNAME_PASSWORD: "USERNAME_PASSWORD",
|
|
327
|
+
};
|
|
328
|
+
export const RedshiftQueryEngineType = {
|
|
329
|
+
PROVISIONED: "PROVISIONED",
|
|
330
|
+
SERVERLESS: "SERVERLESS",
|
|
331
|
+
};
|
|
332
|
+
export const IncludeExclude = {
|
|
333
|
+
EXCLUDE: "EXCLUDE",
|
|
334
|
+
INCLUDE: "INCLUDE",
|
|
335
|
+
};
|
|
336
|
+
export const RedshiftQueryEngineStorageType = {
|
|
337
|
+
AWS_DATA_CATALOG: "AWS_DATA_CATALOG",
|
|
338
|
+
REDSHIFT: "REDSHIFT",
|
|
339
|
+
};
|
|
340
|
+
export const QueryEngineType = {
|
|
341
|
+
REDSHIFT: "REDSHIFT",
|
|
342
|
+
};
|
|
343
|
+
export const KnowledgeBaseType = {
|
|
344
|
+
KENDRA: "KENDRA",
|
|
345
|
+
SQL: "SQL",
|
|
346
|
+
VECTOR: "VECTOR",
|
|
347
|
+
};
|
|
348
|
+
export const EmbeddingDataType = {
|
|
349
|
+
BINARY: "BINARY",
|
|
350
|
+
FLOAT32: "FLOAT32",
|
|
351
|
+
};
|
|
352
|
+
export const SupplementalDataStorageLocationType = {
|
|
353
|
+
S3: "S3",
|
|
354
|
+
};
|
|
355
|
+
export const KnowledgeBaseStorageType = {
|
|
356
|
+
MONGO_DB_ATLAS: "MONGO_DB_ATLAS",
|
|
357
|
+
NEPTUNE_ANALYTICS: "NEPTUNE_ANALYTICS",
|
|
358
|
+
OPENSEARCH_MANAGED_CLUSTER: "OPENSEARCH_MANAGED_CLUSTER",
|
|
359
|
+
OPENSEARCH_SERVERLESS: "OPENSEARCH_SERVERLESS",
|
|
360
|
+
PINECONE: "PINECONE",
|
|
361
|
+
RDS: "RDS",
|
|
362
|
+
REDIS_ENTERPRISE_CLOUD: "REDIS_ENTERPRISE_CLOUD",
|
|
363
|
+
S3_VECTORS: "S3_VECTORS",
|
|
364
|
+
};
|
|
365
|
+
export const KnowledgeBaseStatus = {
|
|
366
|
+
ACTIVE: "ACTIVE",
|
|
367
|
+
CREATING: "CREATING",
|
|
368
|
+
DELETE_UNSUCCESSFUL: "DELETE_UNSUCCESSFUL",
|
|
369
|
+
DELETING: "DELETING",
|
|
370
|
+
FAILED: "FAILED",
|
|
371
|
+
UPDATING: "UPDATING",
|
|
372
|
+
};
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
import { BedrockAgentServiceException as __BaseException } from "./BedrockAgentServiceException";
|
|
2
|
+
export class AccessDeniedException extends __BaseException {
|
|
3
|
+
name = "AccessDeniedException";
|
|
4
|
+
$fault = "client";
|
|
5
|
+
constructor(opts) {
|
|
6
|
+
super({
|
|
7
|
+
name: "AccessDeniedException",
|
|
8
|
+
$fault: "client",
|
|
9
|
+
...opts,
|
|
10
|
+
});
|
|
11
|
+
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
export class ConflictException extends __BaseException {
|
|
15
|
+
name = "ConflictException";
|
|
16
|
+
$fault = "client";
|
|
17
|
+
constructor(opts) {
|
|
18
|
+
super({
|
|
19
|
+
name: "ConflictException",
|
|
20
|
+
$fault: "client",
|
|
21
|
+
...opts,
|
|
22
|
+
});
|
|
23
|
+
Object.setPrototypeOf(this, ConflictException.prototype);
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
export class InternalServerException extends __BaseException {
|
|
27
|
+
name = "InternalServerException";
|
|
28
|
+
$fault = "server";
|
|
29
|
+
constructor(opts) {
|
|
30
|
+
super({
|
|
31
|
+
name: "InternalServerException",
|
|
32
|
+
$fault: "server",
|
|
33
|
+
...opts,
|
|
34
|
+
});
|
|
35
|
+
Object.setPrototypeOf(this, InternalServerException.prototype);
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
export class ResourceNotFoundException extends __BaseException {
|
|
39
|
+
name = "ResourceNotFoundException";
|
|
40
|
+
$fault = "client";
|
|
41
|
+
constructor(opts) {
|
|
42
|
+
super({
|
|
43
|
+
name: "ResourceNotFoundException",
|
|
44
|
+
$fault: "client",
|
|
45
|
+
...opts,
|
|
46
|
+
});
|
|
47
|
+
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
export class ServiceQuotaExceededException extends __BaseException {
|
|
51
|
+
name = "ServiceQuotaExceededException";
|
|
52
|
+
$fault = "client";
|
|
53
|
+
constructor(opts) {
|
|
54
|
+
super({
|
|
55
|
+
name: "ServiceQuotaExceededException",
|
|
56
|
+
$fault: "client",
|
|
57
|
+
...opts,
|
|
58
|
+
});
|
|
59
|
+
Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
export class ThrottlingException extends __BaseException {
|
|
63
|
+
name = "ThrottlingException";
|
|
64
|
+
$fault = "client";
|
|
65
|
+
constructor(opts) {
|
|
66
|
+
super({
|
|
67
|
+
name: "ThrottlingException",
|
|
68
|
+
$fault: "client",
|
|
69
|
+
...opts,
|
|
70
|
+
});
|
|
71
|
+
Object.setPrototypeOf(this, ThrottlingException.prototype);
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
export class ValidationException extends __BaseException {
|
|
75
|
+
name = "ValidationException";
|
|
76
|
+
$fault = "client";
|
|
77
|
+
fieldList;
|
|
78
|
+
constructor(opts) {
|
|
79
|
+
super({
|
|
80
|
+
name: "ValidationException",
|
|
81
|
+
$fault: "client",
|
|
82
|
+
...opts,
|
|
83
|
+
});
|
|
84
|
+
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
85
|
+
this.fieldList = opts.fieldList;
|
|
86
|
+
}
|
|
87
|
+
}
|