Skip to content

IoTEvents module#

Index > IoTEvents

Auto-generated documentation for IoTEvents type annotations stubs module types-aiobotocore-iotevents.

How to install#

From PyPI with pip#

Install types-aiobotocore for IoTEvents service.

# install with aiobotocore type annotations
python -m pip install 'types-aiobotocore[iotevents]'


# 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[iotevents]'


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

How to uninstall#

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

Usage#

Code samples can be found in Examples.

IoTEventsClient#

Type annotations and code completion for session.create_client("iotevents") as IoTEventsClient boto3 documentation

# IoTEventsClient usage example

from aiobotocore.session import get_session

from types_aiobotocore_iotevents.client import IoTEventsClient


session = get_session()
async with session.create_client("iotevents") as client:
    client: IoTEventsClient

Literals#

Type annotations for literals used in methods and schema.

# AlarmModelVersionStatusType usage example

from types_aiobotocore_iotevents.literals import AlarmModelVersionStatusType

def get_value() -> AlarmModelVersionStatusType:
    return "ACTIVATING"

Type definitions#

Type annotations for type definitions used in methods and schema.