Skip to content

/AWS1/CL_LM2WAITANDCONTINUES00

Specifies the prompts that Amazon Lex uses while a bot is waiting for customer input.

CONSTRUCTOR

IMPORTING

Required arguments:

io_waitingresponse TYPE REF TO /AWS1/CL_LM2RESPONSESPEC /AWS1/CL_LM2RESPONSESPEC

The response that Amazon Lex sends to indicate that the bot is waiting for the conversation to continue.

io_continueresponse TYPE REF TO /AWS1/CL_LM2RESPONSESPEC /AWS1/CL_LM2RESPONSESPEC

The response that Amazon Lex sends to indicate that the bot is ready to continue the conversation.

Optional arguments:

io_stillwaitingresponse TYPE REF TO /AWS1/CL_LM2STILLWAITRSPSPEC /AWS1/CL_LM2STILLWAITRSPSPEC

A response that Amazon Lex sends periodically to the user to indicate that the bot is still waiting for input from the user.

iv_active TYPE /AWS1/LM2BOXEDBOOLEAN /AWS1/LM2BOXEDBOOLEAN

Specifies whether the bot will wait for a user to respond. When this field is false, wait and continue responses for a slot aren't used. If the active field isn't specified, the default is true.


Queryable Attributes

waitingResponse

The response that Amazon Lex sends to indicate that the bot is waiting for the conversation to continue.

Accessible with the following methods

Method Description
GET_WAITINGRESPONSE() Getter for WAITINGRESPONSE

continueResponse

The response that Amazon Lex sends to indicate that the bot is ready to continue the conversation.

Accessible with the following methods

Method Description
GET_CONTINUERESPONSE() Getter for CONTINUERESPONSE

stillWaitingResponse

A response that Amazon Lex sends periodically to the user to indicate that the bot is still waiting for input from the user.

Accessible with the following methods

Method Description
GET_STILLWAITINGRESPONSE() Getter for STILLWAITINGRESPONSE

active

Specifies whether the bot will wait for a user to respond. When this field is false, wait and continue responses for a slot aren't used. If the active field isn't specified, the default is true.

Accessible with the following methods

Method Description
GET_ACTIVE() Getter for ACTIVE, with configurable default
ASK_ACTIVE() Getter for ACTIVE w/ exceptions if field has no value
HAS_ACTIVE() Determine if ACTIVE has a value