Skip to content

ResponseSpecification

Source code in docs_src/capo_lex_models_v2/types/response_specification.py
class ResponseSpecification(TypedDict, closed=True):
    message_groups: "capo_lex_models_v2.types.message_groups_list.MessageGroupsList"
    """<p>A collection of responses that Amazon Lex can send to the user. Amazon Lex chooses the actual response to send at runtime.</p>"""
    allow_interrupt: NotRequired["capo_lex_models_v2.types.boxed_boolean.BoxedBoolean"]
    """<p>Indicates whether the user can interrupt a speech response from Amazon Lex.</p>"""

allow_interrupt instance-attribute

allow_interrupt: NotRequired[BoxedBoolean]

Indicates whether the user can interrupt a speech response from Amazon Lex.

message_groups instance-attribute

message_groups: MessageGroupsList

A collection of responses that Amazon Lex can send to the user. Amazon Lex chooses the actual response to send at runtime.