Registry /
type-stubs / types-aiobotocore-events
Install & Compatibility
Where this runs
No compatibility data collected yet for this library.
Code
Verified usage
Verified import paths — ran on the pinned version, not inferred.
EventBridgeClient
✓ from types_aiobotocore_events import EventBridgeClient
✗ from types_aiobotocore_events.client import EventBridgeClient
Basic usage with async client, enabling type checking for EventBridge operations.
import asyncio
from types_aiobotocore_events import EventBridgeClient
async def main():
session = ... # your aiobotocore session
async with session.create_client('events', region_name='us-east-1') as client:
# client is type-annotated as EventBridgeClient
response = await client.put_events(Entries=[{'Source': 'my.app', 'DetailType': 'test', 'Detail': '{}'}]) # type: ignore
print(response)
asyncio.run(main())
Debug
Known issues
gotchaThe package provides only type stubs; you must install aiobotocore and botocore separately.fixpip install aiobotocore types-aiobotocore-events
affects: all
deprecatedPython 3.8 is no longer supported since types-aiobotocore 3.x (mypy-boto3-builder 8.12.0+).affects: >=3.5.0
breakingTypeDef names for method arguments were simplified in mypy-boto3-builder 8.9.0 (e.g., CreateDistributionRequestRequestTypeDef → CreateDistributionRequestTypeDef).fixUpdate type imports to use the shorter TypeDef names.
affects: types-aiobotocore-events <3.0.0 (if based on builder <8.9.0)
gotchaVersion numbers for types-aiobotocore-events match the aiobotocore service version, not the builder version. Check the aiobotocore release notes for breaking API changes.fixAlign your aiobotocore version with the types package version.
affects: all
Upgrade
Version history
3.5.0latest on PyPI · released Apr 22, 2026
Audit
Dependencies
typing-extensionsrequiredRequired for type annotations on Python <3.12