Skip to content

GeneratedQuery

Source code in docs_src/capo_bedrock_agent_runtime/types/generated_query.py
class GeneratedQuery(TypedDict, closed=True):
    type: NotRequired[
        "capo_bedrock_agent_runtime.types.generated_query_type.GeneratedQueryType"
    ]
    """<p>The type of transformed query.</p>"""
    sql: NotRequired["str"]
    """<p>An SQL query that corresponds to the natural language query.</p>"""

sql instance-attribute

sql: NotRequired[str]

An SQL query that corresponds to the natural language query.

type instance-attribute

type: NotRequired[GeneratedQueryType]

The type of transformed query.