Skip to content

EventBridge module#

Index > EventBridge

Auto-generated documentation for EventBridge type annotations stubs module types-aiobotocore-events.

How to install#

From PyPI with pip#

Install types-aiobotocore for EventBridge service.

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


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


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

How to uninstall#

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

Usage#

Code samples can be found in Examples.

EventBridgeClient#

Type annotations and code completion for session.create_client("events") as EventBridgeClient boto3 documentation

# EventBridgeClient usage example

from aiobotocore.session import get_session

from types_aiobotocore_events.client import EventBridgeClient


session = get_session()
async with session.create_client("events") as client:
    client: EventBridgeClient

Paginators#

Type annotations and code completion for paginators from session.create_client("events").get_paginator("...").

# ListRuleNamesByTargetPaginator usage example

from types_aiobotocore_events.paginator import ListRuleNamesByTargetPaginator

def get_list_rule_names_by_target_paginator() -> ListRuleNamesByTargetPaginator:
    return client.get_paginator("list_rule_names_by_target"))

Literals#

Type annotations for literals used in methods and schema.

# ApiDestinationHttpMethodType usage example

from types_aiobotocore_events.literals import ApiDestinationHttpMethodType

def get_value() -> ApiDestinationHttpMethodType:
    return "DELETE"

Type definitions#

Type annotations for type definitions used in methods and schema.