Skip to content

DialogCodeHookInvocationSetting

Source code in docs_src/capo_lex_models_v2/types/dialog_code_hook_invocation_setting.py
class DialogCodeHookInvocationSetting(TypedDict, closed=True):
    enable_code_hook_invocation: "capo_lex_models_v2.types.boxed_boolean.BoxedBoolean"
    """<p>Indicates whether a Lambda function should be invoked for the dialog.</p>"""
    active: "capo_lex_models_v2.types.boxed_boolean.BoxedBoolean"
    """<p>Determines whether a dialog code hook is used when the intent is activated.</p>"""
    invocation_label: NotRequired["capo_lex_models_v2.types.name.Name"]
    """<p>A label that indicates the dialog step from which the dialog code hook is happening.</p>"""
    post_code_hook_specification: "capo_lex_models_v2.types.post_dialog_code_hook_invocation_specification.PostDialogCodeHookInvocationSpecification"
    """<p>Contains the responses and actions that Amazon Lex takes after the Lambda function is complete.</p>"""

active instance-attribute

active: BoxedBoolean

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

enable_code_hook_invocation instance-attribute

enable_code_hook_invocation: BoxedBoolean

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

invocation_label instance-attribute

invocation_label: NotRequired[Name]

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

post_code_hook_specification instance-attribute

post_code_hook_specification: PostDialogCodeHookInvocationSpecification

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