Class: Aws::Kendra::Types::SourceDocument

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-kendra/types.rb

Overview

The document ID and its fields/attributes that are used for a query suggestion, if document fields set to use for query suggestions.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#additional_attributesArray<Types::DocumentAttribute>

The additional fields/attributes to include in the response. You can use additional fields to provide extra information in the response. Additional fields are not used to based suggestions on.

Returns:



9917
9918
9919
9920
9921
9922
9923
# File 'lib/aws-sdk-kendra/types.rb', line 9917

class SourceDocument < Struct.new(
  :document_id,
  :suggestion_attributes,
  :additional_attributes)
  SENSITIVE = []
  include Aws::Structure
end

#document_idString

The identifier of the document used for a query suggestion.

Returns:

  • (String)


9917
9918
9919
9920
9921
9922
9923
# File 'lib/aws-sdk-kendra/types.rb', line 9917

class SourceDocument < Struct.new(
  :document_id,
  :suggestion_attributes,
  :additional_attributes)
  SENSITIVE = []
  include Aws::Structure
end

#suggestion_attributesArray<String>

The document fields/attributes used for a query suggestion.

Returns:

  • (Array<String>)


9917
9918
9919
9920
9921
9922
9923
# File 'lib/aws-sdk-kendra/types.rb', line 9917

class SourceDocument < Struct.new(
  :document_id,
  :suggestion_attributes,
  :additional_attributes)
  SENSITIVE = []
  include Aws::Structure
end