Skip to content

IntentClosingSetting

Source code in docs_src/capo_lex_models_v2/types/intent_closing_setting.py
class IntentClosingSetting(TypedDict, closed=True):
    closing_response: NotRequired[
        "capo_lex_models_v2.types.response_specification.ResponseSpecification"
    ]
    """<p>The response that Amazon Lex sends to the user when the intent is complete.</p>"""
    active: NotRequired["capo_lex_models_v2.types.boxed_boolean.BoxedBoolean"]
    """<p>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 <code>active</code> field isn't specified, the default is true.</p>"""
    next_step: NotRequired["capo_lex_models_v2.types.dialog_state.DialogState"]
    """<p>Specifies the next step that the bot executes after playing the intent's closing response.</p>"""
    conditional: NotRequired[
        "capo_lex_models_v2.types.conditional_specification.ConditionalSpecification"
    ]
    """<p>A list of conditional branches associated with the intent's closing response. These branches are executed when the <code>nextStep</code> attribute is set to <code>EvalutateConditional</code>.</p>"""

active instance-attribute

active: NotRequired[BoxedBoolean]

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.

closing_response instance-attribute

closing_response: NotRequired[ResponseSpecification]

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

conditional instance-attribute

conditional: NotRequired[ConditionalSpecification]

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

next_step instance-attribute

next_step: NotRequired[DialogState]

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