@aws-sdk/client-bedrock-agent 3.705.0 → 3.706.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 CHANGED
@@ -74,6 +74,8 @@ __export(src_exports, {
74
74
  CreateFlowVersionCommand: () => CreateFlowVersionCommand,
75
75
  CreateFlowVersionResponseFilterSensitiveLog: () => CreateFlowVersionResponseFilterSensitiveLog,
76
76
  CreateKnowledgeBaseCommand: () => CreateKnowledgeBaseCommand,
77
+ CreateKnowledgeBaseRequestFilterSensitiveLog: () => CreateKnowledgeBaseRequestFilterSensitiveLog,
78
+ CreateKnowledgeBaseResponseFilterSensitiveLog: () => CreateKnowledgeBaseResponseFilterSensitiveLog,
77
79
  CreatePromptCommand: () => CreatePromptCommand,
78
80
  CreatePromptRequestFilterSensitiveLog: () => CreatePromptRequestFilterSensitiveLog,
79
81
  CreatePromptResponseFilterSensitiveLog: () => CreatePromptResponseFilterSensitiveLog,
@@ -143,8 +145,10 @@ __export(src_exports, {
143
145
  GetIngestionJobCommand: () => GetIngestionJobCommand,
144
146
  GetKnowledgeBaseCommand: () => GetKnowledgeBaseCommand,
145
147
  GetKnowledgeBaseDocumentsCommand: () => GetKnowledgeBaseDocumentsCommand,
148
+ GetKnowledgeBaseResponseFilterSensitiveLog: () => GetKnowledgeBaseResponseFilterSensitiveLog,
146
149
  GetPromptCommand: () => GetPromptCommand,
147
150
  GetPromptResponseFilterSensitiveLog: () => GetPromptResponseFilterSensitiveLog,
151
+ IncludeExclude: () => IncludeExclude,
148
152
  IngestKnowledgeBaseDocumentsCommand: () => IngestKnowledgeBaseDocumentsCommand,
149
153
  IngestKnowledgeBaseDocumentsRequestFilterSensitiveLog: () => IngestKnowledgeBaseDocumentsRequestFilterSensitiveLog,
150
154
  IngestionJobFilterAttribute: () => IngestionJobFilterAttribute,
@@ -154,7 +158,9 @@ __export(src_exports, {
154
158
  InlineContentFilterSensitiveLog: () => InlineContentFilterSensitiveLog,
155
159
  InlineContentType: () => InlineContentType,
156
160
  InternalServerException: () => InternalServerException,
161
+ KnowledgeBaseConfigurationFilterSensitiveLog: () => KnowledgeBaseConfigurationFilterSensitiveLog,
157
162
  KnowledgeBaseDocumentFilterSensitiveLog: () => KnowledgeBaseDocumentFilterSensitiveLog,
163
+ KnowledgeBaseFilterSensitiveLog: () => KnowledgeBaseFilterSensitiveLog,
158
164
  KnowledgeBaseState: () => KnowledgeBaseState,
159
165
  KnowledgeBaseStatus: () => KnowledgeBaseStatus,
160
166
  KnowledgeBaseStorageType: () => KnowledgeBaseStorageType,
@@ -183,6 +189,7 @@ __export(src_exports, {
183
189
  MetadataValueType: () => MetadataValueType,
184
190
  OrchestrationExecutor: () => OrchestrationExecutor,
185
191
  OrchestrationType: () => OrchestrationType,
192
+ ParsingModality: () => ParsingModality,
186
193
  ParsingStrategy: () => ParsingStrategy,
187
194
  PatternObjectFilterConfigurationFilterSensitiveLog: () => PatternObjectFilterConfigurationFilterSensitiveLog,
188
195
  PatternObjectFilterFilterSensitiveLog: () => PatternObjectFilterFilterSensitiveLog,
@@ -205,6 +212,14 @@ __export(src_exports, {
205
212
  PromptTemplateType: () => PromptTemplateType,
206
213
  PromptType: () => PromptType,
207
214
  PromptVariantFilterSensitiveLog: () => PromptVariantFilterSensitiveLog,
215
+ QueryEngineType: () => QueryEngineType,
216
+ QueryGenerationConfigurationFilterSensitiveLog: () => QueryGenerationConfigurationFilterSensitiveLog,
217
+ QueryGenerationContextFilterSensitiveLog: () => QueryGenerationContextFilterSensitiveLog,
218
+ RedshiftConfigurationFilterSensitiveLog: () => RedshiftConfigurationFilterSensitiveLog,
219
+ RedshiftProvisionedAuthType: () => RedshiftProvisionedAuthType,
220
+ RedshiftQueryEngineStorageType: () => RedshiftQueryEngineStorageType,
221
+ RedshiftQueryEngineType: () => RedshiftQueryEngineType,
222
+ RedshiftServerlessAuthType: () => RedshiftServerlessAuthType,
208
223
  RelayConversationHistory: () => RelayConversationHistory,
209
224
  RequireConfirmation: () => RequireConfirmation,
210
225
  ResourceNotFoundException: () => ResourceNotFoundException,
@@ -219,10 +234,12 @@ __export(src_exports, {
219
234
  SharePointDataSourceConfigurationFilterSensitiveLog: () => SharePointDataSourceConfigurationFilterSensitiveLog,
220
235
  SharePointHostType: () => SharePointHostType,
221
236
  SortOrder: () => SortOrder,
237
+ SqlKnowledgeBaseConfigurationFilterSensitiveLog: () => SqlKnowledgeBaseConfigurationFilterSensitiveLog,
222
238
  StartIngestionJobCommand: () => StartIngestionJobCommand,
223
239
  StepType: () => StepType,
224
240
  StopIngestionJobCommand: () => StopIngestionJobCommand,
225
241
  StorageFlowNodeServiceConfiguration: () => StorageFlowNodeServiceConfiguration,
242
+ SupplementalDataStorageLocationType: () => SupplementalDataStorageLocationType,
226
243
  SystemContentBlock: () => SystemContentBlock,
227
244
  SystemContentBlockFilterSensitiveLog: () => SystemContentBlockFilterSensitiveLog,
228
245
  TagResourceCommand: () => TagResourceCommand,
@@ -255,6 +272,8 @@ __export(src_exports, {
255
272
  UpdateFlowRequestFilterSensitiveLog: () => UpdateFlowRequestFilterSensitiveLog,
256
273
  UpdateFlowResponseFilterSensitiveLog: () => UpdateFlowResponseFilterSensitiveLog,
257
274
  UpdateKnowledgeBaseCommand: () => UpdateKnowledgeBaseCommand,
275
+ UpdateKnowledgeBaseRequestFilterSensitiveLog: () => UpdateKnowledgeBaseRequestFilterSensitiveLog,
276
+ UpdateKnowledgeBaseResponseFilterSensitiveLog: () => UpdateKnowledgeBaseResponseFilterSensitiveLog,
258
277
  UpdatePromptCommand: () => UpdatePromptCommand,
259
278
  UpdatePromptRequestFilterSensitiveLog: () => UpdatePromptRequestFilterSensitiveLog,
260
279
  UpdatePromptResponseFilterSensitiveLog: () => UpdatePromptResponseFilterSensitiveLog,
@@ -701,6 +720,7 @@ var SharePointHostType = {
701
720
  var DataSourceType = {
702
721
  CONFLUENCE: "CONFLUENCE",
703
722
  CUSTOM: "CUSTOM",
723
+ REDSHIFT_METADATA: "REDSHIFT_METADATA",
704
724
  S3: "S3",
705
725
  SALESFORCE: "SALESFORCE",
706
726
  SHAREPOINT: "SHAREPOINT",
@@ -719,7 +739,11 @@ var ChunkingStrategy = {
719
739
  var StepType = {
720
740
  POST_CHUNKING: "POST_CHUNKING"
721
741
  };
742
+ var ParsingModality = {
743
+ MULTIMODAL: "MULTIMODAL"
744
+ };
722
745
  var ParsingStrategy = {
746
+ BEDROCK_DATA_AUTOMATION: "BEDROCK_DATA_AUTOMATION",
723
747
  BEDROCK_FOUNDATION_MODEL: "BEDROCK_FOUNDATION_MODEL"
724
748
  };
725
749
  var DataSourceStatus = {
@@ -1021,10 +1045,6 @@ var DocumentStatus = {
1021
1045
  PENDING: "PENDING",
1022
1046
  STARTING: "STARTING"
1023
1047
  };
1024
- var InlineContentType = {
1025
- BYTE: "BYTE",
1026
- TEXT: "TEXT"
1027
- };
1028
1048
  var APISchemaFilterSensitiveLog = /* @__PURE__ */ __name((obj) => {
1029
1049
  if (obj.s3 !== void 0)
1030
1050
  return { s3: obj.s3 };
@@ -1480,11 +1500,6 @@ var TextContentDocFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
1480
1500
  ...obj,
1481
1501
  ...obj.data && { data: import_smithy_client.SENSITIVE_STRING }
1482
1502
  }), "TextContentDocFilterSensitiveLog");
1483
- var InlineContentFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
1484
- ...obj,
1485
- ...obj.byteContent && { byteContent: ByteContentDocFilterSensitiveLog(obj.byteContent) },
1486
- ...obj.textContent && { textContent: TextContentDocFilterSensitiveLog(obj.textContent) }
1487
- }), "InlineContentFilterSensitiveLog");
1488
1503
 
1489
1504
  // src/protocols/Aws_restJson1.ts
1490
1505
  var import_core2 = require("@aws-sdk/core");
@@ -4866,23 +4881,13 @@ var CreateFlowVersionCommand = _CreateFlowVersionCommand;
4866
4881
 
4867
4882
 
4868
4883
 
4869
- var _CreateKnowledgeBaseCommand = class _CreateKnowledgeBaseCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
4870
- return [
4871
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
4872
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
4873
- ];
4874
- }).s("AmazonBedrockAgentBuildTimeLambda", "CreateKnowledgeBase", {}).n("BedrockAgentClient", "CreateKnowledgeBaseCommand").f(void 0, void 0).ser(se_CreateKnowledgeBaseCommand).de(de_CreateKnowledgeBaseCommand).build() {
4875
- };
4876
- __name(_CreateKnowledgeBaseCommand, "CreateKnowledgeBaseCommand");
4877
- var CreateKnowledgeBaseCommand = _CreateKnowledgeBaseCommand;
4878
-
4879
- // src/commands/CreatePromptCommand.ts
4880
-
4881
-
4882
-
4883
4884
 
4884
4885
  // src/models/models_1.ts
4885
4886
 
4887
+ var InlineContentType = {
4888
+ BYTE: "BYTE",
4889
+ TEXT: "TEXT"
4890
+ };
4886
4891
  var CustomSourceType = {
4887
4892
  IN_LINE: "IN_LINE",
4888
4893
  S3_LOCATION: "S3_LOCATION"
@@ -4897,13 +4902,42 @@ var MetadataSourceType = {
4897
4902
  IN_LINE_ATTRIBUTE: "IN_LINE_ATTRIBUTE",
4898
4903
  S3_LOCATION: "S3_LOCATION"
4899
4904
  };
4905
+ var RedshiftProvisionedAuthType = {
4906
+ IAM: "IAM",
4907
+ USERNAME: "USERNAME",
4908
+ USERNAME_PASSWORD: "USERNAME_PASSWORD"
4909
+ };
4910
+ var RedshiftServerlessAuthType = {
4911
+ IAM: "IAM",
4912
+ USERNAME_PASSWORD: "USERNAME_PASSWORD"
4913
+ };
4914
+ var RedshiftQueryEngineType = {
4915
+ PROVISIONED: "PROVISIONED",
4916
+ SERVERLESS: "SERVERLESS"
4917
+ };
4918
+ var IncludeExclude = {
4919
+ EXCLUDE: "EXCLUDE",
4920
+ INCLUDE: "INCLUDE"
4921
+ };
4922
+ var RedshiftQueryEngineStorageType = {
4923
+ AWS_DATA_CATALOG: "AWS_DATA_CATALOG",
4924
+ REDSHIFT: "REDSHIFT"
4925
+ };
4926
+ var QueryEngineType = {
4927
+ REDSHIFT: "REDSHIFT"
4928
+ };
4900
4929
  var KnowledgeBaseType = {
4930
+ KENDRA: "KENDRA",
4931
+ SQL: "SQL",
4901
4932
  VECTOR: "VECTOR"
4902
4933
  };
4903
4934
  var EmbeddingDataType = {
4904
4935
  BINARY: "BINARY",
4905
4936
  FLOAT32: "FLOAT32"
4906
4937
  };
4938
+ var SupplementalDataStorageLocationType = {
4939
+ S3: "S3"
4940
+ };
4907
4941
  var KnowledgeBaseStorageType = {
4908
4942
  MONGO_DB_ATLAS: "MONGO_DB_ATLAS",
4909
4943
  OPENSEARCH_SERVERLESS: "OPENSEARCH_SERVERLESS",
@@ -4927,6 +4961,11 @@ var PromptGenAiResource;
4927
4961
  return visitor._(value.$unknown[0], value.$unknown[1]);
4928
4962
  }, "visit");
4929
4963
  })(PromptGenAiResource || (PromptGenAiResource = {}));
4964
+ var InlineContentFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
4965
+ ...obj,
4966
+ ...obj.byteContent && { byteContent: ByteContentDocFilterSensitiveLog(obj.byteContent) },
4967
+ ...obj.textContent && { textContent: TextContentDocFilterSensitiveLog(obj.textContent) }
4968
+ }), "InlineContentFilterSensitiveLog");
4930
4969
  var CustomContentFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
4931
4970
  ...obj,
4932
4971
  ...obj.inlineContent && { inlineContent: InlineContentFilterSensitiveLog(obj.inlineContent) }
@@ -4961,6 +5000,61 @@ var IngestKnowledgeBaseDocumentsRequestFilterSensitiveLog = /* @__PURE__ */ __na
4961
5000
  ...obj,
4962
5001
  ...obj.documents && { documents: obj.documents.map((item) => KnowledgeBaseDocumentFilterSensitiveLog(item)) }
4963
5002
  }), "IngestKnowledgeBaseDocumentsRequestFilterSensitiveLog");
5003
+ var QueryGenerationContextFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
5004
+ ...obj
5005
+ }), "QueryGenerationContextFilterSensitiveLog");
5006
+ var QueryGenerationConfigurationFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
5007
+ ...obj,
5008
+ ...obj.generationContext && { generationContext: import_smithy_client.SENSITIVE_STRING }
5009
+ }), "QueryGenerationConfigurationFilterSensitiveLog");
5010
+ var RedshiftConfigurationFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
5011
+ ...obj,
5012
+ ...obj.queryGenerationConfiguration && {
5013
+ queryGenerationConfiguration: QueryGenerationConfigurationFilterSensitiveLog(obj.queryGenerationConfiguration)
5014
+ }
5015
+ }), "RedshiftConfigurationFilterSensitiveLog");
5016
+ var SqlKnowledgeBaseConfigurationFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
5017
+ ...obj,
5018
+ ...obj.redshiftConfiguration && {
5019
+ redshiftConfiguration: RedshiftConfigurationFilterSensitiveLog(obj.redshiftConfiguration)
5020
+ }
5021
+ }), "SqlKnowledgeBaseConfigurationFilterSensitiveLog");
5022
+ var KnowledgeBaseConfigurationFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
5023
+ ...obj,
5024
+ ...obj.sqlKnowledgeBaseConfiguration && {
5025
+ sqlKnowledgeBaseConfiguration: SqlKnowledgeBaseConfigurationFilterSensitiveLog(obj.sqlKnowledgeBaseConfiguration)
5026
+ }
5027
+ }), "KnowledgeBaseConfigurationFilterSensitiveLog");
5028
+ var CreateKnowledgeBaseRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
5029
+ ...obj,
5030
+ ...obj.knowledgeBaseConfiguration && {
5031
+ knowledgeBaseConfiguration: KnowledgeBaseConfigurationFilterSensitiveLog(obj.knowledgeBaseConfiguration)
5032
+ }
5033
+ }), "CreateKnowledgeBaseRequestFilterSensitiveLog");
5034
+ var KnowledgeBaseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
5035
+ ...obj,
5036
+ ...obj.knowledgeBaseConfiguration && {
5037
+ knowledgeBaseConfiguration: KnowledgeBaseConfigurationFilterSensitiveLog(obj.knowledgeBaseConfiguration)
5038
+ }
5039
+ }), "KnowledgeBaseFilterSensitiveLog");
5040
+ var CreateKnowledgeBaseResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
5041
+ ...obj,
5042
+ ...obj.knowledgeBase && { knowledgeBase: KnowledgeBaseFilterSensitiveLog(obj.knowledgeBase) }
5043
+ }), "CreateKnowledgeBaseResponseFilterSensitiveLog");
5044
+ var GetKnowledgeBaseResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
5045
+ ...obj,
5046
+ ...obj.knowledgeBase && { knowledgeBase: KnowledgeBaseFilterSensitiveLog(obj.knowledgeBase) }
5047
+ }), "GetKnowledgeBaseResponseFilterSensitiveLog");
5048
+ var UpdateKnowledgeBaseRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
5049
+ ...obj,
5050
+ ...obj.knowledgeBaseConfiguration && {
5051
+ knowledgeBaseConfiguration: KnowledgeBaseConfigurationFilterSensitiveLog(obj.knowledgeBaseConfiguration)
5052
+ }
5053
+ }), "UpdateKnowledgeBaseRequestFilterSensitiveLog");
5054
+ var UpdateKnowledgeBaseResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
5055
+ ...obj,
5056
+ ...obj.knowledgeBase && { knowledgeBase: KnowledgeBaseFilterSensitiveLog(obj.knowledgeBase) }
5057
+ }), "UpdateKnowledgeBaseResponseFilterSensitiveLog");
4964
5058
  var PromptAgentResourceFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
4965
5059
  ...obj
4966
5060
  }), "PromptAgentResourceFilterSensitiveLog");
@@ -5021,7 +5115,21 @@ var GetAgentVersionResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) =>
5021
5115
  ...obj.agentVersion && { agentVersion: AgentVersionFilterSensitiveLog(obj.agentVersion) }
5022
5116
  }), "GetAgentVersionResponseFilterSensitiveLog");
5023
5117
 
5118
+ // src/commands/CreateKnowledgeBaseCommand.ts
5119
+ var _CreateKnowledgeBaseCommand = class _CreateKnowledgeBaseCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
5120
+ return [
5121
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
5122
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
5123
+ ];
5124
+ }).s("AmazonBedrockAgentBuildTimeLambda", "CreateKnowledgeBase", {}).n("BedrockAgentClient", "CreateKnowledgeBaseCommand").f(CreateKnowledgeBaseRequestFilterSensitiveLog, CreateKnowledgeBaseResponseFilterSensitiveLog).ser(se_CreateKnowledgeBaseCommand).de(de_CreateKnowledgeBaseCommand).build() {
5125
+ };
5126
+ __name(_CreateKnowledgeBaseCommand, "CreateKnowledgeBaseCommand");
5127
+ var CreateKnowledgeBaseCommand = _CreateKnowledgeBaseCommand;
5128
+
5024
5129
  // src/commands/CreatePromptCommand.ts
5130
+
5131
+
5132
+
5025
5133
  var _CreatePromptCommand = class _CreatePromptCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
5026
5134
  return [
5027
5135
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
@@ -5391,7 +5499,7 @@ var _GetKnowledgeBaseCommand = class _GetKnowledgeBaseCommand extends import_smi
5391
5499
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
5392
5500
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
5393
5501
  ];
5394
- }).s("AmazonBedrockAgentBuildTimeLambda", "GetKnowledgeBase", {}).n("BedrockAgentClient", "GetKnowledgeBaseCommand").f(void 0, void 0).ser(se_GetKnowledgeBaseCommand).de(de_GetKnowledgeBaseCommand).build() {
5502
+ }).s("AmazonBedrockAgentBuildTimeLambda", "GetKnowledgeBase", {}).n("BedrockAgentClient", "GetKnowledgeBaseCommand").f(void 0, GetKnowledgeBaseResponseFilterSensitiveLog).ser(se_GetKnowledgeBaseCommand).de(de_GetKnowledgeBaseCommand).build() {
5395
5503
  };
5396
5504
  __name(_GetKnowledgeBaseCommand, "GetKnowledgeBaseCommand");
5397
5505
  var GetKnowledgeBaseCommand = _GetKnowledgeBaseCommand;
@@ -5853,7 +5961,7 @@ var _UpdateKnowledgeBaseCommand = class _UpdateKnowledgeBaseCommand extends impo
5853
5961
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
5854
5962
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
5855
5963
  ];
5856
- }).s("AmazonBedrockAgentBuildTimeLambda", "UpdateKnowledgeBase", {}).n("BedrockAgentClient", "UpdateKnowledgeBaseCommand").f(void 0, void 0).ser(se_UpdateKnowledgeBaseCommand).de(de_UpdateKnowledgeBaseCommand).build() {
5964
+ }).s("AmazonBedrockAgentBuildTimeLambda", "UpdateKnowledgeBase", {}).n("BedrockAgentClient", "UpdateKnowledgeBaseCommand").f(UpdateKnowledgeBaseRequestFilterSensitiveLog, UpdateKnowledgeBaseResponseFilterSensitiveLog).ser(se_UpdateKnowledgeBaseCommand).de(de_UpdateKnowledgeBaseCommand).build() {
5857
5965
  };
5858
5966
  __name(_UpdateKnowledgeBaseCommand, "UpdateKnowledgeBaseCommand");
5859
5967
  var UpdateKnowledgeBaseCommand = _UpdateKnowledgeBaseCommand;
@@ -6153,6 +6261,7 @@ var paginateListPrompts = (0, import_core.createPaginator)(BedrockAgentClient, L
6153
6261
  WebScopeType,
6154
6262
  ChunkingStrategy,
6155
6263
  StepType,
6264
+ ParsingModality,
6156
6265
  ParsingStrategy,
6157
6266
  DataSourceStatus,
6158
6267
  FlowConnectionConfiguration,
@@ -6183,7 +6292,6 @@ var paginateListPrompts = (0, import_core.createPaginator)(BedrockAgentClient, L
6183
6292
  SortOrder,
6184
6293
  ContentDataSourceType,
6185
6294
  DocumentStatus,
6186
- InlineContentType,
6187
6295
  APISchemaFilterSensitiveLog,
6188
6296
  CreateAgentActionGroupRequestFilterSensitiveLog,
6189
6297
  AgentActionGroupFilterSensitiveLog,
@@ -6256,15 +6364,23 @@ var paginateListPrompts = (0, import_core.createPaginator)(BedrockAgentClient, L
6256
6364
  UpdateFlowResponseFilterSensitiveLog,
6257
6365
  ByteContentDocFilterSensitiveLog,
6258
6366
  TextContentDocFilterSensitiveLog,
6259
- InlineContentFilterSensitiveLog,
6367
+ InlineContentType,
6260
6368
  CustomSourceType,
6261
6369
  MetadataValueType,
6262
6370
  MetadataSourceType,
6371
+ RedshiftProvisionedAuthType,
6372
+ RedshiftServerlessAuthType,
6373
+ RedshiftQueryEngineType,
6374
+ IncludeExclude,
6375
+ RedshiftQueryEngineStorageType,
6376
+ QueryEngineType,
6263
6377
  KnowledgeBaseType,
6264
6378
  EmbeddingDataType,
6379
+ SupplementalDataStorageLocationType,
6265
6380
  KnowledgeBaseStorageType,
6266
6381
  KnowledgeBaseStatus,
6267
6382
  PromptGenAiResource,
6383
+ InlineContentFilterSensitiveLog,
6268
6384
  CustomContentFilterSensitiveLog,
6269
6385
  DocumentContentFilterSensitiveLog,
6270
6386
  MetadataAttributeValueFilterSensitiveLog,
@@ -6272,6 +6388,17 @@ var paginateListPrompts = (0, import_core.createPaginator)(BedrockAgentClient, L
6272
6388
  DocumentMetadataFilterSensitiveLog,
6273
6389
  KnowledgeBaseDocumentFilterSensitiveLog,
6274
6390
  IngestKnowledgeBaseDocumentsRequestFilterSensitiveLog,
6391
+ QueryGenerationContextFilterSensitiveLog,
6392
+ QueryGenerationConfigurationFilterSensitiveLog,
6393
+ RedshiftConfigurationFilterSensitiveLog,
6394
+ SqlKnowledgeBaseConfigurationFilterSensitiveLog,
6395
+ KnowledgeBaseConfigurationFilterSensitiveLog,
6396
+ CreateKnowledgeBaseRequestFilterSensitiveLog,
6397
+ KnowledgeBaseFilterSensitiveLog,
6398
+ CreateKnowledgeBaseResponseFilterSensitiveLog,
6399
+ GetKnowledgeBaseResponseFilterSensitiveLog,
6400
+ UpdateKnowledgeBaseRequestFilterSensitiveLog,
6401
+ UpdateKnowledgeBaseResponseFilterSensitiveLog,
6275
6402
  PromptAgentResourceFilterSensitiveLog,
6276
6403
  PromptGenAiResourceFilterSensitiveLog,
6277
6404
  PromptMetadataEntryFilterSensitiveLog,
@@ -2,6 +2,7 @@ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
4
  import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { CreateKnowledgeBaseRequestFilterSensitiveLog, CreateKnowledgeBaseResponseFilterSensitiveLog, } from "../models/models_1";
5
6
  import { de_CreateKnowledgeBaseCommand, se_CreateKnowledgeBaseCommand } from "../protocols/Aws_restJson1";
6
7
  export { $Command };
7
8
  export class CreateKnowledgeBaseCommand extends $Command
@@ -15,7 +16,7 @@ export class CreateKnowledgeBaseCommand extends $Command
15
16
  })
16
17
  .s("AmazonBedrockAgentBuildTimeLambda", "CreateKnowledgeBase", {})
17
18
  .n("BedrockAgentClient", "CreateKnowledgeBaseCommand")
18
- .f(void 0, void 0)
19
+ .f(CreateKnowledgeBaseRequestFilterSensitiveLog, CreateKnowledgeBaseResponseFilterSensitiveLog)
19
20
  .ser(se_CreateKnowledgeBaseCommand)
20
21
  .de(de_CreateKnowledgeBaseCommand)
21
22
  .build() {
@@ -2,6 +2,7 @@ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
4
  import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { GetKnowledgeBaseResponseFilterSensitiveLog, } from "../models/models_1";
5
6
  import { de_GetKnowledgeBaseCommand, se_GetKnowledgeBaseCommand } from "../protocols/Aws_restJson1";
6
7
  export { $Command };
7
8
  export class GetKnowledgeBaseCommand extends $Command
@@ -15,7 +16,7 @@ export class GetKnowledgeBaseCommand extends $Command
15
16
  })
16
17
  .s("AmazonBedrockAgentBuildTimeLambda", "GetKnowledgeBase", {})
17
18
  .n("BedrockAgentClient", "GetKnowledgeBaseCommand")
18
- .f(void 0, void 0)
19
+ .f(void 0, GetKnowledgeBaseResponseFilterSensitiveLog)
19
20
  .ser(se_GetKnowledgeBaseCommand)
20
21
  .de(de_GetKnowledgeBaseCommand)
21
22
  .build() {
@@ -2,6 +2,7 @@ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
4
  import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { UpdateKnowledgeBaseRequestFilterSensitiveLog, UpdateKnowledgeBaseResponseFilterSensitiveLog, } from "../models/models_1";
5
6
  import { de_UpdateKnowledgeBaseCommand, se_UpdateKnowledgeBaseCommand } from "../protocols/Aws_restJson1";
6
7
  export { $Command };
7
8
  export class UpdateKnowledgeBaseCommand extends $Command
@@ -15,7 +16,7 @@ export class UpdateKnowledgeBaseCommand extends $Command
15
16
  })
16
17
  .s("AmazonBedrockAgentBuildTimeLambda", "UpdateKnowledgeBase", {})
17
18
  .n("BedrockAgentClient", "UpdateKnowledgeBaseCommand")
18
- .f(void 0, void 0)
19
+ .f(UpdateKnowledgeBaseRequestFilterSensitiveLog, UpdateKnowledgeBaseResponseFilterSensitiveLog)
19
20
  .ser(se_UpdateKnowledgeBaseCommand)
20
21
  .de(de_UpdateKnowledgeBaseCommand)
21
22
  .build() {
@@ -220,6 +220,7 @@ export const SharePointHostType = {
220
220
  export const DataSourceType = {
221
221
  CONFLUENCE: "CONFLUENCE",
222
222
  CUSTOM: "CUSTOM",
223
+ REDSHIFT_METADATA: "REDSHIFT_METADATA",
223
224
  S3: "S3",
224
225
  SALESFORCE: "SALESFORCE",
225
226
  SHAREPOINT: "SHAREPOINT",
@@ -238,7 +239,11 @@ export const ChunkingStrategy = {
238
239
  export const StepType = {
239
240
  POST_CHUNKING: "POST_CHUNKING",
240
241
  };
242
+ export const ParsingModality = {
243
+ MULTIMODAL: "MULTIMODAL",
244
+ };
241
245
  export const ParsingStrategy = {
246
+ BEDROCK_DATA_AUTOMATION: "BEDROCK_DATA_AUTOMATION",
242
247
  BEDROCK_FOUNDATION_MODEL: "BEDROCK_FOUNDATION_MODEL",
243
248
  };
244
249
  export const DataSourceStatus = {
@@ -540,10 +545,6 @@ export const DocumentStatus = {
540
545
  PENDING: "PENDING",
541
546
  STARTING: "STARTING",
542
547
  };
543
- export const InlineContentType = {
544
- BYTE: "BYTE",
545
- TEXT: "TEXT",
546
- };
547
548
  export const APISchemaFilterSensitiveLog = (obj) => {
548
549
  if (obj.s3 !== undefined)
549
550
  return { s3: obj.s3 };
@@ -995,8 +996,3 @@ export const TextContentDocFilterSensitiveLog = (obj) => ({
995
996
  ...obj,
996
997
  ...(obj.data && { data: SENSITIVE_STRING }),
997
998
  });
998
- export const InlineContentFilterSensitiveLog = (obj) => ({
999
- ...obj,
1000
- ...(obj.byteContent && { byteContent: ByteContentDocFilterSensitiveLog(obj.byteContent) }),
1001
- ...(obj.textContent && { textContent: TextContentDocFilterSensitiveLog(obj.textContent) }),
1002
- });
@@ -1,5 +1,9 @@
1
1
  import { SENSITIVE_STRING } from "@smithy/smithy-client";
2
- import { AgentVersionFilterSensitiveLog, FlowValidationFilterSensitiveLog, InlineContentFilterSensitiveLog, PromptTemplateConfigurationFilterSensitiveLog, } from "./models_0";
2
+ import { AgentVersionFilterSensitiveLog, ByteContentDocFilterSensitiveLog, FlowValidationFilterSensitiveLog, PromptTemplateConfigurationFilterSensitiveLog, TextContentDocFilterSensitiveLog, } from "./models_0";
3
+ export const InlineContentType = {
4
+ BYTE: "BYTE",
5
+ TEXT: "TEXT",
6
+ };
3
7
  export const CustomSourceType = {
4
8
  IN_LINE: "IN_LINE",
5
9
  S3_LOCATION: "S3_LOCATION",
@@ -14,13 +18,42 @@ export const MetadataSourceType = {
14
18
  IN_LINE_ATTRIBUTE: "IN_LINE_ATTRIBUTE",
15
19
  S3_LOCATION: "S3_LOCATION",
16
20
  };
21
+ export const RedshiftProvisionedAuthType = {
22
+ IAM: "IAM",
23
+ USERNAME: "USERNAME",
24
+ USERNAME_PASSWORD: "USERNAME_PASSWORD",
25
+ };
26
+ export const RedshiftServerlessAuthType = {
27
+ IAM: "IAM",
28
+ USERNAME_PASSWORD: "USERNAME_PASSWORD",
29
+ };
30
+ export const RedshiftQueryEngineType = {
31
+ PROVISIONED: "PROVISIONED",
32
+ SERVERLESS: "SERVERLESS",
33
+ };
34
+ export const IncludeExclude = {
35
+ EXCLUDE: "EXCLUDE",
36
+ INCLUDE: "INCLUDE",
37
+ };
38
+ export const RedshiftQueryEngineStorageType = {
39
+ AWS_DATA_CATALOG: "AWS_DATA_CATALOG",
40
+ REDSHIFT: "REDSHIFT",
41
+ };
42
+ export const QueryEngineType = {
43
+ REDSHIFT: "REDSHIFT",
44
+ };
17
45
  export const KnowledgeBaseType = {
46
+ KENDRA: "KENDRA",
47
+ SQL: "SQL",
18
48
  VECTOR: "VECTOR",
19
49
  };
20
50
  export const EmbeddingDataType = {
21
51
  BINARY: "BINARY",
22
52
  FLOAT32: "FLOAT32",
23
53
  };
54
+ export const SupplementalDataStorageLocationType = {
55
+ S3: "S3",
56
+ };
24
57
  export const KnowledgeBaseStorageType = {
25
58
  MONGO_DB_ATLAS: "MONGO_DB_ATLAS",
26
59
  OPENSEARCH_SERVERLESS: "OPENSEARCH_SERVERLESS",
@@ -44,6 +77,11 @@ export var PromptGenAiResource;
44
77
  return visitor._(value.$unknown[0], value.$unknown[1]);
45
78
  };
46
79
  })(PromptGenAiResource || (PromptGenAiResource = {}));
80
+ export const InlineContentFilterSensitiveLog = (obj) => ({
81
+ ...obj,
82
+ ...(obj.byteContent && { byteContent: ByteContentDocFilterSensitiveLog(obj.byteContent) }),
83
+ ...(obj.textContent && { textContent: TextContentDocFilterSensitiveLog(obj.textContent) }),
84
+ });
47
85
  export const CustomContentFilterSensitiveLog = (obj) => ({
48
86
  ...obj,
49
87
  ...(obj.inlineContent && { inlineContent: InlineContentFilterSensitiveLog(obj.inlineContent) }),
@@ -78,6 +116,61 @@ export const IngestKnowledgeBaseDocumentsRequestFilterSensitiveLog = (obj) => ({
78
116
  ...obj,
79
117
  ...(obj.documents && { documents: obj.documents.map((item) => KnowledgeBaseDocumentFilterSensitiveLog(item)) }),
80
118
  });
119
+ export const QueryGenerationContextFilterSensitiveLog = (obj) => ({
120
+ ...obj,
121
+ });
122
+ export const QueryGenerationConfigurationFilterSensitiveLog = (obj) => ({
123
+ ...obj,
124
+ ...(obj.generationContext && { generationContext: SENSITIVE_STRING }),
125
+ });
126
+ export const RedshiftConfigurationFilterSensitiveLog = (obj) => ({
127
+ ...obj,
128
+ ...(obj.queryGenerationConfiguration && {
129
+ queryGenerationConfiguration: QueryGenerationConfigurationFilterSensitiveLog(obj.queryGenerationConfiguration),
130
+ }),
131
+ });
132
+ export const SqlKnowledgeBaseConfigurationFilterSensitiveLog = (obj) => ({
133
+ ...obj,
134
+ ...(obj.redshiftConfiguration && {
135
+ redshiftConfiguration: RedshiftConfigurationFilterSensitiveLog(obj.redshiftConfiguration),
136
+ }),
137
+ });
138
+ export const KnowledgeBaseConfigurationFilterSensitiveLog = (obj) => ({
139
+ ...obj,
140
+ ...(obj.sqlKnowledgeBaseConfiguration && {
141
+ sqlKnowledgeBaseConfiguration: SqlKnowledgeBaseConfigurationFilterSensitiveLog(obj.sqlKnowledgeBaseConfiguration),
142
+ }),
143
+ });
144
+ export const CreateKnowledgeBaseRequestFilterSensitiveLog = (obj) => ({
145
+ ...obj,
146
+ ...(obj.knowledgeBaseConfiguration && {
147
+ knowledgeBaseConfiguration: KnowledgeBaseConfigurationFilterSensitiveLog(obj.knowledgeBaseConfiguration),
148
+ }),
149
+ });
150
+ export const KnowledgeBaseFilterSensitiveLog = (obj) => ({
151
+ ...obj,
152
+ ...(obj.knowledgeBaseConfiguration && {
153
+ knowledgeBaseConfiguration: KnowledgeBaseConfigurationFilterSensitiveLog(obj.knowledgeBaseConfiguration),
154
+ }),
155
+ });
156
+ export const CreateKnowledgeBaseResponseFilterSensitiveLog = (obj) => ({
157
+ ...obj,
158
+ ...(obj.knowledgeBase && { knowledgeBase: KnowledgeBaseFilterSensitiveLog(obj.knowledgeBase) }),
159
+ });
160
+ export const GetKnowledgeBaseResponseFilterSensitiveLog = (obj) => ({
161
+ ...obj,
162
+ ...(obj.knowledgeBase && { knowledgeBase: KnowledgeBaseFilterSensitiveLog(obj.knowledgeBase) }),
163
+ });
164
+ export const UpdateKnowledgeBaseRequestFilterSensitiveLog = (obj) => ({
165
+ ...obj,
166
+ ...(obj.knowledgeBaseConfiguration && {
167
+ knowledgeBaseConfiguration: KnowledgeBaseConfigurationFilterSensitiveLog(obj.knowledgeBaseConfiguration),
168
+ }),
169
+ });
170
+ export const UpdateKnowledgeBaseResponseFilterSensitiveLog = (obj) => ({
171
+ ...obj,
172
+ ...(obj.knowledgeBase && { knowledgeBase: KnowledgeBaseFilterSensitiveLog(obj.knowledgeBase) }),
173
+ });
81
174
  export const PromptAgentResourceFilterSensitiveLog = (obj) => ({
82
175
  ...obj,
83
176
  });
@@ -43,7 +43,7 @@ declare const CreateDataSourceCommand_base: {
43
43
  * name: "STRING_VALUE", // required
44
44
  * description: "STRING_VALUE",
45
45
  * dataSourceConfiguration: { // DataSourceConfiguration
46
- * type: "S3" || "WEB" || "CONFLUENCE" || "SALESFORCE" || "SHAREPOINT" || "CUSTOM", // required
46
+ * type: "S3" || "WEB" || "CONFLUENCE" || "SALESFORCE" || "SHAREPOINT" || "CUSTOM" || "REDSHIFT_METADATA", // required
47
47
  * s3Configuration: { // S3DataSourceConfiguration
48
48
  * bucketArn: "STRING_VALUE", // required
49
49
  * inclusionPrefixes: [ // S3Prefixes
@@ -193,12 +193,16 @@ declare const CreateDataSourceCommand_base: {
193
193
  * ],
194
194
  * },
195
195
  * parsingConfiguration: { // ParsingConfiguration
196
- * parsingStrategy: "BEDROCK_FOUNDATION_MODEL", // required
196
+ * parsingStrategy: "BEDROCK_FOUNDATION_MODEL" || "BEDROCK_DATA_AUTOMATION", // required
197
197
  * bedrockFoundationModelConfiguration: { // BedrockFoundationModelConfiguration
198
198
  * modelArn: "STRING_VALUE", // required
199
199
  * parsingPrompt: { // ParsingPrompt
200
200
  * parsingPromptText: "STRING_VALUE", // required
201
201
  * },
202
+ * parsingModality: "MULTIMODAL",
203
+ * },
204
+ * bedrockDataAutomationConfiguration: { // BedrockDataAutomationConfiguration
205
+ * parsingModality: "MULTIMODAL",
202
206
  * },
203
207
  * },
204
208
  * },
@@ -213,7 +217,7 @@ declare const CreateDataSourceCommand_base: {
213
217
  * // status: "AVAILABLE" || "DELETING" || "DELETE_UNSUCCESSFUL", // required
214
218
  * // description: "STRING_VALUE",
215
219
  * // dataSourceConfiguration: { // DataSourceConfiguration
216
- * // type: "S3" || "WEB" || "CONFLUENCE" || "SALESFORCE" || "SHAREPOINT" || "CUSTOM", // required
220
+ * // type: "S3" || "WEB" || "CONFLUENCE" || "SALESFORCE" || "SHAREPOINT" || "CUSTOM" || "REDSHIFT_METADATA", // required
217
221
  * // s3Configuration: { // S3DataSourceConfiguration
218
222
  * // bucketArn: "STRING_VALUE", // required
219
223
  * // inclusionPrefixes: [ // S3Prefixes
@@ -362,12 +366,16 @@ declare const CreateDataSourceCommand_base: {
362
366
  * // ],
363
367
  * // },
364
368
  * // parsingConfiguration: { // ParsingConfiguration
365
- * // parsingStrategy: "BEDROCK_FOUNDATION_MODEL", // required
369
+ * // parsingStrategy: "BEDROCK_FOUNDATION_MODEL" || "BEDROCK_DATA_AUTOMATION", // required
366
370
  * // bedrockFoundationModelConfiguration: { // BedrockFoundationModelConfiguration
367
371
  * // modelArn: "STRING_VALUE", // required
368
372
  * // parsingPrompt: { // ParsingPrompt
369
373
  * // parsingPromptText: "STRING_VALUE", // required
370
374
  * // },
375
+ * // parsingModality: "MULTIMODAL",
376
+ * // },
377
+ * // bedrockDataAutomationConfiguration: { // BedrockDataAutomationConfiguration
378
+ * // parsingModality: "MULTIMODAL",
371
379
  * // },
372
380
  * // },
373
381
  * // },