Skip to content

Statement

Source code in docs_src/capo_lex_model_building_service/types/statement.py
class Statement(TypedDict, closed=True):
    messages: "capo_lex_model_building_service.types.message_list.MessageList"
    """<p>A collection of message objects.</p>"""
    response_card: NotRequired[
        "capo_lex_model_building_service.types.response_card.ResponseCard"
    ]
    """<p> At runtime, if the client is using the <a href="http://docs.aws.amazon.com/lex/latest/dg/API_runtime_PostText.html">PostText</a> API, Amazon Lex includes the response card in the response. It substitutes all of the session attributes and slot values for placeholders in the response card. </p>"""

messages instance-attribute

messages: MessageList

A collection of message objects.

response_card instance-attribute

response_card: NotRequired[ResponseCard]

At runtime, if the client is using the PostText API, Amazon Lex includes the response card in the response. It substitutes all of the session attributes and slot values for placeholders in the response card.