TimestreamQuery module#
Index > TimestreamQuery
Auto-generated documentation for TimestreamQuery type annotations stubs module types-aiobotocore-timestream-query.
How to install#
Generate locally (recommended)#
You can generate type annotations for aiobotocore
package locally with mypy-boto3-builder
.
Use uv for build isolation.
- Run mypy-boto3-builder in your package root directory:
uvx --with 'aiobotocore==2.23.2' mypy-boto3-builder
- Select
aiobotocore
AWS SDK. - Add
TimestreamQuery
service. - Use provided commands to install generated packages.
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.
# ComputeModeType usage example
from types_aiobotocore_timestream_query.literals import ComputeModeType
def get_value() -> ComputeModeType:
return "ON_DEMAND"
- ComputeModeType
- DimensionValueTypeType
- LastUpdateStatusType
- ListScheduledQueriesPaginatorName
- ListTagsForResourcePaginatorName
- MeasureValueTypeType
- QueryInsightsModeType
- QueryPaginatorName
- QueryPricingModelType
- S3EncryptionOptionType
- ScalarMeasureValueTypeType
- ScalarTypeType
- ScheduledQueryInsightsModeType
- ScheduledQueryRunStatusType
- ScheduledQueryStateType
- TimestreamQueryServiceName
- ServiceName
- ResourceServiceName
- PaginatorName
- RegionName
Type definitions#
Type annotations for type definitions used in methods and schema.
- SnsConfigurationTypeDef
- CancelQueryRequestTypeDef
- ResponseMetadataTypeDef
- TypePaginatorTypeDef
- ColumnInfoTypeDef
- ScheduleConfigurationTypeDef
- TagTypeDef
- TimeSeriesDataPointPaginatorTypeDef
- TimeSeriesDataPointTypeDef
- DeleteScheduledQueryRequestTypeDef
- EndpointTypeDef
- DescribeScheduledQueryRequestTypeDef
- DimensionMappingTypeDef
- S3ConfigurationTypeDef
- S3ReportLocationTypeDef
- ScheduledQueryInsightsTypeDef
- TimestampTypeDef
- ExecutionStatsTypeDef
- LastUpdateTypeDef
- PaginatorConfigTypeDef
- ListScheduledQueriesRequestTypeDef
- ListTagsForResourceRequestTypeDef
- MultiMeasureAttributeMappingTypeDef
- PrepareQueryRequestTypeDef
- QueryInsightsTypeDef
- QueryStatusTypeDef
- QuerySpatialCoverageMaxTypeDef
- QueryTemporalRangeMaxTypeDef
- TimestreamDestinationTypeDef
- UntagResourceRequestTypeDef
- UpdateScheduledQueryRequestTypeDef
- AccountSettingsNotificationConfigurationTypeDef
- NotificationConfigurationTypeDef
- CancelQueryResponseTypeDef
- CreateScheduledQueryResponseTypeDef
- EmptyResponseMetadataTypeDef
- ColumnInfoPaginatorTypeDef
- TypeTypeDef
- ListTagsForResourceResponseTypeDef
- TagResourceRequestTypeDef
- DatumPaginatorTypeDef
- DatumTypeDef
- DescribeEndpointsResponseTypeDef
- ErrorReportConfigurationTypeDef
- ErrorReportLocationTypeDef
- ExecuteScheduledQueryRequestTypeDef
- ListScheduledQueriesRequestPaginateTypeDef
- ListTagsForResourceRequestPaginateTypeDef
- MixedMeasureMappingOutputTypeDef
- MixedMeasureMappingTypeDef
- MultiMeasureMappingsOutputTypeDef
- MultiMeasureMappingsTypeDef
- QueryRequestPaginateTypeDef
- QueryRequestTypeDef
- QuerySpatialCoverageTypeDef
- QueryTemporalRangeTypeDef
- TargetDestinationTypeDef
- ProvisionedCapacityRequestTypeDef
- ProvisionedCapacityResponseTypeDef
- ParameterMappingTypeDef
- SelectColumnTypeDef
- RowPaginatorTypeDef
- RowTypeDef
- TimestreamConfigurationOutputTypeDef
- TimestreamConfigurationTypeDef
- QueryInsightsResponseTypeDef
- ScheduledQueryInsightsResponseTypeDef
- ScheduledQueryTypeDef
- QueryComputeRequestTypeDef
- QueryComputeResponseTypeDef
- PrepareQueryResponseTypeDef
- TargetConfigurationOutputTypeDef
- TargetConfigurationTypeDef
- QueryResponsePaginatorTypeDef
- QueryResponseTypeDef
- ScheduledQueryRunSummaryTypeDef
- ListScheduledQueriesResponseTypeDef
- UpdateAccountSettingsRequestTypeDef
- DescribeAccountSettingsResponseTypeDef
- UpdateAccountSettingsResponseTypeDef
- TargetConfigurationUnionTypeDef
- ScheduledQueryDescriptionTypeDef
- CreateScheduledQueryRequestTypeDef
- DescribeScheduledQueryResponseTypeDef