Skip to content

PrepareQueryRequest

Source code in docs_src/capo_timestream_query/types/prepare_query_request.py
class PrepareQueryRequest(TypedDict, closed=True):
    query_string: "capo_timestream_query.types.query_string.QueryString"
    """<p>The Timestream query string that you want to use as a prepared statement. Parameter names can be specified in the query string <code>@</code> character followed by an identifier. </p>"""
    validate_only: NotRequired[
        "capo_timestream_query.types.nullable_boolean.NullableBoolean"
    ]
    """<p>By setting this value to <code>true</code>, Timestream will only validate that the query string is a valid Timestream query, and not store the prepared query for later use.</p>"""

query_string instance-attribute

query_string: QueryString

The Timestream query string that you want to use as a prepared statement. Parameter names can be specified in the query string @ character followed by an identifier.

validate_only instance-attribute

validate_only: NotRequired[NullableBoolean]

By setting this value to true, Timestream will only validate that the query string is a valid Timestream query, and not store the prepared query for later use.