GetDocumentContentResponse
¶
Source code in docs_src/capo_bedrock_agent_runtime/types/get_document_content_response.py
document_content_length
instance-attribute
¶
document_content_length: NotRequired[int]
The size, in bytes, of the content available at the pre-signed URL.
mime_type
instance-attribute
¶
mime_type: str
The MIME type of the returned content. For RAW format, this is the original file type (for example, application/pdf), or the image type (for example, image/png) if you specify mediaId. For EXTRACTED format, this is always application/json.
presigned_url
instance-attribute
¶
presigned_url: PresignedUrl
A pre-signed URL for downloading the document content, or the selected image if you specify mediaId. The URL expires after 5 minutes.