Skip to content

DescribeQuerySuggestionsConfig

Source: src/AWS/Kendra/DescribeQuerySuggestionsConfig.ts

Runtime binding for the DescribeQuerySuggestionsConfig operation (IAM action kendra:DescribeQuerySuggestionsConfig), scoped to one Index.

Reads the index’s query-suggestions settings (mode, query-log look-back window, attribute-suggestions config, …). Provide the implementation with Effect.provide(AWS.Kendra.DescribeQuerySuggestionsConfigHttp).

const suggestionsConfig =
yield* AWS.Kendra.DescribeQuerySuggestionsConfig(index);
const config = yield* suggestionsConfig();
console.log(config.Mode, config.Status);