@aws-sdk/client-bedrock-agent-runtime 3.934.0 → 3.936.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 +345 -345
- package/dist-es/index.js +2 -1
- package/dist-es/models/enums.js +330 -0
- package/dist-es/models/errors.js +127 -0
- package/dist-es/models/models_0.js +1 -431
- package/dist-es/schemas/schemas_0.js +1 -1
- package/dist-types/commands/CreateInvocationCommand.d.ts +1 -1
- package/dist-types/commands/CreateSessionCommand.d.ts +1 -1
- package/dist-types/commands/DeleteSessionCommand.d.ts +1 -1
- package/dist-types/commands/EndSessionCommand.d.ts +1 -1
- package/dist-types/commands/GetInvocationStepCommand.d.ts +1 -1
- package/dist-types/commands/GetSessionCommand.d.ts +1 -1
- package/dist-types/commands/InvokeAgentCommand.d.ts +1 -2
- package/dist-types/commands/InvokeInlineAgentCommand.d.ts +1 -2
- package/dist-types/commands/ListInvocationStepsCommand.d.ts +1 -1
- package/dist-types/commands/ListInvocationsCommand.d.ts +1 -1
- package/dist-types/commands/ListSessionsCommand.d.ts +1 -1
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
- package/dist-types/commands/PutInvocationStepCommand.d.ts +1 -1
- package/dist-types/commands/RetrieveAndGenerateCommand.d.ts +1 -1
- package/dist-types/commands/RetrieveAndGenerateStreamCommand.d.ts +1 -1
- package/dist-types/commands/RetrieveCommand.d.ts +1 -1
- package/dist-types/commands/TagResourceCommand.d.ts +1 -1
- package/dist-types/commands/UntagResourceCommand.d.ts +1 -1
- package/dist-types/commands/UpdateSessionCommand.d.ts +1 -1
- package/dist-types/index.d.ts +3 -1
- package/dist-types/models/enums.d.ts +850 -0
- package/dist-types/models/errors.d.ts +137 -0
- package/dist-types/models/models_0.d.ts +2078 -914
- package/dist-types/ts3.4/commands/CreateInvocationCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/CreateSessionCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeleteSessionCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/EndSessionCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetInvocationStepCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetSessionCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/InvokeAgentCommand.d.ts +1 -2
- package/dist-types/ts3.4/commands/InvokeInlineAgentCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/ListInvocationStepsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListInvocationsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListSessionsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/PutInvocationStepCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/RetrieveAndGenerateCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/RetrieveAndGenerateStreamCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/RetrieveCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateSessionCommand.d.ts +1 -1
- package/dist-types/ts3.4/index.d.ts +3 -1
- package/dist-types/ts3.4/models/enums.d.ts +442 -0
- package/dist-types/ts3.4/models/errors.d.ts +73 -0
- package/dist-types/ts3.4/models/models_0.d.ts +968 -479
- package/package.json +19 -19
- package/dist-es/models/index.js +0 -2
- package/dist-es/models/models_1.js +0 -26
- package/dist-types/models/index.d.ts +0 -2
- package/dist-types/models/models_1.d.ts +0 -2151
- package/dist-types/ts3.4/models/index.d.ts +0 -2
- package/dist-types/ts3.4/models/models_1.d.ts +0 -969
|
@@ -1,431 +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 const ExecutionType = {
|
|
18
|
-
LAMBDA: "LAMBDA",
|
|
19
|
-
RETURN_CONTROL: "RETURN_CONTROL",
|
|
20
|
-
};
|
|
21
|
-
export const ActionGroupSignature = {
|
|
22
|
-
AMAZON_CODEINTERPRETER: "AMAZON.CodeInterpreter",
|
|
23
|
-
AMAZON_USERINPUT: "AMAZON.UserInput",
|
|
24
|
-
ANTHROPIC_BASH: "ANTHROPIC.Bash",
|
|
25
|
-
ANTHROPIC_COMPUTER: "ANTHROPIC.Computer",
|
|
26
|
-
ANTHROPIC_TEXTEDITOR: "ANTHROPIC.TextEditor",
|
|
27
|
-
};
|
|
28
|
-
export const ActionInvocationType = {
|
|
29
|
-
RESULT: "RESULT",
|
|
30
|
-
USER_CONFIRMATION: "USER_CONFIRMATION",
|
|
31
|
-
USER_CONFIRMATION_AND_RESULT: "USER_CONFIRMATION_AND_RESULT",
|
|
32
|
-
};
|
|
33
|
-
export const ParameterType = {
|
|
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 AgentCollaboration = {
|
|
45
|
-
DISABLED: "DISABLED",
|
|
46
|
-
SUPERVISOR: "SUPERVISOR",
|
|
47
|
-
SUPERVISOR_ROUTER: "SUPERVISOR_ROUTER",
|
|
48
|
-
};
|
|
49
|
-
export const ConfirmationState = {
|
|
50
|
-
CONFIRM: "CONFIRM",
|
|
51
|
-
DENY: "DENY",
|
|
52
|
-
};
|
|
53
|
-
export const ImageInputFormat = {
|
|
54
|
-
GIF: "gif",
|
|
55
|
-
JPEG: "jpeg",
|
|
56
|
-
PNG: "png",
|
|
57
|
-
WEBP: "webp",
|
|
58
|
-
};
|
|
59
|
-
export const ResponseState = {
|
|
60
|
-
FAILURE: "FAILURE",
|
|
61
|
-
REPROMPT: "REPROMPT",
|
|
62
|
-
};
|
|
63
|
-
export const PayloadType = {
|
|
64
|
-
RETURN_CONTROL: "RETURN_CONTROL",
|
|
65
|
-
TEXT: "TEXT",
|
|
66
|
-
};
|
|
67
|
-
export const GuardrailAction = {
|
|
68
|
-
INTERVENED: "INTERVENED",
|
|
69
|
-
NONE: "NONE",
|
|
70
|
-
};
|
|
71
|
-
export const GuardrailContentPolicyAction = {
|
|
72
|
-
BLOCKED: "BLOCKED",
|
|
73
|
-
};
|
|
74
|
-
export const GuardrailContentFilterConfidence = {
|
|
75
|
-
HIGH: "HIGH",
|
|
76
|
-
LOW: "LOW",
|
|
77
|
-
MEDIUM: "MEDIUM",
|
|
78
|
-
NONE: "NONE",
|
|
79
|
-
};
|
|
80
|
-
export const GuardrailContentFilterType = {
|
|
81
|
-
HATE: "HATE",
|
|
82
|
-
INSULTS: "INSULTS",
|
|
83
|
-
MISCONDUCT: "MISCONDUCT",
|
|
84
|
-
PROMPT_ATTACK: "PROMPT_ATTACK",
|
|
85
|
-
SEXUAL: "SEXUAL",
|
|
86
|
-
VIOLENCE: "VIOLENCE",
|
|
87
|
-
};
|
|
88
|
-
export const GuardrailSensitiveInformationPolicyAction = {
|
|
89
|
-
ANONYMIZED: "ANONYMIZED",
|
|
90
|
-
BLOCKED: "BLOCKED",
|
|
91
|
-
};
|
|
92
|
-
export const GuardrailPiiEntityType = {
|
|
93
|
-
ADDRESS: "ADDRESS",
|
|
94
|
-
AGE: "AGE",
|
|
95
|
-
AWS_ACCESS_KEY: "AWS_ACCESS_KEY",
|
|
96
|
-
AWS_SECRET_KEY: "AWS_SECRET_KEY",
|
|
97
|
-
CA_HEALTH_NUMBER: "CA_HEALTH_NUMBER",
|
|
98
|
-
CA_SOCIAL_INSURANCE_NUMBER: "CA_SOCIAL_INSURANCE_NUMBER",
|
|
99
|
-
CREDIT_DEBIT_CARD_CVV: "CREDIT_DEBIT_CARD_CVV",
|
|
100
|
-
CREDIT_DEBIT_CARD_EXPIRY: "CREDIT_DEBIT_CARD_EXPIRY",
|
|
101
|
-
CREDIT_DEBIT_CARD_NUMBER: "CREDIT_DEBIT_CARD_NUMBER",
|
|
102
|
-
DRIVER_ID: "DRIVER_ID",
|
|
103
|
-
EMAIL: "EMAIL",
|
|
104
|
-
INTERNATIONAL_BANK_ACCOUNT_NUMBER: "INTERNATIONAL_BANK_ACCOUNT_NUMBER",
|
|
105
|
-
IP_ADDRESS: "IP_ADDRESS",
|
|
106
|
-
LICENSE_PLATE: "LICENSE_PLATE",
|
|
107
|
-
MAC_ADDRESS: "MAC_ADDRESS",
|
|
108
|
-
NAME: "NAME",
|
|
109
|
-
PASSWORD: "PASSWORD",
|
|
110
|
-
PHONE: "PHONE",
|
|
111
|
-
PIN: "PIN",
|
|
112
|
-
SWIFT_CODE: "SWIFT_CODE",
|
|
113
|
-
UK_NATIONAL_HEALTH_SERVICE_NUMBER: "UK_NATIONAL_HEALTH_SERVICE_NUMBER",
|
|
114
|
-
UK_NATIONAL_INSURANCE_NUMBER: "UK_NATIONAL_INSURANCE_NUMBER",
|
|
115
|
-
UK_UNIQUE_TAXPAYER_REFERENCE_NUMBER: "UK_UNIQUE_TAXPAYER_REFERENCE_NUMBER",
|
|
116
|
-
URL: "URL",
|
|
117
|
-
USERNAME: "USERNAME",
|
|
118
|
-
US_BANK_ACCOUNT_NUMBER: "US_BANK_ACCOUNT_NUMBER",
|
|
119
|
-
US_BANK_ROUTING_NUMBER: "US_BANK_ROUTING_NUMBER",
|
|
120
|
-
US_INDIVIDUAL_TAX_IDENTIFICATION_NUMBER: "US_INDIVIDUAL_TAX_IDENTIFICATION_NUMBER",
|
|
121
|
-
US_PASSPORT_NUMBER: "US_PASSPORT_NUMBER",
|
|
122
|
-
US_SOCIAL_SECURITY_NUMBER: "US_SOCIAL_SECURITY_NUMBER",
|
|
123
|
-
VEHICLE_IDENTIFICATION_NUMBER: "VEHICLE_IDENTIFICATION_NUMBER",
|
|
124
|
-
};
|
|
125
|
-
export const GuardrailTopicPolicyAction = {
|
|
126
|
-
BLOCKED: "BLOCKED",
|
|
127
|
-
};
|
|
128
|
-
export const GuardrailTopicType = {
|
|
129
|
-
DENY: "DENY",
|
|
130
|
-
};
|
|
131
|
-
export const GuardrailWordPolicyAction = {
|
|
132
|
-
BLOCKED: "BLOCKED",
|
|
133
|
-
};
|
|
134
|
-
export const GuardrailManagedWordType = {
|
|
135
|
-
PROFANITY: "PROFANITY",
|
|
136
|
-
};
|
|
137
|
-
export const InvocationType = {
|
|
138
|
-
ACTION_GROUP: "ACTION_GROUP",
|
|
139
|
-
ACTION_GROUP_CODE_INTERPRETER: "ACTION_GROUP_CODE_INTERPRETER",
|
|
140
|
-
AGENT_COLLABORATOR: "AGENT_COLLABORATOR",
|
|
141
|
-
FINISH: "FINISH",
|
|
142
|
-
KNOWLEDGE_BASE: "KNOWLEDGE_BASE",
|
|
143
|
-
};
|
|
144
|
-
export const CreationMode = {
|
|
145
|
-
DEFAULT: "DEFAULT",
|
|
146
|
-
OVERRIDDEN: "OVERRIDDEN",
|
|
147
|
-
};
|
|
148
|
-
export const PromptType = {
|
|
149
|
-
KNOWLEDGE_BASE_RESPONSE_GENERATION: "KNOWLEDGE_BASE_RESPONSE_GENERATION",
|
|
150
|
-
ORCHESTRATION: "ORCHESTRATION",
|
|
151
|
-
POST_PROCESSING: "POST_PROCESSING",
|
|
152
|
-
PRE_PROCESSING: "PRE_PROCESSING",
|
|
153
|
-
ROUTING_CLASSIFIER: "ROUTING_CLASSIFIER",
|
|
154
|
-
};
|
|
155
|
-
export const RetrievalResultContentColumnType = {
|
|
156
|
-
BLOB: "BLOB",
|
|
157
|
-
BOOLEAN: "BOOLEAN",
|
|
158
|
-
DOUBLE: "DOUBLE",
|
|
159
|
-
LONG: "LONG",
|
|
160
|
-
NULL: "NULL",
|
|
161
|
-
STRING: "STRING",
|
|
162
|
-
};
|
|
163
|
-
export const RetrievalResultContentType = {
|
|
164
|
-
IMAGE: "IMAGE",
|
|
165
|
-
ROW: "ROW",
|
|
166
|
-
TEXT: "TEXT",
|
|
167
|
-
};
|
|
168
|
-
export const RetrievalResultLocationType = {
|
|
169
|
-
CONFLUENCE: "CONFLUENCE",
|
|
170
|
-
CUSTOM: "CUSTOM",
|
|
171
|
-
KENDRA: "KENDRA",
|
|
172
|
-
S3: "S3",
|
|
173
|
-
SALESFORCE: "SALESFORCE",
|
|
174
|
-
SHAREPOINT: "SHAREPOINT",
|
|
175
|
-
SQL: "SQL",
|
|
176
|
-
WEB: "WEB",
|
|
177
|
-
};
|
|
178
|
-
export const Source = {
|
|
179
|
-
ACTION_GROUP: "ACTION_GROUP",
|
|
180
|
-
KNOWLEDGE_BASE: "KNOWLEDGE_BASE",
|
|
181
|
-
PARSER: "PARSER",
|
|
182
|
-
};
|
|
183
|
-
export const Type = {
|
|
184
|
-
ACTION_GROUP: "ACTION_GROUP",
|
|
185
|
-
AGENT_COLLABORATOR: "AGENT_COLLABORATOR",
|
|
186
|
-
ASK_USER: "ASK_USER",
|
|
187
|
-
FINISH: "FINISH",
|
|
188
|
-
KNOWLEDGE_BASE: "KNOWLEDGE_BASE",
|
|
189
|
-
REPROMPT: "REPROMPT",
|
|
190
|
-
};
|
|
191
|
-
export class InternalServerException extends __BaseException {
|
|
192
|
-
name = "InternalServerException";
|
|
193
|
-
$fault = "server";
|
|
194
|
-
reason;
|
|
195
|
-
constructor(opts) {
|
|
196
|
-
super({
|
|
197
|
-
name: "InternalServerException",
|
|
198
|
-
$fault: "server",
|
|
199
|
-
...opts,
|
|
200
|
-
});
|
|
201
|
-
Object.setPrototypeOf(this, InternalServerException.prototype);
|
|
202
|
-
this.reason = opts.reason;
|
|
203
|
-
}
|
|
204
|
-
}
|
|
205
|
-
export class ResourceNotFoundException extends __BaseException {
|
|
206
|
-
name = "ResourceNotFoundException";
|
|
207
|
-
$fault = "client";
|
|
208
|
-
constructor(opts) {
|
|
209
|
-
super({
|
|
210
|
-
name: "ResourceNotFoundException",
|
|
211
|
-
$fault: "client",
|
|
212
|
-
...opts,
|
|
213
|
-
});
|
|
214
|
-
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
215
|
-
}
|
|
216
|
-
}
|
|
217
|
-
export class ThrottlingException extends __BaseException {
|
|
218
|
-
name = "ThrottlingException";
|
|
219
|
-
$fault = "client";
|
|
220
|
-
constructor(opts) {
|
|
221
|
-
super({
|
|
222
|
-
name: "ThrottlingException",
|
|
223
|
-
$fault: "client",
|
|
224
|
-
...opts,
|
|
225
|
-
});
|
|
226
|
-
Object.setPrototypeOf(this, ThrottlingException.prototype);
|
|
227
|
-
}
|
|
228
|
-
}
|
|
229
|
-
export class ValidationException extends __BaseException {
|
|
230
|
-
name = "ValidationException";
|
|
231
|
-
$fault = "client";
|
|
232
|
-
constructor(opts) {
|
|
233
|
-
super({
|
|
234
|
-
name: "ValidationException",
|
|
235
|
-
$fault: "client",
|
|
236
|
-
...opts,
|
|
237
|
-
});
|
|
238
|
-
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
239
|
-
}
|
|
240
|
-
}
|
|
241
|
-
export const FlowExecutionErrorType = {
|
|
242
|
-
TIMED_OUT: "ExecutionTimedOut",
|
|
243
|
-
};
|
|
244
|
-
export const FlowExecutionStatus = {
|
|
245
|
-
ABORTED: "Aborted",
|
|
246
|
-
FAILED: "Failed",
|
|
247
|
-
RUNNING: "Running",
|
|
248
|
-
SUCCEEDED: "Succeeded",
|
|
249
|
-
TIMED_OUT: "TimedOut",
|
|
250
|
-
};
|
|
251
|
-
export const FlowExecutionEventType = {
|
|
252
|
-
FLOW: "Flow",
|
|
253
|
-
NODE: "Node",
|
|
254
|
-
};
|
|
255
|
-
export const FlowErrorCode = {
|
|
256
|
-
INTERNAL_SERVER: "INTERNAL_SERVER",
|
|
257
|
-
NODE_EXECUTION_FAILED: "NODE_EXECUTION_FAILED",
|
|
258
|
-
VALIDATION: "VALIDATION",
|
|
259
|
-
};
|
|
260
|
-
export const NodeErrorCode = {
|
|
261
|
-
BAD_GATEWAY: "BAD_GATEWAY",
|
|
262
|
-
DEPENDENCY_FAILED: "DEPENDENCY_FAILED",
|
|
263
|
-
INTERNAL_SERVER: "INTERNAL_SERVER",
|
|
264
|
-
VALIDATION: "VALIDATION",
|
|
265
|
-
};
|
|
266
|
-
export const FlowNodeInputCategory = {
|
|
267
|
-
EXIT_LOOP: "ExitLoop",
|
|
268
|
-
LOOP_CONDITION: "LoopCondition",
|
|
269
|
-
RETURN_VALUE_TO_LOOP_START: "ReturnValueToLoopStart",
|
|
270
|
-
};
|
|
271
|
-
export const FlowControlNodeType = {
|
|
272
|
-
ITERATOR: "Iterator",
|
|
273
|
-
LOOP: "Loop",
|
|
274
|
-
};
|
|
275
|
-
export const FlowNodeIODataType = {
|
|
276
|
-
ARRAY: "Array",
|
|
277
|
-
BOOLEAN: "Boolean",
|
|
278
|
-
NUMBER: "Number",
|
|
279
|
-
OBJECT: "Object",
|
|
280
|
-
STRING: "String",
|
|
281
|
-
};
|
|
282
|
-
export class BadGatewayException extends __BaseException {
|
|
283
|
-
name = "BadGatewayException";
|
|
284
|
-
$fault = "server";
|
|
285
|
-
resourceName;
|
|
286
|
-
constructor(opts) {
|
|
287
|
-
super({
|
|
288
|
-
name: "BadGatewayException",
|
|
289
|
-
$fault: "server",
|
|
290
|
-
...opts,
|
|
291
|
-
});
|
|
292
|
-
Object.setPrototypeOf(this, BadGatewayException.prototype);
|
|
293
|
-
this.resourceName = opts.resourceName;
|
|
294
|
-
}
|
|
295
|
-
}
|
|
296
|
-
export class ConflictException extends __BaseException {
|
|
297
|
-
name = "ConflictException";
|
|
298
|
-
$fault = "client";
|
|
299
|
-
constructor(opts) {
|
|
300
|
-
super({
|
|
301
|
-
name: "ConflictException",
|
|
302
|
-
$fault: "client",
|
|
303
|
-
...opts,
|
|
304
|
-
});
|
|
305
|
-
Object.setPrototypeOf(this, ConflictException.prototype);
|
|
306
|
-
}
|
|
307
|
-
}
|
|
308
|
-
export class DependencyFailedException extends __BaseException {
|
|
309
|
-
name = "DependencyFailedException";
|
|
310
|
-
$fault = "client";
|
|
311
|
-
resourceName;
|
|
312
|
-
constructor(opts) {
|
|
313
|
-
super({
|
|
314
|
-
name: "DependencyFailedException",
|
|
315
|
-
$fault: "client",
|
|
316
|
-
...opts,
|
|
317
|
-
});
|
|
318
|
-
Object.setPrototypeOf(this, DependencyFailedException.prototype);
|
|
319
|
-
this.resourceName = opts.resourceName;
|
|
320
|
-
}
|
|
321
|
-
}
|
|
322
|
-
export class ServiceQuotaExceededException extends __BaseException {
|
|
323
|
-
name = "ServiceQuotaExceededException";
|
|
324
|
-
$fault = "client";
|
|
325
|
-
constructor(opts) {
|
|
326
|
-
super({
|
|
327
|
-
name: "ServiceQuotaExceededException",
|
|
328
|
-
$fault: "client",
|
|
329
|
-
...opts,
|
|
330
|
-
});
|
|
331
|
-
Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
|
|
332
|
-
}
|
|
333
|
-
}
|
|
334
|
-
export const PerformanceConfigLatency = {
|
|
335
|
-
OPTIMIZED: "optimized",
|
|
336
|
-
STANDARD: "standard",
|
|
337
|
-
};
|
|
338
|
-
export const FlowCompletionReason = {
|
|
339
|
-
INPUT_REQUIRED: "INPUT_REQUIRED",
|
|
340
|
-
SUCCESS: "SUCCESS",
|
|
341
|
-
};
|
|
342
|
-
export const NodeType = {
|
|
343
|
-
CONDITION_NODE: "ConditionNode",
|
|
344
|
-
FLOW_INPUT_NODE: "FlowInputNode",
|
|
345
|
-
FLOW_OUTPUT_NODE: "FlowOutputNode",
|
|
346
|
-
KNOWLEDGE_BASE_NODE: "KnowledgeBaseNode",
|
|
347
|
-
LAMBDA_FUNCTION_NODE: "LambdaFunctionNode",
|
|
348
|
-
LEX_NODE: "LexNode",
|
|
349
|
-
PROMPT_NODE: "PromptNode",
|
|
350
|
-
};
|
|
351
|
-
export const InputQueryType = {
|
|
352
|
-
TEXT: "TEXT",
|
|
353
|
-
};
|
|
354
|
-
export const QueryTransformationMode = {
|
|
355
|
-
TEXT_TO_SQL: "TEXT_TO_SQL",
|
|
356
|
-
};
|
|
357
|
-
export const TextToSqlConfigurationType = {
|
|
358
|
-
KNOWLEDGE_BASE: "KNOWLEDGE_BASE",
|
|
359
|
-
};
|
|
360
|
-
export const GeneratedQueryType = {
|
|
361
|
-
REDSHIFT_SQL: "REDSHIFT_SQL",
|
|
362
|
-
};
|
|
363
|
-
export const ConversationRole = {
|
|
364
|
-
ASSISTANT: "assistant",
|
|
365
|
-
USER: "user",
|
|
366
|
-
};
|
|
367
|
-
export const FileSourceType = {
|
|
368
|
-
BYTE_CONTENT: "BYTE_CONTENT",
|
|
369
|
-
S3: "S3",
|
|
370
|
-
};
|
|
371
|
-
export const FileUseCase = {
|
|
372
|
-
CHAT: "CHAT",
|
|
373
|
-
CODE_INTERPRETER: "CODE_INTERPRETER",
|
|
374
|
-
};
|
|
375
|
-
export const AttributeType = {
|
|
376
|
-
BOOLEAN: "BOOLEAN",
|
|
377
|
-
NUMBER: "NUMBER",
|
|
378
|
-
STRING: "STRING",
|
|
379
|
-
STRING_LIST: "STRING_LIST",
|
|
380
|
-
};
|
|
381
|
-
export const SearchType = {
|
|
382
|
-
HYBRID: "HYBRID",
|
|
383
|
-
SEMANTIC: "SEMANTIC",
|
|
384
|
-
};
|
|
385
|
-
export const RerankingMetadataSelectionMode = {
|
|
386
|
-
ALL: "ALL",
|
|
387
|
-
SELECTIVE: "SELECTIVE",
|
|
388
|
-
};
|
|
389
|
-
export const VectorSearchRerankingConfigurationType = {
|
|
390
|
-
BEDROCK_RERANKING_MODEL: "BEDROCK_RERANKING_MODEL",
|
|
391
|
-
};
|
|
392
|
-
export class ModelNotReadyException extends __BaseException {
|
|
393
|
-
name = "ModelNotReadyException";
|
|
394
|
-
$fault = "client";
|
|
395
|
-
constructor(opts) {
|
|
396
|
-
super({
|
|
397
|
-
name: "ModelNotReadyException",
|
|
398
|
-
$fault: "client",
|
|
399
|
-
...opts,
|
|
400
|
-
});
|
|
401
|
-
Object.setPrototypeOf(this, ModelNotReadyException.prototype);
|
|
402
|
-
}
|
|
403
|
-
}
|
|
404
|
-
export const RelayConversationHistory = {
|
|
405
|
-
DISABLED: "DISABLED",
|
|
406
|
-
TO_COLLABORATOR: "TO_COLLABORATOR",
|
|
407
|
-
};
|
|
408
|
-
export const PromptState = {
|
|
409
|
-
DISABLED: "DISABLED",
|
|
410
|
-
ENABLED: "ENABLED",
|
|
411
|
-
};
|
|
412
|
-
export const OrchestrationType = {
|
|
413
|
-
CUSTOM_ORCHESTRATION: "CUSTOM_ORCHESTRATION",
|
|
414
|
-
DEFAULT: "DEFAULT",
|
|
415
|
-
};
|
|
416
|
-
export const MemoryType = {
|
|
417
|
-
SESSION_SUMMARY: "SESSION_SUMMARY",
|
|
418
|
-
};
|
|
419
|
-
export const RerankQueryContentType = {
|
|
420
|
-
TEXT: "TEXT",
|
|
421
|
-
};
|
|
422
|
-
export const RerankingConfigurationType = {
|
|
423
|
-
BEDROCK_RERANKING_MODEL: "BEDROCK_RERANKING_MODEL",
|
|
424
|
-
};
|
|
425
|
-
export const RerankDocumentType = {
|
|
426
|
-
JSON: "JSON",
|
|
427
|
-
TEXT: "TEXT",
|
|
428
|
-
};
|
|
429
|
-
export const RerankSourceType = {
|
|
430
|
-
INLINE: "INLINE",
|
|
431
|
-
};
|
|
1
|
+
export {};
|
|
@@ -839,7 +839,7 @@ const _xasa = "x-amz-source-arn";
|
|
|
839
839
|
const n0 = "com.amazonaws.bedrockagentruntime";
|
|
840
840
|
import { TypeRegistry } from "@smithy/core/schema";
|
|
841
841
|
import { BedrockAgentRuntimeServiceException as __BedrockAgentRuntimeServiceException } from "../models/BedrockAgentRuntimeServiceException";
|
|
842
|
-
import { AccessDeniedException as __AccessDeniedException, BadGatewayException as __BadGatewayException, ConflictException as __ConflictException, DependencyFailedException as __DependencyFailedException, InternalServerException as __InternalServerException, ModelNotReadyException as __ModelNotReadyException, ResourceNotFoundException as __ResourceNotFoundException, ServiceQuotaExceededException as __ServiceQuotaExceededException, ThrottlingException as __ThrottlingException, ValidationException as __ValidationException, } from "../models/
|
|
842
|
+
import { AccessDeniedException as __AccessDeniedException, BadGatewayException as __BadGatewayException, ConflictException as __ConflictException, DependencyFailedException as __DependencyFailedException, InternalServerException as __InternalServerException, ModelNotReadyException as __ModelNotReadyException, ResourceNotFoundException as __ResourceNotFoundException, ServiceQuotaExceededException as __ServiceQuotaExceededException, ThrottlingException as __ThrottlingException, ValidationException as __ValidationException, } from "../models/errors";
|
|
843
843
|
export var ActionGroupName = [0, n0, _AGN, 8, 0];
|
|
844
844
|
export var ActionGroupOutputString = [0, n0, _AGOS, 8, 0];
|
|
845
845
|
export var AgentCollaboratorPayloadString = [0, n0, _ACPS, 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 { BedrockAgentRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockAgentRuntimeClient";
|
|
4
|
-
import { CreateInvocationRequest, CreateInvocationResponse } from "../models/
|
|
4
|
+
import { CreateInvocationRequest, CreateInvocationResponse } 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 { BedrockAgentRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockAgentRuntimeClient";
|
|
4
|
-
import { CreateSessionRequest, CreateSessionResponse } from "../models/
|
|
4
|
+
import { CreateSessionRequest, CreateSessionResponse } 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 { BedrockAgentRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockAgentRuntimeClient";
|
|
4
|
-
import { DeleteSessionRequest, DeleteSessionResponse } from "../models/
|
|
4
|
+
import { DeleteSessionRequest, DeleteSessionResponse } 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 { BedrockAgentRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockAgentRuntimeClient";
|
|
4
|
-
import { EndSessionRequest, EndSessionResponse } from "../models/
|
|
4
|
+
import { EndSessionRequest, EndSessionResponse } 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 { BedrockAgentRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockAgentRuntimeClient";
|
|
4
|
-
import { GetInvocationStepRequest, GetInvocationStepResponse } from "../models/
|
|
4
|
+
import { GetInvocationStepRequest, GetInvocationStepResponse } 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 { BedrockAgentRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockAgentRuntimeClient";
|
|
4
|
-
import { GetSessionRequest, GetSessionResponse } from "../models/
|
|
4
|
+
import { GetSessionRequest, GetSessionResponse } 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 { BedrockAgentRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockAgentRuntimeClient";
|
|
4
|
-
import { InvokeAgentResponse } from "../models/models_0";
|
|
5
|
-
import { InvokeAgentRequest } from "../models/models_1";
|
|
4
|
+
import { InvokeAgentRequest, InvokeAgentResponse } from "../models/models_0";
|
|
6
5
|
/**
|
|
7
6
|
* @public
|
|
8
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 { BedrockAgentRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockAgentRuntimeClient";
|
|
4
|
-
import { InvokeInlineAgentResponse } from "../models/models_0";
|
|
5
|
-
import { InvokeInlineAgentRequest } from "../models/models_1";
|
|
4
|
+
import { InvokeInlineAgentRequest, InvokeInlineAgentResponse } 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 { BedrockAgentRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockAgentRuntimeClient";
|
|
4
|
-
import { ListInvocationStepsRequest, ListInvocationStepsResponse } from "../models/
|
|
4
|
+
import { ListInvocationStepsRequest, ListInvocationStepsResponse } 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 { BedrockAgentRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockAgentRuntimeClient";
|
|
4
|
-
import { ListInvocationsRequest, ListInvocationsResponse } from "../models/
|
|
4
|
+
import { ListInvocationsRequest, ListInvocationsResponse } 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 { BedrockAgentRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockAgentRuntimeClient";
|
|
4
|
-
import { ListSessionsRequest, ListSessionsResponse } from "../models/
|
|
4
|
+
import { ListSessionsRequest, ListSessionsResponse } 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 { BedrockAgentRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockAgentRuntimeClient";
|
|
4
|
-
import { ListTagsForResourceRequest, ListTagsForResourceResponse } from "../models/
|
|
4
|
+
import { ListTagsForResourceRequest, ListTagsForResourceResponse } 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 { BedrockAgentRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockAgentRuntimeClient";
|
|
4
|
-
import { PutInvocationStepRequest, PutInvocationStepResponse } from "../models/
|
|
4
|
+
import { PutInvocationStepRequest, PutInvocationStepResponse } 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 { BedrockAgentRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockAgentRuntimeClient";
|
|
4
|
-
import { RetrieveAndGenerateRequest, RetrieveAndGenerateResponse } from "../models/
|
|
4
|
+
import { RetrieveAndGenerateRequest, RetrieveAndGenerateResponse } 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 { BedrockAgentRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockAgentRuntimeClient";
|
|
4
|
-
import { RetrieveAndGenerateStreamRequest, RetrieveAndGenerateStreamResponse } from "../models/
|
|
4
|
+
import { RetrieveAndGenerateStreamRequest, RetrieveAndGenerateStreamResponse } 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 { BedrockAgentRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockAgentRuntimeClient";
|
|
4
|
-
import { RetrieveRequest, RetrieveResponse } from "../models/
|
|
4
|
+
import { RetrieveRequest, RetrieveResponse } 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 { BedrockAgentRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockAgentRuntimeClient";
|
|
4
|
-
import { TagResourceRequest, TagResourceResponse } from "../models/
|
|
4
|
+
import { TagResourceRequest, TagResourceResponse } 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 { BedrockAgentRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockAgentRuntimeClient";
|
|
4
|
-
import { UntagResourceRequest, UntagResourceResponse } from "../models/
|
|
4
|
+
import { UntagResourceRequest, UntagResourceResponse } 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 { BedrockAgentRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockAgentRuntimeClient";
|
|
4
|
-
import { UpdateSessionRequest, UpdateSessionResponse } from "../models/
|
|
4
|
+
import { UpdateSessionRequest, UpdateSessionResponse } from "../models/models_0";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
package/dist-types/index.d.ts
CHANGED
|
@@ -10,5 +10,7 @@ export type { RuntimeExtension } from "./runtimeExtensions";
|
|
|
10
10
|
export type { BedrockAgentRuntimeExtensionConfiguration } 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";
|
|
14
16
|
export { BedrockAgentRuntimeServiceException } from "./models/BedrockAgentRuntimeServiceException";
|