Skip to content

PersonalizeEvents module

Index > PersonalizeEvents

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

How to install

From PyPI with pip

Install types-aiobotocore for PersonalizeEvents service.

# install with aiobotocore type annotations
python -m pip install 'types-aiobotocore[personalize-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[personalize-events]'


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

How to uninstall

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

Usage

Code samples can be found in Examples.

PersonalizeEventsClient

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

Usage example
from aiobotocore.session import get_session

from types_aiobotocore_personalize_events.client import PersonalizeEventsClient


session = get_session()
async with session.create_client("personalize-events") as client:
    client: PersonalizeEventsClient

Literals

Type annotations for literals used in methods and schema.

Usage example
from types_aiobotocore_personalize_events.literals import PersonalizeEventsServiceName

def get_value() -> PersonalizeEventsServiceName:
    return "personalize-events"

Typed dictionaries

Type annotations for typed dictionaries used in methods and schema.

Usage example
from types_aiobotocore_personalize_events.type_defs import ResponseMetadataTypeDef

def get_value() -> ResponseMetadataTypeDef:
    return {
        "RequestId": ...,
        "HostId": ...,
        "HTTPStatusCode": ...,
        "HTTPHeaders": ...,
        "RetryAttempts": ...,
    }