SourceDocument - Amazon Kendra API Reference

SourceDocument

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

Contents

AdditionalAttributes

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.

Type: Array of DocumentAttribute objects

Required: No

DocumentId

The identifier of the document used for a query suggestion.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 2048.

Required: No

SuggestionAttributes

The document fields/attributes used for a query suggestion.

Type: Array of strings

Array Members: Minimum number of 1 item. Maximum number of 100 items.

Length Constraints: Minimum length of 1. Maximum length of 200.

Pattern: [a-zA-Z0-9_][a-zA-Z0-9_-]*

Required: No

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: