@aws-sdk/client-bedrock-agent 3.928.0 → 3.930.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 +4469 -5016
- package/dist-cjs/runtimeConfig.shared.js +2 -0
- package/dist-es/BedrockAgentClient.js +2 -0
- package/dist-es/commands/AssociateAgentCollaboratorCommand.js +3 -10
- package/dist-es/commands/AssociateAgentKnowledgeBaseCommand.js +3 -9
- package/dist-es/commands/CreateAgentActionGroupCommand.js +3 -10
- package/dist-es/commands/CreateAgentAliasCommand.js +3 -9
- package/dist-es/commands/CreateAgentCommand.js +3 -10
- package/dist-es/commands/CreateDataSourceCommand.js +3 -10
- package/dist-es/commands/CreateFlowAliasCommand.js +3 -9
- package/dist-es/commands/CreateFlowCommand.js +3 -10
- package/dist-es/commands/CreateFlowVersionCommand.js +3 -10
- package/dist-es/commands/CreateKnowledgeBaseCommand.js +3 -10
- package/dist-es/commands/CreatePromptCommand.js +3 -10
- package/dist-es/commands/CreatePromptVersionCommand.js +3 -10
- package/dist-es/commands/DeleteAgentActionGroupCommand.js +3 -9
- package/dist-es/commands/DeleteAgentAliasCommand.js +3 -9
- package/dist-es/commands/DeleteAgentCommand.js +3 -9
- package/dist-es/commands/DeleteAgentVersionCommand.js +3 -9
- package/dist-es/commands/DeleteDataSourceCommand.js +3 -9
- package/dist-es/commands/DeleteFlowAliasCommand.js +3 -9
- package/dist-es/commands/DeleteFlowCommand.js +3 -9
- package/dist-es/commands/DeleteFlowVersionCommand.js +3 -9
- package/dist-es/commands/DeleteKnowledgeBaseCommand.js +3 -9
- package/dist-es/commands/DeleteKnowledgeBaseDocumentsCommand.js +3 -9
- package/dist-es/commands/DeletePromptCommand.js +3 -9
- package/dist-es/commands/DisassociateAgentCollaboratorCommand.js +3 -9
- package/dist-es/commands/DisassociateAgentKnowledgeBaseCommand.js +3 -9
- package/dist-es/commands/GetAgentActionGroupCommand.js +3 -10
- package/dist-es/commands/GetAgentAliasCommand.js +3 -9
- package/dist-es/commands/GetAgentCollaboratorCommand.js +3 -10
- package/dist-es/commands/GetAgentCommand.js +3 -10
- package/dist-es/commands/GetAgentKnowledgeBaseCommand.js +3 -9
- package/dist-es/commands/GetAgentVersionCommand.js +3 -10
- package/dist-es/commands/GetDataSourceCommand.js +3 -10
- package/dist-es/commands/GetFlowAliasCommand.js +3 -9
- package/dist-es/commands/GetFlowCommand.js +3 -10
- package/dist-es/commands/GetFlowVersionCommand.js +3 -10
- package/dist-es/commands/GetIngestionJobCommand.js +3 -9
- package/dist-es/commands/GetKnowledgeBaseCommand.js +3 -10
- package/dist-es/commands/GetKnowledgeBaseDocumentsCommand.js +3 -9
- package/dist-es/commands/GetPromptCommand.js +3 -10
- package/dist-es/commands/IngestKnowledgeBaseDocumentsCommand.js +3 -10
- package/dist-es/commands/ListAgentActionGroupsCommand.js +3 -9
- package/dist-es/commands/ListAgentAliasesCommand.js +3 -9
- package/dist-es/commands/ListAgentCollaboratorsCommand.js +3 -10
- package/dist-es/commands/ListAgentKnowledgeBasesCommand.js +3 -9
- package/dist-es/commands/ListAgentVersionsCommand.js +3 -9
- package/dist-es/commands/ListAgentsCommand.js +3 -9
- package/dist-es/commands/ListDataSourcesCommand.js +3 -9
- package/dist-es/commands/ListFlowAliasesCommand.js +3 -9
- package/dist-es/commands/ListFlowVersionsCommand.js +3 -9
- package/dist-es/commands/ListFlowsCommand.js +3 -9
- package/dist-es/commands/ListIngestionJobsCommand.js +3 -9
- package/dist-es/commands/ListKnowledgeBaseDocumentsCommand.js +3 -9
- package/dist-es/commands/ListKnowledgeBasesCommand.js +3 -9
- package/dist-es/commands/ListPromptsCommand.js +3 -9
- package/dist-es/commands/ListTagsForResourceCommand.js +3 -9
- package/dist-es/commands/PrepareAgentCommand.js +3 -9
- package/dist-es/commands/PrepareFlowCommand.js +3 -9
- package/dist-es/commands/StartIngestionJobCommand.js +3 -9
- package/dist-es/commands/StopIngestionJobCommand.js +3 -9
- package/dist-es/commands/TagResourceCommand.js +3 -9
- package/dist-es/commands/UntagResourceCommand.js +3 -9
- package/dist-es/commands/UpdateAgentActionGroupCommand.js +3 -10
- package/dist-es/commands/UpdateAgentAliasCommand.js +3 -9
- package/dist-es/commands/UpdateAgentCollaboratorCommand.js +3 -10
- package/dist-es/commands/UpdateAgentCommand.js +3 -10
- package/dist-es/commands/UpdateAgentKnowledgeBaseCommand.js +3 -9
- package/dist-es/commands/UpdateDataSourceCommand.js +3 -10
- package/dist-es/commands/UpdateFlowAliasCommand.js +3 -9
- package/dist-es/commands/UpdateFlowCommand.js +3 -10
- package/dist-es/commands/UpdateKnowledgeBaseCommand.js +3 -10
- package/dist-es/commands/UpdatePromptCommand.js +3 -10
- package/dist-es/commands/ValidateFlowDefinitionCommand.js +3 -10
- package/dist-es/models/models_0.js +0 -675
- package/dist-es/models/models_1.js +0 -323
- package/dist-es/runtimeConfig.shared.js +2 -0
- package/dist-es/schemas/schemas_0.js +4319 -0
- package/dist-types/BedrockAgentClient.d.ts +10 -1
- package/dist-types/models/models_0.d.ts +68 -293
- package/dist-types/models/models_1.d.ts +8 -198
- package/dist-types/runtimeConfig.browser.d.ts +1 -0
- package/dist-types/runtimeConfig.d.ts +1 -0
- package/dist-types/runtimeConfig.native.d.ts +1 -0
- package/dist-types/runtimeConfig.shared.d.ts +1 -0
- package/dist-types/schemas/schemas_0.d.ts +550 -0
- package/dist-types/ts3.4/BedrockAgentClient.d.ts +4 -0
- package/dist-types/ts3.4/models/models_0.d.ts +0 -231
- package/dist-types/ts3.4/models/models_1.d.ts +0 -147
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +557 -0
- package/package.json +33 -34
- package/dist-es/protocols/Aws_restJson1.js +0 -3385
- package/dist-types/protocols/Aws_restJson1.d.ts +0 -650
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +0 -869
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { SENSITIVE_STRING } from "@smithy/smithy-client";
|
|
2
1
|
import { BedrockAgentServiceException as __BaseException } from "./BedrockAgentServiceException";
|
|
3
2
|
export class AccessDeniedException extends __BaseException {
|
|
4
3
|
name = "AccessDeniedException";
|
|
@@ -15,16 +14,6 @@ export class AccessDeniedException extends __BaseException {
|
|
|
15
14
|
export const CustomControlMethod = {
|
|
16
15
|
RETURN_CONTROL: "RETURN_CONTROL",
|
|
17
16
|
};
|
|
18
|
-
export var ActionGroupExecutor;
|
|
19
|
-
(function (ActionGroupExecutor) {
|
|
20
|
-
ActionGroupExecutor.visit = (value, visitor) => {
|
|
21
|
-
if (value.lambda !== undefined)
|
|
22
|
-
return visitor.lambda(value.lambda);
|
|
23
|
-
if (value.customControl !== undefined)
|
|
24
|
-
return visitor.customControl(value.customControl);
|
|
25
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
26
|
-
};
|
|
27
|
-
})(ActionGroupExecutor || (ActionGroupExecutor = {}));
|
|
28
17
|
export class ConflictException extends __BaseException {
|
|
29
18
|
name = "ConflictException";
|
|
30
19
|
$fault = "client";
|
|
@@ -41,16 +30,6 @@ export const ActionGroupState = {
|
|
|
41
30
|
DISABLED: "DISABLED",
|
|
42
31
|
ENABLED: "ENABLED",
|
|
43
32
|
};
|
|
44
|
-
export var APISchema;
|
|
45
|
-
(function (APISchema) {
|
|
46
|
-
APISchema.visit = (value, visitor) => {
|
|
47
|
-
if (value.s3 !== undefined)
|
|
48
|
-
return visitor.s3(value.s3);
|
|
49
|
-
if (value.payload !== undefined)
|
|
50
|
-
return visitor.payload(value.payload);
|
|
51
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
52
|
-
};
|
|
53
|
-
})(APISchema || (APISchema = {}));
|
|
54
33
|
export const Type = {
|
|
55
34
|
ARRAY: "array",
|
|
56
35
|
BOOLEAN: "boolean",
|
|
@@ -62,14 +41,6 @@ export const RequireConfirmation = {
|
|
|
62
41
|
DISABLED: "DISABLED",
|
|
63
42
|
ENABLED: "ENABLED",
|
|
64
43
|
};
|
|
65
|
-
export var FunctionSchema;
|
|
66
|
-
(function (FunctionSchema) {
|
|
67
|
-
FunctionSchema.visit = (value, visitor) => {
|
|
68
|
-
if (value.functions !== undefined)
|
|
69
|
-
return visitor.functions(value.functions);
|
|
70
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
71
|
-
};
|
|
72
|
-
})(FunctionSchema || (FunctionSchema = {}));
|
|
73
44
|
export const ActionGroupSignature = {
|
|
74
45
|
AMAZON_CODEINTERPRETER: "AMAZON.CodeInterpreter",
|
|
75
46
|
AMAZON_USERINPUT: "AMAZON.UserInput",
|
|
@@ -154,14 +125,6 @@ export const AgentStatus = {
|
|
|
154
125
|
UPDATING: "UPDATING",
|
|
155
126
|
VERSIONING: "VERSIONING",
|
|
156
127
|
};
|
|
157
|
-
export var OrchestrationExecutor;
|
|
158
|
-
(function (OrchestrationExecutor) {
|
|
159
|
-
OrchestrationExecutor.visit = (value, visitor) => {
|
|
160
|
-
if (value.lambda !== undefined)
|
|
161
|
-
return visitor.lambda(value.lambda);
|
|
162
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
163
|
-
};
|
|
164
|
-
})(OrchestrationExecutor || (OrchestrationExecutor = {}));
|
|
165
128
|
export const MemoryType = {
|
|
166
129
|
SESSION_SUMMARY: "SESSION_SUMMARY",
|
|
167
130
|
};
|
|
@@ -268,16 +231,6 @@ export const DataSourceStatus = {
|
|
|
268
231
|
DELETE_UNSUCCESSFUL: "DELETE_UNSUCCESSFUL",
|
|
269
232
|
DELETING: "DELETING",
|
|
270
233
|
};
|
|
271
|
-
export var FlowConnectionConfiguration;
|
|
272
|
-
(function (FlowConnectionConfiguration) {
|
|
273
|
-
FlowConnectionConfiguration.visit = (value, visitor) => {
|
|
274
|
-
if (value.data !== undefined)
|
|
275
|
-
return visitor.data(value.data);
|
|
276
|
-
if (value.conditional !== undefined)
|
|
277
|
-
return visitor.conditional(value.conditional);
|
|
278
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
279
|
-
};
|
|
280
|
-
})(FlowConnectionConfiguration || (FlowConnectionConfiguration = {}));
|
|
281
234
|
export const FlowConnectionType = {
|
|
282
235
|
CONDITIONAL: "Conditional",
|
|
283
236
|
DATA: "Data",
|
|
@@ -285,14 +238,6 @@ export const FlowConnectionType = {
|
|
|
285
238
|
export const SupportedLanguages = {
|
|
286
239
|
PYTHON_3: "Python_3",
|
|
287
240
|
};
|
|
288
|
-
export var PromptInferenceConfiguration;
|
|
289
|
-
(function (PromptInferenceConfiguration) {
|
|
290
|
-
PromptInferenceConfiguration.visit = (value, visitor) => {
|
|
291
|
-
if (value.text !== undefined)
|
|
292
|
-
return visitor.text(value.text);
|
|
293
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
294
|
-
};
|
|
295
|
-
})(PromptInferenceConfiguration || (PromptInferenceConfiguration = {}));
|
|
296
241
|
export const PerformanceConfigLatency = {
|
|
297
242
|
OPTIMIZED: "optimized",
|
|
298
243
|
STANDARD: "standard",
|
|
@@ -301,116 +246,20 @@ export const RerankingMetadataSelectionMode = {
|
|
|
301
246
|
ALL: "ALL",
|
|
302
247
|
SELECTIVE: "SELECTIVE",
|
|
303
248
|
};
|
|
304
|
-
export var RerankingMetadataSelectiveModeConfiguration;
|
|
305
|
-
(function (RerankingMetadataSelectiveModeConfiguration) {
|
|
306
|
-
RerankingMetadataSelectiveModeConfiguration.visit = (value, visitor) => {
|
|
307
|
-
if (value.fieldsToInclude !== undefined)
|
|
308
|
-
return visitor.fieldsToInclude(value.fieldsToInclude);
|
|
309
|
-
if (value.fieldsToExclude !== undefined)
|
|
310
|
-
return visitor.fieldsToExclude(value.fieldsToExclude);
|
|
311
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
312
|
-
};
|
|
313
|
-
})(RerankingMetadataSelectiveModeConfiguration || (RerankingMetadataSelectiveModeConfiguration = {}));
|
|
314
249
|
export const VectorSearchRerankingConfigurationType = {
|
|
315
250
|
BEDROCK_RERANKING_MODEL: "BEDROCK_RERANKING_MODEL",
|
|
316
251
|
};
|
|
317
252
|
export const CachePointType = {
|
|
318
253
|
DEFAULT: "default",
|
|
319
254
|
};
|
|
320
|
-
export var ContentBlock;
|
|
321
|
-
(function (ContentBlock) {
|
|
322
|
-
ContentBlock.visit = (value, visitor) => {
|
|
323
|
-
if (value.text !== undefined)
|
|
324
|
-
return visitor.text(value.text);
|
|
325
|
-
if (value.cachePoint !== undefined)
|
|
326
|
-
return visitor.cachePoint(value.cachePoint);
|
|
327
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
328
|
-
};
|
|
329
|
-
})(ContentBlock || (ContentBlock = {}));
|
|
330
255
|
export const ConversationRole = {
|
|
331
256
|
ASSISTANT: "assistant",
|
|
332
257
|
USER: "user",
|
|
333
258
|
};
|
|
334
|
-
export var SystemContentBlock;
|
|
335
|
-
(function (SystemContentBlock) {
|
|
336
|
-
SystemContentBlock.visit = (value, visitor) => {
|
|
337
|
-
if (value.text !== undefined)
|
|
338
|
-
return visitor.text(value.text);
|
|
339
|
-
if (value.cachePoint !== undefined)
|
|
340
|
-
return visitor.cachePoint(value.cachePoint);
|
|
341
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
342
|
-
};
|
|
343
|
-
})(SystemContentBlock || (SystemContentBlock = {}));
|
|
344
|
-
export var ToolChoice;
|
|
345
|
-
(function (ToolChoice) {
|
|
346
|
-
ToolChoice.visit = (value, visitor) => {
|
|
347
|
-
if (value.auto !== undefined)
|
|
348
|
-
return visitor.auto(value.auto);
|
|
349
|
-
if (value.any !== undefined)
|
|
350
|
-
return visitor.any(value.any);
|
|
351
|
-
if (value.tool !== undefined)
|
|
352
|
-
return visitor.tool(value.tool);
|
|
353
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
354
|
-
};
|
|
355
|
-
})(ToolChoice || (ToolChoice = {}));
|
|
356
|
-
export var ToolInputSchema;
|
|
357
|
-
(function (ToolInputSchema) {
|
|
358
|
-
ToolInputSchema.visit = (value, visitor) => {
|
|
359
|
-
if (value.json !== undefined)
|
|
360
|
-
return visitor.json(value.json);
|
|
361
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
362
|
-
};
|
|
363
|
-
})(ToolInputSchema || (ToolInputSchema = {}));
|
|
364
|
-
export var Tool;
|
|
365
|
-
(function (Tool) {
|
|
366
|
-
Tool.visit = (value, visitor) => {
|
|
367
|
-
if (value.toolSpec !== undefined)
|
|
368
|
-
return visitor.toolSpec(value.toolSpec);
|
|
369
|
-
if (value.cachePoint !== undefined)
|
|
370
|
-
return visitor.cachePoint(value.cachePoint);
|
|
371
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
372
|
-
};
|
|
373
|
-
})(Tool || (Tool = {}));
|
|
374
|
-
export var PromptTemplateConfiguration;
|
|
375
|
-
(function (PromptTemplateConfiguration) {
|
|
376
|
-
PromptTemplateConfiguration.visit = (value, visitor) => {
|
|
377
|
-
if (value.text !== undefined)
|
|
378
|
-
return visitor.text(value.text);
|
|
379
|
-
if (value.chat !== undefined)
|
|
380
|
-
return visitor.chat(value.chat);
|
|
381
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
382
|
-
};
|
|
383
|
-
})(PromptTemplateConfiguration || (PromptTemplateConfiguration = {}));
|
|
384
259
|
export const PromptTemplateType = {
|
|
385
260
|
CHAT: "CHAT",
|
|
386
261
|
TEXT: "TEXT",
|
|
387
262
|
};
|
|
388
|
-
export var PromptFlowNodeSourceConfiguration;
|
|
389
|
-
(function (PromptFlowNodeSourceConfiguration) {
|
|
390
|
-
PromptFlowNodeSourceConfiguration.visit = (value, visitor) => {
|
|
391
|
-
if (value.resource !== undefined)
|
|
392
|
-
return visitor.resource(value.resource);
|
|
393
|
-
if (value.inline !== undefined)
|
|
394
|
-
return visitor.inline(value.inline);
|
|
395
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
396
|
-
};
|
|
397
|
-
})(PromptFlowNodeSourceConfiguration || (PromptFlowNodeSourceConfiguration = {}));
|
|
398
|
-
export var RetrievalFlowNodeServiceConfiguration;
|
|
399
|
-
(function (RetrievalFlowNodeServiceConfiguration) {
|
|
400
|
-
RetrievalFlowNodeServiceConfiguration.visit = (value, visitor) => {
|
|
401
|
-
if (value.s3 !== undefined)
|
|
402
|
-
return visitor.s3(value.s3);
|
|
403
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
404
|
-
};
|
|
405
|
-
})(RetrievalFlowNodeServiceConfiguration || (RetrievalFlowNodeServiceConfiguration = {}));
|
|
406
|
-
export var StorageFlowNodeServiceConfiguration;
|
|
407
|
-
(function (StorageFlowNodeServiceConfiguration) {
|
|
408
|
-
StorageFlowNodeServiceConfiguration.visit = (value, visitor) => {
|
|
409
|
-
if (value.s3 !== undefined)
|
|
410
|
-
return visitor.s3(value.s3);
|
|
411
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
412
|
-
};
|
|
413
|
-
})(StorageFlowNodeServiceConfiguration || (StorageFlowNodeServiceConfiguration = {}));
|
|
414
263
|
export const FlowNodeInputCategory = {
|
|
415
264
|
EXIT_LOOP: "ExitLoop",
|
|
416
265
|
LOOP_CONDITION: "LoopCondition",
|
|
@@ -457,78 +306,6 @@ export const IncompatibleLoopNodeType = {
|
|
|
457
306
|
INPUT: "Input",
|
|
458
307
|
ITERATOR: "Iterator",
|
|
459
308
|
};
|
|
460
|
-
export var FlowValidationDetails;
|
|
461
|
-
(function (FlowValidationDetails) {
|
|
462
|
-
FlowValidationDetails.visit = (value, visitor) => {
|
|
463
|
-
if (value.cyclicConnection !== undefined)
|
|
464
|
-
return visitor.cyclicConnection(value.cyclicConnection);
|
|
465
|
-
if (value.duplicateConnections !== undefined)
|
|
466
|
-
return visitor.duplicateConnections(value.duplicateConnections);
|
|
467
|
-
if (value.duplicateConditionExpression !== undefined)
|
|
468
|
-
return visitor.duplicateConditionExpression(value.duplicateConditionExpression);
|
|
469
|
-
if (value.unreachableNode !== undefined)
|
|
470
|
-
return visitor.unreachableNode(value.unreachableNode);
|
|
471
|
-
if (value.unknownConnectionSource !== undefined)
|
|
472
|
-
return visitor.unknownConnectionSource(value.unknownConnectionSource);
|
|
473
|
-
if (value.unknownConnectionSourceOutput !== undefined)
|
|
474
|
-
return visitor.unknownConnectionSourceOutput(value.unknownConnectionSourceOutput);
|
|
475
|
-
if (value.unknownConnectionTarget !== undefined)
|
|
476
|
-
return visitor.unknownConnectionTarget(value.unknownConnectionTarget);
|
|
477
|
-
if (value.unknownConnectionTargetInput !== undefined)
|
|
478
|
-
return visitor.unknownConnectionTargetInput(value.unknownConnectionTargetInput);
|
|
479
|
-
if (value.unknownConnectionCondition !== undefined)
|
|
480
|
-
return visitor.unknownConnectionCondition(value.unknownConnectionCondition);
|
|
481
|
-
if (value.malformedConditionExpression !== undefined)
|
|
482
|
-
return visitor.malformedConditionExpression(value.malformedConditionExpression);
|
|
483
|
-
if (value.malformedNodeInputExpression !== undefined)
|
|
484
|
-
return visitor.malformedNodeInputExpression(value.malformedNodeInputExpression);
|
|
485
|
-
if (value.mismatchedNodeInputType !== undefined)
|
|
486
|
-
return visitor.mismatchedNodeInputType(value.mismatchedNodeInputType);
|
|
487
|
-
if (value.mismatchedNodeOutputType !== undefined)
|
|
488
|
-
return visitor.mismatchedNodeOutputType(value.mismatchedNodeOutputType);
|
|
489
|
-
if (value.incompatibleConnectionDataType !== undefined)
|
|
490
|
-
return visitor.incompatibleConnectionDataType(value.incompatibleConnectionDataType);
|
|
491
|
-
if (value.missingConnectionConfiguration !== undefined)
|
|
492
|
-
return visitor.missingConnectionConfiguration(value.missingConnectionConfiguration);
|
|
493
|
-
if (value.missingDefaultCondition !== undefined)
|
|
494
|
-
return visitor.missingDefaultCondition(value.missingDefaultCondition);
|
|
495
|
-
if (value.missingEndingNodes !== undefined)
|
|
496
|
-
return visitor.missingEndingNodes(value.missingEndingNodes);
|
|
497
|
-
if (value.missingNodeConfiguration !== undefined)
|
|
498
|
-
return visitor.missingNodeConfiguration(value.missingNodeConfiguration);
|
|
499
|
-
if (value.missingNodeInput !== undefined)
|
|
500
|
-
return visitor.missingNodeInput(value.missingNodeInput);
|
|
501
|
-
if (value.missingNodeOutput !== undefined)
|
|
502
|
-
return visitor.missingNodeOutput(value.missingNodeOutput);
|
|
503
|
-
if (value.missingStartingNodes !== undefined)
|
|
504
|
-
return visitor.missingStartingNodes(value.missingStartingNodes);
|
|
505
|
-
if (value.multipleNodeInputConnections !== undefined)
|
|
506
|
-
return visitor.multipleNodeInputConnections(value.multipleNodeInputConnections);
|
|
507
|
-
if (value.unfulfilledNodeInput !== undefined)
|
|
508
|
-
return visitor.unfulfilledNodeInput(value.unfulfilledNodeInput);
|
|
509
|
-
if (value.unsatisfiedConnectionConditions !== undefined)
|
|
510
|
-
return visitor.unsatisfiedConnectionConditions(value.unsatisfiedConnectionConditions);
|
|
511
|
-
if (value.unspecified !== undefined)
|
|
512
|
-
return visitor.unspecified(value.unspecified);
|
|
513
|
-
if (value.unknownNodeInput !== undefined)
|
|
514
|
-
return visitor.unknownNodeInput(value.unknownNodeInput);
|
|
515
|
-
if (value.unknownNodeOutput !== undefined)
|
|
516
|
-
return visitor.unknownNodeOutput(value.unknownNodeOutput);
|
|
517
|
-
if (value.missingLoopInputNode !== undefined)
|
|
518
|
-
return visitor.missingLoopInputNode(value.missingLoopInputNode);
|
|
519
|
-
if (value.missingLoopControllerNode !== undefined)
|
|
520
|
-
return visitor.missingLoopControllerNode(value.missingLoopControllerNode);
|
|
521
|
-
if (value.multipleLoopInputNodes !== undefined)
|
|
522
|
-
return visitor.multipleLoopInputNodes(value.multipleLoopInputNodes);
|
|
523
|
-
if (value.multipleLoopControllerNodes !== undefined)
|
|
524
|
-
return visitor.multipleLoopControllerNodes(value.multipleLoopControllerNodes);
|
|
525
|
-
if (value.loopIncompatibleNodeType !== undefined)
|
|
526
|
-
return visitor.loopIncompatibleNodeType(value.loopIncompatibleNodeType);
|
|
527
|
-
if (value.invalidLoopBoundary !== undefined)
|
|
528
|
-
return visitor.invalidLoopBoundary(value.invalidLoopBoundary);
|
|
529
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
530
|
-
};
|
|
531
|
-
})(FlowValidationDetails || (FlowValidationDetails = {}));
|
|
532
309
|
export const FlowValidationSeverity = {
|
|
533
310
|
ERROR: "Error",
|
|
534
311
|
WARNING: "Warning",
|
|
@@ -568,455 +345,3 @@ export const FlowValidationType = {
|
|
|
568
345
|
UNSATISFIED_CONNECTION_CONDITIONS: "UnsatisfiedConnectionConditions",
|
|
569
346
|
UNSPECIFIED: "Unspecified",
|
|
570
347
|
};
|
|
571
|
-
export const APISchemaFilterSensitiveLog = (obj) => {
|
|
572
|
-
if (obj.s3 !== undefined)
|
|
573
|
-
return { s3: obj.s3 };
|
|
574
|
-
if (obj.payload !== undefined)
|
|
575
|
-
return { payload: SENSITIVE_STRING };
|
|
576
|
-
if (obj.$unknown !== undefined)
|
|
577
|
-
return { [obj.$unknown[0]]: "UNKNOWN" };
|
|
578
|
-
};
|
|
579
|
-
export const CreateAgentActionGroupRequestFilterSensitiveLog = (obj) => ({
|
|
580
|
-
...obj,
|
|
581
|
-
...(obj.actionGroupExecutor && { actionGroupExecutor: obj.actionGroupExecutor }),
|
|
582
|
-
...(obj.apiSchema && { apiSchema: APISchemaFilterSensitiveLog(obj.apiSchema) }),
|
|
583
|
-
...(obj.functionSchema && { functionSchema: obj.functionSchema }),
|
|
584
|
-
});
|
|
585
|
-
export const AgentActionGroupFilterSensitiveLog = (obj) => ({
|
|
586
|
-
...obj,
|
|
587
|
-
...(obj.actionGroupExecutor && { actionGroupExecutor: obj.actionGroupExecutor }),
|
|
588
|
-
...(obj.apiSchema && { apiSchema: APISchemaFilterSensitiveLog(obj.apiSchema) }),
|
|
589
|
-
...(obj.functionSchema && { functionSchema: obj.functionSchema }),
|
|
590
|
-
});
|
|
591
|
-
export const CreateAgentActionGroupResponseFilterSensitiveLog = (obj) => ({
|
|
592
|
-
...obj,
|
|
593
|
-
...(obj.agentActionGroup && { agentActionGroup: AgentActionGroupFilterSensitiveLog(obj.agentActionGroup) }),
|
|
594
|
-
});
|
|
595
|
-
export const GetAgentActionGroupResponseFilterSensitiveLog = (obj) => ({
|
|
596
|
-
...obj,
|
|
597
|
-
...(obj.agentActionGroup && { agentActionGroup: AgentActionGroupFilterSensitiveLog(obj.agentActionGroup) }),
|
|
598
|
-
});
|
|
599
|
-
export const UpdateAgentActionGroupRequestFilterSensitiveLog = (obj) => ({
|
|
600
|
-
...obj,
|
|
601
|
-
...(obj.actionGroupExecutor && { actionGroupExecutor: obj.actionGroupExecutor }),
|
|
602
|
-
...(obj.apiSchema && { apiSchema: APISchemaFilterSensitiveLog(obj.apiSchema) }),
|
|
603
|
-
...(obj.functionSchema && { functionSchema: obj.functionSchema }),
|
|
604
|
-
});
|
|
605
|
-
export const UpdateAgentActionGroupResponseFilterSensitiveLog = (obj) => ({
|
|
606
|
-
...obj,
|
|
607
|
-
...(obj.agentActionGroup && { agentActionGroup: AgentActionGroupFilterSensitiveLog(obj.agentActionGroup) }),
|
|
608
|
-
});
|
|
609
|
-
export const PromptConfigurationFilterSensitiveLog = (obj) => ({
|
|
610
|
-
...obj,
|
|
611
|
-
...(obj.basePromptTemplate && { basePromptTemplate: SENSITIVE_STRING }),
|
|
612
|
-
});
|
|
613
|
-
export const PromptOverrideConfigurationFilterSensitiveLog = (obj) => ({
|
|
614
|
-
...obj,
|
|
615
|
-
...(obj.promptConfigurations && {
|
|
616
|
-
promptConfigurations: obj.promptConfigurations.map((item) => PromptConfigurationFilterSensitiveLog(item)),
|
|
617
|
-
}),
|
|
618
|
-
});
|
|
619
|
-
export const AgentFilterSensitiveLog = (obj) => ({
|
|
620
|
-
...obj,
|
|
621
|
-
...(obj.instruction && { instruction: SENSITIVE_STRING }),
|
|
622
|
-
...(obj.customOrchestration && { customOrchestration: obj.customOrchestration }),
|
|
623
|
-
...(obj.promptOverrideConfiguration && { promptOverrideConfiguration: SENSITIVE_STRING }),
|
|
624
|
-
});
|
|
625
|
-
export const AgentCollaboratorFilterSensitiveLog = (obj) => ({
|
|
626
|
-
...obj,
|
|
627
|
-
...(obj.collaborationInstruction && { collaborationInstruction: SENSITIVE_STRING }),
|
|
628
|
-
});
|
|
629
|
-
export const AssociateAgentCollaboratorRequestFilterSensitiveLog = (obj) => ({
|
|
630
|
-
...obj,
|
|
631
|
-
...(obj.collaborationInstruction && { collaborationInstruction: SENSITIVE_STRING }),
|
|
632
|
-
});
|
|
633
|
-
export const AssociateAgentCollaboratorResponseFilterSensitiveLog = (obj) => ({
|
|
634
|
-
...obj,
|
|
635
|
-
...(obj.agentCollaborator && { agentCollaborator: AgentCollaboratorFilterSensitiveLog(obj.agentCollaborator) }),
|
|
636
|
-
});
|
|
637
|
-
export const GetAgentCollaboratorResponseFilterSensitiveLog = (obj) => ({
|
|
638
|
-
...obj,
|
|
639
|
-
...(obj.agentCollaborator && { agentCollaborator: AgentCollaboratorFilterSensitiveLog(obj.agentCollaborator) }),
|
|
640
|
-
});
|
|
641
|
-
export const AgentCollaboratorSummaryFilterSensitiveLog = (obj) => ({
|
|
642
|
-
...obj,
|
|
643
|
-
...(obj.collaborationInstruction && { collaborationInstruction: SENSITIVE_STRING }),
|
|
644
|
-
});
|
|
645
|
-
export const ListAgentCollaboratorsResponseFilterSensitiveLog = (obj) => ({
|
|
646
|
-
...obj,
|
|
647
|
-
...(obj.agentCollaboratorSummaries && {
|
|
648
|
-
agentCollaboratorSummaries: obj.agentCollaboratorSummaries.map((item) => AgentCollaboratorSummaryFilterSensitiveLog(item)),
|
|
649
|
-
}),
|
|
650
|
-
});
|
|
651
|
-
export const UpdateAgentCollaboratorRequestFilterSensitiveLog = (obj) => ({
|
|
652
|
-
...obj,
|
|
653
|
-
...(obj.collaborationInstruction && { collaborationInstruction: SENSITIVE_STRING }),
|
|
654
|
-
});
|
|
655
|
-
export const UpdateAgentCollaboratorResponseFilterSensitiveLog = (obj) => ({
|
|
656
|
-
...obj,
|
|
657
|
-
...(obj.agentCollaborator && { agentCollaborator: AgentCollaboratorFilterSensitiveLog(obj.agentCollaborator) }),
|
|
658
|
-
});
|
|
659
|
-
export const CreateAgentRequestFilterSensitiveLog = (obj) => ({
|
|
660
|
-
...obj,
|
|
661
|
-
...(obj.instruction && { instruction: SENSITIVE_STRING }),
|
|
662
|
-
...(obj.customOrchestration && { customOrchestration: obj.customOrchestration }),
|
|
663
|
-
...(obj.promptOverrideConfiguration && { promptOverrideConfiguration: SENSITIVE_STRING }),
|
|
664
|
-
});
|
|
665
|
-
export const CreateAgentResponseFilterSensitiveLog = (obj) => ({
|
|
666
|
-
...obj,
|
|
667
|
-
...(obj.agent && { agent: AgentFilterSensitiveLog(obj.agent) }),
|
|
668
|
-
});
|
|
669
|
-
export const GetAgentResponseFilterSensitiveLog = (obj) => ({
|
|
670
|
-
...obj,
|
|
671
|
-
...(obj.agent && { agent: AgentFilterSensitiveLog(obj.agent) }),
|
|
672
|
-
});
|
|
673
|
-
export const UpdateAgentRequestFilterSensitiveLog = (obj) => ({
|
|
674
|
-
...obj,
|
|
675
|
-
...(obj.instruction && { instruction: SENSITIVE_STRING }),
|
|
676
|
-
...(obj.customOrchestration && { customOrchestration: obj.customOrchestration }),
|
|
677
|
-
...(obj.promptOverrideConfiguration && { promptOverrideConfiguration: SENSITIVE_STRING }),
|
|
678
|
-
});
|
|
679
|
-
export const UpdateAgentResponseFilterSensitiveLog = (obj) => ({
|
|
680
|
-
...obj,
|
|
681
|
-
...(obj.agent && { agent: AgentFilterSensitiveLog(obj.agent) }),
|
|
682
|
-
});
|
|
683
|
-
export const AgentVersionFilterSensitiveLog = (obj) => ({
|
|
684
|
-
...obj,
|
|
685
|
-
...(obj.instruction && { instruction: SENSITIVE_STRING }),
|
|
686
|
-
...(obj.promptOverrideConfiguration && { promptOverrideConfiguration: SENSITIVE_STRING }),
|
|
687
|
-
});
|
|
688
|
-
export const PatternObjectFilterFilterSensitiveLog = (obj) => ({
|
|
689
|
-
...obj,
|
|
690
|
-
...(obj.objectType && { objectType: SENSITIVE_STRING }),
|
|
691
|
-
...(obj.inclusionFilters && { inclusionFilters: SENSITIVE_STRING }),
|
|
692
|
-
...(obj.exclusionFilters && { exclusionFilters: SENSITIVE_STRING }),
|
|
693
|
-
});
|
|
694
|
-
export const PatternObjectFilterConfigurationFilterSensitiveLog = (obj) => ({
|
|
695
|
-
...obj,
|
|
696
|
-
...(obj.filters && { filters: SENSITIVE_STRING }),
|
|
697
|
-
});
|
|
698
|
-
export const CrawlFilterConfigurationFilterSensitiveLog = (obj) => ({
|
|
699
|
-
...obj,
|
|
700
|
-
...(obj.patternObjectFilter && {
|
|
701
|
-
patternObjectFilter: PatternObjectFilterConfigurationFilterSensitiveLog(obj.patternObjectFilter),
|
|
702
|
-
}),
|
|
703
|
-
});
|
|
704
|
-
export const ConfluenceCrawlerConfigurationFilterSensitiveLog = (obj) => ({
|
|
705
|
-
...obj,
|
|
706
|
-
...(obj.filterConfiguration && {
|
|
707
|
-
filterConfiguration: CrawlFilterConfigurationFilterSensitiveLog(obj.filterConfiguration),
|
|
708
|
-
}),
|
|
709
|
-
});
|
|
710
|
-
export const ConfluenceDataSourceConfigurationFilterSensitiveLog = (obj) => ({
|
|
711
|
-
...obj,
|
|
712
|
-
...(obj.crawlerConfiguration && {
|
|
713
|
-
crawlerConfiguration: ConfluenceCrawlerConfigurationFilterSensitiveLog(obj.crawlerConfiguration),
|
|
714
|
-
}),
|
|
715
|
-
});
|
|
716
|
-
export const S3DataSourceConfigurationFilterSensitiveLog = (obj) => ({
|
|
717
|
-
...obj,
|
|
718
|
-
...(obj.inclusionPrefixes && { inclusionPrefixes: SENSITIVE_STRING }),
|
|
719
|
-
});
|
|
720
|
-
export const SalesforceCrawlerConfigurationFilterSensitiveLog = (obj) => ({
|
|
721
|
-
...obj,
|
|
722
|
-
...(obj.filterConfiguration && {
|
|
723
|
-
filterConfiguration: CrawlFilterConfigurationFilterSensitiveLog(obj.filterConfiguration),
|
|
724
|
-
}),
|
|
725
|
-
});
|
|
726
|
-
export const SalesforceDataSourceConfigurationFilterSensitiveLog = (obj) => ({
|
|
727
|
-
...obj,
|
|
728
|
-
...(obj.crawlerConfiguration && {
|
|
729
|
-
crawlerConfiguration: SalesforceCrawlerConfigurationFilterSensitiveLog(obj.crawlerConfiguration),
|
|
730
|
-
}),
|
|
731
|
-
});
|
|
732
|
-
export const SharePointCrawlerConfigurationFilterSensitiveLog = (obj) => ({
|
|
733
|
-
...obj,
|
|
734
|
-
...(obj.filterConfiguration && {
|
|
735
|
-
filterConfiguration: CrawlFilterConfigurationFilterSensitiveLog(obj.filterConfiguration),
|
|
736
|
-
}),
|
|
737
|
-
});
|
|
738
|
-
export const SharePointDataSourceConfigurationFilterSensitiveLog = (obj) => ({
|
|
739
|
-
...obj,
|
|
740
|
-
...(obj.crawlerConfiguration && {
|
|
741
|
-
crawlerConfiguration: SharePointCrawlerConfigurationFilterSensitiveLog(obj.crawlerConfiguration),
|
|
742
|
-
}),
|
|
743
|
-
});
|
|
744
|
-
export const WebCrawlerConfigurationFilterSensitiveLog = (obj) => ({
|
|
745
|
-
...obj,
|
|
746
|
-
...(obj.inclusionFilters && { inclusionFilters: SENSITIVE_STRING }),
|
|
747
|
-
...(obj.exclusionFilters && { exclusionFilters: SENSITIVE_STRING }),
|
|
748
|
-
...(obj.userAgent && { userAgent: SENSITIVE_STRING }),
|
|
749
|
-
...(obj.userAgentHeader && { userAgentHeader: SENSITIVE_STRING }),
|
|
750
|
-
});
|
|
751
|
-
export const WebDataSourceConfigurationFilterSensitiveLog = (obj) => ({
|
|
752
|
-
...obj,
|
|
753
|
-
...(obj.crawlerConfiguration && {
|
|
754
|
-
crawlerConfiguration: WebCrawlerConfigurationFilterSensitiveLog(obj.crawlerConfiguration),
|
|
755
|
-
}),
|
|
756
|
-
});
|
|
757
|
-
export const DataSourceConfigurationFilterSensitiveLog = (obj) => ({
|
|
758
|
-
...obj,
|
|
759
|
-
...(obj.s3Configuration && { s3Configuration: S3DataSourceConfigurationFilterSensitiveLog(obj.s3Configuration) }),
|
|
760
|
-
...(obj.webConfiguration && { webConfiguration: WebDataSourceConfigurationFilterSensitiveLog(obj.webConfiguration) }),
|
|
761
|
-
...(obj.confluenceConfiguration && {
|
|
762
|
-
confluenceConfiguration: ConfluenceDataSourceConfigurationFilterSensitiveLog(obj.confluenceConfiguration),
|
|
763
|
-
}),
|
|
764
|
-
...(obj.salesforceConfiguration && {
|
|
765
|
-
salesforceConfiguration: SalesforceDataSourceConfigurationFilterSensitiveLog(obj.salesforceConfiguration),
|
|
766
|
-
}),
|
|
767
|
-
...(obj.sharePointConfiguration && {
|
|
768
|
-
sharePointConfiguration: SharePointDataSourceConfigurationFilterSensitiveLog(obj.sharePointConfiguration),
|
|
769
|
-
}),
|
|
770
|
-
});
|
|
771
|
-
export const CreateDataSourceRequestFilterSensitiveLog = (obj) => ({
|
|
772
|
-
...obj,
|
|
773
|
-
...(obj.dataSourceConfiguration && {
|
|
774
|
-
dataSourceConfiguration: DataSourceConfigurationFilterSensitiveLog(obj.dataSourceConfiguration),
|
|
775
|
-
}),
|
|
776
|
-
});
|
|
777
|
-
export const DataSourceFilterSensitiveLog = (obj) => ({
|
|
778
|
-
...obj,
|
|
779
|
-
...(obj.dataSourceConfiguration && {
|
|
780
|
-
dataSourceConfiguration: DataSourceConfigurationFilterSensitiveLog(obj.dataSourceConfiguration),
|
|
781
|
-
}),
|
|
782
|
-
});
|
|
783
|
-
export const CreateDataSourceResponseFilterSensitiveLog = (obj) => ({
|
|
784
|
-
...obj,
|
|
785
|
-
...(obj.dataSource && { dataSource: DataSourceFilterSensitiveLog(obj.dataSource) }),
|
|
786
|
-
});
|
|
787
|
-
export const GetDataSourceResponseFilterSensitiveLog = (obj) => ({
|
|
788
|
-
...obj,
|
|
789
|
-
...(obj.dataSource && { dataSource: DataSourceFilterSensitiveLog(obj.dataSource) }),
|
|
790
|
-
});
|
|
791
|
-
export const UpdateDataSourceRequestFilterSensitiveLog = (obj) => ({
|
|
792
|
-
...obj,
|
|
793
|
-
...(obj.dataSourceConfiguration && {
|
|
794
|
-
dataSourceConfiguration: DataSourceConfigurationFilterSensitiveLog(obj.dataSourceConfiguration),
|
|
795
|
-
}),
|
|
796
|
-
});
|
|
797
|
-
export const UpdateDataSourceResponseFilterSensitiveLog = (obj) => ({
|
|
798
|
-
...obj,
|
|
799
|
-
...(obj.dataSource && { dataSource: DataSourceFilterSensitiveLog(obj.dataSource) }),
|
|
800
|
-
});
|
|
801
|
-
export const FlowConditionFilterSensitiveLog = (obj) => ({
|
|
802
|
-
...obj,
|
|
803
|
-
...(obj.expression && { expression: SENSITIVE_STRING }),
|
|
804
|
-
});
|
|
805
|
-
export const ConditionFlowNodeConfigurationFilterSensitiveLog = (obj) => ({
|
|
806
|
-
...obj,
|
|
807
|
-
...(obj.conditions && { conditions: obj.conditions.map((item) => FlowConditionFilterSensitiveLog(item)) }),
|
|
808
|
-
});
|
|
809
|
-
export const InlineCodeFlowNodeConfigurationFilterSensitiveLog = (obj) => ({
|
|
810
|
-
...obj,
|
|
811
|
-
...(obj.code && { code: SENSITIVE_STRING }),
|
|
812
|
-
});
|
|
813
|
-
export const KnowledgeBasePromptTemplateFilterSensitiveLog = (obj) => ({
|
|
814
|
-
...obj,
|
|
815
|
-
...(obj.textPromptTemplate && { textPromptTemplate: SENSITIVE_STRING }),
|
|
816
|
-
});
|
|
817
|
-
export const KnowledgeBaseOrchestrationConfigurationFilterSensitiveLog = (obj) => ({
|
|
818
|
-
...obj,
|
|
819
|
-
...(obj.promptTemplate && { promptTemplate: KnowledgeBasePromptTemplateFilterSensitiveLog(obj.promptTemplate) }),
|
|
820
|
-
...(obj.inferenceConfig && { inferenceConfig: obj.inferenceConfig }),
|
|
821
|
-
});
|
|
822
|
-
export const RerankingMetadataSelectiveModeConfigurationFilterSensitiveLog = (obj) => {
|
|
823
|
-
if (obj.fieldsToInclude !== undefined)
|
|
824
|
-
return { fieldsToInclude: SENSITIVE_STRING };
|
|
825
|
-
if (obj.fieldsToExclude !== undefined)
|
|
826
|
-
return { fieldsToExclude: SENSITIVE_STRING };
|
|
827
|
-
if (obj.$unknown !== undefined)
|
|
828
|
-
return { [obj.$unknown[0]]: "UNKNOWN" };
|
|
829
|
-
};
|
|
830
|
-
export const MetadataConfigurationForRerankingFilterSensitiveLog = (obj) => ({
|
|
831
|
-
...obj,
|
|
832
|
-
...(obj.selectiveModeConfiguration && {
|
|
833
|
-
selectiveModeConfiguration: RerankingMetadataSelectiveModeConfigurationFilterSensitiveLog(obj.selectiveModeConfiguration),
|
|
834
|
-
}),
|
|
835
|
-
});
|
|
836
|
-
export const VectorSearchBedrockRerankingConfigurationFilterSensitiveLog = (obj) => ({
|
|
837
|
-
...obj,
|
|
838
|
-
...(obj.metadataConfiguration && {
|
|
839
|
-
metadataConfiguration: MetadataConfigurationForRerankingFilterSensitiveLog(obj.metadataConfiguration),
|
|
840
|
-
}),
|
|
841
|
-
});
|
|
842
|
-
export const VectorSearchRerankingConfigurationFilterSensitiveLog = (obj) => ({
|
|
843
|
-
...obj,
|
|
844
|
-
...(obj.bedrockRerankingConfiguration && {
|
|
845
|
-
bedrockRerankingConfiguration: VectorSearchBedrockRerankingConfigurationFilterSensitiveLog(obj.bedrockRerankingConfiguration),
|
|
846
|
-
}),
|
|
847
|
-
});
|
|
848
|
-
export const KnowledgeBaseFlowNodeConfigurationFilterSensitiveLog = (obj) => ({
|
|
849
|
-
...obj,
|
|
850
|
-
...(obj.promptTemplate && { promptTemplate: KnowledgeBasePromptTemplateFilterSensitiveLog(obj.promptTemplate) }),
|
|
851
|
-
...(obj.inferenceConfiguration && { inferenceConfiguration: obj.inferenceConfiguration }),
|
|
852
|
-
...(obj.rerankingConfiguration && {
|
|
853
|
-
rerankingConfiguration: VectorSearchRerankingConfigurationFilterSensitiveLog(obj.rerankingConfiguration),
|
|
854
|
-
}),
|
|
855
|
-
...(obj.orchestrationConfiguration && {
|
|
856
|
-
orchestrationConfiguration: KnowledgeBaseOrchestrationConfigurationFilterSensitiveLog(obj.orchestrationConfiguration),
|
|
857
|
-
}),
|
|
858
|
-
});
|
|
859
|
-
export const LoopControllerFlowNodeConfigurationFilterSensitiveLog = (obj) => ({
|
|
860
|
-
...obj,
|
|
861
|
-
...(obj.continueCondition && { continueCondition: FlowConditionFilterSensitiveLog(obj.continueCondition) }),
|
|
862
|
-
});
|
|
863
|
-
export const ContentBlockFilterSensitiveLog = (obj) => {
|
|
864
|
-
if (obj.text !== undefined)
|
|
865
|
-
return { text: obj.text };
|
|
866
|
-
if (obj.cachePoint !== undefined)
|
|
867
|
-
return { cachePoint: obj.cachePoint };
|
|
868
|
-
if (obj.$unknown !== undefined)
|
|
869
|
-
return { [obj.$unknown[0]]: "UNKNOWN" };
|
|
870
|
-
};
|
|
871
|
-
export const MessageFilterSensitiveLog = (obj) => ({
|
|
872
|
-
...obj,
|
|
873
|
-
...(obj.content && { content: SENSITIVE_STRING }),
|
|
874
|
-
});
|
|
875
|
-
export const SystemContentBlockFilterSensitiveLog = (obj) => {
|
|
876
|
-
if (obj.text !== undefined)
|
|
877
|
-
return { text: obj.text };
|
|
878
|
-
if (obj.cachePoint !== undefined)
|
|
879
|
-
return { cachePoint: obj.cachePoint };
|
|
880
|
-
if (obj.$unknown !== undefined)
|
|
881
|
-
return { [obj.$unknown[0]]: "UNKNOWN" };
|
|
882
|
-
};
|
|
883
|
-
export const ToolChoiceFilterSensitiveLog = (obj) => {
|
|
884
|
-
if (obj.auto !== undefined)
|
|
885
|
-
return { auto: obj.auto };
|
|
886
|
-
if (obj.any !== undefined)
|
|
887
|
-
return { any: obj.any };
|
|
888
|
-
if (obj.tool !== undefined)
|
|
889
|
-
return { tool: obj.tool };
|
|
890
|
-
if (obj.$unknown !== undefined)
|
|
891
|
-
return { [obj.$unknown[0]]: "UNKNOWN" };
|
|
892
|
-
};
|
|
893
|
-
export const ToolConfigurationFilterSensitiveLog = (obj) => ({
|
|
894
|
-
...obj,
|
|
895
|
-
...(obj.tools && { tools: SENSITIVE_STRING }),
|
|
896
|
-
...(obj.toolChoice && { toolChoice: SENSITIVE_STRING }),
|
|
897
|
-
});
|
|
898
|
-
export const ChatPromptTemplateConfigurationFilterSensitiveLog = (obj) => ({
|
|
899
|
-
...obj,
|
|
900
|
-
...(obj.messages && { messages: obj.messages.map((item) => MessageFilterSensitiveLog(item)) }),
|
|
901
|
-
...(obj.system && { system: SENSITIVE_STRING }),
|
|
902
|
-
...(obj.inputVariables && { inputVariables: SENSITIVE_STRING }),
|
|
903
|
-
...(obj.toolConfiguration && { toolConfiguration: ToolConfigurationFilterSensitiveLog(obj.toolConfiguration) }),
|
|
904
|
-
});
|
|
905
|
-
export const TextPromptTemplateConfigurationFilterSensitiveLog = (obj) => ({
|
|
906
|
-
...obj,
|
|
907
|
-
...(obj.text && { text: SENSITIVE_STRING }),
|
|
908
|
-
...(obj.inputVariables && { inputVariables: SENSITIVE_STRING }),
|
|
909
|
-
});
|
|
910
|
-
export const PromptTemplateConfigurationFilterSensitiveLog = (obj) => {
|
|
911
|
-
if (obj.text !== undefined)
|
|
912
|
-
return { text: SENSITIVE_STRING };
|
|
913
|
-
if (obj.chat !== undefined)
|
|
914
|
-
return { chat: SENSITIVE_STRING };
|
|
915
|
-
if (obj.$unknown !== undefined)
|
|
916
|
-
return { [obj.$unknown[0]]: "UNKNOWN" };
|
|
917
|
-
};
|
|
918
|
-
export const PromptFlowNodeInlineConfigurationFilterSensitiveLog = (obj) => ({
|
|
919
|
-
...obj,
|
|
920
|
-
...(obj.templateConfiguration && {
|
|
921
|
-
templateConfiguration: PromptTemplateConfigurationFilterSensitiveLog(obj.templateConfiguration),
|
|
922
|
-
}),
|
|
923
|
-
...(obj.inferenceConfiguration && { inferenceConfiguration: obj.inferenceConfiguration }),
|
|
924
|
-
});
|
|
925
|
-
export const PromptFlowNodeSourceConfigurationFilterSensitiveLog = (obj) => {
|
|
926
|
-
if (obj.resource !== undefined)
|
|
927
|
-
return { resource: obj.resource };
|
|
928
|
-
if (obj.inline !== undefined)
|
|
929
|
-
return { inline: PromptFlowNodeInlineConfigurationFilterSensitiveLog(obj.inline) };
|
|
930
|
-
if (obj.$unknown !== undefined)
|
|
931
|
-
return { [obj.$unknown[0]]: "UNKNOWN" };
|
|
932
|
-
};
|
|
933
|
-
export const PromptFlowNodeConfigurationFilterSensitiveLog = (obj) => ({
|
|
934
|
-
...obj,
|
|
935
|
-
...(obj.sourceConfiguration && {
|
|
936
|
-
sourceConfiguration: PromptFlowNodeSourceConfigurationFilterSensitiveLog(obj.sourceConfiguration),
|
|
937
|
-
}),
|
|
938
|
-
});
|
|
939
|
-
export const FlowNodeInputFilterSensitiveLog = (obj) => ({
|
|
940
|
-
...obj,
|
|
941
|
-
...(obj.expression && { expression: SENSITIVE_STRING }),
|
|
942
|
-
});
|
|
943
|
-
export const DuplicateConditionExpressionFlowValidationDetailsFilterSensitiveLog = (obj) => ({
|
|
944
|
-
...obj,
|
|
945
|
-
...(obj.expression && { expression: SENSITIVE_STRING }),
|
|
946
|
-
});
|
|
947
|
-
export const FlowValidationDetailsFilterSensitiveLog = (obj) => {
|
|
948
|
-
if (obj.cyclicConnection !== undefined)
|
|
949
|
-
return { cyclicConnection: obj.cyclicConnection };
|
|
950
|
-
if (obj.duplicateConnections !== undefined)
|
|
951
|
-
return { duplicateConnections: obj.duplicateConnections };
|
|
952
|
-
if (obj.duplicateConditionExpression !== undefined)
|
|
953
|
-
return {
|
|
954
|
-
duplicateConditionExpression: DuplicateConditionExpressionFlowValidationDetailsFilterSensitiveLog(obj.duplicateConditionExpression),
|
|
955
|
-
};
|
|
956
|
-
if (obj.unreachableNode !== undefined)
|
|
957
|
-
return { unreachableNode: obj.unreachableNode };
|
|
958
|
-
if (obj.unknownConnectionSource !== undefined)
|
|
959
|
-
return { unknownConnectionSource: obj.unknownConnectionSource };
|
|
960
|
-
if (obj.unknownConnectionSourceOutput !== undefined)
|
|
961
|
-
return { unknownConnectionSourceOutput: obj.unknownConnectionSourceOutput };
|
|
962
|
-
if (obj.unknownConnectionTarget !== undefined)
|
|
963
|
-
return { unknownConnectionTarget: obj.unknownConnectionTarget };
|
|
964
|
-
if (obj.unknownConnectionTargetInput !== undefined)
|
|
965
|
-
return { unknownConnectionTargetInput: obj.unknownConnectionTargetInput };
|
|
966
|
-
if (obj.unknownConnectionCondition !== undefined)
|
|
967
|
-
return { unknownConnectionCondition: obj.unknownConnectionCondition };
|
|
968
|
-
if (obj.malformedConditionExpression !== undefined)
|
|
969
|
-
return { malformedConditionExpression: obj.malformedConditionExpression };
|
|
970
|
-
if (obj.malformedNodeInputExpression !== undefined)
|
|
971
|
-
return { malformedNodeInputExpression: obj.malformedNodeInputExpression };
|
|
972
|
-
if (obj.mismatchedNodeInputType !== undefined)
|
|
973
|
-
return { mismatchedNodeInputType: obj.mismatchedNodeInputType };
|
|
974
|
-
if (obj.mismatchedNodeOutputType !== undefined)
|
|
975
|
-
return { mismatchedNodeOutputType: obj.mismatchedNodeOutputType };
|
|
976
|
-
if (obj.incompatibleConnectionDataType !== undefined)
|
|
977
|
-
return { incompatibleConnectionDataType: obj.incompatibleConnectionDataType };
|
|
978
|
-
if (obj.missingConnectionConfiguration !== undefined)
|
|
979
|
-
return { missingConnectionConfiguration: obj.missingConnectionConfiguration };
|
|
980
|
-
if (obj.missingDefaultCondition !== undefined)
|
|
981
|
-
return { missingDefaultCondition: obj.missingDefaultCondition };
|
|
982
|
-
if (obj.missingEndingNodes !== undefined)
|
|
983
|
-
return { missingEndingNodes: obj.missingEndingNodes };
|
|
984
|
-
if (obj.missingNodeConfiguration !== undefined)
|
|
985
|
-
return { missingNodeConfiguration: obj.missingNodeConfiguration };
|
|
986
|
-
if (obj.missingNodeInput !== undefined)
|
|
987
|
-
return { missingNodeInput: obj.missingNodeInput };
|
|
988
|
-
if (obj.missingNodeOutput !== undefined)
|
|
989
|
-
return { missingNodeOutput: obj.missingNodeOutput };
|
|
990
|
-
if (obj.missingStartingNodes !== undefined)
|
|
991
|
-
return { missingStartingNodes: obj.missingStartingNodes };
|
|
992
|
-
if (obj.multipleNodeInputConnections !== undefined)
|
|
993
|
-
return { multipleNodeInputConnections: obj.multipleNodeInputConnections };
|
|
994
|
-
if (obj.unfulfilledNodeInput !== undefined)
|
|
995
|
-
return { unfulfilledNodeInput: obj.unfulfilledNodeInput };
|
|
996
|
-
if (obj.unsatisfiedConnectionConditions !== undefined)
|
|
997
|
-
return { unsatisfiedConnectionConditions: obj.unsatisfiedConnectionConditions };
|
|
998
|
-
if (obj.unspecified !== undefined)
|
|
999
|
-
return { unspecified: obj.unspecified };
|
|
1000
|
-
if (obj.unknownNodeInput !== undefined)
|
|
1001
|
-
return { unknownNodeInput: obj.unknownNodeInput };
|
|
1002
|
-
if (obj.unknownNodeOutput !== undefined)
|
|
1003
|
-
return { unknownNodeOutput: obj.unknownNodeOutput };
|
|
1004
|
-
if (obj.missingLoopInputNode !== undefined)
|
|
1005
|
-
return { missingLoopInputNode: obj.missingLoopInputNode };
|
|
1006
|
-
if (obj.missingLoopControllerNode !== undefined)
|
|
1007
|
-
return { missingLoopControllerNode: obj.missingLoopControllerNode };
|
|
1008
|
-
if (obj.multipleLoopInputNodes !== undefined)
|
|
1009
|
-
return { multipleLoopInputNodes: obj.multipleLoopInputNodes };
|
|
1010
|
-
if (obj.multipleLoopControllerNodes !== undefined)
|
|
1011
|
-
return { multipleLoopControllerNodes: obj.multipleLoopControllerNodes };
|
|
1012
|
-
if (obj.loopIncompatibleNodeType !== undefined)
|
|
1013
|
-
return { loopIncompatibleNodeType: obj.loopIncompatibleNodeType };
|
|
1014
|
-
if (obj.invalidLoopBoundary !== undefined)
|
|
1015
|
-
return { invalidLoopBoundary: obj.invalidLoopBoundary };
|
|
1016
|
-
if (obj.$unknown !== undefined)
|
|
1017
|
-
return { [obj.$unknown[0]]: "UNKNOWN" };
|
|
1018
|
-
};
|
|
1019
|
-
export const FlowValidationFilterSensitiveLog = (obj) => ({
|
|
1020
|
-
...obj,
|
|
1021
|
-
...(obj.details && { details: FlowValidationDetailsFilterSensitiveLog(obj.details) }),
|
|
1022
|
-
});
|