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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-kendra/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:



9863
9864
9865
9866
9867
9868
9869
# File 'gems/aws-sdk-kendra/lib/aws-sdk-kendra/types.rb', line 9863

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)


9863
9864
9865
9866
9867
9868
9869
# File 'gems/aws-sdk-kendra/lib/aws-sdk-kendra/types.rb', line 9863

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>)


9863
9864
9865
9866
9867
9868
9869
# File 'gems/aws-sdk-kendra/lib/aws-sdk-kendra/types.rb', line 9863

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