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

ActiveContextTimeToLive

import type { ActiveContextTimeToLive } from "https://aws-api.deno.dev/v0.4/services/lexruntime.ts?docs=full";

The length of time or number of turns that a context remains active.

interface ActiveContextTimeToLive {
timeToLiveInSeconds?: number | null;
turnsToLive?: number | null;
}

§Properties

§
timeToLiveInSeconds?: number | null
[src]

The number of seconds that the context should be active after it is first sent in a PostContent or PostText response. You can set the value between 5 and 86,400 seconds (24 hours).

§
turnsToLive?: number | null
[src]

The number of conversation turns that the context should be active. A conversation turn is one PostContent or PostText request and the corresponding response from Amazon Lex.