AgentsforBedrock / Client / delete_knowledge_base
delete_knowledge_base#
- AgentsforBedrock.Client.delete_knowledge_base(**kwargs)#
Deletes a knowledge base. Before deleting a knowledge base, you should disassociate the knowledge base from any agents that it is associated with by making a DisassociateAgentKnowledgeBase request.
See also: AWS API Documentation
Request Syntax
response = client.delete_knowledge_base( knowledgeBaseId='string' )
- Parameters:
knowledgeBaseId (string) –
[REQUIRED]
The unique identifier of the knowledge base to delete.
- Return type:
dict
- Returns:
Response Syntax
{ 'knowledgeBaseId': 'string', 'status': 'CREATING'|'ACTIVE'|'DELETING'|'UPDATING'|'FAILED'|'DELETE_UNSUCCESSFUL' }
Response Structure
(dict) –
knowledgeBaseId (string) –
The unique identifier of the knowledge base that was deleted.
status (string) –
The status of the knowledge base and whether it has been successfully deleted.
Exceptions