Skip to content

GetDocumentContentResponse

Source code in docs_src/capo_qbusiness/types/get_document_content_response.py
class GetDocumentContentResponse(TypedDict, closed=True):
    presigned_url: "capo_qbusiness.types.string.String"
    """<p>A pre-signed URL that provides temporary access to download the document content directly from Amazon Q Business. The URL expires after 5 minutes for security purposes. This URL is generated only after successful ACL validation.</p>"""
    mime_type: "capo_qbusiness.types.string.String"
    """<p>The MIME type of the document content. When outputFormat is RAW, this corresponds to the original document's MIME type (e.g., application/pdf, text/plain, application/vnd.openxmlformats-officedocument.wordprocessingml.document). When outputFormat is EXTRACTED, the MIME type is always application/json.</p>"""

mime_type instance-attribute

mime_type: String

The MIME type of the document content. When outputFormat is RAW, this corresponds to the original document's MIME type (e.g., application/pdf, text/plain, application/vnd.openxmlformats-officedocument.wordprocessingml.document). When outputFormat is EXTRACTED, the MIME type is always application/json.

presigned_url instance-attribute

presigned_url: String

A pre-signed URL that provides temporary access to download the document content directly from Amazon Q Business. The URL expires after 5 minutes for security purposes. This URL is generated only after successful ACL validation.