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