Skip to content

Prepare query

async_boto.validation.timestream_query.prepare_query

PrepareQueryRequest

Bases: BaseModel

A synchronous operation that allows you to submit a query with parameters to be stored by Timestream for later running. Timestream only supports using this operation with ValidateOnly set to true.

PARAMETER DESCRIPTION
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.

TYPE: str

ValidateOnly

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.

TYPE: bool

QueryString instance-attribute

QueryString

ValidateOnly class-attribute instance-attribute

ValidateOnly = None

PrepareQueryResponse

Bases: BaseModel

The response returned by the service when a PrepareQuery action is successful.

PARAMETER DESCRIPTION
Columns

A list of SELECT clause columns of the submitted query string.

TYPE: List[SelectColumn]

Parameters

A list of parameters used in the submitted query string.

TYPE: List[ParameterMapping]

QueryString

The query string that you want prepare.

TYPE: str

Columns instance-attribute

Columns

Parameters instance-attribute

Parameters

QueryString instance-attribute

QueryString