BedrockAgentClient.associate_agent_collaborator
rboto-bedrock-agent==0.4.0 · Service index · Types
Model summary (excerpt): Makes an agent a collaborator for another agent.
Install and imports
from rboto import BedrockAgentClient
from rboto_bedrock_agent.types import (
AgentDescriptor,
AssociateAgentCollaboratorOutput,
RelayConversationHistory,
)
Signature
async def associate_agent_collaborator(
*,
agent_id: str,
agent_version: str,
agent_descriptor: AgentDescriptor,
collaborator_name: str,
collaboration_instruction: str,
relay_conversation_history: RelayConversationHistory | None = None,
client_token: str | None = None,
) -> AssociateAgentCollaboratorOutput: ...
Arguments without defaults are required. None omits an optional request argument. Static types do not validate resource existence, permissions, lengths, ranges, or conditional service requirements.
Arguments
| Argument | Required | Model notes (excerpt) |
|---|---|---|
agent_id |
Yes | The agent's ID. |
agent_version |
Yes | An agent version. |
agent_descriptor |
Yes | The alias of the collaborator agent. |
collaborator_name |
Yes | A name for the collaborator. |
collaboration_instruction |
Yes | Instruction for the collaborator. |
relay_conversation_history |
No | A relay conversation history for the collaborator. |
client_token |
No | A client token. |
Output
AssociateAgentCollaboratorOutput.
Read-only native attributes, accessed as response.field. Collection getters materialize Python values; to_dict() recursively materializes a mapping. Streams are consumed once.
| Field | Type | Presence | References |
|---|---|---|---|
agent_collaborator |
AgentCollaboratorOutput | None |
Always present | AgentCollaboratorOutput |
| None means a value can be absent. Output mappings include every declared key; optional input keys may be omitted. Unknown output enum/union variants are not automatically valid inputs.
Related types
AgentDescriptor, AssociateAgentCollaboratorOutput, RelayConversationHistory
Follow these links for nested inputs and outputs; recursive types link back to the same type page.
Pagination and streaming
No generated paginator for this operation.
No output stream.
Errors
Import from rboto_bedrock_agent.exceptions:
AccessDeniedError, ConflictError, InternalServerError, ResourceNotFoundError, ServiceQuotaExceededError, ThrottlingError, ValidationError.
Other service failures use the service base error; credential, transport and timeout failures use shared errors.