associate_agent_collaborator
async
¶
associate_agent_collaborator(
agent_id: Id,
agent_version: DraftVersion,
agent_descriptor: AgentDescriptor,
collaborator_name: Name,
collaboration_instruction: CollaborationInstruction,
*,
config_overrides: Optional[AsyncBedrockAgentClientConfig] = None,
relay_conversation_history: Optional[RelayConversationHistory] = None,
client_token: Optional[ClientToken] = None,
) -> AssociateAgentCollaboratorResponse
Makes an agent a collaborator for another agent.
Parameters:
-
agent_id(Id) –The agent's ID.
-
agent_version(DraftVersion) –An agent version.
-
agent_descriptor(AgentDescriptor) –The alias of the collaborator agent.
-
collaborator_name(Name) –A name for the collaborator.
-
collaboration_instruction(CollaborationInstruction) –Instruction for the collaborator.
-
relay_conversation_history(Optional[RelayConversationHistory], default:None) –A relay conversation history for the collaborator.
-
client_token(Optional[ClientToken], default:None) –A client token.
Raises:
-
AccessDeniedException–The request is denied because of missing access permissions.
-
ConflictException–There was a conflict performing an operation.
-
InternalServerException–An internal server error occurred. Retry your request.
-
ResourceNotFoundException–The specified resource Amazon Resource Name (ARN) was not found. Check the Amazon Resource Name (ARN) and try your request again.
-
ServiceQuotaExceededException–The number of requests exceeds the service quota. Resubmit your request later.
-
ThrottlingException–The number of requests exceeds the limit. Resubmit your request later.
-
ValidationException–Input validation failed. Check your request parameters and retry the request.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_bedrock_agent/_services/async_bedrock_agent.py
1492 1493 1494 1495 1496 1497 1498 1499 1500 1501 1502 1503 1504 1505 1506 1507 1508 1509 1510 1511 1512 1513 1514 1515 1516 1517 1518 1519 1520 1521 1522 1523 1524 1525 1526 1527 1528 1529 1530 1531 1532 1533 1534 1535 1536 1537 1538 1539 1540 1541 1542 1543 1544 1545 1546 1547 1548 1549 1550 1551 1552 1553 1554 1555 1556 1557 1558 1559 1560 1561 1562 1563 1564 1565 1566 1567 1568 1569 1570 1571 1572 1573 1574 1575 1576 1577 1578 1579 1580 1581 1582 1583 1584 1585 1586 1587 1588 1589 1590 | |