Skip to content

/AWS1/CL_LM2INTENTCLOSINGSET00

Provides a statement the Amazon Lex conveys to the user when the intent is successfully fulfilled.

CONSTRUCTOR

IMPORTING

Optional arguments:

IO_CLOSINGRESPONSE TYPE REF TO /AWS1/CL_LM2RESPONSESPEC /AWS1/CL_LM2RESPONSESPEC

The response that Amazon Lex sends to the user when the intent is complete.

IV_ACTIVE TYPE /AWS1/LM2BOXEDBOOLEAN /AWS1/LM2BOXEDBOOLEAN

Specifies whether an intent's closing response is used. When this field is false, the closing response isn't sent to the user. If the active field isn't specified, the default is true.

IO_NEXTSTEP TYPE REF TO /AWS1/CL_LM2DIALOGSTATE /AWS1/CL_LM2DIALOGSTATE

Specifies the next step that the bot executes after playing the intent's closing response.

IO_CONDITIONAL TYPE REF TO /AWS1/CL_LM2CONDITIONALSPEC /AWS1/CL_LM2CONDITIONALSPEC

A list of conditional branches associated with the intent's closing response. These branches are executed when the nextStep attribute is set to EvalutateConditional.


Queryable Attributes

closingResponse

The response that Amazon Lex sends to the user when the intent is complete.

Accessible with the following methods

Method Description
GET_CLOSINGRESPONSE() Getter for CLOSINGRESPONSE

active

Specifies whether an intent's closing response is used. When this field is false, the closing response isn't sent to the user. 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

nextStep

Specifies the next step that the bot executes after playing the intent's closing response.

Accessible with the following methods

Method Description
GET_NEXTSTEP() Getter for NEXTSTEP

conditional

A list of conditional branches associated with the intent's closing response. These branches are executed when the nextStep attribute is set to EvalutateConditional.

Accessible with the following methods

Method Description
GET_CONDITIONAL() Getter for CONDITIONAL