Class: Aws::QBusiness::Types::GetDocumentContentResponse

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-qbusiness/lib/aws-sdk-qbusiness/types.rb

Overview

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#mime_typeString

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.

Returns:

  • (String)


4880
4881
4882
4883
4884
4885
# File 'gems/aws-sdk-qbusiness/lib/aws-sdk-qbusiness/types.rb', line 4880

class GetDocumentContentResponse < Struct.new(
  :presigned_url,
  :mime_type)
  SENSITIVE = []
  include Aws::Structure
end

#presigned_urlString

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.

Returns:

  • (String)


4880
4881
4882
4883
4884
4885
# File 'gems/aws-sdk-qbusiness/lib/aws-sdk-qbusiness/types.rb', line 4880

class GetDocumentContentResponse < Struct.new(
  :presigned_url,
  :mime_type)
  SENSITIVE = []
  include Aws::Structure
end