Skip to content

/AWS1/CL_LM2STILLWAITRSPSPEC

Defines the messages that Amazon Lex sends to a user to remind them that the bot is waiting for a response.

CONSTRUCTOR

IMPORTING

Required arguments:

it_messagegroups TYPE /AWS1/CL_LM2MESSAGEGROUP=>TT_MESSAGEGROUPSLIST TT_MESSAGEGROUPSLIST

One or more message groups, each containing one or more messages, that define the prompts that Amazon Lex sends to the user.

iv_frequencyinseconds TYPE /AWS1/LM2STILLWAITRSPFREQUENCY /AWS1/LM2STILLWAITRSPFREQUENCY

How often a message should be sent to the user. Minimum of 1 second, maximum of 5 minutes.

iv_timeoutinseconds TYPE /AWS1/LM2STILLWAITRSPTIMEOUT /AWS1/LM2STILLWAITRSPTIMEOUT

If Amazon Lex waits longer than this length of time for a response, it will stop sending messages.

Optional arguments:

iv_allowinterrupt TYPE /AWS1/LM2BOXEDBOOLEAN /AWS1/LM2BOXEDBOOLEAN

Indicates that the user can interrupt the response by speaking while the message is being played.


Queryable Attributes

messageGroups

One or more message groups, each containing one or more messages, that define the prompts that Amazon Lex sends to the user.

Accessible with the following methods

Method Description
GET_MESSAGEGROUPS() Getter for MESSAGEGROUPS, with configurable default
ASK_MESSAGEGROUPS() Getter for MESSAGEGROUPS w/ exceptions if field has no value
HAS_MESSAGEGROUPS() Determine if MESSAGEGROUPS has a value

frequencyInSeconds

How often a message should be sent to the user. Minimum of 1 second, maximum of 5 minutes.

Accessible with the following methods

Method Description
GET_FREQUENCYINSECONDS() Getter for FREQUENCYINSECONDS, with configurable default
ASK_FREQUENCYINSECONDS() Getter for FREQUENCYINSECONDS w/ exceptions if field has no
HAS_FREQUENCYINSECONDS() Determine if FREQUENCYINSECONDS has a value

timeoutInSeconds

If Amazon Lex waits longer than this length of time for a response, it will stop sending messages.

Accessible with the following methods

Method Description
GET_TIMEOUTINSECONDS() Getter for TIMEOUTINSECONDS, with configurable default
ASK_TIMEOUTINSECONDS() Getter for TIMEOUTINSECONDS w/ exceptions if field has no va
HAS_TIMEOUTINSECONDS() Determine if TIMEOUTINSECONDS has a value

allowInterrupt

Indicates that the user can interrupt the response by speaking while the message is being played.

Accessible with the following methods

Method Description
GET_ALLOWINTERRUPT() Getter for ALLOWINTERRUPT, with configurable default
ASK_ALLOWINTERRUPT() Getter for ALLOWINTERRUPT w/ exceptions if field has no valu
HAS_ALLOWINTERRUPT() Determine if ALLOWINTERRUPT has a value