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

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.

Usage example
from types_aiobotocore_iotevents.literals import AlarmModelVersionStatusType

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

Typed dictionaries

Type annotations for typed dictionaries used in methods and schema.

Usage example
from types_aiobotocore_iotevents.type_defs import AcknowledgeFlowTypeDef

def get_value() -> AcknowledgeFlowTypeDef:
    return {
        "enabled": ...,
    }