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-aioboto3 for IoTEvents service.

# install with aioboto3 type annotations
python -m pip install 'types-aioboto3[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-aioboto3-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.client("iotevents") as IoTEventsClient boto3 documentation

# IoTEventsClient usage example

from aioboto3.session import Session

from types_aiobotocore_iotevents.client import IoTEventsClient


session = Session()
async with session.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.