@aws-sdk/client-bedrock-agent 3.703.0 → 3.705.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/README.md +40 -0
- package/dist-cjs/index.js +406 -62
- package/dist-es/BedrockAgent.js +10 -0
- package/dist-es/commands/AssociateAgentCollaboratorCommand.js +23 -0
- package/dist-es/commands/DisassociateAgentCollaboratorCommand.js +22 -0
- package/dist-es/commands/GetAgentCollaboratorCommand.js +23 -0
- package/dist-es/commands/IngestKnowledgeBaseDocumentsCommand.js +1 -1
- package/dist-es/commands/ListAgentCollaboratorsCommand.js +23 -0
- package/dist-es/commands/UpdateAgentCollaboratorCommand.js +23 -0
- package/dist-es/commands/index.js +5 -0
- package/dist-es/models/models_0.js +43 -48
- package/dist-es/models/models_1.js +49 -1
- package/dist-es/pagination/ListAgentCollaboratorsPaginator.js +4 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/protocols/Aws_restJson1.js +184 -0
- package/dist-types/BedrockAgent.d.ts +35 -0
- package/dist-types/BedrockAgentClient.d.ts +7 -2
- package/dist-types/commands/AssociateAgentCollaboratorCommand.d.ts +113 -0
- package/dist-types/commands/CreateAgentCommand.d.ts +4 -0
- package/dist-types/commands/DisassociateAgentCollaboratorCommand.d.ts +89 -0
- package/dist-types/commands/GetAgentCollaboratorCommand.d.ts +101 -0
- package/dist-types/commands/GetAgentCommand.d.ts +2 -0
- package/dist-types/commands/GetAgentVersionCommand.d.ts +2 -0
- package/dist-types/commands/IngestKnowledgeBaseDocumentsCommand.d.ts +1 -1
- package/dist-types/commands/ListAgentCollaboratorsCommand.d.ts +104 -0
- package/dist-types/commands/ListKnowledgeBaseDocumentsCommand.d.ts +1 -1
- package/dist-types/commands/UpdateAgentCollaboratorCommand.d.ts +113 -0
- package/dist-types/commands/UpdateAgentCommand.d.ts +4 -0
- package/dist-types/commands/index.d.ts +5 -0
- package/dist-types/models/models_0.d.ts +389 -294
- package/dist-types/models/models_1.d.ts +301 -1
- package/dist-types/pagination/ListAgentCollaboratorsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +45 -0
- package/dist-types/ts3.4/BedrockAgent.d.ts +85 -0
- package/dist-types/ts3.4/BedrockAgentClient.d.ts +30 -0
- package/dist-types/ts3.4/commands/AssociateAgentCollaboratorCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DisassociateAgentCollaboratorCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetAgentCollaboratorCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/IngestKnowledgeBaseDocumentsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListAgentCollaboratorsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListKnowledgeBaseDocumentsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateAgentCollaboratorCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/index.d.ts +5 -0
- package/dist-types/ts3.4/models/models_0.d.ts +116 -98
- package/dist-types/ts3.4/models/models_1.d.ts +103 -0
- package/dist-types/ts3.4/pagination/ListAgentCollaboratorsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +60 -0
- 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>
|
|
@@ -7649,317 +8012,77 @@ export interface InlineContent {
|
|
|
7649
8012
|
textContent?: TextContentDoc | undefined;
|
|
7650
8013
|
}
|
|
7651
8014
|
/**
|
|
7652
|
-
*
|
|
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
|
|
8015
|
+
* @internal
|
|
7801
8016
|
*/
|
|
7802
|
-
export declare const
|
|
7803
|
-
readonly IN_LINE_ATTRIBUTE: "IN_LINE_ATTRIBUTE";
|
|
7804
|
-
readonly S3_LOCATION: "S3_LOCATION";
|
|
7805
|
-
};
|
|
8017
|
+
export declare const APISchemaFilterSensitiveLog: (obj: APISchema) => any;
|
|
7806
8018
|
/**
|
|
7807
|
-
* @
|
|
8019
|
+
* @internal
|
|
7808
8020
|
*/
|
|
7809
|
-
export
|
|
8021
|
+
export declare const CreateAgentActionGroupRequestFilterSensitiveLog: (obj: CreateAgentActionGroupRequest) => any;
|
|
7810
8022
|
/**
|
|
7811
|
-
*
|
|
7812
|
-
* @public
|
|
8023
|
+
* @internal
|
|
7813
8024
|
*/
|
|
7814
|
-
export
|
|
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
|
-
}
|
|
8025
|
+
export declare const AgentActionGroupFilterSensitiveLog: (obj: AgentActionGroup) => any;
|
|
7831
8026
|
/**
|
|
7832
|
-
*
|
|
7833
|
-
* @public
|
|
8027
|
+
* @internal
|
|
7834
8028
|
*/
|
|
7835
|
-
export
|
|
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
|
-
}
|
|
8029
|
+
export declare const CreateAgentActionGroupResponseFilterSensitiveLog: (obj: CreateAgentActionGroupResponse) => any;
|
|
7847
8030
|
/**
|
|
7848
|
-
* @
|
|
8031
|
+
* @internal
|
|
7849
8032
|
*/
|
|
7850
|
-
export
|
|
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
|
-
}
|
|
8033
|
+
export declare const GetAgentActionGroupResponseFilterSensitiveLog: (obj: GetAgentActionGroupResponse) => any;
|
|
7873
8034
|
/**
|
|
7874
|
-
* @
|
|
8035
|
+
* @internal
|
|
7875
8036
|
*/
|
|
7876
|
-
export
|
|
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
|
-
}
|
|
8037
|
+
export declare const UpdateAgentActionGroupRequestFilterSensitiveLog: (obj: UpdateAgentActionGroupRequest) => any;
|
|
7883
8038
|
/**
|
|
7884
|
-
* @
|
|
8039
|
+
* @internal
|
|
7885
8040
|
*/
|
|
7886
|
-
export
|
|
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
|
-
}
|
|
8041
|
+
export declare const UpdateAgentActionGroupResponseFilterSensitiveLog: (obj: UpdateAgentActionGroupResponse) => any;
|
|
7908
8042
|
/**
|
|
7909
|
-
* @
|
|
8043
|
+
* @internal
|
|
7910
8044
|
*/
|
|
7911
|
-
export
|
|
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
|
-
}
|
|
8045
|
+
export declare const PromptConfigurationFilterSensitiveLog: (obj: PromptConfiguration) => any;
|
|
7923
8046
|
/**
|
|
7924
8047
|
* @internal
|
|
7925
8048
|
*/
|
|
7926
|
-
export declare const
|
|
8049
|
+
export declare const PromptOverrideConfigurationFilterSensitiveLog: (obj: PromptOverrideConfiguration) => any;
|
|
7927
8050
|
/**
|
|
7928
8051
|
* @internal
|
|
7929
8052
|
*/
|
|
7930
|
-
export declare const
|
|
8053
|
+
export declare const AgentFilterSensitiveLog: (obj: Agent) => any;
|
|
7931
8054
|
/**
|
|
7932
8055
|
* @internal
|
|
7933
8056
|
*/
|
|
7934
|
-
export declare const
|
|
8057
|
+
export declare const AgentCollaboratorFilterSensitiveLog: (obj: AgentCollaborator) => any;
|
|
7935
8058
|
/**
|
|
7936
8059
|
* @internal
|
|
7937
8060
|
*/
|
|
7938
|
-
export declare const
|
|
8061
|
+
export declare const AssociateAgentCollaboratorRequestFilterSensitiveLog: (obj: AssociateAgentCollaboratorRequest) => any;
|
|
7939
8062
|
/**
|
|
7940
8063
|
* @internal
|
|
7941
8064
|
*/
|
|
7942
|
-
export declare const
|
|
8065
|
+
export declare const AssociateAgentCollaboratorResponseFilterSensitiveLog: (obj: AssociateAgentCollaboratorResponse) => any;
|
|
7943
8066
|
/**
|
|
7944
8067
|
* @internal
|
|
7945
8068
|
*/
|
|
7946
|
-
export declare const
|
|
8069
|
+
export declare const GetAgentCollaboratorResponseFilterSensitiveLog: (obj: GetAgentCollaboratorResponse) => any;
|
|
7947
8070
|
/**
|
|
7948
8071
|
* @internal
|
|
7949
8072
|
*/
|
|
7950
|
-
export declare const
|
|
8073
|
+
export declare const AgentCollaboratorSummaryFilterSensitiveLog: (obj: AgentCollaboratorSummary) => any;
|
|
7951
8074
|
/**
|
|
7952
8075
|
* @internal
|
|
7953
8076
|
*/
|
|
7954
|
-
export declare const
|
|
8077
|
+
export declare const ListAgentCollaboratorsResponseFilterSensitiveLog: (obj: ListAgentCollaboratorsResponse) => any;
|
|
7955
8078
|
/**
|
|
7956
8079
|
* @internal
|
|
7957
8080
|
*/
|
|
7958
|
-
export declare const
|
|
8081
|
+
export declare const UpdateAgentCollaboratorRequestFilterSensitiveLog: (obj: UpdateAgentCollaboratorRequest) => any;
|
|
7959
8082
|
/**
|
|
7960
8083
|
* @internal
|
|
7961
8084
|
*/
|
|
7962
|
-
export declare const
|
|
8085
|
+
export declare const UpdateAgentCollaboratorResponseFilterSensitiveLog: (obj: UpdateAgentCollaboratorResponse) => any;
|
|
7963
8086
|
/**
|
|
7964
8087
|
* @internal
|
|
7965
8088
|
*/
|
|
@@ -8180,31 +8303,3 @@ export declare const TextContentDocFilterSensitiveLog: (obj: TextContentDoc) =>
|
|
|
8180
8303
|
* @internal
|
|
8181
8304
|
*/
|
|
8182
8305
|
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;
|