Skip to content

PostFulfillmentStatusSpecification

Source code in docs_src/capo_lex_models_v2/types/post_fulfillment_status_specification.py
class PostFulfillmentStatusSpecification(TypedDict, closed=True):
    success_response: NotRequired[
        "capo_lex_models_v2.types.response_specification.ResponseSpecification"
    ]
    failure_response: NotRequired[
        "capo_lex_models_v2.types.response_specification.ResponseSpecification"
    ]
    timeout_response: NotRequired[
        "capo_lex_models_v2.types.response_specification.ResponseSpecification"
    ]
    success_next_step: NotRequired["capo_lex_models_v2.types.dialog_state.DialogState"]
    """<p>Specifies the next step in the conversation that Amazon Lex invokes when the fulfillment code hook completes successfully.</p>"""
    success_conditional: NotRequired[
        "capo_lex_models_v2.types.conditional_specification.ConditionalSpecification"
    ]
    """<p>A list of conditional branches to evaluate after the fulfillment code hook finishes successfully.</p>"""
    failure_next_step: NotRequired["capo_lex_models_v2.types.dialog_state.DialogState"]
    """<p>Specifies the next step the bot runs after the fulfillment code hook throws an exception or returns with the <code>State</code> field of the <code>Intent</code> object set to <code>Failed</code>.</p>"""
    failure_conditional: NotRequired[
        "capo_lex_models_v2.types.conditional_specification.ConditionalSpecification"
    ]
    """<p>A list of conditional branches to evaluate after the fulfillment code hook throws an exception or returns with the <code>State</code> field of the <code>Intent</code> object set to <code>Failed</code>.</p>"""
    timeout_next_step: NotRequired["capo_lex_models_v2.types.dialog_state.DialogState"]
    """<p>Specifies the next step that the bot runs when the fulfillment code hook times out.</p>"""
    timeout_conditional: NotRequired[
        "capo_lex_models_v2.types.conditional_specification.ConditionalSpecification"
    ]
    """<p>A list of conditional branches to evaluate if the fulfillment code hook times out.</p>"""

failure_conditional instance-attribute

failure_conditional: NotRequired[ConditionalSpecification]

A list of conditional branches to evaluate after the fulfillment code hook throws an exception or returns with the State field of the Intent object set to Failed.

failure_next_step instance-attribute

failure_next_step: NotRequired[DialogState]

Specifies the next step the bot runs after the fulfillment code hook throws an exception or returns with the State field of the Intent object set to Failed.

failure_response instance-attribute

failure_response: NotRequired[ResponseSpecification]

success_conditional instance-attribute

success_conditional: NotRequired[ConditionalSpecification]

A list of conditional branches to evaluate after the fulfillment code hook finishes successfully.

success_next_step instance-attribute

success_next_step: NotRequired[DialogState]

Specifies the next step in the conversation that Amazon Lex invokes when the fulfillment code hook completes successfully.

success_response instance-attribute

success_response: NotRequired[ResponseSpecification]

timeout_conditional instance-attribute

timeout_conditional: NotRequired[ConditionalSpecification]

A list of conditional branches to evaluate if the fulfillment code hook times out.

timeout_next_step instance-attribute

timeout_next_step: NotRequired[DialogState]

Specifies the next step that the bot runs when the fulfillment code hook times out.

timeout_response instance-attribute

timeout_response: NotRequired[ResponseSpecification]