Skip to content

/AWS1/CL_LR1=>GETSESSION()

About GetSession

Returns session information for a specified bot, alias, and user ID.

Method Signature

IMPORTING

Required arguments:

IV_BOTNAME TYPE /AWS1/LR1BOTNAME /AWS1/LR1BOTNAME

The name of the bot that contains the session data.

IV_BOTALIAS TYPE /AWS1/LR1BOTALIAS /AWS1/LR1BOTALIAS

The alias in use for the bot that contains the session data.

IV_USERID TYPE /AWS1/LR1USERID /AWS1/LR1USERID

The ID of the client application user. Amazon Lex uses this to identify a user's conversation with your bot.

Optional arguments:

IV_CHECKPOINTLABELFILTER TYPE /AWS1/LR1INTENTSUMMCHECKPTLA00 /AWS1/LR1INTENTSUMMCHECKPTLA00

A string used to filter the intents returned in the recentIntentSummaryView structure.

When you specify a filter, only intents with their checkpointLabel field set to that string are returned.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_LR1GETSESSIONRESPONSE /AWS1/CL_LR1GETSESSIONRESPONSE