AgentsforBedrock / Client / disassociate_agent_knowledge_base

disassociate_agent_knowledge_base#

AgentsforBedrock.Client.disassociate_agent_knowledge_base(**kwargs)#

Disassociates a knowledge base from an agent.

See also: AWS API Documentation

Request Syntax

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

    [REQUIRED]

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

  • agentVersion (string) –

    [REQUIRED]

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

  • knowledgeBaseId (string) –

    [REQUIRED]

    The unique identifier of the knowledge base to disassociate.

Return type:

dict

Returns:

Response Syntax

{}

Response Structure

  • (dict) –

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