/AWS1/CL_LM2DIALOGCODEHOOKIN00¶
Settings that specify the dialog code hook that is called by Amazon Lex at a step of the conversation.
CONSTRUCTOR¶
IMPORTING¶
Required arguments:¶
iv_enablecodehookinvocation TYPE /AWS1/LM2BOXEDBOOLEAN /AWS1/LM2BOXEDBOOLEAN¶
Indicates whether a Lambda function should be invoked for the dialog.
iv_active TYPE /AWS1/LM2BOXEDBOOLEAN /AWS1/LM2BOXEDBOOLEAN¶
Determines whether a dialog code hook is used when the intent is activated.
io_postcodehookspecification TYPE REF TO /AWS1/CL_LM2POSTDIALOGCODEHO00 /AWS1/CL_LM2POSTDIALOGCODEHO00¶
Contains the responses and actions that Amazon Lex takes after the Lambda function is complete.
Optional arguments:¶
iv_invocationlabel TYPE /AWS1/LM2NAME /AWS1/LM2NAME¶
A label that indicates the dialog step from which the dialog code hook is happening.
Queryable Attributes¶
enableCodeHookInvocation¶
Indicates whether a Lambda function should be invoked for the dialog.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_ENABLECODEHOOKINVOCATION() |
Getter for ENABLECODEHOOKINVOCATION, with configurable defau |
ASK_ENABLECODEHOOKINVOCATION() |
Getter for ENABLECODEHOOKINVOCATION w/ exceptions if field h |
HAS_ENABLECODEHOOKINVOCATION() |
Determine if ENABLECODEHOOKINVOCATION has a value |
active¶
Determines whether a dialog code hook is used when the intent is activated.
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 |
invocationLabel¶
A label that indicates the dialog step from which the dialog code hook is happening.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_INVOCATIONLABEL() |
Getter for INVOCATIONLABEL, with configurable default |
ASK_INVOCATIONLABEL() |
Getter for INVOCATIONLABEL w/ exceptions if field has no val |
HAS_INVOCATIONLABEL() |
Determine if INVOCATIONLABEL has a value |
postCodeHookSpecification¶
Contains the responses and actions that Amazon Lex takes after the Lambda function is complete.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_POSTCODEHOOKSPEC() |
Getter for POSTCODEHOOKSPECIFICATION |