Skip to content

UpdateAgentKnowledgeBaseRequest

Source code in docs_src/capo_bedrock_agent/types/update_agent_knowledge_base_request.py
class UpdateAgentKnowledgeBaseRequest(TypedDict, closed=True):
    agent_id: "capo_bedrock_agent.types.id.Id"
    """<p>The unique identifier of the agent associated with the knowledge base that you want to update.</p>"""
    agent_version: "capo_bedrock_agent.types.draft_version.DraftVersion"
    """<p>The version of the agent associated with the knowledge base that you want to update.</p>"""
    knowledge_base_id: "capo_bedrock_agent.types.id.Id"
    """<p>The unique identifier of the knowledge base that has been associated with an agent.</p>"""
    description: NotRequired["capo_bedrock_agent.types.description.Description"]
    """<p>Specifies a new description for the knowledge base associated with an agent.</p>"""
    knowledge_base_state: NotRequired[
        "capo_bedrock_agent.types.knowledge_base_state.KnowledgeBaseState"
    ]
    """<p>Specifies whether the agent uses the knowledge base or not when sending an <a href="https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent-runtime_InvokeAgent.html">InvokeAgent</a> request.</p>"""

agent_id instance-attribute

agent_id: Id

The unique identifier of the agent associated with the knowledge base that you want to update.

agent_version instance-attribute

agent_version: DraftVersion

The version of the agent associated with the knowledge base that you want to update.

description instance-attribute

description: NotRequired[Description]

Specifies a new description for the knowledge base associated with an agent.

knowledge_base_id instance-attribute

knowledge_base_id: Id

The unique identifier of the knowledge base that has been associated with an agent.

knowledge_base_state instance-attribute

knowledge_base_state: NotRequired[KnowledgeBaseState]

Specifies whether the agent uses the knowledge base or not when sending an InvokeAgent request.