@aws-sdk/client-bedrock-agent 3.703.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.
Files changed (59) hide show
  1. package/README.md +40 -0
  2. package/dist-cjs/index.js +559 -88
  3. package/dist-es/BedrockAgent.js +10 -0
  4. package/dist-es/commands/AssociateAgentCollaboratorCommand.js +23 -0
  5. package/dist-es/commands/CreateKnowledgeBaseCommand.js +2 -1
  6. package/dist-es/commands/DisassociateAgentCollaboratorCommand.js +22 -0
  7. package/dist-es/commands/GetAgentCollaboratorCommand.js +23 -0
  8. package/dist-es/commands/GetKnowledgeBaseCommand.js +2 -1
  9. package/dist-es/commands/IngestKnowledgeBaseDocumentsCommand.js +1 -1
  10. package/dist-es/commands/ListAgentCollaboratorsCommand.js +23 -0
  11. package/dist-es/commands/UpdateAgentCollaboratorCommand.js +23 -0
  12. package/dist-es/commands/UpdateKnowledgeBaseCommand.js +2 -1
  13. package/dist-es/commands/index.js +5 -0
  14. package/dist-es/models/models_0.js +48 -57
  15. package/dist-es/models/models_1.js +142 -1
  16. package/dist-es/pagination/ListAgentCollaboratorsPaginator.js +4 -0
  17. package/dist-es/pagination/index.js +1 -0
  18. package/dist-es/protocols/Aws_restJson1.js +184 -0
  19. package/dist-types/BedrockAgent.d.ts +35 -0
  20. package/dist-types/BedrockAgentClient.d.ts +7 -2
  21. package/dist-types/commands/AssociateAgentCollaboratorCommand.d.ts +113 -0
  22. package/dist-types/commands/CreateAgentCommand.d.ts +4 -0
  23. package/dist-types/commands/CreateDataSourceCommand.d.ts +12 -4
  24. package/dist-types/commands/CreateKnowledgeBaseCommand.d.ts +150 -2
  25. package/dist-types/commands/DisassociateAgentCollaboratorCommand.d.ts +89 -0
  26. package/dist-types/commands/GetAgentCollaboratorCommand.d.ts +101 -0
  27. package/dist-types/commands/GetAgentCommand.d.ts +2 -0
  28. package/dist-types/commands/GetAgentVersionCommand.d.ts +2 -0
  29. package/dist-types/commands/GetDataSourceCommand.d.ts +6 -2
  30. package/dist-types/commands/GetKnowledgeBaseCommand.d.ts +75 -1
  31. package/dist-types/commands/IngestKnowledgeBaseDocumentsCommand.d.ts +1 -1
  32. package/dist-types/commands/ListAgentCollaboratorsCommand.d.ts +104 -0
  33. package/dist-types/commands/ListKnowledgeBaseDocumentsCommand.d.ts +1 -1
  34. package/dist-types/commands/UpdateAgentCollaboratorCommand.d.ts +113 -0
  35. package/dist-types/commands/UpdateAgentCommand.d.ts +4 -0
  36. package/dist-types/commands/UpdateDataSourceCommand.d.ts +12 -4
  37. package/dist-types/commands/UpdateKnowledgeBaseCommand.d.ts +150 -2
  38. package/dist-types/commands/index.d.ts +5 -0
  39. package/dist-types/models/models_0.d.ts +434 -356
  40. package/dist-types/models/models_1.d.ts +802 -18
  41. package/dist-types/pagination/ListAgentCollaboratorsPaginator.d.ts +7 -0
  42. package/dist-types/pagination/index.d.ts +1 -0
  43. package/dist-types/protocols/Aws_restJson1.d.ts +45 -0
  44. package/dist-types/ts3.4/BedrockAgent.d.ts +85 -0
  45. package/dist-types/ts3.4/BedrockAgentClient.d.ts +30 -0
  46. package/dist-types/ts3.4/commands/AssociateAgentCollaboratorCommand.d.ts +51 -0
  47. package/dist-types/ts3.4/commands/DisassociateAgentCollaboratorCommand.d.ts +51 -0
  48. package/dist-types/ts3.4/commands/GetAgentCollaboratorCommand.d.ts +51 -0
  49. package/dist-types/ts3.4/commands/IngestKnowledgeBaseDocumentsCommand.d.ts +1 -1
  50. package/dist-types/ts3.4/commands/ListAgentCollaboratorsCommand.d.ts +51 -0
  51. package/dist-types/ts3.4/commands/ListKnowledgeBaseDocumentsCommand.d.ts +1 -1
  52. package/dist-types/ts3.4/commands/UpdateAgentCollaboratorCommand.d.ts +51 -0
  53. package/dist-types/ts3.4/commands/index.d.ts +5 -0
  54. package/dist-types/ts3.4/models/models_0.d.ts +130 -112
  55. package/dist-types/ts3.4/models/models_1.d.ts +283 -3
  56. package/dist-types/ts3.4/pagination/ListAgentCollaboratorsPaginator.d.ts +11 -0
  57. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  58. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +60 -0
  59. package/package.json +1 -1
@@ -769,6 +769,19 @@ export interface UpdateAgentActionGroupResponse {
769
769
  */
770
770
  agentActionGroup: AgentActionGroup | undefined;
771
771
  }
772
+ /**
773
+ * @public
774
+ * @enum
775
+ */
776
+ export declare const AgentCollaboration: {
777
+ readonly DISABLED: "DISABLED";
778
+ readonly SUPERVISOR: "SUPERVISOR";
779
+ readonly SUPERVISOR_ROUTER: "SUPERVISOR_ROUTER";
780
+ };
781
+ /**
782
+ * @public
783
+ */
784
+ export type AgentCollaboration = (typeof AgentCollaboration)[keyof typeof AgentCollaboration];
772
785
  /**
773
786
  * @public
774
787
  * @enum
@@ -1017,6 +1030,11 @@ export interface PromptConfiguration {
1017
1030
  * @public
1018
1031
  */
1019
1032
  parserMode?: CreationMode | undefined;
1033
+ /**
1034
+ * <p>The agent's foundation model.</p>
1035
+ * @public
1036
+ */
1037
+ foundationModel?: string | undefined;
1020
1038
  }
1021
1039
  /**
1022
1040
  * <p>Contains configurations to override prompts in different parts of an agent sequence. For more information, see <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/advanced-prompts.html">Advanced prompts</a>.</p>
@@ -1178,6 +1196,11 @@ export interface Agent {
1178
1196
  * @public
1179
1197
  */
1180
1198
  memoryConfiguration?: MemoryConfiguration | undefined;
1199
+ /**
1200
+ * <p>The agent's collaboration settings.</p>
1201
+ * @public
1202
+ */
1203
+ agentCollaboration?: AgentCollaboration | undefined;
1181
1204
  }
1182
1205
  /**
1183
1206
  * <p>Contains details about the routing configuration of the alias.</p>
@@ -1356,6 +1379,331 @@ export interface AgentAliasSummary {
1356
1379
  */
1357
1380
  updatedAt: Date | undefined;
1358
1381
  }
1382
+ /**
1383
+ * <p>An agent descriptor.</p>
1384
+ * @public
1385
+ */
1386
+ export interface AgentDescriptor {
1387
+ /**
1388
+ * <p>The agent's alias ARN.</p>
1389
+ * @public
1390
+ */
1391
+ aliasArn?: string | undefined;
1392
+ }
1393
+ /**
1394
+ * @public
1395
+ * @enum
1396
+ */
1397
+ export declare const RelayConversationHistory: {
1398
+ readonly DISABLED: "DISABLED";
1399
+ readonly TO_COLLABORATOR: "TO_COLLABORATOR";
1400
+ };
1401
+ /**
1402
+ * @public
1403
+ */
1404
+ export type RelayConversationHistory = (typeof RelayConversationHistory)[keyof typeof RelayConversationHistory];
1405
+ /**
1406
+ * <p>An agent collaborator.</p>
1407
+ * @public
1408
+ */
1409
+ export interface AgentCollaborator {
1410
+ /**
1411
+ * <p>The collaborator's agent ID.</p>
1412
+ * @public
1413
+ */
1414
+ agentId: string | undefined;
1415
+ /**
1416
+ * <p>The collaborator's agent version.</p>
1417
+ * @public
1418
+ */
1419
+ agentVersion: string | undefined;
1420
+ /**
1421
+ * <p>The collaborator's agent descriptor.</p>
1422
+ * @public
1423
+ */
1424
+ agentDescriptor: AgentDescriptor | undefined;
1425
+ /**
1426
+ * <p>The collaborator's collaborator ID.</p>
1427
+ * @public
1428
+ */
1429
+ collaboratorId: string | undefined;
1430
+ /**
1431
+ * <p>The collaborator's instructions.</p>
1432
+ * @public
1433
+ */
1434
+ collaborationInstruction: string | undefined;
1435
+ /**
1436
+ * <p>The collaborator's collaborator name.</p>
1437
+ * @public
1438
+ */
1439
+ collaboratorName: string | undefined;
1440
+ /**
1441
+ * <p>When the collaborator was created.</p>
1442
+ * @public
1443
+ */
1444
+ createdAt: Date | undefined;
1445
+ /**
1446
+ * <p>When the collaborator was updated.</p>
1447
+ * @public
1448
+ */
1449
+ lastUpdatedAt: Date | undefined;
1450
+ /**
1451
+ * <p>The collaborator's relay conversation history.</p>
1452
+ * @public
1453
+ */
1454
+ relayConversationHistory?: RelayConversationHistory | undefined;
1455
+ /**
1456
+ * <p>The collaborator's client token.</p>
1457
+ * @public
1458
+ */
1459
+ clientToken?: string | undefined;
1460
+ }
1461
+ /**
1462
+ * @public
1463
+ */
1464
+ export interface AssociateAgentCollaboratorRequest {
1465
+ /**
1466
+ * <p>The agent's ID.</p>
1467
+ * @public
1468
+ */
1469
+ agentId: string | undefined;
1470
+ /**
1471
+ * <p>An agent version.</p>
1472
+ * @public
1473
+ */
1474
+ agentVersion: string | undefined;
1475
+ /**
1476
+ * <p>The alias of the collaborator agent.</p>
1477
+ * @public
1478
+ */
1479
+ agentDescriptor: AgentDescriptor | undefined;
1480
+ /**
1481
+ * <p>A name for the collaborator.</p>
1482
+ * @public
1483
+ */
1484
+ collaboratorName: string | undefined;
1485
+ /**
1486
+ * <p>Instruction for the collaborator.</p>
1487
+ * @public
1488
+ */
1489
+ collaborationInstruction: string | undefined;
1490
+ /**
1491
+ * <p>A relay conversation history for the collaborator.</p>
1492
+ * @public
1493
+ */
1494
+ relayConversationHistory?: RelayConversationHistory | undefined;
1495
+ /**
1496
+ * <p>A client token.</p>
1497
+ * @public
1498
+ */
1499
+ clientToken?: string | undefined;
1500
+ }
1501
+ /**
1502
+ * @public
1503
+ */
1504
+ export interface AssociateAgentCollaboratorResponse {
1505
+ /**
1506
+ * <p>Details about the collaborator.</p>
1507
+ * @public
1508
+ */
1509
+ agentCollaborator: AgentCollaborator | undefined;
1510
+ }
1511
+ /**
1512
+ * @public
1513
+ */
1514
+ export interface DisassociateAgentCollaboratorRequest {
1515
+ /**
1516
+ * <p>An agent ID.</p>
1517
+ * @public
1518
+ */
1519
+ agentId: string | undefined;
1520
+ /**
1521
+ * <p>The agent's version.</p>
1522
+ * @public
1523
+ */
1524
+ agentVersion: string | undefined;
1525
+ /**
1526
+ * <p>The collaborator's ID.</p>
1527
+ * @public
1528
+ */
1529
+ collaboratorId: string | undefined;
1530
+ }
1531
+ /**
1532
+ * @public
1533
+ */
1534
+ export interface DisassociateAgentCollaboratorResponse {
1535
+ }
1536
+ /**
1537
+ * @public
1538
+ */
1539
+ export interface GetAgentCollaboratorRequest {
1540
+ /**
1541
+ * <p>The agent's ID.</p>
1542
+ * @public
1543
+ */
1544
+ agentId: string | undefined;
1545
+ /**
1546
+ * <p>The agent's version.</p>
1547
+ * @public
1548
+ */
1549
+ agentVersion: string | undefined;
1550
+ /**
1551
+ * <p>The collaborator's ID.</p>
1552
+ * @public
1553
+ */
1554
+ collaboratorId: string | undefined;
1555
+ }
1556
+ /**
1557
+ * @public
1558
+ */
1559
+ export interface GetAgentCollaboratorResponse {
1560
+ /**
1561
+ * <p>Details about the collaborator.</p>
1562
+ * @public
1563
+ */
1564
+ agentCollaborator: AgentCollaborator | undefined;
1565
+ }
1566
+ /**
1567
+ * @public
1568
+ */
1569
+ export interface ListAgentCollaboratorsRequest {
1570
+ /**
1571
+ * <p>The agent's ID.</p>
1572
+ * @public
1573
+ */
1574
+ agentId: string | undefined;
1575
+ /**
1576
+ * <p>The agent's version.</p>
1577
+ * @public
1578
+ */
1579
+ agentVersion: string | undefined;
1580
+ /**
1581
+ * <p>The maximum number of agent collaborators to return in one page of results.</p>
1582
+ * @public
1583
+ */
1584
+ maxResults?: number | undefined;
1585
+ /**
1586
+ * <p>Specify the pagination token from a previous request to retrieve the next page of results.</p>
1587
+ * @public
1588
+ */
1589
+ nextToken?: string | undefined;
1590
+ }
1591
+ /**
1592
+ * <p>An agent collaborator summary.</p>
1593
+ * @public
1594
+ */
1595
+ export interface AgentCollaboratorSummary {
1596
+ /**
1597
+ * <p>The collaborator's agent ID.</p>
1598
+ * @public
1599
+ */
1600
+ agentId: string | undefined;
1601
+ /**
1602
+ * <p>The collaborator's agent version.</p>
1603
+ * @public
1604
+ */
1605
+ agentVersion: string | undefined;
1606
+ /**
1607
+ * <p>The collaborator's ID.</p>
1608
+ * @public
1609
+ */
1610
+ collaboratorId: string | undefined;
1611
+ /**
1612
+ * <p>The collaborator's agent descriptor.</p>
1613
+ * @public
1614
+ */
1615
+ agentDescriptor: AgentDescriptor | undefined;
1616
+ /**
1617
+ * <p>The collaborator's collaboration instruction.</p>
1618
+ * @public
1619
+ */
1620
+ collaborationInstruction: string | undefined;
1621
+ /**
1622
+ * <p>The collaborator's relay conversation history.</p>
1623
+ * @public
1624
+ */
1625
+ relayConversationHistory: RelayConversationHistory | undefined;
1626
+ /**
1627
+ * <p>The collaborator's name.</p>
1628
+ * @public
1629
+ */
1630
+ collaboratorName: string | undefined;
1631
+ /**
1632
+ * <p>When the collaborator was created.</p>
1633
+ * @public
1634
+ */
1635
+ createdAt: Date | undefined;
1636
+ /**
1637
+ * <p>When the collaborator was last updated.</p>
1638
+ * @public
1639
+ */
1640
+ lastUpdatedAt: Date | undefined;
1641
+ }
1642
+ /**
1643
+ * @public
1644
+ */
1645
+ export interface ListAgentCollaboratorsResponse {
1646
+ /**
1647
+ * <p>A list of collaborator summaries.</p>
1648
+ * @public
1649
+ */
1650
+ agentCollaboratorSummaries: AgentCollaboratorSummary[] | undefined;
1651
+ /**
1652
+ * <p>Specify the pagination token from a previous request to retrieve the next page of results.</p>
1653
+ * @public
1654
+ */
1655
+ nextToken?: string | undefined;
1656
+ }
1657
+ /**
1658
+ * @public
1659
+ */
1660
+ export interface UpdateAgentCollaboratorRequest {
1661
+ /**
1662
+ * <p>The agent's ID.</p>
1663
+ * @public
1664
+ */
1665
+ agentId: string | undefined;
1666
+ /**
1667
+ * <p>The agent's version.</p>
1668
+ * @public
1669
+ */
1670
+ agentVersion: string | undefined;
1671
+ /**
1672
+ * <p>The collaborator's ID.</p>
1673
+ * @public
1674
+ */
1675
+ collaboratorId: string | undefined;
1676
+ /**
1677
+ * <p>An agent descriptor for the agent collaborator.</p>
1678
+ * @public
1679
+ */
1680
+ agentDescriptor: AgentDescriptor | undefined;
1681
+ /**
1682
+ * <p>The collaborator's name.</p>
1683
+ * @public
1684
+ */
1685
+ collaboratorName: string | undefined;
1686
+ /**
1687
+ * <p>Instruction for the collaborator.</p>
1688
+ * @public
1689
+ */
1690
+ collaborationInstruction: string | undefined;
1691
+ /**
1692
+ * <p>A relay conversation history for the collaborator.</p>
1693
+ * @public
1694
+ */
1695
+ relayConversationHistory?: RelayConversationHistory | undefined;
1696
+ }
1697
+ /**
1698
+ * @public
1699
+ */
1700
+ export interface UpdateAgentCollaboratorResponse {
1701
+ /**
1702
+ * <p>Details about the collaborator.</p>
1703
+ * @public
1704
+ */
1705
+ agentCollaborator: AgentCollaborator | undefined;
1706
+ }
1359
1707
  /**
1360
1708
  * <p>Defines an agent node in your flow. You specify the agent to invoke at this point in the flow. For more information, see <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/flows-nodes.html">Node types in Amazon Bedrock works</a> in the Amazon Bedrock User Guide.</p>
1361
1709
  * @public
@@ -1544,6 +1892,11 @@ export interface CreateAgentRequest {
1544
1892
  * @public
1545
1893
  */
1546
1894
  memoryConfiguration?: MemoryConfiguration | undefined;
1895
+ /**
1896
+ * <p>The agent's collaboration role.</p>
1897
+ * @public
1898
+ */
1899
+ agentCollaboration?: AgentCollaboration | undefined;
1547
1900
  }
1548
1901
  /**
1549
1902
  * @public
@@ -1803,6 +2156,11 @@ export interface UpdateAgentRequest {
1803
2156
  * @public
1804
2157
  */
1805
2158
  memoryConfiguration?: MemoryConfiguration | undefined;
2159
+ /**
2160
+ * <p>The agent's collaboration role.</p>
2161
+ * @public
2162
+ */
2163
+ agentCollaboration?: AgentCollaboration | undefined;
1806
2164
  }
1807
2165
  /**
1808
2166
  * @public
@@ -1912,6 +2270,11 @@ export interface AgentVersion {
1912
2270
  * @public
1913
2271
  */
1914
2272
  memoryConfiguration?: MemoryConfiguration | undefined;
2273
+ /**
2274
+ * <p>The agent's collaboration settings.</p>
2275
+ * @public
2276
+ */
2277
+ agentCollaboration?: AgentCollaboration | undefined;
1915
2278
  }
1916
2279
  /**
1917
2280
  * <p>Contains details about a version of an agent.</p>
@@ -2491,6 +2854,7 @@ export interface SharePointDataSourceConfiguration {
2491
2854
  export declare const DataSourceType: {
2492
2855
  readonly CONFLUENCE: "CONFLUENCE";
2493
2856
  readonly CUSTOM: "CUSTOM";
2857
+ readonly REDSHIFT_METADATA: "REDSHIFT_METADATA";
2494
2858
  readonly S3: "S3";
2495
2859
  readonly SALESFORCE: "SALESFORCE";
2496
2860
  readonly SHAREPOINT: "SHAREPOINT";
@@ -2917,6 +3281,28 @@ export interface CustomTransformationConfiguration {
2917
3281
  */
2918
3282
  transformations: Transformation[] | undefined;
2919
3283
  }
3284
+ /**
3285
+ * @public
3286
+ * @enum
3287
+ */
3288
+ export declare const ParsingModality: {
3289
+ readonly MULTIMODAL: "MULTIMODAL";
3290
+ };
3291
+ /**
3292
+ * @public
3293
+ */
3294
+ export type ParsingModality = (typeof ParsingModality)[keyof typeof ParsingModality];
3295
+ /**
3296
+ * <p>Contains configurations for using Amazon Bedrock Data Automation as the parser for ingesting your data sources.</p>
3297
+ * @public
3298
+ */
3299
+ export interface BedrockDataAutomationConfiguration {
3300
+ /**
3301
+ * <p>Specifies whether to enable parsing of multimodal data, including both text and/or images.</p>
3302
+ * @public
3303
+ */
3304
+ parsingModality?: ParsingModality | undefined;
3305
+ }
2920
3306
  /**
2921
3307
  * <p>Instructions for interpreting the contents of a document.</p>
2922
3308
  * @public
@@ -2934,7 +3320,7 @@ export interface ParsingPrompt {
2934
3320
  */
2935
3321
  export interface BedrockFoundationModelConfiguration {
2936
3322
  /**
2937
- * <p>The ARN of the foundation model or <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/cross-region-inference.html">inference profile</a>.</p>
3323
+ * <p>The ARN of the foundation model or <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/cross-region-inference.html">inference profile</a> to use for parsing.</p>
2938
3324
  * @public
2939
3325
  */
2940
3326
  modelArn: string | undefined;
@@ -2943,38 +3329,30 @@ export interface BedrockFoundationModelConfiguration {
2943
3329
  * @public
2944
3330
  */
2945
3331
  parsingPrompt?: ParsingPrompt | undefined;
3332
+ /**
3333
+ * <p>Specifies whether to enable parsing of multimodal data, including both text and/or images.</p>
3334
+ * @public
3335
+ */
3336
+ parsingModality?: ParsingModality | undefined;
2946
3337
  }
2947
3338
  /**
2948
3339
  * @public
2949
3340
  * @enum
2950
3341
  */
2951
3342
  export declare const ParsingStrategy: {
3343
+ readonly BEDROCK_DATA_AUTOMATION: "BEDROCK_DATA_AUTOMATION";
2952
3344
  readonly BEDROCK_FOUNDATION_MODEL: "BEDROCK_FOUNDATION_MODEL";
2953
3345
  };
2954
3346
  /**
2955
3347
  * @public
2956
- */
2957
- export type ParsingStrategy = (typeof ParsingStrategy)[keyof typeof ParsingStrategy];
2958
- /**
2959
- * <p>Settings for parsing document contents. By default, the service converts the contents of each
2960
- * document into text before splitting it into chunks. To improve processing of PDF files with tables and images,
2961
- * you can configure the data source to convert the pages of text into images and use a model to describe the
2962
- * contents of each page.</p>
2963
- * <p>To use a model to parse PDF documents, set the parsing strategy to <code>BEDROCK_FOUNDATION_MODEL</code> and
2964
- * specify the model or <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/cross-region-inference.html">inference profile</a> to use by ARN. You can also override the default parsing prompt with instructions for how
2965
- * to interpret images and tables in your documents. The following models are supported.</p>
2966
- * <ul>
2967
- * <li>
2968
- * <p>Anthropic Claude 3 Sonnet - <code>anthropic.claude-3-sonnet-20240229-v1:0</code>
2969
- * </p>
2970
- * </li>
2971
- * <li>
2972
- * <p>Anthropic Claude 3 Haiku - <code>anthropic.claude-3-haiku-20240307-v1:0</code>
2973
- * </p>
2974
- * </li>
2975
- * </ul>
2976
- * <p>You can get the ARN of a model with the <a href="https://docs.aws.amazon.com/bedrock/latest/APIReference/API_ListFoundationModels.html">ListFoundationModels</a> action. Standard model usage
2977
- * charges apply for the foundation model parsing strategy.</p>
3348
+ */
3349
+ export type ParsingStrategy = (typeof ParsingStrategy)[keyof typeof ParsingStrategy];
3350
+ /**
3351
+ * <p>Settings for parsing document contents. If you exclude this field, the default parser converts the contents of each
3352
+ * document into text before splitting it into chunks. Specify the parsing strategy to use in the <code>parsingStrategy</code> field and include the relevant configuration, or omit it to use the Amazon Bedrock default parser. For more information, see <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/kb-advanced-parsing.html">Parsing options for your data source</a>.</p>
3353
+ * <note>
3354
+ * <p>If you specify <code>BEDROCK_DATA_AUTOMATION</code> or <code>BEDROCK_FOUNDATION_MODEL</code> and it fails to parse a file, the Amazon Bedrock default parser will be used instead.</p>
3355
+ * </note>
2978
3356
  * @public
2979
3357
  */
2980
3358
  export interface ParsingConfiguration {
@@ -2984,10 +3362,15 @@ export interface ParsingConfiguration {
2984
3362
  */
2985
3363
  parsingStrategy: ParsingStrategy | undefined;
2986
3364
  /**
2987
- * <p>Settings for a foundation model used to parse documents for a data source.</p>
3365
+ * <p>If you specify <code>BEDROCK_FOUNDATION_MODEL</code> as the parsing strategy for ingesting your data source, use this object to modify configurations for using a foundation model to parse documents.</p>
2988
3366
  * @public
2989
3367
  */
2990
3368
  bedrockFoundationModelConfiguration?: BedrockFoundationModelConfiguration | undefined;
3369
+ /**
3370
+ * <p>If you specify <code>BEDROCK_DATA_AUTOMATION</code> as the parsing strategy for ingesting your data source, use this object to modify configurations for using the Amazon Bedrock Data Automation parser.</p>
3371
+ * @public
3372
+ */
3373
+ bedrockDataAutomationConfiguration?: BedrockDataAutomationConfiguration | undefined;
2991
3374
  }
2992
3375
  /**
2993
3376
  * <p>Contains details about how to ingest the documents in a data source.</p>
@@ -3005,7 +3388,7 @@ export interface VectorIngestionConfiguration {
3005
3388
  */
3006
3389
  customTransformationConfiguration?: CustomTransformationConfiguration | undefined;
3007
3390
  /**
3008
- * <p>A custom parser for data source documents.</p>
3391
+ * <p>Configurations for a parser to use for parsing documents in your data source. If you exclude this field, the default parser will be used.</p>
3009
3392
  * @public
3010
3393
  */
3011
3394
  parsingConfiguration?: ParsingConfiguration | undefined;
@@ -7616,350 +7999,77 @@ export interface TextContentDoc {
7616
7999
  data: string | undefined;
7617
8000
  }
7618
8001
  /**
7619
- * @public
7620
- * @enum
7621
- */
7622
- export declare const InlineContentType: {
7623
- readonly BYTE: "BYTE";
7624
- readonly TEXT: "TEXT";
7625
- };
7626
- /**
7627
- * @public
7628
- */
7629
- export type InlineContentType = (typeof InlineContentType)[keyof typeof InlineContentType];
7630
- /**
7631
- * <p>Contains information about content defined inline to ingest into a data source. Choose a <code>type</code> and include the field that corresponds to it.</p>
7632
- * @public
7633
- */
7634
- export interface InlineContent {
7635
- /**
7636
- * <p>The type of inline content to define.</p>
7637
- * @public
7638
- */
7639
- type: InlineContentType | undefined;
7640
- /**
7641
- * <p>Contains information about content defined inline in bytes.</p>
7642
- * @public
7643
- */
7644
- byteContent?: ByteContentDoc | undefined;
7645
- /**
7646
- * <p>Contains information about content defined inline in text.</p>
7647
- * @public
7648
- */
7649
- textContent?: TextContentDoc | undefined;
7650
- }
7651
- /**
7652
- * <p>Contains information about the Amazon S3 location of the file containing the content to ingest into a knowledge base connected to a custom data source.</p>
7653
- * @public
7654
- */
7655
- export interface CustomS3Location {
7656
- /**
7657
- * <p>The S3 URI of the file containing the content to ingest.</p>
7658
- * @public
7659
- */
7660
- uri: string | undefined;
7661
- /**
7662
- * <p>The identifier of the Amazon Web Services account that owns the S3 bucket containing the content to ingest.</p>
7663
- * @public
7664
- */
7665
- bucketOwnerAccountId?: string | undefined;
7666
- }
7667
- /**
7668
- * @public
7669
- * @enum
7670
- */
7671
- export declare const CustomSourceType: {
7672
- readonly IN_LINE: "IN_LINE";
7673
- readonly S3_LOCATION: "S3_LOCATION";
7674
- };
7675
- /**
7676
- * @public
7677
- */
7678
- export type CustomSourceType = (typeof CustomSourceType)[keyof typeof CustomSourceType];
7679
- /**
7680
- * <p>Contains information about the content to ingest into a knowledge base connected to a custom data source. Choose a <code>sourceType</code> and include the field that corresponds to it.</p>
7681
- * @public
7682
- */
7683
- export interface CustomContent {
7684
- /**
7685
- * <p>A unique identifier for the document.</p>
7686
- * @public
7687
- */
7688
- customDocumentIdentifier: CustomDocumentIdentifier | undefined;
7689
- /**
7690
- * <p>The source of the data to ingest.</p>
7691
- * @public
7692
- */
7693
- sourceType: CustomSourceType | undefined;
7694
- /**
7695
- * <p>Contains information about the Amazon S3 location of the file from which to ingest data.</p>
7696
- * @public
7697
- */
7698
- s3Location?: CustomS3Location | undefined;
7699
- /**
7700
- * <p>Contains information about content defined inline to ingest into a knowledge base.</p>
7701
- * @public
7702
- */
7703
- inlineContent?: InlineContent | undefined;
7704
- }
7705
- /**
7706
- * <p>Contains information about the content to ingest into a knowledge base connected to an Amazon S3 data source.</p>
7707
- * @public
7708
- */
7709
- export interface S3Content {
7710
- /**
7711
- * <p>The S3 location of the file containing the content to ingest.</p>
7712
- * @public
7713
- */
7714
- s3Location: S3Location | undefined;
7715
- }
7716
- /**
7717
- * <p>Contains information about the content of a document. Choose a <code>dataSourceType</code> and include the field that corresponds to it.</p>
7718
- * @public
7719
- */
7720
- export interface DocumentContent {
7721
- /**
7722
- * <p>The type of data source that is connected to the knowledge base to which to ingest this document.</p>
7723
- * @public
7724
- */
7725
- dataSourceType: ContentDataSourceType | undefined;
7726
- /**
7727
- * <p>Contains information about the content to ingest into a knowledge base connected to a custom data source.</p>
7728
- * @public
7729
- */
7730
- custom?: CustomContent | undefined;
7731
- /**
7732
- * <p>Contains information about the content to ingest into a knowledge base connected to an Amazon S3 data source</p>
7733
- * @public
7734
- */
7735
- s3?: S3Content | undefined;
7736
- }
7737
- /**
7738
- * @public
7739
- * @enum
7740
- */
7741
- export declare const MetadataValueType: {
7742
- readonly BOOLEAN: "BOOLEAN";
7743
- readonly NUMBER: "NUMBER";
7744
- readonly STRING: "STRING";
7745
- readonly STRING_LIST: "STRING_LIST";
7746
- };
7747
- /**
7748
- * @public
7749
- */
7750
- export type MetadataValueType = (typeof MetadataValueType)[keyof typeof MetadataValueType];
7751
- /**
7752
- * <p>Contains the value of the metadata attribute. Choose a <code>type</code> and include the field that corresponds to it.</p>
7753
- * @public
7754
- */
7755
- export interface MetadataAttributeValue {
7756
- /**
7757
- * <p>The type of the metadata attribute.</p>
7758
- * @public
7759
- */
7760
- type: MetadataValueType | undefined;
7761
- /**
7762
- * <p>The value of the numeric metadata attribute.</p>
7763
- * @public
7764
- */
7765
- numberValue?: number | undefined;
7766
- /**
7767
- * <p>The value of the Boolean metadata attribute.</p>
7768
- * @public
7769
- */
7770
- booleanValue?: boolean | undefined;
7771
- /**
7772
- * <p>The value of the string metadata attribute.</p>
7773
- * @public
7774
- */
7775
- stringValue?: string | undefined;
7776
- /**
7777
- * <p>An array of strings that define the value of the metadata attribute.</p>
7778
- * @public
7779
- */
7780
- stringListValue?: string[] | undefined;
7781
- }
7782
- /**
7783
- * <p>Contains information about a metadata attribute.</p>
7784
- * @public
7785
- */
7786
- export interface MetadataAttribute {
7787
- /**
7788
- * <p>The key of the metadata attribute.</p>
7789
- * @public
7790
- */
7791
- key: string | undefined;
7792
- /**
7793
- * <p>Contains the value of the metadata attribute.</p>
7794
- * @public
7795
- */
7796
- value: MetadataAttributeValue | undefined;
7797
- }
7798
- /**
7799
- * @public
7800
- * @enum
8002
+ * @internal
7801
8003
  */
7802
- export declare const MetadataSourceType: {
7803
- readonly IN_LINE_ATTRIBUTE: "IN_LINE_ATTRIBUTE";
7804
- readonly S3_LOCATION: "S3_LOCATION";
7805
- };
8004
+ export declare const APISchemaFilterSensitiveLog: (obj: APISchema) => any;
7806
8005
  /**
7807
- * @public
8006
+ * @internal
7808
8007
  */
7809
- export type MetadataSourceType = (typeof MetadataSourceType)[keyof typeof MetadataSourceType];
8008
+ export declare const CreateAgentActionGroupRequestFilterSensitiveLog: (obj: CreateAgentActionGroupRequest) => any;
7810
8009
  /**
7811
- * <p>Contains information about the metadata associate with the content to ingest into a knowledge base. Choose a <code>type</code> and include the field that corresponds to it.</p>
7812
- * @public
8010
+ * @internal
7813
8011
  */
7814
- export interface DocumentMetadata {
7815
- /**
7816
- * <p>The type of the source source from which to add metadata.</p>
7817
- * @public
7818
- */
7819
- type: MetadataSourceType | undefined;
7820
- /**
7821
- * <p>An array of objects, each of which defines a metadata attribute to associate with the content to ingest. You define the attributes inline.</p>
7822
- * @public
7823
- */
7824
- inlineAttributes?: MetadataAttribute[] | undefined;
7825
- /**
7826
- * <p>The Amazon S3 location of the file containing metadata to associate with the content to ingest.</p>
7827
- * @public
7828
- */
7829
- s3Location?: CustomS3Location | undefined;
7830
- }
8012
+ export declare const AgentActionGroupFilterSensitiveLog: (obj: AgentActionGroup) => any;
7831
8013
  /**
7832
- * <p>Contains information about a document to ingest into a knowledge base and metadata to associate with it.</p>
7833
- * @public
8014
+ * @internal
7834
8015
  */
7835
- export interface KnowledgeBaseDocument {
7836
- /**
7837
- * <p>Contains the metadata to associate with the document.</p>
7838
- * @public
7839
- */
7840
- metadata?: DocumentMetadata | undefined;
7841
- /**
7842
- * <p>Contains the content of the document.</p>
7843
- * @public
7844
- */
7845
- content: DocumentContent | undefined;
7846
- }
8016
+ export declare const CreateAgentActionGroupResponseFilterSensitiveLog: (obj: CreateAgentActionGroupResponse) => any;
7847
8017
  /**
7848
- * @public
8018
+ * @internal
7849
8019
  */
7850
- export interface IngestKnowledgeBaseDocumentsRequest {
7851
- /**
7852
- * <p>The unique identifier of the knowledge base to ingest the documents into.</p>
7853
- * @public
7854
- */
7855
- knowledgeBaseId: string | undefined;
7856
- /**
7857
- * <p>The unique identifier of the data source connected to the knowledge base that you're adding documents to.</p>
7858
- * @public
7859
- */
7860
- dataSourceId: string | undefined;
7861
- /**
7862
- * <p>A unique, case-sensitive identifier to ensure that the API request completes no more than one time. If this token matches a previous request,
7863
- * Amazon Bedrock ignores the request, but does not return an error. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html">Ensuring idempotency</a>.</p>
7864
- * @public
7865
- */
7866
- clientToken?: string | undefined;
7867
- /**
7868
- * <p>A list of objects, each of which contains information about the documents to add.</p>
7869
- * @public
7870
- */
7871
- documents: KnowledgeBaseDocument[] | undefined;
7872
- }
8020
+ export declare const GetAgentActionGroupResponseFilterSensitiveLog: (obj: GetAgentActionGroupResponse) => any;
7873
8021
  /**
7874
- * @public
8022
+ * @internal
7875
8023
  */
7876
- export interface IngestKnowledgeBaseDocumentsResponse {
7877
- /**
7878
- * <p>A list of objects, each of which contains information about the documents that were ingested.</p>
7879
- * @public
7880
- */
7881
- documentDetails?: KnowledgeBaseDocumentDetail[] | undefined;
7882
- }
8024
+ export declare const UpdateAgentActionGroupRequestFilterSensitiveLog: (obj: UpdateAgentActionGroupRequest) => any;
7883
8025
  /**
7884
- * @public
8026
+ * @internal
7885
8027
  */
7886
- export interface ListKnowledgeBaseDocumentsRequest {
7887
- /**
7888
- * <p>The unique identifier of the knowledge base that is connected to the data source.</p>
7889
- * @public
7890
- */
7891
- knowledgeBaseId: string | undefined;
7892
- /**
7893
- * <p>The unique identifier of the data source that contains the documents.</p>
7894
- * @public
7895
- */
7896
- dataSourceId: string | undefined;
7897
- /**
7898
- * <p>The maximum number of results to return in the response. If the total number of results is greater than this value, use the token returned in the response in the <code>nextToken</code> field when making another request to return the next batch of results.</p>
7899
- * @public
7900
- */
7901
- maxResults?: number | undefined;
7902
- /**
7903
- * <p>If the total number of results is greater than the <code>maxResults</code> value provided in the request, enter the token returned in the <code>nextToken</code> field in the response in this field to return the next batch of results.</p>
7904
- * @public
7905
- */
7906
- nextToken?: string | undefined;
7907
- }
8028
+ export declare const UpdateAgentActionGroupResponseFilterSensitiveLog: (obj: UpdateAgentActionGroupResponse) => any;
7908
8029
  /**
7909
- * @public
8030
+ * @internal
7910
8031
  */
7911
- export interface ListKnowledgeBaseDocumentsResponse {
7912
- /**
7913
- * <p>A list of objects, each of which contains information about the documents that were retrieved.</p>
7914
- * @public
7915
- */
7916
- documentDetails: KnowledgeBaseDocumentDetail[] | undefined;
7917
- /**
7918
- * <p>If the total number of results is greater than the <code>maxResults</code> value provided in the request, use this token when making another request in the <code>nextToken</code> field to return the next batch of results.</p>
7919
- * @public
7920
- */
7921
- nextToken?: string | undefined;
7922
- }
8032
+ export declare const PromptConfigurationFilterSensitiveLog: (obj: PromptConfiguration) => any;
7923
8033
  /**
7924
8034
  * @internal
7925
8035
  */
7926
- export declare const APISchemaFilterSensitiveLog: (obj: APISchema) => any;
8036
+ export declare const PromptOverrideConfigurationFilterSensitiveLog: (obj: PromptOverrideConfiguration) => any;
7927
8037
  /**
7928
8038
  * @internal
7929
8039
  */
7930
- export declare const CreateAgentActionGroupRequestFilterSensitiveLog: (obj: CreateAgentActionGroupRequest) => any;
8040
+ export declare const AgentFilterSensitiveLog: (obj: Agent) => any;
7931
8041
  /**
7932
8042
  * @internal
7933
8043
  */
7934
- export declare const AgentActionGroupFilterSensitiveLog: (obj: AgentActionGroup) => any;
8044
+ export declare const AgentCollaboratorFilterSensitiveLog: (obj: AgentCollaborator) => any;
7935
8045
  /**
7936
8046
  * @internal
7937
8047
  */
7938
- export declare const CreateAgentActionGroupResponseFilterSensitiveLog: (obj: CreateAgentActionGroupResponse) => any;
8048
+ export declare const AssociateAgentCollaboratorRequestFilterSensitiveLog: (obj: AssociateAgentCollaboratorRequest) => any;
7939
8049
  /**
7940
8050
  * @internal
7941
8051
  */
7942
- export declare const GetAgentActionGroupResponseFilterSensitiveLog: (obj: GetAgentActionGroupResponse) => any;
8052
+ export declare const AssociateAgentCollaboratorResponseFilterSensitiveLog: (obj: AssociateAgentCollaboratorResponse) => any;
7943
8053
  /**
7944
8054
  * @internal
7945
8055
  */
7946
- export declare const UpdateAgentActionGroupRequestFilterSensitiveLog: (obj: UpdateAgentActionGroupRequest) => any;
8056
+ export declare const GetAgentCollaboratorResponseFilterSensitiveLog: (obj: GetAgentCollaboratorResponse) => any;
7947
8057
  /**
7948
8058
  * @internal
7949
8059
  */
7950
- export declare const UpdateAgentActionGroupResponseFilterSensitiveLog: (obj: UpdateAgentActionGroupResponse) => any;
8060
+ export declare const AgentCollaboratorSummaryFilterSensitiveLog: (obj: AgentCollaboratorSummary) => any;
7951
8061
  /**
7952
8062
  * @internal
7953
8063
  */
7954
- export declare const PromptConfigurationFilterSensitiveLog: (obj: PromptConfiguration) => any;
8064
+ export declare const ListAgentCollaboratorsResponseFilterSensitiveLog: (obj: ListAgentCollaboratorsResponse) => any;
7955
8065
  /**
7956
8066
  * @internal
7957
8067
  */
7958
- export declare const PromptOverrideConfigurationFilterSensitiveLog: (obj: PromptOverrideConfiguration) => any;
8068
+ export declare const UpdateAgentCollaboratorRequestFilterSensitiveLog: (obj: UpdateAgentCollaboratorRequest) => any;
7959
8069
  /**
7960
8070
  * @internal
7961
8071
  */
7962
- export declare const AgentFilterSensitiveLog: (obj: Agent) => any;
8072
+ export declare const UpdateAgentCollaboratorResponseFilterSensitiveLog: (obj: UpdateAgentCollaboratorResponse) => any;
7963
8073
  /**
7964
8074
  * @internal
7965
8075
  */
@@ -8176,35 +8286,3 @@ export declare const ByteContentDocFilterSensitiveLog: (obj: ByteContentDoc) =>
8176
8286
  * @internal
8177
8287
  */
8178
8288
  export declare const TextContentDocFilterSensitiveLog: (obj: TextContentDoc) => any;
8179
- /**
8180
- * @internal
8181
- */
8182
- export declare const InlineContentFilterSensitiveLog: (obj: InlineContent) => any;
8183
- /**
8184
- * @internal
8185
- */
8186
- export declare const CustomContentFilterSensitiveLog: (obj: CustomContent) => any;
8187
- /**
8188
- * @internal
8189
- */
8190
- export declare const DocumentContentFilterSensitiveLog: (obj: DocumentContent) => any;
8191
- /**
8192
- * @internal
8193
- */
8194
- export declare const MetadataAttributeValueFilterSensitiveLog: (obj: MetadataAttributeValue) => any;
8195
- /**
8196
- * @internal
8197
- */
8198
- export declare const MetadataAttributeFilterSensitiveLog: (obj: MetadataAttribute) => any;
8199
- /**
8200
- * @internal
8201
- */
8202
- export declare const DocumentMetadataFilterSensitiveLog: (obj: DocumentMetadata) => any;
8203
- /**
8204
- * @internal
8205
- */
8206
- export declare const KnowledgeBaseDocumentFilterSensitiveLog: (obj: KnowledgeBaseDocument) => any;
8207
- /**
8208
- * @internal
8209
- */
8210
- export declare const IngestKnowledgeBaseDocumentsRequestFilterSensitiveLog: (obj: IngestKnowledgeBaseDocumentsRequest) => any;