Skip to content

TimestreamInfluxDB module#

Index > TimestreamInfluxDB

Auto-generated documentation for TimestreamInfluxDB type annotations stubs module mypy-boto3-timestream-influxdb.

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 TimestreamInfluxDB.

From PyPI with pip#

Install boto3-stubs for TimestreamInfluxDB service.

# install with boto3 type annotations
python -m pip install 'boto3-stubs[timestream-influxdb]'


# 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-influxdb]'


# standalone installation
python -m pip install mypy-boto3-timestream-influxdb

How to uninstall#

python -m pip uninstall -y mypy-boto3-timestream-influxdb

Usage#

Code samples can be found in Examples.

TimestreamInfluxDBClient#

Type annotations and code completion for boto3.client("timestream-influxdb") as TimestreamInfluxDBClient boto3 documentation

# TimestreamInfluxDBClient usage example

from boto3.session import Session

from mypy_boto3_timestream_influxdb.client import TimestreamInfluxDBClient

def get_client() -> TimestreamInfluxDBClient:
    return Session().client("timestream-influxdb")

Paginators#

Type annotations and code completion for paginators from boto3.client("timestream-influxdb").get_paginator("...").

# ListDbInstancesPaginator usage example

from boto3.session import Session

from mypy_boto3_timestream_influxdb.paginator import ListDbInstancesPaginator

def get_list_db_instances_paginator() -> ListDbInstancesPaginator:
    return Session().client("timestream-influxdb").get_paginator("list_db_instances"))

Literals#

Type annotations for literals used in methods and schema.

# DbInstanceTypeType usage example

from mypy_boto3_timestream_influxdb.literals import DbInstanceTypeType

def get_value() -> DbInstanceTypeType:
    return "db.influx.12xlarge"

Type definitions#

Type annotations for type definitions used in methods and schema.