PutSession
Source:
src/AWS/LexV2/PutSession.ts
Runtime binding for lex:PutSession — create or overwrite the session
state of a conversation with an Amazon Lex V2 bot alias, letting your
application steer the dialog (e.g. pre-fill slots or elicit a specific
intent).
Managing Sessions
Section titled “Managing Sessions”// initconst putSession = yield* AWS.LexV2.PutSession(alias);
// runtimeyield* putSession({ localeId: "en_US", sessionId: "user-123", sessionState: { intent: { name: "OrderPizza", slots: {} }, dialogAction: { type: "ElicitSlot", slotToElicit: "Size" }, },});