AgentsforBedrock / Client / disassociate_agent_knowledge_base

disassociate_agent_knowledge_base#

AgentsforBedrock.Client.disassociate_agent_knowledge_base(**kwargs)#

Disassociate an existing Knowledge Base from an Amazon Bedrock Agent

See also: AWS API Documentation

Request Syntax

response = client.disassociate_agent_knowledge_base(
    agentId='string',
    agentVersion='string',
    knowledgeBaseId='string'
)
Parameters:
  • agentId (string) –

    [REQUIRED]

    Id generated at the server side when an Agent is created

  • agentVersion (string) –

    [REQUIRED]

    Draft Version of the Agent.

  • knowledgeBaseId (string) –

    [REQUIRED]

    Id generated at the server side when a Knowledge Base is associated to an Agent

Return type:

dict

Returns:

Response Syntax

{}

Response Structure

  • (dict) –

    Disassociate Agent Knowledge Base Response

Exceptions

  • AgentsforBedrock.Client.exceptions.ThrottlingException

  • AgentsforBedrock.Client.exceptions.AccessDeniedException

  • AgentsforBedrock.Client.exceptions.ValidationException

  • AgentsforBedrock.Client.exceptions.InternalServerException

  • AgentsforBedrock.Client.exceptions.ResourceNotFoundException

  • AgentsforBedrock.Client.exceptions.ConflictException