Skip to content

DeleteKnowledgeBaseDocumentsRequest

Source code in docs_src/capo_bedrock_agent/types/delete_knowledge_base_documents_request.py
class DeleteKnowledgeBaseDocumentsRequest(TypedDict, closed=True):
    knowledge_base_id: "capo_bedrock_agent.types.id.Id"
    """<p>The unique identifier of the knowledge base that is connected to the data source.</p>"""
    data_source_id: "capo_bedrock_agent.types.id.Id"
    """<p>The unique identifier of the data source that contains the documents.</p>"""
    client_token: NotRequired["capo_bedrock_agent.types.client_token.ClientToken"]
    """<p>A unique, case-sensitive identifier to ensure that the API request completes no more than one time. If this token matches a previous request, Amazon Bedrock ignores the request, but does not return an error. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html">Ensuring idempotency</a>.</p>"""
    document_identifiers: (
        "capo_bedrock_agent.types.document_identifiers.DocumentIdentifiers"
    )
    """<p>A list of objects, each of which contains information to identify a document to delete.</p>"""

client_token instance-attribute

client_token: NotRequired[ClientToken]

A unique, case-sensitive identifier to ensure that the API request completes no more than one time. If this token matches a previous request, Amazon Bedrock ignores the request, but does not return an error. For more information, see Ensuring idempotency.

data_source_id instance-attribute

data_source_id: Id

The unique identifier of the data source that contains the documents.

document_identifiers instance-attribute

document_identifiers: DocumentIdentifiers

A list of objects, each of which contains information to identify a document to delete.

knowledge_base_id instance-attribute

knowledge_base_id: Id

The unique identifier of the knowledge base that is connected to the data source.