@aws-sdk/client-bedrock-agent 3.758.0 → 3.765.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 +63 -23
- package/dist-es/models/models_0.js +9 -18
- package/dist-es/models/models_1.js +38 -0
- package/dist-es/protocols/Aws_restJson1.js +3 -0
- package/dist-types/commands/CreateAgentActionGroupCommand.d.ts +8 -2
- package/dist-types/commands/CreateDataSourceCommand.d.ts +18 -0
- package/dist-types/commands/CreateKnowledgeBaseCommand.d.ts +16 -2
- package/dist-types/commands/DeleteKnowledgeBaseDocumentsCommand.d.ts +1 -2
- package/dist-types/commands/GetAgentActionGroupCommand.d.ts +4 -1
- package/dist-types/commands/GetDataSourceCommand.d.ts +9 -0
- package/dist-types/commands/GetKnowledgeBaseCommand.d.ts +8 -1
- package/dist-types/commands/UpdateAgentActionGroupCommand.d.ts +8 -2
- package/dist-types/commands/UpdateDataSourceCommand.d.ts +18 -0
- package/dist-types/commands/UpdateKnowledgeBaseCommand.d.ts +16 -2
- package/dist-types/models/models_0.d.ts +177 -160
- package/dist-types/models/models_1.d.ts +207 -1
- package/dist-types/ts3.4/commands/DeleteKnowledgeBaseDocumentsCommand.d.ts +4 -2
- package/dist-types/ts3.4/models/models_0.d.ts +30 -41
- package/dist-types/ts3.4/models/models_1.d.ts +57 -3
- package/package.json +1 -1
package/dist-cjs/index.js
CHANGED
|
@@ -55,6 +55,7 @@ __export(src_exports, {
|
|
|
55
55
|
ContentBlock: () => ContentBlock,
|
|
56
56
|
ContentBlockFilterSensitiveLog: () => ContentBlockFilterSensitiveLog,
|
|
57
57
|
ContentDataSourceType: () => ContentDataSourceType,
|
|
58
|
+
ContextEnrichmentType: () => ContextEnrichmentType,
|
|
58
59
|
ConversationRole: () => ConversationRole,
|
|
59
60
|
CrawlFilterConfigurationFilterSensitiveLog: () => CrawlFilterConfigurationFilterSensitiveLog,
|
|
60
61
|
CrawlFilterConfigurationType: () => CrawlFilterConfigurationType,
|
|
@@ -109,6 +110,7 @@ __export(src_exports, {
|
|
|
109
110
|
DocumentStatus: () => DocumentStatus,
|
|
110
111
|
DuplicateConditionExpressionFlowValidationDetailsFilterSensitiveLog: () => DuplicateConditionExpressionFlowValidationDetailsFilterSensitiveLog,
|
|
111
112
|
EmbeddingDataType: () => EmbeddingDataType,
|
|
113
|
+
EnrichmentStrategyMethod: () => EnrichmentStrategyMethod,
|
|
112
114
|
FlowConditionFilterSensitiveLog: () => FlowConditionFilterSensitiveLog,
|
|
113
115
|
FlowConnectionConfiguration: () => FlowConnectionConfiguration,
|
|
114
116
|
FlowConnectionType: () => FlowConnectionType,
|
|
@@ -188,6 +190,7 @@ __export(src_exports, {
|
|
|
188
190
|
MetadataAttributeValueFilterSensitiveLog: () => MetadataAttributeValueFilterSensitiveLog,
|
|
189
191
|
MetadataSourceType: () => MetadataSourceType,
|
|
190
192
|
MetadataValueType: () => MetadataValueType,
|
|
193
|
+
NeptuneAnalyticsConfigurationFilterSensitiveLog: () => NeptuneAnalyticsConfigurationFilterSensitiveLog,
|
|
191
194
|
OrchestrationExecutor: () => OrchestrationExecutor,
|
|
192
195
|
OrchestrationType: () => OrchestrationType,
|
|
193
196
|
ParsingModality: () => ParsingModality,
|
|
@@ -239,6 +242,7 @@ __export(src_exports, {
|
|
|
239
242
|
StartIngestionJobCommand: () => StartIngestionJobCommand,
|
|
240
243
|
StepType: () => StepType,
|
|
241
244
|
StopIngestionJobCommand: () => StopIngestionJobCommand,
|
|
245
|
+
StorageConfigurationFilterSensitiveLog: () => StorageConfigurationFilterSensitiveLog,
|
|
242
246
|
StorageFlowNodeServiceConfiguration: () => StorageFlowNodeServiceConfiguration,
|
|
243
247
|
SupplementalDataStorageLocationType: () => SupplementalDataStorageLocationType,
|
|
244
248
|
SystemContentBlock: () => SystemContentBlock,
|
|
@@ -556,7 +560,10 @@ var FunctionSchema;
|
|
|
556
560
|
})(FunctionSchema || (FunctionSchema = {}));
|
|
557
561
|
var ActionGroupSignature = {
|
|
558
562
|
AMAZON_CODEINTERPRETER: "AMAZON.CodeInterpreter",
|
|
559
|
-
AMAZON_USERINPUT: "AMAZON.UserInput"
|
|
563
|
+
AMAZON_USERINPUT: "AMAZON.UserInput",
|
|
564
|
+
ANTHROPIC_BASH: "ANTHROPIC.Bash",
|
|
565
|
+
ANTHROPIC_COMPUTER: "ANTHROPIC.Computer",
|
|
566
|
+
ANTHROPIC_TEXTEDITOR: "ANTHROPIC.TextEditor"
|
|
560
567
|
};
|
|
561
568
|
var InternalServerException = class _InternalServerException extends BedrockAgentServiceException {
|
|
562
569
|
static {
|
|
@@ -758,6 +765,12 @@ var ChunkingStrategy = {
|
|
|
758
765
|
NONE: "NONE",
|
|
759
766
|
SEMANTIC: "SEMANTIC"
|
|
760
767
|
};
|
|
768
|
+
var EnrichmentStrategyMethod = {
|
|
769
|
+
CHUNK_ENTITY_EXTRACTION: "CHUNK_ENTITY_EXTRACTION"
|
|
770
|
+
};
|
|
771
|
+
var ContextEnrichmentType = {
|
|
772
|
+
BEDROCK_FOUNDATION_MODEL: "BEDROCK_FOUNDATION_MODEL"
|
|
773
|
+
};
|
|
761
774
|
var StepType = {
|
|
762
775
|
POST_CHUNKING: "POST_CHUNKING"
|
|
763
776
|
};
|
|
@@ -1064,24 +1077,6 @@ var SortOrder = {
|
|
|
1064
1077
|
ASCENDING: "ASCENDING",
|
|
1065
1078
|
DESCENDING: "DESCENDING"
|
|
1066
1079
|
};
|
|
1067
|
-
var ContentDataSourceType = {
|
|
1068
|
-
CUSTOM: "CUSTOM",
|
|
1069
|
-
S3: "S3"
|
|
1070
|
-
};
|
|
1071
|
-
var DocumentStatus = {
|
|
1072
|
-
DELETE_IN_PROGRESS: "DELETE_IN_PROGRESS",
|
|
1073
|
-
DELETING: "DELETING",
|
|
1074
|
-
FAILED: "FAILED",
|
|
1075
|
-
IGNORED: "IGNORED",
|
|
1076
|
-
INDEXED: "INDEXED",
|
|
1077
|
-
IN_PROGRESS: "IN_PROGRESS",
|
|
1078
|
-
METADATA_PARTIALLY_INDEXED: "METADATA_PARTIALLY_INDEXED",
|
|
1079
|
-
METADATA_UPDATE_FAILED: "METADATA_UPDATE_FAILED",
|
|
1080
|
-
NOT_FOUND: "NOT_FOUND",
|
|
1081
|
-
PARTIALLY_INDEXED: "PARTIALLY_INDEXED",
|
|
1082
|
-
PENDING: "PENDING",
|
|
1083
|
-
STARTING: "STARTING"
|
|
1084
|
-
};
|
|
1085
1080
|
var APISchemaFilterSensitiveLog = /* @__PURE__ */ __name((obj) => {
|
|
1086
1081
|
if (obj.s3 !== void 0)
|
|
1087
1082
|
return { s3: obj.s3 };
|
|
@@ -1632,7 +1627,8 @@ var se_CreateAgentActionGroupCommand = /* @__PURE__ */ __name(async (input, cont
|
|
|
1632
1627
|
clientToken: [true, (_) => _ ?? (0, import_uuid.v4)()],
|
|
1633
1628
|
description: [],
|
|
1634
1629
|
functionSchema: (_) => (0, import_smithy_client._json)(_),
|
|
1635
|
-
parentActionGroupSignature: []
|
|
1630
|
+
parentActionGroupSignature: [],
|
|
1631
|
+
parentActionGroupSignatureParams: (_) => (0, import_smithy_client._json)(_)
|
|
1636
1632
|
})
|
|
1637
1633
|
);
|
|
1638
1634
|
b.m("PUT").h(headers).b(body);
|
|
@@ -2477,7 +2473,8 @@ var se_UpdateAgentActionGroupCommand = /* @__PURE__ */ __name(async (input, cont
|
|
|
2477
2473
|
apiSchema: (_) => (0, import_smithy_client._json)(_),
|
|
2478
2474
|
description: [],
|
|
2479
2475
|
functionSchema: (_) => (0, import_smithy_client._json)(_),
|
|
2480
|
-
parentActionGroupSignature: []
|
|
2476
|
+
parentActionGroupSignature: [],
|
|
2477
|
+
parentActionGroupSignatureParams: (_) => (0, import_smithy_client._json)(_)
|
|
2481
2478
|
})
|
|
2482
2479
|
);
|
|
2483
2480
|
b.m("PUT").h(headers).b(body);
|
|
@@ -4203,6 +4200,7 @@ var de_AgentActionGroup = /* @__PURE__ */ __name((output, context) => {
|
|
|
4203
4200
|
createdAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
|
|
4204
4201
|
description: import_smithy_client.expectString,
|
|
4205
4202
|
functionSchema: (_) => (0, import_smithy_client._json)((0, import_core2.awsExpectUnion)(_)),
|
|
4203
|
+
parentActionGroupSignatureParams: import_smithy_client._json,
|
|
4206
4204
|
parentActionSignature: import_smithy_client.expectString,
|
|
4207
4205
|
updatedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_))
|
|
4208
4206
|
});
|
|
@@ -4940,6 +4938,24 @@ var CreateFlowVersionCommand = class extends import_smithy_client.Command.classB
|
|
|
4940
4938
|
|
|
4941
4939
|
// src/models/models_1.ts
|
|
4942
4940
|
|
|
4941
|
+
var ContentDataSourceType = {
|
|
4942
|
+
CUSTOM: "CUSTOM",
|
|
4943
|
+
S3: "S3"
|
|
4944
|
+
};
|
|
4945
|
+
var DocumentStatus = {
|
|
4946
|
+
DELETE_IN_PROGRESS: "DELETE_IN_PROGRESS",
|
|
4947
|
+
DELETING: "DELETING",
|
|
4948
|
+
FAILED: "FAILED",
|
|
4949
|
+
IGNORED: "IGNORED",
|
|
4950
|
+
INDEXED: "INDEXED",
|
|
4951
|
+
IN_PROGRESS: "IN_PROGRESS",
|
|
4952
|
+
METADATA_PARTIALLY_INDEXED: "METADATA_PARTIALLY_INDEXED",
|
|
4953
|
+
METADATA_UPDATE_FAILED: "METADATA_UPDATE_FAILED",
|
|
4954
|
+
NOT_FOUND: "NOT_FOUND",
|
|
4955
|
+
PARTIALLY_INDEXED: "PARTIALLY_INDEXED",
|
|
4956
|
+
PENDING: "PENDING",
|
|
4957
|
+
STARTING: "STARTING"
|
|
4958
|
+
};
|
|
4943
4959
|
var InlineContentType = {
|
|
4944
4960
|
BYTE: "BYTE",
|
|
4945
4961
|
TEXT: "TEXT"
|
|
@@ -4996,6 +5012,7 @@ var SupplementalDataStorageLocationType = {
|
|
|
4996
5012
|
};
|
|
4997
5013
|
var KnowledgeBaseStorageType = {
|
|
4998
5014
|
MONGO_DB_ATLAS: "MONGO_DB_ATLAS",
|
|
5015
|
+
NEPTUNE_ANALYTICS: "NEPTUNE_ANALYTICS",
|
|
4999
5016
|
OPENSEARCH_SERVERLESS: "OPENSEARCH_SERVERLESS",
|
|
5000
5017
|
PINECONE: "PINECONE",
|
|
5001
5018
|
RDS: "RDS",
|
|
@@ -5089,16 +5106,32 @@ var KnowledgeBaseConfigurationFilterSensitiveLog = /* @__PURE__ */ __name((obj)
|
|
|
5089
5106
|
sqlKnowledgeBaseConfiguration: SqlKnowledgeBaseConfigurationFilterSensitiveLog(obj.sqlKnowledgeBaseConfiguration)
|
|
5090
5107
|
}
|
|
5091
5108
|
}), "KnowledgeBaseConfigurationFilterSensitiveLog");
|
|
5109
|
+
var NeptuneAnalyticsConfigurationFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
5110
|
+
...obj,
|
|
5111
|
+
...obj.graphArn && { graphArn: import_smithy_client.SENSITIVE_STRING }
|
|
5112
|
+
}), "NeptuneAnalyticsConfigurationFilterSensitiveLog");
|
|
5113
|
+
var StorageConfigurationFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
5114
|
+
...obj,
|
|
5115
|
+
...obj.neptuneAnalyticsConfiguration && {
|
|
5116
|
+
neptuneAnalyticsConfiguration: NeptuneAnalyticsConfigurationFilterSensitiveLog(obj.neptuneAnalyticsConfiguration)
|
|
5117
|
+
}
|
|
5118
|
+
}), "StorageConfigurationFilterSensitiveLog");
|
|
5092
5119
|
var CreateKnowledgeBaseRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
5093
5120
|
...obj,
|
|
5094
5121
|
...obj.knowledgeBaseConfiguration && {
|
|
5095
5122
|
knowledgeBaseConfiguration: KnowledgeBaseConfigurationFilterSensitiveLog(obj.knowledgeBaseConfiguration)
|
|
5123
|
+
},
|
|
5124
|
+
...obj.storageConfiguration && {
|
|
5125
|
+
storageConfiguration: StorageConfigurationFilterSensitiveLog(obj.storageConfiguration)
|
|
5096
5126
|
}
|
|
5097
5127
|
}), "CreateKnowledgeBaseRequestFilterSensitiveLog");
|
|
5098
5128
|
var KnowledgeBaseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
5099
5129
|
...obj,
|
|
5100
5130
|
...obj.knowledgeBaseConfiguration && {
|
|
5101
5131
|
knowledgeBaseConfiguration: KnowledgeBaseConfigurationFilterSensitiveLog(obj.knowledgeBaseConfiguration)
|
|
5132
|
+
},
|
|
5133
|
+
...obj.storageConfiguration && {
|
|
5134
|
+
storageConfiguration: StorageConfigurationFilterSensitiveLog(obj.storageConfiguration)
|
|
5102
5135
|
}
|
|
5103
5136
|
}), "KnowledgeBaseFilterSensitiveLog");
|
|
5104
5137
|
var CreateKnowledgeBaseResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
@@ -5113,6 +5146,9 @@ var UpdateKnowledgeBaseRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj)
|
|
|
5113
5146
|
...obj,
|
|
5114
5147
|
...obj.knowledgeBaseConfiguration && {
|
|
5115
5148
|
knowledgeBaseConfiguration: KnowledgeBaseConfigurationFilterSensitiveLog(obj.knowledgeBaseConfiguration)
|
|
5149
|
+
},
|
|
5150
|
+
...obj.storageConfiguration && {
|
|
5151
|
+
storageConfiguration: StorageConfigurationFilterSensitiveLog(obj.storageConfiguration)
|
|
5116
5152
|
}
|
|
5117
5153
|
}), "UpdateKnowledgeBaseRequestFilterSensitiveLog");
|
|
5118
5154
|
var UpdateKnowledgeBaseResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
@@ -6388,6 +6424,8 @@ var paginateListPrompts = (0, import_core.createPaginator)(BedrockAgentClient, L
|
|
|
6388
6424
|
DataSourceType,
|
|
6389
6425
|
WebScopeType,
|
|
6390
6426
|
ChunkingStrategy,
|
|
6427
|
+
EnrichmentStrategyMethod,
|
|
6428
|
+
ContextEnrichmentType,
|
|
6391
6429
|
StepType,
|
|
6392
6430
|
ParsingModality,
|
|
6393
6431
|
ParsingStrategy,
|
|
@@ -6419,8 +6457,6 @@ var paginateListPrompts = (0, import_core.createPaginator)(BedrockAgentClient, L
|
|
|
6419
6457
|
IngestionJobFilterOperator,
|
|
6420
6458
|
IngestionJobSortByAttribute,
|
|
6421
6459
|
SortOrder,
|
|
6422
|
-
ContentDataSourceType,
|
|
6423
|
-
DocumentStatus,
|
|
6424
6460
|
APISchemaFilterSensitiveLog,
|
|
6425
6461
|
CreateAgentActionGroupRequestFilterSensitiveLog,
|
|
6426
6462
|
AgentActionGroupFilterSensitiveLog,
|
|
@@ -6491,6 +6527,8 @@ var paginateListPrompts = (0, import_core.createPaginator)(BedrockAgentClient, L
|
|
|
6491
6527
|
GetFlowResponseFilterSensitiveLog,
|
|
6492
6528
|
UpdateFlowRequestFilterSensitiveLog,
|
|
6493
6529
|
UpdateFlowResponseFilterSensitiveLog,
|
|
6530
|
+
ContentDataSourceType,
|
|
6531
|
+
DocumentStatus,
|
|
6494
6532
|
InlineContentType,
|
|
6495
6533
|
CustomSourceType,
|
|
6496
6534
|
MetadataValueType,
|
|
@@ -6522,6 +6560,8 @@ var paginateListPrompts = (0, import_core.createPaginator)(BedrockAgentClient, L
|
|
|
6522
6560
|
RedshiftConfigurationFilterSensitiveLog,
|
|
6523
6561
|
SqlKnowledgeBaseConfigurationFilterSensitiveLog,
|
|
6524
6562
|
KnowledgeBaseConfigurationFilterSensitiveLog,
|
|
6563
|
+
NeptuneAnalyticsConfigurationFilterSensitiveLog,
|
|
6564
|
+
StorageConfigurationFilterSensitiveLog,
|
|
6525
6565
|
CreateKnowledgeBaseRequestFilterSensitiveLog,
|
|
6526
6566
|
KnowledgeBaseFilterSensitiveLog,
|
|
6527
6567
|
CreateKnowledgeBaseResponseFilterSensitiveLog,
|
|
@@ -73,6 +73,9 @@ export var FunctionSchema;
|
|
|
73
73
|
export const ActionGroupSignature = {
|
|
74
74
|
AMAZON_CODEINTERPRETER: "AMAZON.CodeInterpreter",
|
|
75
75
|
AMAZON_USERINPUT: "AMAZON.UserInput",
|
|
76
|
+
ANTHROPIC_BASH: "ANTHROPIC.Bash",
|
|
77
|
+
ANTHROPIC_COMPUTER: "ANTHROPIC.Computer",
|
|
78
|
+
ANTHROPIC_TEXTEDITOR: "ANTHROPIC.TextEditor",
|
|
76
79
|
};
|
|
77
80
|
export class InternalServerException extends __BaseException {
|
|
78
81
|
name = "InternalServerException";
|
|
@@ -240,6 +243,12 @@ export const ChunkingStrategy = {
|
|
|
240
243
|
NONE: "NONE",
|
|
241
244
|
SEMANTIC: "SEMANTIC",
|
|
242
245
|
};
|
|
246
|
+
export const EnrichmentStrategyMethod = {
|
|
247
|
+
CHUNK_ENTITY_EXTRACTION: "CHUNK_ENTITY_EXTRACTION",
|
|
248
|
+
};
|
|
249
|
+
export const ContextEnrichmentType = {
|
|
250
|
+
BEDROCK_FOUNDATION_MODEL: "BEDROCK_FOUNDATION_MODEL",
|
|
251
|
+
};
|
|
243
252
|
export const StepType = {
|
|
244
253
|
POST_CHUNKING: "POST_CHUNKING",
|
|
245
254
|
};
|
|
@@ -546,24 +555,6 @@ export const SortOrder = {
|
|
|
546
555
|
ASCENDING: "ASCENDING",
|
|
547
556
|
DESCENDING: "DESCENDING",
|
|
548
557
|
};
|
|
549
|
-
export const ContentDataSourceType = {
|
|
550
|
-
CUSTOM: "CUSTOM",
|
|
551
|
-
S3: "S3",
|
|
552
|
-
};
|
|
553
|
-
export const DocumentStatus = {
|
|
554
|
-
DELETE_IN_PROGRESS: "DELETE_IN_PROGRESS",
|
|
555
|
-
DELETING: "DELETING",
|
|
556
|
-
FAILED: "FAILED",
|
|
557
|
-
IGNORED: "IGNORED",
|
|
558
|
-
INDEXED: "INDEXED",
|
|
559
|
-
IN_PROGRESS: "IN_PROGRESS",
|
|
560
|
-
METADATA_PARTIALLY_INDEXED: "METADATA_PARTIALLY_INDEXED",
|
|
561
|
-
METADATA_UPDATE_FAILED: "METADATA_UPDATE_FAILED",
|
|
562
|
-
NOT_FOUND: "NOT_FOUND",
|
|
563
|
-
PARTIALLY_INDEXED: "PARTIALLY_INDEXED",
|
|
564
|
-
PENDING: "PENDING",
|
|
565
|
-
STARTING: "STARTING",
|
|
566
|
-
};
|
|
567
558
|
export const APISchemaFilterSensitiveLog = (obj) => {
|
|
568
559
|
if (obj.s3 !== undefined)
|
|
569
560
|
return { s3: obj.s3 };
|
|
@@ -1,5 +1,23 @@
|
|
|
1
1
|
import { SENSITIVE_STRING } from "@smithy/smithy-client";
|
|
2
2
|
import { AgentVersionFilterSensitiveLog, FlowValidationFilterSensitiveLog, PromptTemplateConfigurationFilterSensitiveLog, } from "./models_0";
|
|
3
|
+
export const ContentDataSourceType = {
|
|
4
|
+
CUSTOM: "CUSTOM",
|
|
5
|
+
S3: "S3",
|
|
6
|
+
};
|
|
7
|
+
export const DocumentStatus = {
|
|
8
|
+
DELETE_IN_PROGRESS: "DELETE_IN_PROGRESS",
|
|
9
|
+
DELETING: "DELETING",
|
|
10
|
+
FAILED: "FAILED",
|
|
11
|
+
IGNORED: "IGNORED",
|
|
12
|
+
INDEXED: "INDEXED",
|
|
13
|
+
IN_PROGRESS: "IN_PROGRESS",
|
|
14
|
+
METADATA_PARTIALLY_INDEXED: "METADATA_PARTIALLY_INDEXED",
|
|
15
|
+
METADATA_UPDATE_FAILED: "METADATA_UPDATE_FAILED",
|
|
16
|
+
NOT_FOUND: "NOT_FOUND",
|
|
17
|
+
PARTIALLY_INDEXED: "PARTIALLY_INDEXED",
|
|
18
|
+
PENDING: "PENDING",
|
|
19
|
+
STARTING: "STARTING",
|
|
20
|
+
};
|
|
3
21
|
export const InlineContentType = {
|
|
4
22
|
BYTE: "BYTE",
|
|
5
23
|
TEXT: "TEXT",
|
|
@@ -56,6 +74,7 @@ export const SupplementalDataStorageLocationType = {
|
|
|
56
74
|
};
|
|
57
75
|
export const KnowledgeBaseStorageType = {
|
|
58
76
|
MONGO_DB_ATLAS: "MONGO_DB_ATLAS",
|
|
77
|
+
NEPTUNE_ANALYTICS: "NEPTUNE_ANALYTICS",
|
|
59
78
|
OPENSEARCH_SERVERLESS: "OPENSEARCH_SERVERLESS",
|
|
60
79
|
PINECONE: "PINECONE",
|
|
61
80
|
RDS: "RDS",
|
|
@@ -149,17 +168,33 @@ export const KnowledgeBaseConfigurationFilterSensitiveLog = (obj) => ({
|
|
|
149
168
|
sqlKnowledgeBaseConfiguration: SqlKnowledgeBaseConfigurationFilterSensitiveLog(obj.sqlKnowledgeBaseConfiguration),
|
|
150
169
|
}),
|
|
151
170
|
});
|
|
171
|
+
export const NeptuneAnalyticsConfigurationFilterSensitiveLog = (obj) => ({
|
|
172
|
+
...obj,
|
|
173
|
+
...(obj.graphArn && { graphArn: SENSITIVE_STRING }),
|
|
174
|
+
});
|
|
175
|
+
export const StorageConfigurationFilterSensitiveLog = (obj) => ({
|
|
176
|
+
...obj,
|
|
177
|
+
...(obj.neptuneAnalyticsConfiguration && {
|
|
178
|
+
neptuneAnalyticsConfiguration: NeptuneAnalyticsConfigurationFilterSensitiveLog(obj.neptuneAnalyticsConfiguration),
|
|
179
|
+
}),
|
|
180
|
+
});
|
|
152
181
|
export const CreateKnowledgeBaseRequestFilterSensitiveLog = (obj) => ({
|
|
153
182
|
...obj,
|
|
154
183
|
...(obj.knowledgeBaseConfiguration && {
|
|
155
184
|
knowledgeBaseConfiguration: KnowledgeBaseConfigurationFilterSensitiveLog(obj.knowledgeBaseConfiguration),
|
|
156
185
|
}),
|
|
186
|
+
...(obj.storageConfiguration && {
|
|
187
|
+
storageConfiguration: StorageConfigurationFilterSensitiveLog(obj.storageConfiguration),
|
|
188
|
+
}),
|
|
157
189
|
});
|
|
158
190
|
export const KnowledgeBaseFilterSensitiveLog = (obj) => ({
|
|
159
191
|
...obj,
|
|
160
192
|
...(obj.knowledgeBaseConfiguration && {
|
|
161
193
|
knowledgeBaseConfiguration: KnowledgeBaseConfigurationFilterSensitiveLog(obj.knowledgeBaseConfiguration),
|
|
162
194
|
}),
|
|
195
|
+
...(obj.storageConfiguration && {
|
|
196
|
+
storageConfiguration: StorageConfigurationFilterSensitiveLog(obj.storageConfiguration),
|
|
197
|
+
}),
|
|
163
198
|
});
|
|
164
199
|
export const CreateKnowledgeBaseResponseFilterSensitiveLog = (obj) => ({
|
|
165
200
|
...obj,
|
|
@@ -174,6 +209,9 @@ export const UpdateKnowledgeBaseRequestFilterSensitiveLog = (obj) => ({
|
|
|
174
209
|
...(obj.knowledgeBaseConfiguration && {
|
|
175
210
|
knowledgeBaseConfiguration: KnowledgeBaseConfigurationFilterSensitiveLog(obj.knowledgeBaseConfiguration),
|
|
176
211
|
}),
|
|
212
|
+
...(obj.storageConfiguration && {
|
|
213
|
+
storageConfiguration: StorageConfigurationFilterSensitiveLog(obj.storageConfiguration),
|
|
214
|
+
}),
|
|
177
215
|
});
|
|
178
216
|
export const UpdateKnowledgeBaseResponseFilterSensitiveLog = (obj) => ({
|
|
179
217
|
...obj,
|
|
@@ -85,6 +85,7 @@ export const se_CreateAgentActionGroupCommand = async (input, context) => {
|
|
|
85
85
|
description: [],
|
|
86
86
|
functionSchema: (_) => _json(_),
|
|
87
87
|
parentActionGroupSignature: [],
|
|
88
|
+
parentActionGroupSignatureParams: (_) => _json(_),
|
|
88
89
|
}));
|
|
89
90
|
b.m("PUT").h(headers).b(body);
|
|
90
91
|
return b.build();
|
|
@@ -880,6 +881,7 @@ export const se_UpdateAgentActionGroupCommand = async (input, context) => {
|
|
|
880
881
|
description: [],
|
|
881
882
|
functionSchema: (_) => _json(_),
|
|
882
883
|
parentActionGroupSignature: [],
|
|
884
|
+
parentActionGroupSignatureParams: (_) => _json(_),
|
|
883
885
|
}));
|
|
884
886
|
b.m("PUT").h(headers).b(body);
|
|
885
887
|
return b.build();
|
|
@@ -2600,6 +2602,7 @@ const de_AgentActionGroup = (output, context) => {
|
|
|
2600
2602
|
createdAt: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
2601
2603
|
description: __expectString,
|
|
2602
2604
|
functionSchema: (_) => _json(__expectUnion(_)),
|
|
2605
|
+
parentActionGroupSignatureParams: _json,
|
|
2603
2606
|
parentActionSignature: __expectString,
|
|
2604
2607
|
updatedAt: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
2605
2608
|
});
|
|
@@ -45,7 +45,10 @@ declare const CreateAgentActionGroupCommand_base: {
|
|
|
45
45
|
* actionGroupName: "STRING_VALUE", // required
|
|
46
46
|
* clientToken: "STRING_VALUE",
|
|
47
47
|
* description: "STRING_VALUE",
|
|
48
|
-
* parentActionGroupSignature: "AMAZON.UserInput" || "AMAZON.CodeInterpreter",
|
|
48
|
+
* parentActionGroupSignature: "AMAZON.UserInput" || "AMAZON.CodeInterpreter" || "ANTHROPIC.Computer" || "ANTHROPIC.Bash" || "ANTHROPIC.TextEditor",
|
|
49
|
+
* parentActionGroupSignatureParams: { // ActionGroupSignatureParams
|
|
50
|
+
* "<keys>": "STRING_VALUE",
|
|
51
|
+
* },
|
|
49
52
|
* actionGroupExecutor: { // ActionGroupExecutor Union: only one key present
|
|
50
53
|
* lambda: "STRING_VALUE",
|
|
51
54
|
* customControl: "RETURN_CONTROL",
|
|
@@ -87,7 +90,10 @@ declare const CreateAgentActionGroupCommand_base: {
|
|
|
87
90
|
* // description: "STRING_VALUE",
|
|
88
91
|
* // createdAt: new Date("TIMESTAMP"), // required
|
|
89
92
|
* // updatedAt: new Date("TIMESTAMP"), // required
|
|
90
|
-
* // parentActionSignature: "AMAZON.UserInput" || "AMAZON.CodeInterpreter",
|
|
93
|
+
* // parentActionSignature: "AMAZON.UserInput" || "AMAZON.CodeInterpreter" || "ANTHROPIC.Computer" || "ANTHROPIC.Bash" || "ANTHROPIC.TextEditor",
|
|
94
|
+
* // parentActionGroupSignatureParams: { // ActionGroupSignatureParams
|
|
95
|
+
* // "<keys>": "STRING_VALUE",
|
|
96
|
+
* // },
|
|
91
97
|
* // actionGroupExecutor: { // ActionGroupExecutor Union: only one key present
|
|
92
98
|
* // lambda: "STRING_VALUE",
|
|
93
99
|
* // customControl: "RETURN_CONTROL",
|
|
@@ -208,6 +208,15 @@ declare const CreateDataSourceCommand_base: {
|
|
|
208
208
|
* parsingModality: "MULTIMODAL",
|
|
209
209
|
* },
|
|
210
210
|
* },
|
|
211
|
+
* contextEnrichmentConfiguration: { // ContextEnrichmentConfiguration
|
|
212
|
+
* type: "BEDROCK_FOUNDATION_MODEL", // required
|
|
213
|
+
* bedrockFoundationModelConfiguration: { // BedrockFoundationModelContextEnrichmentConfiguration
|
|
214
|
+
* enrichmentStrategyConfiguration: { // EnrichmentStrategyConfiguration
|
|
215
|
+
* method: "CHUNK_ENTITY_EXTRACTION", // required
|
|
216
|
+
* },
|
|
217
|
+
* modelArn: "STRING_VALUE", // required
|
|
218
|
+
* },
|
|
219
|
+
* },
|
|
211
220
|
* },
|
|
212
221
|
* };
|
|
213
222
|
* const command = new CreateDataSourceCommand(input);
|
|
@@ -384,6 +393,15 @@ declare const CreateDataSourceCommand_base: {
|
|
|
384
393
|
* // parsingModality: "MULTIMODAL",
|
|
385
394
|
* // },
|
|
386
395
|
* // },
|
|
396
|
+
* // contextEnrichmentConfiguration: { // ContextEnrichmentConfiguration
|
|
397
|
+
* // type: "BEDROCK_FOUNDATION_MODEL", // required
|
|
398
|
+
* // bedrockFoundationModelConfiguration: { // BedrockFoundationModelContextEnrichmentConfiguration
|
|
399
|
+
* // enrichmentStrategyConfiguration: { // EnrichmentStrategyConfiguration
|
|
400
|
+
* // method: "CHUNK_ENTITY_EXTRACTION", // required
|
|
401
|
+
* // },
|
|
402
|
+
* // modelArn: "STRING_VALUE", // required
|
|
403
|
+
* // },
|
|
404
|
+
* // },
|
|
387
405
|
* // },
|
|
388
406
|
* // dataDeletionPolicy: "RETAIN" || "DELETE",
|
|
389
407
|
* // createdAt: new Date("TIMESTAMP"), // required
|
|
@@ -157,7 +157,7 @@ declare const CreateKnowledgeBaseCommand_base: {
|
|
|
157
157
|
* },
|
|
158
158
|
* },
|
|
159
159
|
* storageConfiguration: { // StorageConfiguration
|
|
160
|
-
* type: "OPENSEARCH_SERVERLESS" || "PINECONE" || "REDIS_ENTERPRISE_CLOUD" || "RDS" || "MONGO_DB_ATLAS", // required
|
|
160
|
+
* type: "OPENSEARCH_SERVERLESS" || "PINECONE" || "REDIS_ENTERPRISE_CLOUD" || "RDS" || "MONGO_DB_ATLAS" || "NEPTUNE_ANALYTICS", // required
|
|
161
161
|
* opensearchServerlessConfiguration: { // OpenSearchServerlessConfiguration
|
|
162
162
|
* collectionArn: "STRING_VALUE", // required
|
|
163
163
|
* vectorIndexName: "STRING_VALUE", // required
|
|
@@ -211,6 +211,13 @@ declare const CreateKnowledgeBaseCommand_base: {
|
|
|
211
211
|
* },
|
|
212
212
|
* endpointServiceName: "STRING_VALUE",
|
|
213
213
|
* },
|
|
214
|
+
* neptuneAnalyticsConfiguration: { // NeptuneAnalyticsConfiguration
|
|
215
|
+
* graphArn: "STRING_VALUE", // required
|
|
216
|
+
* fieldMapping: { // NeptuneAnalyticsFieldMapping
|
|
217
|
+
* textField: "STRING_VALUE", // required
|
|
218
|
+
* metadataField: "STRING_VALUE", // required
|
|
219
|
+
* },
|
|
220
|
+
* },
|
|
214
221
|
* },
|
|
215
222
|
* tags: { // TagsMap
|
|
216
223
|
* "<keys>": "STRING_VALUE",
|
|
@@ -312,7 +319,7 @@ declare const CreateKnowledgeBaseCommand_base: {
|
|
|
312
319
|
* // },
|
|
313
320
|
* // },
|
|
314
321
|
* // storageConfiguration: { // StorageConfiguration
|
|
315
|
-
* // type: "OPENSEARCH_SERVERLESS" || "PINECONE" || "REDIS_ENTERPRISE_CLOUD" || "RDS" || "MONGO_DB_ATLAS", // required
|
|
322
|
+
* // type: "OPENSEARCH_SERVERLESS" || "PINECONE" || "REDIS_ENTERPRISE_CLOUD" || "RDS" || "MONGO_DB_ATLAS" || "NEPTUNE_ANALYTICS", // required
|
|
316
323
|
* // opensearchServerlessConfiguration: { // OpenSearchServerlessConfiguration
|
|
317
324
|
* // collectionArn: "STRING_VALUE", // required
|
|
318
325
|
* // vectorIndexName: "STRING_VALUE", // required
|
|
@@ -366,6 +373,13 @@ declare const CreateKnowledgeBaseCommand_base: {
|
|
|
366
373
|
* // },
|
|
367
374
|
* // endpointServiceName: "STRING_VALUE",
|
|
368
375
|
* // },
|
|
376
|
+
* // neptuneAnalyticsConfiguration: { // NeptuneAnalyticsConfiguration
|
|
377
|
+
* // graphArn: "STRING_VALUE", // required
|
|
378
|
+
* // fieldMapping: { // NeptuneAnalyticsFieldMapping
|
|
379
|
+
* // textField: "STRING_VALUE", // required
|
|
380
|
+
* // metadataField: "STRING_VALUE", // required
|
|
381
|
+
* // },
|
|
382
|
+
* // },
|
|
369
383
|
* // },
|
|
370
384
|
* // status: "CREATING" || "ACTIVE" || "DELETING" || "UPDATING" || "FAILED" || "DELETE_UNSUCCESSFUL", // required
|
|
371
385
|
* // createdAt: new Date("TIMESTAMP"), // required
|
|
@@ -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 { DeleteKnowledgeBaseDocumentsRequest } from "../models/
|
|
5
|
-
import { DeleteKnowledgeBaseDocumentsResponse } from "../models/models_1";
|
|
4
|
+
import { DeleteKnowledgeBaseDocumentsRequest, DeleteKnowledgeBaseDocumentsResponse } from "../models/models_1";
|
|
6
5
|
/**
|
|
7
6
|
* @public
|
|
8
7
|
*/
|
|
@@ -51,7 +51,10 @@ declare const GetAgentActionGroupCommand_base: {
|
|
|
51
51
|
* // description: "STRING_VALUE",
|
|
52
52
|
* // createdAt: new Date("TIMESTAMP"), // required
|
|
53
53
|
* // updatedAt: new Date("TIMESTAMP"), // required
|
|
54
|
-
* // parentActionSignature: "AMAZON.UserInput" || "AMAZON.CodeInterpreter",
|
|
54
|
+
* // parentActionSignature: "AMAZON.UserInput" || "AMAZON.CodeInterpreter" || "ANTHROPIC.Computer" || "ANTHROPIC.Bash" || "ANTHROPIC.TextEditor",
|
|
55
|
+
* // parentActionGroupSignatureParams: { // ActionGroupSignatureParams
|
|
56
|
+
* // "<keys>": "STRING_VALUE",
|
|
57
|
+
* // },
|
|
55
58
|
* // actionGroupExecutor: { // ActionGroupExecutor Union: only one key present
|
|
56
59
|
* // lambda: "STRING_VALUE",
|
|
57
60
|
* // customControl: "RETURN_CONTROL",
|
|
@@ -212,6 +212,15 @@ declare const GetDataSourceCommand_base: {
|
|
|
212
212
|
* // parsingModality: "MULTIMODAL",
|
|
213
213
|
* // },
|
|
214
214
|
* // },
|
|
215
|
+
* // contextEnrichmentConfiguration: { // ContextEnrichmentConfiguration
|
|
216
|
+
* // type: "BEDROCK_FOUNDATION_MODEL", // required
|
|
217
|
+
* // bedrockFoundationModelConfiguration: { // BedrockFoundationModelContextEnrichmentConfiguration
|
|
218
|
+
* // enrichmentStrategyConfiguration: { // EnrichmentStrategyConfiguration
|
|
219
|
+
* // method: "CHUNK_ENTITY_EXTRACTION", // required
|
|
220
|
+
* // },
|
|
221
|
+
* // modelArn: "STRING_VALUE", // required
|
|
222
|
+
* // },
|
|
223
|
+
* // },
|
|
215
224
|
* // },
|
|
216
225
|
* // dataDeletionPolicy: "RETAIN" || "DELETE",
|
|
217
226
|
* // createdAt: new Date("TIMESTAMP"), // required
|
|
@@ -133,7 +133,7 @@ declare const GetKnowledgeBaseCommand_base: {
|
|
|
133
133
|
* // },
|
|
134
134
|
* // },
|
|
135
135
|
* // storageConfiguration: { // StorageConfiguration
|
|
136
|
-
* // type: "OPENSEARCH_SERVERLESS" || "PINECONE" || "REDIS_ENTERPRISE_CLOUD" || "RDS" || "MONGO_DB_ATLAS", // required
|
|
136
|
+
* // type: "OPENSEARCH_SERVERLESS" || "PINECONE" || "REDIS_ENTERPRISE_CLOUD" || "RDS" || "MONGO_DB_ATLAS" || "NEPTUNE_ANALYTICS", // required
|
|
137
137
|
* // opensearchServerlessConfiguration: { // OpenSearchServerlessConfiguration
|
|
138
138
|
* // collectionArn: "STRING_VALUE", // required
|
|
139
139
|
* // vectorIndexName: "STRING_VALUE", // required
|
|
@@ -187,6 +187,13 @@ declare const GetKnowledgeBaseCommand_base: {
|
|
|
187
187
|
* // },
|
|
188
188
|
* // endpointServiceName: "STRING_VALUE",
|
|
189
189
|
* // },
|
|
190
|
+
* // neptuneAnalyticsConfiguration: { // NeptuneAnalyticsConfiguration
|
|
191
|
+
* // graphArn: "STRING_VALUE", // required
|
|
192
|
+
* // fieldMapping: { // NeptuneAnalyticsFieldMapping
|
|
193
|
+
* // textField: "STRING_VALUE", // required
|
|
194
|
+
* // metadataField: "STRING_VALUE", // required
|
|
195
|
+
* // },
|
|
196
|
+
* // },
|
|
190
197
|
* // },
|
|
191
198
|
* // status: "CREATING" || "ACTIVE" || "DELETING" || "UPDATING" || "FAILED" || "DELETE_UNSUCCESSFUL", // required
|
|
192
199
|
* // createdAt: new Date("TIMESTAMP"), // required
|
|
@@ -40,7 +40,10 @@ declare const UpdateAgentActionGroupCommand_base: {
|
|
|
40
40
|
* actionGroupId: "STRING_VALUE", // required
|
|
41
41
|
* actionGroupName: "STRING_VALUE", // required
|
|
42
42
|
* description: "STRING_VALUE",
|
|
43
|
-
* parentActionGroupSignature: "AMAZON.UserInput" || "AMAZON.CodeInterpreter",
|
|
43
|
+
* parentActionGroupSignature: "AMAZON.UserInput" || "AMAZON.CodeInterpreter" || "ANTHROPIC.Computer" || "ANTHROPIC.Bash" || "ANTHROPIC.TextEditor",
|
|
44
|
+
* parentActionGroupSignatureParams: { // ActionGroupSignatureParams
|
|
45
|
+
* "<keys>": "STRING_VALUE",
|
|
46
|
+
* },
|
|
44
47
|
* actionGroupExecutor: { // ActionGroupExecutor Union: only one key present
|
|
45
48
|
* lambda: "STRING_VALUE",
|
|
46
49
|
* customControl: "RETURN_CONTROL",
|
|
@@ -82,7 +85,10 @@ declare const UpdateAgentActionGroupCommand_base: {
|
|
|
82
85
|
* // description: "STRING_VALUE",
|
|
83
86
|
* // createdAt: new Date("TIMESTAMP"), // required
|
|
84
87
|
* // updatedAt: new Date("TIMESTAMP"), // required
|
|
85
|
-
* // parentActionSignature: "AMAZON.UserInput" || "AMAZON.CodeInterpreter",
|
|
88
|
+
* // parentActionSignature: "AMAZON.UserInput" || "AMAZON.CodeInterpreter" || "ANTHROPIC.Computer" || "ANTHROPIC.Bash" || "ANTHROPIC.TextEditor",
|
|
89
|
+
* // parentActionGroupSignatureParams: { // ActionGroupSignatureParams
|
|
90
|
+
* // "<keys>": "STRING_VALUE",
|
|
91
|
+
* // },
|
|
86
92
|
* // actionGroupExecutor: { // ActionGroupExecutor Union: only one key present
|
|
87
93
|
* // lambda: "STRING_VALUE",
|
|
88
94
|
* // customControl: "RETURN_CONTROL",
|
|
@@ -208,6 +208,15 @@ declare const UpdateDataSourceCommand_base: {
|
|
|
208
208
|
* parsingModality: "MULTIMODAL",
|
|
209
209
|
* },
|
|
210
210
|
* },
|
|
211
|
+
* contextEnrichmentConfiguration: { // ContextEnrichmentConfiguration
|
|
212
|
+
* type: "BEDROCK_FOUNDATION_MODEL", // required
|
|
213
|
+
* bedrockFoundationModelConfiguration: { // BedrockFoundationModelContextEnrichmentConfiguration
|
|
214
|
+
* enrichmentStrategyConfiguration: { // EnrichmentStrategyConfiguration
|
|
215
|
+
* method: "CHUNK_ENTITY_EXTRACTION", // required
|
|
216
|
+
* },
|
|
217
|
+
* modelArn: "STRING_VALUE", // required
|
|
218
|
+
* },
|
|
219
|
+
* },
|
|
211
220
|
* },
|
|
212
221
|
* };
|
|
213
222
|
* const command = new UpdateDataSourceCommand(input);
|
|
@@ -384,6 +393,15 @@ declare const UpdateDataSourceCommand_base: {
|
|
|
384
393
|
* // parsingModality: "MULTIMODAL",
|
|
385
394
|
* // },
|
|
386
395
|
* // },
|
|
396
|
+
* // contextEnrichmentConfiguration: { // ContextEnrichmentConfiguration
|
|
397
|
+
* // type: "BEDROCK_FOUNDATION_MODEL", // required
|
|
398
|
+
* // bedrockFoundationModelConfiguration: { // BedrockFoundationModelContextEnrichmentConfiguration
|
|
399
|
+
* // enrichmentStrategyConfiguration: { // EnrichmentStrategyConfiguration
|
|
400
|
+
* // method: "CHUNK_ENTITY_EXTRACTION", // required
|
|
401
|
+
* // },
|
|
402
|
+
* // modelArn: "STRING_VALUE", // required
|
|
403
|
+
* // },
|
|
404
|
+
* // },
|
|
387
405
|
* // },
|
|
388
406
|
* // dataDeletionPolicy: "RETAIN" || "DELETE",
|
|
389
407
|
* // createdAt: new Date("TIMESTAMP"), // required
|
|
@@ -145,7 +145,7 @@ declare const UpdateKnowledgeBaseCommand_base: {
|
|
|
145
145
|
* },
|
|
146
146
|
* },
|
|
147
147
|
* storageConfiguration: { // StorageConfiguration
|
|
148
|
-
* type: "OPENSEARCH_SERVERLESS" || "PINECONE" || "REDIS_ENTERPRISE_CLOUD" || "RDS" || "MONGO_DB_ATLAS", // required
|
|
148
|
+
* type: "OPENSEARCH_SERVERLESS" || "PINECONE" || "REDIS_ENTERPRISE_CLOUD" || "RDS" || "MONGO_DB_ATLAS" || "NEPTUNE_ANALYTICS", // required
|
|
149
149
|
* opensearchServerlessConfiguration: { // OpenSearchServerlessConfiguration
|
|
150
150
|
* collectionArn: "STRING_VALUE", // required
|
|
151
151
|
* vectorIndexName: "STRING_VALUE", // required
|
|
@@ -199,6 +199,13 @@ declare const UpdateKnowledgeBaseCommand_base: {
|
|
|
199
199
|
* },
|
|
200
200
|
* endpointServiceName: "STRING_VALUE",
|
|
201
201
|
* },
|
|
202
|
+
* neptuneAnalyticsConfiguration: { // NeptuneAnalyticsConfiguration
|
|
203
|
+
* graphArn: "STRING_VALUE", // required
|
|
204
|
+
* fieldMapping: { // NeptuneAnalyticsFieldMapping
|
|
205
|
+
* textField: "STRING_VALUE", // required
|
|
206
|
+
* metadataField: "STRING_VALUE", // required
|
|
207
|
+
* },
|
|
208
|
+
* },
|
|
202
209
|
* },
|
|
203
210
|
* };
|
|
204
211
|
* const command = new UpdateKnowledgeBaseCommand(input);
|
|
@@ -297,7 +304,7 @@ declare const UpdateKnowledgeBaseCommand_base: {
|
|
|
297
304
|
* // },
|
|
298
305
|
* // },
|
|
299
306
|
* // storageConfiguration: { // StorageConfiguration
|
|
300
|
-
* // type: "OPENSEARCH_SERVERLESS" || "PINECONE" || "REDIS_ENTERPRISE_CLOUD" || "RDS" || "MONGO_DB_ATLAS", // required
|
|
307
|
+
* // type: "OPENSEARCH_SERVERLESS" || "PINECONE" || "REDIS_ENTERPRISE_CLOUD" || "RDS" || "MONGO_DB_ATLAS" || "NEPTUNE_ANALYTICS", // required
|
|
301
308
|
* // opensearchServerlessConfiguration: { // OpenSearchServerlessConfiguration
|
|
302
309
|
* // collectionArn: "STRING_VALUE", // required
|
|
303
310
|
* // vectorIndexName: "STRING_VALUE", // required
|
|
@@ -351,6 +358,13 @@ declare const UpdateKnowledgeBaseCommand_base: {
|
|
|
351
358
|
* // },
|
|
352
359
|
* // endpointServiceName: "STRING_VALUE",
|
|
353
360
|
* // },
|
|
361
|
+
* // neptuneAnalyticsConfiguration: { // NeptuneAnalyticsConfiguration
|
|
362
|
+
* // graphArn: "STRING_VALUE", // required
|
|
363
|
+
* // fieldMapping: { // NeptuneAnalyticsFieldMapping
|
|
364
|
+
* // textField: "STRING_VALUE", // required
|
|
365
|
+
* // metadataField: "STRING_VALUE", // required
|
|
366
|
+
* // },
|
|
367
|
+
* // },
|
|
354
368
|
* // },
|
|
355
369
|
* // status: "CREATING" || "ACTIVE" || "DELETING" || "UPDATING" || "FAILED" || "DELETE_UNSUCCESSFUL", // required
|
|
356
370
|
* // createdAt: new Date("TIMESTAMP"), // required
|