Skip to content

Bedrock Agent  >  Operations  >  get_agent_version

get_agent_version

Operation

get_agent_version async

get_agent_version(input: GetAgentVersionInput, plugins: list[Plugin] | None = None) -> GetAgentVersionOutput

Gets details about a version of an agent.

Parameters:

Name Type Description Default
input GetAgentVersionInput

An instance of GetAgentVersionInput.

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
GetAgentVersionOutput

An instance of GetAgentVersionOutput.

Input

GetAgentVersionInput dataclass

Dataclass for GetAgentVersionInput structure.

Attributes

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

The unique identifier of the agent.

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

The version of the agent.

Output

GetAgentVersionOutput dataclass

Dataclass for GetAgentVersionOutput structure.

Attributes

agent_version instance-attribute
agent_version: AgentVersion

Contains details about the version of the agent.