Skip to content

TimestreamQuery module#

Index > TimestreamQuery

Auto-generated documentation for TimestreamQuery type annotations stubs module types-aiobotocore-timestream-query.

How to install#

From PyPI with pip#

Install types-aiobotocore for TimestreamQuery service.

# install with aiobotocore type annotations
python -m pip install 'types-aiobotocore[timestream-query]'


# Lite version does not provide session.client/resource overloads
# it is more RAM-friendly, but requires explicit type annotations
python -m pip install 'types-aiobotocore-lite[timestream-query]'


# standalone installation
python -m pip install types-aiobotocore-timestream-query

How to uninstall#

python -m pip uninstall -y types-aiobotocore-timestream-query

Usage#

Code samples can be found in Examples.

TimestreamQueryClient#

Type annotations and code completion for session.create_client("timestream-query") as TimestreamQueryClient boto3 documentation

# TimestreamQueryClient usage example

from aiobotocore.session import get_session

from types_aiobotocore_timestream_query.client import TimestreamQueryClient


session = get_session()
async with session.create_client("timestream-query") as client:
    client: TimestreamQueryClient

Paginators#

Type annotations and code completion for paginators from session.create_client("timestream-query").get_paginator("...").

# ListScheduledQueriesPaginator usage example

from types_aiobotocore_timestream_query.paginator import ListScheduledQueriesPaginator

def get_list_scheduled_queries_paginator() -> ListScheduledQueriesPaginator:
    return client.get_paginator("list_scheduled_queries"))

Literals#

Type annotations for literals used in methods and schema.

# DimensionValueTypeType usage example

from types_aiobotocore_timestream_query.literals import DimensionValueTypeType

def get_value() -> DimensionValueTypeType:
    return "VARCHAR"

Type definitions#

Type annotations for type definitions used in methods and schema.