Skip to content

ClearQuerySuggestions

Source: src/AWS/Kendra/ClearQuerySuggestions.ts

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

Clears existing query suggestions for the index. Suggestions rebuild from new query traffic (which can take up to 24 hours). Provide the implementation with Effect.provide(AWS.Kendra.ClearQuerySuggestionsHttp).

const clearSuggestions = yield* AWS.Kendra.ClearQuerySuggestions(index);
yield* clearSuggestions();