GetRecommendationsRequest
import type { GetRecommendationsRequest } from "https://aws-api.deno.dev/v0.4/services/wisdom.ts?docs=full";
interface GetRecommendationsRequest {
assistantId: string;
maxResults?: number | null;
sessionId: string;
waitTimeSeconds?: number | null;
}§Properties
§
assistantId: string
[src]The identifier of the Wisdom assistant. Can be either the ID or the ARN. URLs cannot contain the ARN.
§
sessionId: string
[src]The identifier of the session. Can be either the ID or the ARN. URLs cannot contain the ARN.
§
waitTimeSeconds?: number | null
[src]The duration (in seconds) for which the call waits for a recommendation to be made available before returning.
If a recommendation is available, the call returns sooner than WaitTimeSeconds
.
If no messages are available and the wait time expires, the call returns successfully with an empty list.