Skip to content

IoTSiteWise module

Index > IoTSiteWise

Auto-generated documentation for IoTSiteWise type annotations stubs module types-aiobotocore-iotsitewise.

How to install

From PyPI with pip

Install types-aioboto3 for IoTSiteWise service.

# install with aioboto3 type annotations
python -m pip install 'types-aioboto3[iotsitewise]'


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


# standalone installation
python -m pip install types-aiobotocore-iotsitewise

How to uninstall

python -m pip uninstall -y types-aiobotocore-iotsitewise

Usage

Code samples can be found in Examples.

IoTSiteWiseClient

Type annotations and code completion for session.client("iotsitewise") as IoTSiteWiseClient boto3 documentation

Usage example
from aioboto3.session import Session

from types_aiobotocore_iotsitewise.client import IoTSiteWiseClient


session = Session()
async with session.client("iotsitewise") as client:
    client: IoTSiteWiseClient

Paginators

Type annotations and code completion for paginators from session.client("iotsitewise").get_paginator("...").

Usage example
from types_aiobotocore_iotsitewise.paginator import GetAssetPropertyAggregatesPaginator

def get_get_asset_property_aggregates_paginator() -> GetAssetPropertyAggregatesPaginator:
    return client.get_paginator("get_asset_property_aggregates"))

Waiters

Type annotations and code completion for waiters from session.client("iotsitewise").get_waiter("...").

Usage example
from types_aiobotocore_iotsitewise.waiter import AssetActiveWaiter

def get_asset_active_waiter() -> AssetActiveWaiter:
    return Session().client("iotsitewise").get_waiter("asset_active")

Literals

Type annotations for literals used in methods and schema.

Usage example
from types_aiobotocore_iotsitewise.literals import AggregateTypeType

def get_value() -> AggregateTypeType:
    return "AVERAGE"

Typed dictionaries

Type annotations for typed dictionaries used in methods and schema.

Usage example
from types_aiobotocore_iotsitewise.type_defs import AggregatesTypeDef

def get_value() -> AggregatesTypeDef:
    return {
        "average": ...,
    }