GetDocumentContentRequest
¶
Source code in docs_src/capo_bedrock_agent_runtime/types/get_document_content_request.py
data_source_id
instance-attribute
¶
data_source_id: DataSourceId
The unique identifier of the data source that contains the document.
document_id
instance-attribute
¶
document_id: DocumentId
The unique identifier of the document to retrieve content for.
knowledge_base_id
instance-attribute
¶
knowledge_base_id: KnowledgeBaseIdentifier
The unique identifier of the knowledge base that contains the document.
output_format
instance-attribute
¶
output_format: NotRequired[DocumentOutputFormat]
The output format for the document content. RAW returns the original file. EXTRACTED returns parsed text as JSON. Defaults to RAW.
user_context
instance-attribute
¶
user_context: NotRequired[UserContext]
Contains information about the user making the request. This is used for access control filtering to ensure that results only include documents the user is authorized to access.