Skip to content

UpdateKnowledgeBaseRequest

Source code in docs_src/capo_bedrock_agent/types/update_knowledge_base_request.py
class UpdateKnowledgeBaseRequest(TypedDict, closed=True):
    knowledge_base_id: "capo_bedrock_agent.types.id.Id"
    """<p>The unique identifier of the knowledge base to update.</p>"""
    name: "capo_bedrock_agent.types.name.Name"
    """<p>Specifies a new name for the knowledge base.</p>"""
    description: NotRequired["capo_bedrock_agent.types.description.Description"]
    """<p>Specifies a new description for the knowledge base.</p>"""
    role_arn: "capo_bedrock_agent.types.knowledge_base_role_arn.KnowledgeBaseRoleArn"
    """<p>Specifies a different Amazon Resource Name (ARN) of the IAM role with permissions to invoke API operations on the knowledge base.</p>"""
    knowledge_base_configuration: "capo_bedrock_agent.types.knowledge_base_configuration.KnowledgeBaseConfiguration"
    """<p>Specifies the configuration for the embeddings model used for the knowledge base. You must use the same configuration as when the knowledge base was created.</p>"""
    storage_configuration: NotRequired[
        "capo_bedrock_agent.types.storage_configuration.StorageConfiguration"
    ]
    """<p>Specifies the configuration for the vector store used for the knowledge base. You must use the same configuration as when the knowledge base was created.</p>"""

description instance-attribute

description: NotRequired[Description]

Specifies a new description for the knowledge base.

knowledge_base_configuration instance-attribute

knowledge_base_configuration: KnowledgeBaseConfiguration

Specifies the configuration for the embeddings model used for the knowledge base. You must use the same configuration as when the knowledge base was created.

knowledge_base_id instance-attribute

knowledge_base_id: Id

The unique identifier of the knowledge base to update.

name instance-attribute

name: Name

Specifies a new name for the knowledge base.

role_arn instance-attribute

Specifies a different Amazon Resource Name (ARN) of the IAM role with permissions to invoke API operations on the knowledge base.

storage_configuration instance-attribute

storage_configuration: NotRequired[StorageConfiguration]

Specifies the configuration for the vector store used for the knowledge base. You must use the same configuration as when the knowledge base was created.