Skip to content

Bedrock Agent  >  Operations  >  get_agent_collaborator

get_agent_collaborator

Operation

get_agent_collaborator async

get_agent_collaborator(input: GetAgentCollaboratorInput, plugins: list[Plugin] | None = None) -> GetAgentCollaboratorOutput

Retrieves information about an agent's collaborator.

Parameters:

Name Type Description Default
input GetAgentCollaboratorInput

An instance of GetAgentCollaboratorInput.

required
plugins list[Plugin] | None

A list of callables that modify the configuration dynamically. Changes made by these plugins only apply for the duration of the operation execution and will not affect any other operation invocations.

None

Returns:

Type Description
GetAgentCollaboratorOutput

An instance of GetAgentCollaboratorOutput.

Input

GetAgentCollaboratorInput dataclass

Dataclass for GetAgentCollaboratorInput structure.

Attributes

agent_id class-attribute instance-attribute
agent_id: str | None = None

The agent's ID.

agent_version class-attribute instance-attribute
agent_version: str | None = None

The agent's version.

collaborator_id class-attribute instance-attribute
collaborator_id: str | None = None

The collaborator's ID.

Output

GetAgentCollaboratorOutput dataclass

Dataclass for GetAgentCollaboratorOutput structure.

Attributes

agent_collaborator instance-attribute
agent_collaborator: AgentCollaborator

Details about the collaborator.