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

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

Usage example
from aioboto3.session import Session

from types_aiobotocore_events.client import EventBridgeClient


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

Paginators

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

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.

Usage example
from types_aiobotocore_events.literals import ApiDestinationHttpMethodType

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

Typed dictionaries

Type annotations for typed dictionaries used in methods and schema.

Usage example
from types_aiobotocore_events.type_defs import ActivateEventSourceRequestRequestTypeDef

def get_value() -> ActivateEventSourceRequestRequestTypeDef:
    return {
        "Name": ...,
    }