Class: Aws::QBusiness::Types::Document

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

Overview

A document in an Amazon Q Business application.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#access_configurationTypes::AccessConfiguration

Configuration information for access permission to a document.



3401
3402
3403
3404
3405
3406
3407
3408
3409
3410
3411
3412
# File 'gems/aws-sdk-qbusiness/lib/aws-sdk-qbusiness/types.rb', line 3401

class Document < Struct.new(
  :id,
  :attributes,
  :content,
  :content_type,
  :title,
  :access_configuration,
  :document_enrichment_configuration,
  :media_extraction_configuration)
  SENSITIVE = []
  include Aws::Structure
end

#attributesArray<Types::DocumentAttribute>

Custom attributes to apply to the document for refining Amazon Q Business web experience responses.

Returns:



3401
3402
3403
3404
3405
3406
3407
3408
3409
3410
3411
3412
# File 'gems/aws-sdk-qbusiness/lib/aws-sdk-qbusiness/types.rb', line 3401

class Document < Struct.new(
  :id,
  :attributes,
  :content,
  :content_type,
  :title,
  :access_configuration,
  :document_enrichment_configuration,
  :media_extraction_configuration)
  SENSITIVE = []
  include Aws::Structure
end

#contentTypes::DocumentContent

The contents of the document.



3401
3402
3403
3404
3405
3406
3407
3408
3409
3410
3411
3412
# File 'gems/aws-sdk-qbusiness/lib/aws-sdk-qbusiness/types.rb', line 3401

class Document < Struct.new(
  :id,
  :attributes,
  :content,
  :content_type,
  :title,
  :access_configuration,
  :document_enrichment_configuration,
  :media_extraction_configuration)
  SENSITIVE = []
  include Aws::Structure
end

#content_typeString

The file type of the document in the Blob field.

If you want to index snippets or subsets of HTML documents instead of the entirety of the HTML documents, you add the HTML start and closing tags (<HTML>content</HTML>) around the content.

Returns:

  • (String)


3401
3402
3403
3404
3405
3406
3407
3408
3409
3410
3411
3412
# File 'gems/aws-sdk-qbusiness/lib/aws-sdk-qbusiness/types.rb', line 3401

class Document < Struct.new(
  :id,
  :attributes,
  :content,
  :content_type,
  :title,
  :access_configuration,
  :document_enrichment_configuration,
  :media_extraction_configuration)
  SENSITIVE = []
  include Aws::Structure
end

#document_enrichment_configurationTypes::DocumentEnrichmentConfiguration

The configuration information for altering document metadata and content during the document ingestion process.



3401
3402
3403
3404
3405
3406
3407
3408
3409
3410
3411
3412
# File 'gems/aws-sdk-qbusiness/lib/aws-sdk-qbusiness/types.rb', line 3401

class Document < Struct.new(
  :id,
  :attributes,
  :content,
  :content_type,
  :title,
  :access_configuration,
  :document_enrichment_configuration,
  :media_extraction_configuration)
  SENSITIVE = []
  include Aws::Structure
end

#idString

The identifier of the document.

Returns:

  • (String)


3401
3402
3403
3404
3405
3406
3407
3408
3409
3410
3411
3412
# File 'gems/aws-sdk-qbusiness/lib/aws-sdk-qbusiness/types.rb', line 3401

class Document < Struct.new(
  :id,
  :attributes,
  :content,
  :content_type,
  :title,
  :access_configuration,
  :document_enrichment_configuration,
  :media_extraction_configuration)
  SENSITIVE = []
  include Aws::Structure
end

#media_extraction_configurationTypes::MediaExtractionConfiguration

The configuration for extracting information from media in the document.



3401
3402
3403
3404
3405
3406
3407
3408
3409
3410
3411
3412
# File 'gems/aws-sdk-qbusiness/lib/aws-sdk-qbusiness/types.rb', line 3401

class Document < Struct.new(
  :id,
  :attributes,
  :content,
  :content_type,
  :title,
  :access_configuration,
  :document_enrichment_configuration,
  :media_extraction_configuration)
  SENSITIVE = []
  include Aws::Structure
end

#titleString

The title of the document.

Returns:

  • (String)


3401
3402
3403
3404
3405
3406
3407
3408
3409
3410
3411
3412
# File 'gems/aws-sdk-qbusiness/lib/aws-sdk-qbusiness/types.rb', line 3401

class Document < Struct.new(
  :id,
  :attributes,
  :content,
  :content_type,
  :title,
  :access_configuration,
  :document_enrichment_configuration,
  :media_extraction_configuration)
  SENSITIVE = []
  include Aws::Structure
end