Skip to content

Bedrock Agent  >  Operations  >  disassociate_agent_knowledge_base

disassociate_agent_knowledge_base

Operation

disassociate_agent_knowledge_base async

disassociate_agent_knowledge_base(input: DisassociateAgentKnowledgeBaseInput, plugins: list[Plugin] | None = None) -> DisassociateAgentKnowledgeBaseOutput

Disassociates a knowledge base from an agent.

Parameters:

Name Type Description Default
input DisassociateAgentKnowledgeBaseInput

An instance of DisassociateAgentKnowledgeBaseInput.

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
DisassociateAgentKnowledgeBaseOutput

An instance of DisassociateAgentKnowledgeBaseOutput.

Input

DisassociateAgentKnowledgeBaseInput dataclass

Dataclass for DisassociateAgentKnowledgeBaseInput structure.

Attributes

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

The unique identifier of the agent from which to disassociate the knowledge base.

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

The version of the agent from which to disassociate the knowledge base.

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

The unique identifier of the knowledge base to disassociate.

Output

DisassociateAgentKnowledgeBaseOutput dataclass

Dataclass for DisassociateAgentKnowledgeBaseOutput structure.