TimestreamQuery module#
Index > TimestreamQuery
Auto-generated documentation for TimestreamQuery type annotations stubs module mypy-boto3-timestream-query.
How to install#
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 boto3-stubs
for TimestreamQuery
service.
# install with boto3 type annotations
python -m pip install 'boto3-stubs[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 'boto3-stubs-lite[timestream-query]'
# standalone installation
python -m pip install mypy-boto3-timestream-query
How to uninstall#
python -m pip uninstall -y mypy-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 mypy_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 mypy_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.
# DimensionValueTypeType usage example
from mypy_boto3_timestream_query.literals import DimensionValueTypeType
def get_value() -> DimensionValueTypeType:
return "VARCHAR"
- DimensionValueTypeType
- 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.
- CancelQueryRequestRequestTypeDef
- ResponseMetadataTypeDef
- TypePaginatorTypeDef
- ColumnInfoTypeDef
- ScheduleConfigurationTypeDef
- TagTypeDef
- TimeSeriesDataPointPaginatorTypeDef
- TimeSeriesDataPointTypeDef
- DeleteScheduledQueryRequestRequestTypeDef
- EndpointTypeDef
- DescribeScheduledQueryRequestRequestTypeDef
- DimensionMappingTypeDef
- S3ConfigurationTypeDef
- S3ReportLocationTypeDef
- ScheduledQueryInsightsTypeDef
- TimestampTypeDef
- ExecutionStatsTypeDef
- PaginatorConfigTypeDef
- ListScheduledQueriesRequestRequestTypeDef
- ListTagsForResourceRequestRequestTypeDef
- MultiMeasureAttributeMappingTypeDef
- SnsConfigurationTypeDef
- PrepareQueryRequestRequestTypeDef
- QueryInsightsTypeDef
- QueryStatusTypeDef
- QuerySpatialCoverageMaxTypeDef
- QueryTemporalRangeMaxTypeDef
- TimestreamDestinationTypeDef
- UntagResourceRequestRequestTypeDef
- UpdateAccountSettingsRequestRequestTypeDef
- UpdateScheduledQueryRequestRequestTypeDef
- CancelQueryResponseTypeDef
- CreateScheduledQueryResponseTypeDef
- DescribeAccountSettingsResponseTypeDef
- EmptyResponseMetadataTypeDef
- UpdateAccountSettingsResponseTypeDef
- ColumnInfoPaginatorTypeDef
- TypeTypeDef
- ListTagsForResourceResponseTypeDef
- TagResourceRequestRequestTypeDef
- DatumPaginatorTypeDef
- DatumTypeDef
- DescribeEndpointsResponseTypeDef
- ErrorReportConfigurationTypeDef
- ErrorReportLocationTypeDef
- ExecuteScheduledQueryRequestRequestTypeDef
- ListScheduledQueriesRequestListScheduledQueriesPaginateTypeDef
- ListTagsForResourceRequestListTagsForResourcePaginateTypeDef
- MixedMeasureMappingOutputTypeDef
- MixedMeasureMappingTypeDef
- MultiMeasureMappingsOutputTypeDef
- MultiMeasureMappingsTypeDef
- NotificationConfigurationTypeDef
- QueryRequestQueryPaginateTypeDef
- QueryRequestRequestTypeDef
- QuerySpatialCoverageTypeDef
- QueryTemporalRangeTypeDef
- TargetDestinationTypeDef
- ParameterMappingTypeDef
- SelectColumnTypeDef
- RowPaginatorTypeDef
- RowTypeDef
- MixedMeasureMappingUnionTypeDef
- TimestreamConfigurationOutputTypeDef
- MultiMeasureMappingsUnionTypeDef
- QueryInsightsResponseTypeDef
- ScheduledQueryInsightsResponseTypeDef
- ScheduledQueryTypeDef
- PrepareQueryResponseTypeDef
- TargetConfigurationOutputTypeDef
- TimestreamConfigurationTypeDef
- QueryResponsePaginatorTypeDef
- QueryResponseTypeDef
- ScheduledQueryRunSummaryTypeDef
- ListScheduledQueriesResponseTypeDef
- TimestreamConfigurationUnionTypeDef
- ScheduledQueryDescriptionTypeDef
- TargetConfigurationTypeDef
- DescribeScheduledQueryResponseTypeDef
- CreateScheduledQueryRequestRequestTypeDef