TimestreamQuery module#
Index > TimestreamQuery
Auto-generated documentation for TimestreamQuery type annotations stubs module types-boto3-timestream-query.
How to install#
Generate locally (recommended)#
You can generate type annotations for boto3
package locally with mypy_boto3_builder
.
Use uv for build isolation.
- Run mypy-boto3-builder in your package root directory:
uvx --with 'boto3==1.35.86' mypy_boto3_builder
- Select
boto3
AWS SDK. - Add
TimestreamQuery
service. - Use provided commands to install generated packages.
VSCode extension#
Add AWS Boto3
extension to your VSCode and run AWS boto3: Quick Start
command.
Click Modify
and select boto3 common
and TimestreamQuery
.
From PyPI with pip#
Install types-boto3
for TimestreamQuery
service.
# install with boto3 type annotations
python -m pip install 'types-boto3[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-boto3-lite[timestream-query]'
# standalone installation
python -m pip install types-boto3-timestream-query
How to uninstall#
python -m pip uninstall -y types-boto3-timestream-query
Usage#
Code samples can be found in Examples.
TimestreamQueryClient#
Type annotations and code completion for boto3.client("timestream-query")
as TimestreamQueryClient
boto3 documentation
# TimestreamQueryClient usage example
from boto3.session import Session
from types_boto3_timestream_query.client import TimestreamQueryClient
def get_client() -> TimestreamQueryClient:
return Session().client("timestream-query")
Paginators#
Type annotations and code completion for paginators
from boto3.client("timestream-query").get_paginator("...")
.
# ListScheduledQueriesPaginator usage example
from boto3.session import Session
from types_boto3_timestream_query.paginator import ListScheduledQueriesPaginator
def get_list_scheduled_queries_paginator() -> ListScheduledQueriesPaginator:
return Session().client("timestream-query").get_paginator("list_scheduled_queries"))
Literals#
Type annotations for literals used in methods and schema.
# ComputeModeType usage example
from types_boto3_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
Type definitions#
Type annotations for type definitions used in methods and schema.
- SnsConfigurationTypeDef
- CancelQueryRequestRequestTypeDef
- ResponseMetadataTypeDef
- TypePaginatorTypeDef
- ColumnInfoTypeDef
- ScheduleConfigurationTypeDef
- TagTypeDef
- TimeSeriesDataPointPaginatorTypeDef
- TimeSeriesDataPointTypeDef
- DeleteScheduledQueryRequestRequestTypeDef
- EndpointTypeDef
- DescribeScheduledQueryRequestRequestTypeDef
- DimensionMappingTypeDef
- S3ConfigurationTypeDef
- S3ReportLocationTypeDef
- ScheduledQueryInsightsTypeDef
- TimestampTypeDef
- ExecutionStatsTypeDef
- LastUpdateTypeDef
- PaginatorConfigTypeDef
- ListScheduledQueriesRequestRequestTypeDef
- ListTagsForResourceRequestRequestTypeDef
- MultiMeasureAttributeMappingTypeDef
- PrepareQueryRequestRequestTypeDef
- QueryInsightsTypeDef
- QueryStatusTypeDef
- QuerySpatialCoverageMaxTypeDef
- QueryTemporalRangeMaxTypeDef
- TimestreamDestinationTypeDef
- UntagResourceRequestRequestTypeDef
- UpdateScheduledQueryRequestRequestTypeDef
- AccountSettingsNotificationConfigurationTypeDef
- NotificationConfigurationTypeDef
- CancelQueryResponseTypeDef
- CreateScheduledQueryResponseTypeDef
- EmptyResponseMetadataTypeDef
- ColumnInfoPaginatorTypeDef
- TypeTypeDef
- ListTagsForResourceResponseTypeDef
- TagResourceRequestRequestTypeDef
- DatumPaginatorTypeDef
- DatumTypeDef
- DescribeEndpointsResponseTypeDef
- ErrorReportConfigurationTypeDef
- ErrorReportLocationTypeDef
- ExecuteScheduledQueryRequestRequestTypeDef
- ListScheduledQueriesRequestPaginateTypeDef
- ListTagsForResourceRequestPaginateTypeDef
- MixedMeasureMappingOutputTypeDef
- MixedMeasureMappingTypeDef
- MultiMeasureMappingsOutputTypeDef
- MultiMeasureMappingsTypeDef
- QueryRequestPaginateTypeDef
- QueryRequestRequestTypeDef
- QuerySpatialCoverageTypeDef
- QueryTemporalRangeTypeDef
- TargetDestinationTypeDef
- ProvisionedCapacityRequestTypeDef
- ProvisionedCapacityResponseTypeDef
- ParameterMappingTypeDef
- SelectColumnTypeDef
- RowPaginatorTypeDef
- RowTypeDef
- MixedMeasureMappingUnionTypeDef
- TimestreamConfigurationOutputTypeDef
- MultiMeasureMappingsUnionTypeDef
- QueryInsightsResponseTypeDef
- ScheduledQueryInsightsResponseTypeDef
- ScheduledQueryTypeDef
- QueryComputeRequestTypeDef
- QueryComputeResponseTypeDef
- PrepareQueryResponseTypeDef
- TargetConfigurationOutputTypeDef
- TimestreamConfigurationTypeDef
- QueryResponsePaginatorTypeDef
- QueryResponseTypeDef
- ScheduledQueryRunSummaryTypeDef
- ListScheduledQueriesResponseTypeDef
- UpdateAccountSettingsRequestRequestTypeDef
- DescribeAccountSettingsResponseTypeDef
- UpdateAccountSettingsResponseTypeDef
- TimestreamConfigurationUnionTypeDef
- ScheduledQueryDescriptionTypeDef
- TargetConfigurationTypeDef
- DescribeScheduledQueryResponseTypeDef
- CreateScheduledQueryRequestRequestTypeDef