Skip to content

/AWS1/CL_QQBGETDOCCONTENTRSP

GetDocumentContentResponse

CONSTRUCTOR

IMPORTING

Required arguments:

iv_presignedurl TYPE /AWS1/QQBSTRING /AWS1/QQBSTRING

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.

iv_mimetype TYPE /AWS1/QQBSTRING /AWS1/QQBSTRING

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.


Queryable Attributes

presignedUrl

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.

Accessible with the following methods

Method Description
GET_PRESIGNEDURL() Getter for PRESIGNEDURL, with configurable default
ASK_PRESIGNEDURL() Getter for PRESIGNEDURL w/ exceptions if field has no value
HAS_PRESIGNEDURL() Determine if PRESIGNEDURL has a value

mimeType

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.

Accessible with the following methods

Method Description
GET_MIMETYPE() Getter for MIMETYPE, with configurable default
ASK_MIMETYPE() Getter for MIMETYPE w/ exceptions if field has no value
HAS_MIMETYPE() Determine if MIMETYPE has a value