Skip to content

DeleteSession

Source: src/AWS/LexV2/DeleteSession.ts

Runtime binding for lex:DeleteSession — end a conversation with an Amazon Lex V2 bot alias, discarding its session state so the next user input starts a fresh conversation.

// init
const deleteSession = yield* AWS.LexV2.DeleteSession(alias);
// runtime
yield* deleteSession({
localeId: "en_US",
sessionId: "user-123",
});