AgentsforBedrock / Client / delete_knowledge_base

delete_knowledge_base#

AgentsforBedrock.Client.delete_knowledge_base(**kwargs)#

Delete an existing knowledge base

See also: AWS API Documentation

Request Syntax

response = client.delete_knowledge_base(
    knowledgeBaseId='string'
)
Parameters:

knowledgeBaseId (string) –

[REQUIRED]

Identifier for a resource.

Return type:

dict

Returns:

Response Syntax

{
    'knowledgeBaseId': 'string',
    'status': 'CREATING'|'ACTIVE'|'DELETING'|'UPDATING'|'FAILED'
}

Response Structure

  • (dict) –

    • knowledgeBaseId (string) –

      Identifier for a resource.

    • status (string) –

      The status of a knowledge base.

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