Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

GetQuerySuggestionsRequest

import type { GetQuerySuggestionsRequest } from "https://aws-api.deno.dev/v0.4/services/kendra.ts?docs=full";
interface GetQuerySuggestionsRequest {
IndexId: string;
MaxSuggestionsCount?: number | null;
QueryText: string;
}

§Properties

§
IndexId: string
[src]

The identifier of the index you want to get query suggestions from.

§
MaxSuggestionsCount?: number | null
[src]

The maximum number of query suggestions you want to show to your users.

§
QueryText: string
[src]

The text of a user's query to generate query suggestions.

A query is suggested if the query prefix matches what a user starts to type as their query.

Amazon Kendra does not show any suggestions if a user types fewer than two characters or more than 60 characters. A query must also have at least one search result and contain at least one word of more than four characters.