@aws-sdk/client-bedrock-agent 3.701.0 → 3.703.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.
Files changed (53) hide show
  1. package/README.md +32 -0
  2. package/dist-cjs/index.js +423 -17
  3. package/dist-es/BedrockAgent.js +8 -0
  4. package/dist-es/commands/DeleteKnowledgeBaseDocumentsCommand.js +22 -0
  5. package/dist-es/commands/GetKnowledgeBaseDocumentsCommand.js +22 -0
  6. package/dist-es/commands/IngestKnowledgeBaseDocumentsCommand.js +23 -0
  7. package/dist-es/commands/ListKnowledgeBaseDocumentsCommand.js +22 -0
  8. package/dist-es/commands/index.js +4 -0
  9. package/dist-es/models/models_0.js +80 -14
  10. package/dist-es/models/models_1.js +22 -0
  11. package/dist-es/pagination/ListKnowledgeBaseDocumentsPaginator.js +4 -0
  12. package/dist-es/pagination/index.js +1 -0
  13. package/dist-es/protocols/Aws_restJson1.js +208 -0
  14. package/dist-types/BedrockAgent.d.ts +28 -0
  15. package/dist-types/BedrockAgentClient.d.ts +6 -2
  16. package/dist-types/commands/AssociateAgentKnowledgeBaseCommand.d.ts +1 -1
  17. package/dist-types/commands/CreateDataSourceCommand.d.ts +3 -3
  18. package/dist-types/commands/CreateKnowledgeBaseCommand.d.ts +3 -1
  19. package/dist-types/commands/DeleteKnowledgeBaseCommand.d.ts +1 -1
  20. package/dist-types/commands/DeleteKnowledgeBaseDocumentsCommand.d.ts +119 -0
  21. package/dist-types/commands/DisassociateAgentKnowledgeBaseCommand.d.ts +1 -1
  22. package/dist-types/commands/GetAgentKnowledgeBaseCommand.d.ts +1 -2
  23. package/dist-types/commands/GetDataSourceCommand.d.ts +1 -1
  24. package/dist-types/commands/GetKnowledgeBaseCommand.d.ts +1 -0
  25. package/dist-types/commands/GetKnowledgeBaseDocumentsCommand.d.ts +118 -0
  26. package/dist-types/commands/IngestKnowledgeBaseDocumentsCommand.d.ts +161 -0
  27. package/dist-types/commands/ListKnowledgeBaseDocumentsCommand.d.ts +110 -0
  28. package/dist-types/commands/UpdateDataSourceCommand.d.ts +2 -2
  29. package/dist-types/commands/UpdateKnowledgeBaseCommand.d.ts +2 -0
  30. package/dist-types/commands/index.d.ts +4 -0
  31. package/dist-types/models/models_0.d.ts +370 -350
  32. package/dist-types/models/models_1.d.ts +643 -1
  33. package/dist-types/pagination/ListKnowledgeBaseDocumentsPaginator.d.ts +7 -0
  34. package/dist-types/pagination/index.d.ts +1 -0
  35. package/dist-types/protocols/Aws_restJson1.d.ts +36 -0
  36. package/dist-types/ts3.4/BedrockAgent.d.ts +68 -0
  37. package/dist-types/ts3.4/BedrockAgentClient.d.ts +24 -0
  38. package/dist-types/ts3.4/commands/AssociateAgentKnowledgeBaseCommand.d.ts +1 -1
  39. package/dist-types/ts3.4/commands/CreateKnowledgeBaseCommand.d.ts +1 -1
  40. package/dist-types/ts3.4/commands/DeleteKnowledgeBaseCommand.d.ts +1 -1
  41. package/dist-types/ts3.4/commands/DeleteKnowledgeBaseDocumentsCommand.d.ts +51 -0
  42. package/dist-types/ts3.4/commands/DisassociateAgentKnowledgeBaseCommand.d.ts +1 -1
  43. package/dist-types/ts3.4/commands/GetAgentKnowledgeBaseCommand.d.ts +4 -2
  44. package/dist-types/ts3.4/commands/GetKnowledgeBaseDocumentsCommand.d.ts +51 -0
  45. package/dist-types/ts3.4/commands/IngestKnowledgeBaseDocumentsCommand.d.ts +51 -0
  46. package/dist-types/ts3.4/commands/ListKnowledgeBaseDocumentsCommand.d.ts +51 -0
  47. package/dist-types/ts3.4/commands/index.d.ts +4 -0
  48. package/dist-types/ts3.4/models/models_0.d.ts +161 -145
  49. package/dist-types/ts3.4/models/models_1.d.ts +172 -4
  50. package/dist-types/ts3.4/pagination/ListKnowledgeBaseDocumentsPaginator.d.ts +11 -0
  51. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  52. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +48 -0
  53. package/package.json +1 -1
package/dist-cjs/index.js CHANGED
@@ -36,6 +36,7 @@ __export(src_exports, {
36
36
  BedrockAgent: () => BedrockAgent,
37
37
  BedrockAgentClient: () => BedrockAgentClient,
38
38
  BedrockAgentServiceException: () => BedrockAgentServiceException,
39
+ ByteContentDocFilterSensitiveLog: () => ByteContentDocFilterSensitiveLog,
39
40
  ChatPromptTemplateConfigurationFilterSensitiveLog: () => ChatPromptTemplateConfigurationFilterSensitiveLog,
40
41
  ChunkingStrategy: () => ChunkingStrategy,
41
42
  ConditionFlowNodeConfigurationFilterSensitiveLog: () => ConditionFlowNodeConfigurationFilterSensitiveLog,
@@ -46,6 +47,7 @@ __export(src_exports, {
46
47
  ConfluenceHostType: () => ConfluenceHostType,
47
48
  ContentBlock: () => ContentBlock,
48
49
  ContentBlockFilterSensitiveLog: () => ContentBlockFilterSensitiveLog,
50
+ ContentDataSourceType: () => ContentDataSourceType,
49
51
  ConversationRole: () => ConversationRole,
50
52
  CrawlFilterConfigurationFilterSensitiveLog: () => CrawlFilterConfigurationFilterSensitiveLog,
51
53
  CrawlFilterConfigurationType: () => CrawlFilterConfigurationType,
@@ -72,7 +74,9 @@ __export(src_exports, {
72
74
  CreatePromptVersionCommand: () => CreatePromptVersionCommand,
73
75
  CreatePromptVersionResponseFilterSensitiveLog: () => CreatePromptVersionResponseFilterSensitiveLog,
74
76
  CreationMode: () => CreationMode,
77
+ CustomContentFilterSensitiveLog: () => CustomContentFilterSensitiveLog,
75
78
  CustomControlMethod: () => CustomControlMethod,
79
+ CustomSourceType: () => CustomSourceType,
76
80
  DataDeletionPolicy: () => DataDeletionPolicy,
77
81
  DataSourceConfigurationFilterSensitiveLog: () => DataSourceConfigurationFilterSensitiveLog,
78
82
  DataSourceFilterSensitiveLog: () => DataSourceFilterSensitiveLog,
@@ -87,9 +91,14 @@ __export(src_exports, {
87
91
  DeleteFlowCommand: () => DeleteFlowCommand,
88
92
  DeleteFlowVersionCommand: () => DeleteFlowVersionCommand,
89
93
  DeleteKnowledgeBaseCommand: () => DeleteKnowledgeBaseCommand,
94
+ DeleteKnowledgeBaseDocumentsCommand: () => DeleteKnowledgeBaseDocumentsCommand,
90
95
  DeletePromptCommand: () => DeletePromptCommand,
91
96
  DisassociateAgentKnowledgeBaseCommand: () => DisassociateAgentKnowledgeBaseCommand,
97
+ DocumentContentFilterSensitiveLog: () => DocumentContentFilterSensitiveLog,
98
+ DocumentMetadataFilterSensitiveLog: () => DocumentMetadataFilterSensitiveLog,
99
+ DocumentStatus: () => DocumentStatus,
92
100
  DuplicateConditionExpressionFlowValidationDetailsFilterSensitiveLog: () => DuplicateConditionExpressionFlowValidationDetailsFilterSensitiveLog,
101
+ EmbeddingDataType: () => EmbeddingDataType,
93
102
  FlowConditionFilterSensitiveLog: () => FlowConditionFilterSensitiveLog,
94
103
  FlowConnectionConfiguration: () => FlowConnectionConfiguration,
95
104
  FlowConnectionType: () => FlowConnectionType,
@@ -124,13 +133,19 @@ __export(src_exports, {
124
133
  GetFlowVersionResponseFilterSensitiveLog: () => GetFlowVersionResponseFilterSensitiveLog,
125
134
  GetIngestionJobCommand: () => GetIngestionJobCommand,
126
135
  GetKnowledgeBaseCommand: () => GetKnowledgeBaseCommand,
136
+ GetKnowledgeBaseDocumentsCommand: () => GetKnowledgeBaseDocumentsCommand,
127
137
  GetPromptCommand: () => GetPromptCommand,
128
138
  GetPromptResponseFilterSensitiveLog: () => GetPromptResponseFilterSensitiveLog,
139
+ IngestKnowledgeBaseDocumentsCommand: () => IngestKnowledgeBaseDocumentsCommand,
140
+ IngestKnowledgeBaseDocumentsRequestFilterSensitiveLog: () => IngestKnowledgeBaseDocumentsRequestFilterSensitiveLog,
129
141
  IngestionJobFilterAttribute: () => IngestionJobFilterAttribute,
130
142
  IngestionJobFilterOperator: () => IngestionJobFilterOperator,
131
143
  IngestionJobSortByAttribute: () => IngestionJobSortByAttribute,
132
144
  IngestionJobStatus: () => IngestionJobStatus,
145
+ InlineContentFilterSensitiveLog: () => InlineContentFilterSensitiveLog,
146
+ InlineContentType: () => InlineContentType,
133
147
  InternalServerException: () => InternalServerException,
148
+ KnowledgeBaseDocumentFilterSensitiveLog: () => KnowledgeBaseDocumentFilterSensitiveLog,
134
149
  KnowledgeBaseState: () => KnowledgeBaseState,
135
150
  KnowledgeBaseStatus: () => KnowledgeBaseStatus,
136
151
  KnowledgeBaseStorageType: () => KnowledgeBaseStorageType,
@@ -145,11 +160,16 @@ __export(src_exports, {
145
160
  ListFlowVersionsCommand: () => ListFlowVersionsCommand,
146
161
  ListFlowsCommand: () => ListFlowsCommand,
147
162
  ListIngestionJobsCommand: () => ListIngestionJobsCommand,
163
+ ListKnowledgeBaseDocumentsCommand: () => ListKnowledgeBaseDocumentsCommand,
148
164
  ListKnowledgeBasesCommand: () => ListKnowledgeBasesCommand,
149
165
  ListPromptsCommand: () => ListPromptsCommand,
150
166
  ListTagsForResourceCommand: () => ListTagsForResourceCommand,
151
167
  MemoryType: () => MemoryType,
152
168
  MessageFilterSensitiveLog: () => MessageFilterSensitiveLog,
169
+ MetadataAttributeFilterSensitiveLog: () => MetadataAttributeFilterSensitiveLog,
170
+ MetadataAttributeValueFilterSensitiveLog: () => MetadataAttributeValueFilterSensitiveLog,
171
+ MetadataSourceType: () => MetadataSourceType,
172
+ MetadataValueType: () => MetadataValueType,
153
173
  OrchestrationExecutor: () => OrchestrationExecutor,
154
174
  OrchestrationType: () => OrchestrationType,
155
175
  ParsingStrategy: () => ParsingStrategy,
@@ -194,6 +214,7 @@ __export(src_exports, {
194
214
  SystemContentBlock: () => SystemContentBlock,
195
215
  SystemContentBlockFilterSensitiveLog: () => SystemContentBlockFilterSensitiveLog,
196
216
  TagResourceCommand: () => TagResourceCommand,
217
+ TextContentDocFilterSensitiveLog: () => TextContentDocFilterSensitiveLog,
197
218
  TextPromptTemplateConfigurationFilterSensitiveLog: () => TextPromptTemplateConfigurationFilterSensitiveLog,
198
219
  ThrottlingException: () => ThrottlingException,
199
220
  Tool: () => Tool,
@@ -240,6 +261,7 @@ __export(src_exports, {
240
261
  paginateListFlowVersions: () => paginateListFlowVersions,
241
262
  paginateListFlows: () => paginateListFlows,
242
263
  paginateListIngestionJobs: () => paginateListIngestionJobs,
264
+ paginateListKnowledgeBaseDocuments: () => paginateListKnowledgeBaseDocuments,
243
265
  paginateListKnowledgeBases: () => paginateListKnowledgeBases,
244
266
  paginateListPrompts: () => paginateListPrompts
245
267
  });
@@ -657,6 +679,7 @@ var SharePointHostType = {
657
679
  };
658
680
  var DataSourceType = {
659
681
  CONFLUENCE: "CONFLUENCE",
682
+ CUSTOM: "CUSTOM",
660
683
  S3: "S3",
661
684
  SALESFORCE: "SALESFORCE",
662
685
  SHAREPOINT: "SHAREPOINT",
@@ -959,23 +982,41 @@ var SortOrder = {
959
982
  ASCENDING: "ASCENDING",
960
983
  DESCENDING: "DESCENDING"
961
984
  };
962
- var KnowledgeBaseType = {
963
- VECTOR: "VECTOR"
985
+ var ContentDataSourceType = {
986
+ CUSTOM: "CUSTOM",
987
+ S3: "S3"
964
988
  };
965
- var KnowledgeBaseStorageType = {
966
- MONGO_DB_ATLAS: "MONGO_DB_ATLAS",
967
- OPENSEARCH_SERVERLESS: "OPENSEARCH_SERVERLESS",
968
- PINECONE: "PINECONE",
969
- RDS: "RDS",
970
- REDIS_ENTERPRISE_CLOUD: "REDIS_ENTERPRISE_CLOUD"
971
- };
972
- var KnowledgeBaseStatus = {
973
- ACTIVE: "ACTIVE",
974
- CREATING: "CREATING",
975
- DELETE_UNSUCCESSFUL: "DELETE_UNSUCCESSFUL",
989
+ var DocumentStatus = {
990
+ DELETE_IN_PROGRESS: "DELETE_IN_PROGRESS",
976
991
  DELETING: "DELETING",
977
992
  FAILED: "FAILED",
978
- UPDATING: "UPDATING"
993
+ IGNORED: "IGNORED",
994
+ INDEXED: "INDEXED",
995
+ IN_PROGRESS: "IN_PROGRESS",
996
+ METADATA_PARTIALLY_INDEXED: "METADATA_PARTIALLY_INDEXED",
997
+ METADATA_UPDATE_FAILED: "METADATA_UPDATE_FAILED",
998
+ NOT_FOUND: "NOT_FOUND",
999
+ PARTIALLY_INDEXED: "PARTIALLY_INDEXED",
1000
+ PENDING: "PENDING",
1001
+ STARTING: "STARTING"
1002
+ };
1003
+ var InlineContentType = {
1004
+ BYTE: "BYTE",
1005
+ TEXT: "TEXT"
1006
+ };
1007
+ var CustomSourceType = {
1008
+ IN_LINE: "IN_LINE",
1009
+ S3_LOCATION: "S3_LOCATION"
1010
+ };
1011
+ var MetadataValueType = {
1012
+ BOOLEAN: "BOOLEAN",
1013
+ NUMBER: "NUMBER",
1014
+ STRING: "STRING",
1015
+ STRING_LIST: "STRING_LIST"
1016
+ };
1017
+ var MetadataSourceType = {
1018
+ IN_LINE_ATTRIBUTE: "IN_LINE_ATTRIBUTE",
1019
+ S3_LOCATION: "S3_LOCATION"
979
1020
  };
980
1021
  var APISchemaFilterSensitiveLog = /* @__PURE__ */ __name((obj) => {
981
1022
  if (obj.s3 !== void 0)
@@ -1388,6 +1429,53 @@ var UpdateFlowResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
1388
1429
  ...obj,
1389
1430
  ...obj.definition && { definition: import_smithy_client.SENSITIVE_STRING }
1390
1431
  }), "UpdateFlowResponseFilterSensitiveLog");
1432
+ var ByteContentDocFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
1433
+ ...obj,
1434
+ ...obj.data && { data: import_smithy_client.SENSITIVE_STRING }
1435
+ }), "ByteContentDocFilterSensitiveLog");
1436
+ var TextContentDocFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
1437
+ ...obj,
1438
+ ...obj.data && { data: import_smithy_client.SENSITIVE_STRING }
1439
+ }), "TextContentDocFilterSensitiveLog");
1440
+ var InlineContentFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
1441
+ ...obj,
1442
+ ...obj.byteContent && { byteContent: ByteContentDocFilterSensitiveLog(obj.byteContent) },
1443
+ ...obj.textContent && { textContent: TextContentDocFilterSensitiveLog(obj.textContent) }
1444
+ }), "InlineContentFilterSensitiveLog");
1445
+ var CustomContentFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
1446
+ ...obj,
1447
+ ...obj.inlineContent && { inlineContent: InlineContentFilterSensitiveLog(obj.inlineContent) }
1448
+ }), "CustomContentFilterSensitiveLog");
1449
+ var DocumentContentFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
1450
+ ...obj,
1451
+ ...obj.custom && { custom: CustomContentFilterSensitiveLog(obj.custom) }
1452
+ }), "DocumentContentFilterSensitiveLog");
1453
+ var MetadataAttributeValueFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
1454
+ ...obj,
1455
+ ...obj.numberValue && { numberValue: import_smithy_client.SENSITIVE_STRING },
1456
+ ...obj.stringValue && { stringValue: import_smithy_client.SENSITIVE_STRING },
1457
+ ...obj.stringListValue && { stringListValue: import_smithy_client.SENSITIVE_STRING }
1458
+ }), "MetadataAttributeValueFilterSensitiveLog");
1459
+ var MetadataAttributeFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
1460
+ ...obj,
1461
+ ...obj.key && { key: import_smithy_client.SENSITIVE_STRING },
1462
+ ...obj.value && { value: MetadataAttributeValueFilterSensitiveLog(obj.value) }
1463
+ }), "MetadataAttributeFilterSensitiveLog");
1464
+ var DocumentMetadataFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
1465
+ ...obj,
1466
+ ...obj.inlineAttributes && {
1467
+ inlineAttributes: obj.inlineAttributes.map((item) => MetadataAttributeFilterSensitiveLog(item))
1468
+ }
1469
+ }), "DocumentMetadataFilterSensitiveLog");
1470
+ var KnowledgeBaseDocumentFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
1471
+ ...obj,
1472
+ ...obj.metadata && { metadata: DocumentMetadataFilterSensitiveLog(obj.metadata) },
1473
+ ...obj.content && { content: DocumentContentFilterSensitiveLog(obj.content) }
1474
+ }), "KnowledgeBaseDocumentFilterSensitiveLog");
1475
+ var IngestKnowledgeBaseDocumentsRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
1476
+ ...obj,
1477
+ ...obj.documents && { documents: obj.documents.map((item) => KnowledgeBaseDocumentFilterSensitiveLog(item)) }
1478
+ }), "IngestKnowledgeBaseDocumentsRequestFilterSensitiveLog");
1391
1479
 
1392
1480
  // src/protocols/Aws_restJson1.ts
1393
1481
  var se_AssociateAgentKnowledgeBaseCommand = /* @__PURE__ */ __name(async (input, context) => {
@@ -1724,6 +1812,24 @@ var se_DeleteKnowledgeBaseCommand = /* @__PURE__ */ __name(async (input, context
1724
1812
  b.m("DELETE").h(headers).b(body);
1725
1813
  return b.build();
1726
1814
  }, "se_DeleteKnowledgeBaseCommand");
1815
+ var se_DeleteKnowledgeBaseDocumentsCommand = /* @__PURE__ */ __name(async (input, context) => {
1816
+ const b = (0, import_core.requestBuilder)(input, context);
1817
+ const headers = {
1818
+ "content-type": "application/json"
1819
+ };
1820
+ b.bp("/knowledgebases/{knowledgeBaseId}/datasources/{dataSourceId}/documents/deleteDocuments");
1821
+ b.p("knowledgeBaseId", () => input.knowledgeBaseId, "{knowledgeBaseId}", false);
1822
+ b.p("dataSourceId", () => input.dataSourceId, "{dataSourceId}", false);
1823
+ let body;
1824
+ body = JSON.stringify(
1825
+ (0, import_smithy_client.take)(input, {
1826
+ clientToken: [true, (_) => _ ?? (0, import_uuid.v4)()],
1827
+ documentIdentifiers: (_) => (0, import_smithy_client._json)(_)
1828
+ })
1829
+ );
1830
+ b.m("POST").h(headers).b(body);
1831
+ return b.build();
1832
+ }, "se_DeleteKnowledgeBaseDocumentsCommand");
1727
1833
  var se_DeletePromptCommand = /* @__PURE__ */ __name(async (input, context) => {
1728
1834
  const b = (0, import_core.requestBuilder)(input, context);
1729
1835
  const headers = {};
@@ -1857,6 +1963,23 @@ var se_GetKnowledgeBaseCommand = /* @__PURE__ */ __name(async (input, context) =
1857
1963
  b.m("GET").h(headers).b(body);
1858
1964
  return b.build();
1859
1965
  }, "se_GetKnowledgeBaseCommand");
1966
+ var se_GetKnowledgeBaseDocumentsCommand = /* @__PURE__ */ __name(async (input, context) => {
1967
+ const b = (0, import_core.requestBuilder)(input, context);
1968
+ const headers = {
1969
+ "content-type": "application/json"
1970
+ };
1971
+ b.bp("/knowledgebases/{knowledgeBaseId}/datasources/{dataSourceId}/documents/getDocuments");
1972
+ b.p("knowledgeBaseId", () => input.knowledgeBaseId, "{knowledgeBaseId}", false);
1973
+ b.p("dataSourceId", () => input.dataSourceId, "{dataSourceId}", false);
1974
+ let body;
1975
+ body = JSON.stringify(
1976
+ (0, import_smithy_client.take)(input, {
1977
+ documentIdentifiers: (_) => (0, import_smithy_client._json)(_)
1978
+ })
1979
+ );
1980
+ b.m("POST").h(headers).b(body);
1981
+ return b.build();
1982
+ }, "se_GetKnowledgeBaseDocumentsCommand");
1860
1983
  var se_GetPromptCommand = /* @__PURE__ */ __name(async (input, context) => {
1861
1984
  const b = (0, import_core.requestBuilder)(input, context);
1862
1985
  const headers = {};
@@ -1869,6 +1992,24 @@ var se_GetPromptCommand = /* @__PURE__ */ __name(async (input, context) => {
1869
1992
  b.m("GET").h(headers).q(query).b(body);
1870
1993
  return b.build();
1871
1994
  }, "se_GetPromptCommand");
1995
+ var se_IngestKnowledgeBaseDocumentsCommand = /* @__PURE__ */ __name(async (input, context) => {
1996
+ const b = (0, import_core.requestBuilder)(input, context);
1997
+ const headers = {
1998
+ "content-type": "application/json"
1999
+ };
2000
+ b.bp("/knowledgebases/{knowledgeBaseId}/datasources/{dataSourceId}/documents");
2001
+ b.p("knowledgeBaseId", () => input.knowledgeBaseId, "{knowledgeBaseId}", false);
2002
+ b.p("dataSourceId", () => input.dataSourceId, "{dataSourceId}", false);
2003
+ let body;
2004
+ body = JSON.stringify(
2005
+ (0, import_smithy_client.take)(input, {
2006
+ clientToken: [true, (_) => _ ?? (0, import_uuid.v4)()],
2007
+ documents: (_) => se_KnowledgeBaseDocuments(_, context)
2008
+ })
2009
+ );
2010
+ b.m("PUT").h(headers).b(body);
2011
+ return b.build();
2012
+ }, "se_IngestKnowledgeBaseDocumentsCommand");
1872
2013
  var se_ListAgentActionGroupsCommand = /* @__PURE__ */ __name(async (input, context) => {
1873
2014
  const b = (0, import_core.requestBuilder)(input, context);
1874
2015
  const headers = {
@@ -2030,6 +2171,24 @@ var se_ListIngestionJobsCommand = /* @__PURE__ */ __name(async (input, context)
2030
2171
  b.m("POST").h(headers).b(body);
2031
2172
  return b.build();
2032
2173
  }, "se_ListIngestionJobsCommand");
2174
+ var se_ListKnowledgeBaseDocumentsCommand = /* @__PURE__ */ __name(async (input, context) => {
2175
+ const b = (0, import_core.requestBuilder)(input, context);
2176
+ const headers = {
2177
+ "content-type": "application/json"
2178
+ };
2179
+ b.bp("/knowledgebases/{knowledgeBaseId}/datasources/{dataSourceId}/documents");
2180
+ b.p("knowledgeBaseId", () => input.knowledgeBaseId, "{knowledgeBaseId}", false);
2181
+ b.p("dataSourceId", () => input.dataSourceId, "{dataSourceId}", false);
2182
+ let body;
2183
+ body = JSON.stringify(
2184
+ (0, import_smithy_client.take)(input, {
2185
+ maxResults: [],
2186
+ nextToken: []
2187
+ })
2188
+ );
2189
+ b.m("POST").h(headers).b(body);
2190
+ return b.build();
2191
+ }, "se_ListKnowledgeBaseDocumentsCommand");
2033
2192
  var se_ListKnowledgeBasesCommand = /* @__PURE__ */ __name(async (input, context) => {
2034
2193
  const b = (0, import_core.requestBuilder)(input, context);
2035
2194
  const headers = {
@@ -2678,6 +2837,20 @@ var de_DeleteKnowledgeBaseCommand = /* @__PURE__ */ __name(async (output, contex
2678
2837
  Object.assign(contents, doc);
2679
2838
  return contents;
2680
2839
  }, "de_DeleteKnowledgeBaseCommand");
2840
+ var de_DeleteKnowledgeBaseDocumentsCommand = /* @__PURE__ */ __name(async (output, context) => {
2841
+ if (output.statusCode !== 202 && output.statusCode >= 300) {
2842
+ return de_CommandError(output, context);
2843
+ }
2844
+ const contents = (0, import_smithy_client.map)({
2845
+ $metadata: deserializeMetadata(output)
2846
+ });
2847
+ const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
2848
+ const doc = (0, import_smithy_client.take)(data, {
2849
+ documentDetails: (_) => de_KnowledgeBaseDocumentDetails(_, context)
2850
+ });
2851
+ Object.assign(contents, doc);
2852
+ return contents;
2853
+ }, "de_DeleteKnowledgeBaseDocumentsCommand");
2681
2854
  var de_DeletePromptCommand = /* @__PURE__ */ __name(async (output, context) => {
2682
2855
  if (output.statusCode !== 200 && output.statusCode >= 300) {
2683
2856
  return de_CommandError(output, context);
@@ -2884,6 +3057,20 @@ var de_GetKnowledgeBaseCommand = /* @__PURE__ */ __name(async (output, context)
2884
3057
  Object.assign(contents, doc);
2885
3058
  return contents;
2886
3059
  }, "de_GetKnowledgeBaseCommand");
3060
+ var de_GetKnowledgeBaseDocumentsCommand = /* @__PURE__ */ __name(async (output, context) => {
3061
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
3062
+ return de_CommandError(output, context);
3063
+ }
3064
+ const contents = (0, import_smithy_client.map)({
3065
+ $metadata: deserializeMetadata(output)
3066
+ });
3067
+ const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
3068
+ const doc = (0, import_smithy_client.take)(data, {
3069
+ documentDetails: (_) => de_KnowledgeBaseDocumentDetails(_, context)
3070
+ });
3071
+ Object.assign(contents, doc);
3072
+ return contents;
3073
+ }, "de_GetKnowledgeBaseDocumentsCommand");
2887
3074
  var de_GetPromptCommand = /* @__PURE__ */ __name(async (output, context) => {
2888
3075
  if (output.statusCode !== 200 && output.statusCode >= 300) {
2889
3076
  return de_CommandError(output, context);
@@ -2907,6 +3094,20 @@ var de_GetPromptCommand = /* @__PURE__ */ __name(async (output, context) => {
2907
3094
  Object.assign(contents, doc);
2908
3095
  return contents;
2909
3096
  }, "de_GetPromptCommand");
3097
+ var de_IngestKnowledgeBaseDocumentsCommand = /* @__PURE__ */ __name(async (output, context) => {
3098
+ if (output.statusCode !== 202 && output.statusCode >= 300) {
3099
+ return de_CommandError(output, context);
3100
+ }
3101
+ const contents = (0, import_smithy_client.map)({
3102
+ $metadata: deserializeMetadata(output)
3103
+ });
3104
+ const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
3105
+ const doc = (0, import_smithy_client.take)(data, {
3106
+ documentDetails: (_) => de_KnowledgeBaseDocumentDetails(_, context)
3107
+ });
3108
+ Object.assign(contents, doc);
3109
+ return contents;
3110
+ }, "de_IngestKnowledgeBaseDocumentsCommand");
2910
3111
  var de_ListAgentActionGroupsCommand = /* @__PURE__ */ __name(async (output, context) => {
2911
3112
  if (output.statusCode !== 200 && output.statusCode >= 300) {
2912
3113
  return de_CommandError(output, context);
@@ -3057,6 +3258,21 @@ var de_ListIngestionJobsCommand = /* @__PURE__ */ __name(async (output, context)
3057
3258
  Object.assign(contents, doc);
3058
3259
  return contents;
3059
3260
  }, "de_ListIngestionJobsCommand");
3261
+ var de_ListKnowledgeBaseDocumentsCommand = /* @__PURE__ */ __name(async (output, context) => {
3262
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
3263
+ return de_CommandError(output, context);
3264
+ }
3265
+ const contents = (0, import_smithy_client.map)({
3266
+ $metadata: deserializeMetadata(output)
3267
+ });
3268
+ const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
3269
+ const doc = (0, import_smithy_client.take)(data, {
3270
+ documentDetails: (_) => de_KnowledgeBaseDocumentDetails(_, context),
3271
+ nextToken: import_smithy_client.expectString
3272
+ });
3273
+ Object.assign(contents, doc);
3274
+ return contents;
3275
+ }, "de_ListKnowledgeBaseDocumentsCommand");
3060
3276
  var de_ListKnowledgeBasesCommand = /* @__PURE__ */ __name(async (output, context) => {
3061
3277
  if (output.statusCode !== 200 && output.statusCode >= 300) {
3062
3278
  return de_CommandError(output, context);
@@ -3477,6 +3693,12 @@ var de_ValidationExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, cont
3477
3693
  });
3478
3694
  return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
3479
3695
  }, "de_ValidationExceptionRes");
3696
+ var se_ByteContentDoc = /* @__PURE__ */ __name((input, context) => {
3697
+ return (0, import_smithy_client.take)(input, {
3698
+ data: context.base64Encoder,
3699
+ mimeType: []
3700
+ });
3701
+ }, "se_ByteContentDoc");
3480
3702
  var se_ChatPromptTemplateConfiguration = /* @__PURE__ */ __name((input, context) => {
3481
3703
  return (0, import_smithy_client.take)(input, {
3482
3704
  inputVariables: import_smithy_client._json,
@@ -3485,6 +3707,28 @@ var se_ChatPromptTemplateConfiguration = /* @__PURE__ */ __name((input, context)
3485
3707
  toolConfiguration: (_) => se_ToolConfiguration(_, context)
3486
3708
  });
3487
3709
  }, "se_ChatPromptTemplateConfiguration");
3710
+ var se_CustomContent = /* @__PURE__ */ __name((input, context) => {
3711
+ return (0, import_smithy_client.take)(input, {
3712
+ customDocumentIdentifier: import_smithy_client._json,
3713
+ inlineContent: (_) => se_InlineContent(_, context),
3714
+ s3Location: import_smithy_client._json,
3715
+ sourceType: []
3716
+ });
3717
+ }, "se_CustomContent");
3718
+ var se_DocumentContent = /* @__PURE__ */ __name((input, context) => {
3719
+ return (0, import_smithy_client.take)(input, {
3720
+ custom: (_) => se_CustomContent(_, context),
3721
+ dataSourceType: [],
3722
+ s3: import_smithy_client._json
3723
+ });
3724
+ }, "se_DocumentContent");
3725
+ var se_DocumentMetadata = /* @__PURE__ */ __name((input, context) => {
3726
+ return (0, import_smithy_client.take)(input, {
3727
+ inlineAttributes: (_) => se_MetadataAttributes(_, context),
3728
+ s3Location: import_smithy_client._json,
3729
+ type: []
3730
+ });
3731
+ }, "se_DocumentMetadata");
3488
3732
  var se_FlowDefinition = /* @__PURE__ */ __name((input, context) => {
3489
3733
  return (0, import_smithy_client.take)(input, {
3490
3734
  connections: import_smithy_client._json,
@@ -3531,6 +3775,44 @@ var se_InferenceConfiguration = /* @__PURE__ */ __name((input, context) => {
3531
3775
  topP: import_smithy_client.serializeFloat
3532
3776
  });
3533
3777
  }, "se_InferenceConfiguration");
3778
+ var se_InlineContent = /* @__PURE__ */ __name((input, context) => {
3779
+ return (0, import_smithy_client.take)(input, {
3780
+ byteContent: (_) => se_ByteContentDoc(_, context),
3781
+ textContent: import_smithy_client._json,
3782
+ type: []
3783
+ });
3784
+ }, "se_InlineContent");
3785
+ var se_KnowledgeBaseDocument = /* @__PURE__ */ __name((input, context) => {
3786
+ return (0, import_smithy_client.take)(input, {
3787
+ content: (_) => se_DocumentContent(_, context),
3788
+ metadata: (_) => se_DocumentMetadata(_, context)
3789
+ });
3790
+ }, "se_KnowledgeBaseDocument");
3791
+ var se_KnowledgeBaseDocuments = /* @__PURE__ */ __name((input, context) => {
3792
+ return input.filter((e) => e != null).map((entry) => {
3793
+ return se_KnowledgeBaseDocument(entry, context);
3794
+ });
3795
+ }, "se_KnowledgeBaseDocuments");
3796
+ var se_MetadataAttribute = /* @__PURE__ */ __name((input, context) => {
3797
+ return (0, import_smithy_client.take)(input, {
3798
+ key: [],
3799
+ value: (_) => se_MetadataAttributeValue(_, context)
3800
+ });
3801
+ }, "se_MetadataAttribute");
3802
+ var se_MetadataAttributes = /* @__PURE__ */ __name((input, context) => {
3803
+ return input.filter((e) => e != null).map((entry) => {
3804
+ return se_MetadataAttribute(entry, context);
3805
+ });
3806
+ }, "se_MetadataAttributes");
3807
+ var se_MetadataAttributeValue = /* @__PURE__ */ __name((input, context) => {
3808
+ return (0, import_smithy_client.take)(input, {
3809
+ booleanValue: [],
3810
+ numberValue: import_smithy_client.serializeFloat,
3811
+ stringListValue: import_smithy_client._json,
3812
+ stringValue: [],
3813
+ type: []
3814
+ });
3815
+ }, "se_MetadataAttributeValue");
3534
3816
  var se_PromptConfiguration = /* @__PURE__ */ __name((input, context) => {
3535
3817
  return (0, import_smithy_client.take)(input, {
3536
3818
  basePromptTemplate: [],
@@ -4060,6 +4342,22 @@ var de_KnowledgeBase = /* @__PURE__ */ __name((output, context) => {
4060
4342
  updatedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_))
4061
4343
  });
4062
4344
  }, "de_KnowledgeBase");
4345
+ var de_KnowledgeBaseDocumentDetail = /* @__PURE__ */ __name((output, context) => {
4346
+ return (0, import_smithy_client.take)(output, {
4347
+ dataSourceId: import_smithy_client.expectString,
4348
+ identifier: import_smithy_client._json,
4349
+ knowledgeBaseId: import_smithy_client.expectString,
4350
+ status: import_smithy_client.expectString,
4351
+ statusReason: import_smithy_client.expectString,
4352
+ updatedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_))
4353
+ });
4354
+ }, "de_KnowledgeBaseDocumentDetail");
4355
+ var de_KnowledgeBaseDocumentDetails = /* @__PURE__ */ __name((output, context) => {
4356
+ const retVal = (output || []).filter((e) => e != null).map((entry) => {
4357
+ return de_KnowledgeBaseDocumentDetail(entry, context);
4358
+ });
4359
+ return retVal;
4360
+ }, "de_KnowledgeBaseDocumentDetails");
4063
4361
  var de_KnowledgeBaseSummaries = /* @__PURE__ */ __name((output, context) => {
4064
4362
  const retVal = (output || []).filter((e) => e != null).map((entry) => {
4065
4363
  return de_KnowledgeBaseSummary(entry, context);
@@ -4370,6 +4668,28 @@ var CreateKnowledgeBaseCommand = _CreateKnowledgeBaseCommand;
4370
4668
 
4371
4669
  // src/models/models_1.ts
4372
4670
 
4671
+ var KnowledgeBaseType = {
4672
+ VECTOR: "VECTOR"
4673
+ };
4674
+ var EmbeddingDataType = {
4675
+ BINARY: "BINARY",
4676
+ FLOAT32: "FLOAT32"
4677
+ };
4678
+ var KnowledgeBaseStorageType = {
4679
+ MONGO_DB_ATLAS: "MONGO_DB_ATLAS",
4680
+ OPENSEARCH_SERVERLESS: "OPENSEARCH_SERVERLESS",
4681
+ PINECONE: "PINECONE",
4682
+ RDS: "RDS",
4683
+ REDIS_ENTERPRISE_CLOUD: "REDIS_ENTERPRISE_CLOUD"
4684
+ };
4685
+ var KnowledgeBaseStatus = {
4686
+ ACTIVE: "ACTIVE",
4687
+ CREATING: "CREATING",
4688
+ DELETE_UNSUCCESSFUL: "DELETE_UNSUCCESSFUL",
4689
+ DELETING: "DELETING",
4690
+ FAILED: "FAILED",
4691
+ UPDATING: "UPDATING"
4692
+ };
4373
4693
  var PromptGenAiResource;
4374
4694
  ((PromptGenAiResource2) => {
4375
4695
  PromptGenAiResource2.visit = /* @__PURE__ */ __name((value, visitor) => {
@@ -4589,6 +4909,20 @@ var _DeleteKnowledgeBaseCommand = class _DeleteKnowledgeBaseCommand extends impo
4589
4909
  __name(_DeleteKnowledgeBaseCommand, "DeleteKnowledgeBaseCommand");
4590
4910
  var DeleteKnowledgeBaseCommand = _DeleteKnowledgeBaseCommand;
4591
4911
 
4912
+ // src/commands/DeleteKnowledgeBaseDocumentsCommand.ts
4913
+
4914
+
4915
+
4916
+ var _DeleteKnowledgeBaseDocumentsCommand = class _DeleteKnowledgeBaseDocumentsCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
4917
+ return [
4918
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
4919
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
4920
+ ];
4921
+ }).s("AmazonBedrockAgentBuildTimeLambda", "DeleteKnowledgeBaseDocuments", {}).n("BedrockAgentClient", "DeleteKnowledgeBaseDocumentsCommand").f(void 0, void 0).ser(se_DeleteKnowledgeBaseDocumentsCommand).de(de_DeleteKnowledgeBaseDocumentsCommand).build() {
4922
+ };
4923
+ __name(_DeleteKnowledgeBaseDocumentsCommand, "DeleteKnowledgeBaseDocumentsCommand");
4924
+ var DeleteKnowledgeBaseDocumentsCommand = _DeleteKnowledgeBaseDocumentsCommand;
4925
+
4592
4926
  // src/commands/DeletePromptCommand.ts
4593
4927
 
4594
4928
 
@@ -4771,6 +5105,20 @@ var _GetKnowledgeBaseCommand = class _GetKnowledgeBaseCommand extends import_smi
4771
5105
  __name(_GetKnowledgeBaseCommand, "GetKnowledgeBaseCommand");
4772
5106
  var GetKnowledgeBaseCommand = _GetKnowledgeBaseCommand;
4773
5107
 
5108
+ // src/commands/GetKnowledgeBaseDocumentsCommand.ts
5109
+
5110
+
5111
+
5112
+ var _GetKnowledgeBaseDocumentsCommand = class _GetKnowledgeBaseDocumentsCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
5113
+ return [
5114
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
5115
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
5116
+ ];
5117
+ }).s("AmazonBedrockAgentBuildTimeLambda", "GetKnowledgeBaseDocuments", {}).n("BedrockAgentClient", "GetKnowledgeBaseDocumentsCommand").f(void 0, void 0).ser(se_GetKnowledgeBaseDocumentsCommand).de(de_GetKnowledgeBaseDocumentsCommand).build() {
5118
+ };
5119
+ __name(_GetKnowledgeBaseDocumentsCommand, "GetKnowledgeBaseDocumentsCommand");
5120
+ var GetKnowledgeBaseDocumentsCommand = _GetKnowledgeBaseDocumentsCommand;
5121
+
4774
5122
  // src/commands/GetPromptCommand.ts
4775
5123
 
4776
5124
 
@@ -4785,6 +5133,20 @@ var _GetPromptCommand = class _GetPromptCommand extends import_smithy_client.Com
4785
5133
  __name(_GetPromptCommand, "GetPromptCommand");
4786
5134
  var GetPromptCommand = _GetPromptCommand;
4787
5135
 
5136
+ // src/commands/IngestKnowledgeBaseDocumentsCommand.ts
5137
+
5138
+
5139
+
5140
+ var _IngestKnowledgeBaseDocumentsCommand = class _IngestKnowledgeBaseDocumentsCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
5141
+ return [
5142
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
5143
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
5144
+ ];
5145
+ }).s("AmazonBedrockAgentBuildTimeLambda", "IngestKnowledgeBaseDocuments", {}).n("BedrockAgentClient", "IngestKnowledgeBaseDocumentsCommand").f(IngestKnowledgeBaseDocumentsRequestFilterSensitiveLog, void 0).ser(se_IngestKnowledgeBaseDocumentsCommand).de(de_IngestKnowledgeBaseDocumentsCommand).build() {
5146
+ };
5147
+ __name(_IngestKnowledgeBaseDocumentsCommand, "IngestKnowledgeBaseDocumentsCommand");
5148
+ var IngestKnowledgeBaseDocumentsCommand = _IngestKnowledgeBaseDocumentsCommand;
5149
+
4788
5150
  // src/commands/ListAgentActionGroupsCommand.ts
4789
5151
 
4790
5152
 
@@ -4925,6 +5287,20 @@ var _ListIngestionJobsCommand = class _ListIngestionJobsCommand extends import_s
4925
5287
  __name(_ListIngestionJobsCommand, "ListIngestionJobsCommand");
4926
5288
  var ListIngestionJobsCommand = _ListIngestionJobsCommand;
4927
5289
 
5290
+ // src/commands/ListKnowledgeBaseDocumentsCommand.ts
5291
+
5292
+
5293
+
5294
+ var _ListKnowledgeBaseDocumentsCommand = class _ListKnowledgeBaseDocumentsCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
5295
+ return [
5296
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
5297
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
5298
+ ];
5299
+ }).s("AmazonBedrockAgentBuildTimeLambda", "ListKnowledgeBaseDocuments", {}).n("BedrockAgentClient", "ListKnowledgeBaseDocumentsCommand").f(void 0, void 0).ser(se_ListKnowledgeBaseDocumentsCommand).de(de_ListKnowledgeBaseDocumentsCommand).build() {
5300
+ };
5301
+ __name(_ListKnowledgeBaseDocumentsCommand, "ListKnowledgeBaseDocumentsCommand");
5302
+ var ListKnowledgeBaseDocumentsCommand = _ListKnowledgeBaseDocumentsCommand;
5303
+
4928
5304
  // src/commands/ListKnowledgeBasesCommand.ts
4929
5305
 
4930
5306
 
@@ -5213,6 +5589,7 @@ var commands = {
5213
5589
  DeleteFlowAliasCommand,
5214
5590
  DeleteFlowVersionCommand,
5215
5591
  DeleteKnowledgeBaseCommand,
5592
+ DeleteKnowledgeBaseDocumentsCommand,
5216
5593
  DeletePromptCommand,
5217
5594
  DisassociateAgentKnowledgeBaseCommand,
5218
5595
  GetAgentCommand,
@@ -5226,7 +5603,9 @@ var commands = {
5226
5603
  GetFlowVersionCommand,
5227
5604
  GetIngestionJobCommand,
5228
5605
  GetKnowledgeBaseCommand,
5606
+ GetKnowledgeBaseDocumentsCommand,
5229
5607
  GetPromptCommand,
5608
+ IngestKnowledgeBaseDocumentsCommand,
5230
5609
  ListAgentActionGroupsCommand,
5231
5610
  ListAgentAliasesCommand,
5232
5611
  ListAgentKnowledgeBasesCommand,
@@ -5237,6 +5616,7 @@ var commands = {
5237
5616
  ListFlowsCommand,
5238
5617
  ListFlowVersionsCommand,
5239
5618
  ListIngestionJobsCommand,
5619
+ ListKnowledgeBaseDocumentsCommand,
5240
5620
  ListKnowledgeBasesCommand,
5241
5621
  ListPromptsCommand,
5242
5622
  ListTagsForResourceCommand,
@@ -5303,6 +5683,10 @@ var paginateListFlows = (0, import_core.createPaginator)(BedrockAgentClient, Lis
5303
5683
 
5304
5684
  var paginateListIngestionJobs = (0, import_core.createPaginator)(BedrockAgentClient, ListIngestionJobsCommand, "nextToken", "nextToken", "maxResults");
5305
5685
 
5686
+ // src/pagination/ListKnowledgeBaseDocumentsPaginator.ts
5687
+
5688
+ var paginateListKnowledgeBaseDocuments = (0, import_core.createPaginator)(BedrockAgentClient, ListKnowledgeBaseDocumentsCommand, "nextToken", "nextToken", "maxResults");
5689
+
5306
5690
  // src/pagination/ListKnowledgeBasesPaginator.ts
5307
5691
 
5308
5692
  var paginateListKnowledgeBases = (0, import_core.createPaginator)(BedrockAgentClient, ListKnowledgeBasesCommand, "nextToken", "nextToken", "maxResults");
@@ -5338,6 +5722,7 @@ var paginateListPrompts = (0, import_core.createPaginator)(BedrockAgentClient, L
5338
5722
  DeleteFlowCommand,
5339
5723
  DeleteFlowVersionCommand,
5340
5724
  DeleteKnowledgeBaseCommand,
5725
+ DeleteKnowledgeBaseDocumentsCommand,
5341
5726
  DeletePromptCommand,
5342
5727
  DisassociateAgentKnowledgeBaseCommand,
5343
5728
  GetAgentActionGroupCommand,
@@ -5351,7 +5736,9 @@ var paginateListPrompts = (0, import_core.createPaginator)(BedrockAgentClient, L
5351
5736
  GetFlowVersionCommand,
5352
5737
  GetIngestionJobCommand,
5353
5738
  GetKnowledgeBaseCommand,
5739
+ GetKnowledgeBaseDocumentsCommand,
5354
5740
  GetPromptCommand,
5741
+ IngestKnowledgeBaseDocumentsCommand,
5355
5742
  ListAgentActionGroupsCommand,
5356
5743
  ListAgentAliasesCommand,
5357
5744
  ListAgentKnowledgeBasesCommand,
@@ -5362,6 +5749,7 @@ var paginateListPrompts = (0, import_core.createPaginator)(BedrockAgentClient, L
5362
5749
  ListFlowVersionsCommand,
5363
5750
  ListFlowsCommand,
5364
5751
  ListIngestionJobsCommand,
5752
+ ListKnowledgeBaseDocumentsCommand,
5365
5753
  ListKnowledgeBasesCommand,
5366
5754
  ListPromptsCommand,
5367
5755
  ListTagsForResourceCommand,
@@ -5391,6 +5779,7 @@ var paginateListPrompts = (0, import_core.createPaginator)(BedrockAgentClient, L
5391
5779
  paginateListFlowVersions,
5392
5780
  paginateListFlows,
5393
5781
  paginateListIngestionJobs,
5782
+ paginateListKnowledgeBaseDocuments,
5394
5783
  paginateListKnowledgeBases,
5395
5784
  paginateListPrompts,
5396
5785
  AccessDeniedException,
@@ -5456,9 +5845,12 @@ var paginateListPrompts = (0, import_core.createPaginator)(BedrockAgentClient, L
5456
5845
  IngestionJobFilterOperator,
5457
5846
  IngestionJobSortByAttribute,
5458
5847
  SortOrder,
5459
- KnowledgeBaseType,
5460
- KnowledgeBaseStorageType,
5461
- KnowledgeBaseStatus,
5848
+ ContentDataSourceType,
5849
+ DocumentStatus,
5850
+ InlineContentType,
5851
+ CustomSourceType,
5852
+ MetadataValueType,
5853
+ MetadataSourceType,
5462
5854
  APISchemaFilterSensitiveLog,
5463
5855
  CreateAgentActionGroupRequestFilterSensitiveLog,
5464
5856
  AgentActionGroupFilterSensitiveLog,
@@ -5521,6 +5913,20 @@ var paginateListPrompts = (0, import_core.createPaginator)(BedrockAgentClient, L
5521
5913
  GetFlowResponseFilterSensitiveLog,
5522
5914
  UpdateFlowRequestFilterSensitiveLog,
5523
5915
  UpdateFlowResponseFilterSensitiveLog,
5916
+ ByteContentDocFilterSensitiveLog,
5917
+ TextContentDocFilterSensitiveLog,
5918
+ InlineContentFilterSensitiveLog,
5919
+ CustomContentFilterSensitiveLog,
5920
+ DocumentContentFilterSensitiveLog,
5921
+ MetadataAttributeValueFilterSensitiveLog,
5922
+ MetadataAttributeFilterSensitiveLog,
5923
+ DocumentMetadataFilterSensitiveLog,
5924
+ KnowledgeBaseDocumentFilterSensitiveLog,
5925
+ IngestKnowledgeBaseDocumentsRequestFilterSensitiveLog,
5926
+ KnowledgeBaseType,
5927
+ EmbeddingDataType,
5928
+ KnowledgeBaseStorageType,
5929
+ KnowledgeBaseStatus,
5524
5930
  PromptGenAiResource,
5525
5931
  PromptAgentResourceFilterSensitiveLog,
5526
5932
  PromptGenAiResourceFilterSensitiveLog,