DialogCodeHookInvocationSetting - Amazon Lex API Reference

DialogCodeHookInvocationSetting

Settings that specify the dialog code hook that is called by Amazon Lex at a step of the conversation.

Contents

active

Determines whether a dialog code hook is used when the intent is activated.

Type: Boolean

Required: Yes

enableCodeHookInvocation

Indicates whether a Lambda function should be invoked for the dialog.

Type: Boolean

Required: Yes

invocationLabel

A label that indicates the dialog step from which the dialog code hook is happening.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 100.

Pattern: ^([0-9a-zA-Z][_-]?)+$

Required: No

postCodeHookSpecification

Contains the responses and actions that Amazon Lex takes after the Lambda function is complete.

Type: PostDialogCodeHookInvocationSpecification object

Required: Yes

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: