UpdateQuerySuggestionsConfig
Source:
src/AWS/Kendra/UpdateQuerySuggestionsConfig.ts
Runtime binding for the UpdateQuerySuggestionsConfig operation (IAM action
kendra:UpdateQuerySuggestionsConfig), scoped to one Index.
Tunes the index’s query-suggestions settings — switch between
ENABLED and LEARN_ONLY, adjust the query-log look-back window, or
change minimum query thresholds.
Provide the implementation with
Effect.provide(AWS.Kendra.UpdateQuerySuggestionsConfigHttp).
Query Suggestions
Section titled “Query Suggestions”const updateSuggestions = yield* AWS.Kendra.UpdateQuerySuggestionsConfig(index);
yield* updateSuggestions({ Mode: "LEARN_ONLY", queryLogLookBackWindow: "14 days", MinimumNumberOfQueryingUsers: 2,});